Changelog-Trunk.txt 261 KB

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