Changelog-Trunk.txt 57 KB

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