Changelog-Trunk.txt 240 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305
  1. Date Added
  2. AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
  3. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
  4. 2007/01/12
  5. * Cleaned up the ip rules/DDoS section of the code. (the allow,deny and
  6. deny,allow cases were switched)
  7. * Fixed autotrading characters not being able to reconnect. Seams like I
  8. misunderstood how id_db and pc_db are used. [FlavioJS]
  9. 2007/01/11
  10. * Fixed the script engine not parsing strings in multibyte charsets
  11. correctly (should have been done in r9532).
  12. * Console plugin working when built as Windows native. [FlavioJS]
  13. 2007/01/10
  14. * Combined most of the txt/sql mobdb reading code [ultramage]
  15. - mob.c is now some 10kB less redundant (now using a common function)
  16. - automatically filled in some missing parts of the txt part
  17. (view_range_rate, chase_range_rate, line counting, etc)
  18. - also cleaned it up significantly
  19. 2007/01/09
  20. * Changes to script buildin functions: [FlavioJS]
  21. - functions checking if a player is attached as soon as possible.
  22. - functions that required a player attached and would crash if none was
  23. there terminate the script now. (others keep the current behaviour to
  24. maintain full backward compatibility)
  25. - removed the unused flag argument in guildskill.
  26. - bonus,bonus2,bonus3,bonus4 use the same function now (remains the same
  27. script-wise)
  28. - added an optional parameter to setcart,setfalcon,setriding so it's
  29. possible to remove the cart/falcon/mount or select a specific cart
  30. - other cleanups
  31. 2007/01/08
  32. * Hotfix: Freeing of freed pointer when replacing script functions. [Lance]
  33. * Unimportant cleanups
  34. * Moved the plugin.def file to the plugins dir and added console.def
  35. * Found the reason why the console didn't want to run on windows
  36. (Microsoft uses !0 and unix uses 0 in pipe_create)
  37. * Commented out a login_log call (sql doesn't implement that function!)
  38. * Fixed an old debug message displaying %d instead of a number
  39. * Silenced the plugin export messages during startup [ultramage]
  40. * Added a precompiler error when the shutdown defines are not found.
  41. * Added parse_console to the plugin API.
  42. * Added plugin for parsing the console. (working with cygwin)
  43. * Copied the parse_console code form login txt to login sql and char.
  44. * Added propper plugin version compatibility tests.
  45. * Better output when a plugin fails to load. [FlavioJS]
  46. 2007/01/07
  47. * Fixed the sleep timers not being removed when the an npc was being
  48. unloaded and when reloading scripts. [FlavioJS]
  49. * Updated the documentation to match the agitcheck() behavior
  50. * Undid the memset->malloc_set replacement
  51. (let's be compatible and leave such optimizations to system devs, ok?)
  52. * Small reformatting of conf-tmpl
  53. * Renamed atcommand_sub to is_atcommand_sub (charcommand too)
  54. * Re-added the duplicit nj/gs name messages in msg_athena [ultramage]
  55. (the code was using those and they look better in that position)
  56. 2007/01/06
  57. * Now winsock 2 is required.
  58. * Cleaned up do_close and socket_init a bit.
  59. * Fixed the weight icon dissapearing and reappearing when attacking.
  60. (introduced by me at r9600, fix based on ultramage's code) [FlavioJS]
  61. 2007/01/05
  62. * Also discarded some veeery old utils code that has got equivalents
  63. in the std libs (and therefore is silently causing a nasty collision).
  64. * Major reconfiguration of the VS8 project files. [ultramage]
  65. - Removed the migration binding to a VS71 template.
  66. - Disabled the setting that defines char -> unsigned char (non-conformant).
  67. - Switched all projects to use the common C runtime library DLL
  68. instead of linking the static version to each exe.
  69. - Enabled edit&continue on the TXT version (SQL already had it).
  70. - Reconfigured the linker to use only the really required dependencies.
  71. - Enabled full optimization and whole program optimization,
  72. with additional speed-improving settings for the release build.
  73. - Set the compiler/linker to produce detailed debug information even for release builds
  74. (no performance penalty because the debug info is stored in a separate .pdb file!).
  75. - I tested all 4 build combinations and it works for me, and it should work for you.
  76. - There is still one very useful thing missing - setting the working dir to '..'.
  77. I don't know how to do that, tho' since VS stores it in a separate user file.
  78. 2007/01/04
  79. * Fixed old @go bug (it ignored einbech) [Lupus]
  80. * Added Au{R}oN's updated version of the effect list.
  81. * Completed adding of the new cities to @go.
  82. > that function is ugly and needs a complete rewrite, asap.
  83. * Updated thor volcano warps.
  84. * Updated /doc from jAthena. [ultramage]
  85. 2007/01/03
  86. * Added Rachel and Veins to the list of @go destinations.
  87. * Added a first approximation of warps for the new maps (by $ephiroth).
  88. * Now the server will by default perform symmetric adding of friends. [ultramage]
  89. > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749)
  90. * Fixed TURBO FIFO defines.
  91. * Moved refusal of a known packet versions to clif_parse_WantToConnection
  92. and made it check for non-player object with that id.
  93. * JK_JOINTBEAT as described in:
  94. http://www.ragnainfo.net/wiki/index.php/Vital_Strike
  95. Although not clear, it's being assumed that the 2x damage is only for the
  96. break neck ailment. [FlavioJS]
  97. * Modified the useless error message in atcommand_effect.
  98. * Silenced the debug message in socket.c that's been freaking people out.
  99. * Added support for text/comments at the end of monster spawn lines (<tab> required)
  100. * Added the official behavior of monsters regaining full hp when they morph.
  101. > info at http://www.eathena.ws/board/index.php?showtopic=130103
  102. * Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements for soullinked skills.
  103. > TODOs at http://www.eathena.ws/board/index.php?showtopic=130788
  104. * Re-applied change r9593 that got accidentally reverted by r9595. [ultramage]
  105. 2007/01/02
  106. * Fixed SC_JOINTBEAT not doing crit damage for the Neck Break ailment.
  107. * Gospel sends the buff message to the affected player. [FlavioJS]
  108. 2006/12/31
  109. * Made HSCR bypass both Guard and Shield Reflect using the dirty way [DracoRPG]
  110. > cleaner way would need to rethink the whole skill's implementation
  111. * Added more info when npc_scriptcont tries to continue a different script.
  112. * Refer to http://www.eathena.ws/board/index.php?showtopic=130285
  113. - Renamed pc_checkweighticon to pc_updateweightstatus and cleaned it.
  114. - Updated pc_is50overweight to use battle_config.natural_heal_weight_rate.
  115. - Added 90% weight check when attacking.
  116. * Updated getitem and guardian entries in script_commands.txt.
  117. * Fixed getitem trying to get <character ID> from the wrong argument.
  118. * Now getitem can be run on scripts without a player attached if
  119. <character ID> is specified.
  120. * Now the two last arguments of guardian are optional and independant of
  121. each other ("<event label>" and <guardian index>). This way the previous
  122. implementation and script_commands definition are still valid code.
  123. * Now buildin function names and argument definitions are checked for
  124. validity before adding the function to the script engine.
  125. Argument definitions follow the pattern: (v|s|i|l)*\?*\*? [FlavioJS]
  126. 2006/12/30
  127. * Reverted the packet structure changes to mmo_char_send006b in r9588 (was
  128. using the wrong exe for the final tests) except for the bug that I was
  129. originally fixing. [FlavioJS]
  130. 2006/12/29
  131. * Skill use is now cancelled when you use it while cloaking, and the
  132. uncloaking process warps you. [Skotlex]
  133. 2006/12/28
  134. * Reapplied Skotlex's socket.c changes from r9587 and r9582. :S
  135. * Part 3 of TheUltraMage's socket cleanup.
  136. * Fixed the packet structure in mmo_char_send006b for PACKETVER 8.
  137. * Removed search_str from add_str (add_str already searches for the
  138. string).
  139. * Native script words like do,while,for,... are case insensitive now.
  140. * Changed SCRIPT_HASH_SIZE to 1021 (prime hash sizes give better
  141. distributions).
  142. * Added alternative hash implementations to the script engine (to try out
  143. later). [FlavioJS]
  144. * Added a func_parse invocation when an invalid socket is found, so that
  145. the underlying code (char/map/login) can handle it and free any related
  146. resources.
  147. * Added some skill effect packets so it displays a generic effect for
  148. unknown targetted skills.
  149. * Some cleaning in do_sendrecv, added error messages when handling an
  150. incorrect socket. [Skotlex]
  151. 2006/12/27
  152. * Fixed Super Novice 99%+ invincibility triggering when
  153. the character dies in a GvG area. [blackhole89]
  154. * Updated SQL Files [Toms]
  155. * Fixed a bug which makes the group heal bonus be applied as many times as
  156. the item is in that group.
  157. * Applied Rayce's suggestion to improve the script hash size usage. eA now
  158. uses a hash of 1024.
  159. * Full Buster's auto-blind chance is now reducable by stats/items.
  160. 2006/12/2
  161. * Updated Charge Attack's damage equation as per the only source I've seen
  162. of it so far.
  163. * Now Guardians/Emperium can't hit /be hit if their current map isn't a
  164. gvg_castle or woe is off. This enables "localized" WoE by removing/setting
  165. the mapflag gvg_castle on the castles where you want WoE to take effect
  166. (note that even though normal players can't be hit on non gvg_castle maps,
  167. normal mobs can still be killed in such maps, you'd still need to modify
  168. the WoE scripts to use this kind of feature)
  169. * TK_MISSION will now pick any mob from the DB as long as it is not a boss
  170. type and it gives base exp.
  171. * Fixed the double-stone issue when hitting a petrified character.
  172. [Skotlex]
  173. 2006/12/25
  174. * Fixed buildin_getscrate, thanks Trancid.
  175. * Applied part 1 of TheUltraMage's socket cleanup.
  176. "Basically what I did was perform simple one-liner substitutions for
  177. ugly repetitive blocks of code. The most apparent are the send/recv
  178. code and the other basic socket calls."
  179. * flush_fifo is non-blocking now. I guess best effort is good enough...
  180. * Copied header files from vcproj-7.1 files to vcproj-8 files.
  181. * Applied the rest of Rayce's suggestions and fixes
  182. (http://www.eathena.ws/board/index.php?showtopic=129185)
  183. * warn_cmd_no_comma, warn_func_no_comma, warn_cmd_mismatch_paramnum are
  184. now warn_func_mismatch_paramnum and it only prevents showing the error,
  185. as it was probably intended in the first place. (correct me if i'm wrong)
  186. * Merged the parsing of function calls in the script engine, removing the
  187. parse_cmd hackery, and made "heal (.@val+rand(0xff))&0xff,0;" valid
  188. again. [FlavioJS]
  189. 2006/12/24
  190. * Small fix for changeset 9539 (support for PACKETVER above 7) [KarLaeda]
  191. 2006/12/23
  192. * Fallback for parenthesis argument lists in the script engine.
  193. "func (exp) , ..." is valid again.
  194. * Moved "#include <limits.h>" to cbasetypes.h to ensure it's included
  195. before checking if UINT_MAX has been defined.
  196. * Minor changes in pc_readdb related to max_level being unsigned.
  197. [FlavioJS]
  198. 2006/12/22
  199. * Simplified function agitcheck so it isn't crash prone. Now it takes no
  200. arguments, and will return whether WoE is on or not.
  201. * Now when you specify a max level beyond what the exp table has, the last
  202. entry of the exp table will be duplicated to fill in the remaining levels.
  203. [Skotlex]
  204. * Change strncpy to memcpy when parsing switches in the script engine
  205. since it's guaranteed to be a word of that size (skip_word).
  206. * Made scriptlabel_db duplicate the key. When str_buf is reallocated, the
  207. keys in scriptlabel_db could become invalid, causing a crash in
  208. npc_convertlabel_db.
  209. * Now npc_convertlabel_db clears scriptlabel_db after using it.
  210. * parse_script has an extra parameter options. At the moment it only
  211. indicates if scriptlabel_db should be used or not.
  212. * Fixed "UINT_MAX undeclared" on systems that don't declare it in limits.h
  213. [FlavioJS]
  214. 2006/12/21
  215. * Applied Rayce's suggestions and fixes to the script engine
  216. (http://www.eathena.ws/board/index.php?showtopic=129185)
  217. * Some cleaning to the character deletion code.
  218. * Changed a certain snprintf to strncpy, which should fix the problems with
  219. parsing switches in the script engine.
  220. * Added back cropping the attack delay to attack motion for those weird mobs
  221. that have a aDelay less than their aMotion time. [Skotlex]
  222. * Added a 1-node cache to db. Removed party_cache and guild_cache since
  223. now the database has a cache.
  224. * Fixed "warning: comparison is always false due to limited range of data type"
  225. by restricting script words to ASCII characters only.
  226. * Moved md5calc to common. [FlavioJS]
  227. 2006/12/20
  228. * Fixed ISSPACE and ISALPHA casting their returned value to a char, which
  229. can really mess up the scripting engine when the returned value is true,
  230. yet casted to false.
  231. * Moved the strip unequip code to before deleting the timer, this fixes
  232. trying to "re-strip" someone causing the skill to fail and on top of that
  233. terminate their current strip effect.
  234. * Reading of TK Mission variables will now happen if you are a TK-class
  235. character regardless of whether you know TK_MISSION or not. Should fix
  236. being able to reset skills to reset your Mission data.
  237. * Added an ugly work around to the issue of skills with additional effect
  238. causing opt1 status when they have just terminated them (in short, you
  239. shouldn't be able to hit someone with, say, sleep, and then have the same
  240. skill cause them stun, since both are opt1 values). [Skotlex]
  241. * Now root script functions calls can have parenthesis (will take any
  242. parenthesis after the function as the start of the argument list).
  243. - This means "func (exp),exp;" isn't valid anymore.
  244. * Replaced our fix for "mes ();" crashing by jA's version.
  245. * Merged the fix for & having the same precedence as << and >> from jA.
  246. * Merged the C_OP3 operator from jA: test ? if_true : if_false
  247. * Changed the script source from unsigned char* to const char*.
  248. * Updated plugins Makefile. [FlavioJS]
  249. 2006/12/19
  250. * Reverted the mob ThinkTime update, that field is again aDelay as it
  251. apparently should be. [Skotlex]
  252. * Cleanups or minor changes.
  253. * Now addtick_timer invokes settick_timer, so keep an eye for whatever
  254. timer issues it's supposed to have.
  255. * Removed the flush_fifo from clif_parse_TickSend until the socket
  256. problems are fixed. [FlavioJS]
  257. 2006/12/18
  258. * Updated POS2 macros. The 6th byte is subx0 and suby0. [FlavioJS]
  259. * Added hom_setting to specify which homunculus 'quirks' are in effect. The
  260. default activates all of them, if you set them to 0 then homuncs will not
  261. be treated in any special matter, pretty much like standard mobs. if I
  262. missed any 'quirky' homunc behaviour from it, report it so it can be added
  263. to the list.
  264. * Made flooritem_lifetime a int so you can specify much longer life times
  265. (the default of 60k was already very close to the max of 65k)
  266. * Removed monster_ai 0x80 since it's now handled by hom_setting.
  267. * When walking into a Guild Dungeon your pvp_points will be set to 5 so you
  268. have to die twice before being warped out.
  269. * If jobchanging while disguised, the disguise will be removed, since it
  270. can't be kept and still calculate correctly the new job class to use.
  271. * Fuuma shurikens are now unbreakable code-wise (like all maces, books,
  272. etc)
  273. * Applied Meruru's patch to increase speed of easy path seeks. [Skotlex]
  274. * Cosmetic changes to db.
  275. * Fixed the unused MAPINDEX_AUTOADD section in mapindex.c (mapindex.h
  276. wasn't being included) [FlavioJS]
  277. 2006/12/16
  278. * Moved packet_len_table values to packet_db[SERVER].
  279. * When an invalid packet_ver is found, all it's entries are discarted
  280. intead of just stopping the parsing.
  281. * Increased MAX_PACKET_DB to 0x300 and added a warning for when packet ids
  282. greater than MAX_PACKET_DB are found. [FlavioJS]
  283. 2006/12/15
  284. * There will be now warnings printed when a shop sells an item which's buy
  285. price is 20z, since those usually are "rare" items with no buyying price
  286. set. Note that this reports one fake, and that is the selling of a certain
  287. shuriken that indeed costs 20z.
  288. * Most likely fixed client crash when xmas/wedding status runs out.
  289. 2006/12/14
  290. * Removed "mobs being enemies of each other all the time" because, even
  291. though mobs can hit each other as they should, they will refuse to use
  292. support skills on enemies, which breaks several of their skills. Mobs can't
  293. both help and attack someone tagged as enemy!
  294. (I guess eA is just too smart to emulate Aegis's sloppy coding)
  295. * Cleaned up the strip code (GS_DISARM, rogue skills).
  296. * Cleaned some the MD_DETECTOR code.
  297. 2006/12/13
  298. * Additional damage bonuses (True Sight, EDP, Assassin Link, Crusader Link,
  299. Card skill damage bonuses) are now applied independently of each other,
  300. which lets them stack. [Skotlex]
  301. * Modified flush_fifo so the code do what is written in the comment [Toms]
  302. * Modified flush_fifo so you can decide whether to block the current thread
  303. or not until the data is sent. The server-tick reply no longer blocks the
  304. current thread.
  305. * Fixed mobs being unable to attack anything...
  306. 2006/12/12
  307. * Reverted the knockback update since it isn't working right with all
  308. skills.
  309. * Mobs now by default are "everyone's" enemy, so mobs are able to hit each another.
  310. * Moved "unsetting" the angry mode from the mob_ai to the mob_damage
  311. function, where it'll work regardless of who hits the mob.
  312. * Modifed a bit the clif_change_look function, it should fix crashes with
  313. the Xmas sprite when changing maps.
  314. * Fixed skills displaying a 32k damage when used while disguised. [Skotlex]
  315. * Minor changes to ers.
  316. * Removed unused/hardly used cbasetypes typedefs.
  317. * Updated txt-converter's makefile to include utils.o [FlavioJS]
  318. * Updated npc_event_dequeue to free up your current npc information, and
  319. not just the npc_id.
  320. * Modified the skill damage packet and the knockback packets to mimic aegis
  321. sent packets for such skills.
  322. * Removed CART_MASK as OPTION_CART can take care of that.
  323. * Moved the OPTION_MASK define to status.h
  324. * Reverted the knockback implementation to use clif_slide instead of
  325. clif_fixpos [Skotlex]
  326. 2006/12/11
  327. * Added various missing checks when parsing several guild actions.
  328. * made @hominfo display the six basic stats.
  329. * Simplified the MD_DETECTOR checks, since now all insects/demons have it
  330. set, and it's no longer needed to check for the race. [Skotlex]
  331. * Updated sql files [Playtester]
  332. * Spirit of Sin and Enchant Deadly Poison now stack.
  333. * Fixed skill damage card bonuses not working on magic skills.
  334. * Moved the setting of sd->npc_id = 0 in npc_dequeue to the beginning,
  335. since this function is called when a script is cancelled
  336. * Made homunc's speed be recalculated when you respawn it from rest state.
  337. [Skotlex]
  338. * Fixed @revive not reviving the good char [Toms]
  339. 2006/12/10
  340. * Added more helpfull messages when packet_ver=-1.
  341. * Joined normal and MINICORE's main function.
  342. * Put malloc_init() first and malloc_final() last as it's needed for Show*
  343. in display_title(). [FlavioJS]
  344. 2006/12/09
  345. * Reversed revision #9415 (messages with server_tick field being sent as
  346. soon as possible) since it didn't fix the client synchronization issue.
  347. * clif_parse_TickSend is sent immediately so the client gets accurate
  348. "pings". [FlavioJS]
  349. 2006/12/08
  350. * Now you can request a trade regardless of the state of the target trader.
  351. [Skotlex]
  352. * The trade will now fail when you accept it and either character is
  353. speaking with an npc, vending or has the storage open. [Skotlex]
  354. * Fixed crash when looters became full. [Skotlex]
  355. * Autospell delay time is now the skill's full delay. [Skotlex]
  356. 2006/12/07
  357. * Fixed ladmin's linux compilation and moved some platform specific
  358. defines to cbasetypes.h [FlavioJS]
  359. * Cleaned up implementation of NPC_EMOTION/NPC_EMOTION_ON. Now val0 is the
  360. emotion, val1 sets the mode, val2 adds to the mode, val3 removes from the
  361. mode. val4 asks to remove the previous mode change, otherwise it will stack
  362. with the changes from the previous skill call. [Skotlex]
  363. * Updated the mob skill reading code so it accepts hexadecimals in the
  364. 'val' fields. Also, it will optimize the NPC values so that when you set a
  365. mob's mode to their db mode, it will just remove the previous mode.
  366. [Skotlex]
  367. * NPC_EMOTION_ON will now automatically move it's new mode to val2 since it
  368. should add a mode, and if this mode doesn't has the aggressive bit, it will
  369. remove it. See this "ancient" hypothesis on how NPC_EMOTION_ON should work
  370. for the details: [Skotlex]
  371. http://www.eathena.ws/board/index.php?showtopic=63606
  372. * Fixed npc commands atcommand & charcommand not working with a custom
  373. command_symbol [Toms]
  374. 2006/12/06
  375. * Changed the order of view-change packets for SC xmas/wedding, should fix
  376. crashing if you change into xmas suit while in fighting stance. [Skotlex]
  377. * Renamed the mob mode Cast-Sensor Melee to Cast-Sensor idle since these
  378. mobs really should only be cast-sensing when they are not after another
  379. target. [Skotlex]
  380. * Added a Aegis Mob Type -> eA Mode table conversion to the mob modes doc.
  381. [Skotlex]
  382. * Updated sql-files [Playtester]
  383. * Gave a minimum think time to the dummy mob and to clones. [Skotlex]
  384. * Moved setting a mob's chase/attack states from the mob_ai to unit_attack
  385. and unit_walktobl for better state-handling precision. [Skotlex]
  386. * Cleaned the change-target/cast-sensor code to account for the new mob
  387. modes. [Skotlex]
  388. * Updated the doc explaining mob modes. [Skotlex]
  389. * When GM skill unconditional is set, the arrow state of the skill will be
  390. calculated, this fixes all skills getting stuck on arrow-type after you
  391. attack normally. [Skotlex]
  392. * Alchemist famous potions get their 50% bonus on top of the natural
  393. bonuses as a 1.5x type of bonus. In other words, now alchemist potions
  394. will really heal 50% more than when you use the non-famous potion
  395. version.
  396. [Skotlex]
  397. * Messages with server_tick field are sent as soon as possible now.
  398. This might fix client synchronization issues.
  399. * Added StringBuf_Vprintf to utils.c and changed the showmsg.c buffer.
  400. Now it uses a static buffer and a StringBuf when needed (a debug message
  401. indicating the static buffer needs to be increased is shown). [FlavioJS]
  402. 2006/12/05
  403. * The can log value now is "reset" when you die allowing you to
  404. respawn/quit instantly after death. [Skotlex]
  405. * Fixed sc data load failing when using charsave_method: 1 [Skotlex]
  406. * Fixed the interserver link reserve size being 8 times instead of 1/8th
  407. the default size. Changed it to be 1/4th as well. [Skotlex]
  408. * Found the position of emblem_id in packet 1b6.
  409. * Moved START_ACCOUNT_NUM and END_ACCOUNT_NUM from login.h to mmo.h and
  410. changed clif_guess_PacketVer to use that.
  411. * Made the script engine big-endian compatible.
  412. * Commented out the remnants of ladmin packet parsing in map-server.
  413. * Added a warning when a player has an invalid packet version (shouldn't
  414. happen). [FlavioJS]
  415. 2006/12/04
  416. * Fixed HVAN_INSTRUCT int bonuses. [Skotlex]
  417. * Renamed mob_db's "adelay" column to ThinkTime and made the mob.c code use
  418. it instead of MIN_MOBTHINKTIME. The adelay of mobs will also be equal to
  419. their thinktime unless their thinktime is less than their attack motion.
  420. [Skotlex]
  421. * Added a static +100 Hp to ninjas and gunslingers since it's required for
  422. the best approximated hp growth algorythm. [Skotlex]
  423. * Knockback will again use the fixpos packet instead of the slide packet
  424. (slide was introduced with high jump) since Aegis captures say that packet
  425. is still used for knockbacks. [Skotlex]
  426. * Repairing items via scripts no longer displays "item has been repaired"
  427. [Skotlex]
  428. * Status Recovery again makes mobs unlock their current target. [Skotlex]
  429. * Moved requesting party/guilds from the char-server from pc_authok to
  430. pc_reg_received, since map_nick2sd and map_getallsd won't work until the
  431. characters are authentified. Also removed the guild master setting from
  432. clif_parse_LoadEndAck to pc_reg_received since guild master setting will
  433. work there. [Skotlex]
  434. * Fixed homun hunger timer being started on login even when hom is
  435. vaporized/dead. [Skotlex]
  436. * Fixed mvp exp attacker bonus applying incorrectly. [Skotlex]
  437. * Removed duplicate msg_athena.conf entries 619 and 620 for
  438. Ninja/Gunslinger.[Skotlex]
  439. * Fixed the txt->sql converter not escaping character names before saving
  440. them. [Skotlex]
  441. * Fixed a pet's level not resetting to their db level when you enable pet
  442. leveling and later on decide to turn it off. [Skotlex]
  443. * Fixed restricted equipment not updating your view info after they are
  444. unequipped. [Skotlex]
  445. * Removed a bunch of extra text/checks when ignoring characters (/ex) when
  446. Aegis does none of these checks. /inall now wipes your ignore list (it does
  447. this on Aegis, too). [Skotlex]
  448. 2006/12/03
  449. * If somehow a player logs out and it's saved with 0 hp, on login his state
  450. will be set to dead as well so he can respawn (otherwise that leads to a
  451. stuck char) [Skotlex]
  452. * Fixed even share exp flutuating as described in:
  453. http://www.eathena.ws/board/index.php?showtopic=126139
  454. thanks to TheUltraMague for the fix.
  455. * Made ers double frees report as missing entries on destruction.
  456. * Only one swap function (in cbasetypes.h) is used. [FlavioJS]
  457. 2006/12/02
  458. * Added buildin_checkvending and buildin_checkchatting. [Lance]
  459. * Enabled atcommand parsing for clients with Korean langtype and version. [Lance]
  460. * Added missing min/max definitions to cbasetypes.h, needed for the @send change.
  461. * Replaced @send with the version I use for testing packets.
  462. Can display the packet length. Supports dynamic packets, quoted strings
  463. with escaped characters and fixed/variable length, and normal/hex
  464. byte/word/long data types. The number of fields is not limited, but it
  465. automatically stops parsing when the packet is full. [FlavioJS]
  466. 2006/12/01
  467. * Fixed passive mobs becoming increasingly unlikely to retaliate to attacks
  468. after they got inflicted by a disabling status change. [Skotlex]
  469. * Changed the "is_boss" define to check for mode MD_BOSS instead of giving
  470. mvp exp. [Skotlex]
  471. * Updated sql files [Playtester]
  472. * Fixed txt-converter compilation. [Skotlex]
  473. * STRECOVERYno longer makes a mob unlock it's target like Cure does.
  474. [Skotlex]
  475. * Fixed GS_GROUNDDRIFT consuming ammo when it's time expires (so it was
  476. consuming 2 grenades instead of one). Also added a "explosion effect" when
  477. their time runs out. [Skotlex]
  478. * gvg_dungeon mapflag won't set pvp related mapflags anymore, pc_dead will
  479. force pvp ranking gain/loss on gvg_dungeon maps now. [Skotlex]
  480. * Now when coming out of hiding land-effects will trigger on the character.
  481. [Skotlex]
  482. * Fixed land effects not taking effect inmediately on map-load when the
  483. invincible timer is disabled. [Skotlex]
  484. 2006/11/29
  485. * Probably fixed the Segmentation Faults we've been having.
  486. Description: A player quits and it's session is freed and set to NULL,
  487. but the char server already sent a packet with player information
  488. (registers, storage, ...). If a message is sent in consequence of
  489. updating that info, a segmentation fault happens because
  490. session[sd->fd] is already NULL.
  491. Fix: make shure the session of the target player is valid before
  492. processing the rest of the char server's message.
  493. * Some minor cleanups. [FlavioJS]
  494. * Fixed the new npc parsing code not accounting for windows-style line
  495. terminators, which as a side effect messed up mapflag parsing if the file
  496. had windows-style terminators, which coincidentally was the case for the
  497. nopvp file, which unfortunately meant that all towns became pvp! [Skotlex]
  498. * HT_PHANTASMIC no longer knocks back even when it misses. [Skotlex]
  499. * Earned exp by dead homuns will now be lost (same treatment as earned exp
  500. from players that died) [Skotlex]
  501. * Now gvg_dungeon mapflag will activate the other mapflags which are
  502. required: pvp, pvp_nocalcrank and pvp_noparty/pvp_noguild (they are forced
  503. to off if gvg_dungeon is on and viceversa) [Skotlex]
  504. * Cleaned the pvp ranking code so that it takes effect even if
  505. pvp_nocalcrank is active WHEN the map is a gvg_dungeon one. [Skotlex]
  506. * Now homuncs and their masters are the only ones who can use support
  507. skills on them. [Skotlex]
  508. * Some cleaning on the homunc speed calculating code, so that it correctly
  509. uses the default walk speed if the player has no speed yet. [Skotlex]
  510. 2006/11/28
  511. * Fixed a typo which made the wedding_ignore_palette setting not work when
  512. you log on with them equipped [Skotlex]
  513. * Applied The Ultra Mage's patch to use strict npc header formatting
  514. parsing. Updated the relevant stock scripts/mapflags that didn't conform to
  515. the standard. [Skotlex]
  516. * Moved the blocking of casting supportive skills on homunculus from
  517. battle_check_target to status_check_skilluse as bct is not invoked unless
  518. the skill is offensive (or party/guild only) [Skotlex]
  519. * Cleaned up status_calc_bl_sub_hom, fixed recasting dex/str/vit/int
  520. bonuses skills making their atk/def/mdef stack with itself over and over.
  521. [Skotlex]
  522. * Updated sql files [Playtester]
  523. * Changing setting the Guild Master from pc_authok to clif_parse_LoadEndAck
  524. so that it will not fail to set the gmaster flag when the first person of a
  525. guild to log on is the guild master. [Skotlex]
  526. * Modified the way Storm Gust freeze's counter works. Now it checks for the
  527. caster of the Storm Gust, if it's the same as the previous hit, the counter
  528. is increased, otherwise, the ID is updated and the counter is changed to 1.
  529. [Skotlex]
  530. * Fixed always receiving at least 1 bexp/jexp even when the mob gives no
  531. exp at all. [Skotlex]
  532. * Changed write to send as suggested by TheUltraMage in:
  533. http://www.eathena.ws/board/index.php?showtopic=105417
  534. Hopefully that will take care of the SIGPIPE problem in Debian and cygwin.
  535. * Server name in core.c skipping '\\' characters.
  536. * Memory allocation functions using file,line,func from the invoking functions.
  537. * Other minor malloc changes. [FlavioJS]
  538. 2006/11/27
  539. * Now when a player's "attack once" request fails due to range, the client
  540. is told to move to the target to attack it. This sort of fixes the problem
  541. of the client SPAMMING the server with attack requests from afar without
  542. even approaching the icewall. [Skotlex]
  543. * Updated the status change field "option" to an int rather than short.
  544. This fixes the option values for xmas/sightblaster not getting set, which
  545. could explain why some people crash when equipping weapons while in xmas
  546. suit. [Skotlex]
  547. * Fixed the Homunculus hungry timer not starting on login. [Skotlex]
  548. * Added logging for standard GM commands (/mm /b /kick etc) [KarLaeda]
  549. * Some cleanups on the trade_additem function. When specifying a qty of 0,
  550. an ack will be returned to the client so it doesn't gets stuck. [Skotlex]
  551. * Update sql files [Toms]
  552. * Corrected the skill animation for Absorb Spirits [Skotlex]
  553. * Cleaned up a bit the implementation of how Gravity Field blocks the
  554. caster from moving. [Skotlex]
  555. * Mob class-changing will fail if the new class is the same as the previous
  556. one. [Skotlex]
  557. 2006/11/24
  558. * Homunc's min matk is now always equal to max matk [Skotlex]
  559. * Fixed EDP's damage being 100% more than it should (should be 4x, not 5x
  560. on normal attacks) [Skotlex]
  561. * Self Destruction will only hit everyone and not just enemies when used by
  562. mobs (non marine spheres) unless the map is a versus map. [Skotlex]
  563. * Spider Web's duration is now halved on players (before it was halved in
  564. pvp maps only) [Skotlex]
  565. * Likely fixed Homunculus not disappearing the second their intimacy hit 0.
  566. [Skotlex]
  567. * Fixed uninitialized variable fd being used in WFIFOHEAD in a few clif
  568. functions. [Skotlex]
  569. * Fixed the fact that the TURBO code breaks when you attempt to handle more
  570. than one connection at a time within the same function. However this broke
  571. map-server compilation, therefore, don't use TURBO yet! [Skotlex]
  572. * While at it, cleaned a few packet implementations in the char/login
  573. servers which were not only ugly, but had some really stupid flaws within.
  574. [Skotlex]
  575. 2006/11/23
  576. * Completed Reddozen's hanging mapwarp code to support party and old syntax. [Lance]
  577. * Updated sql files [Playtester]
  578. * Made WFIFOHEAD() check for available buffer size remaining on the
  579. connection, and when there's not enough space, it will increase it.
  580. [Skotlex]
  581. * Added define TURBO to the Makefile. It enables MouseJstr's socket access
  582. optimization which should speed up the code when accessing the write/read
  583. buffers repeatedly within a function. [Skotlex]
  584. * Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used
  585. incorrectly (prevents TURBO enabled compilations from finishing) [Skotlex]
  586. 2006/11/22
  587. * Modified slaves_inherit_speed and slaves_inherit_mode so you get better
  588. control of when to copy/remove modes/speed. See the conf changelog for
  589. details. [Skotlex]
  590. * Reenabled usage of mode MD_CHANGETARGET, so mobs with mode 0x200 will be
  591. able to switch targets while attacking. [Skotlex]
  592. * Some cleanups around usage of session[] in the map server, hoping that it
  593. may fix some not very likely crashes. [Skotlex]
  594. * Rewrote a few messy @ commands. [Skotlex]
  595. * Fixed the homunc hungry timer being started when the homun data is
  596. received from the char-server and the homunc is NOT 'active'. [Skotlex]
  597. 2006/11/21
  598. * Fixed the Auto-Berserk giving you back defense when it triggers during
  599. berserk's HP penalty. [Skotlex]
  600. * Some small changes in the pet ai to make it more responsive. [Skotlex]
  601. * Rewrote the pet looting behaviour (taken from the mob's), pets are much
  602. more smarter now when looting from multiple possible items. [Skotlex]
  603. * Fixed pets/homunc trying to be deleted twice when they had 0 intimacy and
  604. their master logs out. [Skotlex]
  605. * Added support for specifying ammo type = 99 in the skill_require_db file,
  606. it can be used to specify that any kind of ammo can be used with the skill,
  607. but you NEED to have ammo equipped. [Skotlex]
  608. * Corrected GS_DISARM, it is now a normal attack, which, when it connects,
  609. has a chance to do strip weapon at a 3*lv% rate (modified by dex) [Skotlex]
  610. * Fixed GS_PIERCINGSHOT, it should ignore defense [Skotlex]
  611. * Corrected Gatling Fever costing SP when trying to turn it off. Also,
  612. speed increases bonuses won't take effect while it's active. [Skotlex]
  613. * Updated the main makefile with a new OPT line. It is commented by default
  614. since it only works with GCC 4.X, when unset, it will hide away a huge
  615. amount of warnings that have to do with stuff that is not gonna be
  616. corrected in eA anyway. [Skotlex]
  617. * Corrected TripleAction's damage. It should do 150%*3 instead of 100*3%
  618. damage. [Skotlex]
  619. * Updated GS_CRACKER's stun chance using Doddler's info as reference.
  620. [Skotlex]
  621. * GS_FLING won't reduce armor defense when used on players. [Skotlex]
  622. * Moved ignoreAll to state.ignoreAll so it saves some space. [Skotlex]
  623. * Cleaned up clif_parse_Wis to prevent crashes from forged packets
  624. [Skotlex]
  625. * Cleaned up the implementation of the ignore list so it's more efficient.
  626. [Skotlex]
  627. 2006/11/20
  628. * Implemented NPC_DEFENDER. Reduces ranged Physical+Misc damage by 80%
  629. [Skotlex]
  630. * Improved the battle config reader so it accepts hexadecimal values.
  631. Updated the monster_ai description to make use of this [Skotlex]
  632. * Added monster_ai&0x200. When set, mob skill delays are shared. That is,
  633. if the mob has several lines with the same skill, when the skill is used,
  634. the delay will be set to all of them, not just the one entry used.
  635. [Skotlex]
  636. * Corrected NPC_BARRIER so it grants 100 def/mdef (and not just mdef)
  637. [Skotlex]
  638. * Weapon ATK bonuses will now only apply to watk and NOT watk2 on players
  639. (on players watk2 is refine bonus) [Skotlex]
  640. * Corrected NPC_KEEPING. it should give 90 def, not 100 [Skotlex]
  641. * You now can't use other skills while a skill-induced "window" is up
  642. (teleport, refining, etc). However, be warned that we aren't quite sure how
  643. the server will clear this out if you decide to hit cancel on the window,
  644. so skill-blockage is likely to happen (temporary solution: whenever you
  645. change maps or warp the state is reset server-side). [Skotlex]
  646. * Fixed itemskill variable being cleared before parsing the skill, this
  647. causes auto-casted teleport to fail to skip the skill menu. It is now
  648. cleared on castend_pos/id directly. [Skotlex]
  649. * Skills with state 'move_enable' will now do a "walk path" check between
  650. target cell/object and caster instead of a "shoot path" check, this would
  651. fix skills like snap or charge from letting you "teleport" across pits.
  652. [Skotlex]
  653. * Raised the amount of skills that can stack on a single cell before the
  654. "in-area/out-area" detection code breaks to 24 (from 8) [Skotlex]
  655. * Fixed a crash in clif_SkillInfoBlock if the passed player already
  656. disconnected. [Skotlex]
  657. * Added limiting drop rate to 100% from item-bonuses that depend on the
  658. mob's level so that "@autoloot 100" will catch them. [Skotlex]
  659. 2006/11/19
  660. * Removed security check since source level patch is applied.
  661. * Reverted select(), created prompt().
  662. * Hack protection from packet monkeys in clif_parse_NpcSelectMenu. [Lance]
  663. * Added 'cancel' button parsing in buildin_select menu system. Now scripts will continue
  664. to load if 'cancel' is pressed and 255 will be returned. [Lance]
  665. 2006/11/17
  666. * Corrected use of the party invitation reply packet, thanks to FlavioJS.
  667. [Skotlex]
  668. * Fixed potential hack by modifying packet of whispers. [Lance]
  669. * Fixed potential crash in IRC processing message with '%' using *printf. [Lance]
  670. * Fixed memory leaking caused by homun_data not freed when removed. [Lance]
  671. * Fixed client not validating the chat-kick-request packet, which can cause
  672. crashes. [Skotlex]
  673. * Updated map_quit to handle removing of players who are not even
  674. authenticated yet. [Skotlex]
  675. * New connection requests are now also blocked when there's a player
  676. already online but hasn't finished loading yet. [Skotlex]
  677. * Because of these changes, the friendlist notification when people join
  678. has been moved to LoadEndAck from pc_authok [Skotlex]
  679. 2006/11/16
  680. * Updated sql files [Toms]
  681. * For the sake of avoiding confusion, all script events are named with prefix 'On'
  682. from now on. [Lance]
  683. * Edited atcommand and charcommand syntax. Now it doesn't need the useless
  684. character name and ":". [Lance]
  685. * Shadow Jump and Kirikage won't "move" you if you use them in GvG grounds.
  686. Fixed Kirikage so it first warps you, and then you unhide. [Skotlex]
  687. * Corrected Zeny Nage so the Zeny spent on the attack is always the exact
  688. same value as the damage you are dealing. Also corrected it so it does half
  689. damage when used on players. [Skotlex]
  690. * Overlapping song/dances will now cause dissonance/ugly-dance level 1
  691. instead of retaining the level of their song/dance. [Skotlex]
  692. * Fixed wrong check in @petrename, thanks to The Ultra Mage.[Skotlex]
  693. 2006/11/14
  694. * Early Christmas present. 3 new "features" which were very easy to code,
  695. and should help scripters tremendously. Eapp is quite a way from being
  696. ready, so these can't hurt:
  697. * Implemented Karma: It turns out that when someone has karma, the client
  698. believes this character is "evil", and will give you a cursor sword on top
  699. of them automatically. So now the code will let characters with karma to
  700. fight each other. This enables duels and other types of restricted pvp
  701. where only the characters with karma can hit each others, and the rest of
  702. players with neutral karma cannot be affected. Note that Karma cannot be
  703. negative, and it can have any value between 0 and 256 (any non-zero value
  704. makes them appear evil on the client). For now, characters with karma can
  705. hit each other regardless of karma value, but perhaps it may be better to
  706. let them to hit each other ONLY if they have the same karma (the whole
  707. duel implementation COULD be cleaned up using Karma instead!)
  708. * Added mapflags partylock and guildlock, which lock the state of the
  709. parties/guilds on said maps:
  710. partylock: blocks user party requests to create/invite/leave/kick
  711. guildlock: blocks user guild requests to create/invite/leave/expel/
  712. make alliance/make opposition/delete alliance/delete opposition/
  713. break guild
  714. 2006/11/13
  715. * Fixed a bug where the char-txt server was incorrectly saving memos,
  716. causing character data to be lost on restart. [Skotlex]
  717. * HP Conversion will fail when used at max SP. It should not display any
  718. errors to the client. [Skotlex]
  719. * Modified yet again the login procedure to enable character variables to
  720. work on item scripts. It SHOULD work crashless now. Please report any
  721. problems it may cause.
  722. * Volcano/Deluge/Violent Gale are now interchangeable, in the sense that
  723. as long as one of these is out, casting any of the three will not consume
  724. gems, and will use the remaining time of the previous one. In turn, Land
  725. Protector will now always consume gems on every cast. [Skotlex]
  726. * Small cleanup in the Land protector code which may fix it not blocking
  727. AoE skills. [Skotlex]
  728. * Fixed the interpretation of "head_dir". Removed setting head_dir to match
  729. character direction in the whole code. Now it is only reset to 0 (look
  730. forward) when unit_setpos is invoked, or when a character begins walking.
  731. Thanks to FlavioJS for figuring out how the client parses the head
  732. direction. [Skotlex]
  733. * Moved status_calc_pc back to pc_authok. [Lance]
  734. 2006/11/11
  735. * Fixed debug message in login_sql [KarLaeda]
  736. 2006/11/10
  737. * Deluge/Violent Gale/Volcano tiles will now fail to be placed on cells
  738. that are already ocuppied by anything else. [Skotlex]
  739. * status_is_immune will now return 0 or the amount of immunity of the
  740. target. In which cases it returns 100 for WoH and the GTB bonus when they
  741. have passed the gtb_sc_immunity setting. This enables targetted spells to
  742. not "fail silently" unless GTB's magic reduction is 100. [Skotlex]
  743. * Fixed Homunculus being spawned as soon as they arrive from the
  744. char-server even if the Master has not spawned on the map yet. [Skotlex]
  745. * AL_TELEPORT now fails when used on top of Land Protector. [Skotlex]
  746. * Some minor cleanings in pc_setpos, it may (or not) help fix that
  747. homunc-caused "map_addblock" error message. [Skotlex]
  748. * Corrected fog of wall, so that the deleted/doubled-duration effects are
  749. calculated on a cell-by-cell basis. [Skotlex]
  750. * Updated Land Protector: It will now delete/block effects of ALL ground
  751. skills EXCEPT: Song/Dances/Traps (encores are still blocked). Land skills
  752. blocked/deleted by LP also can't be casted on top of an existing LP. The
  753. code uses the inf2 value of the skill to determine if it is a
  754. song/dance/trap. [Skotlex]
  755. * Ganbantein, mimicking LP, will now also remove ensembles. [Skotlex]
  756. * Fog of Wall will fail when casted on top of a Volcano/Violent Gale
  757. [Skotlex]
  758. * Applied FlavioJS's fix to the npc whisper system. [Skotlex]
  759. 2006/11/09
  760. * Fixed status-change loading not working. [Skotlex]
  761. * Fixed permanent mob-spawn script-events not working. [Skotlex]
  762. * AL_CURE won't confuse undead players. [Skotlex]
  763. * Corrected the Fog of Wall check so that it lasts 2x when it is placed on
  764. TOP of a suiton/deluge, not when the caster is on top of them. [Skotlex]
  765. * Updated status_check_skilluse so that when the caster has a disabling
  766. status change (stun/petrify/etc) it will block the skill in all cases
  767. EXCEPT on cast-end when the skill is ground-targetted. [Skotlex]
  768. * Fixed Health Conversion skill formula bug. [Lupus]
  769. 2006/11/08
  770. * Fixed Desperado's hit-rate, now it behaves as it should. [Skotlex]
  771. * The GVG map-packet will now also be sent for guild dungeon maps.
  772. [Skotlex]
  773. * Added clif_gospel_info which displays info about the buffs you are
  774. receiving. Thanks to Rayce for the packet information. [Skotlex]
  775. * Fixed Spider Web not ending when hit by a fireelemental attack. [Skotlex]
  776. * Cast-time reductions from status changes will not be executed until right
  777. before casting, to prevent status changes from ending when attempting to
  778. cast and the attempt fails (invalid cells, not enough sp, wrong target,
  779. etc, etc) [Skotlex]
  780. * Added check to prevent Wand of Hermod from seeking for a partner to
  781. encore, since the partner is supposed to be the warp. [Skotlex]
  782. * Corrected the mob spawn reading code so that the event-name can be up to
  783. 50 characters long (which is the actual event length) and so that it can
  784. read spaces within them, it will also strip the leading/trailing quotes if
  785. you use them so that the event is actually found on mob-death (so you can
  786. do stuff like "My NPC::OnDead" as a valid event). [Skotlex]
  787. * Moved the homunc inherit speed from the master from status_calc_pc to
  788. LoadEndAck, since the hom's speed matches that of the master each time the
  789. master changes maps. [Skotlex]
  790. 2006/11/07
  791. * Applied FlavioJs's patch which enables colored console output for Windows
  792. systems. It also includes a config setting called
  793. "stdout_with_ansisequence" with which you can turn off the color codes (in
  794. case you are logging all output) [Skotlex]
  795. * Added error reporting when the max number of ground unit cells has been
  796. reached (this may be the reason why sometimes it fails to recognize when
  797. you step out of a song/dance/encore) [Skotlex]
  798. * Added passing the Endure effect to other devoted people. Note that the
  799. "hit count" is individual for each character, and only when it ends on the
  800. Crusader himself will that force it to end on everyone else. It also will
  801. not transfer on gvg grounds, but it does transfer in pvp. [Skotlex]
  802. * Fixed Reflect-Shield triggering Auto-Guard instead on devoted chars.
  803. [Skotlex]
  804. * Added a check to prevent casting ground skills on a target and vice-versa
  805. when said skill use packets are received. It really shouldn't be
  806. exploitable, but doing that certainly makes the server print a lot of
  807. "unknown skill used!" messages. [Skotlex]
  808. * Fixed map_foreachiddb and map_foreachpc so they don't encapsulate the
  809. variable arguments into a double va_arg list. Thanks to the Ultra Mage for
  810. the tip. [Skotlex]
  811. * Cleaned up the clif_hate/mob_info functions with the correct fields/usage
  812. as explained by Rayce. [Skotlex]
  813. * Implemented clif_feel_hate_reset packet to properly display the Angel of
  814. the Sun/Moon/Stars, thanks again to Rayce for the relevant information.
  815. [Skotlex]
  816. * LP will again block all land-stuff from being placed down on top of it
  817. for the exception of Song/Dance/Encores. [Skotlex]
  818. 2006/11/06
  819. * Reapplied 'fix equipment scripts which are based on character variables not
  820. working.' [Lance]
  821. * Multiple Gunslinger skill corrections, refer to
  822. http://ro.doddlercon.com/guides/gunslinger.html for information source:
  823. [Skotlex]
  824. - Corrected Ground Drift. Splash range of 3x3, stackable and placeable
  825. underneath others, cast time is 2 secs. It's considered ranged, and it's
  826. bonus damage increase is defense ignoring, always neutral.
  827. - Corrected Bull's Eye implementation, it should deal normal damage against
  828. non brute/demi-human targets.
  829. - GS_DUST is now considered a short-range attack.
  830. - Implemented Desperado's hit rate based on distance to caster as it's
  831. believed to behave.
  832. - GS_TRACKING's range is no longer affected by Snake Eye.
  833. - GS_FLING's defense reduction is now 5*lv%
  834. * Suiton's Speed/Agi penalty will affect everyone when used in versus maps.
  835. * Corrected Kaupe so it doesn't ends on the first part of Soul Destroyer.
  836. [Skotlex]
  837. * Applied some cleaning to the way Tatami Gaeshi knocks back. [Skotlex]
  838. * Cleaned up the way mobskill_use checks for the correct event. It should
  839. fix unlimited mob-skill-casting issues. [Skotlex]
  840. * Removed the return code entry when logging GM reload-GM requests
  841. (login-sql),it'll just be stored as zero. [Skotlex]
  842. * Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP.
  843. [Skotlex]
  844. * Applied the correction on maprespawnguildid so that it parses ALL players
  845. and not just those on a map. [Skotlex]
  846. * TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched
  847. ones) and Preserve will be unable to block this. [Skotlex]
  848. * Soul Linkers are now inmune to SA_DISPEL [Skotlex]
  849. * You can now place everything (except magic skills) on top of LPs.
  850. [Skotlex]
  851. * Corrected Ganbantein to not touch song/dance/ensembles. [Skotlex]
  852. * Status_calc_pc will refuse to execute if the player is still tagged as a
  853. "new connection" and the invocation is not meant to be the first one.
  854. [Skotlex]
  855. * Swapped the order of checks in status_isimmune so that Wand of Hermod
  856. skill blocking takes precedence over GTB's [Skotlex]
  857. * Client packets will all be ignored while a player is not on a map until
  858. the LoadEndAck packet is received. [Skotlex]
  859. * Reverted changes, moved status_calc_pc(sd,1) back to pc_authok
  860. since it causes problems. [Lance]
  861. * Temperory fixed stability issue caused by initial status_calc_pc
  862. being placed AFTER another status_calc_pc. [Lance]
  863. 2006/11/05
  864. * Updated sql files [Toms]
  865. * Updated perl files acording to rev 9135 [Toms]
  866. 2006/11/04
  867. * Readded duel code in map_quit. Why it has been removed!? [LuzZza]
  868. * Converted itemdb tables to use smallint. Credits to ALZ. [Lance]
  869. 2006/11/01
  870. * Reverted LK_Berserk HP requirement, as everything, including kRO X.2 and
  871. pRO X.3, points that way. [Vicious]
  872. 2006/10/31
  873. * Fixed song/dance/encore cells not being placed down when casted on top of
  874. a land Protector. [Skotlex]
  875. * Update homunc's speed when master's speed changes, should avoid homunc's
  876. speed = 0 on login (homunc's stats are calculated before master's stats) [Toms]
  877. * When Kaizel (or super novice rebirth skill) triggers, you get debuffed
  878. now. [Skotlex]
  879. * Modified the player_cloak_check_type and monster_cloak_check_type
  880. settings. 1 makes it check for walls, 2 makes cloaking NOT end on normal
  881. attacks, and 4 makes cloaking NOT end when using skills. The default
  882. setting for players is still 1, but for mobs the default has been changed
  883. to 4. [Skotlex]
  884. * Non-players can now use all skills while hidden. [Skotlex]
  885. * Added a check to prevent adding negative damage to the total accumulated
  886. damage in mob_damage. It could fix some exploits, even though mob_damage
  887. should never be invoked with negative damage anyway. [Skotlex]
  888. * Implemented the property where the first attacker get's double exp-share
  889. than the others. Due to the way exp calculation is done, this bonus will
  890. not apply when you use exp_calc_type 1 (damage/max_hp) instead of the
  891. default (damage/total-damage). For now this bonus is done after calculating
  892. who is the MVP character instead of before. [Skotlex]
  893. 2006/10/30
  894. * Fixed a little bug in event enqueue code [Toms]
  895. * Updated the code so mobs can use ChainAction as a targetted skill.
  896. [Skotlex]
  897. * Added GroundDrift effects for Wind (Stun) and Fire (knockback). The
  898. knockback value is unknown, so 3 is used for now. [Skotlex]
  899. * Cleaned up some more the steal code, now you can't steal the last slot
  900. regardless of skill level used. [Skotlex]
  901. * Added consideration of Chain Action when cloning GunSlingers. [Skotlex]
  902. * Modified battle_calc_return_damage to take the skill id as well, now
  903. magic damage return will not work on skills tagged as ground or self
  904. targetted. [Skotlex]
  905. * Fixed Gank not working at all with the default max steal tries setting.
  906. [Skotlex]
  907. * Soul Drain won't work with skills tagged as self-targetted. [Skotlex]
  908. * Improved the Suiton code so that the walk/agi penalty only applies to
  909. enemies of whoever casted the skill. [Skotlex]
  910. * Moved the initial status_calc_pc call to when you finish loading the map,
  911. should fix equipment scripts which are based on character variables not
  912. working. [Skotlex]
  913. * Fixed getcharid according to samples and docs. [Lupus]
  914. Thanks to joshuaali for pointing it out. eAPP has no such bug
  915. 2006/10/27
  916. * Fixed mob-skill event "skillused" not triggering at all. [Skotlex]
  917. * Summoned mobs will only be removed from a map if their master is also
  918. removed (dynamic mobs) [Skotlex]
  919. 2006/10/26
  920. * Updated sql files [Playtester]
  921. * Experimental tweak to npc_parse_function - Overwrite existing functions. [Lance]
  922. 2006/10/25
  923. * Cleaned up some more the event dequeue code, it will no longer clear out
  924. the npc_id if there's no events waiting to be executed (why does it clears
  925. the npc_id anyway?) [Skotlex]
  926. * Because of possible conflicts with this change and the on-login script,
  927. now the on-login script is executed when the player has finished loading
  928. into their start-up map rather than as soon as receiving the registry
  929. variables from the char-server. [Skotlex]
  930. * Some cleaning of the pc_eventtimer and pc enqueue code, it should fix
  931. some memory leaks when the event counter does not matches with the actual
  932. number of queued timers during logout. [Skotlex]
  933. * Fixed "skill_sp_override_grffile: yes" causing crashes when parsing
  934. Homuncuus/Guild skills. [Skotlex]
  935. * Made the exp bonus settings be adjustable: [Skotlex]
  936. - exp_bonus_attacker: Indicates how much additional exp a mob gives per
  937. additional attacker (eg: 10 -> +10%*attacker)
  938. - exp_bonus_max_attacker: Indicates at which number of attackers the bonus
  939. is capped (eg: 5 -> 5 attackers, so a mob yield the same exp whether 5 or
  940. 10 people attack it)
  941. - Changed the way the party_even_share_bonus setting works. It now uses a
  942. simple linear bonus increase (eg: 10 -> +10%*party member)
  943. - The defaults are as explained by Tharis: +25%/attacker, capped at 12
  944. attackers, no party bonus. The first two can be found in exp.conf, the last
  945. one was left in party.conf
  946. * MG_STONECURSE and NPC_PETRIFYATTACK now use time1 to specify the
  947. "petrifying time". This value has been set to 5 seconds. [Skotlex]
  948. * Now when SC_STONE is triggered from status-change cards, it's petrifying
  949. duration will be passed as 0, causing the minimum (1 sec) to be used.
  950. [Skotlex]
  951. * Got rid of clones in src: old Novice Grounds map -> new_zone0? [Lupus]
  952. 2006/10/24
  953. * Removed again your mdef reducing "petrifying" time as apparently it can't
  954. be reduced by mdef. [Skotlex]
  955. * Cleaned up the "show_steal_in_party" setting so it only takes effect when
  956. the item was successfully stolen (there was no point in telling you the
  957. item couldn't be stolen due to being overweight) [Skotlex]
  958. * Cleaned up the pc_steal_item implementation (again). It now uses a more
  959. random, simple approach in each steal attempt. [Skotlex]
  960. * Changed the way the skill_steal_max_tries work. Now it actually MEANS the
  961. max number of steal tries, use 0 to disable (unlimited tries). [Skotlex]
  962. 2006/10/23
  963. * Added a bunch of important indexes when dealing with the log tables.
  964. Added upgrade_svn9050.sql which adds these indexes as well. [Skotlex]
  965. * Expanded the family check to work as it should, exp-share-range is
  966. respected, and the child is not considered for it (thanks to TheUltraMage
  967. for the investigation) [Skotlex]
  968. * Double Casting will no longer fail when used. [Skotlex]
  969. * Modified SC_STONE so that the duration of the "petrifying" time is 5 secs
  970. reduced by your natural resistance to petrify (which is mdef%) [Skotlex]
  971. * Modified the meaning of the third column in the skill_require_db. Instead
  972. of MaxHP, this is now called MaxHPTrigger. This column (which was
  973. previously unused by all skills) signals the limit HP% that you can have to
  974. be able to use the skill. For example, setting it to 20 means the skill is
  975. unusable if you have more than 20% life (note that this is merely a
  976. threshold setting, it won't actually substract HP when used!) [Skotlex]
  977. * Adjusted LK_BERSERK so you can only use it when you have 20% or less
  978. life. [Skotlex]
  979. * Removed NJ_TOBIDOUGU adding damage to W_HUUMA weapons which somehow got
  980. readded. [Skotlex]
  981. * When nonplayers use Cloaking, it will be forced to level 10 since mobs
  982. shouldn't have movement/attack restrictions while walking cloaked.
  983. [Skotlex]
  984. 2006/10/20
  985. * Made HAMI_CASTLE use clif_slide rather than clif_fixpos. This should
  986. fix clientside problems when castling between two positions the (client)
  987. path finding can't find a walkable bath between anymore. [blackhole89]
  988. * Fixed the Homunc not spawning next to you after receiving it's data from
  989. the char-server. [Skotlex]
  990. * Fixed Charge Atk being able to go through chasm/pits. [Skotlex]
  991. * Moved the homunculus DB information from the player structure to the
  992. homun structure. Modified the homunculus creation packets to hold this
  993. information during creation, also, all initial values are handled by the
  994. map-server, the char server only assigns it a homun ID. [Skotlex]
  995. WARNING: This is yet untested! It's very possible something could had
  996. broken after changing the format/size of the homunc creation packets.
  997. * Added config setting "summon_flora_setting", which it you can decide now
  998. two things: a. Whether or not players can harm your floras outside versus
  999. grounds, and b. Whether or not you can summon out and mix different types
  1000. of plants at the same time. [Skotlex]
  1001. * Likely fixed pc_steal_item always failing to steal (it was attempting to
  1002. steal random item IDs...) [Skotlex]
  1003. * Cleaned up a bit the mob on-death event so that when the killer is a
  1004. homunculus, it's master will be taken. Also, the variable killerrid will be
  1005. set before running the script to specify who delivered the final blow. If
  1006. the killerrid matches with the script attached player, you can be sure your
  1007. player did the final blow to the mob, otherwise, the attached player is who
  1008. did the most damage to the mob. [Skotlex]
  1009. 2006/10/19
  1010. * Cleaned up the log.c file. [Skotlex]
  1011. * Fixed log_chat not recording anything if the server is compiled in SQL
  1012. mode and sql_logs is turned off (it should then record to a plain txt file)
  1013. [Skotlex]
  1014. * Fixed SG_FRIEND, it should be triggering when Monks do Combo Finish (not
  1015. triple blows), and the trigger rate increase should be based on your known
  1016. level of SG_FRIEND, not TK_COUNTER. [Skotlex]
  1017. * Phantasmic arrow now knockbacks even if it misses. [Skotlex]
  1018. * Adjusted the way Monk combo times work. The combo time is now always
  1019. 300ms (adjusted by combo_delay_rate) which takes effect inmediately AFTER
  1020. your current skill's canact-delay (which is why the particular skill delays
  1021. were moved to skillcast_db) [Skotlex]
  1022. * Modified skill_delayfix so it performs the can-act reduction from agi/dex
  1023. for combos there. [Skotlex]
  1024. * Modified pc_steal_item so that it behaves more closely to the way it does
  1025. on Aegis. [Skotlex]
  1026. 2006/10/18
  1027. * Added a overflow check when calculating party exp share. [Skotlex]
  1028. 2006/10/16
  1029. * Adjusted UTSUSEMI/BUNSINJYUTSU so that they block range/melee weapon
  1030. attacks and only melee misc attacks. This isn't 100% correct, but it's a
  1031. better approximation to the way these skills behave. [Skotlex]
  1032. * Emergency call &16 (disable skill from nowarpto maps) will now NOT block
  1033. Emergency Call if that map is also a gvg-castle map. Makes it safe to turn
  1034. on this option to prevent usage from special maps (like Lhz3) without
  1035. crippling the skill during WoE. [Skotlex]
  1036. * Applied most of Mpeg's work on Ninja Skills. For information see:
  1037. http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt [Skotlex]
  1038. * When reinvoking a combo-time, the previous combo time will be terminated.
  1039. This could fix the ongoing difficulties pulling off Monk combos. [Skotlex]
  1040. * Fixed Esma-state not ending after casting it. [Skotlex]
  1041. * Fixed @hominfo displaying intimacy on a 1/10k scale. [Skotlex]
  1042. 2006/10/14
  1043. * Homun info window to show crit value. As default, homun does NOT crit,
  1044. as monsters do not crit. This is purely for display purpose for players
  1045. to identify their homon's luk value. [Vicious]
  1046. 2006/10/13
  1047. * Base attack for non players is now calculated as str + [str/10]^2 (it
  1048. does not has +dex/5+luk/5 which players do have) [Skotlex]
  1049. * Fixed the char-sql server trying to read the gms off a "gm_db" config
  1050. setting stead of "login_db" [Skotlex]
  1051. * Corrected Throw Arrow/Musical Strike's damage formula [Skotlex]
  1052. * Altered Trick Dead. It doesn't prevents skills from being casted on you
  1053. now, but damage-based skills will do no damage. [Skotlex]
  1054. * Made the battle_config.attack_attr_none apply to pets when using the
  1055. "fixed damage" pet skill scripts. [Skotlex]
  1056. 2006/10/12
  1057. * made @killmonster make the mobs drop items again. [Skotlex]
  1058. * Added a temporary message when Angel of the Sun, Moon and Stars trigger
  1059. so you know it triggered. [Skotlex]
  1060. * When slaves_inherit_speed is set (which is also the default), homun will
  1061. have the same speed of their master when spawned. [Skotlex]
  1062. * When using Hatred and you already have a hate target, your current hate
  1063. target is displayed now. [Skotlex]
  1064. 2006/10/11
  1065. * Cleaned up the char-server code when the last point of a player is not
  1066. found. First it'll check if there's any mapserver online, and then, if
  1067. there is, it'll look for the major cities. If this fails, then the player
  1068. will be told server is closed instead of trying to send him to a "random
  1069. map". Will fix the char-server printing the misleading message "map
  1070. server not found, sending to major city" when in reality there just
  1071. aren't any map servers connected. [Skotlex]
  1072. * Corrected the mob damagelog structure so that you can't exploit it by
  1073. switching characters. [Skotlex]
  1074. 2006/10/09
  1075. * Fixed crash when char-server sends to a "random" map-server online on
  1076. connect. Thanks to TheUltraMage for pointing it out. [Skotlex]
  1077. * Should have fixed being petrified not reducing your defense and
  1078. increaseing your mdef. [Skotlex]
  1079. * Fixed SC_NOCHAT printing the "skills are now available" message twice on
  1080. natural expiration. [Skotlex]
  1081. 2006/10/08
  1082. * Updated sql files [Playtester]
  1083. 2006/10/06
  1084. * Updated Land Protector to block absolutely every land-based skills with
  1085. the exception of Encores/Dances. [Skotlex]
  1086. * Disabling status abnormalities will now reset a mob's target. [Skotlex]
  1087. * Mob morphing also resets their target now. [Skotlex]
  1088. * Monk combos no longer can ignore skill delay (delay skill for all their
  1089. combo-related skills is ASPD) [Skotlex]
  1090. * Now you can trade while in a chatroom. [Skotlex]
  1091. * Fixed homun-txt reading when the file has DOS line-type delimiters (\r\n)
  1092. [Skotlex]
  1093. 2006/10/05
  1094. * skill_blown will now trigger on-touch npcs on the landing tile. [Skotlex]
  1095. * Max trade distance has been reduced from 5 to 2. [Skotlex]
  1096. * Undisguising will now resend the cart-contents. [Skotlex]
  1097. * Added function npc_unload_duplicates(), it unloads all npcs that are a
  1098. duplicate of the passed one. For use with @unloadnpc to prevent crashes
  1099. when you unload the npc that has duplicates. [Skotlex]
  1100. 2006/10/04
  1101. * Bowling bash now always hits twice regardless of situation. [Skotlex]
  1102. * Added an underflow check to prevent sending to the client negative mdef2
  1103. value (for Frenzy'ed characters) [Skotlex]
  1104. * Modified pc_jobchange so that it automatically removes
  1105. peco/falcon/cart/homun if the new job you are changing to does not possess
  1106. the required skill for them. [Skotlex]
  1107. 2006/10/03
  1108. * Fixed a possible crash with @reloadmobdb due to pet loot timers.
  1109. [Skotlex]
  1110. * Fixed a possible crash and a memory leak on the login-SQL server when
  1111. parsing unban requests. [Skotlex]
  1112. * Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of
  1113. skills is reduced now (when enabled) by AGI instead of DEX, which makes a
  1114. lot more sense than DEX. [Skotlex]
  1115. 2006/10/02
  1116. * Modified item-granded status resistance reduction to behave as explained
  1117. by Vicious (Ragnarok Monthly magazine) [Skotlex]
  1118. * Added the opt3 values to Eske [Skotlex]
  1119. * Fixed the txt->sql converter only saving the very first character
  1120. permanent variable. [Skotlex]
  1121. * Fixed the txt->sql converter saving account-wide variables as
  1122. character-wide ones. [Skotlex]
  1123. * Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn
  1124. on/off both noexppenalty and nozenypenalty now. [Skotlex]
  1125. 2006/10/01
  1126. * Removed the speed adjustment per level of Increase/Decrease Agility
  1127. [Skotlex]
  1128. * Fixed humunculi skill exploit, thanks to mr.rkit [Lupus]
  1129. 2006/09/30
  1130. * Rewrote the txt->sql converter. It now links directly to the char server
  1131. files so that it should get auto-updated with any code changes in the
  1132. later. [Skotlex]
  1133. * The converter will now also convert: account-wide variables, parties,
  1134. guilds, guild storage and guild castles. At this point the only two things
  1135. not converted are login-server-wide account variables (##, they belong to
  1136. the login converter) and homunculus (the SQL save function is messy and
  1137. doesn't lends itself to be integrated with the converter the way all the
  1138. other functions are). [Skotlex]
  1139. * misceffect2 will no longer cause the effect on top of the source object
  1140. when it is the fake npc. [Skotlex]
  1141. * Added check so that Frost Nova doesn't hides hitting animation on
  1142. targets. [Skotlex]
  1143. * Added the missing brackets around the trade logs condition check, thanks
  1144. to Coltaro. [Skotlex]
  1145. 2006/09/29
  1146. * Spurt state will now trigger on Soul Linkers as well. [Skotlex]
  1147. * Added a check un unit_run when unit_walktoxy fails. Should fix running
  1148. getting you stuck sometimes when running on diagonals near obstacles.
  1149. [Skotlex]
  1150. 2006/09/28
  1151. * Merged the necessary changes to make the script engine support negative
  1152. constants (db/const.txt). Thanks to Rayce (from jA) for the code. [Skotlex]
  1153. * Cleaned up the skill.c code to take into account when skill_unitsetting
  1154. returns null (skill failed), fixes a possible crash with Wand of Hermode
  1155. [Skotlex]
  1156. 2006/09/27
  1157. * Cleaned up status_get_party/guild_id, it should also fix a possible crash
  1158. when invoking such a functio on a masterless pet. [Skotlex]
  1159. * Sharp-Shooting will now display a skill animation. [Skotlex]
  1160. * The no_spawn_on_player setting will now also work for static mobs, but
  1161. only if the setting is set to 100 or higher. [Skotlex]
  1162. 2006/09/26
  1163. * Yet again messed with the packet sent during a splash attack, but this
  1164. time taking into account the packets that eA was using some many revisions
  1165. ago. Tests are needed to see if Magnum Break/Grimtooth don't spam the skill
  1166. animation anymore, and to see if GrandCross didn't break it's animation as
  1167. well. [Skotlex]
  1168. * Added function skill_dance_switch which handles converting overlapping
  1169. song/dances to dissonance/ugly dance. It should make the overlapping area
  1170. now behave completely like the mentioned song/dances (taking into account
  1171. interval and target type changes). [Skotlex]
  1172. * Updated battle_check_target so that non-offensive skills cannot be used
  1173. on a homun except for the homun and it's master. [Skotlex]
  1174. * Steal zeny won't work on treasure chests now. [Skotlex]
  1175. 2006/09/25
  1176. * Added an ugly check so that Heal will display 0 when healing a berserked
  1177. character (and it will again display full heal amount when healing a player
  1178. who's at full life) [Skotlex]
  1179. * Disabled again client-self-muting since it's causing too much trouble.
  1180. [Skotlex]
  1181. * Merged FlavioJS's script patch which should fix stuff like "mes ();"
  1182. causing crashes. [Skotlex]
  1183. * Item group reading will now complain when a line doesn't has enough
  1184. fields. [Skotlex]
  1185. * Fixed #baselevelup adding instead of substracting status points when used
  1186. with negative levels. Also made it reset your stats if there wasn't enough
  1187. to substract from. [Skotlex]
  1188. * Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the
  1189. direction. This had the side effect of fixing the direction missing from
  1190. the mob spawn packet, which explains why all npcs face north when you are
  1191. within sight while doing a @reloadscript. [Skotlex]
  1192. * Changed the order of packets in TK_HIGHJUMP, may fix the reports of
  1193. getting stuck when jumping into a warp. [Skotlex]
  1194. * Changed a bit the code of marionette control, where a redefined local
  1195. variable may be the cause of mob-targetted Marionette Control stacking
  1196. stats up. [Skotlex]
  1197. 2006/09/24
  1198. * When the code auto-guesses that a skill should require ammo, it will
  1199. accept any type of ammo for using it instead of only arrows. Fixes Magnum
  1200. Break usage on Gunslingers. [Skotlex]
  1201. 2006/09/22
  1202. * Probably fixed a signed/unsigned mismatch warning on the new socket code.
  1203. [Skotlex]
  1204. * Fixed the "map server claims to have char online, but this other map
  1205. server also has it tagged as online" message triggering in some cases where
  1206. it shouldn't. [Skotlex]
  1207. * Fixed some maps in db/mapindex.txt being under the wrong id and added comments
  1208. so this will not happen again. [Zephiris]
  1209. --- ATTENTION! ---
  1210. People running TXT servers will have to tell their players to redo their /memo
  1211. points since the map ids of the old file were wrong.
  1212. 2006/09/21
  1213. * Fixed a bug on "select" when skipping empty entries when the selected
  1214. entry is the last. [Skotlex]
  1215. * Improved a bit RFIFOFLUSH as suggested by Harbin. [Skotlex]
  1216. 2006/09/20
  1217. * A mob's HP is set temporarily to 0 before invoking it's on-death script,
  1218. prevents said scripts being able to "rekill" the mob indefinitely (if stuff
  1219. like killmonster is used within) [Skotlex]
  1220. * Some small cleanups in chat.c [Skotlex]
  1221. * Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting
  1222. was disabled. [Skotlex]
  1223. * Enabled Star Gladiators and Soul Linkers to do /doridori [Skotlex]
  1224. 2006/09/19
  1225. * Fixed nocommand mapflag causing the "you can't use commands on this map"
  1226. message to trigger one very single chat, instead of only for actual @/#
  1227. command invocation. [Skotlex]
  1228. * Added support for skipping empty string menu entries for the select()
  1229. command (just as `menu` has it already) [Skotlex]
  1230. * Fixed pc_set_hate_mob letting you place mobs on any of the three
  1231. positions regardless of size [Skotlex]
  1232. * The double continuation error will now display both scripts that
  1233. triggered it. [Skotlex]
  1234. * Loading the storage from the char-server will fail if player is already
  1235. tagged in final save state. [Skotlex]
  1236. * Removed setting ban_spoof_namer, sending invalid global-talk packets will
  1237. now just kick the player out of the server. [Skotlex]
  1238. * Added echoing messages back to self when using @/# commands on whispers
  1239. and party/guild messages, to prevent the client from muting yourself.
  1240. [Skotlex]
  1241. * Fixed some gcc4 warnings [Toms]
  1242. 2006/09/18
  1243. * Fixed Spider Web fire damage bonus. [Skotlex]
  1244. * Made Global chat always reply back to you even on @/# commands, this
  1245. prevents the client from muting yourself due to "hack". However, this same
  1246. fix isn't easily applicable to @ commands invoked from whispers or
  1247. party/guild messages, those are still pending. [Skotlex]
  1248. * Merged Meruru's update to socket.c, which includes a rewritten parse
  1249. function, which should hopefully be more efficient than the previous code.
  1250. [Skotlex]
  1251. * The new code includes support for two config settings
  1252. (packet_athena.txt): frame_size, which can be used to alter the logic
  1253. packet-size allowed by the code, and mode_neg, which when set to yes, sets
  1254. TCP_NODELAY on all connections (defaults to yes). [Skotlex]
  1255. * High-Jump is usable everywhere now, except that on maps where it
  1256. previously failed, now will just make you jump in place. [Skotlex]
  1257. * Fixed TK_RUN as per packets provided by AuronX. [Skotlex]
  1258. * Moved the equipment/card resistances to status ailments outside of
  1259. status_get_sc_def, so that they are applied only to rate, not duration.
  1260. [Skotlex]
  1261. * Modified the Asura code (again), hopefully movement sprite issues are
  1262. fixed now [Skotlex]
  1263. * @reloadscript scripts will no longer eliminate mobs with no respawn data.
  1264. But watch out for possible bugs (I think someone mentioned 1 extra
  1265. treasure box will spawn when you use it? This needs testing!) [Skotlex]
  1266. * Made speed_add_rate a linearly stacking increase. [Skotlex]
  1267. * Corrected a possible overflow when using show_mob_info to display the
  1268. mob's up as a percent. [Skotlex]
  1269. * Corrected the documentation for checkoption/checkoption1/checkoption2
  1270. [Skotlex]
  1271. * Reenabled client requesting to self mute, as the whole knockback packet
  1272. issues of the past which were causing players to mute themselves when being
  1273. knockback is no longer there. [Skotlex]
  1274. 2006/09/17
  1275. * Fixed NPC_INVISIBLE's cloak ending after attacking once. [Skotlex]
  1276. * Fixed SG_FUSION being castable without Soul Link state. [Skotlex]
  1277. * Moved the item-use restriction SC checks from clif.c to pc_use_item,
  1278. fixed Gravitation blocking potion usage on it's area of effect. [Skotlex]
  1279. * Sphere Marines and Summoned Flora are now inmune to class-changing.
  1280. [Skotlex]
  1281. 2006/09/16
  1282. * Added monster_ai&256. When set, a monster will pick a random starting
  1283. position to begin checking versus it's skills, otherwise, it will always
  1284. begin checking from the beginning. [Skotlex]
  1285. * Fixed the status change duration reduction equation was was totally
  1286. wrong, thanks to k3dt [Skotlex]
  1287. 2006/09/15
  1288. * Now mobs won't do a distance check to lose their target on every ai
  1289. iteration, but only when they finish walking (unless you set monster_ai&1)
  1290. [Skotlex]
  1291. * The chase distance before a mob gives up following a player has been
  1292. increased from view-size (range2) to min-chase (range3). [Skotlex]
  1293. * Reverted the Summon Flora change where all plants were being summoned in
  1294. one go. [Skotlex]
  1295. * Moved the weapon repair effect to where it belongs (after successfully
  1296. repairing an item) [Skotlex]
  1297. * Added config setting "friend_auto_add" (battle/player.conf), if set, when
  1298. you accept someone as your friend, both characters will show up on each
  1299. other's friend list. [Skotlex]
  1300. 2006/09/14
  1301. * Changed Extremity Fist's code to make you actually walk past your target,
  1302. which displays a much more correct "animation" for the skill. Thanks to
  1303. HiddenDragon for the information and code. [Skotlex]
  1304. * Updated the item_db search functions so that when returning the
  1305. dummy-item, it first updates the nameid to match the requested one, this
  1306. prevents pc_additem later on giving you an item with ID 500 instead of the
  1307. ID requested. [Skotlex]
  1308. * Added a clif_skill_nodamage packet when using Repair Weapon, just to see
  1309. what happens. [Skotlex]
  1310. * Likely fixed "half" of the alliance being saved, which ends up in guilds
  1311. that can attack another, but not viceversa. [Skotlex]
  1312. * Added deleting of saved Status changes on character delete for the
  1313. Char-TXT server. [Skotlex]
  1314. * Fixed the can-act delay never being checked when requesting to use
  1315. Homunculus Skills. [Skotlex]
  1316. * Fixed warmth skills draining SP of the target, not the caster. [Skotlex]
  1317. * When TK_DODGE triggers, it will no longer delay your attack or movement.
  1318. [Skotlex]
  1319. * Estimation /Sense/ whatever will no longer hide the vit bonus to mdef2,
  1320. as reported by Playtester. [Skotlex]
  1321. * Updated Summon Flora to summon the max number of possible plants on one
  1322. cast. It will consume as many bottles as monsters summoned. Also cleaned up
  1323. the function to be usable by non players. [Skotlex]
  1324. * Shadow Jump no longer goes over walls. [Skotlex]
  1325. * battle_calc_gvg_damage will be invoked in gvg maps regardless of woe
  1326. time. [Skotlex]
  1327. * NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis.
  1328. [Skotlex]
  1329. * md->class_ will be changed on mob-class-change to fix all class-change
  1330. related bugs. On respawn, the spawn data will be used to revert to the
  1331. original class. [Skotlex]
  1332. * Improved the pet skillbonus timer for "eternal bonuses" cases where the
  1333. bonus delay is 0. [Skotlex]
  1334. 2006/09/13
  1335. * SC_CHANGE cannot override itself anymore. This fixes being able to
  1336. "recast" the skill while it's still active to lengthen the duration AND
  1337. reheal the target. [Skotlex]
  1338. * Changed a bit the dnsbl lookup in the login servers to make it faster.
  1339. [Skotlex]
  1340. * Moved the pc rate modifiers from items
  1341. (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from
  1342. status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and
  1343. also fixes Osiris card not applying to said bonuses. [Skotlex]
  1344. * Fixed pc_damage_delay_rate not working, thanks to Orn. [Skotlex]
  1345. * Modified the nocommand mapflag so you can specify the GM range that is
  1346. blocked from using commands (eg: "prontera.gat mapflag nocommand 40"
  1347. disables commands to characters in the GM range 0~39) [Skotlex]
  1348. * Modified the char-server TXT whisper system to use the online_db to know
  1349. to which map server forward whispers, instead of just sending the whisper
  1350. to every map server. [Skotlex]
  1351. * Readded the setting TCP_NODELAY on socket.c to see if it fixes the
  1352. walk-lag issue. [Skotlex]
  1353. 2006/09/12
  1354. * Modified the login SQL server so that case insensitive lookups use "where
  1355. name = BINARY 'name'" instead of "where BINARY name = 'name'", since this
  1356. way the name index should be used, and performance will no longer be
  1357. heavily affected. [Skotlex]
  1358. * Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on
  1359. the tables memo/friends, and online/name on the char table. Added
  1360. upgrade_svn8728.sql to add these indexes to already existing tables.
  1361. [Skotlex]
  1362. * Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible
  1363. with Mysql 4 installations. [Skotlex]
  1364. * Moved the morph restrictions from skill_additional_effect to
  1365. mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or
  1366. treasure boxes. [Skotlex]
  1367. * Fixed 'range' might be used uninitialized warning [Toms]
  1368. * Added Jaguar's sql script to convert all tables to MyISAM. It's located
  1369. in sql-files/convert_engine.sql WARNING: Using MyISAM is much faster than
  1370. InnoDB, but you are strongly recommended to backup your database before
  1371. switching engines since we don't know if eA is fully coded to work
  1372. correctly with MyISAM yet. [Skotlex]
  1373. * Added manual deletion of sc_data entries when deleting a character
  1374. (char-SQL) [Skotlex]
  1375. * Updated main.sql to use pure MyISAM tables, removed all foreign keys.
  1376. [Skotlex]
  1377. * Updated battle_switch to use strncmpi instead of strcmpi, it makes it so
  1378. using "yessir" will match "yes", this is actually needed because if you set
  1379. a config setting to "yes " (notice the trailing space), then the map config
  1380. engine fails to read it right, and will set the config setting to 0 (no).
  1381. [Skotlex]
  1382. * Some corrections to hate_mob cleanup when triggering the Angel stuff. [Skotlex]
  1383. * Updated the show_mob_info setting to add another space to the separating
  1384. pipes, so that each field is separated by " | " instead of " |". [Skotlex]
  1385. * Homunculus intimacy will go back to 500 on evolution. [Skotlex]
  1386. * Baphomet splash damage will now hit nearby enemies regardless of flee
  1387. (but the initial attack still has to connect for the splash to trigger)
  1388. [Skotlex]
  1389. 2006/09/11
  1390. * Modified set_nonblocking and setsocketoptions in socket.c, using eApp's
  1391. code as reference. Hopefully should improve performance somewhat. [Skotlex]
  1392. * Added a comment explaining what a comment is to login/char/map config
  1393. files, as well as the main script config file. [Skotlex]
  1394. * Modified SG_FEEL so that it works the same way that in Aegis
  1395. (packet-wise) [Skotlex]
  1396. * Added a comment to explain how to "remove" a string variable from the
  1397. msg_athena entries. [Skotlex]
  1398. * Summoned and slave mobs won't show up on @showmobs anymore. [Skotlex]
  1399. * Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix,
  1400. so that damage will be doubled based on the actual attack element.
  1401. [Skotlex]
  1402. * Adjusted autospell cards to trigger only on physical weapon attacks.
  1403. [Skotlex]
  1404. * Adjusted a bit the heal code, it should now show either the full heal
  1405. amount, or 0, depending on whether the target was healed at all or not
  1406. (this also means it shows 0 if you try to heal a full-life character.. but
  1407. it's the closest I've gotten to make it display 0 on Berserked chars)
  1408. [Skotlex]
  1409. * Memorize will be consumed even on instant cast spells now. [Skotlex]
  1410. * Berserk will end now if hit and remaining hp is less or equal to 100.
  1411. [Skotlex]
  1412. * Guild Aura will be removed on sc-load to prevent Guild Masters from
  1413. getting that bonus from the old implementation. [Skotlex]
  1414. * Added D-Kalck's fix of the TXT -> SQL converter [Playtester]
  1415. 2006/09/10
  1416. * Thanks to KarLaeda, added missing function in @showmobs [Lupus]
  1417. - Script function 'query_sql': In the TXT version it doesn't fill the array
  1418. and always return -1. Added for scripts compatibility. Your scripts
  1419. won't crash in TXT version. They can work it around.
  1420. I suggest we need a function getversion()
  1421. * Updated item_db.sql and mob_db.sql [Playtester]
  1422. 2006/09/09
  1423. * Added a crash protection in case mapfreeblock unlock tries to free a null
  1424. pointer. [Skotlex]
  1425. * Moved perfect_hiding from state to special_state, so that it clears out
  1426. when you remove your pet. [Skotlex]
  1427. * Probably fixed the Taekwon Rest skills. [Skotlex]
  1428. * Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy:
  1429. X entries missing, continuing destruction. Manager for entries of size
  1430. 16.") [Skotlex]
  1431. 2006/09/08
  1432. * Unified the rest and ganster paradise code into a single function.
  1433. [Skotlex]
  1434. * Moved the Happy State trigger to the regen function, it now triggers at
  1435. the same time SPTIME does. [Skotlex]
  1436. * Cleaned up SG_HATE, hope it works now. [Skotlex]
  1437. * Removed sg_miracle_skill_duration, replaced it with
  1438. sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify
  1439. a range for the duration of the skill. [Skotlex]
  1440. * Added upgrade_svn8675.sql in case, for some reason, your guild table
  1441. still has the emblem_data field as a 'blob' with "NOT NULL" specified.
  1442. [Skotlex]
  1443. * Fixed alliance/opposition making not cancelling out map-server-side when
  1444. the guild already had max number of alliances/oppositions (thanks to k3dt)
  1445. [Skotlex]
  1446. 2006/09/07
  1447. * Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg:
  1448. wand of hermod) [Skotlex]
  1449. * Cleaned up the doridori parse clif function. [Skotlex]
  1450. * Merged some of mpeg's work on NJ skills [Skotlex]
  1451. * Removed the Warmth "stacking" code. [Skotlex]
  1452. * Added back the effect of /doridori to skill-SP regen [Skotlex]
  1453. * Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low
  1454. chance of triggering on doridori-boosted SP-regen events. However, it has
  1455. no client-side messages yet (need to add these in) [Skotlex]
  1456. * Added sg_angel_skill_ratio to specify rate at which the Angel skill
  1457. triggers. [Skotlex]
  1458. * Added unit_cancel_combo which takes care of ending a combo time and
  1459. resuming normal attack 'inmediately' [Skotlex]
  1460. * Cleaned up some the SG_HATE code, you can't change hate targets anymore.
  1461. [Skotlex]
  1462. 2006/09/06
  1463. * Fixed the memset in status_calc_pc, corrects some mysterious bugs such as
  1464. item-drop bonuses suddenly not working anymore. [Skotlex]
  1465. * Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
  1466. [Skotlex]
  1467. * Fixed Aex Aeterna ending on Soul Breaker's first half. [Skotlex]
  1468. * Applied Orn's modification on speed increases/reductions with increase/
  1469. decrease agi [Toms]
  1470. 2006/09/05
  1471. * Removed setting mob_show_hp, it's been replaced now by mob_show_info,
  1472. which can be used to specify what kind of info should be displayed from a
  1473. mob. Current options are two different formats for Hp display, and current
  1474. level (monster.conf). [Skotlex]
  1475. * Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%
  1476. [Skotlex]
  1477. * Applied the Ultra Mage's suggestion to have the map server strip trailing
  1478. spaces/comments from the config files. It will also now print out when an
  1479. unknown config setting is found. [Skotlex]
  1480. * Fixed status change resistance not being invoked at all for pretty much
  1481. all cases. [Skotlex]
  1482. * Corrected SC_INTRAVISION not starting. [Skotlex]
  1483. * Fixed crash when attempting to read a Label as a string on a script
  1484. (thanks to End of Exam) [Skotlex]
  1485. * Fixed possible crash when changing a chat-room's owner (thanks to End of
  1486. Exam) [Skotlex]
  1487. * Fixed dispell removing SC_NOCHAT [Skotlex]
  1488. * Small fix which should correct skill_attack damaging hidden characters
  1489. when it shouldn't. [Skotlex]
  1490. * Fixed connect_until field being a smallint rather than int in the login
  1491. table (upgrade with upgrade_svn8630.sql) [Skotlex]
  1492. 2006/09/04
  1493. * Fixed crash when using Adaptation during an Encore. [Skotlex]
  1494. * Should have fixed manner being reset to 0 on logout while muted.
  1495. [Skotlex]
  1496. * Removed status_get_sc_tick, duration and chance are now both handled by
  1497. status_get_sc_def (this means status change duration and success rate
  1498. both will always follow the very same formula) [Skotlex]
  1499. * Fixed mob-kill experience getting screwed up when characters who did
  1500. damage die/logout at the moment the mob dies. [Skotlex]
  1501. * Should have fixed "sleep", thanks to Lance for figuring out the error.
  1502. [Skotlex]
  1503. * SC_REFLECTSHIELD will now be passed to devoted characters at cast-time.
  1504. [Skotlex]
  1505. * Added a check to make a mob's level 1 if the read level from the db is
  1506. less than it. [Skotlex]
  1507. * status_calc_misc will now be invoked in status_calc_bl even on the first
  1508. call, since status could have gone up due to skill bonuses. [Skotlex]
  1509. * Moved max HP/SP calculations to before invoking status_calc_misc
  1510. [Skotlex]
  1511. * Simplified distance and check_distance to use "aegis" methods (greater of
  1512. dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when
  1513. set, the previous method is used, and "for each in range" calls will also
  1514. check for distances, making most ground skills and battle system use real
  1515. circles instead of squares. [Skotlex]
  1516. 2006/09/03
  1517. * Fixed SC_BERSERK's no regen penalty lasting pretty much forever.
  1518. [Skotlex]
  1519. 2006/09/02
  1520. * SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather
  1521. than blocking all types of regen. [Skotlex]
  1522. * LK_BERSERK will now only block natural regen on state-end. [Skotlex]
  1523. * SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural
  1524. sp regen and not skill regen [Skotlex]
  1525. * SC_REGENERATION blocking will be cancelled on logout now. [Skotlex]
  1526. * Corrected SCB_LUK not updating SCB_BATK as well. [Skotlex]
  1527. 2006/09/01
  1528. * Corrected script_commands description of getequipid, it returns -1, not 0
  1529. on fail. [Skotlex]
  1530. * Fixed the mob-id check during pet_db loading, it will also now print when
  1531. a pet is not loaded due to having an invalid mob class specified. [Skotlex]
  1532. * The "delete_timer error/no such timer" report will now print the related function [Toms]
  1533. * The Clearing unused stack report will now print the related NPC [Toms]
  1534. * The duplicate npc report will now print the related file name [Toms]
  1535. * Added config setting "partial_name_scan", which specifies whether @ given
  1536. names should use a partial string lookup or absolute name lookup. Defaults
  1537. to no (gm.conf) [Skotlex]
  1538. * Expanded status_calc_misc so it may also calculate the batk of characters
  1539. as well as their regen data (if they have it) [Skotlex]
  1540. * Fixed a memory leak when using charsave_method:1 [Skotlex]
  1541. * Soul Breaker will now be affected by Lex Aeterna on both parts of the
  1542. attack. [Skotlex]
  1543. * Status changes with no skill and no SCB* data will now go through if they
  1544. have an SI* icon. This should fix SC_MIRACLE [Skotlex]
  1545. * Reverted switching a mob's adelay/amotion when the later is longer than
  1546. the former, now both get updated to amotion. [Skotlex]
  1547. 2006/08/31
  1548. * Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to
  1549. skill_counter_additional_effect [Skotlex]
  1550. * Simplified skillnotok_hom by using an invocation to skillnotok [Skotlex]
  1551. * Hopefully fixed BD_ADAPTATION [Skotlex]
  1552. * Homun won't lose any intimacy on death now. [Skotlex]
  1553. * Homun will be saved together with the master now (as long as the homun is
  1554. active) [Skotlex]
  1555. * Modified the error reporting in map_freeblock_unlock so that when there's
  1556. an error, the reported line number is the file's linenumber plus the
  1557. object's type *10000. This is for debug information to help track down the
  1558. already-freed error. [Skotlex]
  1559. * pc_adopt will now preserve the kid's job/job-level/experience. This means
  1560. that if you adopt a Swordman level 45, it will become a baby-swordman level
  1561. 45, with the exact same exp as before. [Skotlex]
  1562. * Fixed new mob's name not sent to the client when the mob is morphed [Toms]
  1563. * Added setting attack_walk_delay which specifies whether a character
  1564. should (or not) be able to move inmediately after starting a normal attack
  1565. (battle.conf). Defaults to 0 since that's what Aegis uses. [Skotlex]
  1566. * Fixed @summon's delete timer being screwed up. [Skotlex]
  1567. * Cleaned up a bit the summon script command. [Skotlex]
  1568. * Fixed the clone script command's delete-timer being screwed up. [Skotlex]
  1569. 2006/08/30
  1570. * Skill required-state will now only be checked on cast-begin, not
  1571. cast-end. [Skotlex]
  1572. * Added a check in status_calc_pc to prevent player rate adjustments from
  1573. from going below 0. [Skotlex]
  1574. * Removed sending normal-damage packets instead of skill packets for
  1575. splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
  1576. * Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
  1577. vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
  1578. minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]
  1579. * Fixed up char-sql compilation. [Skotlex]
  1580. * Added a message to @clearweather stating when climate changes will
  1581. dispel. [Skotlex]
  1582. * Corrected @hidenpc saying that it's command name was "@npcoff" [Skotlex]
  1583. * Updated itemdb reading on the char-sql server so that it reads both
  1584. item_db and item_db2 files (totally untested yet) [Skotlex]
  1585. 2006/08/29
  1586. * Added printing out whenever the irc-module attempts to connect, to debug
  1587. whether the map-server lag is due to this or not. [Skotlex]
  1588. * Mobs will now always chase players using hard-path seeks. [Skotlex]
  1589. * monster_ai&1 now only signals whether mobs should update their target
  1590. cell while chasing more frequently (rather than being state-driven like
  1591. Aegis) [Skotlex]
  1592. * Changed the defaults of view_range_rate and chase_range_rate to 120 to
  1593. aproximate better Aegis's view ranges (which are square areas and not
  1594. circles) [Skotlex]
  1595. * Applied Mpeg's work on GS [Toms]
  1596. ( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
  1597. * Fixed a syntax error in @showmobs [Toms]
  1598. * Added @showmobs. It shows selected mobs on your mini-map (excluding
  1599. mini-bosses & MVP) thanks to KarLaeda for the command [Lupus]
  1600. 2006/08/28
  1601. * Modified the dancing code and Moonlit Petals in particular, so that it is
  1602. treated as an ensemble like any other, it will just knockback people when
  1603. they step into it. [Skotlex]
  1604. * The memory leak reports will now print out in the logs also the revision
  1605. they belong to. [Skotlex]
  1606. * Cleaned up the scriptable npc-shop code, it should be crash-proof now.
  1607. [Skotlex]
  1608. * Added TK level-up buffs to SG too, and extended them to 10 min [DracoRPG]
  1609. * Added "Barefeet Mastery" effect to TK_RUN (thanks Tharis for both) [DracoRPG]
  1610. * Changed the produce_db format, now there's a skill-lv column right after
  1611. the skill-id column to specify required skill-level to craft this item.
  1612. [Skotlex]
  1613. * Modified the skill produce_db code to take into account the new skill-lv
  1614. requirement. [Skotlex]
  1615. * Fixed exp bonuses applying twice for the job-exp [Skotlex]
  1616. * @reloadbattleconf will now also update the ragsrvinfo table on the
  1617. char-server. [Skotlex]
  1618. * Fixed homun hp/sp growth rates stacking with HP/SP passive increasing
  1619. skills. [Skotlex]
  1620. 2006/08/27
  1621. * Fixed undefined reference to 'malloc_set' in log.c [Toms]
  1622. * Updated svn-revision reading, now it can read the new svn file system [Toms]
  1623. * Fixed a bug with homunc which could spawn on a non-walkable cell [Toms]
  1624. 2006/08/26
  1625. * Optional macro MEMSET_TURBO for faster low-level memory initializations. [Lance]
  1626. * Small bug fix in read_homunculus_expdb (a warning was always displayed) [Toms]
  1627. * Small adjustment on the mob_ai code which could fix mobs not chasing you
  1628. if you hit them from the maximum possible diagonal distance. [Skotlex]
  1629. 2006/08/25
  1630. * Cleaned some the skill unit removal added flag so that it signals whether
  1631. the skill is being force-removed, or it has "naturally expired". [Skotlex]
  1632. * The following skills will display a normal attack animation now:
  1633. NPC_WATERATTACK, NPC_GROUNDATTACK, NPC_FIREATTACK, NPC_WINDATTACK,
  1634. NPC_POISONATTACK, NPC_HOLYATTACK, NPC_DARKNESSATTACK,
  1635. NPC_TELEKINESISATTACK, NPC_SPLASHATTACK
  1636. * Skills that require a weapon and consume spirit spheres will no longer be
  1637. auto-tagged to require ammo. [Skotlex]
  1638. * Now MISC skills with delay 0 will also use the attack delay (if the skill
  1639. is tagged to do damage) [Skotlex]
  1640. * Added script commands roclass/eaclass to enable scripts to access eA's
  1641. job format. Read script_commands.txt and ea_job_system.txt for a more
  1642. complete explanation of how this job system works. [Skotlex]
  1643. * Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.
  1644. If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in
  1645. UNT_WARP_WAITING and will destroy it. [Toms]
  1646. ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102
  1647. when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE )
  1648. 2006/08/24
  1649. * Little cleanup on homunc's code [Toms]
  1650. * Modified @reloadmobdb & @reloadskilldb to reload homunc's db too [Toms]
  1651. * Now when a mob's adelay is set to be less than the amotion, both values
  1652. will be swapped (this is an attempt to understand how those mobs actually
  1653. work on aegis) [Skotlex]
  1654. * script command "isrefine" will no longer return always false for equip
  1655. positions above 6 (this has not been needed since the addition of the
  1656. refine column to tbe item_db many months ago) [Skotlex]
  1657. * Added NPC_CRITICALSLASH to the list of skills that display as a normal
  1658. attack. [Skotlex]
  1659. * Reverted the previous change, changed the pet capture code to try to
  1660. capture a mob based on their view class rather than actual class.
  1661. [Skotlex]
  1662. * Fixed the md->class_ variable not being updated when a mob's class is
  1663. changed. [Skotlex]
  1664. * Added setting clear_skills_on_warp to specify when a character's
  1665. land-based skills are deleted when the caster changes maps. Defaults to all
  1666. types. [Skotlex]
  1667. * Should have fixed Brandish Spear not passing the flag to skill_attack,
  1668. causing it to do miserable damage. [Skotlex]
  1669. * Warp Portal will no longer be removed when caster steps through it (this
  1670. is left to the new clear_skills_on_warp setting) [Skotlex]
  1671. * Cleaned up status_percent_change to switch equations when the target has
  1672. high hp to prevent overflows, also it will directly take hp/maxhp when a
  1673. rate of 100 or higher is passed to prevent calculations. [Skotlex]
  1674. * Traps and Land Elemental fields are no longer automatically removed on
  1675. map change (handled now by clear_skills_on_warp) [Skotlex]
  1676. * traps_setting &2 no longer does anything (handled now by blah blah)
  1677. [Skotlex]
  1678. * Applied some change from mpeg on Ninja Skills [Toms]
  1679. * Put HVAN_Explosion based on max_hp instead of current hp [Toms]
  1680. 2006/08/23
  1681. * Fixed mob_clone_spawn completely ignoring the mode variable. [Skotlex]
  1682. * Fixed Energy Coat reducing and consuming more than it should when you
  1683. have 100% SP [Skotlex]
  1684. * Cleaned up getmapxy script function, also added support for type 4 so
  1685. that it returns a player's homunculus position if such exists. [Skotlex]
  1686. * SC_ARMOR_ELEMENT looks like gone away from status_change_start since ... rev 6791.
  1687. Try to reimplement it. [Toms]
  1688. * Fixed HVAN_EXPLOSION [Skotlex]
  1689. * Frost Nova won't display a nodamage skill packet (still need to sort out
  1690. a way to fix the splash damaged packets) [Skotlex]
  1691. * Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknown [Toms]
  1692. * Added debug on "Inifity loop" to know which script is making this loop [Toms]
  1693. 2006/08/22
  1694. * More fixes to the splash code. Kamaitachi and Sharpshooting should
  1695. display correctly now. [Skotlex]
  1696. * Fixed a crash on the mobspawn script command. [Skotlex]
  1697. * Made SC_FLEET increase batk as well as watk. [Skotlex]
  1698. * Fixed gcc warning [Toms]
  1699. * Fixed AM_REST not closing the homunc status window [Toms]
  1700. * Fixed SC_NEN according to Mpeg [Toms]
  1701. * Added a ShowStatus("Terminating...\n") on login-server_sql [Toms]
  1702. * Some corrections to make Tatami Gaeshi work correctly. [Skotlex]
  1703. * Fixed SBR44 doing 100% more damage than it should. [Skotlex]
  1704. * Some more work on the splash skill code. Now splash-damaged enemies
  1705. should show no animation at all, just the damage-number, while only the
  1706. targetted character should still display the full skill animation.
  1707. [Skotlex]
  1708. * Modified the homun-txt file-save format to separate the name from the
  1709. rest of fields with tabs (like character saving does), this may fix homun
  1710. save/loading when using non-latin characters on the name, but be warned
  1711. that it also means the previous homun-data files are lost! (unless you
  1712. replace the comma before the start of a name with a tab) [Skotlex]
  1713. * getnameditem will now also work on stackable items [Skotlex]
  1714. * Corrected battle_calc_weapon_attack so that all skills ignore your
  1715. left-hand weapon, and that the Katar's double-attack damage bonus for the
  1716. offhand damage applies ONLY on normal attacks. [Skotlex]
  1717. * Fixed Resurrect Homunculus's % to 20*lv% [Skotlex]
  1718. * Added SQL update which should remove \' from guild names [Toms]
  1719. * Added option to disable character deletion of certain levels [Lupus]
  1720. check char_athena.conf for this option format
  1721. 2006/08/21
  1722. * Some more cleaning up of the splash skill code. Now the passed hit value
  1723. for the splash targetted mobs is 9 instead of 5, this allows multi-hitting
  1724. splash skills to display the number of hits correctly. [Skotlex]
  1725. * Fixed call homunc bug when the homunc was vapo and the master has change
  1726. of map [Toms]
  1727. * Fixed SQL-Guild Creation, guild name was escaped 2 times [Toms]
  1728. * Some cleaning of the splash skills. Updated skill-attack to enable again
  1729. passing of flag 0xF000 which signals that the skill level sent to the
  1730. client should be -1 (no skill name shouted). Should (hopefully) clear/clean
  1731. up a bunch of splash damage skill animation-related packets. [Skotlex]
  1732. * Homun saving won't cap hp/sp to max hp/sp since a homun can have higher
  1733. hp/sp than the one stated in the db (due to skill bonuses or status
  1734. changes) [Skotlex]
  1735. * Cleaned up some more the regen_data structure, so that
  1736. skill/sitting-skill related data is optional (since only players have it).
  1737. [Skotlex]
  1738. * Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values [Toms]
  1739. * Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID [Toms]
  1740. * Adjusted Glittering's success rate to 20+10*lv% [Skotlex]
  1741. * Corrected isequipped() so that cards will not be tagged as "used up"
  1742. unless all the specified items were found. [Skotlex]
  1743. * Fixed a confusion in skill_attack using the src instead of dsrc for some
  1744. calls, which was causing some problems with the KAITE check from AoE
  1745. spells. [Skotlex]
  1746. * Fixed ASC_BREAKER's misc damage part not having the ignore-element flag
  1747. set. [Skotlex]
  1748. * Moved homunc battle conf from misc.conf to homunc.conf [Toms]
  1749. * Some cleaning in skill.c in regard to homun skills. [Skotlex]
  1750. * Madness Canceller now stacks with other aspd bonuses, just like Berserk
  1751. does. [Skotlex]
  1752. * Removed config setting "muting_players", and expanded the manner_system
  1753. config to specify how having negative manner (mute) affects a player (see
  1754. battle/misc.conf). [Skotlex]
  1755. * Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode,
  1756. if 2 is used, it makes killing players give you a loss of 5 manner points.
  1757. [Skotlex]
  1758. * Fixed WS_WEAPONREFINE always failing when at less than job 50. [Skotlex]
  1759. * Fixed the Autosave routine not working when there's only one player
  1760. online. [Skotlex]
  1761. * Disabled command @rain since the client no longer supports it anyway.
  1762. [Skotlex]
  1763. * Fixed delitem not checking for the first slot's card, also optimized it
  1764. so that it doesn't checks on the other slots. [Skotlex]
  1765. 2006/08/20
  1766. * Added a check during mob_db loading so that the six basic stats, max hp
  1767. and max sp are never below 1, as this could cause crashes when using
  1768. certain skills. [Skotlex]
  1769. * Gravitation now only blocks the caster from using potions. [Skotlex]
  1770. * Corrected Madness Canceller letting you walk while the effect lasts.
  1771. [Skotlex]
  1772. * Splitted yet again ASC_BREAKER into a two-part attack. This time the
  1773. int-based damage is a MISC type attack, and gets reduced by skills as such.
  1774. [Skotlex]
  1775. * Fixed "int format, long unsigned int arg" warning [Toms]
  1776. * Fixed a warning when using cap_value(x, 0, x) on an unsigned value [Toms]
  1777. * Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos [Toms]
  1778. * Fixed homunc skill 8016 not considered as homunc skill [Toms]
  1779. * @useskill will now cause your homun to use the skill instead of you if
  1780. the skill is a Homun skill and you have an active homunculus. [Skotlex]
  1781. * Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me
  1782. that Vicious told him the chance was much lower like that) [Skotlex]
  1783. * Fixed some Homunc issues with HR servers (capping some values) [Toms]
  1784. * Added @hominfo command to obtain real values (not capped ones) [Toms]
  1785. 2006/08/19
  1786. * Fixed @homlvup bug [Toms]
  1787. * Fixed AM_REST & AM_RESU consumming SP if they fail [Toms]
  1788. * Fixed homunc spawning bug (they was spawned after an AM_REST + master warp for example)[Toms]
  1789. * Fixed GS_GROUNDDRIFT [Skotlex]
  1790. * Increased chance of GS_DESPERADO connecting to 20% [Skotlex]
  1791. * Fixed battle_calc_base_damage being called for the left hand even for
  1792. non-dual-wielding attacks. left-hand damage was being set to 0 later
  1793. anyway, so no exploit existed. [Skotlex]
  1794. * Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll
  1795. apply correctly when dual-wielding different types of weapons. [Skotlex]
  1796. * Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the
  1797. items (0x80000 should be for them and 0x100000 should be currently unused)
  1798. [Skotlex]
  1799. * Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
  1800. * Fixed HAMI_CASTLE [Toms]
  1801. * Fixed HLIF_CHANGE [Toms]
  1802. * Updated HLIF_BRAIN skill [Toms]
  1803. * Fixed homunculus intimacy on feeding [Toms]
  1804. * Added homunculus_friendly_rate battle config [Toms]
  1805. * Some compilation warnings fixed [Toms]
  1806. * Added skill's required item check on homunc skills [Toms]
  1807. * Add Condensed Red Potion as a required item for HLIF_HEAL [Toms]
  1808. 2006/08/18
  1809. * Little code cleanup on last fix [Toms]
  1810. * Fixed HLIF_HEAL healing the homunc instead of the master [Toms]
  1811. * Fixed HLIF_AVOID not increasing walk speed of master [Toms]
  1812. * Fixed the atk_rate (Turtle General Card) bonus not working on
  1813. dual-wielders. [Skotlex]
  1814. * Made HLIF_HEAL a self skill that auto-selects target to caster's master.
  1815. [Skotlex]
  1816. * Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE [Skotlex]
  1817. * Applied a correction to HVAN_EXPLOSION [Skotlex]
  1818. * Fixed Homun ASPD calculation being able to underflow and give you min
  1819. speed. [Skotlex]
  1820. * Added monster_ai&128 to make aggressive mobs ignore that behaviour of
  1821. always picking Homun targets above player targets regardless of who is
  1822. closer. [Skotlex]
  1823. * Fixed homun info packet being unable to display HP/SP correctly once the
  1824. values are above 32k. [Skotlex]
  1825. * Applied Mpeg's work on ninja [Toms]
  1826. * Fixed @homlvup [Toms]
  1827. * Added guild_aura (skill.conf) setting so you can specify when it works
  1828. and if it works on the guild-master itself. Defaults to working all the
  1829. time on everyone except GM. [Skotlex]
  1830. * Little code cleanup [Toms]
  1831. * Cleaned merc_hom_evolution to avoid free'ing/realloc'ing [Toms]
  1832. * Fixed "args of aFree is freed pointer" on Homunc deletion [Toms]
  1833. * Changed unit_free so that it receives which cleartype should be used when
  1834. the character is still on a map. Used this on status_damage so that mobs
  1835. that do not respawn when killed will properly display the death animation.
  1836. [Skotlex]
  1837. * Fixed Energy Coat consuming 10x less SP per hit than it should.
  1838. * Fixed signed/unsigned comparison issues with natural heal system [Toms]
  1839. 2006/08/17
  1840. * Vaporize will no fail when the homun is dead. [Skotlex]
  1841. * Corrected thhe double free issue that occurs when a homun dies and has no
  1842. intimacy left. [Skotlex]
  1843. * Fixed the charsave_method:1 saving/loading exp as signed ints rather than
  1844. unsigned. [Skotlex]
  1845. * Applied use of structure regen_data for a unified regen module. Natural
  1846. and skill-heal is handled by this structure, while sitting-skill-heal is
  1847. still player dependant (mostly because the other object types can't sit)
  1848. [Skotlex]
  1849. * Cleaned up the status calc code for homun by moving it from
  1850. status_calc_bl_sub_homun to status_calc_homun (where it should had always
  1851. been) [Skotlex]
  1852. * Updated SQL files [Playtester]
  1853. * Corrected map_random_dir algorithm [Toms]
  1854. * Fixed homunc natural heal and little code cleanup [Toms]
  1855. * Changed AM_CALLHOMUN Skill to spawn the homunc at 1 cell from his master [Toms]
  1856. 2006/08/16
  1857. * Fixed being unable to recast Adrenaline Rush to reset the duration
  1858. timers. [Skotlex]
  1859. * Cleaned up skill_get_range2 so that using range 0 for non-self skills
  1860. uses the caster's attack range. [Skotlex]
  1861. * Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized
  1862. homun. [Skotlex]
  1863. * Spirit of Wizard will now consume an item 7321 each time it blocks
  1864. reflected magic. [Skotlex]
  1865. * Added script command jobname, retrieves a given's class name as per the
  1866. appropiate msg_athena.txt entry (this command should had been added years
  1867. ago) [Skotlex]
  1868. * Fixed null-pointer crash on Evolving a homunculus. [Skotlex]
  1869. * @produce now can make any kind of equipment [Skotlex]
  1870. * Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster
  1871. and target. [Skotlex]
  1872. * AM_REST shouldn't be checking for a range now (since it's a self skill)
  1873. [Skotlex]
  1874. * Updated mob_ai so that mobs will use their rude-attacked skill when they
  1875. can't reach their current target. [Skotlex]
  1876. * Fixed the default txt config making pets be saved to the homun file
  1877. instead of to the pet file. [Skotlex]
  1878. * Now arrow-consuming skills where your main weapon is a whip or musical
  1879. instrument WILL count as arrow-type attacks, using the atk of the arrow and
  1880. all related bonuses. [Skotlex]
  1881. * Fixed some homun timer initialization code. [Skotlex]
  1882. 2006/08/15
  1883. * Applied multiple fixes which should take care of making homun save/load
  1884. work on TXT now. [Skotlex]
  1885. * Added Gatling Fever's batk bonus. [Skotlex]
  1886. * Some cleaning in status_damage which should prevent trying to free
  1887. already free'd pointers when unit_remove_map invokes unit_free (when
  1888. status_damage was going to invoke unit_free anyway) [Skotlex]
  1889. * Delete homunc's skills from sql when the homunc is destroyed [Toms]
  1890. * Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu [Toms]
  1891. * Updated vc-project files to compile with the new int_homun files.
  1892. [Skotlex]
  1893. * Hopefully fixed the crash when using charsave_method = 1 [Skotlex]
  1894. * Moved s_pet structure from map_session_data to pet_data, this enabled the
  1895. removal of a few redundant values in the pet_data structure (name, class,
  1896. equip) [Skotlex]
  1897. * Cleaned up some of the pet related @/# commands, same for some script
  1898. commands. [Skotlex]
  1899. * Pet offensive skills who's inf value is self will be casted on the pet
  1900. now (for stuff like Grand Cross) [Skotlex]
  1901. * Added homun saving/loading support to char-TXT. Note that this is
  1902. completely untested, so it may be as good as broken. [Skotlex]
  1903. * Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun
  1904. has no master (need to clean up this function later) [Skotlex]
  1905. * Tested char-txt load/save, it seems to be working fine, but you should
  1906. STILL backup, as I only launched the server (read old character format),
  1907. closed it down (saved into the new format) and relaunch it (read the new
  1908. format) and it didn't give problems (but there's still the possibility of
  1909. some field being read in the incorrect offset or such). [Skotlex]
  1910. * Updated the char save structure for char-TXT servers so that the homun id
  1911. will be saved, now also the map info (last point, save point, memo maps)
  1912. are now saved using the mapindex rather than the string. BACKUP BEFORE
  1913. UPDATING since this code isn't yet tested. [Skotlex]
  1914. * Cleaned up a bit the char-saving code, added overflow crash prevention in
  1915. case there are more memos than the max-allowed saved. [Skotlex]
  1916. * AM_CALLHOMUN can now be used to recall vaporized homuns. [Skotlex]
  1917. * AM_RESURRECTHOMUN will now fail when the homun is vaporized. [Skotlex]
  1918. * Added SCB_DYE which marks which status-changes need a forced cloth dye
  1919. change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status
  1920. uses it. [Skotlex]
  1921. * Asura Strike now moves you to the target on fail always (unless the
  1922. target does not exists or is in another map or there's a obstacle on the
  1923. way) [Skotlex]
  1924. * Corrected skill_attack_area hitting dead characters on it's splash range.
  1925. [Skotlex]
  1926. * Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable
  1927. SG to show the fly animation again, even if sometimes others will see him
  1928. as Santa. As for xmas cloth, it shouldn't make much of a difference since
  1929. the view class is changed to christmas anyway. [Skotlex]
  1930. * Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where
  1931. they automatically pick a spot around you. [Skotlex]
  1932. * Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now.
  1933. [Skotlex]
  1934. * Cleaned up some the hom evolution code. [Skotlex]
  1935. * Fixed SIGSEGV with homunc save [Toms]
  1936. 2006/08/14
  1937. * Removed support for negative autosave intervals, instead added a
  1938. minsave_interval setting which specifies which is the minimum time between
  1939. character saves. Default to 100ms (map_athena.conf). [Skotlex]
  1940. * Sacrifice no longer shows damage to self. [Skotlex]
  1941. * When Asura fails, the skill display will still come off. [Skotlex]
  1942. * Lots of cleaning of the Homun-code. Perhaps the crashes as of late will
  1943. be fixed now (reusing AM_CALLHOMUN seems to be the cause of them)
  1944. [Skotlex]
  1945. * Increased Run's walk speed bonus to 25->50% [Skotlex]
  1946. * Modified emergency_call setting to allow for more specific configuration
  1947. (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see
  1948. skill.conf for details. [Skotlex]
  1949. * Fixed script engine allowing scripts to set a player's zeny to negative
  1950. values. [Skotlex]
  1951. * Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
  1952. [Skotlex]
  1953. * When readjusting the fame-list, the last entry's id is also reset (may
  1954. fix characters appearing more than once on it?) [Skotlex]
  1955. 2006/08/13
  1956. * Removed @itemcheck as it was totally pointless. [Skotlex]
  1957. * Corrected states killer/killable being easily dispellable. [Skotlex]
  1958. * Fixed the totally wrong text messages being used for @killer/@killable
  1959. related atcommands, added appropiate entries to msg_athena [Skotlex]
  1960. * Magic and Misc attacks will now get type "flee" when they do less than 1
  1961. damage, this blocks them from causing additional status effects when they
  1962. are blocked. [Skotlex]
  1963. * Cleaned up a bit the Basilica code, it should now properly end when you
  1964. walk. [Skotlex]
  1965. * Fixed some logs not working when you enabled all logs. [Skotlex]
  1966. * Corrected unmute being a level 60 command by default (should be 80)
  1967. [Skotlex]
  1968. * Corrected the mapif_parse_PartyChangeMap function to correctly update
  1969. level-range when someone logs on/off, fixes being unable to set even-share
  1970. on once it's been broken even when the characters out of range logoff.
  1971. [Skotlex]
  1972. 2006/08/11
  1973. * Fixed Kagebunshin no Jutsu crashing for dyes > 0; though this solution
  1974. might seem hackish (changing clothes colour to 0 when it starts while
  1975. storing original colour back in val4, restoring original dye upon
  1976. end), I believe this is the best way there currently is to solve
  1977. the issue. [blackhole89]
  1978. * Fixed Dancers/Bards being able to use normal attacks while performing.
  1979. [Skotlex]
  1980. 2006/08/10
  1981. * Fixed the item group bonus not working. [Skotlex]
  1982. * Fixed songs/dances always being considered overlapped with themselves.
  1983. [Skotlex]
  1984. * Added some additional song/dance overlap code that should correctly
  1985. change the effect of songs/dances when they overlap. [Skotlex]
  1986. * Added a check so that the status-change packet is always send to self
  1987. when the inflicted char is a player disguised. [Skotlex]
  1988. * Code cleanup on homunc, they stay in memory until player disconnect or
  1989. homunc destruction [Toms]
  1990. * Corrected Advanced Jobs HP bonus from 30% -> 25% [Skotlex]
  1991. * Hopefully fixed family-party-even-share not breaking when a member logs
  1992. out. [Skotlex]
  1993. * Should have fixed the login-sql crash when passed user-name's length is
  1994. beyond the limit. [Skotlex]
  1995. * Changed setting attack_attr_none to affect all neutral-element attacks.
  1996. Basicly, this setting is now used to determine who can hit for full damage
  1997. always when using neutral-attacks (defaults to non-players) [Skotlex]
  1998. * Fixed two instances in the login-sql server where the ip in the log-login
  1999. table was being stored backwards. [Skotlex]
  2000. * Now when a skill's range is 0 and the skill is NOT casted on self, it
  2001. will take the basic weapon's range (without Vulture/Snake Eye bonus).
  2002. [Skotlex]
  2003. * Now when a duration is not specified, sc_start/sc_start2/sc_start4 will
  2004. try to guess the duration by extracting it from the skill_db (it uses
  2005. skill_get_time on whatever skill is associated to the status-change using
  2006. val1 as skill-level) [Skotlex]
  2007. * Some cleanups on trade_tradeaccept to prevent packets being resent when
  2008. they shouldn't. [Skotlex]
  2009. * Fixed syntax error in 'guild' create table statement [Toms]
  2010. 2006/08/09
  2011. * Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
  2012. * Fixed homunc skill up bug [Toms]
  2013. * Adjusted some the dance/song/encore code so that the source of an
  2014. ensemble will always get checked, so that walking out of an ensemble skill
  2015. should make it end now. However, it's likely this is not completely solved
  2016. yet and will require further tweaking. [Skotlex]
  2017. * Added crash protection to the mob_db txt reading when the mob_db file has
  2018. lines with insufficient number of columns. [Skotlex]
  2019. * Moved the class-change code from battle_calc_weapon_attack to
  2020. skill_additional_effect. Alchemist summons now also have a chance of
  2021. triggering polymorphing. [Skotlex]
  2022. * Removed the code which was auto-setting attacks that do no damage to type
  2023. FLEE, since that was disabling status-effects which should incur even when
  2024. the damage was blocked. [Skotlex]
  2025. * Trade requests will now fail when either character is unable to act
  2026. (character in storage, vending, interacting with an npc, petrified, etc)
  2027. [Skotlex]
  2028. * Heard skotlex voice, changed all msg_table[] into msg_txt() in atcommand.c [Toms]
  2029. 2006/08/08
  2030. * Fixed the char-server not invoking the party_calc_state function when the
  2031. third party-member is added to a party, hence failing to check for families
  2032. and disabling even share from them unless all three relog first (state is
  2033. correctly calculated when party is first loaded). [Skotlex]
  2034. * Crash-protections in the mail-checking function. [Skotlex]
  2035. * Some additional parenthesis on equipment check in pc_equipitem, seems to
  2036. have fixed the mid/lower headgear-sprites not showing up. [Skotlex]
  2037. * Added back missing state set to prevent Ankle-Snare from being retrieved
  2038. after the target dies. [Skotlex]
  2039. * Fixed compilation warning [Toms]
  2040. * Added a check to handle Spider Web as a targetted skill. If there's more
  2041. than one character on the targetted cell, a different one may get trapped,
  2042. but it will mostly do as it is now. [Skotlex]
  2043. * Added check to Asura so that it will move you to the target when it fails
  2044. ONLY when you can cast the skill on the target (not stunned, asleep, target
  2045. not hidden, etc) [Skotlex]
  2046. * Changed the map_freeblock_unlock code so that when there's an "already
  2047. free'd pointer" error, the memory manager will print out the invoking
  2048. function rather than map_freeblock_unlock, this should help fix it up next
  2049. time it happens and is reported. [Skotlex]
  2050. * Casting Kaensin will clear out Suiton and viceversa now. [Skotlex]
  2051. * Fixed drop-rates (@whodrops) getting duplicates when you use @reloadmobdb
  2052. [Skotlex]
  2053. * Fixed unjailing not sending characters to Prontera. [Skotlex]
  2054. * Fixed yet again AS_SPLASHER doing full damage on all characters. Now you
  2055. can use the NK split damage value in the skill_db if you want damage
  2056. divided by the amount of targets rather than by 2. [Skotlex]
  2057. * Fixed crash on the battle_drain functions. [Skotlex]
  2058. * Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by
  2059. other types of objects other than Homunculus. [Skotlex]
  2060. * Cleaned up the Asura Strike code so that the SP/Spheres/States is not
  2061. consumed when the skill fails due to Fog of Wall. [Skotlex]
  2062. * When a negative delay for a skill is specified, this delay is now added
  2063. on top of the character's amotion rather than adelay [Skotlex]
  2064. * Modified main.sql to make the guild table allow NULL on the emblem data.
  2065. [Skotlex]
  2066. * Added file conf-tmpl/Changelog.txt to log config changes. [Skotlex]
  2067. 2006/08/07
  2068. * Fixed the login-sql server replying to the change-sex packet with the
  2069. wrong gender, causing the char-server to screw-up job-change updates.
  2070. [Skotlex]
  2071. * Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD work as
  2072. described on the docs now, this should also fix adopting not correctly
  2073. giving the family-related skills. The flag value of skill should be: 0 to
  2074. set the skill (if skill level is 0, this removes a learned skill), 1 grants
  2075. the skill as an item bonus which is temporary, and 2 will add a skill bonus
  2076. like 1, except the skill level adds up to whatever level already known of
  2077. that skill. [Skotlex]
  2078. * Fixed EQP_WEAPON related code messing up with both weapon AND shield.
  2079. [Skotlex]
  2080. * Cleaned up the Asura code so that when the skill fails your
  2081. SP/Spheres/Fury are all taken away always, as well as moving you next to
  2082. the target (as long as the target still exists within a reachable path from
  2083. your position) [Skotlex]
  2084. * SC_GUILDAURA is now removed on logout. [Skotlex]
  2085. * Fixed Venom Splasher doing half-damage instead of full-damage to the
  2086. "exploding" character. [Skotlex]
  2087. * Hopefully fixed the party_even_share cast-overflow bug as reported by
  2088. Adobe. [Skotlex]
  2089. * Standarized the autosave interval setting to be always in seconds
  2090. regardless of type. [Skotlex]
  2091. * Moved the "bosses can't be knockback" logic from battle_calc_* functions
  2092. and placed it on skill_blown. [Skotlex]
  2093. * Some parenthesis cleanup before invoking battle_calc_base_damage, could
  2094. be fixing the current issue with arrow attacks not adding the arrow damage.
  2095. [Skotlex]
  2096. * Fixed the map_search_freecell error which was making mobs fail to
  2097. respawn. [Skotlex]
  2098. * Added in Lupus's suggestion of not making multi-slot headgears set all
  2099. slot view-ids, which supposedly causes the client to re-draw the headgear
  2100. multiple times on characters. [Skotlex]
  2101. * Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
  2102. [Skotlex]
  2103. * Simplified the Tatami Gaeshi code. [Skotlex]
  2104. * Fixed AS_SPLASHER doing full damage on everyone except targetted char
  2105. instead of the other way around. [Skotlex]
  2106. * Fixed KAENSIN clearing out SUITON cells and viceversa. [Skotlex]
  2107. * The spawn area is now seen as range rather than absolute for mob spawn
  2108. lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around
  2109. the given x,y point. [Skotlex]
  2110. * Some clean up of the mob-spawn code. Now you can specify negative areas,
  2111. so that a spawn location such as 100,150,0,-1 will spawn a mob always on
  2112. x=100, but any Y value of the current map. [Skotlex]
  2113. * Reflected damage will now also have a chance of draining hp/sp. [Skotlex]
  2114. * Adjusted the order in which option/sc change packets are sent to match
  2115. Aegis's [Skotlex]
  2116. * Added script command getpartyleader through which you can retrieve
  2117. various information of a party's leader. See doc/script_commands.txt for
  2118. further information. [Skotlex]
  2119. * mpeg's Ninja work [Vicious]
  2120. * Adjusted Battle_check_target so that alchemist summoned mobs are
  2121. targetted by everyone as long as 1. The top-level master is a player and 2.
  2122. the actual attacker is not a mob-type. [Skotlex]
  2123. * Added config force_random_spawn which overrides the spawn-files defined
  2124. coordinates to make all mobs always spawn randomly on the map. [Skotlex]
  2125. * SC_SPEEDUP0 is no longer dispellable by SA_DISPEL [Skotlex]
  2126. 2006/08/06
  2127. * Updated item_db.sql & mob_db.sql to latest. [Toms]
  2128. * Little fixes on homunc (hp/sp are now saved and init stats changed) [Toms]
  2129. 2006/08/04
  2130. * Added a commented piece of code at the end of clif_parse_LoadEndAck which
  2131. will update your direction to wherever you were facing before warping.
  2132. Should this be the default? Nearby people DO see you facing on the same
  2133. direction before warping, it's only your client that will always see you
  2134. facing north on spawn (the spawn packet does contain direction
  2135. information). [Skotlex]
  2136. * Updated @mobinfo to display slots in the drop information. [Skotlex]
  2137. * Fixed flag.elefix not being respected in battle_calc_misc_damage.
  2138. [Skotlex]
  2139. * Some code cleanups in battle_calc_damage. [Skotlex]
  2140. * Modified bAddItemHealRate so it can receive both item-id and item-group
  2141. values (since the first item-id is +500, there's no risk of mixing them
  2142. up). [Skotlex]
  2143. * Removed settings enemy_critical_rate, homun_critical_rate. Added settings
  2144. enable_critical (defaults to specify only players), mob_critical_rate and
  2145. critical_rate. The last applies to all non-mobs and non-players
  2146. (battle/battle.conf) [Skotlex]
  2147. * Removed settings mob_npc_warp, mob_warpportal. Replaced with setting
  2148. mob_warp which specifies which types of warp can a mob step into
  2149. (battle/monster.conf) [Skotlex]
  2150. * Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out
  2151. of the mastery function so that it may apply to all skills except Soul
  2152. Breaker. [Skotlex]
  2153. * Changed name of the setting log_pick to log_filter since that's what it
  2154. does now. [Skotlex]
  2155. * Modified enable_logs so that instead of a 0/1 setting, you can specify
  2156. which kind of events to log (so you can use a combination), see log_athena
  2157. for the bitmask configuration. [Skotlex]
  2158. * Cleaned a bit the contents of log_athena.conf
  2159. * Hide/Chasewalk will again stop screaming skill name. [Skotlex]
  2160. * Soul Breaker will no longer receive Mastery damage. [Skotlex]
  2161. * Fixed warning:'type' might be used uninitialized in this function [Toms]
  2162. 2006/08/03
  2163. * Added a check to skip the experience share of characters who are dead or
  2164. on another map. [Skotlex]
  2165. * Reverted the previous change, chasewalk has no icon, only the str-bonus
  2166. has that fist icon now. [Skotlex]
  2167. * Allowed chase-walk to display a skill animation when using it. [Skotlex]
  2168. * Readjusted the Chasewalk icon to be as it should be. [Skotlex]
  2169. * GS_DESPERADO is now a short-range attack skill. [Skotlex]
  2170. * Changed the Battle-Orders icon to be the Strength Up icon (for
  2171. Chasewalk's str bonus). [Skotlex]
  2172. * Fixed using the right-hand weapon's size modifiers regardless of which
  2173. weapon's damage was being calculated in regards to. [Skotlex]
  2174. * Simplified the ignore-size check by making the Weapon Perfection check be
  2175. done when specifying the flag, also moved the size-fix property of riding
  2176. spear-knights to status_calc_pc. [Skotlex]
  2177. * Changed SI_CHASEWALK value to 119 as concluded by LoneWolf [Skotlex]
  2178. * Corrected clif.c sending the raw mdef2 value to the client instead of
  2179. first substracting the "secret vit/2" bonus from it. [Skotlex]
  2180. * Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent
  2181. overflows. It is not capped to INT_MAX because damage increasing skills
  2182. would cause it to still overflow afterwards. [Skotlex]
  2183. * Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the
  2184. code. [Skotlex]
  2185. * Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks
  2186. should happen before a mob uses the rude-attacked skill. Value has been set
  2187. to 2 for now. [Skotlex]
  2188. * Now when a mob changes target (to someone they can hit) their
  2189. rude-attacked count won't be reset, but instead will be reduced by one.
  2190. [Skotlex]
  2191. * SC_SPEEDUP0 can now stack with the other speed raising buffs. [Skotlex]
  2192. * Some adjustments so that the last-skill-used will be correctly cleared
  2193. when your combo-time ends. [Skotlex]
  2194. * Fix a bug in atcommand_charspeed [Toms]
  2195. * Fixed a logic error preventing from cooking anything [DracoRPG]
  2196. * Cleaned up the last NJ update code. [Skotlex]
  2197. * Added @ command `charspeed` [Skotlex]
  2198. * Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL [Skotlex]
  2199. * Removed case for GS_SPREADATTACK on damage packets to see if the skill
  2200. displays correctly now. [Skotlex]
  2201. * Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are
  2202. removed, NOT the ones who were already placed. [Skotlex]
  2203. * Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix
  2204. icon-confusion when both are enabled at a time. [Skotlex]
  2205. * Mob rude-attacked count is not reset now on picking a new char (gotta
  2206. investigate this further) [Skotlex]
  2207. * Changed atoi to strtoul for guild-experience's field [Toms]
  2208. * Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
  2209. 2006/08/02
  2210. * Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
  2211. Silence now ONLY blocks skills from being used, it will not stop on-going
  2212. casts. [Skotlex]
  2213. * Updated status_cast_cancel to also include silence (so the cast bar is
  2214. cancelled if you are silenced during it) [Skotlex]
  2215. * Updated the way SC_SILENCE works. From what I remember (from previous
  2216. forum discussions) it: 1- Always blocks skills from being used. 2- Will
  2217. only block a skill when the cast-bar ends IF the skill is targetted. If
  2218. anyone wants to debate to get this changed, make an appropiate forum topic
  2219. in the svn development area to discuss. [Skotlex]
  2220. * Added a check in the walking code when triggering skills.
  2221. NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend
  2222. the walk packet, this effectively causes the mob to start walking
  2223. (clientside) while the cast-bar is showing. [Skotlex]
  2224. * Fixed a logic error on battle_get_master which was causing infinite
  2225. loops.. [Skotlex]
  2226. * Fixed homunculus error message [Toms]
  2227. * Rewrote pc_payzeny to not use doubles, it may more accurately prevent
  2228. charging a player more zeny than they can withhold. [Skotlex]
  2229. * Fixed failing to create Deadly Poison Bottles damaging 50% of your max
  2230. life instead of 25% [Skotlex]
  2231. * Added the missing status-change flags to SC_FREEZE to signal it should
  2232. modify def and magic def [Skotlex]
  2233. * Little add on NJ_HUUMA [Toms]
  2234. * Merged Mpeg's work on Ninja skills [Toms]
  2235. * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex]
  2236. * Now you can teleport in Thanatos Boss room, but you can't respawn there [Playtester]
  2237. * Fixed Defender Raising Walk speed instead of diminishing it. [Skotlex]
  2238. * Added a check on status-change load to prevent loading speed-affecting
  2239. status when their speed adjustment is 0 (prevents division by zero)
  2240. [Skotlex]
  2241. * Code cleanup & optimization on guild part of char-server [Toms]
  2242. * Fixed script code data not being free'd if a player quits in the middle
  2243. of a script. [Skotlex]
  2244. * Modified run_script so that when there are leaks, it will report the
  2245. place where run_script was called from as source rather than the inner code
  2246. of run_script (for debugging purposes) [Skotlex]
  2247. * Made recursive master check the default (otherwise it messes skill -> pet
  2248. -> player kind of herarchies) and cleaned up some the battle_get_master
  2249. code to prevent infinite loops in the weird case someone specifies that
  2250. their master is itself. [Skotlex]
  2251. * Recoded the GuildAura code to use val3 & val4, allowing much greater stat
  2252. bonuses (in case someone wants to get Guild Skill level 20 or something
  2253. crazy like that) [Skotlex]
  2254. * Updated battle_check_target so that all alchemist summoned mobs can be
  2255. target by everyone. [Skotlex]
  2256. * Cleaned up skill_check_condition_mob_master_sub, it will now count both
  2257. total number of summoned mobs and amount that belong to the same type.
  2258. [Skotlex]
  2259. * Corrected AM_CANNIBALIZE so it will fail if you already have plants of
  2260. another type out. [Skotlex]
  2261. * Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
  2262. [Skotlex]
  2263. * Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now
  2264. Volcano/Deluge/V. Gale will get that funky icon instead. [Skotlex]
  2265. * Changed clif_hominfo to receive both sd and hd as parameters
  2266. * Some redundancy cleaning in mercenary.c [Skotlex]
  2267. * Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
  2268. [Skotlex]
  2269. 2006/08/01
  2270. * Miscellanous fixes which make the Marine Sphere self destruction work as
  2271. best as I can. It only has one flaw: It self-destructs instantly after
  2272. walking because if I make it use self-destruction with a cast-bar,
  2273. client-side the object stops moving inmediately... [Skotlex]
  2274. * Modified unit_walktoxy and NPC_RUN to enable running even when the caster
  2275. does not has the MD_CANMOVE bit on. [Skotlex]
  2276. * PF_MINDBREAKER will now silently fail if you try to use it on someone who
  2277. already has the status active. [Skotlex]
  2278. * Cleaned up yet again skill_landprotector, now new cells of
  2279. Deluge/Volcano/V.Gale will delete previous cells when they are recasted on
  2280. top of each other. [Skotlex]
  2281. * Summoned Marine Spheres no longer get the MD_CANMOVE bit. [Skotlex]
  2282. * Cleaned up some more the SC_JAILED code [Skotlex]
  2283. * merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru
  2284. and Coltaro for the code. [Skotlex]
  2285. * Cleaned the code of atcommands jail and unjail [Skotlex]
  2286. * Be warned that the code MAY contain bugs as I adjusted it to save the
  2287. character's position before jailing, allowing the automatic unjailing to
  2288. warp you back to the exact spot you were at before being jailed. [Skotlex]
  2289. * Should have fixed the cooking sets not displaying all cooking available
  2290. items. [Skotlex]
  2291. * Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
  2292. really working. Thanks to Mpeg for noting it out. [Skotlex]
  2293. * Modified Self Destruction, so that Marine Spheres in non-versus maps will
  2294. hurt only enemies, while in all other situations this skill will hurt
  2295. everyone around them. [Skotlex]
  2296. * Expanded setting debuff_on_logout so that &1 removes negative buffs and
  2297. &2 removes positive buffs. [Skotlex]
  2298. * Food status boosts will no longer end on death, but they will end when
  2299. you respawn or logout. [Skotlex]
  2300. * Added battle config file status.conf, moved some settings from skill.conf
  2301. and battle.conf to it since they are entirely Status-Change related.
  2302. [Skotlex]
  2303. * Added the missing lines to enable script command "kickwaitingroomall"
  2304. [Skotlex]
  2305. * Magic Rod's can-act delay will no longer be applied when you absorb a
  2306. spell. [Skotlex]
  2307. * Fixed Don't Forget Me increasing speed instead of decreasing it. [Skotlex]
  2308. * Modified setlabel so that the script engine barks when you are trying to
  2309. use the same label name as a constant or variable name. [Skotlex]
  2310. 2006/07/31
  2311. * Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame
  2312. rankings. [Skotlex]
  2313. * Updated Poison React chance to counter and number of counters as per
  2314. skill description updates. [Skotlex]
  2315. * Fixed Sharpshooting being counted as a magic attack, and hence, using
  2316. your MATK as base damage. [Skotlex]
  2317. * Fixed NPC_STOP id value in skill_cast_db [Skotlex]
  2318. * Bladestop will no longer stop when you push either of the characters
  2319. around. [Skotlex]
  2320. * Fixed Enchant Poison having a near 100% chance of poisoning target on
  2321. attack. [Skotlex]
  2322. * Little fix on duel [Toms]
  2323. * Added possibility to restrict duel usage to same map [Toms]
  2324. * Merged mpeg's fix on ninja skills [Toms]
  2325. * Corrected a status_get_race call which should be status_get_race2 in misc
  2326. attacks. [Skotlex]
  2327. * Moved the Devotion code to the top of the SC list in status_damage,
  2328. meaning that now stuff like being asleep or confused won't end if you are
  2329. hit, but the damage is absorbed by devotion. [Skotlex]
  2330. * Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no
  2331. information of how much the bonus should be, it currently is a conservative
  2332. 10%. [Skotlex]
  2333. * Fixed a possible crash in the main script engine when restoring previous
  2334. script. [Skotlex]
  2335. * Fixed sleep.tick not being set back to 0 before resuming execution, which
  2336. leads to scripts that are continously executed even when they already ended
  2337. (they do nothing but waste resources) [Skotlex]
  2338. * Fixed a pair of free -> aFree used on stacks, which would lead to memory
  2339. manager reporting leaks where there aren't. [Skotlex]
  2340. * Removed incorrect "Waterball range+1 when standing on suiton" feature.
  2341. [Skotlex]
  2342. * Corrected the Speed update code to prevent sending "walk to xy" packets
  2343. twice when the affected character is a player. [Skotlex]
  2344. * Expanded mob can't move warning to print out where this mob was stuck at
  2345. (map, x,y) [Skotlex]
  2346. * Fixed segmentation fault in status_change_end, vd wasn't initialized [Toms]
  2347. 2006/07/30
  2348. * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
  2349. level, so that at level 1 they can attack, use skills and receive no
  2350. walking penalty. [Skotlex]
  2351. * Mob casted Sanctuary will no longer always heal it's targets regardless
  2352. of element/race [Skotlex]
  2353. * Status change packets will now use as criteria for sending the actual
  2354. view_class instead of player/not-player. This will fix status-changes
  2355. displaying improperly on clones, and also possible crashes with disguised
  2356. players. [Skotlex]
  2357. * Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE [Toms]
  2358. * Added bNoMiscDamage setting so you can specify misc-damage blocking from
  2359. skills. Modified battle_calc_damage so that even Pressure and similar
  2360. skills will be affected by this setting. [Skotlex]
  2361. * GS skill updates/fixes [Vicious]
  2362. * Force all users offline in sql when char-server starts [Toms]
  2363. 2006/07/29
  2364. * Removed ugly struct cast in login.c [Toms]
  2365. * New version of buildin_query_sql which accept more than one column and
  2366. can return the number of rows. See script_commands.txt for more details. [Toms]
  2367. * Fixed nullpo in merc_hom_skillup [Toms]
  2368. * Added a return value to buildin_rid2name if rid is invalid [Toms]
  2369. * Made the SQL ping interval default to 7 hours. [Skotlex]
  2370. * Made skill_unitsetting remove the group when no unit-cells were placed
  2371. down. basicly this means that if landprotector blocks all tiles, the group
  2372. will be removed from memory, preventing said group from counting to the
  2373. total number of skills you can set. [Skotlex]
  2374. * Fixed segmentation fault in script engine when calling something which is not a function [Toms]
  2375. * Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
  2376. 2006/07/28
  2377. * Added Ishizu's code to check ammo type on attack. No more using Grenade
  2378. rounds with Guns. [Skotlex]
  2379. * offensive heal/sanctuary will only happen when the source of the heal is
  2380. a player, mob/pet casted heal will now always heal regardless of target.
  2381. [Skotlex]
  2382. * Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
  2383. [Skotlex]
  2384. * Self destruction will now hit all characters in range, not just enemies.
  2385. [Skotlex]
  2386. * Cleaned up the NJ update code: [Skotlex]
  2387. - Restored code which was removed (stuff like SC_SKA)
  2388. - Fixed possible crashes on some NJ skills if used by non-players.
  2389. - Fixed most NJ magic spells doing more damage than they should.
  2390. - Fixed ZenyNage being able to do more damage than zeny you have.
  2391. - Cleaned up skill setting code for Suiton and Kaensin
  2392. * Some cleaning of battle_drain, Evil Druid card should work now. [Skotlex]
  2393. * Made status_damage allow damaging of objects not on a map, this should
  2394. fix pet-catching making the mob never respawn again. [Skotlex]
  2395. * Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same :) [Toms]
  2396. * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
  2397. * Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
  2398. * Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
  2399. * Fixed sign warnings in login/login.c [Toms]
  2400. * Fixed "conversion from 'double' to 'int', possible loss of data" [Toms]
  2401. * Fixed "warning: redefinition of [ushort/uint/ulong]" [Toms]
  2402. * Fixed duplicate case value on NJ_SUITON [Toms]
  2403. 2006/07/27
  2404. * Fixed a memory leak when there exists more than one user function with
  2405. the same name, added the appropiate warning when this happens. [Skotlex]
  2406. * Added reporting source file when an npc shops item's price is
  2407. exploitable. [Skotlex]
  2408. * The picklog will now record negative values for items sold to npcs.
  2409. [Skotlex]
  2410. * Added inmediate position and hp-bar update when a character joins a
  2411. party. [Skotlex]
  2412. * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
  2413. * Added config setting party_update_interval so you can specify how often
  2414. the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]
  2415. * Removed a bunch of broken comments in skill.c [Skotlex]
  2416. * Synced the script.c file with as much data as possible from jA's:
  2417. [Skotlex]
  2418. - A lot of functions were moved around, a bunch of indentation and
  2419. space-usage changes were done to make it easier to diff against their
  2420. files.
  2421. - Miscellanous addition and corrections were applied.
  2422. - Largest one is likely a restructuring of run_script_main, which hopes to
  2423. solve the memory leaks.
  2424. - script engine now uses the setjmp functions to restore memory state when
  2425. there's an error parsing scripts, which means that script errors won't
  2426. cause the map-server to inmediately bail out anymore.
  2427. - NOTE that the amount of changes is pretty extensive, so DON'T USE THIS on
  2428. a live server. Update only to help test and debug to see if the script
  2429. engine memory leaks are gone.
  2430. * Added a cleanup routine on shutdown to remove all characters from memory
  2431. for whom the save ack has not returned from the char-server yet. [Skotlex]
  2432. * Now when you set the guardian's HP, if the guardian is spawned, it's HP
  2433. will be updated accordingly (and if you set it to 0, the guardian is
  2434. killed) [Skotlex]
  2435. * Added functions status_set_hp/status_set_sp to set hp/sp to a given
  2436. value. Applied usage of these on the Berserk and Soul Change code.
  2437. [Skotlex]
  2438. * Added config setting "party_hp_mode" (battle/party.conf) which determines
  2439. method to use to update party-mate hp bars. Aegis style is to update HP
  2440. bars whenever HP changes, while eAthena style is to update it together with
  2441. the map party dots. Defaults to aegis style. [Skotlex]
  2442. * Fixed packet 0x22a having the manner and opt3 packets in inverted
  2443. offsets. [Skotlex]
  2444. * Readded the check which prevents Cloaking from activating when your
  2445. learned level is less than 3 and you aren't next to a wall. [Skotlex]
  2446. * Some cleanups to the Frenzy/Berserk status change, it should probably
  2447. work correctly now. [Skotlex]
  2448. * Removed a redeclared variable i in the parsing of the fame list (char-sql
  2449. server) which seems to be the cause of the random memory corruptions.
  2450. [Skotlex]
  2451. * Updated item_db.sql to latest. [Toms]
  2452. * Fix homunc & code cleanup [Toms]
  2453. - Timer problems on delete_timer
  2454. - Intimacy problem (overflow & new values)
  2455. - Homunc deleted if intimacy < 0
  2456. - base exp is now given to master
  2457. - Homunc sometimes not saved
  2458. 2006/07/26
  2459. * Fixed a memory leak when reading the item_db txt. [Skotlex]
  2460. * Applied the necessary changes to make @partyoption reflect it's changes
  2461. on the alt+p window. [Skotlex]
  2462. * Modified party_item_share_type config setting so that using 1 disables
  2463. item-sharing from non-mob loot (player dropped items or pet loot) and 2
  2464. enables round-robin instead of random sharing. Using 3 obviously is
  2465. enabling both 1 and 2. [Skotlex]
  2466. * Added battle_get_master which returns the master bl of a given object.
  2467. [Skotlex]
  2468. * Recoded battle_check_target to use battle_get_master, the src/target
  2469. switch has been split into two, so that actual target and master target are
  2470. seperately treated (same for source). [Skotlex]
  2471. * Added support for "sc_end -1" which will clear all status changes. Added
  2472. the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
  2473. [Skotlex]
  2474. * @pettalk will now fail when muted. [Skotlex]
  2475. * Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
  2476. 2006/07/25
  2477. * Cleaned up run_script_main to properly free previous stack-data when
  2478. running scripts. Note that scripts may still leak memory when run by
  2479. non-players and they don't reach the "END" state, however I am not sure how
  2480. this case should be handled, so it's left as it is for now. [Skotlex]
  2481. * Added a missing ntohl call in the loginlog code. [Skotlex]
  2482. * Added a check when buying from npcs to allow buying of item_avail items.
  2483. [Skotlex]
  2484. * Fixed duel accept invite sending the packet before the duel data is set
  2485. (resulting in a packet that noone receives). Thanks to Toms for finding it
  2486. out. [Skotlex]
  2487. * Fixed a possible crash when you dual-wield and the total damage is 0.
  2488. [Skotlex]
  2489. * Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
  2490. they convert the txt databases into sql. [Skotlex]
  2491. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
  2492. * Updated the sql files since now it's quick [Skotlex]
  2493. 2006/07/24
  2494. * Re-updated the mob_db.sql to latest. [Skotlex]
  2495. * Cleaned up the skill_landprotector function to correctly block only magic
  2496. skills from being placed on land protectors. [Skotlex]
  2497. * Corrected itemdb_group so that it will not return the random item givers
  2498. (should give priority to actual item groups, so that the item heal bonuses
  2499. work correctly) [Skotlex]
  2500. * Cleaned up the Mistress Card related code so that the no-gemstone bonus
  2501. reduces item requirements by one rather than totally skip them. [Skotlex]
  2502. * Cleaned up the logs "can log"function to use the IT constants. Also
  2503. corrected the "only log large amounts" setting not working on negative
  2504. values (trades). [Skotlex]
  2505. * Adjusted skill_castfix_sc so that Suffragium will get consumed even on
  2506. instant cast skills, but Memorize won't. [Skotlex]
  2507. * BladeStop will now end when either of the characters is moved (knocked
  2508. out?) around. [Skotlex]
  2509. * Moved the Zeny penalty code from respawn to pc_dead. [Skotlex]
  2510. * Added a check to prevent Deluge/Volcano/Violent Gale from being placed on
  2511. top of each other. Reverted the previous 'fix' where atk was being
  2512. increased based on armor element rather than element of attack. [Skotlex]
  2513. * Removed the noreturn mapflag check from script command warp. [Skotlex]
  2514. * Homuculus cleanup [DracoRPG]
  2515. - Replaced nullpo's in parse functions by silent checks
  2516. - Removed server-side effect for menu option 0 (view status window...
  2517. why does the client send us the packet since we don't care? -_-)
  2518. - Rewrote intimacy underflow checks so they are really effective (no
  2519. need to check if an unsigned is < 0, it won't work... check before!)
  2520. * fixed unban unblocking players as well. [Skotlex]
  2521. * Fixed Volcano/Deluge/Violent Gale increasing damage based on element of
  2522. attack instead of defense element of attacker. [Skotlex]
  2523. * Cleaned up the code of Magic Rod, fixed it not giving SP. [Skotlex]
  2524. * Moved the code of Hermod and Basilica to castend_pos2 so it should work
  2525. now. [Skotlex]
  2526. * Modified the code of Ankle Snare so the status ends on unit's time-limit
  2527. rather than when the snared object moves away. [Skotlex]
  2528. * Re-worded the water check of ST_WATER skills. [Skotlex]
  2529. * Allowed sc-cast reductions to be processed even when cast-time is instant
  2530. (to let suffragium end even on instant-cast skills) [Skotlex]
  2531. 2006/07/23
  2532. * Modified setting skillrange_by_weapon (skill.conf) to be a
  2533. per-object-type setting instead of yes/no. The default now is that
  2534. weapon-based skills will take the attacker's range for non-players.
  2535. [Skotlex]
  2536. * Changed the default of skillrange_by_distance to include homunculus.
  2537. [Skotlex]
  2538. * Fixed buildin_isequip not working correctly with non-cards. [Skotlex]
  2539. 2006/07/22
  2540. * Updated mob_db.sql to latest. [Skotlex]
  2541. * Applied Toms's suggested corrections to homun code. [Skotlex]
  2542. * Corrected Cannibalize/Marine Sphere ignoring the selected summon spot.
  2543. [Skotlex]
  2544. * Fixed looting pets ignoring the item pick-up priority of other players.
  2545. [Skotlex]
  2546. * Should have fixed a signess warning in login txt. [Skotlex]
  2547. 2006/07/21
  2548. * Added blocking of @me when muted or in berserk status. [Skotlex]
  2549. * Corrected the @follow timer not being deleted on logout. [Skotlex]
  2550. * Applied the homunculus code fixes provided by Toms. [Skotlex]
  2551. * battle_check_target will now tag homunculus as invalid target when the
  2552. source is a skill-type object. [Skotlex]
  2553. * Added a check on pc_equipitem so that when the client specifies to equip
  2554. a weapon on the right hand when the left hand is available, the weapon will
  2555. be sent to the left hand instead (when dual-wielding is possible,
  2556. obviously). Same for the left/right accessories. [Skotlex]
  2557. * Added the necessary checks so that Suiton makes Fogwall have double
  2558. duration, and to make water-requiring skills to consume their cells.
  2559. [Skotlex]
  2560. * Corrected the loadmap event description to specify that the mapflag
  2561. required is actually "loadevent", NOT "loadmap"! [Skotlex]
  2562. * Now when the char-txt server does not finds a requested party, it will
  2563. clear out said party id of all characters (will help prevent massive
  2564. spamming/overhead when for some reason the party file needs to be deleted).
  2565. [Skotlex]
  2566. * Combo skills (inf = self, inf2 = no target self) no longer check range if
  2567. you use them while your attack-timer is still active. [Skotlex]
  2568. * Added back a map_freeblock call in skill_delunitgroup which caused a
  2569. memory leak when removed... [Skotlex]
  2570. * Added a check to prevent Blind from ending while standing on a fog of
  2571. wall. [Skotlex]
  2572. * The mob Slave ai will be executed now even when the slave has a target.
  2573. This will allow for "instant" warping to the master when it changes maps or
  2574. teleports. if the slave has a target already, it won't unlock it and chase
  2575. back to the master or anything like that. [Skotlex]
  2576. * Removed a couple of checks that prevents item ids above 20000. However,
  2577. remember that the max id is still ~32k or the client is the one who's gonna
  2578. crash! [Skotlex]
  2579. 2006/07/20
  2580. * Added source reporting when you do an invalid int&str or str&int
  2581. operation on a script. [Skotlex]
  2582. * Fixed the intif party creation packet having the incorrect size sent,
  2583. hence causing the leader's level to be read as garbage (which caused the
  2584. "impossible to even share" bug). [Skotlex]
  2585. * Added pc_check_weapontype to do a proper skill weapon check that takes
  2586. into account dual-wielding. That is, if a skill can be used with
  2587. daggers/axes, you'll be able to use the skill when dual-wielding them.
  2588. [Skotlex]
  2589. * Corrected Cloaking level 1-2 not letting you move across walls. [Skotlex]
  2590. * updated cloaking code so that when you set "enable cloaking without
  2591. walls", the code will consider you as "always next to a wall", thus you get
  2592. the wall-speed bonus always. [Skotlex]
  2593. * Applied the fix to homunculus name saving... [Skotlex]
  2594. * Added battle config settings agi_penalty_target and vit_penalty_target,
  2595. they define which object types will get vit/flee reductions when
  2596. multi-targetted and defaults to only players (battle/battle.conf) [Skotlex]
  2597. * Added the dummy intravision case for the changeoption packet 0x229
  2598. [Skotlex]
  2599. * Corrected Fog of Wall so that all targetted offensive skills (not only
  2600. those who do damage) will fail on cast-end 75% of the time. [Skotlex]
  2601. * corrected @homlevel up and one entry in the homun exp table as reported
  2602. on the forums by Albator. [Skotlex]
  2603. * Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
  2604. * Added a status_check_skilluse on skill_attack_area call to prevent splash
  2605. damage skills from hitting hidden/trickdead/etc characters. [Skotlex]
  2606. * Corrected fog of wall to behave as best known currently: [Skotlex]
  2607. - Only takes effect when targetting a character inside it
  2608. - -50hit/-75% damage when using normal-ranged attacks
  2609. - -25% damage from all damage skills
  2610. - 75% chance of all targetted damage skills of failing.
  2611. * Should have fixed @refine applying multiple times to equipment that uses
  2612. multiple equip slots. [Skotlex]
  2613. 2006/07/19
  2614. * Fixed the inf code update breakage which was blocking all offensive
  2615. skills. [Skotlex]
  2616. * Added battle setting homun_critical_rate (defaults to 0) [Skotlex]
  2617. * Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
  2618. enable_perfect_flee which specifies which objects can have perfect flee and
  2619. enable_baseatk which specifies which objects can have a base attack value
  2620. (both in battle.conf) [Skotlex]
  2621. * Modified the targetted skill logic to enable offensive skills to be
  2622. targetted at party/guild members if the appropiate inf2 value is set.
  2623. [Skotlex]
  2624. * Added checks to make adding items to inventory/cart fail when a char is
  2625. in finalsave state. [Skotlex]
  2626. * Fixed parse_names on irc.c crashing when receiving a null argument.
  2627. [Skotlex]
  2628. * Modified the parsing of the names line, since some servers will send @
  2629. instead of = when separating the information. [Skotlex]
  2630. * Fixed the homun creation sql statement. Why noone else did so before?
  2631. [Skotlex]
  2632. * When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it
  2633. will use clearchar and spawn packets instead of changeoption. Thanks to
  2634. Toms for the fix. [Skotlex]
  2635. * Corrected Trim chars to block 'enter', as explained by the Ultra mage.
  2636. [Skotlex]
  2637. * When the client passes account version 0, the login server will set it to
  2638. 1 now. [Skotlex]
  2639. * Corrected the HP bar scaling when HP is above Short Max. It should
  2640. display fine for any HP value now. [Skotlex]
  2641. * Added a check when the mob's adelay is shorter than the amotion, in which
  2642. case the adelay will be changed to the amotion value. [Skotlex]
  2643. * Some minor mapflag changes. [MasterOfMuppets]
  2644. 2006/07/18
  2645. * Added atcommand @partyoption, lets you alter the party item-distribution
  2646. type on the go. Usage is "@partyoption <pickup share> <item distribution>",
  2647. where both arguments can be 0/1, yes/no, etc. [Skotlex]
  2648. * Updated @changeleader and @partyoption to use msg_Athena entries.
  2649. [Skotlex]
  2650. * Added character 013 (enter) to the list of characters that are always
  2651. removed from new character names. [Skotlex]
  2652. * Fixed a crash when trying to extend TK's infinite combo feature. [Skotlex]
  2653. * Corrected Poison React to counter regardless of distance, and to use the
  2654. skill's 50+5*lv% counter chance (instead of 100%). [Skotlex]
  2655. * Corrected Venom splasher's splash damage [Skotlex]
  2656. * You now can't move/attack/use-skills when using Cloaking of a level less
  2657. than 3 [Skotlex]
  2658. * Fixed compilation of mercenary.c [Skotlex]
  2659. * Corrected Fog of Wall's "targetted spells fail 75% of the time" feature
  2660. by making it behave like GTB, that is, you just get a skill-failed on
  2661. cast-end, no skill-animation at all. [Skotlex]
  2662. * Added a proper check to make aggressive mobs never override homun targets
  2663. regardless of distance. [Skotlex]
  2664. * Removed a bunch of homun-related variables that are not needed at all.
  2665. The alive condition is removed, now the code checks for the hp value to
  2666. know if the homun is alive or not. [Skotlex]
  2667. * Cleaned up a bit the skill-id function, homun skill checks (such as delay
  2668. and skill-lv learned) should be correct now. [Skotlex]
  2669. * Added a proper check to make aggressive mobs never override homun targets
  2670. regardless of distance. [Skotlex]
  2671. * Fixed giving the 100% damage bonus when no-splash-targets are found in
  2672. the blown path to Grandcross instead of Bowling Bash. Bowling Bash damage
  2673. equation becomes then +50*lv% rather than +40*lv% when there's no
  2674. splash-damage (the 50*lv% figure is custom, all we know is that level 10
  2675. does 600% instead of 500% damage). [Skotlex]
  2676. 2006/07/17
  2677. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  2678. * The char-server will allow off-line character saves when said char is
  2679. tagged for final-save (this is the scenario when the char-map reconnect).
  2680. [Skotlex]
  2681. * Should have fixed the Cart Termination damage code to be scaled correctly
  2682. when you change the max cart weight. Thanks to The Ultra Mage for the error
  2683. clarification. [Skotlex]
  2684. * Implemented Grandcross weird property where if there's noone on the path
  2685. it'll hit twice for the skill's reported damage, and when there is (or you
  2686. can't knockback the target) it'll do a splash attack that hits twice for
  2687. 500% to all affected targets. [Skotlex]
  2688. * Some cleaning of the combo code. TK Rankers will now get their combo-time
  2689. extended each time they trigger a kick, enabling them to do "unlimited
  2690. combos". [Skotlex]
  2691. * Modified the autosave function to use a sweep across the player db
  2692. instead of across connected clients. This will cause non-connected players
  2693. (like autotraders) to also be saved on a regular interval, may help with
  2694. possible data-loss from said characters on unclean shutdowns. [Skotlex]
  2695. * Removed the code that forces aggressive mobs to go after a Homun instead
  2696. of their master (no reason why there should be such a condition). [Skotlex]
  2697. * Some sign quest map flag updates [MasterOfMuppets]
  2698. * atcommand_follow is now more verbose. [Adam]
  2699. * Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
  2700. * Orn's fix to the very critical skill level up bug [DracoRPG]
  2701. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  2702. * Added Orn's lil fix on homun [Vicious]
  2703. * Added Homunculus system, enjoy! [orn aka Nylou]
  2704. - WARNING: This currently only works with the SQL version, as the TXT char-server
  2705. has no code for it at the moment. You TXT server won't break, but the char-server
  2706. will complain of an unknown packet if you try to get an Homunculus
  2707. * Updated nomemo mapflags based on info from http://ro.doddlercon.com/images/memo.jpg [Poki#3]
  2708. 2006/07/15
  2709. * Small change in conf/battle/player.conf to say that 199 is max aspd allowed
  2710. (Haplo says that there are many reports of having over 200 is giving errors) [Evera]
  2711. 2006/07/13
  2712. * Kaahi no longer shows the heal effect to everyone. [Skotlex]
  2713. * Eska no will cause defense to change randomly every second. [Skotlex]
  2714. * Tuned up some more NJ_KAENSIN based on Tharis's information. [Skotlex]
  2715. * Corrected NJ_KAENSIN as per description. [Skotlex]
  2716. * Fixed a leaking map_freeblocklock on skill_del_unitgroup. [Skotlex]
  2717. * Changed the default save interval to 5 minutes. Added support for
  2718. specifying fixed save-intervals by using negative values. [Skotlex] EG:
  2719. - Save interval set to 300 (5 minutes): all characters will be saved in
  2720. equal time-slots, so that everyone is saved every 5 minutes regardless of
  2721. number of players online.
  2722. - Save interval set to -1000 (1000 ms): One character will be saved every
  2723. second, regardless of amount of characters online.
  2724. The new fixed-time-slots method is meant for larger servers, so that they
  2725. can control the saving-induced stressed on the char-server.
  2726. * Fixed @storeall and @charstoreall failing when the target character
  2727. already had the storage open. [Skotlex]
  2728. * Reverted temporarily the Cart Termination equation until it can be
  2729. fixed... [Skotlex]
  2730. * Fixed script command "recovery". [Skotlex]
  2731. 2006/07/12
  2732. * Fixed a small typo in my code [Zido]
  2733. * Added negative value in bonus exploit fix for more stat bonuses [Zido]
  2734. * Fixed exploit in pc_bonus there are no checks that check that the value being
  2735. added onto a status don't make it go below zero, which means if you have a mineral
  2736. card and reset stats it reduces your base attack to lower than zero, making it
  2737. go up to 64000. Fixed by adding a check for SP_BASE_ATK, although i recommend
  2738. doing it for other status bonuses also [Zido]
  2739. * Recoded NJ_BAKUENRYU to behave as I understand it best from the
  2740. skill-description (since Haplo told me this skill doesn't really has video
  2741. information or anything...) [Skotlex]
  2742. * Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path"
  2743. calls. The skill should be working correctly now, except for the fact that
  2744. the correct "unit id" is missing (this is what would give the ground tile
  2745. it's correct display). Temporarily it is using 0xba until the correct value
  2746. is found. [Skotlex]
  2747. * Added back the undead check to turn undead/resurrection to prevent
  2748. damaging non-undead targets, removed it from the battle damage section.
  2749. [Skotlex]
  2750. * Resurrection will now silently fail when used on non-undead + not-dead
  2751. characters. [Skotlex]
  2752. * Poem of bragi/magic String's base delay reduction at level 10 (or above)
  2753. is now 50% instead of 3*lv%. [Skotlex]
  2754. * status_damage will no longer fail when the target is not on a map AND the
  2755. flag is 2 (charge rather than damage). Fixes SP-draining status changes
  2756. ending suddenly when in-between maps. [Skotlex]
  2757. * Fixed the IP value being apparently incorrectly casted before inserting
  2758. into the loginlog table on "connect success" events. [Skotlex]
  2759. * Fixed Cart Termination's damage. [Skotlex]
  2760. * Added the missing check to remove character from memory when logging out
  2761. and using the charsave_method which saves character map-server-side.
  2762. [Skotlex]
  2763. 2006/07/11
  2764. * Fixed inverted check which was preventing you from buying more than 1
  2765. from any stackable item.... [Skotlex]
  2766. * Should have fixed the crash in intif gm message... [Skotlex]
  2767. * Fixed GTB card only working while you had a status-change active.
  2768. [Skotlex]
  2769. * Fixed being unable to compound cards in armor. [Skotlex]
  2770. * Made @monsterignore be an universal ignore. Means you cannot be targetted
  2771. as an enemy by anything. Also added alias "@battleignore" which does the
  2772. same as monsterignore. [Skotlex]
  2773. * Fixed magic power setting your min matk as max-matk. [Skotlex]
  2774. * Modified the packets involved in @fakename in hopes it'll refresh
  2775. correctly on nearby clients now. [Skotlex]
  2776. * Fixed clif_parse not checking for func_parse before sending data to the
  2777. connected clients. This in turn required various code-rewrites in: [Skotlex]
  2778. - duel related messaging functions (added clif targets DUEL/DUEL_WOS).
  2779. - intif whisper to gm function
  2780. - day/night timers
  2781. - Rewrote the parse_console function to stop allocating/deallocating memory
  2782. on every call.
  2783. - Modified chrif_charselectreq to receive the player's ip among the data.
  2784. * Added function clif_disp_message, which is the same as
  2785. clif_disp_onlyself, except you can specify the targets (it sends a
  2786. guild-chat packet) [Skotlex]
  2787. * Fixed the subele bonus (elemental reduction) being applied to the element
  2788. of the attacker instead of the element of the attack. [Skotlex]
  2789. * mob skills now won't trigger on unit_stopwalking calls. [Skotlex]
  2790. * Coded @reset. [Skotlex]
  2791. * Reenabled @changesex [Skotlex]
  2792. * Added function pet_create_egg which handles creating pet eggs correctly
  2793. (when passed item id is indeed a valid petegg). Applied this on @createitem
  2794. and getitem. [Skotlex]
  2795. * Cleaned up code of @item [Skotlex]
  2796. * Cleaned up the itemdb_isequip functions. itemdb_isequip will now return
  2797. if the item is equipable by players, itemdb_isstackable returns if the item
  2798. can be stacked, and itemdb_isidentified returns if the item should drop
  2799. identified. [Skotlex]
  2800. * Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given
  2801. item has "invalid" cards, added define function itemdb_isspecial to
  2802. simplify this check. [Skotlex]
  2803. * Removed itemdb.c considering item ids above 20000 as invalid. [Skotlex]
  2804. * Cleaned up script commands getitem and card-counting related ones.
  2805. [Skotlex]
  2806. * Cleaned up a bit more pc_isequip [Skotlex]
  2807. * Added script function warpportal(x,y,targetmap$,targetx,targety).
  2808. This creates warp portals as in the skill unit as a volatile alternative
  2809. to static warp portals. [blackhole89]
  2810. * Modified the login-sql server to do the ip-ban check only on the
  2811. auth-packets instead of on every packet. [Skotlex]
  2812. 2006/07/10
  2813. * Corrected Warp Portal being unable to warp people who are standing on it
  2814. on the moment it triggers. [Skotlex]
  2815. * Fixed @follow stopping the moment you are warped. [Skotlex]
  2816. * Fixed pc_additem messing with the equip field of the passed item data.
  2817. Fixes the famous "equip stuff on your arrow slot" bug. [Skotlex]
  2818. * Fixed cart-termination crashing the server if you used level 16 of it.
  2819. [Skotlex]
  2820. * Fixed check_connect_login_server check in char-sql server. Fixes
  2821. char-server not reconnecting to the login server. [Skotlex]
  2822. * Login-sql server will no longer change an account's state to "7" when
  2823. banning a player. This should fix being able to use @ban to clear out a
  2824. @blocked player. Players will now be identified as banned only through the
  2825. banned-until timestamp. [Skotlex]
  2826. * Fixed a crash when using Gospel... [Skotlex]
  2827. * The on-place function won't be invoked on setting ground skills if the
  2828. group's tick is greater than the current tick. As Buuyo pointed out, this
  2829. should fix Sanctuary and Gospel taking effect inmediately instead of after
  2830. "x" amount of ms as they should. [Skotlex]
  2831. * Added login-char packet 0x2737. Sets all characters offline (login-server
  2832. side). [Skotlex]
  2833. * Cleaned up char server "set all offline" implementation to remove only
  2834. characters from the map-server from which the packet was invoked. It will
  2835. also now correctly kick/set-character offline from the map-server if they
  2836. are connected. [Skotlex]
  2837. * Cleaned up the char-sql reconnect code. It no longer sets everyone to
  2838. offline. [Skotlex]
  2839. * Removed setting "kick_on_disconnect", servers will no longer kick
  2840. characters out when there's a disconnection. Instead, it'll use the most
  2841. logical approach: Set characters into a "lost" state when there's a
  2842. disconnection, on reconnect, resent the list of online-characters, do a
  2843. sync, and let the difference be characters to be removed. Also, the
  2844. map-server won't release character data until it's saved and the ack
  2845. returns from the char-server to prevent data loss (all this data is resent
  2846. on reconnect for saving anyway). [Skotlex]
  2847. * Added a check in pc_equipitem so that when switching weapons and you have
  2848. the skill_range_by_weapon setting active, the skill info block (which
  2849. includes range) will be resent when the new weapon to equip has a range
  2850. different than the previous one. [Skotlex]
  2851. * One closer inspection, removed that clear in itemdb_reload for a foreach
  2852. call again. And modified itemdb_load to scrap the dummy item entry from the
  2853. item_db and replace it with proper data for the item. [Skotlex]
  2854. * itemdb_reload will clear the itemdb before reloading info instead of only
  2855. clearing the scripts now. [Skotlex]
  2856. * Some cleaning of skill_castend_pos2, fixed Gospel, and a
  2857. map_freeblock_unlock misplacement. [Skotlex]
  2858. * Sense/Estimation will now display the mob info window to all party
  2859. members in the same map. [Skotlex]
  2860. 2006/07/08
  2861. * Fixed the new addeff structure not working well with SC_STONE (because
  2862. SC_STONE is 0, which was by default not handled as a valid value).
  2863. [Skotlex]
  2864. * Added back the TF_MISS walking speed bonus to assassin type classes (how
  2865. did that got lost?) [Skotlex]
  2866. * Fixed mobinfo displaying exp as signed ints rather than unsigned.
  2867. [Skotlex]
  2868. * Added status_check_visibility to check if an object is within range of
  2869. view of another. Nothing more, nothing less. It's used by unit movement to
  2870. check whether you can continue chasing your target or not when the "chase
  2871. target" directive is given. [Skotlex]
  2872. * Fixed the char table having party/guild_id as smallint when they need int
  2873. there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
  2874. [Skotlex]
  2875. * Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
  2876. [Skotlex]
  2877. * Fixed endow skills calling the skill no damage packet twice. [Skotlex]
  2878. * Fixed a crash on warpwaitingpc when the chat-room is empty. [Skotlex]
  2879. 2006/07/07
  2880. * Fixed the Warm Skills [Skotlex]
  2881. * Removed the debug message when a player logs out and is removed from
  2882. memory, it is working fine (tested normal logging off and autotrade). [Skotlex]
  2883. * Corrected the pet-armor field of the pet not being updated on
  2884. equip/unequip of accessories, making them not show up inmediately. [Skotlex]
  2885. * Status_calc_bl will no longer stop you from attacking/walking when the
  2886. mode is changed unless the new mode no longer includes
  2887. "can-attack"/"can-move" respectively. [Skotlex]
  2888. * Should have fixed clif_item_sub to properly store pet egg/armor data.
  2889. There should be no more "random refine levels" bugs related to these.
  2890. [Skotlex]
  2891. * itemdb_exists will now return NULL for item_id 0. [Skotlex]
  2892. * Added a check to free a character from memory when changing map servers.
  2893. [Skotlex]
  2894. * Okay, added a chrif_save_ack packet to the char-server so now the map
  2895. server will know once a character was "final saved", and only then the
  2896. character will be removed from memory. On char-server reconnection, all
  2897. chars that are in final-save state are resent to save (if they are still in
  2898. memory, it's because the ack hasn't gotten here from the char-server). This
  2899. should effectively block all dupe problems due to heavy inter-server lag,
  2900. however as it's untested, it currently prints some debug messages when
  2901. people are saved and then removed from memory. Need testers so this can be
  2902. debugged and merged to stable! [Skotlex]
  2903. * Now, when the login-char connection is cut, the char-server won't set
  2904. everyone offline on reconnect, instead it will send the list of online
  2905. accounts to the login server. [Skotlex]
  2906. * Modified the error on the char-sql server to set chars online when it
  2907. receives a save packet from a character tagged as offline (until it can be
  2908. figured out why this is happening) [Skotlex]
  2909. * Fixed signed/unsigned comparison issues in the char txt/sql server.
  2910. [Skotlex]
  2911. * Fixed the cooking success chances. Thanks to Ishizu Chan. [Skotlex]
  2912. * Added a temporary band-aid to prevent executing the script of non-arrows
  2913. when they are equipped on the arrow-slot (until the actual cause of why
  2914. pc_unequipitem is not working correctly is discovered/fixed) [Skotlex]
  2915. 2006/07/06
  2916. * Modified the party_data structure on the map server to remove some
  2917. redundant data. Added a party_data structure on the char-server to hold a
  2918. more complete set of information about parties. Added to the party_member
  2919. structure the class of each member so that the map server can do the
  2920. appropiate checks even if the character is on another mapserver/offline.
  2921. Due to the format changes in the party structure, txt servers will have to
  2922. wipe their party file... (sql save format has not been changed) [Skotlex]
  2923. * Added function char_family to check if there's a family state given the
  2924. three character ids, instead of doing individual checks all the time.
  2925. [Skotlex]
  2926. * Rewrote all the item restriction functions so that they will take into
  2927. account slotted card restrictions as well. [Skotlex]
  2928. * Added no_skill_delay setting, when set, affected object types will have
  2929. the minimum skill delay for all skills. Defaults to mobs, since they
  2930. don't have skill delays. [Skotlex]
  2931. * Cleaned up pc_equipitem. When dual wielding or equipping accessories, if
  2932. the client actually specifies one of the two positions, it will be taken
  2933. into account (now, does the client actually does this?) [Skotlex]
  2934. * Fixed GrandCross and similar skills. [Skotlex]
  2935. * FogWall will now also affect the caster. [Skotlex]
  2936. 2006/07/05
  2937. * Updated NJ_KAENSIN by Saycyber21 [Vicious]
  2938. * Updated @refine to take account of MAX_REFINE, thanks to Omega... GM
  2939. Designer. [Skotlex]
  2940. - Also optimized the @refine loop for better performance.
  2941. 2006/07/04
  2942. * Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
  2943. * Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
  2944. * Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
  2945. 12*(cooking set-lv)%. Exception: When using the legendary cooking set,
  2946. success chance is 100% regardless of dish. [Skotlex]
  2947. * Added battle config setting emergency_recall, specifies behaviour of that
  2948. skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 -
  2949. Can be used everywhere. [Skotlex]
  2950. * Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can
  2951. come out or not is entirely decided by the abra db file now. [Skotlex]
  2952. * Added structure s_addeffect to handle status change additions. Cleaned up
  2953. relevant code. It is now possible to specify ANY status change, not just
  2954. the basic ones. NOTE that the code is proof-read, but untested! [Skotlex]
  2955. * Added support for bonus3 bAddEff/bAddEffWhenHit as follows: [Skotlex]
  2956. bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  2957. Target flag is 0: Self. 1: Enemy. 2: Both.
  2958. * Added these descriptions to doc/item_bonus.txt [Skotlex]
  2959. * Added a check when joining a chat to make sure the target object is of
  2960. type BL_CHAT. [Skotlex]
  2961. 2006/07/03
  2962. * Cleared up the bAutoSpellWhenHit description in doc/item_bonus.txt
  2963. [Skotelx]
  2964. * Fixed Phantasmic Arrow and Magical Bullet not being correctly tagged as a
  2965. ranged arrow-type attack. [Skotlex]
  2966. * Updated help.txt and help2.txt, thanks to Inuyasha for providing the
  2967. updated files. [Skotlex]
  2968. * Char-server SQL won't perform the reconnect cleanup routines when
  2969. kick_on_disconnect is disabled. [Skotlex]
  2970. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  2971. setting now only makes the attacks of the slaves trigger the autospells of
  2972. the master (as it should be). [Skotlex]
  2973. * Corrected code capping no_spawn_on_player to 50 when the max should be
  2974. 100. [Skotlex]
  2975. * Warmth will dispel when warping now (or else the effect is left on the
  2976. ground) [Skotlex]
  2977. * Fixed reading of the refine_db not working right when MAX_REFINE is
  2978. increased from 10. [Skotlex]
  2979. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  2980. * Fixed a compile warning in login sql/txt [Skotlex]
  2981. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  2982. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  2983. [Skotlex]
  2984. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  2985. [Skotlex]
  2986. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  2987. skills. [Skotlex]
  2988. 2006/06/30
  2989. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  2990. * Added a check to prevent equipped items from being traded. [Skotlex]
  2991. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  2992. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  2993. cells. Beware of potential bugs as it's untested. [Skotlex]
  2994. * Added mapflag "nochat" to prevent chatting rooms from being created.
  2995. [Skotlex]
  2996. * Corrected some of the sleep checks when the char id does not matches with
  2997. the char-id expected by the script engine. [Skotlex]
  2998. * Cleanup in itemheal related code, fixed the item heal group bonus not
  2999. working on Groups beyond 7. [Skotlex]
  3000. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  3001. 2006/06/29
  3002. * Made the map server send list of characters online to the char-server on
  3003. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  3004. temporary disconnection would make the char-server tag all characters
  3005. offline and refuse to save them afterwards. [Skotlex]
  3006. * Fixed guild storage being "eternally in use" if you quit/logout before
  3007. closing it. [Skotlex]
  3008. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  3009. [Skotlex]
  3010. * [Fixed]
  3011. - Scripting system screwing up script position after mixing timers with menus.
  3012. - NPC attached AI mobs display as alive when dead.
  3013. - View data not updating after buildin_unitdeadsit.
  3014. [Improved]
  3015. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  3016. - Simplified scripting system. sd will now use pointer to the script state itself.
  3017. [Lance]
  3018. 2006/06/28
  3019. * changed:
  3020. dynamic_pass_failure_ban_how_many:from 3 to 7
  3021. dynamic_pass_failure_ban_how_long:from 60 to 5
  3022. as in official servers. [Musashiden]
  3023. * Added a check in script command "set_option" so that invoking
  3024. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  3025. * Added trade-range check on trade start. [Skotlex]
  3026. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  3027. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  3028. to be used on enemies. [Skotlex]
  3029. * Cleaned up a bit the code for @item [Skotlex]
  3030. * Fixed character/storage being sent to be saved TWICE when you logged out
  3031. while the storage is opened. [Skotlex]
  3032. * Added save_settings map config. Specifies after which events do
  3033. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  3034. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  3035. [Skotlex]
  3036. * Changed the mob drop rate adjust function to receive a signed int
  3037. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  3038. * Corrected Musical Strike having a different damage equation from Throw
  3039. Arrow. [Skotlex]
  3040. * Added state rewarp to players. It gets set when a pc_setpos call is
  3041. triggered while the player is changing maps so that when the player finish
  3042. loading the map, it is inmediately rewarped to where it has been
  3043. rewarped/recalled to. [Skotlex]
  3044. 2006/06/27
  3045. * Map server will now resent the whole list of online characters to
  3046. char-server on reconnect when the kick_on_disconnect setting is active.
  3047. [Skotlex]
  3048. * Cleaned up and optimized the IP sync code. New login_athena config
  3049. setting sync_ip_interval specifies how often to sync the ip. The default is
  3050. 0 (disabled). [Skotlex]
  3051. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  3052. on maps with this mapflag on, rather than every map. [Skotlex]
  3053. * High Jump can now be used in all versus maps. [Skotlex]
  3054. * Added Kaite's opt3 value, taken from jA [Skotlex]
  3055. * Added state dirty == 2 to storages. Signals when a storage was sent for
  3056. final saving. Said storage is removed from memory after the ack from the
  3057. char-server, and they are sent to save if the map/char servers reconnect
  3058. before the ack arrives. In short: they are guaranteed to be saved after a
  3059. char logs out. [Skotlex]
  3060. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  3061. 2006/06/26
  3062. * Corrected the element of hunter traps. [Skotlex]
  3063. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  3064. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  3065. [Skotlex]
  3066. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  3067. * Rough implementation of Ground Drift according to description and jA
  3068. info. [Skotlex]
  3069. * Implemented Tatami Gaeshi using skill description and jA implementation
  3070. for reference. [Skotlex]
  3071. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  3072. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  3073. Meruru for pointing out they aren't being used anymore. [Skotlex]
  3074. * Autospells will now again check for the skill's nk value, so that skills
  3075. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  3076. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  3077. equipment (fixes them showing up "broken" and with random refine levels)
  3078. [Skotlex]
  3079. * [Added]:
  3080. - buildin_unitkill just for kicks. [Lance]
  3081. 2006/06/23
  3082. * [Optimized]:
  3083. - Setting of variables with defined scope in some frequently executed script
  3084. events.
  3085. [Added]:
  3086. - Missing script_require_trigger flags for some power hungry events.
  3087. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  3088. * Modified pc_setoption so that it will correctly update sprite AND clothes
  3089. color when mounting/unmounting changing into/from xmas/wedding sprites.
  3090. [Skotlex]
  3091. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  3092. to be sold, traded, dropped, etc. [Skotlex]
  3093. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  3094. and before card reductions. The skill now completely disregards left
  3095. hand weapon. [Skotlex]
  3096. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  3097. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  3098. * Cleared up the comment on what item_check does and how it works.
  3099. [Skotlex]
  3100. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  3101. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  3102. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  3103. to forbid skills from common maps. [Skotlex]
  3104. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  3105. * The map search free cell will now use the size of the map # of tries
  3106. before giving up when the spawn area is the whole map. Added a check to
  3107. inmediately give up when the number of spawn retries has reached the max
  3108. specified (no_spawn_onplayer = 100). [Skotlex]
  3109. * Cleaned up a bit the clone code to account for the unit flags
  3110. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  3111. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  3112. * Added pc_bonus_autospell_del, gives support for removing autospell
  3113. effects. When a negative rate is specified, it will decrease the chance of
  3114. casting (eg: You have two different cards with autospell Heal +20% each,
  3115. then do autospell -30. The second card will be cancelled, and the first one
  3116. will become Heal +10%) [Skotlex]
  3117. * npc_timers now will not restore the previous timer data when there's no
  3118. players attached (when it's strictly an npc timer). This should reenable
  3119. the old behaviour of getnpctimer returning the total ellapsed time since
  3120. "startnpctimer" even after the last label has been reached. However, this
  3121. behaviour won't apply to player-attached timers. [Skotlex]
  3122. * [Fixed]:
  3123. - MAPREGSQL overloading SQL table with temperory map registries.
  3124. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  3125. 2006/06/22
  3126. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  3127. This should complete the required packets for PACKETVER 7. [Skotlex]
  3128. * Added support for the PACKETVER 7 packets in the "dummy" current
  3129. intravision implementation. [Skotlex]
  3130. * Fixed @autoloot being off by 0.01% when entering a manual value.
  3131. [Skotlex]
  3132. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  3133. each target is hit N times (where N is the number of mobs in the splash
  3134. area at the moment of triggering). [Skotlex]
  3135. * Updated the tools/stackdump script to also handle sig-plugin generated
  3136. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  3137. the end or not. Help me test it as I want this script on stable NOW :X
  3138. [Skotlex]
  3139. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  3140. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  3141. stackdump as before. [Skotlex]
  3142. * Corrected autoloot so that you can specify rate with decimal precision
  3143. ("@autoloot 0.01" should work) [Skotlex]
  3144. 2006/06/21
  3145. * [Removed]:
  3146. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  3147. * [Fixed]:
  3148. - Compilation warnings and errors.
  3149. [Improved]:
  3150. - Changed and moved IP sync status messages to elaborate more. [Lance]
  3151. * Tested and fixed resolve_hostbyname. Applied said function around most of
  3152. the code where needed. Removed includes for the OS/network system pretty
  3153. much from every file (our socket.c file should handle this) [Skotlex]
  3154. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  3155. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  3156. [Skotlex]
  3157. * status_percent_change will now account for when the target's max hp/sp is
  3158. above INT_MAX. [Skotlex]
  3159. * [Added]:
  3160. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  3161. 2006/06/20
  3162. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  3163. really ARE the same value clientside! (totally stupid), therefore I've
  3164. opted from removing the flying animation since it really just displays as
  3165. Xmas for others (and the correct fix involves adding a bunch of
  3166. class-change packets...) [Skotlex]
  3167. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  3168. Fling. [Skotlex]
  3169. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  3170. in skill_check_condition, fixed the skill so that it's damage is based on
  3171. whatever zeny is specified in skill_require_db. [Skotlex]
  3172. * Can-act delay will not be reset when warping now. [Skotlex]
  3173. * Fixed Quagmire not altering walking-speed. [Skotlex]
  3174. * Silence now blocks skills both on begin/end casting. [Skotlex]
  3175. * Updated status_calc_bl so that when walking speed changes, the character
  3176. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  3177. 2006/06/19
  3178. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  3179. * Combo-used Skills with State "move_enable" will now override the "can't
  3180. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  3181. * Some more cleanups of battle_calc_damage to account for absorbed damage
  3182. reductions. [Skotlex]
  3183. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  3184. Now we are back to where the skill animation does not shows, but you DO
  3185. get SP T.T' [Skotlex]
  3186. * Some cleanups and corrections in battle.c to account for negative
  3187. (absorbed) damage. [Skotlex]
  3188. * Fixed fame-list updating crashing char-sql server when the given char-id
  3189. just got into ranking. [Skotlex]
  3190. * Added missing Arunafeltz maps with information from NLZ [Evera]
  3191. 2006/06/18
  3192. * [Fixed]:
  3193. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  3194. filling the SkillStatusChangeTableArray with junk data.
  3195. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  3196. - Typo in parse_frommap. [Lance]
  3197. * [Fixed]:
  3198. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  3199. * [Temperory Fixed]:
  3200. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  3201. * [Removed]:
  3202. - Large part of scripted mob control commands are removed.
  3203. - Large part of scripted player control commands are removed.
  3204. - Scripted mob slaves changing master ID.
  3205. [Added]:
  3206. - Unit control commands.
  3207. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  3208. - Macro RECURSIVE_MASTER_CHECK in battle.c
  3209. [Modified]:
  3210. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  3211. and buildin_unitskillusepos.
  3212. - md->callback_flag to short (double word). [Lance]
  3213. 2006/06/17
  3214. * Devotion absorbed damage will now appear to come from oneself (instead of
  3215. the original attacker changing directions towards the Crusader) [Skotlex]
  3216. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  3217. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  3218. someone logs out <.< [Skotlex]
  3219. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  3220. * [Added]:
  3221. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  3222. [Improved]:
  3223. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  3224. - mob_script_callback to return sucess value [Lance]
  3225. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  3226. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  3227. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  3228. 2006/06/16
  3229. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  3230. lost) [Skotlex]
  3231. * Corrected @speed to alter your base speed instead of battle one. Means
  3232. the change remains for much longer (until status_calc_pc is invoked, which
  3233. could be due to equipping/unequipping stuff) [Skotlex]
  3234. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  3235. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  3236. damage be reduced by half. This bonus stack, so two cards with
  3237. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  3238. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  3239. specifies the threshold before the bNoMagicDamage starts blocking support
  3240. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  3241. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  3242. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  3243. * Removed db_tables.sql as it's no longer used. [Skotlex]
  3244. * the mvp_sd is removed when the mob is the emperium and there's no
  3245. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  3246. event from triggering and giving the castle to whoever damaged the most the
  3247. emperium without destroying it. [Skotlex]
  3248. * [Added]:
  3249. - Custom slave mobs to inherit the callback_flag.
  3250. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  3251. * [Improved]:
  3252. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  3253. 2006/06/15
  3254. * [Fixed]:
  3255. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  3256. [Lance]
  3257. * Added indexes for loginlog and ipbanlist as they did not have any.
  3258. (note, someone already put the index on loginlog on trunk.) [Euph]
  3259. * Merged Adam's patch to let the char-server handle validation of
  3260. pet-name-change requests through the allowed char letters config. [Skotlex]
  3261. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  3262. gear already equipped. [Skotlex]
  3263. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  3264. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  3265. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  3266. options. [Skotlex]
  3267. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  3268. * Corrected chrif_save so that the player is not set offline on map-change.
  3269. [Skotlex]
  3270. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  3271. [Skotlex]
  3272. * Fixed clif_parse_RemoveOption removing all options instead of just
  3273. Falcon/Cart/Peco [Skotlex]
  3274. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  3275. source is not on the map yet. [Skotlex]
  3276. * Fixed and cleaned up script command 'equip' [Skotlex]
  3277. * Fixed 'autoequip' items. [Skotlex]
  3278. * Fixed Aspd not being updated in your status window after Agi/Dex
  3279. increasing statuses take effect. [Skotlex]
  3280. 2006/06/14
  3281. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  3282. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  3283. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  3284. vit; resist += (max - resist)*luk/300; [Skotlex]
  3285. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  3286. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  3287. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  3288. array to fill in. [blackhole89]
  3289. * Blocked again skill usage during marionette. [Skotlex]
  3290. * Fixed main.sql adding a key on char_id rather than account_id for the
  3291. char table. [Skotlex]
  3292. * Cleaned up character saving in char-sql, it no longer needs to query the
  3293. database to see if the player exists on each char-save, instead it checks
  3294. the received data against the online-players db. No such fix is required
  3295. for char-txt. [Skotlex]
  3296. * Added an error message on the char-server when the received player data
  3297. size does not matches with the expected size (should avoid the crash that
  3298. happens on such a memcpy). [Skotlex]
  3299. * [Improved]:
  3300. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  3301. queries. [Lance]
  3302. 2006/06/13
  3303. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  3304. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  3305. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  3306. * Marionette and Devotion will now check raw distance and ignore obstacles
  3307. and the like. [Skotlex]
  3308. * Added irc_channel_pass setting and prevent crashing when irc server
  3309. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  3310. * [Fixed]:
  3311. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  3312. [Lance]
  3313. * Added support for reading correctly status change data from Guild and
  3314. Homun skills. [Skotlex]
  3315. * Added support for reading Homun skill data (which means the HM skills are
  3316. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  3317. * Oppositions can't be made during WoE now. [Skotlex]
  3318. * Fixed a few compiler warnings from VC [Skotlex]
  3319. * Commented out the Homunculus Skills<->Status Change link which was
  3320. causing some memory corruptions. [Skotlex]
  3321. 2006/06/12
  3322. * [Fixed]:
  3323. - buildin_npcshopitem not allocating extra 1 block of terminator.
  3324. [Added]:
  3325. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  3326. [Lance]
  3327. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  3328. to the player's buffer. [Skotlex]
  3329. * Updated @noask to also tell the user what he has just rejected (added
  3330. msg_athena entries for each of the different requests). Also updated it to
  3331. use clif_disp_onlyself. [Skotlex]
  3332. * Fixed a pair of missing initializers in the clif storage functions.
  3333. [Skotlex]
  3334. * @heal no longer displays a healing animation. Fixes the client believing
  3335. you couldn't be healed more than 32K. [Skotlex]
  3336. * Now you can use any skills (except encore/dancing ones) while under
  3337. Longing for Freeding. [Skotlex]
  3338. * Now you can use any skills while under Marionette Control. [Skotlex]
  3339. * Fixed npc_checknear's distance check returning the opposite of what it
  3340. should (false when the range is correct and viceversa) [Skotlex]
  3341. * Added a warning on item loading when an item is of equippable type but
  3342. has no equippable position. [Skotlex]
  3343. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  3344. * Slaves can summon other mobs now. The only ones who can't do this are
  3345. player summoned mobs. [Skotlex]
  3346. * Merged the following functions for faster processing of items: [Skotlex]
  3347. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  3348. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  3349. clif_itemlist + clif_equiplist = clif_inventorylist
  3350. Note that the changes are a bit substantial and need proper testing!
  3351. * Increased max knockback value support to 25. [Skotlex]
  3352. * [Optimized]:
  3353. - buildin_npcshopitem memory allocation to calculate before reallocating.
  3354. [Lance]
  3355. * Made guild member exp an unsigned int. [Skotlex]
  3356. * Various cleanups to the npc clicking related functions. Should fix quite
  3357. some possible crashes from crafted packets. [Skotlex]
  3358. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  3359. * Added missing update of INT after a buf. [Skotlex]
  3360. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  3361. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  3362. of on the party members. [Skotlex]
  3363. * Modified clif_parse_NpcClicked to handle the different situations with
  3364. different bl-objects (attack on players/mobs, click on npcs or mobs with
  3365. npc attached) [Skotlex]
  3366. 2006/06/09
  3367. * [Fixed]
  3368. - Compilation warnings on guild.c and int_guild.c [Lance]
  3369. * Added structure party_data and party_member_data to the map server to
  3370. hold party-specific required information about parties including
  3371. Monk/TK/SG/SN states and party member count. Family information is still
  3372. missing, and handling of the state should probably be done by the
  3373. char-server, too... [Skotlex]
  3374. * party Hp updates are no longer done each time the Hp is modified, but
  3375. together with the party xy timer. It means HP-bars will be a bit delayed
  3376. before being updated, but packet consumption should be much less during
  3377. heated battles. [Skotlex]
  3378. * Fixed MoM's typo [Vicious]
  3379. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  3380. * [Improved]:
  3381. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  3382. [Lance]
  3383. * [Fixed]:
  3384. - Execution of sleep/sleep2 more than once will hang the script_state.
  3385. [Lance]
  3386. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  3387. back to your last savepoint. [Skotlex]
  3388. * Moved guild_exp_rate from a mapserver battle config setting to a char
  3389. server config. It no longer modifies the total taxed exp as seen on the
  3390. guild information window, but directly modifies the exp that the guild
  3391. earns. [Skotlex]
  3392. * Added an error report and correction when the map server receives a guild
  3393. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  3394. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  3395. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  3396. 2006/06/08
  3397. * Modified guild exp to be an unsigned int rather than a signed one.
  3398. [Skotlex]
  3399. * Fixed @skilltree printing out Unknown job for most targets used.
  3400. [Skotlex]
  3401. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  3402. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  3403. characters. [Skotlex]
  3404. * Modified map_freeblock_unlock so that aFree errors will report the
  3405. file/line that INVOKED the function rather than the function itself.
  3406. [Skotlex]
  3407. NOTE: Do NOT disable the memory manager as that will break this change.
  3408. This change is to be temporarily set until the afree'd error can be
  3409. resolved.
  3410. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  3411. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  3412. [Skotlex]
  3413. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  3414. to hold the speed adjustment value rather than speed penalty (eg: 125
  3415. instead of 25). [Skotlex]
  3416. * Cleaned up status_calc_speed so that speed penalties are correctly
  3417. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  3418. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  3419. 2006/06/07
  3420. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  3421. * Fixed item-skills not showing up on login. [Skotlex]
  3422. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  3423. only on first-login and which ones are required on all map-changes.
  3424. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  3425. sent on map-change (items, cart data and zeny still need to be sent one
  3426. very map-change). [Skotlex]
  3427. * Fixed the mob state not being set to Berserk/Angry correctly after the
  3428. mob reaches the target's location. [Skotlex]
  3429. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  3430. warped between maps when stepping on a npc-warp. [Skotlex]
  3431. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  3432. npc-warp when their current target has switched maps. [Skotlex]
  3433. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  3434. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  3435. * pc_gain_exp now also receives the source of the exp, when said source
  3436. exists, bonuses are applicated as needed. [Skotlex]
  3437. * Added status_kill when capturing a mob, should take care of the mob not
  3438. respawning after caputed. [Skotlex]
  3439. * Fixed item info not displaying the found item id [Skotlex]
  3440. * Fixed item info not displaying the weight value properly. [Skotlex]
  3441. * Adjusted status resistances and durations taking as base Viccious's info
  3442. from the kro guidebook. [Skotlex]
  3443. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  3444. should display the skill animation correctly now. [Skotlex]
  3445. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  3446. [Skotlex]
  3447. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  3448. * Removed char_nick2id from char-sql server as it's no longer needed.
  3449. [Skotlex]
  3450. * Fixed quitting the map server not properly saving the storage before
  3451. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  3452. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  3453. function. [Skotlex]
  3454. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  3455. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  3456. has a 300% base chance reduced by mdef and the like as explained out by
  3457. Tharis. [Skotlex]
  3458. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  3459. target's int. [Skotlex]
  3460. * [Improved]:
  3461. - mob_dead not to remove script controlled monsters with player sprites.
  3462. [Added]:
  3463. - buildin_mobdeadsit :D [Lance]
  3464. * [Fixed]:
  3465. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  3466. mob_damage. Thanks to seahorsix. [Lance]
  3467. * [Fixed]:
  3468. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  3469. * [Optimized]:
  3470. - list and size not being initialized (size get intialized in default: switch case)
  3471. Eliminated default case and initialized list and size at the beginning. [Lance]
  3472. 2006/06/06
  3473. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  3474. to the mobs level up setting. [Skotlex]
  3475. * Removed a piece of code that should no longer be needed due to the
  3476. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  3477. self-skills from being used on others (pets/mobs should be allowed to do
  3478. that) [Skotlex]
  3479. * Added a status_check_skilluse call in Sightblaster to prevent it from
  3480. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  3481. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  3482. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  3483. * The monsters can level up setting will not take effect when the mob's
  3484. level is LESS than their db counter-part (should prevent under-leveling
  3485. causing underflows and semi-immortal mobs) [Skotlex]
  3486. * Fixed mvp-exp calculations being messed up with more than one attacker.
  3487. [Skotlex]
  3488. * Changed the mob exp race bonus so that each player gets their own bonus,
  3489. rather than the killer's bonus applying to everyone. Still not the
  3490. "correct" way, but one step closer to it. [Skotlex]
  3491. * [Fixed]:
  3492. - Allocation of event_list in guild_npc_request_info to aCalloc so
  3493. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  3494. 2006/06/05
  3495. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  3496. * Hopefully fixed changing a mob's class causing them to get all sort of
  3497. stat bonuses due to the mobs-level-up setting. [Skotlex]
  3498. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  3499. to signed char to correctly account for cards with penalties in said stats.
  3500. [Skotlex]
  3501. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  3502. * Added clif_fixpos packets before attacking for the first time to clear
  3503. any position sync issues with the client. [Skotlex]
  3504. * Fixed skill_unitsetting using layout->count for the for instead of
  3505. group->count [Skotlex]
  3506. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  3507. increase dex/agi by 40% per level. [Skotlex]
  3508. * Fixed char-sql server not deleting character variables when deleting a
  3509. char. [Skotlex]
  3510. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  3511. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  3512. overflows/underflows. [Skotlex]
  3513. 2006/06/03
  3514. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  3515. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  3516. you relogged. Thanks to Euph for the fix.
  3517. * Added variable other_mapserver_count to chrif.c which holds total count
  3518. of connected map-servers. By using this we prevent sending unnecessary
  3519. packets to the char-server when there's no more map-servers connected.
  3520. [Skotlex]
  3521. - Affected packets are whispers, announces, party messages, guild messages.
  3522. 2006/06/02
  3523. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  3524. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  3525. target is near obstacles. [Skotlex]
  3526. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  3527. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  3528. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  3529. fails. Fixes cases where the client gets "stuck" and refuses to let you
  3530. pick any items. [Skotlex]
  3531. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  3532. to 1 tile to make it act more like in the official servers.
  3533. * Some cleaning of the mob slave ai. [Skotlex]
  3534. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  3535. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  3536. skill levels above 10 (meant for boss casted skills) [Skotlex]
  3537. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  3538. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  3539. [Skotlex]
  3540. * [Fixed]
  3541. - Yet another compilation warning. [Lance]
  3542. 2006/06/01
  3543. * Altered status_calc_pc so that equipment scripts are ran before
  3544. card-scripts. [Skotlex]
  3545. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  3546. [Skotlex]
  3547. - These two together, should fix Tao Gunka Card.
  3548. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  3549. [Skotlex]
  3550. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  3551. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  3552. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  3553. without removing it when the skill level is greater than one. [Skotlex]
  3554. * Added SC_DANCING declaration in the Status Change tables to signal it
  3555. modifies Walk speed. [Skotlex]
  3556. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  3557. (eg: poison, berserk) [Skotlex]
  3558. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  3559. affected by Quagmire/Forget-me-not. [Skotlex]
  3560. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  3561. [Skotlex]
  3562. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  3563. cart. [Skotlex]
  3564. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  3565. * Fixed Autoblitz taking into account target's luck rather than attacker's
  3566. [Skotlex]
  3567. * Fixed slaves warping endlessly to their master when the master-slave
  3568. distance exceeds 30. [Skotlex]
  3569. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  3570. [Skotlex]
  3571. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  3572. incorrect range variable. [Skotlex]
  3573. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  3574. 2006/05/31
  3575. * Fixed Soul Drain not really giving you SP [Skotlex]
  3576. * [Fixed]:
  3577. - Suppressed compilation warning in chrif.c [Lance]
  3578. * [Fixed]:
  3579. - Guys can't go across map-servers :( [Lance]
  3580. * [Fixed]:
  3581. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  3582. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  3583. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  3584. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  3585. delay. [Skotlex]
  3586. * Made the char_name_option char_athena.conf setting apply to parties and
  3587. guilds as well. It cannot be applied to pets yet without adding a
  3588. change-name-request interserver packet. [Skotlex]
  3589. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  3590. [Skotlex]
  3591. * Added function char_read_fame_list for famelist reading. Invoked it on
  3592. init, and made it be sent automatically to connecting map servers.
  3593. [Skotlex]
  3594. * Some cleaning of the fame-list reading code. [Skotlex]
  3595. * Some cleaning of the fame-update code, fixed a logic bug which made the
  3596. ranking list fail to display the correct ranker names. [Skotlex]
  3597. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  3598. [Skotlex]
  3599. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  3600. status_calc_bl. [Skotlex]
  3601. * [Fixed]:
  3602. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  3603. * [Improved]:
  3604. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  3605. * [Fixed]:
  3606. - nullpo in pet.c caused by equipping without checking if the pet is available.
  3607. [Lance]
  3608. * [Fixed]:
  3609. - Latest client support completed! [Lance]
  3610. * [Fixed]:
  3611. - Missing #include for cbasetypes.h in login server SQL.
  3612. - Logic errors in run_script [Lance]
  3613. * [Added]:
  3614. - Partial support for latest login packet. But it seems to have a new security
  3615. module. [Lance]
  3616. 2006/05/30
  3617. * [Improved]:
  3618. - Fake NPC interface to use real NPCs.
  3619. - Scripting interface to restore and save sd->npc_id. [Lance]
  3620. * Added function pc_check_skilltree for checking if you unlocked new
  3621. tree-skills when raising non-passive skills. [Skotlex]
  3622. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  3623. the base status. [Skotlex]
  3624. * [Fixed]:
  3625. - Compatibility problems in login.c [Lance]
  3626. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  3627. * [Added]:
  3628. - Mercenary.c in VS.NET 2005 project files
  3629. [Improved]:
  3630. - loginlog using unsigned long `ip` field.
  3631. (Please check for compatibility problems). [Lance]
  3632. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  3633. bonuses (like effect-on-hit) to stack. [Skotlex]
  3634. * slaves inherit speed setting will now work regardless of whether the
  3635. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  3636. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  3637. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  3638. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  3639. attacks. [Skotlex]
  3640. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  3641. * Fixed the pcbonus2 warnings using the wrong value before printing the
  3642. invalid Element error. [Skotlex]
  3643. * Fixed underflow issues when calculating dmotion. [Skotlex]
  3644. * Fixed Absorb Spirit Spheres [Skotlex]
  3645. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  3646. specifies in ms what is the min delay between player sent chats
  3647. (whisper/global/party/guild). Messages that exceed this threshold are
  3648. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  3649. player?) [Skotlex]
  3650. * [Fixed]:
  3651. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  3652. * Rewrote/cleaned up @petfriendly. [Skotlex]
  3653. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  3654. * Updated attr_fix_table reading code to account for ELE_MAX (will
  3655. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  3656. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  3657. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  3658. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  3659. * Added error messages in pc_bonus* functions when an invalid element is
  3660. passed to the relevant bonuses. [Skotlex]
  3661. * [Optimized]:
  3662. - clif_specialeffect to use the enums.
  3663. [Improved]:
  3664. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  3665. definition. [Lance]
  3666. * [Added]:
  3667. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  3668. * Removed the on-die specific code from unit_remove_map and placed it on
  3669. the corresponding *_dead functions. unit_remove_map should never assume the
  3670. char died, it is just a "remove from map" function. [Skotlex]
  3671. * Updated status_damage to handle the general death code (clearing status
  3672. changes, clearing skill related data, sending death packet, etc). The
  3673. return value from the *_dead functions will tell it what to do or not with
  3674. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  3675. * Cleaned up pc_dead to take advantage of the fact that status changes are
  3676. not ended until after the function. [Skotlex]
  3677. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  3678. [Skotlex]
  3679. * Updated/adapted current Homun code to use the status_data update.
  3680. [Skotlex]
  3681. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  3682. * [Fixed]:
  3683. - Pets attacking even master is dead. [Lance]
  3684. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  3685. (negative values should be allowed when attack is absorbed by target's
  3686. element) [Skotlex]
  3687. 2006/05/29
  3688. * [Fixed]:
  3689. - Missing ';' in item #4358 [Lance]
  3690. * [Fixed]:
  3691. - Missing maps in map index database. [Lance]
  3692. * [Fixed]:
  3693. - Battle mechanics in battle_check_target [Lance]
  3694. * [Fixed]:
  3695. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  3696. [Lance]
  3697. * Cleaned up friend list saving and fixed loading of friends.txt file
  3698. (char-txt) [Skotlex]
  3699. * Added the Arunafeltz maps, not tested yet [Playtester]
  3700. - someone with an up-to-date client should test them
  3701. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  3702. [Skotlex]
  3703. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  3704. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  3705. instead of BL_PC and BL_MOB [Skotlex]
  3706. * [Fixed]:
  3707. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  3708. * Removed Undead being inmune to poison status. [Skotlex]
  3709. * Removed speed penalty from SC_SKA [Skotlex]
  3710. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  3711. * SC_DODGE won't be dispelled on death now. [Skotlex]
  3712. * [Fixed]:
  3713. - pc_follow_timer possible triggering crash.
  3714. - pc_reg_received to use battle_status.hp instead of status.hp
  3715. [Added]:
  3716. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  3717. * Added a division by zero check in mob_dead to prevent the (impossible)
  3718. case where a mob dies with received damage of zero. [Skotlex]
  3719. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  3720. Non-Players. This usually signals Self skills, and mobs/pets should be able
  3721. to use them in other characters. [Skotlex]
  3722. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  3723. * Fixed draining when the amount drained is negative (invoke zap rather
  3724. than heal) [Skotlex]
  3725. * Implemented GS_FLING as per the current skill description. [Skotlex]
  3726. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  3727. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  3728. * Added some missing SC_* entries on the initial listing (potion related
  3729. and speed up ones) [Skotlex]
  3730. * Fixed function declaration of map_getcellp() [Skotlex]
  3731. * [Fixed]:
  3732. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  3733. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  3734. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  3735. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  3736. * [Optimized]:
  3737. - Removed unused variable (account_id) in storage_guild_storagesaved.
  3738. * [Optimized]:
  3739. - Removed unused checks for unsigned data type and possible logic error for
  3740. char type (gcc treats char as unsigned). [Lance]
  3741. * [Fixed]:
  3742. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  3743. 2006/05/28
  3744. * Added functions status_revive, pc_revive and mob_revive to handle revival
  3745. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  3746. [Skotlex]
  3747. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  3748. Bladestop causing an unknown status change message). [Skotlex]
  3749. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  3750. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  3751. * [Fixed]:
  3752. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  3753. * [Protected]:
  3754. - clif_parse_LGMmessage from possible hacks [Lance]
  3755. * Fixed unable to store n items into storage unless n was the total amount
  3756. of items you had. [Skotlex]
  3757. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  3758. 2006/05/27
  3759. * Added structure status_data which holds status-related information (str,
  3760. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  3761. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  3762. to be used by all combat structures (TODO: Homun needs to be updated to use
  3763. it). This in change involves a LOT of changes throughout the code and many
  3764. optimizations were done as well. Partial list (see svn changelog for complete
  3765. changes): [Skotlex]
  3766. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  3767. skills I changed the most, but it is possible there are unnoticed bugs
  3768. remaining to fix!
  3769. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  3770. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  3771. - Added status functions to deal with damage and healing (status_damage,
  3772. status_heal, status_percent_change) and a bunch of defines for easier
  3773. handling of them (status_percent_heal, status_percent_damage,
  3774. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  3775. THIS, pc_damage/mob_damage most no longer be directly invoked!
  3776. - Rewrote and cleaned up battle_calc_misc_attack
  3777. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  3778. pet_attack_attr_none into attack_attr_none (type 4)
  3779. - Removed config options player_defense_type, monster_defense_type,
  3780. pet_defense_type in favor of weapon_defense_type
  3781. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  3782. - Modified Slim Pitcher so it will work when casted by non-players. Will
  3783. now also work with SP-healing items.
  3784. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  3785. switch adelay/speed when cast begins/ends.
  3786. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  3787. easier updating when used in conjunction with ground skills.
  3788. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  3789. - Added status_calc_bl which does status-change related calculations using
  3790. as base the base_status of the bl object and the SCB_* flag passed. This is
  3791. invoked on status changes, and status_calc_pc will no longer be invoked
  3792. (which results on much faster status-change calculations).
  3793. - pc_clean_skilltree will now also remove item-granted skills.
  3794. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  3795. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  3796. packets and functions ONCE regardless of skill-levls earned.
  3797. - Cleaned up pc_ regen related functions.
  3798. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  3799. - Clones will copy a player's base status rather than battle status (so
  3800. status-change alterations are not cloned)
  3801. 2006/05/26
  3802. * Part B of the homunculus code. [blackhole89]
  3803. While most of the homunculus handling functions are in now, it still lacks
  3804. code required for players to create it.
  3805. Given I haven't screwed up, you could master yourself one through the DB though.
  3806. * Fixed crashing in mob.c [Lance]
  3807. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  3808. * Mob control engine tested 99% working so far. [Lance]
  3809. * Change scripting engine's NPC scope vars to dot (.) style.
  3810. * Improved and (should be fully) fixed the mob control engine. [Lance]
  3811. * Fixed typos in char.c [Lance]
  3812. * Rewrote fame rank lists system to reduce char-server load, as requested by
  3813. Skotlex: now it has a copy of those lists, and updates only the proper one
  3814. when needed instead of rebuilding all from saves everytime (which required
  3815. to always save the character before rebuilding the lists) [DracoRPG]
  3816. - Note it hasn't been compiled nor tested with SQL, please do it for me
  3817. 2006/05/25
  3818. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  3819. int-based damage component (which is added right before elemental
  3820. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  3821. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  3822. Fixed atcommand @request MSG numbers accordinly.
  3823. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  3824. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  3825. * Increased capacity for Account Variables to 64 [Skotlex]
  3826. * Reverted Intravision implementation to that of stable's. [Skotlex]
  3827. * Corrected Login Server taking it's first argument as both login config
  3828. and lan config. [Skotlex]
  3829. * Fixed mob control commands.
  3830. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  3831. 2006/05/24
  3832. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  3833. * Item sharing now shares the same rules as exp sharing (no sharing when
  3834. dead, or idle, etc) [Skotlex]
  3835. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  3836. aren't supposed to be able to call minions) [Skotlex]
  3837. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  3838. skill was successful. May fix the client-position lag. [Skotlex]
  3839. * Merged item_db.sql from stable (the one from stable was more recent than
  3840. the one of trunk...) [Skotlex]
  3841. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  3842. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  3843. ban request packet. [Skotlex]
  3844. 2006/05/23
  3845. * Corrected mob angry mode, now it only "restores" itself after being hit
  3846. when the mob has no target within their range of sight rather than on
  3847. picking a new target. [Skotlex]
  3848. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  3849. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  3850. * the charname request hack message has been downgraded to only include
  3851. GM-invisible characters. [Skotlex]
  3852. * corrected clif_charnameack to send negative ID when a disguised player
  3853. asks for it's own disguised name. [Skotlex]
  3854. * Cleaned up the disguised target-id checks taking into considering that
  3855. the only character that sees a negative ID is the same disguised character.
  3856. [Skotlex]
  3857. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  3858. defense), Investigate and Icepick will now use the final def/vit-def values
  3859. rather than the base ones. [Skotlex]
  3860. * The move-enable condition checks for skills are now checked for only when
  3861. on skill use, not at cast-end time. [Skotlex]
  3862. * Corrected clif parse name request failing on disguised characters [Skotlex]
  3863. * Corrected Soul Drain draining from all non-ground-based skills including
  3864. non-magic attacks. [Skotlex]
  3865. * Corrected pc_setoption to change the option and then change class.
  3866. changing option-wedding will automatically convert the view-class as well.
  3867. [Skotlex]
  3868. * Corrected the 15% drop rate increase when killing higher level mobs in
  3869. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  3870. Vayu. [Skotlex]
  3871. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  3872. db each time o_o [Lance]
  3873. * Fixed sleep command. [Lance]
  3874. * Added 'setd' support for local NPC scope (') variables. [Lance]
  3875. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  3876. 2006/05/22
  3877. * Updated skill_delayfix to return 0 for mobs since they have no skill
  3878. delay other than the one specified in mob_skill_db [Skotlex]
  3879. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  3880. Vayu for pointing it out. [Skotlex]
  3881. * status_get_sc_tick will now use directly Stun's formula rather than
  3882. invoking the status sc chance once. [Skotlex]
  3883. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  3884. * Modified Investigate to take into consideration final def/vit-def rather
  3885. than base values for damage adjustment. [Skotlex]
  3886. * WARNING: New scripting system contains memory leak
  3887. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  3888. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  3889. * Fixed compilation errors.
  3890. Tidy up jobmaster for easy debugging. [Lance]
  3891. 2006/05/21
  3892. * Part A of the Homunculus code.
  3893. This only features the structures, status_* and clif_* (packets) and is
  3894. not functional yet in any conventional way, but doesn't interfere
  3895. with present functionality either.
  3896. Main purpose is helping me to keep my work organized. [blackhole89]
  3897. * Fixed the "fake" mute status bug. [Zido]
  3898. * Speed up array size calculation and deletion. [Lance]
  3899. * Player must learn the skill before doing auto-spell [Lance]
  3900. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  3901. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  3902. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  3903. 2006/05/20
  3904. * grfio_final moved back if any of GRF overriding is enabled so servers
  3905. with such configuration will not have different values after reloading. [Lance]
  3906. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  3907. * Abit of alterations to login-server. [Lance]
  3908. 2006/05/19
  3909. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  3910. * Small change in pc_additem that could be fixing the current bug with new
  3911. items not getting added. [Skotlex]
  3912. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  3913. * Likely fixed the mob-skill random picking behaviour causing infinite
  3914. loops sometimes. [Skotlex]
  3915. * Modified mobskill_use behaviour to pick a random starting point and check
  3916. skills from that, rather than always checking from first to last. Fixes
  3917. skills with high priority blocking skills lower down in the list from
  3918. triggering. [Skotlex]
  3919. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  3920. current target cannot be reached for melee fighting. [Skotlex]
  3921. 2006/05/18
  3922. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  3923. [Skotlex]
  3924. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  3925. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  3926. * Optimized pc_additem comparisons to account for items with more than four
  3927. slots. [Skotlex]
  3928. * Updated clif.c to enable retrieval of items from cart/storage while
  3929. trading. Exception is retrieving items from the cart while vending.
  3930. [Skotlex]
  3931. - The reasoning is that an ongoing trade will not get "corrupted" if you
  3932. earn items before it is commited (only if you lose items from your
  3933. inventory), and it is an annoyance when you realize the stuff you want to
  3934. trade is on the cart/storage.
  3935. * skill reiteration code now does not checks for the trigger-area of the
  3936. skill in the case of non-players, which means mobs can now place traps in
  3937. cells adjacent to each other. [Skotlex]
  3938. * Applied an experimental weather code that should lower bandwidth usage to
  3939. near-none, which's only disadvantage should be the weather not clearing out
  3940. until moving to another map (even when the mapflag is removed from the
  3941. current map). Please test and report if there's any anomalies with it.
  3942. [Skotlex]
  3943. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  3944. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  3945. * MO_BODYRELOCATION will send the slide packet with the actual src's
  3946. coordinates rather than selected tile. [Skotlex]
  3947. 2006/05/17
  3948. * Modified mob_can_changetarget to return true always when the new target
  3949. is the provoked-by character. Fixes provoke not making the mob change
  3950. target when it already is locked on another player. [Skotlex]
  3951. * Added check to clear previous skill when combo time ends. Should fix TK
  3952. Rankers being unable to initiate a combo with the same kick their previous
  3953. combo was finished with. [Skotlex]
  3954. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  3955. 2006/05/16
  3956. * Modified "hide woe damage" to send the number of hits rather than 1 as
  3957. damage Because when the damage is less than the number of hits, the client
  3958. will display MISS. [Skotlex]
  3959. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  3960. [Skotlex]
  3961. * Blood Drain always hits now. [Skotlex]
  3962. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  3963. delay useless) [Skotlex]
  3964. * Search free cell will now skip picking the center-tile as target
  3965. location. Will prevent slaves from walking on top of their master, or mobs
  3966. placing stuff right under themselves with the "around" target conditions
  3967. among other things. [Skotlex]
  3968. 2006/05/15
  3969. * Small changes to the skill.conf
  3970. - Monsters now can place ground skills on top of each other by default
  3971. - Land_Skill_Limit format changed and set to "Only Players" by default
  3972. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  3973. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  3974. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  3975. skill level is above 10. [Skotlex]
  3976. * Sorted out the item_data structure, getiteminfo should work correctly
  3977. now. [Skotlex]
  3978. * KA* skills can now be casted on other Soul Linkers as well without the
  3979. Spirit requirement. [Skotlex]
  3980. * Soul Drain will now show the SP drained regardless of drain display
  3981. settings. [Skotlex]
  3982. * SC_COMBO state will now end in skill_attack rather than
  3983. skill_check_condition (as it is required there to apply damage bonuses
  3984. based on combo-casted skills) [Skotlex]
  3985. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  3986. [Skotlex]
  3987. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  3988. servers. [Skotlex]
  3989. * When removing a castle's owning guild, the char servers will erase the
  3990. guardian data now. [Skotlex]
  3991. * Changed the behaviour of immobile mobs when they can't chase their
  3992. target. Rather than using a longrange skill and then unlocking, they will
  3993. use an attack/angry state skill and then unlock. [Skotlex]
  3994. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  3995. * Fixed clif_GlobalMessage being the exact same function as clif_message
  3996. (the first should send to ALL_CLIENT and the later should send to
  3997. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  3998. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  3999. * Characters in vending are now always considered "idle" if the
  4000. idle_no_share setting is active. [Skotlex]
  4001. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  4002. * Remaining fixes for item scripts. [Lance]
  4003. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  4004. 2006/05/12
  4005. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  4006. * Bugfix on fake npc [Lance]
  4007. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  4008. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  4009. the target is a nonplayer (rather than always) [Skotlex]
  4010. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  4011. player" while 0,0 are random around the whole map (regardless of whether
  4012. there's a player attached or not) [Skotlex]
  4013. * Knockback will no longer work on traps during woe. [Skotlex]
  4014. 2006/05/11
  4015. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  4016. [Skotlex]
  4017. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  4018. of 40% per level. [Skotlex]
  4019. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  4020. [Skotlex]
  4021. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  4022. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  4023. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  4024. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  4025. [Skotlex]
  4026. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  4027. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  4028. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  4029. Tanaous [Skotlex]
  4030. * Added back the missing code that substracts arrows when normal-attacking.
  4031. [Skotlex]
  4032. 2006/05/10
  4033. * Changed the state of Asura back to explosionspirits, added a hardcoded
  4034. move_enable check when invoking Asura and NOT while in BladeStop or a
  4035. Combo. [Skotlex]
  4036. * Added back SC_XMAS to status.c, it got lost sometime during all the
  4037. previous reworkings. [Skotlex]
  4038. * Changed wedding costumes to use setoption rather than changebase.
  4039. [Skotlex]
  4040. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  4041. removes it. [Skotlex]
  4042. * Updated script_commands with the new behaviour. [Skotlex]
  4043. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  4044. than 15. [Skotlex]
  4045. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  4046. 2006/05/09
  4047. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  4048. [Skotlex]
  4049. * Added @request commands, sends a request to all connected GMs of
  4050. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  4051. users (UNTESTED). [Skotlex]
  4052. * Modified @commands to use Meruru's code which is faster and does a fair
  4053. attempt at tabulating the commands presented. [Skotlex]
  4054. * Updated SKA to return a random value between 0 and 99 each time
  4055. status_get_def is invoked. [Skotlex]
  4056. * Updated Making Arrow to not include unidentified items in the list.
  4057. [Skotlex]
  4058. * Reduced drop slots from 15 to 10. [Skotlex]
  4059. * Updated mob_db.sql with the current data. [Skotlex]
  4060. * Updated setoption script command to receive a second (optional) argument
  4061. flag. If the flag is 1, the option is added to what the player currently
  4062. has; likewise using flag 2 removes only that option. No flag (or any other
  4063. value) is the older behaviour of removing all other options and setting
  4064. specificly what is passed. [Skotlex]
  4065. * Updated script_commands information for setoption due to this change.
  4066. [Skotlex]
  4067. * Small fix in npc-created chat rooms to properly include the terminating 0
  4068. on the chat's event. [Skotlex]
  4069. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  4070. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  4071. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  4072. move and the attacker is out of it's attack range. [Skotlex]
  4073. * Added missing icon for Joint Beat [Skotlex]
  4074. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  4075. * Treasure chests will now be excluded from the mob-drop listings
  4076. (@whodrops) [Skotlex]
  4077. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  4078. for the same skill. [Skotlex]
  4079. * Updated main.sql's loginlog table structure. [Skotlex]
  4080. * Added svn_update6533.sql to update the loginlog structure as suggested by
  4081. theultramage. [Skotlex]
  4082. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  4083. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  4084. when crafted for non-players. [Skotlex]
  4085. * Script commands sc_start, sc_start2 and sc_start4 will now start
  4086. regardless of sc defense of the target player (that is, they cannot be
  4087. avoided/blocked) [Skotlex]
  4088. * Fixed a possible counter overflow in attacked_count, changed the var size
  4089. to unsigned char since the code can handle the overflow now. [Skotlex]
  4090. * Multiple targets again reduces armor defense, as reported by Tharis.
  4091. [Skotlex]
  4092. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  4093. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  4094. 2006/05/08
  4095. * Reverted the change that was making ES skills stun the caster always.
  4096. [Skotlex]
  4097. * Removed the fixpos packet which is sent whenever you are hit while moving
  4098. as Aegis doesn't sends this packet neither. [Skotlex]
  4099. * ES magic will now put the caster on stun for 0.5 secs regardless of
  4100. whether the skill-target is a mob or not. [Skotlex]
  4101. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  4102. party-member joins. This packet (as redundant info as it has) should also
  4103. contain the field for "adoptability", but that needs to be coded in yet.
  4104. [Skotlex]
  4105. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  4106. checks and the reply packets still need to be coded in. [Skotlex]
  4107. * Happy State and TK stances won't dispel on death now. [Skotlex]
  4108. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  4109. skill_check_condition now. [Skotlex]
  4110. * Modified TK-ranker infinite combos to behave as described by AuronX.
  4111. Refer to his thread in the development section for details. [Skotlex]
  4112. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  4113. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  4114. (guessed, but better than 100% for all levels) [Skotlex]
  4115. * Changed max level of NPC status effect skills to 5 [Skotlex]
  4116. * Increased max number of tries to find a random spot in maps to 1000 since
  4117. some maps have so many non-walkable tiles it's hard to find one in just 100
  4118. tries. [Skotlex]
  4119. * status_set_viewdata will remove the Wedding Option status when you set a
  4120. class that is not wedding. [Skotlex]
  4121. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  4122. * idletime will now be updated on attack-request, not on sit/standup
  4123. [Skotlex]
  4124. * Party members sitting will no longer be considered idle. [Skotlex]
  4125. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  4126. with the disguise/undisguise script commands instead). [Skotlex]
  4127. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  4128. the other skill that can show critical as well) [Skotlex]
  4129. * Corrected some fields in the standing still packet (guild emblem being
  4130. stored as a Long when it should be Short) [Skotlex]
  4131. * Modified most fields of view_data to be unsigned shorts rather than
  4132. signed ones. [Skotlex]
  4133. * On-Touch NPCs will now make you stop walking when you trigger them.
  4134. [Skotlex]
  4135. * ShadowJump/JumpKick will make you land on the target's cell now.
  4136. [Skotlex]
  4137. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  4138. 2006/05/07
  4139. * Fixed readme/changelog.html [KillerBox]
  4140. * Removed old logs. [Lupus]
  4141. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  4142. 2006/05/05
  4143. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  4144. before sending one (as it's not required to send twice).
  4145. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  4146. players and still continues execution to work). [Lance]
  4147. * Updated item_db.sql to current. [Skotlex]
  4148. * Fixed a bug in @commands, most likely the reason some people were still
  4149. getting crashes. [Skotlex]
  4150. * Fixed @commands not showing the last available commands (unless the total
  4151. amount of commands is divisible by ten) [Skotlex]
  4152. * Added a npc-script-event cache to avoid looking up event-scripts every
  4153. time they need to be executed. Events cached are all those defined in
  4154. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  4155. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  4156. the related NPCs or you'll get dangling pointer crashes. However,
  4157. @reloadscript will work fine.
  4158. - Set the etc_log to on to see a summary of npcs/events loaded for script
  4159. execution on startup.
  4160. * The Rest bonus activated by using /doridori while in rest should now
  4161. trigger with all the class tree (TK/SL/SG) [Skotlex]
  4162. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  4163. player rather than the one attacking... [Skotlex]
  4164. * /doridori now won't double the HP/SP regen of TKs, it only activates
  4165. their "happy" state. [Skotlex]
  4166. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  4167. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  4168. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  4169. (even if there's no other TK around). [Skotlex]
  4170. * Added battle config settings view_range_rate and chase_range_rate to
  4171. adjust the view-range and chase-range (range2/range3) of the mob_db without
  4172. having to manually change them (battle/monster.conf) [Skotlex]
  4173. * Kaupe now will only block all skills of players, for non-players, only
  4174. normal attacks can be missed. [Skotlex]
  4175. * Moved the Kaite spell-reflect code after the damage calculation function,
  4176. so the reflected damage is exactly the damage the original target would
  4177. have received. Will only trigger if the damage to be reflected is above 0.
  4178. [Skotlex]
  4179. * OnEquip scripts will now trigger on log-on. [Skotlex]
  4180. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  4181. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  4182. start/end infinite endure. [Skotlex]
  4183. * Fixed Kaahi's SP cost per heal. [Skotlex]
  4184. * Now when walkdelay is set to 0, characters will stop walking when hit,
  4185. but will not have any walk delay. (previously setting walk delay to 0 would
  4186. not even stop characters from walking when hit) [Skotlex]
  4187. 2006/05/04
  4188. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  4189. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  4190. * Some clean-ups in the mob_ai [Skotlex]
  4191. * Improved atcommand autoloot, now displays droprate in percents and notices
  4192. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  4193. commited by erKURITA
  4194. * Added one grace range in the mob_loot search function which should fix
  4195. mob_can_reach failing when invoked with the same distance that distance_bl
  4196. returned. [Skotlex]
  4197. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  4198. * Eska is now usable on bosses. [Skotlex]
  4199. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  4200. * clif_skill_failed will print out a debug line with the skill_id (since
  4201. the current null_po does not helps at all to fix it) [Skotlex]
  4202. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  4203. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  4204. damage accumulates in the time2 interval (500ms by default) after being
  4205. hit. [Skotlex]
  4206. * Changed skill_unit_move_unit_group to enable moving of all types of
  4207. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  4208. 2006/05/03
  4209. * Kaahi now triggers every 500ms rather than on every hit (but it only
  4210. heals if in those 500ms an attack that would previously trigger Kaahi has
  4211. taken effect). In other words, it works just like before, except damage
  4212. gets "buffered" into 500ms slots. [Skotlex]
  4213. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  4214. * Knowledge will now only trigger if you logon to the memorized map, not
  4215. walk into it. [Skotlex]
  4216. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  4217. [Skotlex]
  4218. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  4219. and not fix the pet issue, but I doubt it'll cause any problems that won't
  4220. be fixed by making the pet move. [Skotlex]
  4221. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  4222. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  4223. 2006/05/02
  4224. * Fixed standing up not really standing you up. [Skotlex]
  4225. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  4226. skill_castend_nodamage_id and skill_castend_pos2 rather than
  4227. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  4228. state is active and a ground skill was not invoked. It should fix all
  4229. issues with splash/ground skills consuming ammo per target rather than once
  4230. per skill use. [Skotlex]
  4231. * Added structure state to the ground skills, their fields are magic_power,
  4232. into_abyss and ammo_consume to indicate the states that were previously
  4233. stored in val3. [Skotlex]
  4234. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  4235. not showing up though, I'll need some logged packets to see what's missing.
  4236. [Skotlex]
  4237. * Removed the unit_can_move checks in skill cast-end, they should be
  4238. performed in skill_check_require when the skill's state is move_enabled.
  4239. [Skotlex]
  4240. * Changed extremity fist's state to move_enabled, the explosion spirits
  4241. check is now hardcoded. [Skotlex]
  4242. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  4243. Haplo. [Skotlex]
  4244. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  4245. impossible to steal unless you have at least 100% steal-rate (where steal
  4246. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  4247. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  4248. shops, interacting with npcs, etc. [Skotlex]
  4249. * Kaite now works against all types of spells. [Skotlex]
  4250. * Kaupe now works against all skills. [Skotlex]
  4251. * Sanctuary now won't damage non-enemies. [Skotlex]
  4252. * Blessing now will always give you bonus stats even if you are wearing
  4253. undead armor. [Skotlex]
  4254. * Modified how Rogue's treasure works so that you get +1% to your steal
  4255. rate rather than +0.01% to the final rate. [Skotlex]
  4256. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  4257. officials (implementation is not quite the same, but it should yield the
  4258. same effects while consuming less bandwidth). "Stacking", as it's called,
  4259. is possible now, but limited to eA's minimum timer skill interval (100ms).
  4260. [Skotlex]
  4261. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  4262. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  4263. behaves). [Skotlex]
  4264. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  4265. * SC_FUSION won't end when you die now. [Skotlex]
  4266. 2006/05/01
  4267. * Added knockback when you run into a wall during running. However
  4268. position is not being refreshed on the client yet... [Skotlex]
  4269. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  4270. * Corrected a crash when sd is null in npc_event [Skotlex]
  4271. * After testing to make sure it works properly, I'm including
  4272. new battle conf options to limit MVP drops. [Reddozen]
  4273. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  4274. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  4275. since it has a visual effect to use. [Skotlex]
  4276. * Corrected the value of OPTION_FLYING [Skotlex]
  4277. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  4278. * status_setviewdata will set your option accordingly when the previous/new
  4279. view-class is wedding or xmas suit. [Skotlex]
  4280. * Added function map_foreachinshootrange, behaves the same way as
  4281. map_foreachinrange, but it also performs a "shoot-path" check before
  4282. invoking the function. Used in the skill subtimer function if
  4283. skill_wall_check is defined. [Skotlex]
  4284. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  4285. all memo points used up. [Skotlex]
  4286. * Fixed alive_count not being reset on skill unitsetting, which leads to
  4287. some groups not being cleared once all their units expire. [Skotlex]
  4288. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  4289. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  4290. * SKA no longer blocks skills. [Skotlex]
  4291. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]