Changelog-Trunk.txt 169 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972
  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. 2006/09/13
  5. * SC_CHANGE cannot override itself anymore. This fixes being able to
  6. "recast" the skill while it's still active to lengthen the duration AND
  7. reheal the target. [Skotlex]
  8. * Changed a bit the dnsbl lookup in the login servers to make it faster.
  9. [Skotlex]
  10. * Moved the pc rate modifiers from items
  11. (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from
  12. status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and
  13. also fixes Osiris card not applying to said bonuses. [Skotlex]
  14. * Fixed pc_damage_delay_rate not working, thanks to Orn. [Skotlex]
  15. * Modified the nocommand mapflag so you can specify the GM range that is
  16. blocked from using commands (eg: "prontera.gat mapflag nocommand 40"
  17. disables commands to characters in the GM range 0~39) [Skotlex]
  18. * Modified the char-server TXT whisper system to use the online_db to know
  19. to which map server forward whispers, instead of just sending the whisper
  20. to every map server. [Skotlex]
  21. * Readded the setting TCP_NODELAY on socket.c to see if it fixes the
  22. walk-lag issue. [Skotlex]
  23. 2006/09/12
  24. * Modified the login SQL server so that case insensitive lookups use "where
  25. name = BINARY 'name'" instead of "where BINARY name = 'name'", since this
  26. way the name index should be used, and performance will no longer be
  27. heavily affected. [Skotlex]
  28. * Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on
  29. the tables memo/friends, and online/name on the char table. Added
  30. upgrade_svn8728.sql to add these indexes to already existing tables.
  31. [Skotlex]
  32. * Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible
  33. with Mysql 4 installations. [Skotlex]
  34. * Moved the morph restrictions from skill_additional_effect to
  35. mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or
  36. treasure boxes. [Skotlex]
  37. * Fixed 'range' might be used uninitialized warning [Toms]
  38. * Added Jaguar's sql script to convert all tables to MyISAM. It's located
  39. in sql-files/convert_engine.sql WARNING: Using MyISAM is much faster than
  40. InnoDB, but you are strongly recommended to backup your database before
  41. switching engines since we don't know if eA is fully coded to work
  42. correctly with MyISAM yet. [Skotlex]
  43. * Added manual deletion of sc_data entries when deleting a character
  44. (char-SQL) [Skotlex]
  45. * Updated main.sql to use pure MyISAM tables, removed all foreign keys.
  46. [Skotlex]
  47. * Updated battle_switch to use strncmpi instead of strcmpi, it makes it so
  48. using "yessir" will match "yes", this is actually needed because if you set
  49. a config setting to "yes " (notice the trailing space), then the map config
  50. engine fails to read it right, and will set the config setting to 0 (no).
  51. [Skotlex]
  52. * Some corrections to hate_mob cleanup when triggering the Angel stuff. [Skotlex]
  53. * Updated the show_mob_info setting to add another space to the separating
  54. pipes, so that each field is separated by " | " instead of " |". [Skotlex]
  55. * Homunculus intimacy will go back to 500 on evolution. [Skotlex]
  56. * Baphomet splash damage will now hit nearby enemies regardless of flee
  57. (but the initial attack still has to connect for the splash to trigger)
  58. [Skotlex]
  59. 2006/09/11
  60. * Modified set_nonblocking and setsocketoptions in socket.c, using eApp's
  61. code as reference. Hopefully should improve performance somewhat. [Skotlex]
  62. * Added a comment explaining what a comment is to login/char/map config
  63. files, as well as the main script config file. [Skotlex]
  64. * Modified SG_FEEL so that it works the same way that in Aegis
  65. (packet-wise) [Skotlex]
  66. * Added a comment to explain how to "remove" a string variable from the
  67. msg_athena entries. [Skotlex]
  68. * Summoned and slave mobs won't show up on @showmobs anymore. [Skotlex]
  69. * Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix,
  70. so that damage will be doubled based on the actual attack element.
  71. [Skotlex]
  72. * Adjusted autospell cards to trigger only on physical weapon attacks.
  73. [Skotlex]
  74. * Adjusted a bit the heal code, it should now show either the full heal
  75. amount, or 0, depending on whether the target was healed at all or not
  76. (this also means it shows 0 if you try to heal a full-life character.. but
  77. it's the closest I've gotten to make it display 0 on Berserked chars)
  78. [Skotlex]
  79. * Memorize will be consumed even on instant cast spells now. [Skotlex]
  80. * Berserk will end now if hit and remaining hp is less or equal to 100.
  81. [Skotlex]
  82. * Guild Aura will be removed on sc-load to prevent Guild Masters from
  83. getting that bonus from the old implementation. [Skotlex]
  84. * Added D-Kalck's fix of the TXT -> SQL converter [Playtester]
  85. 2006/09/10
  86. * Thanks to KarLaeda, added missing function in @showmobs [Lupus]
  87. - Script function 'query_sql': In the TXT version it doesn't fill the array
  88. and always return -1. Added for scripts compatibility. Your scripts
  89. won't crash in TXT version. They can work it around.
  90. I suggest we need a function getversion()
  91. * Updated item_db.sql and mob_db.sql [Playtester]
  92. 2006/09/09
  93. * Added a crash protection in case mapfreeblock unlock tries to free a null
  94. pointer. [Skotlex]
  95. * Moved perfect_hiding from state to special_state, so that it clears out
  96. when you remove your pet. [Skotlex]
  97. * Probably fixed the Taekwon Rest skills. [Skotlex]
  98. * Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy:
  99. X entries missing, continuing destruction. Manager for entries of size
  100. 16.") [Skotlex]
  101. 2006/09/08
  102. * Unified the rest and ganster paradise code into a single function.
  103. [Skotlex]
  104. * Moved the Happy State trigger to the regen function, it now triggers at
  105. the same time SPTIME does. [Skotlex]
  106. * Cleaned up SG_HATE, hope it works now. [Skotlex]
  107. * Removed sg_miracle_skill_duration, replaced it with
  108. sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify
  109. a range for the duration of the skill. [Skotlex]
  110. * Added upgrade_svn8675.sql in case, for some reason, your guild table
  111. still has the emblem_data field as a 'blob' with "NOT NULL" specified.
  112. [Skotlex]
  113. * Fixed alliance/opposition making not cancelling out map-server-side when
  114. the guild already had max number of alliances/oppositions (thanks to k3dt)
  115. [Skotlex]
  116. 2006/09/07
  117. * Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg:
  118. wand of hermod) [Skotlex]
  119. * Cleaned up the doridori parse clif function. [Skotlex]
  120. * Merged some of mpeg's work on NJ skills [Skotlex]
  121. * Removed the Warmth "stacking" code. [Skotlex]
  122. * Added back the effect of /doridori to skill-SP regen [Skotlex]
  123. * Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low
  124. chance of triggering on doridori-boosted SP-regen events. However, it has
  125. no client-side messages yet (need to add these in) [Skotlex]
  126. * Added sg_angel_skill_ratio to specify rate at which the Angel skill
  127. triggers. [Skotlex]
  128. * Added unit_cancel_combo which takes care of ending a combo time and
  129. resuming normal attack 'inmediately' [Skotlex]
  130. * Cleaned up some the SG_HATE code, you can't change hate targets anymore.
  131. [Skotlex]
  132. 2006/09/06
  133. * Fixed the memset in status_calc_pc, corrects some mysterious bugs such as
  134. item-drop bonuses suddenly not working anymore. [Skotlex]
  135. * Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
  136. [Skotlex]
  137. * Fixed Aex Aeterna ending on Soul Breaker's first half. [Skotlex]
  138. * Applied Orn's modification on speed increases/reductions with increase/
  139. decrease agi [Toms]
  140. 2006/09/05
  141. * Removed setting mob_show_hp, it's been replaced now by mob_show_info,
  142. which can be used to specify what kind of info should be displayed from a
  143. mob. Current options are two different formats for Hp display, and current
  144. level (monster.conf). [Skotlex]
  145. * Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%
  146. [Skotlex]
  147. * Applied the Ultra Mage's suggestion to have the map server strip trailing
  148. spaces/comments from the config files. It will also now print out when an
  149. unknown config setting is found. [Skotlex]
  150. * Fixed status change resistance not being invoked at all for pretty much
  151. all cases. [Skotlex]
  152. * Corrected SC_INTRAVISION not starting. [Skotlex]
  153. * Fixed crash when attempting to read a Label as a string on a script
  154. (thanks to End of Exam) [Skotlex]
  155. * Fixed possible crash when changing a chat-room's owner (thanks to End of
  156. Exam) [Skotlex]
  157. * Fixed dispell removing SC_NOCHAT [Skotlex]
  158. * Small fix which should correct skill_attack damaging hidden characters
  159. when it shouldn't. [Skotlex]
  160. * Fixed connect_until field being a smallint rather than int in the login
  161. table (upgrade with upgrade_svn8630.sql) [Skotlex]
  162. 2006/09/04
  163. * Fixed crash when using Adaptation during an Encore. [Skotlex]
  164. * Should have fixed manner being reset to 0 on logout while muted.
  165. [Skotlex]
  166. * Removed status_get_sc_tick, duration and chance are now both handled by
  167. status_get_sc_def (this means status change duration and success rate
  168. both will always follow the very same formula) [Skotlex]
  169. * Fixed mob-kill experience getting screwed up when characters who did
  170. damage die/logout at the moment the mob dies. [Skotlex]
  171. * Should have fixed "sleep", thanks to Lance for figuring out the error.
  172. [Skotlex]
  173. * SC_REFLECTSHIELD will now be passed to devoted characters at cast-time.
  174. [Skotlex]
  175. * Added a check to make a mob's level 1 if the read level from the db is
  176. less than it. [Skotlex]
  177. * status_calc_misc will now be invoked in status_calc_bl even on the first
  178. call, since status could have gone up due to skill bonuses. [Skotlex]
  179. * Moved max HP/SP calculations to before invoking status_calc_misc
  180. [Skotlex]
  181. * Simplified distance and check_distance to use "aegis" methods (greater of
  182. dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when
  183. set, the previous method is used, and "for each in range" calls will also
  184. check for distances, making most ground skills and battle system use real
  185. circles instead of squares. [Skotlex]
  186. 2006/09/03
  187. * Fixed SC_BERSERK's no regen penalty lasting pretty much forever.
  188. [Skotlex]
  189. 2006/09/02
  190. * SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather
  191. than blocking all types of regen. [Skotlex]
  192. * LK_BERSERK will now only block natural regen on state-end. [Skotlex]
  193. * SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural
  194. sp regen and not skill regen [Skotlex]
  195. * SC_REGENERATION blocking will be cancelled on logout now. [Skotlex]
  196. * Corrected SCB_LUK not updating SCB_BATK as well. [Skotlex]
  197. 2006/09/01
  198. * Corrected script_commands description of getequipid, it returns -1, not 0
  199. on fail. [Skotlex]
  200. * Fixed the mob-id check during pet_db loading, it will also now print when
  201. a pet is not loaded due to having an invalid mob class specified. [Skotlex]
  202. * The "delete_timer error/no such timer" report will now print the related function [Toms]
  203. * The Clearing unused stack report will now print the related NPC [Toms]
  204. * The duplicate npc report will now print the related file name [Toms]
  205. * Added config setting "partial_name_scan", which specifies whether @ given
  206. names should use a partial string lookup or absolute name lookup. Defaults
  207. to no (gm.conf) [Skotlex]
  208. * Expanded status_calc_misc so it may also calculate the batk of characters
  209. as well as their regen data (if they have it) [Skotlex]
  210. * Fixed a memory leak when using charsave_method:1 [Skotlex]
  211. * Soul Breaker will now be affected by Lex Aeterna on both parts of the
  212. attack. [Skotlex]
  213. * Status changes with no skill and no SCB* data will now go through if they
  214. have an SI* icon. This should fix SC_MIRACLE [Skotlex]
  215. * Reverted switching a mob's adelay/amotion when the later is longer than
  216. the former, now both get updated to amotion. [Skotlex]
  217. 2006/08/31
  218. * Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to
  219. skill_counter_additional_effect [Skotlex]
  220. * Simplified skillnotok_hom by using an invocation to skillnotok [Skotlex]
  221. * Hopefully fixed BD_ADAPTATION [Skotlex]
  222. * Homun won't lose any intimacy on death now. [Skotlex]
  223. * Homun will be saved together with the master now (as long as the homun is
  224. active) [Skotlex]
  225. * Modified the error reporting in map_freeblock_unlock so that when there's
  226. an error, the reported line number is the file's linenumber plus the
  227. object's type *10000. This is for debug information to help track down the
  228. already-freed error. [Skotlex]
  229. * pc_adopt will now preserve the kid's job/job-level/experience. This means
  230. that if you adopt a Swordman level 45, it will become a baby-swordman level
  231. 45, with the exact same exp as before. [Skotlex]
  232. * Fixed new mob's name not sent to the client when the mob is morphed [Toms]
  233. * Added setting attack_walk_delay which specifies whether a character
  234. should (or not) be able to move inmediately after starting a normal attack
  235. (battle.conf). Defaults to 0 since that's what Aegis uses. [Skotlex]
  236. * Fixed @summon's delete timer being screwed up. [Skotlex]
  237. * Cleaned up a bit the summon script command. [Skotlex]
  238. * Fixed the clone script command's delete-timer being screwed up. [Skotlex]
  239. 2006/08/30
  240. * Skill required-state will now only be checked on cast-begin, not
  241. cast-end. [Skotlex]
  242. * Added a check in status_calc_pc to prevent player rate adjustments from
  243. from going below 0. [Skotlex]
  244. * Removed sending normal-damage packets instead of skill packets for
  245. splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
  246. * Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
  247. vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
  248. minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]
  249. * Fixed up char-sql compilation. [Skotlex]
  250. * Added a message to @clearweather stating when climate changes will
  251. dispel. [Skotlex]
  252. * Corrected @hidenpc saying that it's command name was "@npcoff" [Skotlex]
  253. * Updated itemdb reading on the char-sql server so that it reads both
  254. item_db and item_db2 files (totally untested yet) [Skotlex]
  255. 2006/08/29
  256. * Added printing out whenever the irc-module attempts to connect, to debug
  257. whether the map-server lag is due to this or not. [Skotlex]
  258. * Mobs will now always chase players using hard-path seeks. [Skotlex]
  259. * monster_ai&1 now only signals whether mobs should update their target
  260. cell while chasing more frequently (rather than being state-driven like
  261. Aegis) [Skotlex]
  262. * Changed the defaults of view_range_rate and chase_range_rate to 120 to
  263. aproximate better Aegis's view ranges (which are square areas and not
  264. circles) [Skotlex]
  265. * Applied Mpeg's work on GS [Toms]
  266. ( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
  267. * Fixed a syntax error in @showmobs [Toms]
  268. * Added @showmobs. It shows selected mobs on your mini-map (excluding
  269. mini-bosses & MVP) thanks to KarLaeda for the command [Lupus]
  270. 2006/08/28
  271. * Modified the dancing code and Moonlit Petals in particular, so that it is
  272. treated as an ensemble like any other, it will just knockback people when
  273. they step into it. [Skotlex]
  274. * The memory leak reports will now print out in the logs also the revision
  275. they belong to. [Skotlex]
  276. * Cleaned up the scriptable npc-shop code, it should be crash-proof now.
  277. [Skotlex]
  278. * Added TK level-up buffs to SG too, and extended them to 10 min [DracoRPG]
  279. * Added "Barefeet Mastery" effect to TK_RUN (thanks Tharis for both) [DracoRPG]
  280. * Changed the produce_db format, now there's a skill-lv column right after
  281. the skill-id column to specify required skill-level to craft this item.
  282. [Skotlex]
  283. * Modified the skill produce_db code to take into account the new skill-lv
  284. requirement. [Skotlex]
  285. * Fixed exp bonuses applying twice for the job-exp [Skotlex]
  286. * @reloadbattleconf will now also update the ragsrvinfo table on the
  287. char-server. [Skotlex]
  288. * Fixed homun hp/sp growth rates stacking with HP/SP passive increasing
  289. skills. [Skotlex]
  290. 2006/08/27
  291. * Fixed undefined reference to 'malloc_set' in log.c [Toms]
  292. * Updated svn-revision reading, now it can read the new svn file system [Toms]
  293. * Fixed a bug with homunc which could spawn on a non-walkable cell [Toms]
  294. 2006/08/26
  295. * Optional macro MEMSET_TURBO for faster low-level memory initializations. [Lance]
  296. * Small bug fix in read_homunculus_expdb (a warning was always displayed) [Toms]
  297. * Small adjustment on the mob_ai code which could fix mobs not chasing you
  298. if you hit them from the maximum possible diagonal distance. [Skotlex]
  299. 2006/08/25
  300. * Cleaned some the skill unit removal added flag so that it signals whether
  301. the skill is being force-removed, or it has "naturally expired". [Skotlex]
  302. * The following skills will display a normal attack animation now:
  303. NPC_WATERATTACK, NPC_GROUNDATTACK, NPC_FIREATTACK, NPC_WINDATTACK,
  304. NPC_POISONATTACK, NPC_HOLYATTACK, NPC_DARKNESSATTACK,
  305. NPC_TELEKINESISATTACK, NPC_SPLASHATTACK
  306. * Skills that require a weapon and consume spirit spheres will no longer be
  307. auto-tagged to require ammo. [Skotlex]
  308. * Now MISC skills with delay 0 will also use the attack delay (if the skill
  309. is tagged to do damage) [Skotlex]
  310. * Added script commands roclass/eaclass to enable scripts to access eA's
  311. job format. Read script_commands.txt and ea_job_system.txt for a more
  312. complete explanation of how this job system works. [Skotlex]
  313. * Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.
  314. If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in
  315. UNT_WARP_WAITING and will destroy it. [Toms]
  316. ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102
  317. when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE )
  318. 2006/08/24
  319. * Little cleanup on homunc's code [Toms]
  320. * Modified @reloadmobdb & @reloadskilldb to reload homunc's db too [Toms]
  321. * Now when a mob's adelay is set to be less than the amotion, both values
  322. will be swapped (this is an attempt to understand how those mobs actually
  323. work on aegis) [Skotlex]
  324. * script command "isrefine" will no longer return always false for equip
  325. positions above 6 (this has not been needed since the addition of the
  326. refine column to tbe item_db many months ago) [Skotlex]
  327. * Added NPC_CRITICALSLASH to the list of skills that display as a normal
  328. attack. [Skotlex]
  329. * Reverted the previous change, changed the pet capture code to try to
  330. capture a mob based on their view class rather than actual class.
  331. [Skotlex]
  332. * Fixed the md->class_ variable not being updated when a mob's class is
  333. changed. [Skotlex]
  334. * Added setting clear_skills_on_warp to specify when a character's
  335. land-based skills are deleted when the caster changes maps. Defaults to all
  336. types. [Skotlex]
  337. * Should have fixed Brandish Spear not passing the flag to skill_attack,
  338. causing it to do miserable damage. [Skotlex]
  339. * Warp Portal will no longer be removed when caster steps through it (this
  340. is left to the new clear_skills_on_warp setting) [Skotlex]
  341. * Cleaned up status_percent_change to switch equations when the target has
  342. high hp to prevent overflows, also it will directly take hp/maxhp when a
  343. rate of 100 or higher is passed to prevent calculations. [Skotlex]
  344. * Traps and Land Elemental fields are no longer automatically removed on
  345. map change (handled now by clear_skills_on_warp) [Skotlex]
  346. * traps_setting &2 no longer does anything (handled now by blah blah)
  347. [Skotlex]
  348. * Applied some change from mpeg on Ninja Skills [Toms]
  349. * Put HVAN_Explosion based on max_hp instead of current hp [Toms]
  350. 2006/08/23
  351. * Fixed mob_clone_spawn completely ignoring the mode variable. [Skotlex]
  352. * Fixed Energy Coat reducing and consuming more than it should when you
  353. have 100% SP [Skotlex]
  354. * Cleaned up getmapxy script function, also added support for type 4 so
  355. that it returns a player's homunculus position if such exists. [Skotlex]
  356. * SC_ARMOR_ELEMENT looks like gone away from status_change_start since ... rev 6791.
  357. Try to reimplement it. [Toms]
  358. * Fixed HVAN_EXPLOSION [Skotlex]
  359. * Frost Nova won't display a nodamage skill packet (still need to sort out
  360. a way to fix the splash damaged packets) [Skotlex]
  361. * Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknown [Toms]
  362. * Added debug on "Inifity loop" to know which script is making this loop [Toms]
  363. 2006/08/22
  364. * More fixes to the splash code. Kamaitachi and Sharpshooting should
  365. display correctly now. [Skotlex]
  366. * Fixed a crash on the mobspawn script command. [Skotlex]
  367. * Made SC_FLEET increase batk as well as watk. [Skotlex]
  368. * Fixed gcc warning [Toms]
  369. * Fixed AM_REST not closing the homunc status window [Toms]
  370. * Fixed SC_NEN according to Mpeg [Toms]
  371. * Added a ShowStatus("Terminating...\n") on login-server_sql [Toms]
  372. * Some corrections to make Tatami Gaeshi work correctly. [Skotlex]
  373. * Fixed SBR44 doing 100% more damage than it should. [Skotlex]
  374. * Some more work on the splash skill code. Now splash-damaged enemies
  375. should show no animation at all, just the damage-number, while only the
  376. targetted character should still display the full skill animation.
  377. [Skotlex]
  378. * Modified the homun-txt file-save format to separate the name from the
  379. rest of fields with tabs (like character saving does), this may fix homun
  380. save/loading when using non-latin characters on the name, but be warned
  381. that it also means the previous homun-data files are lost! (unless you
  382. replace the comma before the start of a name with a tab) [Skotlex]
  383. * getnameditem will now also work on stackable items [Skotlex]
  384. * Corrected battle_calc_weapon_attack so that all skills ignore your
  385. left-hand weapon, and that the Katar's double-attack damage bonus for the
  386. offhand damage applies ONLY on normal attacks. [Skotlex]
  387. * Fixed Resurrect Homunculus's % to 20*lv% [Skotlex]
  388. * Added SQL update which should remove \' from guild names [Toms]
  389. * Added option to disable character deletion of certain levels [Lupus]
  390. check char_athena.conf for this option format
  391. 2006/08/21
  392. * Some more cleaning up of the splash skill code. Now the passed hit value
  393. for the splash targetted mobs is 9 instead of 5, this allows multi-hitting
  394. splash skills to display the number of hits correctly. [Skotlex]
  395. * Fixed call homunc bug when the homunc was vapo and the master has change
  396. of map [Toms]
  397. * Fixed SQL-Guild Creation, guild name was escaped 2 times [Toms]
  398. * Some cleaning of the splash skills. Updated skill-attack to enable again
  399. passing of flag 0xF000 which signals that the skill level sent to the
  400. client should be -1 (no skill name shouted). Should (hopefully) clear/clean
  401. up a bunch of splash damage skill animation-related packets. [Skotlex]
  402. * Homun saving won't cap hp/sp to max hp/sp since a homun can have higher
  403. hp/sp than the one stated in the db (due to skill bonuses or status
  404. changes) [Skotlex]
  405. * Cleaned up some more the regen_data structure, so that
  406. skill/sitting-skill related data is optional (since only players have it).
  407. [Skotlex]
  408. * Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values [Toms]
  409. * Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID [Toms]
  410. * Adjusted Glittering's success rate to 20+10*lv% [Skotlex]
  411. * Corrected isequipped() so that cards will not be tagged as "used up"
  412. unless all the specified items were found. [Skotlex]
  413. * Fixed a confusion in skill_attack using the src instead of dsrc for some
  414. calls, which was causing some problems with the KAITE check from AoE
  415. spells. [Skotlex]
  416. * Fixed ASC_BREAKER's misc damage part not having the ignore-element flag
  417. set. [Skotlex]
  418. * Moved homunc battle conf from misc.conf to homunc.conf [Toms]
  419. * Some cleaning in skill.c in regard to homun skills. [Skotlex]
  420. * Madness Canceller now stacks with other aspd bonuses, just like Berserk
  421. does. [Skotlex]
  422. * Removed config setting "muting_players", and expanded the manner_system
  423. config to specify how having negative manner (mute) affects a player (see
  424. battle/misc.conf). [Skotlex]
  425. * Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode,
  426. if 2 is used, it makes killing players give you a loss of 5 manner points.
  427. [Skotlex]
  428. * Fixed WS_WEAPONREFINE always failing when at less than job 50. [Skotlex]
  429. * Fixed the Autosave routine not working when there's only one player
  430. online. [Skotlex]
  431. * Disabled command @rain since the client no longer supports it anyway.
  432. [Skotlex]
  433. * Fixed delitem not checking for the first slot's card, also optimized it
  434. so that it doesn't checks on the other slots. [Skotlex]
  435. 2006/08/20
  436. * Added a check during mob_db loading so that the six basic stats, max hp
  437. and max sp are never below 1, as this could cause crashes when using
  438. certain skills. [Skotlex]
  439. * Gravitation now only blocks the caster from using potions. [Skotlex]
  440. * Corrected Madness Canceller letting you walk while the effect lasts.
  441. [Skotlex]
  442. * Splitted yet again ASC_BREAKER into a two-part attack. This time the
  443. int-based damage is a MISC type attack, and gets reduced by skills as such.
  444. [Skotlex]
  445. * Fixed "int format, long unsigned int arg" warning [Toms]
  446. * Fixed a warning when using cap_value(x, 0, x) on an unsigned value [Toms]
  447. * Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos [Toms]
  448. * Fixed homunc skill 8016 not considered as homunc skill [Toms]
  449. * @useskill will now cause your homun to use the skill instead of you if
  450. the skill is a Homun skill and you have an active homunculus. [Skotlex]
  451. * Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me
  452. that Vicious told him the chance was much lower like that) [Skotlex]
  453. * Fixed some Homunc issues with HR servers (capping some values) [Toms]
  454. * Added @hominfo command to obtain real values (not capped ones) [Toms]
  455. 2006/08/19
  456. * Fixed @homlvup bug [Toms]
  457. * Fixed AM_REST & AM_RESU consumming SP if they fail [Toms]
  458. * Fixed homunc spawning bug (they was spawned after an AM_REST + master warp for example)[Toms]
  459. * Fixed GS_GROUNDDRIFT [Skotlex]
  460. * Increased chance of GS_DESPERADO connecting to 20% [Skotlex]
  461. * Fixed battle_calc_base_damage being called for the left hand even for
  462. non-dual-wielding attacks. left-hand damage was being set to 0 later
  463. anyway, so no exploit existed. [Skotlex]
  464. * Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll
  465. apply correctly when dual-wielding different types of weapons. [Skotlex]
  466. * Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the
  467. items (0x80000 should be for them and 0x100000 should be currently unused)
  468. [Skotlex]
  469. * Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
  470. * Fixed HAMI_CASTLE [Toms]
  471. * Fixed HLIF_CHANGE [Toms]
  472. * Updated HLIF_BRAIN skill [Toms]
  473. * Fixed homunculus intimacy on feeding [Toms]
  474. * Added homunculus_friendly_rate battle config [Toms]
  475. * Some compilation warnings fixed [Toms]
  476. * Added skill's required item check on homunc skills [Toms]
  477. * Add Condensed Red Potion as a required item for HLIF_HEAL [Toms]
  478. 2006/08/18
  479. * Little code cleanup on last fix [Toms]
  480. * Fixed HLIF_HEAL healing the homunc instead of the master [Toms]
  481. * Fixed HLIF_AVOID not increasing walk speed of master [Toms]
  482. * Fixed the atk_rate (Turtle General Card) bonus not working on
  483. dual-wielders. [Skotlex]
  484. * Made HLIF_HEAL a self skill that auto-selects target to caster's master.
  485. [Skotlex]
  486. * Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE [Skotlex]
  487. * Applied a correction to HVAN_EXPLOSION [Skotlex]
  488. * Fixed Homun ASPD calculation being able to underflow and give you min
  489. speed. [Skotlex]
  490. * Added monster_ai&128 to make aggressive mobs ignore that behaviour of
  491. always picking Homun targets above player targets regardless of who is
  492. closer. [Skotlex]
  493. * Fixed homun info packet being unable to display HP/SP correctly once the
  494. values are above 32k. [Skotlex]
  495. * Applied Mpeg's work on ninja [Toms]
  496. * Fixed @homlvup [Toms]
  497. * Added guild_aura (skill.conf) setting so you can specify when it works
  498. and if it works on the guild-master itself. Defaults to working all the
  499. time on everyone except GM. [Skotlex]
  500. * Little code cleanup [Toms]
  501. * Cleaned merc_hom_evolution to avoid free'ing/realloc'ing [Toms]
  502. * Fixed "args of aFree is freed pointer" on Homunc deletion [Toms]
  503. * Changed unit_free so that it receives which cleartype should be used when
  504. the character is still on a map. Used this on status_damage so that mobs
  505. that do not respawn when killed will properly display the death animation.
  506. [Skotlex]
  507. * Fixed Energy Coat consuming 10x less SP per hit than it should.
  508. * Fixed signed/unsigned comparison issues with natural heal system [Toms]
  509. 2006/08/17
  510. * Vaporize will no fail when the homun is dead. [Skotlex]
  511. * Corrected thhe double free issue that occurs when a homun dies and has no
  512. intimacy left. [Skotlex]
  513. * Fixed the charsave_method:1 saving/loading exp as signed ints rather than
  514. unsigned. [Skotlex]
  515. * Applied use of structure regen_data for a unified regen module. Natural
  516. and skill-heal is handled by this structure, while sitting-skill-heal is
  517. still player dependant (mostly because the other object types can't sit)
  518. [Skotlex]
  519. * Cleaned up the status calc code for homun by moving it from
  520. status_calc_bl_sub_homun to status_calc_homun (where it should had always
  521. been) [Skotlex]
  522. * Updated SQL files [Playtester]
  523. * Corrected map_random_dir algorithm [Toms]
  524. * Fixed homunc natural heal and little code cleanup [Toms]
  525. * Changed AM_CALLHOMUN Skill to spawn the homunc at 1 cell from his master [Toms]
  526. 2006/08/16
  527. * Fixed being unable to recast Adrenaline Rush to reset the duration
  528. timers. [Skotlex]
  529. * Cleaned up skill_get_range2 so that using range 0 for non-self skills
  530. uses the caster's attack range. [Skotlex]
  531. * Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized
  532. homun. [Skotlex]
  533. * Spirit of Wizard will now consume an item 7321 each time it blocks
  534. reflected magic. [Skotlex]
  535. * Added script command jobname, retrieves a given's class name as per the
  536. appropiate msg_athena.txt entry (this command should had been added years
  537. ago) [Skotlex]
  538. * Fixed null-pointer crash on Evolving a homunculus. [Skotlex]
  539. * @produce now can make any kind of equipment [Skotlex]
  540. * Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster
  541. and target. [Skotlex]
  542. * AM_REST shouldn't be checking for a range now (since it's a self skill)
  543. [Skotlex]
  544. * Updated mob_ai so that mobs will use their rude-attacked skill when they
  545. can't reach their current target. [Skotlex]
  546. * Fixed the default txt config making pets be saved to the homun file
  547. instead of to the pet file. [Skotlex]
  548. * Now arrow-consuming skills where your main weapon is a whip or musical
  549. instrument WILL count as arrow-type attacks, using the atk of the arrow and
  550. all related bonuses. [Skotlex]
  551. * Fixed some homun timer initialization code. [Skotlex]
  552. 2006/08/15
  553. * Applied multiple fixes which should take care of making homun save/load
  554. work on TXT now. [Skotlex]
  555. * Added Gatling Fever's batk bonus. [Skotlex]
  556. * Some cleaning in status_damage which should prevent trying to free
  557. already free'd pointers when unit_remove_map invokes unit_free (when
  558. status_damage was going to invoke unit_free anyway) [Skotlex]
  559. * Delete homunc's skills from sql when the homunc is destroyed [Toms]
  560. * Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu [Toms]
  561. * Updated vc-project files to compile with the new int_homun files.
  562. [Skotlex]
  563. * Hopefully fixed the crash when using charsave_method = 1 [Skotlex]
  564. * Moved s_pet structure from map_session_data to pet_data, this enabled the
  565. removal of a few redundant values in the pet_data structure (name, class,
  566. equip) [Skotlex]
  567. * Cleaned up some of the pet related @/# commands, same for some script
  568. commands. [Skotlex]
  569. * Pet offensive skills who's inf value is self will be casted on the pet
  570. now (for stuff like Grand Cross) [Skotlex]
  571. * Added homun saving/loading support to char-TXT. Note that this is
  572. completely untested, so it may be as good as broken. [Skotlex]
  573. * Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun
  574. has no master (need to clean up this function later) [Skotlex]
  575. * Tested char-txt load/save, it seems to be working fine, but you should
  576. STILL backup, as I only launched the server (read old character format),
  577. closed it down (saved into the new format) and relaunch it (read the new
  578. format) and it didn't give problems (but there's still the possibility of
  579. some field being read in the incorrect offset or such). [Skotlex]
  580. * Updated the char save structure for char-TXT servers so that the homun id
  581. will be saved, now also the map info (last point, save point, memo maps)
  582. are now saved using the mapindex rather than the string. BACKUP BEFORE
  583. UPDATING since this code isn't yet tested. [Skotlex]
  584. * Cleaned up a bit the char-saving code, added overflow crash prevention in
  585. case there are more memos than the max-allowed saved. [Skotlex]
  586. * AM_CALLHOMUN can now be used to recall vaporized homuns. [Skotlex]
  587. * AM_RESURRECTHOMUN will now fail when the homun is vaporized. [Skotlex]
  588. * Added SCB_DYE which marks which status-changes need a forced cloth dye
  589. change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status
  590. uses it. [Skotlex]
  591. * Asura Strike now moves you to the target on fail always (unless the
  592. target does not exists or is in another map or there's a obstacle on the
  593. way) [Skotlex]
  594. * Corrected skill_attack_area hitting dead characters on it's splash range.
  595. [Skotlex]
  596. * Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable
  597. SG to show the fly animation again, even if sometimes others will see him
  598. as Santa. As for xmas cloth, it shouldn't make much of a difference since
  599. the view class is changed to christmas anyway. [Skotlex]
  600. * Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where
  601. they automatically pick a spot around you. [Skotlex]
  602. * Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now.
  603. [Skotlex]
  604. * Cleaned up some the hom evolution code. [Skotlex]
  605. * Fixed SIGSEGV with homunc save [Toms]
  606. 2006/08/14
  607. * Removed support for negative autosave intervals, instead added a
  608. minsave_interval setting which specifies which is the minimum time between
  609. character saves. Default to 100ms (map_athena.conf). [Skotlex]
  610. * Sacrifice no longer shows damage to self. [Skotlex]
  611. * When Asura fails, the skill display will still come off. [Skotlex]
  612. * Lots of cleaning of the Homun-code. Perhaps the crashes as of late will
  613. be fixed now (reusing AM_CALLHOMUN seems to be the cause of them)
  614. [Skotlex]
  615. * Increased Run's walk speed bonus to 25->50% [Skotlex]
  616. * Modified emergency_call setting to allow for more specific configuration
  617. (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see
  618. skill.conf for details. [Skotlex]
  619. * Fixed script engine allowing scripts to set a player's zeny to negative
  620. values. [Skotlex]
  621. * Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
  622. [Skotlex]
  623. * When readjusting the fame-list, the last entry's id is also reset (may
  624. fix characters appearing more than once on it?) [Skotlex]
  625. 2006/08/13
  626. * Removed @itemcheck as it was totally pointless. [Skotlex]
  627. * Corrected states killer/killable being easily dispellable. [Skotlex]
  628. * Fixed the totally wrong text messages being used for @killer/@killable
  629. related atcommands, added appropiate entries to msg_athena [Skotlex]
  630. * Magic and Misc attacks will now get type "flee" when they do less than 1
  631. damage, this blocks them from causing additional status effects when they
  632. are blocked. [Skotlex]
  633. * Cleaned up a bit the Basilica code, it should now properly end when you
  634. walk. [Skotlex]
  635. * Fixed some logs not working when you enabled all logs. [Skotlex]
  636. * Corrected unmute being a level 60 command by default (should be 80)
  637. [Skotlex]
  638. * Corrected the mapif_parse_PartyChangeMap function to correctly update
  639. level-range when someone logs on/off, fixes being unable to set even-share
  640. on once it's been broken even when the characters out of range logoff.
  641. [Skotlex]
  642. 2006/08/11
  643. * Fixed Kagebunshin no Jutsu crashing for dyes > 0; though this solution
  644. might seem hackish (changing clothes colour to 0 when it starts while
  645. storing original colour back in val4, restoring original dye upon
  646. end), I believe this is the best way there currently is to solve
  647. the issue. [blackhole89]
  648. * Fixed Dancers/Bards being able to use normal attacks while performing.
  649. [Skotlex]
  650. 2006/08/10
  651. * Fixed the item group bonus not working. [Skotlex]
  652. * Fixed songs/dances always being considered overlapped with themselves.
  653. [Skotlex]
  654. * Added some additional song/dance overlap code that should correctly
  655. change the effect of songs/dances when they overlap. [Skotlex]
  656. * Added a check so that the status-change packet is always send to self
  657. when the inflicted char is a player disguised. [Skotlex]
  658. * Code cleanup on homunc, they stay in memory until player disconnect or
  659. homunc destruction [Toms]
  660. * Corrected Advanced Jobs HP bonus from 30% -> 25% [Skotlex]
  661. * Hopefully fixed family-party-even-share not breaking when a member logs
  662. out. [Skotlex]
  663. * Should have fixed the login-sql crash when passed user-name's length is
  664. beyond the limit. [Skotlex]
  665. * Changed setting attack_attr_none to affect all neutral-element attacks.
  666. Basicly, this setting is now used to determine who can hit for full damage
  667. always when using neutral-attacks (defaults to non-players) [Skotlex]
  668. * Fixed two instances in the login-sql server where the ip in the log-login
  669. table was being stored backwards. [Skotlex]
  670. * Now when a skill's range is 0 and the skill is NOT casted on self, it
  671. will take the basic weapon's range (without Vulture/Snake Eye bonus).
  672. [Skotlex]
  673. * Now when a duration is not specified, sc_start/sc_start2/sc_start4 will
  674. try to guess the duration by extracting it from the skill_db (it uses
  675. skill_get_time on whatever skill is associated to the status-change using
  676. val1 as skill-level) [Skotlex]
  677. * Some cleanups on trade_tradeaccept to prevent packets being resent when
  678. they shouldn't. [Skotlex]
  679. * Fixed syntax error in 'guild' create table statement [Toms]
  680. 2006/08/09
  681. * Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
  682. * Fixed homunc skill up bug [Toms]
  683. * Adjusted some the dance/song/encore code so that the source of an
  684. ensemble will always get checked, so that walking out of an ensemble skill
  685. should make it end now. However, it's likely this is not completely solved
  686. yet and will require further tweaking. [Skotlex]
  687. * Added crash protection to the mob_db txt reading when the mob_db file has
  688. lines with insufficient number of columns. [Skotlex]
  689. * Moved the class-change code from battle_calc_weapon_attack to
  690. skill_additional_effect. Alchemist summons now also have a chance of
  691. triggering polymorphing. [Skotlex]
  692. * Removed the code which was auto-setting attacks that do no damage to type
  693. FLEE, since that was disabling status-effects which should incur even when
  694. the damage was blocked. [Skotlex]
  695. * Trade requests will now fail when either character is unable to act
  696. (character in storage, vending, interacting with an npc, petrified, etc)
  697. [Skotlex]
  698. * Heard skotlex voice, changed all msg_table[] into msg_txt() in atcommand.c [Toms]
  699. 2006/08/08
  700. * Fixed the char-server not invoking the party_calc_state function when the
  701. third party-member is added to a party, hence failing to check for families
  702. and disabling even share from them unless all three relog first (state is
  703. correctly calculated when party is first loaded). [Skotlex]
  704. * Crash-protections in the mail-checking function. [Skotlex]
  705. * Some additional parenthesis on equipment check in pc_equipitem, seems to
  706. have fixed the mid/lower headgear-sprites not showing up. [Skotlex]
  707. * Added back missing state set to prevent Ankle-Snare from being retrieved
  708. after the target dies. [Skotlex]
  709. * Fixed compilation warning [Toms]
  710. * Added a check to handle Spider Web as a targetted skill. If there's more
  711. than one character on the targetted cell, a different one may get trapped,
  712. but it will mostly do as it is now. [Skotlex]
  713. * Added check to Asura so that it will move you to the target when it fails
  714. ONLY when you can cast the skill on the target (not stunned, asleep, target
  715. not hidden, etc) [Skotlex]
  716. * Changed the map_freeblock_unlock code so that when there's an "already
  717. free'd pointer" error, the memory manager will print out the invoking
  718. function rather than map_freeblock_unlock, this should help fix it up next
  719. time it happens and is reported. [Skotlex]
  720. * Casting Kaensin will clear out Suiton and viceversa now. [Skotlex]
  721. * Fixed drop-rates (@whodrops) getting duplicates when you use @reloadmobdb
  722. [Skotlex]
  723. * Fixed unjailing not sending characters to Prontera. [Skotlex]
  724. * Fixed yet again AS_SPLASHER doing full damage on all characters. Now you
  725. can use the NK split damage value in the skill_db if you want damage
  726. divided by the amount of targets rather than by 2. [Skotlex]
  727. * Fixed crash on the battle_drain functions. [Skotlex]
  728. * Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by
  729. other types of objects other than Homunculus. [Skotlex]
  730. * Cleaned up the Asura Strike code so that the SP/Spheres/States is not
  731. consumed when the skill fails due to Fog of Wall. [Skotlex]
  732. * When a negative delay for a skill is specified, this delay is now added
  733. on top of the character's amotion rather than adelay [Skotlex]
  734. * Modified main.sql to make the guild table allow NULL on the emblem data.
  735. [Skotlex]
  736. * Added file conf-tmpl/Changelog.txt to log config changes. [Skotlex]
  737. 2006/08/07
  738. * Fixed the login-sql server replying to the change-sex packet with the
  739. wrong gender, causing the char-server to screw-up job-change updates.
  740. [Skotlex]
  741. * Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD work as
  742. described on the docs now, this should also fix adopting not correctly
  743. giving the family-related skills. The flag value of skill should be: 0 to
  744. set the skill (if skill level is 0, this removes a learned skill), 1 grants
  745. the skill as an item bonus which is temporary, and 2 will add a skill bonus
  746. like 1, except the skill level adds up to whatever level already known of
  747. that skill. [Skotlex]
  748. * Fixed EQP_WEAPON related code messing up with both weapon AND shield.
  749. [Skotlex]
  750. * Cleaned up the Asura code so that when the skill fails your
  751. SP/Spheres/Fury are all taken away always, as well as moving you next to
  752. the target (as long as the target still exists within a reachable path from
  753. your position) [Skotlex]
  754. * SC_GUILDAURA is now removed on logout. [Skotlex]
  755. * Fixed Venom Splasher doing half-damage instead of full-damage to the
  756. "exploding" character. [Skotlex]
  757. * Hopefully fixed the party_even_share cast-overflow bug as reported by
  758. Adobe. [Skotlex]
  759. * Standarized the autosave interval setting to be always in seconds
  760. regardless of type. [Skotlex]
  761. * Moved the "bosses can't be knockback" logic from battle_calc_* functions
  762. and placed it on skill_blown. [Skotlex]
  763. * Some parenthesis cleanup before invoking battle_calc_base_damage, could
  764. be fixing the current issue with arrow attacks not adding the arrow damage.
  765. [Skotlex]
  766. * Fixed the map_search_freecell error which was making mobs fail to
  767. respawn. [Skotlex]
  768. * Added in Lupus's suggestion of not making multi-slot headgears set all
  769. slot view-ids, which supposedly causes the client to re-draw the headgear
  770. multiple times on characters. [Skotlex]
  771. * Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
  772. [Skotlex]
  773. * Simplified the Tatami Gaeshi code. [Skotlex]
  774. * Fixed AS_SPLASHER doing full damage on everyone except targetted char
  775. instead of the other way around. [Skotlex]
  776. * Fixed KAENSIN clearing out SUITON cells and viceversa. [Skotlex]
  777. * The spawn area is now seen as range rather than absolute for mob spawn
  778. lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around
  779. the given x,y point. [Skotlex]
  780. * Some clean up of the mob-spawn code. Now you can specify negative areas,
  781. so that a spawn location such as 100,150,0,-1 will spawn a mob always on
  782. x=100, but any Y value of the current map. [Skotlex]
  783. * Reflected damage will now also have a chance of draining hp/sp. [Skotlex]
  784. * Adjusted the order in which option/sc change packets are sent to match
  785. Aegis's [Skotlex]
  786. * Added script command getpartyleader through which you can retrieve
  787. various information of a party's leader. See doc/script_commands.txt for
  788. further information. [Skotlex]
  789. * mpeg's Ninja work [Vicious]
  790. * Adjusted Battle_check_target so that alchemist summoned mobs are
  791. targetted by everyone as long as 1. The top-level master is a player and 2.
  792. the actual attacker is not a mob-type. [Skotlex]
  793. * Added config force_random_spawn which overrides the spawn-files defined
  794. coordinates to make all mobs always spawn randomly on the map. [Skotlex]
  795. * SC_SPEEDUP0 is no longer dispellable by SA_DISPEL [Skotlex]
  796. 2006/08/06
  797. * Updated item_db.sql & mob_db.sql to latest. [Toms]
  798. * Little fixes on homunc (hp/sp are now saved and init stats changed) [Toms]
  799. 2006/08/04
  800. * Added a commented piece of code at the end of clif_parse_LoadEndAck which
  801. will update your direction to wherever you were facing before warping.
  802. Should this be the default? Nearby people DO see you facing on the same
  803. direction before warping, it's only your client that will always see you
  804. facing north on spawn (the spawn packet does contain direction
  805. information). [Skotlex]
  806. * Updated @mobinfo to display slots in the drop information. [Skotlex]
  807. * Fixed flag.elefix not being respected in battle_calc_misc_damage.
  808. [Skotlex]
  809. * Some code cleanups in battle_calc_damage. [Skotlex]
  810. * Modified bAddItemHealRate so it can receive both item-id and item-group
  811. values (since the first item-id is +500, there's no risk of mixing them
  812. up). [Skotlex]
  813. * Removed settings enemy_critical_rate, homun_critical_rate. Added settings
  814. enable_critical (defaults to specify only players), mob_critical_rate and
  815. critical_rate. The last applies to all non-mobs and non-players
  816. (battle/battle.conf) [Skotlex]
  817. * Removed settings mob_npc_warp, mob_warpportal. Replaced with setting
  818. mob_warp which specifies which types of warp can a mob step into
  819. (battle/monster.conf) [Skotlex]
  820. * Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out
  821. of the mastery function so that it may apply to all skills except Soul
  822. Breaker. [Skotlex]
  823. * Changed name of the setting log_pick to log_filter since that's what it
  824. does now. [Skotlex]
  825. * Modified enable_logs so that instead of a 0/1 setting, you can specify
  826. which kind of events to log (so you can use a combination), see log_athena
  827. for the bitmask configuration. [Skotlex]
  828. * Cleaned a bit the contents of log_athena.conf
  829. * Hide/Chasewalk will again stop screaming skill name. [Skotlex]
  830. * Soul Breaker will no longer receive Mastery damage. [Skotlex]
  831. * Fixed warning:'type' might be used uninitialized in this function [Toms]
  832. 2006/08/03
  833. * Added a check to skip the experience share of characters who are dead or
  834. on another map. [Skotlex]
  835. * Reverted the previous change, chasewalk has no icon, only the str-bonus
  836. has that fist icon now. [Skotlex]
  837. * Allowed chase-walk to display a skill animation when using it. [Skotlex]
  838. * Readjusted the Chasewalk icon to be as it should be. [Skotlex]
  839. * GS_DESPERADO is now a short-range attack skill. [Skotlex]
  840. * Changed the Battle-Orders icon to be the Strength Up icon (for
  841. Chasewalk's str bonus). [Skotlex]
  842. * Fixed using the right-hand weapon's size modifiers regardless of which
  843. weapon's damage was being calculated in regards to. [Skotlex]
  844. * Simplified the ignore-size check by making the Weapon Perfection check be
  845. done when specifying the flag, also moved the size-fix property of riding
  846. spear-knights to status_calc_pc. [Skotlex]
  847. * Changed SI_CHASEWALK value to 119 as concluded by LoneWolf [Skotlex]
  848. * Corrected clif.c sending the raw mdef2 value to the client instead of
  849. first substracting the "secret vit/2" bonus from it. [Skotlex]
  850. * Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent
  851. overflows. It is not capped to INT_MAX because damage increasing skills
  852. would cause it to still overflow afterwards. [Skotlex]
  853. * Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the
  854. code. [Skotlex]
  855. * Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks
  856. should happen before a mob uses the rude-attacked skill. Value has been set
  857. to 2 for now. [Skotlex]
  858. * Now when a mob changes target (to someone they can hit) their
  859. rude-attacked count won't be reset, but instead will be reduced by one.
  860. [Skotlex]
  861. * SC_SPEEDUP0 can now stack with the other speed raising buffs. [Skotlex]
  862. * Some adjustments so that the last-skill-used will be correctly cleared
  863. when your combo-time ends. [Skotlex]
  864. * Fix a bug in atcommand_charspeed [Toms]
  865. * Fixed a logic error preventing from cooking anything [DracoRPG]
  866. * Cleaned up the last NJ update code. [Skotlex]
  867. * Added @ command `charspeed` [Skotlex]
  868. * Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL [Skotlex]
  869. * Removed case for GS_SPREADATTACK on damage packets to see if the skill
  870. displays correctly now. [Skotlex]
  871. * Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are
  872. removed, NOT the ones who were already placed. [Skotlex]
  873. * Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix
  874. icon-confusion when both are enabled at a time. [Skotlex]
  875. * Mob rude-attacked count is not reset now on picking a new char (gotta
  876. investigate this further) [Skotlex]
  877. * Changed atoi to strtoul for guild-experience's field [Toms]
  878. * Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
  879. 2006/08/02
  880. * Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
  881. Silence now ONLY blocks skills from being used, it will not stop on-going
  882. casts. [Skotlex]
  883. * Updated status_cast_cancel to also include silence (so the cast bar is
  884. cancelled if you are silenced during it) [Skotlex]
  885. * Updated the way SC_SILENCE works. From what I remember (from previous
  886. forum discussions) it: 1- Always blocks skills from being used. 2- Will
  887. only block a skill when the cast-bar ends IF the skill is targetted. If
  888. anyone wants to debate to get this changed, make an appropiate forum topic
  889. in the svn development area to discuss. [Skotlex]
  890. * Added a check in the walking code when triggering skills.
  891. NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend
  892. the walk packet, this effectively causes the mob to start walking
  893. (clientside) while the cast-bar is showing. [Skotlex]
  894. * Fixed a logic error on battle_get_master which was causing infinite
  895. loops.. [Skotlex]
  896. * Fixed homunculus error message [Toms]
  897. * Rewrote pc_payzeny to not use doubles, it may more accurately prevent
  898. charging a player more zeny than they can withhold. [Skotlex]
  899. * Fixed failing to create Deadly Poison Bottles damaging 50% of your max
  900. life instead of 25% [Skotlex]
  901. * Added the missing status-change flags to SC_FREEZE to signal it should
  902. modify def and magic def [Skotlex]
  903. * Little add on NJ_HUUMA [Toms]
  904. * Merged Mpeg's work on Ninja skills [Toms]
  905. * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex]
  906. * Now you can teleport in Thanatos Boss room, but you can't respawn there [Playtester]
  907. * Fixed Defender Raising Walk speed instead of diminishing it. [Skotlex]
  908. * Added a check on status-change load to prevent loading speed-affecting
  909. status when their speed adjustment is 0 (prevents division by zero)
  910. [Skotlex]
  911. * Code cleanup & optimization on guild part of char-server [Toms]
  912. * Fixed script code data not being free'd if a player quits in the middle
  913. of a script. [Skotlex]
  914. * Modified run_script so that when there are leaks, it will report the
  915. place where run_script was called from as source rather than the inner code
  916. of run_script (for debugging purposes) [Skotlex]
  917. * Made recursive master check the default (otherwise it messes skill -> pet
  918. -> player kind of herarchies) and cleaned up some the battle_get_master
  919. code to prevent infinite loops in the weird case someone specifies that
  920. their master is itself. [Skotlex]
  921. * Recoded the GuildAura code to use val3 & val4, allowing much greater stat
  922. bonuses (in case someone wants to get Guild Skill level 20 or something
  923. crazy like that) [Skotlex]
  924. * Updated battle_check_target so that all alchemist summoned mobs can be
  925. target by everyone. [Skotlex]
  926. * Cleaned up skill_check_condition_mob_master_sub, it will now count both
  927. total number of summoned mobs and amount that belong to the same type.
  928. [Skotlex]
  929. * Corrected AM_CANNIBALIZE so it will fail if you already have plants of
  930. another type out. [Skotlex]
  931. * Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
  932. [Skotlex]
  933. * Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now
  934. Volcano/Deluge/V. Gale will get that funky icon instead. [Skotlex]
  935. * Changed clif_hominfo to receive both sd and hd as parameters
  936. * Some redundancy cleaning in mercenary.c [Skotlex]
  937. * Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
  938. [Skotlex]
  939. 2006/08/01
  940. * Miscellanous fixes which make the Marine Sphere self destruction work as
  941. best as I can. It only has one flaw: It self-destructs instantly after
  942. walking because if I make it use self-destruction with a cast-bar,
  943. client-side the object stops moving inmediately... [Skotlex]
  944. * Modified unit_walktoxy and NPC_RUN to enable running even when the caster
  945. does not has the MD_CANMOVE bit on. [Skotlex]
  946. * PF_MINDBREAKER will now silently fail if you try to use it on someone who
  947. already has the status active. [Skotlex]
  948. * Cleaned up yet again skill_landprotector, now new cells of
  949. Deluge/Volcano/V.Gale will delete previous cells when they are recasted on
  950. top of each other. [Skotlex]
  951. * Summoned Marine Spheres no longer get the MD_CANMOVE bit. [Skotlex]
  952. * Cleaned up some more the SC_JAILED code [Skotlex]
  953. * merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru
  954. and Coltaro for the code. [Skotlex]
  955. * Cleaned the code of atcommands jail and unjail [Skotlex]
  956. * Be warned that the code MAY contain bugs as I adjusted it to save the
  957. character's position before jailing, allowing the automatic unjailing to
  958. warp you back to the exact spot you were at before being jailed. [Skotlex]
  959. * Should have fixed the cooking sets not displaying all cooking available
  960. items. [Skotlex]
  961. * Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
  962. really working. Thanks to Mpeg for noting it out. [Skotlex]
  963. * Modified Self Destruction, so that Marine Spheres in non-versus maps will
  964. hurt only enemies, while in all other situations this skill will hurt
  965. everyone around them. [Skotlex]
  966. * Expanded setting debuff_on_logout so that &1 removes negative buffs and
  967. &2 removes positive buffs. [Skotlex]
  968. * Food status boosts will no longer end on death, but they will end when
  969. you respawn or logout. [Skotlex]
  970. * Added battle config file status.conf, moved some settings from skill.conf
  971. and battle.conf to it since they are entirely Status-Change related.
  972. [Skotlex]
  973. * Added the missing lines to enable script command "kickwaitingroomall"
  974. [Skotlex]
  975. * Magic Rod's can-act delay will no longer be applied when you absorb a
  976. spell. [Skotlex]
  977. * Fixed Don't Forget Me increasing speed instead of decreasing it. [Skotlex]
  978. * Modified setlabel so that the script engine barks when you are trying to
  979. use the same label name as a constant or variable name. [Skotlex]
  980. 2006/07/31
  981. * Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame
  982. rankings. [Skotlex]
  983. * Updated Poison React chance to counter and number of counters as per
  984. skill description updates. [Skotlex]
  985. * Fixed Sharpshooting being counted as a magic attack, and hence, using
  986. your MATK as base damage. [Skotlex]
  987. * Fixed NPC_STOP id value in skill_cast_db [Skotlex]
  988. * Bladestop will no longer stop when you push either of the characters
  989. around. [Skotlex]
  990. * Fixed Enchant Poison having a near 100% chance of poisoning target on
  991. attack. [Skotlex]
  992. * Little fix on duel [Toms]
  993. * Added possibility to restrict duel usage to same map [Toms]
  994. * Merged mpeg's fix on ninja skills [Toms]
  995. * Corrected a status_get_race call which should be status_get_race2 in misc
  996. attacks. [Skotlex]
  997. * Moved the Devotion code to the top of the SC list in status_damage,
  998. meaning that now stuff like being asleep or confused won't end if you are
  999. hit, but the damage is absorbed by devotion. [Skotlex]
  1000. * Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no
  1001. information of how much the bonus should be, it currently is a conservative
  1002. 10%. [Skotlex]
  1003. * Fixed a possible crash in the main script engine when restoring previous
  1004. script. [Skotlex]
  1005. * Fixed sleep.tick not being set back to 0 before resuming execution, which
  1006. leads to scripts that are continously executed even when they already ended
  1007. (they do nothing but waste resources) [Skotlex]
  1008. * Fixed a pair of free -> aFree used on stacks, which would lead to memory
  1009. manager reporting leaks where there aren't. [Skotlex]
  1010. * Removed incorrect "Waterball range+1 when standing on suiton" feature.
  1011. [Skotlex]
  1012. * Corrected the Speed update code to prevent sending "walk to xy" packets
  1013. twice when the affected character is a player. [Skotlex]
  1014. * Expanded mob can't move warning to print out where this mob was stuck at
  1015. (map, x,y) [Skotlex]
  1016. * Fixed segmentation fault in status_change_end, vd wasn't initialized [Toms]
  1017. 2006/07/30
  1018. * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
  1019. level, so that at level 1 they can attack, use skills and receive no
  1020. walking penalty. [Skotlex]
  1021. * Mob casted Sanctuary will no longer always heal it's targets regardless
  1022. of element/race [Skotlex]
  1023. * Status change packets will now use as criteria for sending the actual
  1024. view_class instead of player/not-player. This will fix status-changes
  1025. displaying improperly on clones, and also possible crashes with disguised
  1026. players. [Skotlex]
  1027. * Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE [Toms]
  1028. * Added bNoMiscDamage setting so you can specify misc-damage blocking from
  1029. skills. Modified battle_calc_damage so that even Pressure and similar
  1030. skills will be affected by this setting. [Skotlex]
  1031. * GS skill updates/fixes [Vicious]
  1032. * Force all users offline in sql when char-server starts [Toms]
  1033. 2006/07/29
  1034. * Removed ugly struct cast in login.c [Toms]
  1035. * New version of buildin_query_sql which accept more than one column and
  1036. can return the number of rows. See script_commands.txt for more details. [Toms]
  1037. * Fixed nullpo in merc_hom_skillup [Toms]
  1038. * Added a return value to buildin_rid2name if rid is invalid [Toms]
  1039. * Made the SQL ping interval default to 7 hours. [Skotlex]
  1040. * Made skill_unitsetting remove the group when no unit-cells were placed
  1041. down. basicly this means that if landprotector blocks all tiles, the group
  1042. will be removed from memory, preventing said group from counting to the
  1043. total number of skills you can set. [Skotlex]
  1044. * Fixed segmentation fault in script engine when calling something which is not a function [Toms]
  1045. * Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
  1046. 2006/07/28
  1047. * Added Ishizu's code to check ammo type on attack. No more using Grenade
  1048. rounds with Guns. [Skotlex]
  1049. * offensive heal/sanctuary will only happen when the source of the heal is
  1050. a player, mob/pet casted heal will now always heal regardless of target.
  1051. [Skotlex]
  1052. * Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
  1053. [Skotlex]
  1054. * Self destruction will now hit all characters in range, not just enemies.
  1055. [Skotlex]
  1056. * Cleaned up the NJ update code: [Skotlex]
  1057. - Restored code which was removed (stuff like SC_SKA)
  1058. - Fixed possible crashes on some NJ skills if used by non-players.
  1059. - Fixed most NJ magic spells doing more damage than they should.
  1060. - Fixed ZenyNage being able to do more damage than zeny you have.
  1061. - Cleaned up skill setting code for Suiton and Kaensin
  1062. * Some cleaning of battle_drain, Evil Druid card should work now. [Skotlex]
  1063. * Made status_damage allow damaging of objects not on a map, this should
  1064. fix pet-catching making the mob never respawn again. [Skotlex]
  1065. * Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same :) [Toms]
  1066. * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
  1067. * Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
  1068. * Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
  1069. * Fixed sign warnings in login/login.c [Toms]
  1070. * Fixed "conversion from 'double' to 'int', possible loss of data" [Toms]
  1071. * Fixed "warning: redefinition of [ushort/uint/ulong]" [Toms]
  1072. * Fixed duplicate case value on NJ_SUITON [Toms]
  1073. 2006/07/27
  1074. * Fixed a memory leak when there exists more than one user function with
  1075. the same name, added the appropiate warning when this happens. [Skotlex]
  1076. * Added reporting source file when an npc shops item's price is
  1077. exploitable. [Skotlex]
  1078. * The picklog will now record negative values for items sold to npcs.
  1079. [Skotlex]
  1080. * Added inmediate position and hp-bar update when a character joins a
  1081. party. [Skotlex]
  1082. * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
  1083. * Added config setting party_update_interval so you can specify how often
  1084. the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]
  1085. * Removed a bunch of broken comments in skill.c [Skotlex]
  1086. * Synced the script.c file with as much data as possible from jA's:
  1087. [Skotlex]
  1088. - A lot of functions were moved around, a bunch of indentation and
  1089. space-usage changes were done to make it easier to diff against their
  1090. files.
  1091. - Miscellanous addition and corrections were applied.
  1092. - Largest one is likely a restructuring of run_script_main, which hopes to
  1093. solve the memory leaks.
  1094. - script engine now uses the setjmp functions to restore memory state when
  1095. there's an error parsing scripts, which means that script errors won't
  1096. cause the map-server to inmediately bail out anymore.
  1097. - NOTE that the amount of changes is pretty extensive, so DON'T USE THIS on
  1098. a live server. Update only to help test and debug to see if the script
  1099. engine memory leaks are gone.
  1100. * Added a cleanup routine on shutdown to remove all characters from memory
  1101. for whom the save ack has not returned from the char-server yet. [Skotlex]
  1102. * Now when you set the guardian's HP, if the guardian is spawned, it's HP
  1103. will be updated accordingly (and if you set it to 0, the guardian is
  1104. killed) [Skotlex]
  1105. * Added functions status_set_hp/status_set_sp to set hp/sp to a given
  1106. value. Applied usage of these on the Berserk and Soul Change code.
  1107. [Skotlex]
  1108. * Added config setting "party_hp_mode" (battle/party.conf) which determines
  1109. method to use to update party-mate hp bars. Aegis style is to update HP
  1110. bars whenever HP changes, while eAthena style is to update it together with
  1111. the map party dots. Defaults to aegis style. [Skotlex]
  1112. * Fixed packet 0x22a having the manner and opt3 packets in inverted
  1113. offsets. [Skotlex]
  1114. * Readded the check which prevents Cloaking from activating when your
  1115. learned level is less than 3 and you aren't next to a wall. [Skotlex]
  1116. * Some cleanups to the Frenzy/Berserk status change, it should probably
  1117. work correctly now. [Skotlex]
  1118. * Removed a redeclared variable i in the parsing of the fame list (char-sql
  1119. server) which seems to be the cause of the random memory corruptions.
  1120. [Skotlex]
  1121. * Updated item_db.sql to latest. [Toms]
  1122. * Fix homunc & code cleanup [Toms]
  1123. - Timer problems on delete_timer
  1124. - Intimacy problem (overflow & new values)
  1125. - Homunc deleted if intimacy < 0
  1126. - base exp is now given to master
  1127. - Homunc sometimes not saved
  1128. 2006/07/26
  1129. * Fixed a memory leak when reading the item_db txt. [Skotlex]
  1130. * Applied the necessary changes to make @partyoption reflect it's changes
  1131. on the alt+p window. [Skotlex]
  1132. * Modified party_item_share_type config setting so that using 1 disables
  1133. item-sharing from non-mob loot (player dropped items or pet loot) and 2
  1134. enables round-robin instead of random sharing. Using 3 obviously is
  1135. enabling both 1 and 2. [Skotlex]
  1136. * Added battle_get_master which returns the master bl of a given object.
  1137. [Skotlex]
  1138. * Recoded battle_check_target to use battle_get_master, the src/target
  1139. switch has been split into two, so that actual target and master target are
  1140. seperately treated (same for source). [Skotlex]
  1141. * Added support for "sc_end -1" which will clear all status changes. Added
  1142. the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
  1143. [Skotlex]
  1144. * @pettalk will now fail when muted. [Skotlex]
  1145. * Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
  1146. 2006/07/25
  1147. * Cleaned up run_script_main to properly free previous stack-data when
  1148. running scripts. Note that scripts may still leak memory when run by
  1149. non-players and they don't reach the "END" state, however I am not sure how
  1150. this case should be handled, so it's left as it is for now. [Skotlex]
  1151. * Added a missing ntohl call in the loginlog code. [Skotlex]
  1152. * Added a check when buying from npcs to allow buying of item_avail items.
  1153. [Skotlex]
  1154. * Fixed duel accept invite sending the packet before the duel data is set
  1155. (resulting in a packet that noone receives). Thanks to Toms for finding it
  1156. out. [Skotlex]
  1157. * Fixed a possible crash when you dual-wield and the total damage is 0.
  1158. [Skotlex]
  1159. * Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
  1160. they convert the txt databases into sql. [Skotlex]
  1161. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
  1162. * Updated the sql files since now it's quick [Skotlex]
  1163. 2006/07/24
  1164. * Re-updated the mob_db.sql to latest. [Skotlex]
  1165. * Cleaned up the skill_landprotector function to correctly block only magic
  1166. skills from being placed on land protectors. [Skotlex]
  1167. * Corrected itemdb_group so that it will not return the random item givers
  1168. (should give priority to actual item groups, so that the item heal bonuses
  1169. work correctly) [Skotlex]
  1170. * Cleaned up the Mistress Card related code so that the no-gemstone bonus
  1171. reduces item requirements by one rather than totally skip them. [Skotlex]
  1172. * Cleaned up the logs "can log"function to use the IT constants. Also
  1173. corrected the "only log large amounts" setting not working on negative
  1174. values (trades). [Skotlex]
  1175. * Adjusted skill_castfix_sc so that Suffragium will get consumed even on
  1176. instant cast skills, but Memorize won't. [Skotlex]
  1177. * BladeStop will now end when either of the characters is moved (knocked
  1178. out?) around. [Skotlex]
  1179. * Moved the Zeny penalty code from respawn to pc_dead. [Skotlex]
  1180. * Added a check to prevent Deluge/Volcano/Violent Gale from being placed on
  1181. top of each other. Reverted the previous 'fix' where atk was being
  1182. increased based on armor element rather than element of attack. [Skotlex]
  1183. * Removed the noreturn mapflag check from script command warp. [Skotlex]
  1184. * Homuculus cleanup [DracoRPG]
  1185. - Replaced nullpo's in parse functions by silent checks
  1186. - Removed server-side effect for menu option 0 (view status window...
  1187. why does the client send us the packet since we don't care? -_-)
  1188. - Rewrote intimacy underflow checks so they are really effective (no
  1189. need to check if an unsigned is < 0, it won't work... check before!)
  1190. * fixed unban unblocking players as well. [Skotlex]
  1191. * Fixed Volcano/Deluge/Violent Gale increasing damage based on element of
  1192. attack instead of defense element of attacker. [Skotlex]
  1193. * Cleaned up the code of Magic Rod, fixed it not giving SP. [Skotlex]
  1194. * Moved the code of Hermod and Basilica to castend_pos2 so it should work
  1195. now. [Skotlex]
  1196. * Modified the code of Ankle Snare so the status ends on unit's time-limit
  1197. rather than when the snared object moves away. [Skotlex]
  1198. * Re-worded the water check of ST_WATER skills. [Skotlex]
  1199. * Allowed sc-cast reductions to be processed even when cast-time is instant
  1200. (to let suffragium end even on instant-cast skills) [Skotlex]
  1201. 2006/07/23
  1202. * Modified setting skillrange_by_weapon (skill.conf) to be a
  1203. per-object-type setting instead of yes/no. The default now is that
  1204. weapon-based skills will take the attacker's range for non-players.
  1205. [Skotlex]
  1206. * Changed the default of skillrange_by_distance to include homunculus.
  1207. [Skotlex]
  1208. * Fixed buildin_isequip not working correctly with non-cards. [Skotlex]
  1209. 2006/07/22
  1210. * Updated mob_db.sql to latest. [Skotlex]
  1211. * Applied Toms's suggested corrections to homun code. [Skotlex]
  1212. * Corrected Cannibalize/Marine Sphere ignoring the selected summon spot.
  1213. [Skotlex]
  1214. * Fixed looting pets ignoring the item pick-up priority of other players.
  1215. [Skotlex]
  1216. * Should have fixed a signess warning in login txt. [Skotlex]
  1217. 2006/07/21
  1218. * Added blocking of @me when muted or in berserk status. [Skotlex]
  1219. * Corrected the @follow timer not being deleted on logout. [Skotlex]
  1220. * Applied the homunculus code fixes provided by Toms. [Skotlex]
  1221. * battle_check_target will now tag homunculus as invalid target when the
  1222. source is a skill-type object. [Skotlex]
  1223. * Added a check on pc_equipitem so that when the client specifies to equip
  1224. a weapon on the right hand when the left hand is available, the weapon will
  1225. be sent to the left hand instead (when dual-wielding is possible,
  1226. obviously). Same for the left/right accessories. [Skotlex]
  1227. * Added the necessary checks so that Suiton makes Fogwall have double
  1228. duration, and to make water-requiring skills to consume their cells.
  1229. [Skotlex]
  1230. * Corrected the loadmap event description to specify that the mapflag
  1231. required is actually "loadevent", NOT "loadmap"! [Skotlex]
  1232. * Now when the char-txt server does not finds a requested party, it will
  1233. clear out said party id of all characters (will help prevent massive
  1234. spamming/overhead when for some reason the party file needs to be deleted).
  1235. [Skotlex]
  1236. * Combo skills (inf = self, inf2 = no target self) no longer check range if
  1237. you use them while your attack-timer is still active. [Skotlex]
  1238. * Added back a map_freeblock call in skill_delunitgroup which caused a
  1239. memory leak when removed... [Skotlex]
  1240. * Added a check to prevent Blind from ending while standing on a fog of
  1241. wall. [Skotlex]
  1242. * The mob Slave ai will be executed now even when the slave has a target.
  1243. This will allow for "instant" warping to the master when it changes maps or
  1244. teleports. if the slave has a target already, it won't unlock it and chase
  1245. back to the master or anything like that. [Skotlex]
  1246. * Removed a couple of checks that prevents item ids above 20000. However,
  1247. remember that the max id is still ~32k or the client is the one who's gonna
  1248. crash! [Skotlex]
  1249. 2006/07/20
  1250. * Added source reporting when you do an invalid int&str or str&int
  1251. operation on a script. [Skotlex]
  1252. * Fixed the intif party creation packet having the incorrect size sent,
  1253. hence causing the leader's level to be read as garbage (which caused the
  1254. "impossible to even share" bug). [Skotlex]
  1255. * Added pc_check_weapontype to do a proper skill weapon check that takes
  1256. into account dual-wielding. That is, if a skill can be used with
  1257. daggers/axes, you'll be able to use the skill when dual-wielding them.
  1258. [Skotlex]
  1259. * Corrected Cloaking level 1-2 not letting you move across walls. [Skotlex]
  1260. * updated cloaking code so that when you set "enable cloaking without
  1261. walls", the code will consider you as "always next to a wall", thus you get
  1262. the wall-speed bonus always. [Skotlex]
  1263. * Applied the fix to homunculus name saving... [Skotlex]
  1264. * Added battle config settings agi_penalty_target and vit_penalty_target,
  1265. they define which object types will get vit/flee reductions when
  1266. multi-targetted and defaults to only players (battle/battle.conf) [Skotlex]
  1267. * Added the dummy intravision case for the changeoption packet 0x229
  1268. [Skotlex]
  1269. * Corrected Fog of Wall so that all targetted offensive skills (not only
  1270. those who do damage) will fail on cast-end 75% of the time. [Skotlex]
  1271. * corrected @homlevel up and one entry in the homun exp table as reported
  1272. on the forums by Albator. [Skotlex]
  1273. * Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
  1274. * Added a status_check_skilluse on skill_attack_area call to prevent splash
  1275. damage skills from hitting hidden/trickdead/etc characters. [Skotlex]
  1276. * Corrected fog of wall to behave as best known currently: [Skotlex]
  1277. - Only takes effect when targetting a character inside it
  1278. - -50hit/-75% damage when using normal-ranged attacks
  1279. - -25% damage from all damage skills
  1280. - 75% chance of all targetted damage skills of failing.
  1281. * Should have fixed @refine applying multiple times to equipment that uses
  1282. multiple equip slots. [Skotlex]
  1283. 2006/07/19
  1284. * Fixed the inf code update breakage which was blocking all offensive
  1285. skills. [Skotlex]
  1286. * Added battle setting homun_critical_rate (defaults to 0) [Skotlex]
  1287. * Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
  1288. enable_perfect_flee which specifies which objects can have perfect flee and
  1289. enable_baseatk which specifies which objects can have a base attack value
  1290. (both in battle.conf) [Skotlex]
  1291. * Modified the targetted skill logic to enable offensive skills to be
  1292. targetted at party/guild members if the appropiate inf2 value is set.
  1293. [Skotlex]
  1294. * Added checks to make adding items to inventory/cart fail when a char is
  1295. in finalsave state. [Skotlex]
  1296. * Fixed parse_names on irc.c crashing when receiving a null argument.
  1297. [Skotlex]
  1298. * Modified the parsing of the names line, since some servers will send @
  1299. instead of = when separating the information. [Skotlex]
  1300. * Fixed the homun creation sql statement. Why noone else did so before?
  1301. [Skotlex]
  1302. * When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it
  1303. will use clearchar and spawn packets instead of changeoption. Thanks to
  1304. Toms for the fix. [Skotlex]
  1305. * Corrected Trim chars to block 'enter', as explained by the Ultra mage.
  1306. [Skotlex]
  1307. * When the client passes account version 0, the login server will set it to
  1308. 1 now. [Skotlex]
  1309. * Corrected the HP bar scaling when HP is above Short Max. It should
  1310. display fine for any HP value now. [Skotlex]
  1311. * Added a check when the mob's adelay is shorter than the amotion, in which
  1312. case the adelay will be changed to the amotion value. [Skotlex]
  1313. * Some minor mapflag changes. [MasterOfMuppets]
  1314. 2006/07/18
  1315. * Added atcommand @partyoption, lets you alter the party item-distribution
  1316. type on the go. Usage is "@partyoption <pickup share> <item distribution>",
  1317. where both arguments can be 0/1, yes/no, etc. [Skotlex]
  1318. * Updated @changeleader and @partyoption to use msg_Athena entries.
  1319. [Skotlex]
  1320. * Added character 013 (enter) to the list of characters that are always
  1321. removed from new character names. [Skotlex]
  1322. * Fixed a crash when trying to extend TK's infinite combo feature. [Skotlex]
  1323. * Corrected Poison React to counter regardless of distance, and to use the
  1324. skill's 50+5*lv% counter chance (instead of 100%). [Skotlex]
  1325. * Corrected Venom splasher's splash damage [Skotlex]
  1326. * You now can't move/attack/use-skills when using Cloaking of a level less
  1327. than 3 [Skotlex]
  1328. * Fixed compilation of mercenary.c [Skotlex]
  1329. * Corrected Fog of Wall's "targetted spells fail 75% of the time" feature
  1330. by making it behave like GTB, that is, you just get a skill-failed on
  1331. cast-end, no skill-animation at all. [Skotlex]
  1332. * Added a proper check to make aggressive mobs never override homun targets
  1333. regardless of distance. [Skotlex]
  1334. * Removed a bunch of homun-related variables that are not needed at all.
  1335. The alive condition is removed, now the code checks for the hp value to
  1336. know if the homun is alive or not. [Skotlex]
  1337. * Cleaned up a bit the skill-id function, homun skill checks (such as delay
  1338. and skill-lv learned) should be correct now. [Skotlex]
  1339. * Added a proper check to make aggressive mobs never override homun targets
  1340. regardless of distance. [Skotlex]
  1341. * Fixed giving the 100% damage bonus when no-splash-targets are found in
  1342. the blown path to Grandcross instead of Bowling Bash. Bowling Bash damage
  1343. equation becomes then +50*lv% rather than +40*lv% when there's no
  1344. splash-damage (the 50*lv% figure is custom, all we know is that level 10
  1345. does 600% instead of 500% damage). [Skotlex]
  1346. 2006/07/17
  1347. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  1348. * The char-server will allow off-line character saves when said char is
  1349. tagged for final-save (this is the scenario when the char-map reconnect).
  1350. [Skotlex]
  1351. * Should have fixed the Cart Termination damage code to be scaled correctly
  1352. when you change the max cart weight. Thanks to The Ultra Mage for the error
  1353. clarification. [Skotlex]
  1354. * Implemented Grandcross weird property where if there's noone on the path
  1355. it'll hit twice for the skill's reported damage, and when there is (or you
  1356. can't knockback the target) it'll do a splash attack that hits twice for
  1357. 500% to all affected targets. [Skotlex]
  1358. * Some cleaning of the combo code. TK Rankers will now get their combo-time
  1359. extended each time they trigger a kick, enabling them to do "unlimited
  1360. combos". [Skotlex]
  1361. * Modified the autosave function to use a sweep across the player db
  1362. instead of across connected clients. This will cause non-connected players
  1363. (like autotraders) to also be saved on a regular interval, may help with
  1364. possible data-loss from said characters on unclean shutdowns. [Skotlex]
  1365. * Removed the code that forces aggressive mobs to go after a Homun instead
  1366. of their master (no reason why there should be such a condition). [Skotlex]
  1367. * Some sign quest map flag updates [MasterOfMuppets]
  1368. * atcommand_follow is now more verbose. [Adam]
  1369. * Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
  1370. * Orn's fix to the very critical skill level up bug [DracoRPG]
  1371. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  1372. * Added Orn's lil fix on homun [Vicious]
  1373. * Added Homunculus system, enjoy! [orn aka Nylou]
  1374. - WARNING: This currently only works with the SQL version, as the TXT char-server
  1375. has no code for it at the moment. You TXT server won't break, but the char-server
  1376. will complain of an unknown packet if you try to get an Homunculus
  1377. * Updated nomemo mapflags based on info from http://ro.doddlercon.com/images/memo.jpg [Poki#3]
  1378. 2006/07/15
  1379. * Small change in conf/battle/player.conf to say that 199 is max aspd allowed
  1380. (Haplo says that there are many reports of having over 200 is giving errors) [Evera]
  1381. 2006/07/13
  1382. * Kaahi no longer shows the heal effect to everyone. [Skotlex]
  1383. * Eska no will cause defense to change randomly every second. [Skotlex]
  1384. * Tuned up some more NJ_KAENSIN based on Tharis's information. [Skotlex]
  1385. * Corrected NJ_KAENSIN as per description. [Skotlex]
  1386. * Fixed a leaking map_freeblocklock on skill_del_unitgroup. [Skotlex]
  1387. * Changed the default save interval to 5 minutes. Added support for
  1388. specifying fixed save-intervals by using negative values. [Skotlex] EG:
  1389. - Save interval set to 300 (5 minutes): all characters will be saved in
  1390. equal time-slots, so that everyone is saved every 5 minutes regardless of
  1391. number of players online.
  1392. - Save interval set to -1000 (1000 ms): One character will be saved every
  1393. second, regardless of amount of characters online.
  1394. The new fixed-time-slots method is meant for larger servers, so that they
  1395. can control the saving-induced stressed on the char-server.
  1396. * Fixed @storeall and @charstoreall failing when the target character
  1397. already had the storage open. [Skotlex]
  1398. * Reverted temporarily the Cart Termination equation until it can be
  1399. fixed... [Skotlex]
  1400. * Fixed script command "recovery". [Skotlex]
  1401. 2006/07/12
  1402. * Fixed a small typo in my code [Zido]
  1403. * Added negative value in bonus exploit fix for more stat bonuses [Zido]
  1404. * Fixed exploit in pc_bonus there are no checks that check that the value being
  1405. added onto a status don't make it go below zero, which means if you have a mineral
  1406. card and reset stats it reduces your base attack to lower than zero, making it
  1407. go up to 64000. Fixed by adding a check for SP_BASE_ATK, although i recommend
  1408. doing it for other status bonuses also [Zido]
  1409. * Recoded NJ_BAKUENRYU to behave as I understand it best from the
  1410. skill-description (since Haplo told me this skill doesn't really has video
  1411. information or anything...) [Skotlex]
  1412. * Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path"
  1413. calls. The skill should be working correctly now, except for the fact that
  1414. the correct "unit id" is missing (this is what would give the ground tile
  1415. it's correct display). Temporarily it is using 0xba until the correct value
  1416. is found. [Skotlex]
  1417. * Added back the undead check to turn undead/resurrection to prevent
  1418. damaging non-undead targets, removed it from the battle damage section.
  1419. [Skotlex]
  1420. * Resurrection will now silently fail when used on non-undead + not-dead
  1421. characters. [Skotlex]
  1422. * Poem of bragi/magic String's base delay reduction at level 10 (or above)
  1423. is now 50% instead of 3*lv%. [Skotlex]
  1424. * status_damage will no longer fail when the target is not on a map AND the
  1425. flag is 2 (charge rather than damage). Fixes SP-draining status changes
  1426. ending suddenly when in-between maps. [Skotlex]
  1427. * Fixed the IP value being apparently incorrectly casted before inserting
  1428. into the loginlog table on "connect success" events. [Skotlex]
  1429. * Fixed Cart Termination's damage. [Skotlex]
  1430. * Added the missing check to remove character from memory when logging out
  1431. and using the charsave_method which saves character map-server-side.
  1432. [Skotlex]
  1433. 2006/07/11
  1434. * Fixed inverted check which was preventing you from buying more than 1
  1435. from any stackable item.... [Skotlex]
  1436. * Should have fixed the crash in intif gm message... [Skotlex]
  1437. * Fixed GTB card only working while you had a status-change active.
  1438. [Skotlex]
  1439. * Fixed being unable to compound cards in armor. [Skotlex]
  1440. * Made @monsterignore be an universal ignore. Means you cannot be targetted
  1441. as an enemy by anything. Also added alias "@battleignore" which does the
  1442. same as monsterignore. [Skotlex]
  1443. * Fixed magic power setting your min matk as max-matk. [Skotlex]
  1444. * Modified the packets involved in @fakename in hopes it'll refresh
  1445. correctly on nearby clients now. [Skotlex]
  1446. * Fixed clif_parse not checking for func_parse before sending data to the
  1447. connected clients. This in turn required various code-rewrites in: [Skotlex]
  1448. - duel related messaging functions (added clif targets DUEL/DUEL_WOS).
  1449. - intif whisper to gm function
  1450. - day/night timers
  1451. - Rewrote the parse_console function to stop allocating/deallocating memory
  1452. on every call.
  1453. - Modified chrif_charselectreq to receive the player's ip among the data.
  1454. * Added function clif_disp_message, which is the same as
  1455. clif_disp_onlyself, except you can specify the targets (it sends a
  1456. guild-chat packet) [Skotlex]
  1457. * Fixed the subele bonus (elemental reduction) being applied to the element
  1458. of the attacker instead of the element of the attack. [Skotlex]
  1459. * mob skills now won't trigger on unit_stopwalking calls. [Skotlex]
  1460. * Coded @reset. [Skotlex]
  1461. * Reenabled @changesex [Skotlex]
  1462. * Added function pet_create_egg which handles creating pet eggs correctly
  1463. (when passed item id is indeed a valid petegg). Applied this on @createitem
  1464. and getitem. [Skotlex]
  1465. * Cleaned up code of @item [Skotlex]
  1466. * Cleaned up the itemdb_isequip functions. itemdb_isequip will now return
  1467. if the item is equipable by players, itemdb_isstackable returns if the item
  1468. can be stacked, and itemdb_isidentified returns if the item should drop
  1469. identified. [Skotlex]
  1470. * Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given
  1471. item has "invalid" cards, added define function itemdb_isspecial to
  1472. simplify this check. [Skotlex]
  1473. * Removed itemdb.c considering item ids above 20000 as invalid. [Skotlex]
  1474. * Cleaned up script commands getitem and card-counting related ones.
  1475. [Skotlex]
  1476. * Cleaned up a bit more pc_isequip [Skotlex]
  1477. * Added script function warpportal(x,y,targetmap$,targetx,targety).
  1478. This creates warp portals as in the skill unit as a volatile alternative
  1479. to static warp portals. [blackhole89]
  1480. * Modified the login-sql server to do the ip-ban check only on the
  1481. auth-packets instead of on every packet. [Skotlex]
  1482. 2006/07/10
  1483. * Corrected Warp Portal being unable to warp people who are standing on it
  1484. on the moment it triggers. [Skotlex]
  1485. * Fixed @follow stopping the moment you are warped. [Skotlex]
  1486. * Fixed pc_additem messing with the equip field of the passed item data.
  1487. Fixes the famous "equip stuff on your arrow slot" bug. [Skotlex]
  1488. * Fixed cart-termination crashing the server if you used level 16 of it.
  1489. [Skotlex]
  1490. * Fixed check_connect_login_server check in char-sql server. Fixes
  1491. char-server not reconnecting to the login server. [Skotlex]
  1492. * Login-sql server will no longer change an account's state to "7" when
  1493. banning a player. This should fix being able to use @ban to clear out a
  1494. @blocked player. Players will now be identified as banned only through the
  1495. banned-until timestamp. [Skotlex]
  1496. * Fixed a crash when using Gospel... [Skotlex]
  1497. * The on-place function won't be invoked on setting ground skills if the
  1498. group's tick is greater than the current tick. As Buuyo pointed out, this
  1499. should fix Sanctuary and Gospel taking effect inmediately instead of after
  1500. "x" amount of ms as they should. [Skotlex]
  1501. * Added login-char packet 0x2737. Sets all characters offline (login-server
  1502. side). [Skotlex]
  1503. * Cleaned up char server "set all offline" implementation to remove only
  1504. characters from the map-server from which the packet was invoked. It will
  1505. also now correctly kick/set-character offline from the map-server if they
  1506. are connected. [Skotlex]
  1507. * Cleaned up the char-sql reconnect code. It no longer sets everyone to
  1508. offline. [Skotlex]
  1509. * Removed setting "kick_on_disconnect", servers will no longer kick
  1510. characters out when there's a disconnection. Instead, it'll use the most
  1511. logical approach: Set characters into a "lost" state when there's a
  1512. disconnection, on reconnect, resent the list of online-characters, do a
  1513. sync, and let the difference be characters to be removed. Also, the
  1514. map-server won't release character data until it's saved and the ack
  1515. returns from the char-server to prevent data loss (all this data is resent
  1516. on reconnect for saving anyway). [Skotlex]
  1517. * Added a check in pc_equipitem so that when switching weapons and you have
  1518. the skill_range_by_weapon setting active, the skill info block (which
  1519. includes range) will be resent when the new weapon to equip has a range
  1520. different than the previous one. [Skotlex]
  1521. * One closer inspection, removed that clear in itemdb_reload for a foreach
  1522. call again. And modified itemdb_load to scrap the dummy item entry from the
  1523. item_db and replace it with proper data for the item. [Skotlex]
  1524. * itemdb_reload will clear the itemdb before reloading info instead of only
  1525. clearing the scripts now. [Skotlex]
  1526. * Some cleaning of skill_castend_pos2, fixed Gospel, and a
  1527. map_freeblock_unlock misplacement. [Skotlex]
  1528. * Sense/Estimation will now display the mob info window to all party
  1529. members in the same map. [Skotlex]
  1530. 2006/07/08
  1531. * Fixed the new addeff structure not working well with SC_STONE (because
  1532. SC_STONE is 0, which was by default not handled as a valid value).
  1533. [Skotlex]
  1534. * Added back the TF_MISS walking speed bonus to assassin type classes (how
  1535. did that got lost?) [Skotlex]
  1536. * Fixed mobinfo displaying exp as signed ints rather than unsigned.
  1537. [Skotlex]
  1538. * Added status_check_visibility to check if an object is within range of
  1539. view of another. Nothing more, nothing less. It's used by unit movement to
  1540. check whether you can continue chasing your target or not when the "chase
  1541. target" directive is given. [Skotlex]
  1542. * Fixed the char table having party/guild_id as smallint when they need int
  1543. there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
  1544. [Skotlex]
  1545. * Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
  1546. [Skotlex]
  1547. * Fixed endow skills calling the skill no damage packet twice. [Skotlex]
  1548. * Fixed a crash on warpwaitingpc when the chat-room is empty. [Skotlex]
  1549. 2006/07/07
  1550. * Fixed the Warm Skills [Skotlex]
  1551. * Removed the debug message when a player logs out and is removed from
  1552. memory, it is working fine (tested normal logging off and autotrade). [Skotlex]
  1553. * Corrected the pet-armor field of the pet not being updated on
  1554. equip/unequip of accessories, making them not show up inmediately. [Skotlex]
  1555. * Status_calc_bl will no longer stop you from attacking/walking when the
  1556. mode is changed unless the new mode no longer includes
  1557. "can-attack"/"can-move" respectively. [Skotlex]
  1558. * Should have fixed clif_item_sub to properly store pet egg/armor data.
  1559. There should be no more "random refine levels" bugs related to these.
  1560. [Skotlex]
  1561. * itemdb_exists will now return NULL for item_id 0. [Skotlex]
  1562. * Added a check to free a character from memory when changing map servers.
  1563. [Skotlex]
  1564. * Okay, added a chrif_save_ack packet to the char-server so now the map
  1565. server will know once a character was "final saved", and only then the
  1566. character will be removed from memory. On char-server reconnection, all
  1567. chars that are in final-save state are resent to save (if they are still in
  1568. memory, it's because the ack hasn't gotten here from the char-server). This
  1569. should effectively block all dupe problems due to heavy inter-server lag,
  1570. however as it's untested, it currently prints some debug messages when
  1571. people are saved and then removed from memory. Need testers so this can be
  1572. debugged and merged to stable! [Skotlex]
  1573. * Now, when the login-char connection is cut, the char-server won't set
  1574. everyone offline on reconnect, instead it will send the list of online
  1575. accounts to the login server. [Skotlex]
  1576. * Modified the error on the char-sql server to set chars online when it
  1577. receives a save packet from a character tagged as offline (until it can be
  1578. figured out why this is happening) [Skotlex]
  1579. * Fixed signed/unsigned comparison issues in the char txt/sql server.
  1580. [Skotlex]
  1581. * Fixed the cooking success chances. Thanks to Ishizu Chan. [Skotlex]
  1582. * Added a temporary band-aid to prevent executing the script of non-arrows
  1583. when they are equipped on the arrow-slot (until the actual cause of why
  1584. pc_unequipitem is not working correctly is discovered/fixed) [Skotlex]
  1585. 2006/07/06
  1586. * Modified the party_data structure on the map server to remove some
  1587. redundant data. Added a party_data structure on the char-server to hold a
  1588. more complete set of information about parties. Added to the party_member
  1589. structure the class of each member so that the map server can do the
  1590. appropiate checks even if the character is on another mapserver/offline.
  1591. Due to the format changes in the party structure, txt servers will have to
  1592. wipe their party file... (sql save format has not been changed) [Skotlex]
  1593. * Added function char_family to check if there's a family state given the
  1594. three character ids, instead of doing individual checks all the time.
  1595. [Skotlex]
  1596. * Rewrote all the item restriction functions so that they will take into
  1597. account slotted card restrictions as well. [Skotlex]
  1598. * Added no_skill_delay setting, when set, affected object types will have
  1599. the minimum skill delay for all skills. Defaults to mobs, since they
  1600. don't have skill delays. [Skotlex]
  1601. * Cleaned up pc_equipitem. When dual wielding or equipping accessories, if
  1602. the client actually specifies one of the two positions, it will be taken
  1603. into account (now, does the client actually does this?) [Skotlex]
  1604. * Fixed GrandCross and similar skills. [Skotlex]
  1605. * FogWall will now also affect the caster. [Skotlex]
  1606. 2006/07/05
  1607. * Updated NJ_KAENSIN by Saycyber21 [Vicious]
  1608. * Updated @refine to take account of MAX_REFINE, thanks to Omega... GM
  1609. Designer. [Skotlex]
  1610. - Also optimized the @refine loop for better performance.
  1611. 2006/07/04
  1612. * Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
  1613. * Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
  1614. * Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
  1615. 12*(cooking set-lv)%. Exception: When using the legendary cooking set,
  1616. success chance is 100% regardless of dish. [Skotlex]
  1617. * Added battle config setting emergency_recall, specifies behaviour of that
  1618. skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 -
  1619. Can be used everywhere. [Skotlex]
  1620. * Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can
  1621. come out or not is entirely decided by the abra db file now. [Skotlex]
  1622. * Added structure s_addeffect to handle status change additions. Cleaned up
  1623. relevant code. It is now possible to specify ANY status change, not just
  1624. the basic ones. NOTE that the code is proof-read, but untested! [Skotlex]
  1625. * Added support for bonus3 bAddEff/bAddEffWhenHit as follows: [Skotlex]
  1626. bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  1627. Target flag is 0: Self. 1: Enemy. 2: Both.
  1628. * Added these descriptions to doc/item_bonus.txt [Skotlex]
  1629. * Added a check when joining a chat to make sure the target object is of
  1630. type BL_CHAT. [Skotlex]
  1631. 2006/07/03
  1632. * Cleared up the bAutoSpellWhenHit description in doc/item_bonus.txt
  1633. [Skotelx]
  1634. * Fixed Phantasmic Arrow and Magical Bullet not being correctly tagged as a
  1635. ranged arrow-type attack. [Skotlex]
  1636. * Updated help.txt and help2.txt, thanks to Inuyasha for providing the
  1637. updated files. [Skotlex]
  1638. * Char-server SQL won't perform the reconnect cleanup routines when
  1639. kick_on_disconnect is disabled. [Skotlex]
  1640. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  1641. setting now only makes the attacks of the slaves trigger the autospells of
  1642. the master (as it should be). [Skotlex]
  1643. * Corrected code capping no_spawn_on_player to 50 when the max should be
  1644. 100. [Skotlex]
  1645. * Warmth will dispel when warping now (or else the effect is left on the
  1646. ground) [Skotlex]
  1647. * Fixed reading of the refine_db not working right when MAX_REFINE is
  1648. increased from 10. [Skotlex]
  1649. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  1650. * Fixed a compile warning in login sql/txt [Skotlex]
  1651. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  1652. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  1653. [Skotlex]
  1654. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  1655. [Skotlex]
  1656. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  1657. skills. [Skotlex]
  1658. 2006/06/30
  1659. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  1660. * Added a check to prevent equipped items from being traded. [Skotlex]
  1661. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  1662. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  1663. cells. Beware of potential bugs as it's untested. [Skotlex]
  1664. * Added mapflag "nochat" to prevent chatting rooms from being created.
  1665. [Skotlex]
  1666. * Corrected some of the sleep checks when the char id does not matches with
  1667. the char-id expected by the script engine. [Skotlex]
  1668. * Cleanup in itemheal related code, fixed the item heal group bonus not
  1669. working on Groups beyond 7. [Skotlex]
  1670. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  1671. 2006/06/29
  1672. * Made the map server send list of characters online to the char-server on
  1673. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  1674. temporary disconnection would make the char-server tag all characters
  1675. offline and refuse to save them afterwards. [Skotlex]
  1676. * Fixed guild storage being "eternally in use" if you quit/logout before
  1677. closing it. [Skotlex]
  1678. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  1679. [Skotlex]
  1680. * [Fixed]
  1681. - Scripting system screwing up script position after mixing timers with menus.
  1682. - NPC attached AI mobs display as alive when dead.
  1683. - View data not updating after buildin_unitdeadsit.
  1684. [Improved]
  1685. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  1686. - Simplified scripting system. sd will now use pointer to the script state itself.
  1687. [Lance]
  1688. 2006/06/28
  1689. * changed:
  1690. dynamic_pass_failure_ban_how_many:from 3 to 7
  1691. dynamic_pass_failure_ban_how_long:from 60 to 5
  1692. as in official servers. [Musashiden]
  1693. * Added a check in script command "set_option" so that invoking
  1694. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  1695. * Added trade-range check on trade start. [Skotlex]
  1696. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  1697. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  1698. to be used on enemies. [Skotlex]
  1699. * Cleaned up a bit the code for @item [Skotlex]
  1700. * Fixed character/storage being sent to be saved TWICE when you logged out
  1701. while the storage is opened. [Skotlex]
  1702. * Added save_settings map config. Specifies after which events do
  1703. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  1704. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  1705. [Skotlex]
  1706. * Changed the mob drop rate adjust function to receive a signed int
  1707. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  1708. * Corrected Musical Strike having a different damage equation from Throw
  1709. Arrow. [Skotlex]
  1710. * Added state rewarp to players. It gets set when a pc_setpos call is
  1711. triggered while the player is changing maps so that when the player finish
  1712. loading the map, it is inmediately rewarped to where it has been
  1713. rewarped/recalled to. [Skotlex]
  1714. 2006/06/27
  1715. * Map server will now resent the whole list of online characters to
  1716. char-server on reconnect when the kick_on_disconnect setting is active.
  1717. [Skotlex]
  1718. * Cleaned up and optimized the IP sync code. New login_athena config
  1719. setting sync_ip_interval specifies how often to sync the ip. The default is
  1720. 0 (disabled). [Skotlex]
  1721. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  1722. on maps with this mapflag on, rather than every map. [Skotlex]
  1723. * High Jump can now be used in all versus maps. [Skotlex]
  1724. * Added Kaite's opt3 value, taken from jA [Skotlex]
  1725. * Added state dirty == 2 to storages. Signals when a storage was sent for
  1726. final saving. Said storage is removed from memory after the ack from the
  1727. char-server, and they are sent to save if the map/char servers reconnect
  1728. before the ack arrives. In short: they are guaranteed to be saved after a
  1729. char logs out. [Skotlex]
  1730. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  1731. 2006/06/26
  1732. * Corrected the element of hunter traps. [Skotlex]
  1733. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  1734. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  1735. [Skotlex]
  1736. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  1737. * Rough implementation of Ground Drift according to description and jA
  1738. info. [Skotlex]
  1739. * Implemented Tatami Gaeshi using skill description and jA implementation
  1740. for reference. [Skotlex]
  1741. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  1742. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  1743. Meruru for pointing out they aren't being used anymore. [Skotlex]
  1744. * Autospells will now again check for the skill's nk value, so that skills
  1745. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  1746. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  1747. equipment (fixes them showing up "broken" and with random refine levels)
  1748. [Skotlex]
  1749. * [Added]:
  1750. - buildin_unitkill just for kicks. [Lance]
  1751. 2006/06/23
  1752. * [Optimized]:
  1753. - Setting of variables with defined scope in some frequently executed script
  1754. events.
  1755. [Added]:
  1756. - Missing script_require_trigger flags for some power hungry events.
  1757. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  1758. * Modified pc_setoption so that it will correctly update sprite AND clothes
  1759. color when mounting/unmounting changing into/from xmas/wedding sprites.
  1760. [Skotlex]
  1761. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  1762. to be sold, traded, dropped, etc. [Skotlex]
  1763. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  1764. and before card reductions. The skill now completely disregards left
  1765. hand weapon. [Skotlex]
  1766. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  1767. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  1768. * Cleared up the comment on what item_check does and how it works.
  1769. [Skotlex]
  1770. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  1771. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  1772. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  1773. to forbid skills from common maps. [Skotlex]
  1774. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  1775. * The map search free cell will now use the size of the map # of tries
  1776. before giving up when the spawn area is the whole map. Added a check to
  1777. inmediately give up when the number of spawn retries has reached the max
  1778. specified (no_spawn_onplayer = 100). [Skotlex]
  1779. * Cleaned up a bit the clone code to account for the unit flags
  1780. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  1781. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  1782. * Added pc_bonus_autospell_del, gives support for removing autospell
  1783. effects. When a negative rate is specified, it will decrease the chance of
  1784. casting (eg: You have two different cards with autospell Heal +20% each,
  1785. then do autospell -30. The second card will be cancelled, and the first one
  1786. will become Heal +10%) [Skotlex]
  1787. * npc_timers now will not restore the previous timer data when there's no
  1788. players attached (when it's strictly an npc timer). This should reenable
  1789. the old behaviour of getnpctimer returning the total ellapsed time since
  1790. "startnpctimer" even after the last label has been reached. However, this
  1791. behaviour won't apply to player-attached timers. [Skotlex]
  1792. * [Fixed]:
  1793. - MAPREGSQL overloading SQL table with temperory map registries.
  1794. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  1795. 2006/06/22
  1796. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  1797. This should complete the required packets for PACKETVER 7. [Skotlex]
  1798. * Added support for the PACKETVER 7 packets in the "dummy" current
  1799. intravision implementation. [Skotlex]
  1800. * Fixed @autoloot being off by 0.01% when entering a manual value.
  1801. [Skotlex]
  1802. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  1803. each target is hit N times (where N is the number of mobs in the splash
  1804. area at the moment of triggering). [Skotlex]
  1805. * Updated the tools/stackdump script to also handle sig-plugin generated
  1806. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  1807. the end or not. Help me test it as I want this script on stable NOW :X
  1808. [Skotlex]
  1809. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  1810. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  1811. stackdump as before. [Skotlex]
  1812. * Corrected autoloot so that you can specify rate with decimal precision
  1813. ("@autoloot 0.01" should work) [Skotlex]
  1814. 2006/06/21
  1815. * [Removed]:
  1816. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  1817. * [Fixed]:
  1818. - Compilation warnings and errors.
  1819. [Improved]:
  1820. - Changed and moved IP sync status messages to elaborate more. [Lance]
  1821. * Tested and fixed resolve_hostbyname. Applied said function around most of
  1822. the code where needed. Removed includes for the OS/network system pretty
  1823. much from every file (our socket.c file should handle this) [Skotlex]
  1824. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  1825. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  1826. [Skotlex]
  1827. * status_percent_change will now account for when the target's max hp/sp is
  1828. above INT_MAX. [Skotlex]
  1829. * [Added]:
  1830. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  1831. 2006/06/20
  1832. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  1833. really ARE the same value clientside! (totally stupid), therefore I've
  1834. opted from removing the flying animation since it really just displays as
  1835. Xmas for others (and the correct fix involves adding a bunch of
  1836. class-change packets...) [Skotlex]
  1837. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  1838. Fling. [Skotlex]
  1839. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  1840. in skill_check_condition, fixed the skill so that it's damage is based on
  1841. whatever zeny is specified in skill_require_db. [Skotlex]
  1842. * Can-act delay will not be reset when warping now. [Skotlex]
  1843. * Fixed Quagmire not altering walking-speed. [Skotlex]
  1844. * Silence now blocks skills both on begin/end casting. [Skotlex]
  1845. * Updated status_calc_bl so that when walking speed changes, the character
  1846. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  1847. 2006/06/19
  1848. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  1849. * Combo-used Skills with State "move_enable" will now override the "can't
  1850. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  1851. * Some more cleanups of battle_calc_damage to account for absorbed damage
  1852. reductions. [Skotlex]
  1853. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  1854. Now we are back to where the skill animation does not shows, but you DO
  1855. get SP T.T' [Skotlex]
  1856. * Some cleanups and corrections in battle.c to account for negative
  1857. (absorbed) damage. [Skotlex]
  1858. * Fixed fame-list updating crashing char-sql server when the given char-id
  1859. just got into ranking. [Skotlex]
  1860. * Added missing Arunafeltz maps with information from NLZ [Evera]
  1861. 2006/06/18
  1862. * [Fixed]:
  1863. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  1864. filling the SkillStatusChangeTableArray with junk data.
  1865. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  1866. - Typo in parse_frommap. [Lance]
  1867. * [Fixed]:
  1868. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  1869. * [Temperory Fixed]:
  1870. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  1871. * [Removed]:
  1872. - Large part of scripted mob control commands are removed.
  1873. - Large part of scripted player control commands are removed.
  1874. - Scripted mob slaves changing master ID.
  1875. [Added]:
  1876. - Unit control commands.
  1877. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  1878. - Macro RECURSIVE_MASTER_CHECK in battle.c
  1879. [Modified]:
  1880. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  1881. and buildin_unitskillusepos.
  1882. - md->callback_flag to short (double word). [Lance]
  1883. 2006/06/17
  1884. * Devotion absorbed damage will now appear to come from oneself (instead of
  1885. the original attacker changing directions towards the Crusader) [Skotlex]
  1886. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  1887. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  1888. someone logs out <.< [Skotlex]
  1889. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  1890. * [Added]:
  1891. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  1892. [Improved]:
  1893. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  1894. - mob_script_callback to return sucess value [Lance]
  1895. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  1896. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  1897. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  1898. 2006/06/16
  1899. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  1900. lost) [Skotlex]
  1901. * Corrected @speed to alter your base speed instead of battle one. Means
  1902. the change remains for much longer (until status_calc_pc is invoked, which
  1903. could be due to equipping/unequipping stuff) [Skotlex]
  1904. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  1905. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  1906. damage be reduced by half. This bonus stack, so two cards with
  1907. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  1908. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  1909. specifies the threshold before the bNoMagicDamage starts blocking support
  1910. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  1911. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  1912. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  1913. * Removed db_tables.sql as it's no longer used. [Skotlex]
  1914. * the mvp_sd is removed when the mob is the emperium and there's no
  1915. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  1916. event from triggering and giving the castle to whoever damaged the most the
  1917. emperium without destroying it. [Skotlex]
  1918. * [Added]:
  1919. - Custom slave mobs to inherit the callback_flag.
  1920. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  1921. * [Improved]:
  1922. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  1923. 2006/06/15
  1924. * [Fixed]:
  1925. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  1926. [Lance]
  1927. * Added indexes for loginlog and ipbanlist as they did not have any.
  1928. (note, someone already put the index on loginlog on trunk.) [Euph]
  1929. * Merged Adam's patch to let the char-server handle validation of
  1930. pet-name-change requests through the allowed char letters config. [Skotlex]
  1931. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  1932. gear already equipped. [Skotlex]
  1933. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  1934. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  1935. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  1936. options. [Skotlex]
  1937. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  1938. * Corrected chrif_save so that the player is not set offline on map-change.
  1939. [Skotlex]
  1940. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  1941. [Skotlex]
  1942. * Fixed clif_parse_RemoveOption removing all options instead of just
  1943. Falcon/Cart/Peco [Skotlex]
  1944. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  1945. source is not on the map yet. [Skotlex]
  1946. * Fixed and cleaned up script command 'equip' [Skotlex]
  1947. * Fixed 'autoequip' items. [Skotlex]
  1948. * Fixed Aspd not being updated in your status window after Agi/Dex
  1949. increasing statuses take effect. [Skotlex]
  1950. 2006/06/14
  1951. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  1952. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  1953. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  1954. vit; resist += (max - resist)*luk/300; [Skotlex]
  1955. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  1956. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  1957. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  1958. array to fill in. [blackhole89]
  1959. * Blocked again skill usage during marionette. [Skotlex]
  1960. * Fixed main.sql adding a key on char_id rather than account_id for the
  1961. char table. [Skotlex]
  1962. * Cleaned up character saving in char-sql, it no longer needs to query the
  1963. database to see if the player exists on each char-save, instead it checks
  1964. the received data against the online-players db. No such fix is required
  1965. for char-txt. [Skotlex]
  1966. * Added an error message on the char-server when the received player data
  1967. size does not matches with the expected size (should avoid the crash that
  1968. happens on such a memcpy). [Skotlex]
  1969. * [Improved]:
  1970. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  1971. queries. [Lance]
  1972. 2006/06/13
  1973. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  1974. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  1975. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  1976. * Marionette and Devotion will now check raw distance and ignore obstacles
  1977. and the like. [Skotlex]
  1978. * Added irc_channel_pass setting and prevent crashing when irc server
  1979. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  1980. * [Fixed]:
  1981. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  1982. [Lance]
  1983. * Added support for reading correctly status change data from Guild and
  1984. Homun skills. [Skotlex]
  1985. * Added support for reading Homun skill data (which means the HM skills are
  1986. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  1987. * Oppositions can't be made during WoE now. [Skotlex]
  1988. * Fixed a few compiler warnings from VC [Skotlex]
  1989. * Commented out the Homunculus Skills<->Status Change link which was
  1990. causing some memory corruptions. [Skotlex]
  1991. 2006/06/12
  1992. * [Fixed]:
  1993. - buildin_npcshopitem not allocating extra 1 block of terminator.
  1994. [Added]:
  1995. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  1996. [Lance]
  1997. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  1998. to the player's buffer. [Skotlex]
  1999. * Updated @noask to also tell the user what he has just rejected (added
  2000. msg_athena entries for each of the different requests). Also updated it to
  2001. use clif_disp_onlyself. [Skotlex]
  2002. * Fixed a pair of missing initializers in the clif storage functions.
  2003. [Skotlex]
  2004. * @heal no longer displays a healing animation. Fixes the client believing
  2005. you couldn't be healed more than 32K. [Skotlex]
  2006. * Now you can use any skills (except encore/dancing ones) while under
  2007. Longing for Freeding. [Skotlex]
  2008. * Now you can use any skills while under Marionette Control. [Skotlex]
  2009. * Fixed npc_checknear's distance check returning the opposite of what it
  2010. should (false when the range is correct and viceversa) [Skotlex]
  2011. * Added a warning on item loading when an item is of equippable type but
  2012. has no equippable position. [Skotlex]
  2013. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  2014. * Slaves can summon other mobs now. The only ones who can't do this are
  2015. player summoned mobs. [Skotlex]
  2016. * Merged the following functions for faster processing of items: [Skotlex]
  2017. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  2018. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  2019. clif_itemlist + clif_equiplist = clif_inventorylist
  2020. Note that the changes are a bit substantial and need proper testing!
  2021. * Increased max knockback value support to 25. [Skotlex]
  2022. * [Optimized]:
  2023. - buildin_npcshopitem memory allocation to calculate before reallocating.
  2024. [Lance]
  2025. * Made guild member exp an unsigned int. [Skotlex]
  2026. * Various cleanups to the npc clicking related functions. Should fix quite
  2027. some possible crashes from crafted packets. [Skotlex]
  2028. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  2029. * Added missing update of INT after a buf. [Skotlex]
  2030. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  2031. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  2032. of on the party members. [Skotlex]
  2033. * Modified clif_parse_NpcClicked to handle the different situations with
  2034. different bl-objects (attack on players/mobs, click on npcs or mobs with
  2035. npc attached) [Skotlex]
  2036. 2006/06/09
  2037. * [Fixed]
  2038. - Compilation warnings on guild.c and int_guild.c [Lance]
  2039. * Added structure party_data and party_member_data to the map server to
  2040. hold party-specific required information about parties including
  2041. Monk/TK/SG/SN states and party member count. Family information is still
  2042. missing, and handling of the state should probably be done by the
  2043. char-server, too... [Skotlex]
  2044. * party Hp updates are no longer done each time the Hp is modified, but
  2045. together with the party xy timer. It means HP-bars will be a bit delayed
  2046. before being updated, but packet consumption should be much less during
  2047. heated battles. [Skotlex]
  2048. * Fixed MoM's typo [Vicious]
  2049. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  2050. * [Improved]:
  2051. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  2052. [Lance]
  2053. * [Fixed]:
  2054. - Execution of sleep/sleep2 more than once will hang the script_state.
  2055. [Lance]
  2056. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  2057. back to your last savepoint. [Skotlex]
  2058. * Moved guild_exp_rate from a mapserver battle config setting to a char
  2059. server config. It no longer modifies the total taxed exp as seen on the
  2060. guild information window, but directly modifies the exp that the guild
  2061. earns. [Skotlex]
  2062. * Added an error report and correction when the map server receives a guild
  2063. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  2064. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  2065. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  2066. 2006/06/08
  2067. * Modified guild exp to be an unsigned int rather than a signed one.
  2068. [Skotlex]
  2069. * Fixed @skilltree printing out Unknown job for most targets used.
  2070. [Skotlex]
  2071. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  2072. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  2073. characters. [Skotlex]
  2074. * Modified map_freeblock_unlock so that aFree errors will report the
  2075. file/line that INVOKED the function rather than the function itself.
  2076. [Skotlex]
  2077. NOTE: Do NOT disable the memory manager as that will break this change.
  2078. This change is to be temporarily set until the afree'd error can be
  2079. resolved.
  2080. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  2081. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  2082. [Skotlex]
  2083. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  2084. to hold the speed adjustment value rather than speed penalty (eg: 125
  2085. instead of 25). [Skotlex]
  2086. * Cleaned up status_calc_speed so that speed penalties are correctly
  2087. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  2088. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  2089. 2006/06/07
  2090. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  2091. * Fixed item-skills not showing up on login. [Skotlex]
  2092. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  2093. only on first-login and which ones are required on all map-changes.
  2094. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  2095. sent on map-change (items, cart data and zeny still need to be sent one
  2096. very map-change). [Skotlex]
  2097. * Fixed the mob state not being set to Berserk/Angry correctly after the
  2098. mob reaches the target's location. [Skotlex]
  2099. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  2100. warped between maps when stepping on a npc-warp. [Skotlex]
  2101. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  2102. npc-warp when their current target has switched maps. [Skotlex]
  2103. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  2104. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  2105. * pc_gain_exp now also receives the source of the exp, when said source
  2106. exists, bonuses are applicated as needed. [Skotlex]
  2107. * Added status_kill when capturing a mob, should take care of the mob not
  2108. respawning after caputed. [Skotlex]
  2109. * Fixed item info not displaying the found item id [Skotlex]
  2110. * Fixed item info not displaying the weight value properly. [Skotlex]
  2111. * Adjusted status resistances and durations taking as base Viccious's info
  2112. from the kro guidebook. [Skotlex]
  2113. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  2114. should display the skill animation correctly now. [Skotlex]
  2115. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  2116. [Skotlex]
  2117. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  2118. * Removed char_nick2id from char-sql server as it's no longer needed.
  2119. [Skotlex]
  2120. * Fixed quitting the map server not properly saving the storage before
  2121. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  2122. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  2123. function. [Skotlex]
  2124. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  2125. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  2126. has a 300% base chance reduced by mdef and the like as explained out by
  2127. Tharis. [Skotlex]
  2128. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  2129. target's int. [Skotlex]
  2130. * [Improved]:
  2131. - mob_dead not to remove script controlled monsters with player sprites.
  2132. [Added]:
  2133. - buildin_mobdeadsit :D [Lance]
  2134. * [Fixed]:
  2135. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  2136. mob_damage. Thanks to seahorsix. [Lance]
  2137. * [Fixed]:
  2138. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  2139. * [Optimized]:
  2140. - list and size not being initialized (size get intialized in default: switch case)
  2141. Eliminated default case and initialized list and size at the beginning. [Lance]
  2142. 2006/06/06
  2143. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  2144. to the mobs level up setting. [Skotlex]
  2145. * Removed a piece of code that should no longer be needed due to the
  2146. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  2147. self-skills from being used on others (pets/mobs should be allowed to do
  2148. that) [Skotlex]
  2149. * Added a status_check_skilluse call in Sightblaster to prevent it from
  2150. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  2151. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  2152. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  2153. * The monsters can level up setting will not take effect when the mob's
  2154. level is LESS than their db counter-part (should prevent under-leveling
  2155. causing underflows and semi-immortal mobs) [Skotlex]
  2156. * Fixed mvp-exp calculations being messed up with more than one attacker.
  2157. [Skotlex]
  2158. * Changed the mob exp race bonus so that each player gets their own bonus,
  2159. rather than the killer's bonus applying to everyone. Still not the
  2160. "correct" way, but one step closer to it. [Skotlex]
  2161. * [Fixed]:
  2162. - Allocation of event_list in guild_npc_request_info to aCalloc so
  2163. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  2164. 2006/06/05
  2165. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  2166. * Hopefully fixed changing a mob's class causing them to get all sort of
  2167. stat bonuses due to the mobs-level-up setting. [Skotlex]
  2168. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  2169. to signed char to correctly account for cards with penalties in said stats.
  2170. [Skotlex]
  2171. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  2172. * Added clif_fixpos packets before attacking for the first time to clear
  2173. any position sync issues with the client. [Skotlex]
  2174. * Fixed skill_unitsetting using layout->count for the for instead of
  2175. group->count [Skotlex]
  2176. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  2177. increase dex/agi by 40% per level. [Skotlex]
  2178. * Fixed char-sql server not deleting character variables when deleting a
  2179. char. [Skotlex]
  2180. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  2181. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  2182. overflows/underflows. [Skotlex]
  2183. 2006/06/03
  2184. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  2185. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  2186. you relogged. Thanks to Euph for the fix.
  2187. * Added variable other_mapserver_count to chrif.c which holds total count
  2188. of connected map-servers. By using this we prevent sending unnecessary
  2189. packets to the char-server when there's no more map-servers connected.
  2190. [Skotlex]
  2191. - Affected packets are whispers, announces, party messages, guild messages.
  2192. 2006/06/02
  2193. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  2194. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  2195. target is near obstacles. [Skotlex]
  2196. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  2197. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  2198. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  2199. fails. Fixes cases where the client gets "stuck" and refuses to let you
  2200. pick any items. [Skotlex]
  2201. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  2202. to 1 tile to make it act more like in the official servers.
  2203. * Some cleaning of the mob slave ai. [Skotlex]
  2204. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  2205. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  2206. skill levels above 10 (meant for boss casted skills) [Skotlex]
  2207. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  2208. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  2209. [Skotlex]
  2210. * [Fixed]
  2211. - Yet another compilation warning. [Lance]
  2212. 2006/06/01
  2213. * Altered status_calc_pc so that equipment scripts are ran before
  2214. card-scripts. [Skotlex]
  2215. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  2216. [Skotlex]
  2217. - These two together, should fix Tao Gunka Card.
  2218. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  2219. [Skotlex]
  2220. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  2221. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  2222. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  2223. without removing it when the skill level is greater than one. [Skotlex]
  2224. * Added SC_DANCING declaration in the Status Change tables to signal it
  2225. modifies Walk speed. [Skotlex]
  2226. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  2227. (eg: poison, berserk) [Skotlex]
  2228. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  2229. affected by Quagmire/Forget-me-not. [Skotlex]
  2230. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  2231. [Skotlex]
  2232. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  2233. cart. [Skotlex]
  2234. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  2235. * Fixed Autoblitz taking into account target's luck rather than attacker's
  2236. [Skotlex]
  2237. * Fixed slaves warping endlessly to their master when the master-slave
  2238. distance exceeds 30. [Skotlex]
  2239. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  2240. [Skotlex]
  2241. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  2242. incorrect range variable. [Skotlex]
  2243. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  2244. 2006/05/31
  2245. * Fixed Soul Drain not really giving you SP [Skotlex]
  2246. * [Fixed]:
  2247. - Suppressed compilation warning in chrif.c [Lance]
  2248. * [Fixed]:
  2249. - Guys can't go across map-servers :( [Lance]
  2250. * [Fixed]:
  2251. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  2252. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  2253. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  2254. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  2255. delay. [Skotlex]
  2256. * Made the char_name_option char_athena.conf setting apply to parties and
  2257. guilds as well. It cannot be applied to pets yet without adding a
  2258. change-name-request interserver packet. [Skotlex]
  2259. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  2260. [Skotlex]
  2261. * Added function char_read_fame_list for famelist reading. Invoked it on
  2262. init, and made it be sent automatically to connecting map servers.
  2263. [Skotlex]
  2264. * Some cleaning of the fame-list reading code. [Skotlex]
  2265. * Some cleaning of the fame-update code, fixed a logic bug which made the
  2266. ranking list fail to display the correct ranker names. [Skotlex]
  2267. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  2268. [Skotlex]
  2269. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  2270. status_calc_bl. [Skotlex]
  2271. * [Fixed]:
  2272. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  2273. * [Improved]:
  2274. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  2275. * [Fixed]:
  2276. - nullpo in pet.c caused by equipping without checking if the pet is available.
  2277. [Lance]
  2278. * [Fixed]:
  2279. - Latest client support completed! [Lance]
  2280. * [Fixed]:
  2281. - Missing #include for cbasetypes.h in login server SQL.
  2282. - Logic errors in run_script [Lance]
  2283. * [Added]:
  2284. - Partial support for latest login packet. But it seems to have a new security
  2285. module. [Lance]
  2286. 2006/05/30
  2287. * [Improved]:
  2288. - Fake NPC interface to use real NPCs.
  2289. - Scripting interface to restore and save sd->npc_id. [Lance]
  2290. * Added function pc_check_skilltree for checking if you unlocked new
  2291. tree-skills when raising non-passive skills. [Skotlex]
  2292. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  2293. the base status. [Skotlex]
  2294. * [Fixed]:
  2295. - Compatibility problems in login.c [Lance]
  2296. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  2297. * [Added]:
  2298. - Mercenary.c in VS.NET 2005 project files
  2299. [Improved]:
  2300. - loginlog using unsigned long `ip` field.
  2301. (Please check for compatibility problems). [Lance]
  2302. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  2303. bonuses (like effect-on-hit) to stack. [Skotlex]
  2304. * slaves inherit speed setting will now work regardless of whether the
  2305. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  2306. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  2307. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  2308. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  2309. attacks. [Skotlex]
  2310. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  2311. * Fixed the pcbonus2 warnings using the wrong value before printing the
  2312. invalid Element error. [Skotlex]
  2313. * Fixed underflow issues when calculating dmotion. [Skotlex]
  2314. * Fixed Absorb Spirit Spheres [Skotlex]
  2315. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  2316. specifies in ms what is the min delay between player sent chats
  2317. (whisper/global/party/guild). Messages that exceed this threshold are
  2318. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  2319. player?) [Skotlex]
  2320. * [Fixed]:
  2321. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  2322. * Rewrote/cleaned up @petfriendly. [Skotlex]
  2323. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  2324. * Updated attr_fix_table reading code to account for ELE_MAX (will
  2325. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  2326. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  2327. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  2328. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  2329. * Added error messages in pc_bonus* functions when an invalid element is
  2330. passed to the relevant bonuses. [Skotlex]
  2331. * [Optimized]:
  2332. - clif_specialeffect to use the enums.
  2333. [Improved]:
  2334. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  2335. definition. [Lance]
  2336. * [Added]:
  2337. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  2338. * Removed the on-die specific code from unit_remove_map and placed it on
  2339. the corresponding *_dead functions. unit_remove_map should never assume the
  2340. char died, it is just a "remove from map" function. [Skotlex]
  2341. * Updated status_damage to handle the general death code (clearing status
  2342. changes, clearing skill related data, sending death packet, etc). The
  2343. return value from the *_dead functions will tell it what to do or not with
  2344. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  2345. * Cleaned up pc_dead to take advantage of the fact that status changes are
  2346. not ended until after the function. [Skotlex]
  2347. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  2348. [Skotlex]
  2349. * Updated/adapted current Homun code to use the status_data update.
  2350. [Skotlex]
  2351. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  2352. * [Fixed]:
  2353. - Pets attacking even master is dead. [Lance]
  2354. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  2355. (negative values should be allowed when attack is absorbed by target's
  2356. element) [Skotlex]
  2357. 2006/05/29
  2358. * [Fixed]:
  2359. - Missing ';' in item #4358 [Lance]
  2360. * [Fixed]:
  2361. - Missing maps in map index database. [Lance]
  2362. * [Fixed]:
  2363. - Battle mechanics in battle_check_target [Lance]
  2364. * [Fixed]:
  2365. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  2366. [Lance]
  2367. * Cleaned up friend list saving and fixed loading of friends.txt file
  2368. (char-txt) [Skotlex]
  2369. * Added the Arunafeltz maps, not tested yet [Playtester]
  2370. - someone with an up-to-date client should test them
  2371. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  2372. [Skotlex]
  2373. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  2374. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  2375. instead of BL_PC and BL_MOB [Skotlex]
  2376. * [Fixed]:
  2377. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  2378. * Removed Undead being inmune to poison status. [Skotlex]
  2379. * Removed speed penalty from SC_SKA [Skotlex]
  2380. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  2381. * SC_DODGE won't be dispelled on death now. [Skotlex]
  2382. * [Fixed]:
  2383. - pc_follow_timer possible triggering crash.
  2384. - pc_reg_received to use battle_status.hp instead of status.hp
  2385. [Added]:
  2386. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  2387. * Added a division by zero check in mob_dead to prevent the (impossible)
  2388. case where a mob dies with received damage of zero. [Skotlex]
  2389. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  2390. Non-Players. This usually signals Self skills, and mobs/pets should be able
  2391. to use them in other characters. [Skotlex]
  2392. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  2393. * Fixed draining when the amount drained is negative (invoke zap rather
  2394. than heal) [Skotlex]
  2395. * Implemented GS_FLING as per the current skill description. [Skotlex]
  2396. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  2397. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  2398. * Added some missing SC_* entries on the initial listing (potion related
  2399. and speed up ones) [Skotlex]
  2400. * Fixed function declaration of map_getcellp() [Skotlex]
  2401. * [Fixed]:
  2402. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  2403. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  2404. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  2405. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  2406. * [Optimized]:
  2407. - Removed unused variable (account_id) in storage_guild_storagesaved.
  2408. * [Optimized]:
  2409. - Removed unused checks for unsigned data type and possible logic error for
  2410. char type (gcc treats char as unsigned). [Lance]
  2411. * [Fixed]:
  2412. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  2413. 2006/05/28
  2414. * Added functions status_revive, pc_revive and mob_revive to handle revival
  2415. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  2416. [Skotlex]
  2417. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  2418. Bladestop causing an unknown status change message). [Skotlex]
  2419. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  2420. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  2421. * [Fixed]:
  2422. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  2423. * [Protected]:
  2424. - clif_parse_LGMmessage from possible hacks [Lance]
  2425. * Fixed unable to store n items into storage unless n was the total amount
  2426. of items you had. [Skotlex]
  2427. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  2428. 2006/05/27
  2429. * Added structure status_data which holds status-related information (str,
  2430. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  2431. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  2432. to be used by all combat structures (TODO: Homun needs to be updated to use
  2433. it). This in change involves a LOT of changes throughout the code and many
  2434. optimizations were done as well. Partial list (see svn changelog for complete
  2435. changes): [Skotlex]
  2436. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  2437. skills I changed the most, but it is possible there are unnoticed bugs
  2438. remaining to fix!
  2439. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  2440. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  2441. - Added status functions to deal with damage and healing (status_damage,
  2442. status_heal, status_percent_change) and a bunch of defines for easier
  2443. handling of them (status_percent_heal, status_percent_damage,
  2444. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  2445. THIS, pc_damage/mob_damage most no longer be directly invoked!
  2446. - Rewrote and cleaned up battle_calc_misc_attack
  2447. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  2448. pet_attack_attr_none into attack_attr_none (type 4)
  2449. - Removed config options player_defense_type, monster_defense_type,
  2450. pet_defense_type in favor of weapon_defense_type
  2451. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  2452. - Modified Slim Pitcher so it will work when casted by non-players. Will
  2453. now also work with SP-healing items.
  2454. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  2455. switch adelay/speed when cast begins/ends.
  2456. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  2457. easier updating when used in conjunction with ground skills.
  2458. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  2459. - Added status_calc_bl which does status-change related calculations using
  2460. as base the base_status of the bl object and the SCB_* flag passed. This is
  2461. invoked on status changes, and status_calc_pc will no longer be invoked
  2462. (which results on much faster status-change calculations).
  2463. - pc_clean_skilltree will now also remove item-granted skills.
  2464. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  2465. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  2466. packets and functions ONCE regardless of skill-levls earned.
  2467. - Cleaned up pc_ regen related functions.
  2468. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  2469. - Clones will copy a player's base status rather than battle status (so
  2470. status-change alterations are not cloned)
  2471. 2006/05/26
  2472. * Part B of the homunculus code. [blackhole89]
  2473. While most of the homunculus handling functions are in now, it still lacks
  2474. code required for players to create it.
  2475. Given I haven't screwed up, you could master yourself one through the DB though.
  2476. * Fixed crashing in mob.c [Lance]
  2477. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  2478. * Mob control engine tested 99% working so far. [Lance]
  2479. * Change scripting engine's NPC scope vars to dot (.) style.
  2480. * Improved and (should be fully) fixed the mob control engine. [Lance]
  2481. * Fixed typos in char.c [Lance]
  2482. * Rewrote fame rank lists system to reduce char-server load, as requested by
  2483. Skotlex: now it has a copy of those lists, and updates only the proper one
  2484. when needed instead of rebuilding all from saves everytime (which required
  2485. to always save the character before rebuilding the lists) [DracoRPG]
  2486. - Note it hasn't been compiled nor tested with SQL, please do it for me
  2487. 2006/05/25
  2488. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  2489. int-based damage component (which is added right before elemental
  2490. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  2491. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  2492. Fixed atcommand @request MSG numbers accordinly.
  2493. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  2494. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  2495. * Increased capacity for Account Variables to 64 [Skotlex]
  2496. * Reverted Intravision implementation to that of stable's. [Skotlex]
  2497. * Corrected Login Server taking it's first argument as both login config
  2498. and lan config. [Skotlex]
  2499. * Fixed mob control commands.
  2500. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  2501. 2006/05/24
  2502. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  2503. * Item sharing now shares the same rules as exp sharing (no sharing when
  2504. dead, or idle, etc) [Skotlex]
  2505. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  2506. aren't supposed to be able to call minions) [Skotlex]
  2507. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  2508. skill was successful. May fix the client-position lag. [Skotlex]
  2509. * Merged item_db.sql from stable (the one from stable was more recent than
  2510. the one of trunk...) [Skotlex]
  2511. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  2512. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  2513. ban request packet. [Skotlex]
  2514. 2006/05/23
  2515. * Corrected mob angry mode, now it only "restores" itself after being hit
  2516. when the mob has no target within their range of sight rather than on
  2517. picking a new target. [Skotlex]
  2518. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  2519. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  2520. * the charname request hack message has been downgraded to only include
  2521. GM-invisible characters. [Skotlex]
  2522. * corrected clif_charnameack to send negative ID when a disguised player
  2523. asks for it's own disguised name. [Skotlex]
  2524. * Cleaned up the disguised target-id checks taking into considering that
  2525. the only character that sees a negative ID is the same disguised character.
  2526. [Skotlex]
  2527. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  2528. defense), Investigate and Icepick will now use the final def/vit-def values
  2529. rather than the base ones. [Skotlex]
  2530. * The move-enable condition checks for skills are now checked for only when
  2531. on skill use, not at cast-end time. [Skotlex]
  2532. * Corrected clif parse name request failing on disguised characters [Skotlex]
  2533. * Corrected Soul Drain draining from all non-ground-based skills including
  2534. non-magic attacks. [Skotlex]
  2535. * Corrected pc_setoption to change the option and then change class.
  2536. changing option-wedding will automatically convert the view-class as well.
  2537. [Skotlex]
  2538. * Corrected the 15% drop rate increase when killing higher level mobs in
  2539. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  2540. Vayu. [Skotlex]
  2541. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  2542. db each time o_o [Lance]
  2543. * Fixed sleep command. [Lance]
  2544. * Added 'setd' support for local NPC scope (') variables. [Lance]
  2545. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  2546. 2006/05/22
  2547. * Updated skill_delayfix to return 0 for mobs since they have no skill
  2548. delay other than the one specified in mob_skill_db [Skotlex]
  2549. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  2550. Vayu for pointing it out. [Skotlex]
  2551. * status_get_sc_tick will now use directly Stun's formula rather than
  2552. invoking the status sc chance once. [Skotlex]
  2553. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  2554. * Modified Investigate to take into consideration final def/vit-def rather
  2555. than base values for damage adjustment. [Skotlex]
  2556. * WARNING: New scripting system contains memory leak
  2557. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  2558. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  2559. * Fixed compilation errors.
  2560. Tidy up jobmaster for easy debugging. [Lance]
  2561. 2006/05/21
  2562. * Part A of the Homunculus code.
  2563. This only features the structures, status_* and clif_* (packets) and is
  2564. not functional yet in any conventional way, but doesn't interfere
  2565. with present functionality either.
  2566. Main purpose is helping me to keep my work organized. [blackhole89]
  2567. * Fixed the "fake" mute status bug. [Zido]
  2568. * Speed up array size calculation and deletion. [Lance]
  2569. * Player must learn the skill before doing auto-spell [Lance]
  2570. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  2571. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  2572. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  2573. 2006/05/20
  2574. * grfio_final moved back if any of GRF overriding is enabled so servers
  2575. with such configuration will not have different values after reloading. [Lance]
  2576. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  2577. * Abit of alterations to login-server. [Lance]
  2578. 2006/05/19
  2579. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  2580. * Small change in pc_additem that could be fixing the current bug with new
  2581. items not getting added. [Skotlex]
  2582. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  2583. * Likely fixed the mob-skill random picking behaviour causing infinite
  2584. loops sometimes. [Skotlex]
  2585. * Modified mobskill_use behaviour to pick a random starting point and check
  2586. skills from that, rather than always checking from first to last. Fixes
  2587. skills with high priority blocking skills lower down in the list from
  2588. triggering. [Skotlex]
  2589. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  2590. current target cannot be reached for melee fighting. [Skotlex]
  2591. 2006/05/18
  2592. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  2593. [Skotlex]
  2594. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  2595. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  2596. * Optimized pc_additem comparisons to account for items with more than four
  2597. slots. [Skotlex]
  2598. * Updated clif.c to enable retrieval of items from cart/storage while
  2599. trading. Exception is retrieving items from the cart while vending.
  2600. [Skotlex]
  2601. - The reasoning is that an ongoing trade will not get "corrupted" if you
  2602. earn items before it is commited (only if you lose items from your
  2603. inventory), and it is an annoyance when you realize the stuff you want to
  2604. trade is on the cart/storage.
  2605. * skill reiteration code now does not checks for the trigger-area of the
  2606. skill in the case of non-players, which means mobs can now place traps in
  2607. cells adjacent to each other. [Skotlex]
  2608. * Applied an experimental weather code that should lower bandwidth usage to
  2609. near-none, which's only disadvantage should be the weather not clearing out
  2610. until moving to another map (even when the mapflag is removed from the
  2611. current map). Please test and report if there's any anomalies with it.
  2612. [Skotlex]
  2613. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  2614. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  2615. * MO_BODYRELOCATION will send the slide packet with the actual src's
  2616. coordinates rather than selected tile. [Skotlex]
  2617. 2006/05/17
  2618. * Modified mob_can_changetarget to return true always when the new target
  2619. is the provoked-by character. Fixes provoke not making the mob change
  2620. target when it already is locked on another player. [Skotlex]
  2621. * Added check to clear previous skill when combo time ends. Should fix TK
  2622. Rankers being unable to initiate a combo with the same kick their previous
  2623. combo was finished with. [Skotlex]
  2624. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  2625. 2006/05/16
  2626. * Modified "hide woe damage" to send the number of hits rather than 1 as
  2627. damage Because when the damage is less than the number of hits, the client
  2628. will display MISS. [Skotlex]
  2629. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  2630. [Skotlex]
  2631. * Blood Drain always hits now. [Skotlex]
  2632. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  2633. delay useless) [Skotlex]
  2634. * Search free cell will now skip picking the center-tile as target
  2635. location. Will prevent slaves from walking on top of their master, or mobs
  2636. placing stuff right under themselves with the "around" target conditions
  2637. among other things. [Skotlex]
  2638. 2006/05/15
  2639. * Small changes to the skill.conf
  2640. - Monsters now can place ground skills on top of each other by default
  2641. - Land_Skill_Limit format changed and set to "Only Players" by default
  2642. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  2643. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  2644. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  2645. skill level is above 10. [Skotlex]
  2646. * Sorted out the item_data structure, getiteminfo should work correctly
  2647. now. [Skotlex]
  2648. * KA* skills can now be casted on other Soul Linkers as well without the
  2649. Spirit requirement. [Skotlex]
  2650. * Soul Drain will now show the SP drained regardless of drain display
  2651. settings. [Skotlex]
  2652. * SC_COMBO state will now end in skill_attack rather than
  2653. skill_check_condition (as it is required there to apply damage bonuses
  2654. based on combo-casted skills) [Skotlex]
  2655. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  2656. [Skotlex]
  2657. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  2658. servers. [Skotlex]
  2659. * When removing a castle's owning guild, the char servers will erase the
  2660. guardian data now. [Skotlex]
  2661. * Changed the behaviour of immobile mobs when they can't chase their
  2662. target. Rather than using a longrange skill and then unlocking, they will
  2663. use an attack/angry state skill and then unlock. [Skotlex]
  2664. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  2665. * Fixed clif_GlobalMessage being the exact same function as clif_message
  2666. (the first should send to ALL_CLIENT and the later should send to
  2667. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  2668. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  2669. * Characters in vending are now always considered "idle" if the
  2670. idle_no_share setting is active. [Skotlex]
  2671. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  2672. * Remaining fixes for item scripts. [Lance]
  2673. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  2674. 2006/05/12
  2675. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  2676. * Bugfix on fake npc [Lance]
  2677. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  2678. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  2679. the target is a nonplayer (rather than always) [Skotlex]
  2680. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  2681. player" while 0,0 are random around the whole map (regardless of whether
  2682. there's a player attached or not) [Skotlex]
  2683. * Knockback will no longer work on traps during woe. [Skotlex]
  2684. 2006/05/11
  2685. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  2686. [Skotlex]
  2687. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  2688. of 40% per level. [Skotlex]
  2689. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  2690. [Skotlex]
  2691. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  2692. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  2693. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  2694. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  2695. [Skotlex]
  2696. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  2697. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  2698. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  2699. Tanaous [Skotlex]
  2700. * Added back the missing code that substracts arrows when normal-attacking.
  2701. [Skotlex]
  2702. 2006/05/10
  2703. * Changed the state of Asura back to explosionspirits, added a hardcoded
  2704. move_enable check when invoking Asura and NOT while in BladeStop or a
  2705. Combo. [Skotlex]
  2706. * Added back SC_XMAS to status.c, it got lost sometime during all the
  2707. previous reworkings. [Skotlex]
  2708. * Changed wedding costumes to use setoption rather than changebase.
  2709. [Skotlex]
  2710. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  2711. removes it. [Skotlex]
  2712. * Updated script_commands with the new behaviour. [Skotlex]
  2713. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  2714. than 15. [Skotlex]
  2715. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  2716. 2006/05/09
  2717. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  2718. [Skotlex]
  2719. * Added @request commands, sends a request to all connected GMs of
  2720. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  2721. users (UNTESTED). [Skotlex]
  2722. * Modified @commands to use Meruru's code which is faster and does a fair
  2723. attempt at tabulating the commands presented. [Skotlex]
  2724. * Updated SKA to return a random value between 0 and 99 each time
  2725. status_get_def is invoked. [Skotlex]
  2726. * Updated Making Arrow to not include unidentified items in the list.
  2727. [Skotlex]
  2728. * Reduced drop slots from 15 to 10. [Skotlex]
  2729. * Updated mob_db.sql with the current data. [Skotlex]
  2730. * Updated setoption script command to receive a second (optional) argument
  2731. flag. If the flag is 1, the option is added to what the player currently
  2732. has; likewise using flag 2 removes only that option. No flag (or any other
  2733. value) is the older behaviour of removing all other options and setting
  2734. specificly what is passed. [Skotlex]
  2735. * Updated script_commands information for setoption due to this change.
  2736. [Skotlex]
  2737. * Small fix in npc-created chat rooms to properly include the terminating 0
  2738. on the chat's event. [Skotlex]
  2739. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  2740. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  2741. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  2742. move and the attacker is out of it's attack range. [Skotlex]
  2743. * Added missing icon for Joint Beat [Skotlex]
  2744. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  2745. * Treasure chests will now be excluded from the mob-drop listings
  2746. (@whodrops) [Skotlex]
  2747. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  2748. for the same skill. [Skotlex]
  2749. * Updated main.sql's loginlog table structure. [Skotlex]
  2750. * Added svn_update6533.sql to update the loginlog structure as suggested by
  2751. theultramage. [Skotlex]
  2752. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  2753. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  2754. when crafted for non-players. [Skotlex]
  2755. * Script commands sc_start, sc_start2 and sc_start4 will now start
  2756. regardless of sc defense of the target player (that is, they cannot be
  2757. avoided/blocked) [Skotlex]
  2758. * Fixed a possible counter overflow in attacked_count, changed the var size
  2759. to unsigned char since the code can handle the overflow now. [Skotlex]
  2760. * Multiple targets again reduces armor defense, as reported by Tharis.
  2761. [Skotlex]
  2762. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  2763. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  2764. 2006/05/08
  2765. * Reverted the change that was making ES skills stun the caster always.
  2766. [Skotlex]
  2767. * Removed the fixpos packet which is sent whenever you are hit while moving
  2768. as Aegis doesn't sends this packet neither. [Skotlex]
  2769. * ES magic will now put the caster on stun for 0.5 secs regardless of
  2770. whether the skill-target is a mob or not. [Skotlex]
  2771. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  2772. party-member joins. This packet (as redundant info as it has) should also
  2773. contain the field for "adoptability", but that needs to be coded in yet.
  2774. [Skotlex]
  2775. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  2776. checks and the reply packets still need to be coded in. [Skotlex]
  2777. * Happy State and TK stances won't dispel on death now. [Skotlex]
  2778. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  2779. skill_check_condition now. [Skotlex]
  2780. * Modified TK-ranker infinite combos to behave as described by AuronX.
  2781. Refer to his thread in the development section for details. [Skotlex]
  2782. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  2783. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  2784. (guessed, but better than 100% for all levels) [Skotlex]
  2785. * Changed max level of NPC status effect skills to 5 [Skotlex]
  2786. * Increased max number of tries to find a random spot in maps to 1000 since
  2787. some maps have so many non-walkable tiles it's hard to find one in just 100
  2788. tries. [Skotlex]
  2789. * status_set_viewdata will remove the Wedding Option status when you set a
  2790. class that is not wedding. [Skotlex]
  2791. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  2792. * idletime will now be updated on attack-request, not on sit/standup
  2793. [Skotlex]
  2794. * Party members sitting will no longer be considered idle. [Skotlex]
  2795. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  2796. with the disguise/undisguise script commands instead). [Skotlex]
  2797. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  2798. the other skill that can show critical as well) [Skotlex]
  2799. * Corrected some fields in the standing still packet (guild emblem being
  2800. stored as a Long when it should be Short) [Skotlex]
  2801. * Modified most fields of view_data to be unsigned shorts rather than
  2802. signed ones. [Skotlex]
  2803. * On-Touch NPCs will now make you stop walking when you trigger them.
  2804. [Skotlex]
  2805. * ShadowJump/JumpKick will make you land on the target's cell now.
  2806. [Skotlex]
  2807. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  2808. 2006/05/07
  2809. * Fixed readme/changelog.html [KillerBox]
  2810. * Removed old logs. [Lupus]
  2811. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  2812. 2006/05/05
  2813. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  2814. before sending one (as it's not required to send twice).
  2815. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  2816. players and still continues execution to work). [Lance]
  2817. * Updated item_db.sql to current. [Skotlex]
  2818. * Fixed a bug in @commands, most likely the reason some people were still
  2819. getting crashes. [Skotlex]
  2820. * Fixed @commands not showing the last available commands (unless the total
  2821. amount of commands is divisible by ten) [Skotlex]
  2822. * Added a npc-script-event cache to avoid looking up event-scripts every
  2823. time they need to be executed. Events cached are all those defined in
  2824. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  2825. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  2826. the related NPCs or you'll get dangling pointer crashes. However,
  2827. @reloadscript will work fine.
  2828. - Set the etc_log to on to see a summary of npcs/events loaded for script
  2829. execution on startup.
  2830. * The Rest bonus activated by using /doridori while in rest should now
  2831. trigger with all the class tree (TK/SL/SG) [Skotlex]
  2832. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  2833. player rather than the one attacking... [Skotlex]
  2834. * /doridori now won't double the HP/SP regen of TKs, it only activates
  2835. their "happy" state. [Skotlex]
  2836. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  2837. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  2838. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  2839. (even if there's no other TK around). [Skotlex]
  2840. * Added battle config settings view_range_rate and chase_range_rate to
  2841. adjust the view-range and chase-range (range2/range3) of the mob_db without
  2842. having to manually change them (battle/monster.conf) [Skotlex]
  2843. * Kaupe now will only block all skills of players, for non-players, only
  2844. normal attacks can be missed. [Skotlex]
  2845. * Moved the Kaite spell-reflect code after the damage calculation function,
  2846. so the reflected damage is exactly the damage the original target would
  2847. have received. Will only trigger if the damage to be reflected is above 0.
  2848. [Skotlex]
  2849. * OnEquip scripts will now trigger on log-on. [Skotlex]
  2850. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  2851. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  2852. start/end infinite endure. [Skotlex]
  2853. * Fixed Kaahi's SP cost per heal. [Skotlex]
  2854. * Now when walkdelay is set to 0, characters will stop walking when hit,
  2855. but will not have any walk delay. (previously setting walk delay to 0 would
  2856. not even stop characters from walking when hit) [Skotlex]
  2857. 2006/05/04
  2858. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  2859. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  2860. * Some clean-ups in the mob_ai [Skotlex]
  2861. * Improved atcommand autoloot, now displays droprate in percents and notices
  2862. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  2863. commited by erKURITA
  2864. * Added one grace range in the mob_loot search function which should fix
  2865. mob_can_reach failing when invoked with the same distance that distance_bl
  2866. returned. [Skotlex]
  2867. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  2868. * Eska is now usable on bosses. [Skotlex]
  2869. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  2870. * clif_skill_failed will print out a debug line with the skill_id (since
  2871. the current null_po does not helps at all to fix it) [Skotlex]
  2872. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  2873. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  2874. damage accumulates in the time2 interval (500ms by default) after being
  2875. hit. [Skotlex]
  2876. * Changed skill_unit_move_unit_group to enable moving of all types of
  2877. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  2878. 2006/05/03
  2879. * Kaahi now triggers every 500ms rather than on every hit (but it only
  2880. heals if in those 500ms an attack that would previously trigger Kaahi has
  2881. taken effect). In other words, it works just like before, except damage
  2882. gets "buffered" into 500ms slots. [Skotlex]
  2883. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  2884. * Knowledge will now only trigger if you logon to the memorized map, not
  2885. walk into it. [Skotlex]
  2886. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  2887. [Skotlex]
  2888. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  2889. and not fix the pet issue, but I doubt it'll cause any problems that won't
  2890. be fixed by making the pet move. [Skotlex]
  2891. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  2892. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  2893. 2006/05/02
  2894. * Fixed standing up not really standing you up. [Skotlex]
  2895. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  2896. skill_castend_nodamage_id and skill_castend_pos2 rather than
  2897. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  2898. state is active and a ground skill was not invoked. It should fix all
  2899. issues with splash/ground skills consuming ammo per target rather than once
  2900. per skill use. [Skotlex]
  2901. * Added structure state to the ground skills, their fields are magic_power,
  2902. into_abyss and ammo_consume to indicate the states that were previously
  2903. stored in val3. [Skotlex]
  2904. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  2905. not showing up though, I'll need some logged packets to see what's missing.
  2906. [Skotlex]
  2907. * Removed the unit_can_move checks in skill cast-end, they should be
  2908. performed in skill_check_require when the skill's state is move_enabled.
  2909. [Skotlex]
  2910. * Changed extremity fist's state to move_enabled, the explosion spirits
  2911. check is now hardcoded. [Skotlex]
  2912. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  2913. Haplo. [Skotlex]
  2914. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  2915. impossible to steal unless you have at least 100% steal-rate (where steal
  2916. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  2917. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  2918. shops, interacting with npcs, etc. [Skotlex]
  2919. * Kaite now works against all types of spells. [Skotlex]
  2920. * Kaupe now works against all skills. [Skotlex]
  2921. * Sanctuary now won't damage non-enemies. [Skotlex]
  2922. * Blessing now will always give you bonus stats even if you are wearing
  2923. undead armor. [Skotlex]
  2924. * Modified how Rogue's treasure works so that you get +1% to your steal
  2925. rate rather than +0.01% to the final rate. [Skotlex]
  2926. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  2927. officials (implementation is not quite the same, but it should yield the
  2928. same effects while consuming less bandwidth). "Stacking", as it's called,
  2929. is possible now, but limited to eA's minimum timer skill interval (100ms).
  2930. [Skotlex]
  2931. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  2932. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  2933. behaves). [Skotlex]
  2934. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  2935. * SC_FUSION won't end when you die now. [Skotlex]
  2936. 2006/05/01
  2937. * Added knockback when you run into a wall during running. However
  2938. position is not being refreshed on the client yet... [Skotlex]
  2939. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  2940. * Corrected a crash when sd is null in npc_event [Skotlex]
  2941. * After testing to make sure it works properly, I'm including
  2942. new battle conf options to limit MVP drops. [Reddozen]
  2943. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  2944. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  2945. since it has a visual effect to use. [Skotlex]
  2946. * Corrected the value of OPTION_FLYING [Skotlex]
  2947. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  2948. * status_setviewdata will set your option accordingly when the previous/new
  2949. view-class is wedding or xmas suit. [Skotlex]
  2950. * Added function map_foreachinshootrange, behaves the same way as
  2951. map_foreachinrange, but it also performs a "shoot-path" check before
  2952. invoking the function. Used in the skill subtimer function if
  2953. skill_wall_check is defined. [Skotlex]
  2954. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  2955. all memo points used up. [Skotlex]
  2956. * Fixed alive_count not being reset on skill unitsetting, which leads to
  2957. some groups not being cleared once all their units expire. [Skotlex]
  2958. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  2959. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  2960. * SKA no longer blocks skills. [Skotlex]
  2961. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]