Changelog-Trunk.txt 268 KB

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