Changelog-Trunk.txt 74 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338
  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/07/03
  5. * Char-server SQL won't perform the reconnect cleanup routines when
  6. kick_on_disconnect is disabled. [Skotlex]
  7. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  8. setting now only makes the attacks of the slaves trigger the autospells of
  9. the master (as it should be). [Skotlex]
  10. * Corrected code capping no_spawn_on_player to 50 when the max should be
  11. 100. [Skotlex]
  12. * Warmth will dispel when warping now (or else the effect is left on the
  13. ground) [Skotlex]
  14. * Fixed reading of the refine_db not working right when MAX_REFINE is
  15. increased from 10. [Skotlex]
  16. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  17. * Fixed a compile warning in login sql/txt [Skotlex]
  18. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  19. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  20. [Skotlex]
  21. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  22. [Skotlex]
  23. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  24. skills. [Skotlex]
  25. 2006/06/30
  26. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  27. * Added a check to prevent equipped items from being traded. [Skotlex]
  28. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  29. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  30. cells. Beware of potential bugs as it's untested. [Skotlex]
  31. * Added mapflag "nochat" to prevent chatting rooms from being created.
  32. [Skotlex]
  33. * Corrected some of the sleep checks when the char id does not matches with
  34. the char-id expected by the script engine. [Skotlex]
  35. * Cleanup in itemheal related code, fixed the item heal group bonus not
  36. working on Groups beyond 7. [Skotlex]
  37. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  38. 2006/06/29
  39. * Made the map server send list of characters online to the char-server on
  40. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  41. temporary disconnection would make the char-server tag all characters
  42. offline and refuse to save them afterwards. [Skotlex]
  43. * Fixed guild storage being "eternally in use" if you quit/logout before
  44. closing it. [Skotlex]
  45. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  46. [Skotlex]
  47. * [Fixed]
  48. - Scripting system screwing up script position after mixing timers with menus.
  49. - NPC attached AI mobs display as alive when dead.
  50. - View data not updating after buildin_unitdeadsit.
  51. [Improved]
  52. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  53. - Simplified scripting system. sd will now use pointer to the script state itself.
  54. [Lance]
  55. 2006/06/28
  56. * changed:
  57. dynamic_pass_failure_ban_how_many:from 3 to 7
  58. dynamic_pass_failure_ban_how_long:from 60 to 5
  59. as in official servers. [Musashiden]
  60. * Added a check in script command "set_option" so that invoking
  61. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  62. * Added trade-range check on trade start. [Skotlex]
  63. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  64. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  65. to be used on enemies. [Skotlex]
  66. * Cleaned up a bit the code for @item [Skotlex]
  67. * Fixed character/storage being sent to be saved TWICE when you logged out
  68. while the storage is opened. [Skotlex]
  69. * Added save_settings map config. Specifies after which events do
  70. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  71. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  72. [Skotlex]
  73. * Changed the mob drop rate adjust function to receive a signed int
  74. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  75. * Corrected Musical Strike having a different damage equation from Throw
  76. Arrow. [Skotlex]
  77. * Added state rewarp to players. It gets set when a pc_setpos call is
  78. triggered while the player is changing maps so that when the player finish
  79. loading the map, it is inmediately rewarped to where it has been
  80. rewarped/recalled to. [Skotlex]
  81. 2006/06/27
  82. * Map server will now resent the whole list of online characters to
  83. char-server on reconnect when the kick_on_disconnect setting is active.
  84. [Skotlex]
  85. * Cleaned up and optimized the IP sync code. New login_athena config
  86. setting sync_ip_interval specifies how often to sync the ip. The default is
  87. 0 (disabled). [Skotlex]
  88. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  89. on maps with this mapflag on, rather than every map. [Skotlex]
  90. * High Jump can now be used in all versus maps. [Skotlex]
  91. * Added Kaite's opt3 value, taken from jA [Skotlex]
  92. * Added state dirty == 2 to storages. Signals when a storage was sent for
  93. final saving. Said storage is removed from memory after the ack from the
  94. char-server, and they are sent to save if the map/char servers reconnect
  95. before the ack arrives. In short: they are guaranteed to be saved after a
  96. char logs out. [Skotlex]
  97. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  98. 2006/06/26
  99. * Corrected the element of hunter traps. [Skotlex]
  100. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  101. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  102. [Skotlex]
  103. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  104. * Rough implementation of Ground Drift according to description and jA
  105. info. [Skotlex]
  106. * Implemented Tatami Gaeshi using skill description and jA implementation
  107. for reference. [Skotlex]
  108. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  109. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  110. Meruru for pointing out they aren't being used anymore. [Skotlex]
  111. * Autospells will now again check for the skill's nk value, so that skills
  112. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  113. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  114. equipment (fixes them showing up "broken" and with random refine levels)
  115. [Skotlex]
  116. * [Added]:
  117. - buildin_unitkill just for kicks. [Lance]
  118. 2006/06/23
  119. * [Optimized]:
  120. - Setting of variables with defined scope in some frequently executed script
  121. events.
  122. [Added]:
  123. - Missing script_require_trigger flags for some power hungry events.
  124. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  125. * Modified pc_setoption so that it will correctly update sprite AND clothes
  126. color when mounting/unmounting changing into/from xmas/wedding sprites.
  127. [Skotlex]
  128. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  129. to be sold, traded, dropped, etc. [Skotlex]
  130. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  131. and before card reductions. The skill now completely disregards left
  132. hand weapon. [Skotlex]
  133. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  134. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  135. * Cleared up the comment on what item_check does and how it works.
  136. [Skotlex]
  137. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  138. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  139. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  140. to forbid skills from common maps. [Skotlex]
  141. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  142. * The map search free cell will now use the size of the map # of tries
  143. before giving up when the spawn area is the whole map. Added a check to
  144. inmediately give up when the number of spawn retries has reached the max
  145. specified (no_spawn_onplayer = 100). [Skotlex]
  146. * Cleaned up a bit the clone code to account for the unit flags
  147. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  148. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  149. * Added pc_bonus_autospell_del, gives support for removing autospell
  150. effects. When a negative rate is specified, it will decrease the chance of
  151. casting (eg: You have two different cards with autospell Heal +20% each,
  152. then do autospell -30. The second card will be cancelled, and the first one
  153. will become Heal +10%) [Skotlex]
  154. * npc_timers now will not restore the previous timer data when there's no
  155. players attached (when it's strictly an npc timer). This should reenable
  156. the old behaviour of getnpctimer returning the total ellapsed time since
  157. "startnpctimer" even after the last label has been reached. However, this
  158. behaviour won't apply to player-attached timers. [Skotlex]
  159. * [Fixed]:
  160. - MAPREGSQL overloading SQL table with temperory map registries.
  161. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  162. 2006/06/22
  163. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  164. This should complete the required packets for PACKETVER 7. [Skotlex]
  165. * Added support for the PACKETVER 7 packets in the "dummy" current
  166. intravision implementation. [Skotlex]
  167. * Fixed @autoloot being off by 0.01% when entering a manual value.
  168. [Skotlex]
  169. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  170. each target is hit N times (where N is the number of mobs in the splash
  171. area at the moment of triggering). [Skotlex]
  172. * Updated the tools/stackdump script to also handle sig-plugin generated
  173. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  174. the end or not. Help me test it as I want this script on stable NOW :X
  175. [Skotlex]
  176. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  177. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  178. stackdump as before. [Skotlex]
  179. * Corrected autoloot so that you can specify rate with decimal precision
  180. ("@autoloot 0.01" should work) [Skotlex]
  181. 2006/06/21
  182. * [Removed]:
  183. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  184. * [Fixed]:
  185. - Compilation warnings and errors.
  186. [Improved]:
  187. - Changed and moved IP sync status messages to elaborate more. [Lance]
  188. * Tested and fixed resolve_hostbyname. Applied said function around most of
  189. the code where needed. Removed includes for the OS/network system pretty
  190. much from every file (our socket.c file should handle this) [Skotlex]
  191. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  192. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  193. [Skotlex]
  194. * status_percent_change will now account for when the target's max hp/sp is
  195. above INT_MAX. [Skotlex]
  196. * [Added]:
  197. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  198. 2006/06/20
  199. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  200. really ARE the same value clientside! (totally stupid), therefore I've
  201. opted from removing the flying animation since it really just displays as
  202. Xmas for others (and the correct fix involves adding a bunch of
  203. class-change packets...) [Skotlex]
  204. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  205. Fling. [Skotlex]
  206. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  207. in skill_check_condition, fixed the skill so that it's damage is based on
  208. whatever zeny is specified in skill_require_db. [Skotlex]
  209. * Can-act delay will not be reset when warping now. [Skotlex]
  210. * Fixed Quagmire not altering walking-speed. [Skotlex]
  211. * Silence now blocks skills both on begin/end casting. [Skotlex]
  212. * Updated status_calc_bl so that when walking speed changes, the character
  213. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  214. 2006/06/19
  215. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  216. * Combo-used Skills with State "move_enable" will now override the "can't
  217. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  218. * Some more cleanups of battle_calc_damage to account for absorbed damage
  219. reductions. [Skotlex]
  220. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  221. Now we are back to where the skill animation does not shows, but you DO
  222. get SP T.T' [Skotlex]
  223. * Some cleanups and corrections in battle.c to account for negative
  224. (absorbed) damage. [Skotlex]
  225. * Fixed fame-list updating crashing char-sql server when the given char-id
  226. just got into ranking. [Skotlex]
  227. * Added missing Arunafeltz maps with information from NLZ [Evera]
  228. 2006/06/18
  229. * [Fixed]:
  230. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  231. filling the SkillStatusChangeTableArray with junk data.
  232. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  233. - Typo in parse_frommap. [Lance]
  234. * [Fixed]:
  235. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  236. * [Temperory Fixed]:
  237. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  238. * [Removed]:
  239. - Large part of scripted mob control commands are removed.
  240. - Large part of scripted player control commands are removed.
  241. - Scripted mob slaves changing master ID.
  242. [Added]:
  243. - Unit control commands.
  244. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  245. - Macro RECURSIVE_MASTER_CHECK in battle.c
  246. [Modified]:
  247. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  248. and buildin_unitskillusepos.
  249. - md->callback_flag to short (double word). [Lance]
  250. 2006/06/17
  251. * Devotion absorbed damage will now appear to come from oneself (instead of
  252. the original attacker changing directions towards the Crusader) [Skotlex]
  253. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  254. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  255. someone logs out <.< [Skotlex]
  256. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  257. * [Added]:
  258. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  259. [Improved]:
  260. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  261. - mob_script_callback to return sucess value [Lance]
  262. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  263. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  264. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  265. 2006/06/16
  266. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  267. lost) [Skotlex]
  268. * Corrected @speed to alter your base speed instead of battle one. Means
  269. the change remains for much longer (until status_calc_pc is invoked, which
  270. could be due to equipping/unequipping stuff) [Skotlex]
  271. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  272. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  273. damage be reduced by half. This bonus stack, so two cards with
  274. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  275. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  276. specifies the threshold before the bNoMagicDamage starts blocking support
  277. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  278. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  279. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  280. * Removed db_tables.sql as it's no longer used. [Skotlex]
  281. * the mvp_sd is removed when the mob is the emperium and there's no
  282. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  283. event from triggering and giving the castle to whoever damaged the most the
  284. emperium without destroying it. [Skotlex]
  285. * [Added]:
  286. - Custom slave mobs to inherit the callback_flag.
  287. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  288. * [Improved]:
  289. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  290. 2006/06/15
  291. * [Fixed]:
  292. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  293. [Lance]
  294. * Added indexes for loginlog and ipbanlist as they did not have any.
  295. (note, someone already put the index on loginlog on trunk.) [Euph]
  296. * Merged Adam's patch to let the char-server handle validation of
  297. pet-name-change requests through the allowed char letters config. [Skotlex]
  298. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  299. gear already equipped. [Skotlex]
  300. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  301. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  302. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  303. options. [Skotlex]
  304. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  305. * Corrected chrif_save so that the player is not set offline on map-change.
  306. [Skotlex]
  307. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  308. [Skotlex]
  309. * Fixed clif_parse_RemoveOption removing all options instead of just
  310. Falcon/Cart/Peco [Skotlex]
  311. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  312. source is not on the map yet. [Skotlex]
  313. * Fixed and cleaned up script command 'equip' [Skotlex]
  314. * Fixed 'autoequip' items. [Skotlex]
  315. * Fixed Aspd not being updated in your status window after Agi/Dex
  316. increasing statuses take effect. [Skotlex]
  317. 2006/06/14
  318. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  319. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  320. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  321. vit; resist += (max - resist)*luk/300; [Skotlex]
  322. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  323. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  324. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  325. array to fill in. [blackhole89]
  326. * Blocked again skill usage during marionette. [Skotlex]
  327. * Fixed main.sql adding a key on char_id rather than account_id for the
  328. char table. [Skotlex]
  329. * Cleaned up character saving in char-sql, it no longer needs to query the
  330. database to see if the player exists on each char-save, instead it checks
  331. the received data against the online-players db. No such fix is required
  332. for char-txt. [Skotlex]
  333. * Added an error message on the char-server when the received player data
  334. size does not matches with the expected size (should avoid the crash that
  335. happens on such a memcpy). [Skotlex]
  336. * [Improved]:
  337. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  338. queries. [Lance]
  339. 2006/06/13
  340. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  341. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  342. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  343. * Marionette and Devotion will now check raw distance and ignore obstacles
  344. and the like. [Skotlex]
  345. * Added irc_channel_pass setting and prevent crashing when irc server
  346. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  347. * [Fixed]:
  348. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  349. [Lance]
  350. * Added support for reading correctly status change data from Guild and
  351. Homun skills. [Skotlex]
  352. * Added support for reading Homun skill data (which means the HM skills are
  353. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  354. * Oppositions can't be made during WoE now. [Skotlex]
  355. * Fixed a few compiler warnings from VC [Skotlex]
  356. * Commented out the Homunculus Skills<->Status Change link which was
  357. causing some memory corruptions. [Skotlex]
  358. 2006/06/12
  359. * [Fixed]:
  360. - buildin_npcshopitem not allocating extra 1 block of terminator.
  361. [Added]:
  362. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  363. [Lance]
  364. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  365. to the player's buffer. [Skotlex]
  366. * Updated @noask to also tell the user what he has just rejected (added
  367. msg_athena entries for each of the different requests). Also updated it to
  368. use clif_disp_onlyself. [Skotlex]
  369. * Fixed a pair of missing initializers in the clif storage functions.
  370. [Skotlex]
  371. * @heal no longer displays a healing animation. Fixes the client believing
  372. you couldn't be healed more than 32K. [Skotlex]
  373. * Now you can use any skills (except encore/dancing ones) while under
  374. Longing for Freeding. [Skotlex]
  375. * Now you can use any skills while under Marionette Control. [Skotlex]
  376. * Fixed npc_checknear's distance check returning the opposite of what it
  377. should (false when the range is correct and viceversa) [Skotlex]
  378. * Added a warning on item loading when an item is of equippable type but
  379. has no equippable position. [Skotlex]
  380. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  381. * Slaves can summon other mobs now. The only ones who can't do this are
  382. player summoned mobs. [Skotlex]
  383. * Merged the following functions for faster processing of items: [Skotlex]
  384. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  385. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  386. clif_itemlist + clif_equiplist = clif_inventorylist
  387. Note that the changes are a bit substantial and need proper testing!
  388. * Increased max knockback value support to 25. [Skotlex]
  389. * [Optimized]:
  390. - buildin_npcshopitem memory allocation to calculate before reallocating.
  391. [Lance]
  392. * Made guild member exp an unsigned int. [Skotlex]
  393. * Various cleanups to the npc clicking related functions. Should fix quite
  394. some possible crashes from crafted packets. [Skotlex]
  395. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  396. * Added missing update of INT after a buf. [Skotlex]
  397. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  398. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  399. of on the party members. [Skotlex]
  400. * Modified clif_parse_NpcClicked to handle the different situations with
  401. different bl-objects (attack on players/mobs, click on npcs or mobs with
  402. npc attached) [Skotlex]
  403. 2006/06/09
  404. * [Fixed]
  405. - Compilation warnings on guild.c and int_guild.c [Lance]
  406. * Added structure party_data and party_member_data to the map server to
  407. hold party-specific required information about parties including
  408. Monk/TK/SG/SN states and party member count. Family information is still
  409. missing, and handling of the state should probably be done by the
  410. char-server, too... [Skotlex]
  411. * party Hp updates are no longer done each time the Hp is modified, but
  412. together with the party xy timer. It means HP-bars will be a bit delayed
  413. before being updated, but packet consumption should be much less during
  414. heated battles. [Skotlex]
  415. * Fixed MoM's typo [Vicious]
  416. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  417. * [Improved]:
  418. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  419. [Lance]
  420. * [Fixed]:
  421. - Execution of sleep/sleep2 more than once will hang the script_state.
  422. [Lance]
  423. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  424. back to your last savepoint. [Skotlex]
  425. * Moved guild_exp_rate from a mapserver battle config setting to a char
  426. server config. It no longer modifies the total taxed exp as seen on the
  427. guild information window, but directly modifies the exp that the guild
  428. earns. [Skotlex]
  429. * Added an error report and correction when the map server receives a guild
  430. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  431. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  432. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  433. 2006/06/08
  434. * Modified guild exp to be an unsigned int rather than a signed one.
  435. [Skotlex]
  436. * Fixed @skilltree printing out Unknown job for most targets used.
  437. [Skotlex]
  438. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  439. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  440. characters. [Skotlex]
  441. * Modified map_freeblock_unlock so that aFree errors will report the
  442. file/line that INVOKED the function rather than the function itself.
  443. [Skotlex]
  444. NOTE: Do NOT disable the memory manager as that will break this change.
  445. This change is to be temporarily set until the afree'd error can be
  446. resolved.
  447. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  448. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  449. [Skotlex]
  450. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  451. to hold the speed adjustment value rather than speed penalty (eg: 125
  452. instead of 25). [Skotlex]
  453. * Cleaned up status_calc_speed so that speed penalties are correctly
  454. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  455. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  456. 2006/06/07
  457. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  458. * Fixed item-skills not showing up on login. [Skotlex]
  459. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  460. only on first-login and which ones are required on all map-changes.
  461. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  462. sent on map-change (items, cart data and zeny still need to be sent one
  463. very map-change). [Skotlex]
  464. * Fixed the mob state not being set to Berserk/Angry correctly after the
  465. mob reaches the target's location. [Skotlex]
  466. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  467. warped between maps when stepping on a npc-warp. [Skotlex]
  468. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  469. npc-warp when their current target has switched maps. [Skotlex]
  470. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  471. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  472. * pc_gain_exp now also receives the source of the exp, when said source
  473. exists, bonuses are applicated as needed. [Skotlex]
  474. * Added status_kill when capturing a mob, should take care of the mob not
  475. respawning after caputed. [Skotlex]
  476. * Fixed item info not displaying the found item id [Skotlex]
  477. * Fixed item info not displaying the weight value properly. [Skotlex]
  478. * Adjusted status resistances and durations taking as base Viccious's info
  479. from the kro guidebook. [Skotlex]
  480. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  481. should display the skill animation correctly now. [Skotlex]
  482. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  483. [Skotlex]
  484. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  485. * Removed char_nick2id from char-sql server as it's no longer needed.
  486. [Skotlex]
  487. * Fixed quitting the map server not properly saving the storage before
  488. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  489. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  490. function. [Skotlex]
  491. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  492. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  493. has a 300% base chance reduced by mdef and the like as explained out by
  494. Tharis. [Skotlex]
  495. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  496. target's int. [Skotlex]
  497. * [Improved]:
  498. - mob_dead not to remove script controlled monsters with player sprites.
  499. [Added]:
  500. - buildin_mobdeadsit :D [Lance]
  501. * [Fixed]:
  502. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  503. mob_damage. Thanks to seahorsix. [Lance]
  504. * [Fixed]:
  505. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  506. * [Optimized]:
  507. - list and size not being initialized (size get intialized in default: switch case)
  508. Eliminated default case and initialized list and size at the beginning. [Lance]
  509. 2006/06/06
  510. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  511. to the mobs level up setting. [Skotlex]
  512. * Removed a piece of code that should no longer be needed due to the
  513. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  514. self-skills from being used on others (pets/mobs should be allowed to do
  515. that) [Skotlex]
  516. * Added a status_check_skilluse call in Sightblaster to prevent it from
  517. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  518. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  519. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  520. * The monsters can level up setting will not take effect when the mob's
  521. level is LESS than their db counter-part (should prevent under-leveling
  522. causing underflows and semi-immortal mobs) [Skotlex]
  523. * Fixed mvp-exp calculations being messed up with more than one attacker.
  524. [Skotlex]
  525. * Changed the mob exp race bonus so that each player gets their own bonus,
  526. rather than the killer's bonus applying to everyone. Still not the
  527. "correct" way, but one step closer to it. [Skotlex]
  528. * [Fixed]:
  529. - Allocation of event_list in guild_npc_request_info to aCalloc so
  530. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  531. 2006/06/05
  532. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  533. * Hopefully fixed changing a mob's class causing them to get all sort of
  534. stat bonuses due to the mobs-level-up setting. [Skotlex]
  535. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  536. to signed char to correctly account for cards with penalties in said stats.
  537. [Skotlex]
  538. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  539. * Added clif_fixpos packets before attacking for the first time to clear
  540. any position sync issues with the client. [Skotlex]
  541. * Fixed skill_unitsetting using layout->count for the for instead of
  542. group->count [Skotlex]
  543. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  544. increase dex/agi by 40% per level. [Skotlex]
  545. * Fixed char-sql server not deleting character variables when deleting a
  546. char. [Skotlex]
  547. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  548. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  549. overflows/underflows. [Skotlex]
  550. 2006/06/03
  551. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  552. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  553. you relogged. Thanks to Euph for the fix.
  554. * Added variable other_mapserver_count to chrif.c which holds total count
  555. of connected map-servers. By using this we prevent sending unnecessary
  556. packets to the char-server when there's no more map-servers connected.
  557. [Skotlex]
  558. - Affected packets are whispers, announces, party messages, guild messages.
  559. 2006/06/02
  560. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  561. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  562. target is near obstacles. [Skotlex]
  563. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  564. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  565. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  566. fails. Fixes cases where the client gets "stuck" and refuses to let you
  567. pick any items. [Skotlex]
  568. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  569. to 1 tile to make it act more like in the official servers.
  570. * Some cleaning of the mob slave ai. [Skotlex]
  571. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  572. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  573. skill levels above 10 (meant for boss casted skills) [Skotlex]
  574. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  575. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  576. [Skotlex]
  577. * [Fixed]
  578. - Yet another compilation warning. [Lance]
  579. 2006/06/01
  580. * Altered status_calc_pc so that equipment scripts are ran before
  581. card-scripts. [Skotlex]
  582. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  583. [Skotlex]
  584. - These two together, should fix Tao Gunka Card.
  585. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  586. [Skotlex]
  587. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  588. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  589. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  590. without removing it when the skill level is greater than one. [Skotlex]
  591. * Added SC_DANCING declaration in the Status Change tables to signal it
  592. modifies Walk speed. [Skotlex]
  593. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  594. (eg: poison, berserk) [Skotlex]
  595. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  596. affected by Quagmire/Forget-me-not. [Skotlex]
  597. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  598. [Skotlex]
  599. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  600. cart. [Skotlex]
  601. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  602. * Fixed Autoblitz taking into account target's luck rather than attacker's
  603. [Skotlex]
  604. * Fixed slaves warping endlessly to their master when the master-slave
  605. distance exceeds 30. [Skotlex]
  606. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  607. [Skotlex]
  608. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  609. incorrect range variable. [Skotlex]
  610. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  611. 2006/05/31
  612. * Fixed Soul Drain not really giving you SP [Skotlex]
  613. * [Fixed]:
  614. - Suppressed compilation warning in chrif.c [Lance]
  615. * [Fixed]:
  616. - Guys can't go across map-servers :( [Lance]
  617. * [Fixed]:
  618. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  619. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  620. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  621. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  622. delay. [Skotlex]
  623. * Made the char_name_option char_athena.conf setting apply to parties and
  624. guilds as well. It cannot be applied to pets yet without adding a
  625. change-name-request interserver packet. [Skotlex]
  626. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  627. [Skotlex]
  628. * Added function char_read_fame_list for famelist reading. Invoked it on
  629. init, and made it be sent automatically to connecting map servers.
  630. [Skotlex]
  631. * Some cleaning of the fame-list reading code. [Skotlex]
  632. * Some cleaning of the fame-update code, fixed a logic bug which made the
  633. ranking list fail to display the correct ranker names. [Skotlex]
  634. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  635. [Skotlex]
  636. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  637. status_calc_bl. [Skotlex]
  638. * [Fixed]:
  639. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  640. * [Improved]:
  641. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  642. * [Fixed]:
  643. - nullpo in pet.c caused by equipping without checking if the pet is available.
  644. [Lance]
  645. * [Fixed]:
  646. - Latest client support completed! [Lance]
  647. * [Fixed]:
  648. - Missing #include for cbasetypes.h in login server SQL.
  649. - Logic errors in run_script [Lance]
  650. * [Added]:
  651. - Partial support for latest login packet. But it seems to have a new security
  652. module. [Lance]
  653. 2006/05/30
  654. * [Improved]:
  655. - Fake NPC interface to use real NPCs.
  656. - Scripting interface to restore and save sd->npc_id. [Lance]
  657. * Added function pc_check_skilltree for checking if you unlocked new
  658. tree-skills when raising non-passive skills. [Skotlex]
  659. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  660. the base status. [Skotlex]
  661. * [Fixed]:
  662. - Compatibility problems in login.c [Lance]
  663. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  664. * [Added]:
  665. - Mercenary.c in VS.NET 2005 project files
  666. [Improved]:
  667. - loginlog using unsigned long `ip` field.
  668. (Please check for compatibility problems). [Lance]
  669. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  670. bonuses (like effect-on-hit) to stack. [Skotlex]
  671. * slaves inherit speed setting will now work regardless of whether the
  672. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  673. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  674. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  675. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  676. attacks. [Skotlex]
  677. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  678. * Fixed the pcbonus2 warnings using the wrong value before printing the
  679. invalid Element error. [Skotlex]
  680. * Fixed underflow issues when calculating dmotion. [Skotlex]
  681. * Fixed Absorb Spirit Spheres [Skotlex]
  682. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  683. specifies in ms what is the min delay between player sent chats
  684. (whisper/global/party/guild). Messages that exceed this threshold are
  685. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  686. player?) [Skotlex]
  687. * [Fixed]:
  688. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  689. * Rewrote/cleaned up @petfriendly. [Skotlex]
  690. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  691. * Updated attr_fix_table reading code to account for ELE_MAX (will
  692. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  693. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  694. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  695. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  696. * Added error messages in pc_bonus* functions when an invalid element is
  697. passed to the relevant bonuses. [Skotlex]
  698. * [Optimized]:
  699. - clif_specialeffect to use the enums.
  700. [Improved]:
  701. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  702. definition. [Lance]
  703. * [Added]:
  704. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  705. * Removed the on-die specific code from unit_remove_map and placed it on
  706. the corresponding *_dead functions. unit_remove_map should never assume the
  707. char died, it is just a "remove from map" function. [Skotlex]
  708. * Updated status_damage to handle the general death code (clearing status
  709. changes, clearing skill related data, sending death packet, etc). The
  710. return value from the *_dead functions will tell it what to do or not with
  711. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  712. * Cleaned up pc_dead to take advantage of the fact that status changes are
  713. not ended until after the function. [Skotlex]
  714. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  715. [Skotlex]
  716. * Updated/adapted current Homun code to use the status_data update.
  717. [Skotlex]
  718. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  719. * [Fixed]:
  720. - Pets attacking even master is dead. [Lance]
  721. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  722. (negative values should be allowed when attack is absorbed by target's
  723. element) [Skotlex]
  724. 2006/05/29
  725. * [Fixed]:
  726. - Missing ';' in item #4358 [Lance]
  727. * [Fixed]:
  728. - Missing maps in map index database. [Lance]
  729. * [Fixed]:
  730. - Battle mechanics in battle_check_target [Lance]
  731. * [Fixed]:
  732. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  733. [Lance]
  734. * Cleaned up friend list saving and fixed loading of friends.txt file
  735. (char-txt) [Skotlex]
  736. * Added the Arunafeltz maps, not tested yet [Playtester]
  737. - someone with an up-to-date client should test them
  738. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  739. [Skotlex]
  740. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  741. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  742. instead of BL_PC and BL_MOB [Skotlex]
  743. * [Fixed]:
  744. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  745. * Removed Undead being inmune to poison status. [Skotlex]
  746. * Removed speed penalty from SC_SKA [Skotlex]
  747. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  748. * SC_DODGE won't be dispelled on death now. [Skotlex]
  749. * [Fixed]:
  750. - pc_follow_timer possible triggering crash.
  751. - pc_reg_received to use battle_status.hp instead of status.hp
  752. [Added]:
  753. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  754. * Added a division by zero check in mob_dead to prevent the (impossible)
  755. case where a mob dies with received damage of zero. [Skotlex]
  756. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  757. Non-Players. This usually signals Self skills, and mobs/pets should be able
  758. to use them in other characters. [Skotlex]
  759. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  760. * Fixed draining when the amount drained is negative (invoke zap rather
  761. than heal) [Skotlex]
  762. * Implemented GS_FLING as per the current skill description. [Skotlex]
  763. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  764. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  765. * Added some missing SC_* entries on the initial listing (potion related
  766. and speed up ones) [Skotlex]
  767. * Fixed function declaration of map_getcellp() [Skotlex]
  768. * [Fixed]:
  769. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  770. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  771. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  772. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  773. * [Optimized]:
  774. - Removed unused variable (account_id) in storage_guild_storagesaved.
  775. * [Optimized]:
  776. - Removed unused checks for unsigned data type and possible logic error for
  777. char type (gcc treats char as unsigned). [Lance]
  778. * [Fixed]:
  779. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  780. 2006/05/28
  781. * Added functions status_revive, pc_revive and mob_revive to handle revival
  782. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  783. [Skotlex]
  784. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  785. Bladestop causing an unknown status change message). [Skotlex]
  786. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  787. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  788. * [Fixed]:
  789. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  790. * [Protected]:
  791. - clif_parse_LGMmessage from possible hacks [Lance]
  792. * Fixed unable to store n items into storage unless n was the total amount
  793. of items you had. [Skotlex]
  794. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  795. 2006/05/27
  796. * Added structure status_data which holds status-related information (str,
  797. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  798. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  799. to be used by all combat structures (TODO: Homun needs to be updated to use
  800. it). This in change involves a LOT of changes throughout the code and many
  801. optimizations were done as well. Partial list (see svn changelog for complete
  802. changes): [Skotlex]
  803. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  804. skills I changed the most, but it is possible there are unnoticed bugs
  805. remaining to fix!
  806. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  807. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  808. - Added status functions to deal with damage and healing (status_damage,
  809. status_heal, status_percent_change) and a bunch of defines for easier
  810. handling of them (status_percent_heal, status_percent_damage,
  811. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  812. THIS, pc_damage/mob_damage most no longer be directly invoked!
  813. - Rewrote and cleaned up battle_calc_misc_attack
  814. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  815. pet_attack_attr_none into attack_attr_none (type 4)
  816. - Removed config options player_defense_type, monster_defense_type,
  817. pet_defense_type in favor of weapon_defense_type
  818. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  819. - Modified Slim Pitcher so it will work when casted by non-players. Will
  820. now also work with SP-healing items.
  821. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  822. switch adelay/speed when cast begins/ends.
  823. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  824. easier updating when used in conjunction with ground skills.
  825. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  826. - Added status_calc_bl which does status-change related calculations using
  827. as base the base_status of the bl object and the SCB_* flag passed. This is
  828. invoked on status changes, and status_calc_pc will no longer be invoked
  829. (which results on much faster status-change calculations).
  830. - pc_clean_skilltree will now also remove item-granted skills.
  831. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  832. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  833. packets and functions ONCE regardless of skill-levls earned.
  834. - Cleaned up pc_ regen related functions.
  835. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  836. - Clones will copy a player's base status rather than battle status (so
  837. status-change alterations are not cloned)
  838. 2006/05/26
  839. * Part B of the homunculus code. [blackhole89]
  840. While most of the homunculus handling functions are in now, it still lacks
  841. code required for players to create it.
  842. Given I haven't screwed up, you could master yourself one through the DB though.
  843. * Fixed crashing in mob.c [Lance]
  844. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  845. * Mob control engine tested 99% working so far. [Lance]
  846. * Change scripting engine's NPC scope vars to dot (.) style.
  847. * Improved and (should be fully) fixed the mob control engine. [Lance]
  848. * Fixed typos in char.c [Lance]
  849. * Rewrote fame rank lists system to reduce char-server load, as requested by
  850. Skotlex: now it has a copy of those lists, and updates only the proper one
  851. when needed instead of rebuilding all from saves everytime (which required
  852. to always save the character before rebuilding the lists) [DracoRPG]
  853. - Note it hasn't been compiled nor tested with SQL, please do it for me
  854. 2006/05/25
  855. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  856. int-based damage component (which is added right before elemental
  857. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  858. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  859. Fixed atcommand @request MSG numbers accordinly.
  860. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  861. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  862. * Increased capacity for Account Variables to 64 [Skotlex]
  863. * Reverted Intravision implementation to that of stable's. [Skotlex]
  864. * Corrected Login Server taking it's first argument as both login config
  865. and lan config. [Skotlex]
  866. * Fixed mob control commands.
  867. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  868. 2006/05/24
  869. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  870. * Item sharing now shares the same rules as exp sharing (no sharing when
  871. dead, or idle, etc) [Skotlex]
  872. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  873. aren't supposed to be able to call minions) [Skotlex]
  874. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  875. skill was successful. May fix the client-position lag. [Skotlex]
  876. * Merged item_db.sql from stable (the one from stable was more recent than
  877. the one of trunk...) [Skotlex]
  878. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  879. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  880. ban request packet. [Skotlex]
  881. 2006/05/23
  882. * Corrected mob angry mode, now it only "restores" itself after being hit
  883. when the mob has no target within their range of sight rather than on
  884. picking a new target. [Skotlex]
  885. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  886. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  887. * the charname request hack message has been downgraded to only include
  888. GM-invisible characters. [Skotlex]
  889. * corrected clif_charnameack to send negative ID when a disguised player
  890. asks for it's own disguised name. [Skotlex]
  891. * Cleaned up the disguised target-id checks taking into considering that
  892. the only character that sees a negative ID is the same disguised character.
  893. [Skotlex]
  894. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  895. defense), Investigate and Icepick will now use the final def/vit-def values
  896. rather than the base ones. [Skotlex]
  897. * The move-enable condition checks for skills are now checked for only when
  898. on skill use, not at cast-end time. [Skotlex]
  899. * Corrected clif parse name request failing on disguised characters [Skotlex]
  900. * Corrected Soul Drain draining from all non-ground-based skills including
  901. non-magic attacks. [Skotlex]
  902. * Corrected pc_setoption to change the option and then change class.
  903. changing option-wedding will automatically convert the view-class as well.
  904. [Skotlex]
  905. * Corrected the 15% drop rate increase when killing higher level mobs in
  906. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  907. Vayu. [Skotlex]
  908. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  909. db each time o_o [Lance]
  910. * Fixed sleep command. [Lance]
  911. * Added 'setd' support for local NPC scope (') variables. [Lance]
  912. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  913. 2006/05/22
  914. * Updated skill_delayfix to return 0 for mobs since they have no skill
  915. delay other than the one specified in mob_skill_db [Skotlex]
  916. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  917. Vayu for pointing it out. [Skotlex]
  918. * status_get_sc_tick will now use directly Stun's formula rather than
  919. invoking the status sc chance once. [Skotlex]
  920. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  921. * Modified Investigate to take into consideration final def/vit-def rather
  922. than base values for damage adjustment. [Skotlex]
  923. * WARNING: New scripting system contains memory leak
  924. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  925. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  926. * Fixed compilation errors.
  927. Tidy up jobmaster for easy debugging. [Lance]
  928. 2006/05/21
  929. * Part A of the Homunculus code.
  930. This only features the structures, status_* and clif_* (packets) and is
  931. not functional yet in any conventional way, but doesn't interfere
  932. with present functionality either.
  933. Main purpose is helping me to keep my work organized. [blackhole89]
  934. * Fixed the "fake" mute status bug. [Zido]
  935. * Speed up array size calculation and deletion. [Lance]
  936. * Player must learn the skill before doing auto-spell [Lance]
  937. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  938. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  939. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  940. 2006/05/20
  941. * grfio_final moved back if any of GRF overriding is enabled so servers
  942. with such configuration will not have different values after reloading. [Lance]
  943. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  944. * Abit of alterations to login-server. [Lance]
  945. 2006/05/19
  946. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  947. * Small change in pc_additem that could be fixing the current bug with new
  948. items not getting added. [Skotlex]
  949. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  950. * Likely fixed the mob-skill random picking behaviour causing infinite
  951. loops sometimes. [Skotlex]
  952. * Modified mobskill_use behaviour to pick a random starting point and check
  953. skills from that, rather than always checking from first to last. Fixes
  954. skills with high priority blocking skills lower down in the list from
  955. triggering. [Skotlex]
  956. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  957. current target cannot be reached for melee fighting. [Skotlex]
  958. 2006/05/18
  959. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  960. [Skotlex]
  961. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  962. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  963. * Optimized pc_additem comparisons to account for items with more than four
  964. slots. [Skotlex]
  965. * Updated clif.c to enable retrieval of items from cart/storage while
  966. trading. Exception is retrieving items from the cart while vending.
  967. [Skotlex]
  968. - The reasoning is that an ongoing trade will not get "corrupted" if you
  969. earn items before it is commited (only if you lose items from your
  970. inventory), and it is an annoyance when you realize the stuff you want to
  971. trade is on the cart/storage.
  972. * skill reiteration code now does not checks for the trigger-area of the
  973. skill in the case of non-players, which means mobs can now place traps in
  974. cells adjacent to each other. [Skotlex]
  975. * Applied an experimental weather code that should lower bandwidth usage to
  976. near-none, which's only disadvantage should be the weather not clearing out
  977. until moving to another map (even when the mapflag is removed from the
  978. current map). Please test and report if there's any anomalies with it.
  979. [Skotlex]
  980. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  981. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  982. * MO_BODYRELOCATION will send the slide packet with the actual src's
  983. coordinates rather than selected tile. [Skotlex]
  984. 2006/05/17
  985. * Modified mob_can_changetarget to return true always when the new target
  986. is the provoked-by character. Fixes provoke not making the mob change
  987. target when it already is locked on another player. [Skotlex]
  988. * Added check to clear previous skill when combo time ends. Should fix TK
  989. Rankers being unable to initiate a combo with the same kick their previous
  990. combo was finished with. [Skotlex]
  991. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  992. 2006/05/16
  993. * Modified "hide woe damage" to send the number of hits rather than 1 as
  994. damage Because when the damage is less than the number of hits, the client
  995. will display MISS. [Skotlex]
  996. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  997. [Skotlex]
  998. * Blood Drain always hits now. [Skotlex]
  999. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  1000. delay useless) [Skotlex]
  1001. * Search free cell will now skip picking the center-tile as target
  1002. location. Will prevent slaves from walking on top of their master, or mobs
  1003. placing stuff right under themselves with the "around" target conditions
  1004. among other things. [Skotlex]
  1005. 2006/05/15
  1006. * Small changes to the skill.conf
  1007. - Monsters now can place ground skills on top of each other by default
  1008. - Land_Skill_Limit format changed and set to "Only Players" by default
  1009. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  1010. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  1011. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  1012. skill level is above 10. [Skotlex]
  1013. * Sorted out the item_data structure, getiteminfo should work correctly
  1014. now. [Skotlex]
  1015. * KA* skills can now be casted on other Soul Linkers as well without the
  1016. Spirit requirement. [Skotlex]
  1017. * Soul Drain will now show the SP drained regardless of drain display
  1018. settings. [Skotlex]
  1019. * SC_COMBO state will now end in skill_attack rather than
  1020. skill_check_condition (as it is required there to apply damage bonuses
  1021. based on combo-casted skills) [Skotlex]
  1022. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  1023. [Skotlex]
  1024. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  1025. servers. [Skotlex]
  1026. * When removing a castle's owning guild, the char servers will erase the
  1027. guardian data now. [Skotlex]
  1028. * Changed the behaviour of immobile mobs when they can't chase their
  1029. target. Rather than using a longrange skill and then unlocking, they will
  1030. use an attack/angry state skill and then unlock. [Skotlex]
  1031. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  1032. * Fixed clif_GlobalMessage being the exact same function as clif_message
  1033. (the first should send to ALL_CLIENT and the later should send to
  1034. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  1035. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  1036. * Characters in vending are now always considered "idle" if the
  1037. idle_no_share setting is active. [Skotlex]
  1038. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  1039. * Remaining fixes for item scripts. [Lance]
  1040. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  1041. 2006/05/12
  1042. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  1043. * Bugfix on fake npc [Lance]
  1044. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  1045. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  1046. the target is a nonplayer (rather than always) [Skotlex]
  1047. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  1048. player" while 0,0 are random around the whole map (regardless of whether
  1049. there's a player attached or not) [Skotlex]
  1050. * Knockback will no longer work on traps during woe. [Skotlex]
  1051. 2006/05/11
  1052. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  1053. [Skotlex]
  1054. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  1055. of 40% per level. [Skotlex]
  1056. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  1057. [Skotlex]
  1058. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  1059. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  1060. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  1061. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  1062. [Skotlex]
  1063. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  1064. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  1065. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  1066. Tanaous [Skotlex]
  1067. * Added back the missing code that substracts arrows when normal-attacking.
  1068. [Skotlex]
  1069. 2006/05/10
  1070. * Changed the state of Asura back to explosionspirits, added a hardcoded
  1071. move_enable check when invoking Asura and NOT while in BladeStop or a
  1072. Combo. [Skotlex]
  1073. * Added back SC_XMAS to status.c, it got lost sometime during all the
  1074. previous reworkings. [Skotlex]
  1075. * Changed wedding costumes to use setoption rather than changebase.
  1076. [Skotlex]
  1077. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  1078. removes it. [Skotlex]
  1079. * Updated script_commands with the new behaviour. [Skotlex]
  1080. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  1081. than 15. [Skotlex]
  1082. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  1083. 2006/05/09
  1084. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  1085. [Skotlex]
  1086. * Added @request commands, sends a request to all connected GMs of
  1087. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  1088. users (UNTESTED). [Skotlex]
  1089. * Modified @commands to use Meruru's code which is faster and does a fair
  1090. attempt at tabulating the commands presented. [Skotlex]
  1091. * Updated SKA to return a random value between 0 and 99 each time
  1092. status_get_def is invoked. [Skotlex]
  1093. * Updated Making Arrow to not include unidentified items in the list.
  1094. [Skotlex]
  1095. * Reduced drop slots from 15 to 10. [Skotlex]
  1096. * Updated mob_db.sql with the current data. [Skotlex]
  1097. * Updated setoption script command to receive a second (optional) argument
  1098. flag. If the flag is 1, the option is added to what the player currently
  1099. has; likewise using flag 2 removes only that option. No flag (or any other
  1100. value) is the older behaviour of removing all other options and setting
  1101. specificly what is passed. [Skotlex]
  1102. * Updated script_commands information for setoption due to this change.
  1103. [Skotlex]
  1104. * Small fix in npc-created chat rooms to properly include the terminating 0
  1105. on the chat's event. [Skotlex]
  1106. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  1107. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  1108. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  1109. move and the attacker is out of it's attack range. [Skotlex]
  1110. * Added missing icon for Joint Beat [Skotlex]
  1111. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  1112. * Treasure chests will now be excluded from the mob-drop listings
  1113. (@whodrops) [Skotlex]
  1114. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  1115. for the same skill. [Skotlex]
  1116. * Updated main.sql's loginlog table structure. [Skotlex]
  1117. * Added svn_update6533.sql to update the loginlog structure as suggested by
  1118. theultramage. [Skotlex]
  1119. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  1120. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  1121. when crafted for non-players. [Skotlex]
  1122. * Script commands sc_start, sc_start2 and sc_start4 will now start
  1123. regardless of sc defense of the target player (that is, they cannot be
  1124. avoided/blocked) [Skotlex]
  1125. * Fixed a possible counter overflow in attacked_count, changed the var size
  1126. to unsigned char since the code can handle the overflow now. [Skotlex]
  1127. * Multiple targets again reduces armor defense, as reported by Tharis.
  1128. [Skotlex]
  1129. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  1130. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  1131. 2006/05/08
  1132. * Reverted the change that was making ES skills stun the caster always.
  1133. [Skotlex]
  1134. * Removed the fixpos packet which is sent whenever you are hit while moving
  1135. as Aegis doesn't sends this packet neither. [Skotlex]
  1136. * ES magic will now put the caster on stun for 0.5 secs regardless of
  1137. whether the skill-target is a mob or not. [Skotlex]
  1138. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  1139. party-member joins. This packet (as redundant info as it has) should also
  1140. contain the field for "adoptability", but that needs to be coded in yet.
  1141. [Skotlex]
  1142. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  1143. checks and the reply packets still need to be coded in. [Skotlex]
  1144. * Happy State and TK stances won't dispel on death now. [Skotlex]
  1145. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  1146. skill_check_condition now. [Skotlex]
  1147. * Modified TK-ranker infinite combos to behave as described by AuronX.
  1148. Refer to his thread in the development section for details. [Skotlex]
  1149. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  1150. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  1151. (guessed, but better than 100% for all levels) [Skotlex]
  1152. * Changed max level of NPC status effect skills to 5 [Skotlex]
  1153. * Increased max number of tries to find a random spot in maps to 1000 since
  1154. some maps have so many non-walkable tiles it's hard to find one in just 100
  1155. tries. [Skotlex]
  1156. * status_set_viewdata will remove the Wedding Option status when you set a
  1157. class that is not wedding. [Skotlex]
  1158. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  1159. * idletime will now be updated on attack-request, not on sit/standup
  1160. [Skotlex]
  1161. * Party members sitting will no longer be considered idle. [Skotlex]
  1162. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  1163. with the disguise/undisguise script commands instead). [Skotlex]
  1164. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  1165. the other skill that can show critical as well) [Skotlex]
  1166. * Corrected some fields in the standing still packet (guild emblem being
  1167. stored as a Long when it should be Short) [Skotlex]
  1168. * Modified most fields of view_data to be unsigned shorts rather than
  1169. signed ones. [Skotlex]
  1170. * On-Touch NPCs will now make you stop walking when you trigger them.
  1171. [Skotlex]
  1172. * ShadowJump/JumpKick will make you land on the target's cell now.
  1173. [Skotlex]
  1174. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  1175. 2006/05/07
  1176. * Fixed readme/changelog.html [KillerBox]
  1177. * Removed old logs. [Lupus]
  1178. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  1179. 2006/05/05
  1180. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  1181. before sending one (as it's not required to send twice).
  1182. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  1183. players and still continues execution to work). [Lance]
  1184. * Updated item_db.sql to current. [Skotlex]
  1185. * Fixed a bug in @commands, most likely the reason some people were still
  1186. getting crashes. [Skotlex]
  1187. * Fixed @commands not showing the last available commands (unless the total
  1188. amount of commands is divisible by ten) [Skotlex]
  1189. * Added a npc-script-event cache to avoid looking up event-scripts every
  1190. time they need to be executed. Events cached are all those defined in
  1191. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  1192. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  1193. the related NPCs or you'll get dangling pointer crashes. However,
  1194. @reloadscript will work fine.
  1195. - Set the etc_log to on to see a summary of npcs/events loaded for script
  1196. execution on startup.
  1197. * The Rest bonus activated by using /doridori while in rest should now
  1198. trigger with all the class tree (TK/SL/SG) [Skotlex]
  1199. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  1200. player rather than the one attacking... [Skotlex]
  1201. * /doridori now won't double the HP/SP regen of TKs, it only activates
  1202. their "happy" state. [Skotlex]
  1203. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  1204. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  1205. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  1206. (even if there's no other TK around). [Skotlex]
  1207. * Added battle config settings view_range_rate and chase_range_rate to
  1208. adjust the view-range and chase-range (range2/range3) of the mob_db without
  1209. having to manually change them (battle/monster.conf) [Skotlex]
  1210. * Kaupe now will only block all skills of players, for non-players, only
  1211. normal attacks can be missed. [Skotlex]
  1212. * Moved the Kaite spell-reflect code after the damage calculation function,
  1213. so the reflected damage is exactly the damage the original target would
  1214. have received. Will only trigger if the damage to be reflected is above 0.
  1215. [Skotlex]
  1216. * OnEquip scripts will now trigger on log-on. [Skotlex]
  1217. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  1218. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  1219. start/end infinite endure. [Skotlex]
  1220. * Fixed Kaahi's SP cost per heal. [Skotlex]
  1221. * Now when walkdelay is set to 0, characters will stop walking when hit,
  1222. but will not have any walk delay. (previously setting walk delay to 0 would
  1223. not even stop characters from walking when hit) [Skotlex]
  1224. 2006/05/04
  1225. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  1226. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  1227. * Some clean-ups in the mob_ai [Skotlex]
  1228. * Improved atcommand autoloot, now displays droprate in percents and notices
  1229. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  1230. commited by erKURITA
  1231. * Added one grace range in the mob_loot search function which should fix
  1232. mob_can_reach failing when invoked with the same distance that distance_bl
  1233. returned. [Skotlex]
  1234. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  1235. * Eska is now usable on bosses. [Skotlex]
  1236. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  1237. * clif_skill_failed will print out a debug line with the skill_id (since
  1238. the current null_po does not helps at all to fix it) [Skotlex]
  1239. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  1240. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  1241. damage accumulates in the time2 interval (500ms by default) after being
  1242. hit. [Skotlex]
  1243. * Changed skill_unit_move_unit_group to enable moving of all types of
  1244. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  1245. 2006/05/03
  1246. * Kaahi now triggers every 500ms rather than on every hit (but it only
  1247. heals if in those 500ms an attack that would previously trigger Kaahi has
  1248. taken effect). In other words, it works just like before, except damage
  1249. gets "buffered" into 500ms slots. [Skotlex]
  1250. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  1251. * Knowledge will now only trigger if you logon to the memorized map, not
  1252. walk into it. [Skotlex]
  1253. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  1254. [Skotlex]
  1255. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  1256. and not fix the pet issue, but I doubt it'll cause any problems that won't
  1257. be fixed by making the pet move. [Skotlex]
  1258. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  1259. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  1260. 2006/05/02
  1261. * Fixed standing up not really standing you up. [Skotlex]
  1262. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  1263. skill_castend_nodamage_id and skill_castend_pos2 rather than
  1264. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  1265. state is active and a ground skill was not invoked. It should fix all
  1266. issues with splash/ground skills consuming ammo per target rather than once
  1267. per skill use. [Skotlex]
  1268. * Added structure state to the ground skills, their fields are magic_power,
  1269. into_abyss and ammo_consume to indicate the states that were previously
  1270. stored in val3. [Skotlex]
  1271. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  1272. not showing up though, I'll need some logged packets to see what's missing.
  1273. [Skotlex]
  1274. * Removed the unit_can_move checks in skill cast-end, they should be
  1275. performed in skill_check_require when the skill's state is move_enabled.
  1276. [Skotlex]
  1277. * Changed extremity fist's state to move_enabled, the explosion spirits
  1278. check is now hardcoded. [Skotlex]
  1279. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  1280. Haplo. [Skotlex]
  1281. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  1282. impossible to steal unless you have at least 100% steal-rate (where steal
  1283. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  1284. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  1285. shops, interacting with npcs, etc. [Skotlex]
  1286. * Kaite now works against all types of spells. [Skotlex]
  1287. * Kaupe now works against all skills. [Skotlex]
  1288. * Sanctuary now won't damage non-enemies. [Skotlex]
  1289. * Blessing now will always give you bonus stats even if you are wearing
  1290. undead armor. [Skotlex]
  1291. * Modified how Rogue's treasure works so that you get +1% to your steal
  1292. rate rather than +0.01% to the final rate. [Skotlex]
  1293. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  1294. officials (implementation is not quite the same, but it should yield the
  1295. same effects while consuming less bandwidth). "Stacking", as it's called,
  1296. is possible now, but limited to eA's minimum timer skill interval (100ms).
  1297. [Skotlex]
  1298. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  1299. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  1300. behaves). [Skotlex]
  1301. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  1302. * SC_FUSION won't end when you die now. [Skotlex]
  1303. 2006/05/01
  1304. * Added knockback when you run into a wall during running. However
  1305. position is not being refreshed on the client yet... [Skotlex]
  1306. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  1307. * Corrected a crash when sd is null in npc_event [Skotlex]
  1308. * After testing to make sure it works properly, I'm including
  1309. new battle conf options to limit MVP drops. [Reddozen]
  1310. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  1311. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  1312. since it has a visual effect to use. [Skotlex]
  1313. * Corrected the value of OPTION_FLYING [Skotlex]
  1314. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  1315. * status_setviewdata will set your option accordingly when the previous/new
  1316. view-class is wedding or xmas suit. [Skotlex]
  1317. * Added function map_foreachinshootrange, behaves the same way as
  1318. map_foreachinrange, but it also performs a "shoot-path" check before
  1319. invoking the function. Used in the skill subtimer function if
  1320. skill_wall_check is defined. [Skotlex]
  1321. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  1322. all memo points used up. [Skotlex]
  1323. * Fixed alive_count not being reset on skill unitsetting, which leads to
  1324. some groups not being cleared once all their units expire. [Skotlex]
  1325. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  1326. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  1327. * SKA no longer blocks skills. [Skotlex]
  1328. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]