Changelog-Trunk.txt 89 KB

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