Changelog-Trunk.txt 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931
  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/06/09
  5. * Added structure party_data and party_member_data to the map server to
  6. hold party-specific required information about parties including
  7. Monk/TK/SG/SN states and party member count. Family information is still
  8. missing, and handling of the state should probably be done by the
  9. char-server, too... [Skotlex]
  10. * party Hp updates are no longer done each time the Hp is modified, but
  11. together with the party xy timer. It means HP-bars will be a bit delayed
  12. before being updated, but packet consumption should be much less during
  13. heated battles. [Skotlex]
  14. * Fixed MoM's typo [Vicious]
  15. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  16. * [Improved]:
  17. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  18. [Lance]
  19. * [Fixed]:
  20. - Execution of sleep/sleep2 more than once will hang the script_state.
  21. [Lance]
  22. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  23. back to your last savepoint. [Skotlex]
  24. * Moved guild_exp_rate from a mapserver battle config setting to a char
  25. server config. It no longer modifies the total taxed exp as seen on the
  26. guild information window, but directly modifies the exp that the guild
  27. earns. [Skotlex]
  28. * Added an error report and correction when the map server receives a guild
  29. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  30. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  31. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  32. 2006/06/08
  33. * Modified guild exp to be an unsigned int rather than a signed one.
  34. [Skotlex]
  35. * Fixed @skilltree printing out Unknown job for most targets used.
  36. [Skotlex]
  37. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  38. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  39. characters. [Skotlex]
  40. * Modified map_freeblock_unlock so that aFree errors will report the
  41. file/line that INVOKED the function rather than the function itself.
  42. [Skotlex]
  43. NOTE: Do NOT disable the memory manager as that will break this change.
  44. This change is to be temporarily set until the afree'd error can be
  45. resolved.
  46. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  47. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  48. [Skotlex]
  49. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  50. to hold the speed adjustment value rather than speed penalty (eg: 125
  51. instead of 25). [Skotlex]
  52. * Cleaned up status_calc_speed so that speed penalties are correctly
  53. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  54. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  55. 2006/06/07
  56. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  57. * Fixed item-skills not showing up on login. [Skotlex]
  58. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  59. only on first-login and which ones are required on all map-changes.
  60. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  61. sent on map-change (items, cart data and zeny still need to be sent one
  62. very map-change). [Skotlex]
  63. * Fixed the mob state not being set to Berserk/Angry correctly after the
  64. mob reaches the target's location. [Skotlex]
  65. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  66. warped between maps when stepping on a npc-warp. [Skotlex]
  67. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  68. npc-warp when their current target has switched maps. [Skotlex]
  69. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  70. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  71. * pc_gain_exp now also receives the source of the exp, when said source
  72. exists, bonuses are applicated as needed. [Skotlex]
  73. * Added status_kill when capturing a mob, should take care of the mob not
  74. respawning after caputed. [Skotlex]
  75. * Fixed item info not displaying the found item id [Skotlex]
  76. * Fixed item info not displaying the weight value properly. [Skotlex]
  77. * Adjusted status resistances and durations taking as base Viccious's info
  78. from the kro guidebook. [Skotlex]
  79. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  80. should display the skill animation correctly now. [Skotlex]
  81. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  82. [Skotlex]
  83. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  84. * Removed char_nick2id from char-sql server as it's no longer needed.
  85. [Skotlex]
  86. * Fixed quitting the map server not properly saving the storage before
  87. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  88. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  89. function. [Skotlex]
  90. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  91. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  92. has a 300% base chance reduced by mdef and the like as explained out by
  93. Tharis. [Skotlex]
  94. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  95. target's int. [Skotlex]
  96. * [Improved]:
  97. - mob_dead not to remove script controlled monsters with player sprites.
  98. [Added]:
  99. - buildin_mobdeadsit :D [Lance]
  100. * [Fixed]:
  101. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  102. mob_damage. Thanks to seahorsix. [Lance]
  103. * [Fixed]:
  104. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  105. * [Optimized]:
  106. - list and size not being initialized (size get intialized in default: switch case)
  107. Eliminated default case and initialized list and size at the beginning. [Lance]
  108. 2006/06/06
  109. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  110. to the mobs level up setting. [Skotlex]
  111. * Removed a piece of code that should no longer be needed due to the
  112. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  113. self-skills from being used on others (pets/mobs should be allowed to do
  114. that) [Skotlex]
  115. * Added a status_check_skilluse call in Sightblaster to prevent it from
  116. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  117. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  118. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  119. * The monsters can level up setting will not take effect when the mob's
  120. level is LESS than their db counter-part (should prevent under-leveling
  121. causing underflows and semi-immortal mobs) [Skotlex]
  122. * Fixed mvp-exp calculations being messed up with more than one attacker.
  123. [Skotlex]
  124. * Changed the mob exp race bonus so that each player gets their own bonus,
  125. rather than the killer's bonus applying to everyone. Still not the
  126. "correct" way, but one step closer to it. [Skotlex]
  127. * [Fixed]:
  128. - Allocation of event_list in guild_npc_request_info to aCalloc so
  129. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  130. 2006/06/05
  131. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  132. * Hopefully fixed changing a mob's class causing them to get all sort of
  133. stat bonuses due to the mobs-level-up setting. [Skotlex]
  134. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  135. to signed char to correctly account for cards with penalties in said stats.
  136. [Skotlex]
  137. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  138. * Added clif_fixpos packets before attacking for the first time to clear
  139. any position sync issues with the client. [Skotlex]
  140. * Fixed skill_unitsetting using layout->count for the for instead of
  141. group->count [Skotlex]
  142. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  143. increase dex/agi by 40% per level. [Skotlex]
  144. * Fixed char-sql server not deleting character variables when deleting a
  145. char. [Skotlex]
  146. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  147. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  148. overflows/underflows. [Skotlex]
  149. 2006/06/03
  150. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  151. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  152. you relogged. Thanks to Euph for the fix.
  153. * Added variable other_mapserver_count to chrif.c which holds total count
  154. of connected map-servers. By using this we prevent sending unnecessary
  155. packets to the char-server when there's no more map-servers connected.
  156. [Skotlex]
  157. - Affected packets are whispers, announces, party messages, guild messages.
  158. 2006/06/02
  159. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  160. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  161. target is near obstacles. [Skotlex]
  162. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  163. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  164. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  165. fails. Fixes cases where the client gets "stuck" and refuses to let you
  166. pick any items. [Skotlex]
  167. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  168. to 1 tile to make it act more like in the official servers.
  169. * Some cleaning of the mob slave ai. [Skotlex]
  170. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  171. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  172. skill levels above 10 (meant for boss casted skills) [Skotlex]
  173. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  174. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  175. [Skotlex]
  176. * [Fixed]
  177. - Yet another compilation warning. [Lance]
  178. 2006/06/01
  179. * Altered status_calc_pc so that equipment scripts are ran before
  180. card-scripts. [Skotlex]
  181. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  182. [Skotlex]
  183. - These two together, should fix Tao Gunka Card.
  184. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  185. [Skotlex]
  186. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  187. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  188. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  189. without removing it when the skill level is greater than one. [Skotlex]
  190. * Added SC_DANCING declaration in the Status Change tables to signal it
  191. modifies Walk speed. [Skotlex]
  192. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  193. (eg: poison, berserk) [Skotlex]
  194. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  195. affected by Quagmire/Forget-me-not. [Skotlex]
  196. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  197. [Skotlex]
  198. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  199. cart. [Skotlex]
  200. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  201. * Fixed Autoblitz taking into account target's luck rather than attacker's
  202. [Skotlex]
  203. * Fixed slaves warping endlessly to their master when the master-slave
  204. distance exceeds 30. [Skotlex]
  205. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  206. [Skotlex]
  207. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  208. incorrect range variable. [Skotlex]
  209. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  210. 2006/05/31
  211. * Fixed Soul Drain not really giving you SP [Skotlex]
  212. * [Fixed]:
  213. - Suppressed compilation warning in chrif.c [Lance]
  214. * [Fixed]:
  215. - Guys can't go across map-servers :( [Lance]
  216. * [Fixed]:
  217. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  218. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  219. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  220. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  221. delay. [Skotlex]
  222. * Made the char_name_option char_athena.conf setting apply to parties and
  223. guilds as well. It cannot be applied to pets yet without adding a
  224. change-name-request interserver packet. [Skotlex]
  225. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  226. [Skotlex]
  227. * Added function char_read_fame_list for famelist reading. Invoked it on
  228. init, and made it be sent automatically to connecting map servers.
  229. [Skotlex]
  230. * Some cleaning of the fame-list reading code. [Skotlex]
  231. * Some cleaning of the fame-update code, fixed a logic bug which made the
  232. ranking list fail to display the correct ranker names. [Skotlex]
  233. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  234. [Skotlex]
  235. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  236. status_calc_bl. [Skotlex]
  237. * [Fixed]:
  238. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  239. * [Improved]:
  240. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  241. * [Fixed]:
  242. - nullpo in pet.c caused by equipping without checking if the pet is available.
  243. [Lance]
  244. * [Fixed]:
  245. - Latest client support completed! [Lance]
  246. * [Fixed]:
  247. - Missing #include for cbasetypes.h in login server SQL.
  248. - Logic errors in run_script [Lance]
  249. * [Added]:
  250. - Partial support for latest login packet. But it seems to have a new security
  251. module. [Lance]
  252. 2006/05/30
  253. * [Improved]:
  254. - Fake NPC interface to use real NPCs.
  255. - Scripting interface to restore and save sd->npc_id. [Lance]
  256. * Added function pc_check_skilltree for checking if you unlocked new
  257. tree-skills when raising non-passive skills. [Skotlex]
  258. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  259. the base status. [Skotlex]
  260. * [Fixed]:
  261. - Compatibility problems in login.c [Lance]
  262. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  263. * [Added]:
  264. - Mercenary.c in VS.NET 2005 project files
  265. [Improved]:
  266. - loginlog using unsigned long `ip` field.
  267. (Please check for compatibility problems). [Lance]
  268. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  269. bonuses (like effect-on-hit) to stack. [Skotlex]
  270. * slaves inherit speed setting will now work regardless of whether the
  271. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  272. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  273. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  274. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  275. attacks. [Skotlex]
  276. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  277. * Fixed the pcbonus2 warnings using the wrong value before printing the
  278. invalid Element error. [Skotlex]
  279. * Fixed underflow issues when calculating dmotion. [Skotlex]
  280. * Fixed Absorb Spirit Spheres [Skotlex]
  281. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  282. specifies in ms what is the min delay between player sent chats
  283. (whisper/global/party/guild). Messages that exceed this threshold are
  284. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  285. player?) [Skotlex]
  286. * [Fixed]:
  287. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  288. * Rewrote/cleaned up @petfriendly. [Skotlex]
  289. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  290. * Updated attr_fix_table reading code to account for ELE_MAX (will
  291. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  292. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  293. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  294. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  295. * Added error messages in pc_bonus* functions when an invalid element is
  296. passed to the relevant bonuses. [Skotlex]
  297. * [Optimized]:
  298. - clif_specialeffect to use the enums.
  299. [Improved]:
  300. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  301. definition. [Lance]
  302. * [Added]:
  303. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  304. * Removed the on-die specific code from unit_remove_map and placed it on
  305. the corresponding *_dead functions. unit_remove_map should never assume the
  306. char died, it is just a "remove from map" function. [Skotlex]
  307. * Updated status_damage to handle the general death code (clearing status
  308. changes, clearing skill related data, sending death packet, etc). The
  309. return value from the *_dead functions will tell it what to do or not with
  310. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  311. * Cleaned up pc_dead to take advantage of the fact that status changes are
  312. not ended until after the function. [Skotlex]
  313. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  314. [Skotlex]
  315. * Updated/adapted current Homun code to use the status_data update.
  316. [Skotlex]
  317. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  318. * [Fixed]:
  319. - Pets attacking even master is dead. [Lance]
  320. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  321. (negative values should be allowed when attack is absorbed by target's
  322. element) [Skotlex]
  323. 2006/05/29
  324. * [Fixed]:
  325. - Missing ';' in item #4358 [Lance]
  326. * [Fixed]:
  327. - Missing maps in map index database. [Lance]
  328. * [Fixed]:
  329. - Battle mechanics in battle_check_target [Lance]
  330. * [Fixed]:
  331. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  332. [Lance]
  333. * Cleaned up friend list saving and fixed loading of friends.txt file
  334. (char-txt) [Skotlex]
  335. * Added the Arunafeltz maps, not tested yet [Playtester]
  336. - someone with an up-to-date client should test them
  337. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  338. [Skotlex]
  339. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  340. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  341. instead of BL_PC and BL_MOB [Skotlex]
  342. * [Fixed]:
  343. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  344. * Removed Undead being inmune to poison status. [Skotlex]
  345. * Removed speed penalty from SC_SKA [Skotlex]
  346. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  347. * SC_DODGE won't be dispelled on death now. [Skotlex]
  348. * [Fixed]:
  349. - pc_follow_timer possible triggering crash.
  350. - pc_reg_received to use battle_status.hp instead of status.hp
  351. [Added]:
  352. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  353. * Added a division by zero check in mob_dead to prevent the (impossible)
  354. case where a mob dies with received damage of zero. [Skotlex]
  355. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  356. Non-Players. This usually signals Self skills, and mobs/pets should be able
  357. to use them in other characters. [Skotlex]
  358. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  359. * Fixed draining when the amount drained is negative (invoke zap rather
  360. than heal) [Skotlex]
  361. * Implemented GS_FLING as per the current skill description. [Skotlex]
  362. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  363. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  364. * Added some missing SC_* entries on the initial listing (potion related
  365. and speed up ones) [Skotlex]
  366. * Fixed function declaration of map_getcellp() [Skotlex]
  367. * [Fixed]:
  368. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  369. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  370. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  371. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  372. * [Optimized]:
  373. - Removed unused variable (account_id) in storage_guild_storagesaved.
  374. * [Optimized]:
  375. - Removed unused checks for unsigned data type and possible logic error for
  376. char type (gcc treats char as unsigned). [Lance]
  377. * [Fixed]:
  378. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  379. 2006/05/28
  380. * Added functions status_revive, pc_revive and mob_revive to handle revival
  381. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  382. [Skotlex]
  383. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  384. Bladestop causing an unknown status change message). [Skotlex]
  385. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  386. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  387. * [Fixed]:
  388. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  389. * [Protected]:
  390. - clif_parse_LGMmessage from possible hacks [Lance]
  391. * Fixed unable to store n items into storage unless n was the total amount
  392. of items you had. [Skotlex]
  393. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  394. 2006/05/27
  395. * Added structure status_data which holds status-related information (str,
  396. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  397. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  398. to be used by all combat structures (TODO: Homun needs to be updated to use
  399. it). This in change involves a LOT of changes throughout the code and many
  400. optimizations were done as well. Partial list (see svn changelog for complete
  401. changes): [Skotlex]
  402. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  403. skills I changed the most, but it is possible there are unnoticed bugs
  404. remaining to fix!
  405. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  406. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  407. - Added status functions to deal with damage and healing (status_damage,
  408. status_heal, status_percent_change) and a bunch of defines for easier
  409. handling of them (status_percent_heal, status_percent_damage,
  410. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  411. THIS, pc_damage/mob_damage most no longer be directly invoked!
  412. - Rewrote and cleaned up battle_calc_misc_attack
  413. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  414. pet_attack_attr_none into attack_attr_none (type 4)
  415. - Removed config options player_defense_type, monster_defense_type,
  416. pet_defense_type in favor of weapon_defense_type
  417. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  418. - Modified Slim Pitcher so it will work when casted by non-players. Will
  419. now also work with SP-healing items.
  420. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  421. switch adelay/speed when cast begins/ends.
  422. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  423. easier updating when used in conjunction with ground skills.
  424. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  425. - Added status_calc_bl which does status-change related calculations using
  426. as base the base_status of the bl object and the SCB_* flag passed. This is
  427. invoked on status changes, and status_calc_pc will no longer be invoked
  428. (which results on much faster status-change calculations).
  429. - pc_clean_skilltree will now also remove item-granted skills.
  430. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  431. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  432. packets and functions ONCE regardless of skill-levls earned.
  433. - Cleaned up pc_ regen related functions.
  434. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  435. - Clones will copy a player's base status rather than battle status (so
  436. status-change alterations are not cloned)
  437. 2006/05/26
  438. * Part B of the homunculus code. [blackhole89]
  439. While most of the homunculus handling functions are in now, it still lacks
  440. code required for players to create it.
  441. Given I haven't screwed up, you could master yourself one through the DB though.
  442. * Fixed crashing in mob.c [Lance]
  443. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  444. * Mob control engine tested 99% working so far. [Lance]
  445. * Change scripting engine's NPC scope vars to dot (.) style.
  446. * Improved and (should be fully) fixed the mob control engine. [Lance]
  447. * Fixed typos in char.c [Lance]
  448. * Rewrote fame rank lists system to reduce char-server load, as requested by
  449. Skotlex: now it has a copy of those lists, and updates only the proper one
  450. when needed instead of rebuilding all from saves everytime (which required
  451. to always save the character before rebuilding the lists) [DracoRPG]
  452. - Note it hasn't been compiled nor tested with SQL, please do it for me
  453. 2006/05/25
  454. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  455. int-based damage component (which is added right before elemental
  456. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  457. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  458. Fixed atcommand @request MSG numbers accordinly.
  459. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  460. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  461. * Increased capacity for Account Variables to 64 [Skotlex]
  462. * Reverted Intravision implementation to that of stable's. [Skotlex]
  463. * Corrected Login Server taking it's first argument as both login config
  464. and lan config. [Skotlex]
  465. * Fixed mob control commands.
  466. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  467. 2006/05/24
  468. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  469. * Item sharing now shares the same rules as exp sharing (no sharing when
  470. dead, or idle, etc) [Skotlex]
  471. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  472. aren't supposed to be able to call minions) [Skotlex]
  473. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  474. skill was successful. May fix the client-position lag. [Skotlex]
  475. * Merged item_db.sql from stable (the one from stable was more recent than
  476. the one of trunk...) [Skotlex]
  477. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  478. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  479. ban request packet. [Skotlex]
  480. 2006/05/23
  481. * Corrected mob angry mode, now it only "restores" itself after being hit
  482. when the mob has no target within their range of sight rather than on
  483. picking a new target. [Skotlex]
  484. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  485. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  486. * the charname request hack message has been downgraded to only include
  487. GM-invisible characters. [Skotlex]
  488. * corrected clif_charnameack to send negative ID when a disguised player
  489. asks for it's own disguised name. [Skotlex]
  490. * Cleaned up the disguised target-id checks taking into considering that
  491. the only character that sees a negative ID is the same disguised character.
  492. [Skotlex]
  493. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  494. defense), Investigate and Icepick will now use the final def/vit-def values
  495. rather than the base ones. [Skotlex]
  496. * The move-enable condition checks for skills are now checked for only when
  497. on skill use, not at cast-end time. [Skotlex]
  498. * Corrected clif parse name request failing on disguised characters [Skotlex]
  499. * Corrected Soul Drain draining from all non-ground-based skills including
  500. non-magic attacks. [Skotlex]
  501. * Corrected pc_setoption to change the option and then change class.
  502. changing option-wedding will automatically convert the view-class as well.
  503. [Skotlex]
  504. * Corrected the 15% drop rate increase when killing higher level mobs in
  505. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  506. Vayu. [Skotlex]
  507. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  508. db each time o_o [Lance]
  509. * Fixed sleep command. [Lance]
  510. * Added 'setd' support for local NPC scope (') variables. [Lance]
  511. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  512. 2006/05/22
  513. * Updated skill_delayfix to return 0 for mobs since they have no skill
  514. delay other than the one specified in mob_skill_db [Skotlex]
  515. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  516. Vayu for pointing it out. [Skotlex]
  517. * status_get_sc_tick will now use directly Stun's formula rather than
  518. invoking the status sc chance once. [Skotlex]
  519. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  520. * Modified Investigate to take into consideration final def/vit-def rather
  521. than base values for damage adjustment. [Skotlex]
  522. * WARNING: New scripting system contains memory leak
  523. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  524. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  525. * Fixed compilation errors.
  526. Tidy up jobmaster for easy debugging. [Lance]
  527. 2006/05/21
  528. * Part A of the Homunculus code.
  529. This only features the structures, status_* and clif_* (packets) and is
  530. not functional yet in any conventional way, but doesn't interfere
  531. with present functionality either.
  532. Main purpose is helping me to keep my work organized. [blackhole89]
  533. * Fixed the "fake" mute status bug. [Zido]
  534. * Speed up array size calculation and deletion. [Lance]
  535. * Player must learn the skill before doing auto-spell [Lance]
  536. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  537. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  538. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  539. 2006/05/20
  540. * grfio_final moved back if any of GRF overriding is enabled so servers
  541. with such configuration will not have different values after reloading. [Lance]
  542. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  543. * Abit of alterations to login-server. [Lance]
  544. 2006/05/19
  545. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  546. * Small change in pc_additem that could be fixing the current bug with new
  547. items not getting added. [Skotlex]
  548. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  549. * Likely fixed the mob-skill random picking behaviour causing infinite
  550. loops sometimes. [Skotlex]
  551. * Modified mobskill_use behaviour to pick a random starting point and check
  552. skills from that, rather than always checking from first to last. Fixes
  553. skills with high priority blocking skills lower down in the list from
  554. triggering. [Skotlex]
  555. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  556. current target cannot be reached for melee fighting. [Skotlex]
  557. 2006/05/18
  558. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  559. [Skotlex]
  560. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  561. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  562. * Optimized pc_additem comparisons to account for items with more than four
  563. slots. [Skotlex]
  564. * Updated clif.c to enable retrieval of items from cart/storage while
  565. trading. Exception is retrieving items from the cart while vending.
  566. [Skotlex]
  567. - The reasoning is that an ongoing trade will not get "corrupted" if you
  568. earn items before it is commited (only if you lose items from your
  569. inventory), and it is an annoyance when you realize the stuff you want to
  570. trade is on the cart/storage.
  571. * skill reiteration code now does not checks for the trigger-area of the
  572. skill in the case of non-players, which means mobs can now place traps in
  573. cells adjacent to each other. [Skotlex]
  574. * Applied an experimental weather code that should lower bandwidth usage to
  575. near-none, which's only disadvantage should be the weather not clearing out
  576. until moving to another map (even when the mapflag is removed from the
  577. current map). Please test and report if there's any anomalies with it.
  578. [Skotlex]
  579. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  580. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  581. * MO_BODYRELOCATION will send the slide packet with the actual src's
  582. coordinates rather than selected tile. [Skotlex]
  583. 2006/05/17
  584. * Modified mob_can_changetarget to return true always when the new target
  585. is the provoked-by character. Fixes provoke not making the mob change
  586. target when it already is locked on another player. [Skotlex]
  587. * Added check to clear previous skill when combo time ends. Should fix TK
  588. Rankers being unable to initiate a combo with the same kick their previous
  589. combo was finished with. [Skotlex]
  590. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  591. 2006/05/16
  592. * Modified "hide woe damage" to send the number of hits rather than 1 as
  593. damage Because when the damage is less than the number of hits, the client
  594. will display MISS. [Skotlex]
  595. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  596. [Skotlex]
  597. * Blood Drain always hits now. [Skotlex]
  598. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  599. delay useless) [Skotlex]
  600. * Search free cell will now skip picking the center-tile as target
  601. location. Will prevent slaves from walking on top of their master, or mobs
  602. placing stuff right under themselves with the "around" target conditions
  603. among other things. [Skotlex]
  604. 2006/05/15
  605. * Small changes to the skill.conf
  606. - Monsters now can place ground skills on top of each other by default
  607. - Land_Skill_Limit format changed and set to "Only Players" by default
  608. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  609. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  610. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  611. skill level is above 10. [Skotlex]
  612. * Sorted out the item_data structure, getiteminfo should work correctly
  613. now. [Skotlex]
  614. * KA* skills can now be casted on other Soul Linkers as well without the
  615. Spirit requirement. [Skotlex]
  616. * Soul Drain will now show the SP drained regardless of drain display
  617. settings. [Skotlex]
  618. * SC_COMBO state will now end in skill_attack rather than
  619. skill_check_condition (as it is required there to apply damage bonuses
  620. based on combo-casted skills) [Skotlex]
  621. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  622. [Skotlex]
  623. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  624. servers. [Skotlex]
  625. * When removing a castle's owning guild, the char servers will erase the
  626. guardian data now. [Skotlex]
  627. * Changed the behaviour of immobile mobs when they can't chase their
  628. target. Rather than using a longrange skill and then unlocking, they will
  629. use an attack/angry state skill and then unlock. [Skotlex]
  630. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  631. * Fixed clif_GlobalMessage being the exact same function as clif_message
  632. (the first should send to ALL_CLIENT and the later should send to
  633. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  634. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  635. * Characters in vending are now always considered "idle" if the
  636. idle_no_share setting is active. [Skotlex]
  637. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  638. * Remaining fixes for item scripts. [Lance]
  639. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  640. 2006/05/12
  641. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  642. * Bugfix on fake npc [Lance]
  643. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  644. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  645. the target is a nonplayer (rather than always) [Skotlex]
  646. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  647. player" while 0,0 are random around the whole map (regardless of whether
  648. there's a player attached or not) [Skotlex]
  649. * Knockback will no longer work on traps during woe. [Skotlex]
  650. 2006/05/11
  651. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  652. [Skotlex]
  653. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  654. of 40% per level. [Skotlex]
  655. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  656. [Skotlex]
  657. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  658. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  659. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  660. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  661. [Skotlex]
  662. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  663. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  664. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  665. Tanaous [Skotlex]
  666. * Added back the missing code that substracts arrows when normal-attacking.
  667. [Skotlex]
  668. 2006/05/10
  669. * Changed the state of Asura back to explosionspirits, added a hardcoded
  670. move_enable check when invoking Asura and NOT while in BladeStop or a
  671. Combo. [Skotlex]
  672. * Added back SC_XMAS to status.c, it got lost sometime during all the
  673. previous reworkings. [Skotlex]
  674. * Changed wedding costumes to use setoption rather than changebase.
  675. [Skotlex]
  676. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  677. removes it. [Skotlex]
  678. * Updated script_commands with the new behaviour. [Skotlex]
  679. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  680. than 15. [Skotlex]
  681. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  682. 2006/05/09
  683. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  684. [Skotlex]
  685. * Added @request commands, sends a request to all connected GMs of
  686. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  687. users (UNTESTED). [Skotlex]
  688. * Modified @commands to use Meruru's code which is faster and does a fair
  689. attempt at tabulating the commands presented. [Skotlex]
  690. * Updated SKA to return a random value between 0 and 99 each time
  691. status_get_def is invoked. [Skotlex]
  692. * Updated Making Arrow to not include unidentified items in the list.
  693. [Skotlex]
  694. * Reduced drop slots from 15 to 10. [Skotlex]
  695. * Updated mob_db.sql with the current data. [Skotlex]
  696. * Updated setoption script command to receive a second (optional) argument
  697. flag. If the flag is 1, the option is added to what the player currently
  698. has; likewise using flag 2 removes only that option. No flag (or any other
  699. value) is the older behaviour of removing all other options and setting
  700. specificly what is passed. [Skotlex]
  701. * Updated script_commands information for setoption due to this change.
  702. [Skotlex]
  703. * Small fix in npc-created chat rooms to properly include the terminating 0
  704. on the chat's event. [Skotlex]
  705. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  706. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  707. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  708. move and the attacker is out of it's attack range. [Skotlex]
  709. * Added missing icon for Joint Beat [Skotlex]
  710. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  711. * Treasure chests will now be excluded from the mob-drop listings
  712. (@whodrops) [Skotlex]
  713. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  714. for the same skill. [Skotlex]
  715. * Updated main.sql's loginlog table structure. [Skotlex]
  716. * Added svn_update6533.sql to update the loginlog structure as suggested by
  717. theultramage. [Skotlex]
  718. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  719. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  720. when crafted for non-players. [Skotlex]
  721. * Script commands sc_start, sc_start2 and sc_start4 will now start
  722. regardless of sc defense of the target player (that is, they cannot be
  723. avoided/blocked) [Skotlex]
  724. * Fixed a possible counter overflow in attacked_count, changed the var size
  725. to unsigned char since the code can handle the overflow now. [Skotlex]
  726. * Multiple targets again reduces armor defense, as reported by Tharis.
  727. [Skotlex]
  728. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  729. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  730. 2006/05/08
  731. * Reverted the change that was making ES skills stun the caster always.
  732. [Skotlex]
  733. * Removed the fixpos packet which is sent whenever you are hit while moving
  734. as Aegis doesn't sends this packet neither. [Skotlex]
  735. * ES magic will now put the caster on stun for 0.5 secs regardless of
  736. whether the skill-target is a mob or not. [Skotlex]
  737. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  738. party-member joins. This packet (as redundant info as it has) should also
  739. contain the field for "adoptability", but that needs to be coded in yet.
  740. [Skotlex]
  741. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  742. checks and the reply packets still need to be coded in. [Skotlex]
  743. * Happy State and TK stances won't dispel on death now. [Skotlex]
  744. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  745. skill_check_condition now. [Skotlex]
  746. * Modified TK-ranker infinite combos to behave as described by AuronX.
  747. Refer to his thread in the development section for details. [Skotlex]
  748. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  749. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  750. (guessed, but better than 100% for all levels) [Skotlex]
  751. * Changed max level of NPC status effect skills to 5 [Skotlex]
  752. * Increased max number of tries to find a random spot in maps to 1000 since
  753. some maps have so many non-walkable tiles it's hard to find one in just 100
  754. tries. [Skotlex]
  755. * status_set_viewdata will remove the Wedding Option status when you set a
  756. class that is not wedding. [Skotlex]
  757. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  758. * idletime will now be updated on attack-request, not on sit/standup
  759. [Skotlex]
  760. * Party members sitting will no longer be considered idle. [Skotlex]
  761. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  762. with the disguise/undisguise script commands instead). [Skotlex]
  763. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  764. the other skill that can show critical as well) [Skotlex]
  765. * Corrected some fields in the standing still packet (guild emblem being
  766. stored as a Long when it should be Short) [Skotlex]
  767. * Modified most fields of view_data to be unsigned shorts rather than
  768. signed ones. [Skotlex]
  769. * On-Touch NPCs will now make you stop walking when you trigger them.
  770. [Skotlex]
  771. * ShadowJump/JumpKick will make you land on the target's cell now.
  772. [Skotlex]
  773. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  774. 2006/05/07
  775. * Fixed readme/changelog.html [KillerBox]
  776. * Removed old logs. [Lupus]
  777. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  778. 2006/05/05
  779. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  780. before sending one (as it's not required to send twice).
  781. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  782. players and still continues execution to work). [Lance]
  783. * Updated item_db.sql to current. [Skotlex]
  784. * Fixed a bug in @commands, most likely the reason some people were still
  785. getting crashes. [Skotlex]
  786. * Fixed @commands not showing the last available commands (unless the total
  787. amount of commands is divisible by ten) [Skotlex]
  788. * Added a npc-script-event cache to avoid looking up event-scripts every
  789. time they need to be executed. Events cached are all those defined in
  790. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  791. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  792. the related NPCs or you'll get dangling pointer crashes. However,
  793. @reloadscript will work fine.
  794. - Set the etc_log to on to see a summary of npcs/events loaded for script
  795. execution on startup.
  796. * The Rest bonus activated by using /doridori while in rest should now
  797. trigger with all the class tree (TK/SL/SG) [Skotlex]
  798. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  799. player rather than the one attacking... [Skotlex]
  800. * /doridori now won't double the HP/SP regen of TKs, it only activates
  801. their "happy" state. [Skotlex]
  802. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  803. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  804. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  805. (even if there's no other TK around). [Skotlex]
  806. * Added battle config settings view_range_rate and chase_range_rate to
  807. adjust the view-range and chase-range (range2/range3) of the mob_db without
  808. having to manually change them (battle/monster.conf) [Skotlex]
  809. * Kaupe now will only block all skills of players, for non-players, only
  810. normal attacks can be missed. [Skotlex]
  811. * Moved the Kaite spell-reflect code after the damage calculation function,
  812. so the reflected damage is exactly the damage the original target would
  813. have received. Will only trigger if the damage to be reflected is above 0.
  814. [Skotlex]
  815. * OnEquip scripts will now trigger on log-on. [Skotlex]
  816. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  817. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  818. start/end infinite endure. [Skotlex]
  819. * Fixed Kaahi's SP cost per heal. [Skotlex]
  820. * Now when walkdelay is set to 0, characters will stop walking when hit,
  821. but will not have any walk delay. (previously setting walk delay to 0 would
  822. not even stop characters from walking when hit) [Skotlex]
  823. 2006/05/04
  824. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  825. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  826. * Some clean-ups in the mob_ai [Skotlex]
  827. * Improved atcommand autoloot, now displays droprate in percents and notices
  828. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  829. commited by erKURITA
  830. * Added one grace range in the mob_loot search function which should fix
  831. mob_can_reach failing when invoked with the same distance that distance_bl
  832. returned. [Skotlex]
  833. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  834. * Eska is now usable on bosses. [Skotlex]
  835. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  836. * clif_skill_failed will print out a debug line with the skill_id (since
  837. the current null_po does not helps at all to fix it) [Skotlex]
  838. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  839. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  840. damage accumulates in the time2 interval (500ms by default) after being
  841. hit. [Skotlex]
  842. * Changed skill_unit_move_unit_group to enable moving of all types of
  843. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  844. 2006/05/03
  845. * Kaahi now triggers every 500ms rather than on every hit (but it only
  846. heals if in those 500ms an attack that would previously trigger Kaahi has
  847. taken effect). In other words, it works just like before, except damage
  848. gets "buffered" into 500ms slots. [Skotlex]
  849. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  850. * Knowledge will now only trigger if you logon to the memorized map, not
  851. walk into it. [Skotlex]
  852. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  853. [Skotlex]
  854. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  855. and not fix the pet issue, but I doubt it'll cause any problems that won't
  856. be fixed by making the pet move. [Skotlex]
  857. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  858. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  859. 2006/05/02
  860. * Fixed standing up not really standing you up. [Skotlex]
  861. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  862. skill_castend_nodamage_id and skill_castend_pos2 rather than
  863. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  864. state is active and a ground skill was not invoked. It should fix all
  865. issues with splash/ground skills consuming ammo per target rather than once
  866. per skill use. [Skotlex]
  867. * Added structure state to the ground skills, their fields are magic_power,
  868. into_abyss and ammo_consume to indicate the states that were previously
  869. stored in val3. [Skotlex]
  870. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  871. not showing up though, I'll need some logged packets to see what's missing.
  872. [Skotlex]
  873. * Removed the unit_can_move checks in skill cast-end, they should be
  874. performed in skill_check_require when the skill's state is move_enabled.
  875. [Skotlex]
  876. * Changed extremity fist's state to move_enabled, the explosion spirits
  877. check is now hardcoded. [Skotlex]
  878. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  879. Haplo. [Skotlex]
  880. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  881. impossible to steal unless you have at least 100% steal-rate (where steal
  882. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  883. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  884. shops, interacting with npcs, etc. [Skotlex]
  885. * Kaite now works against all types of spells. [Skotlex]
  886. * Kaupe now works against all skills. [Skotlex]
  887. * Sanctuary now won't damage non-enemies. [Skotlex]
  888. * Blessing now will always give you bonus stats even if you are wearing
  889. undead armor. [Skotlex]
  890. * Modified how Rogue's treasure works so that you get +1% to your steal
  891. rate rather than +0.01% to the final rate. [Skotlex]
  892. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  893. officials (implementation is not quite the same, but it should yield the
  894. same effects while consuming less bandwidth). "Stacking", as it's called,
  895. is possible now, but limited to eA's minimum timer skill interval (100ms).
  896. [Skotlex]
  897. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  898. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  899. behaves). [Skotlex]
  900. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  901. * SC_FUSION won't end when you die now. [Skotlex]
  902. 2006/05/01
  903. * Added knockback when you run into a wall during running. However
  904. position is not being refreshed on the client yet... [Skotlex]
  905. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  906. * Corrected a crash when sd is null in npc_event [Skotlex]
  907. * After testing to make sure it works properly, I'm including
  908. new battle conf options to limit MVP drops. [Reddozen]
  909. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  910. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  911. since it has a visual effect to use. [Skotlex]
  912. * Corrected the value of OPTION_FLYING [Skotlex]
  913. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  914. * status_setviewdata will set your option accordingly when the previous/new
  915. view-class is wedding or xmas suit. [Skotlex]
  916. * Added function map_foreachinshootrange, behaves the same way as
  917. map_foreachinrange, but it also performs a "shoot-path" check before
  918. invoking the function. Used in the skill subtimer function if
  919. skill_wall_check is defined. [Skotlex]
  920. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  921. all memo points used up. [Skotlex]
  922. * Fixed alive_count not being reset on skill unitsetting, which leads to
  923. some groups not being cleared once all their units expire. [Skotlex]
  924. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  925. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  926. * SKA no longer blocks skills. [Skotlex]
  927. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]