Changelog-Trunk.txt 277 KB

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