Changelog-Trunk.txt 76 KB

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