Changelog-Trunk.txt 132 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317
  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/08/10
  5. * Corrected Advanced Jobs HP bonus from 30% -> 25% [Skotlex]
  6. * Hopefully fixed family-party-even-share not breaking when a member logs
  7. out. [Skotlex]
  8. * Should have fixed the login-sql crash when passed user-name's length is
  9. beyond the limit. [Skotlex]
  10. * Changed setting attack_attr_none to affect all neutral-element attacks.
  11. Basicly, this setting is now used to determine who can hit for full damage
  12. always when using neutral-attacks (defaults to non-players) [Skotlex]
  13. * Fixed two instances in the login-sql server where the ip in the log-login
  14. table was being stored backwards. [Skotlex]
  15. * Now when a skill's range is 0 and the skill is NOT casted on self, it
  16. will take the basic weapon's range (without Vulture/Snake Eye bonus).
  17. [Skotlex]
  18. * Now when a duration is not specified, sc_start/sc_start2/sc_start4 will
  19. try to guess the duration by extracting it from the skill_db (it uses
  20. skill_get_time on whatever skill is associated to the status-change using
  21. val1 as skill-level) [Skotlex]
  22. * Some cleanups on trade_tradeaccept to prevent packets being resent when
  23. they shouldn't. [Skotlex]
  24. * Fixed syntax error in 'guild' create table statement [Toms]
  25. 2006/08/09
  26. * Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
  27. * Fixed homunc skill up bug [Toms]
  28. * Adjusted some the dance/song/encore code so that the source of an
  29. ensemble will always get checked, so that walking out of an ensemble skill
  30. should make it end now. However, it's likely this is not completely solved
  31. yet and will require further tweaking. [Skotlex]
  32. * Added crash protection to the mob_db txt reading when the mob_db file has
  33. lines with insufficient number of columns. [Skotlex]
  34. * Moved the class-change code from battle_calc_weapon_attack to
  35. skill_additional_effect. Alchemist summons now also have a chance of
  36. triggering polymorphing. [Skotlex]
  37. * Removed the code which was auto-setting attacks that do no damage to type
  38. FLEE, since that was disabling status-effects which should incur even when
  39. the damage was blocked. [Skotlex]
  40. * Trade requests will now fail when either character is unable to act
  41. (character in storage, vending, interacting with an npc, petrified, etc)
  42. [Skotlex]
  43. * Heard skotlex voice, changed all msg_table[] into msg_txt() in atcommand.c [Toms]
  44. 2006/08/08
  45. * Fixed the char-server not invoking the party_calc_state function when the
  46. third party-member is added to a party, hence failing to check for families
  47. and disabling even share from them unless all three relog first (state is
  48. correctly calculated when party is first loaded). [Skotlex]
  49. * Crash-protections in the mail-checking function. [Skotlex]
  50. * Some additional parenthesis on equipment check in pc_equipitem, seems to
  51. have fixed the mid/lower headgear-sprites not showing up. [Skotlex]
  52. * Added back missing state set to prevent Ankle-Snare from being retrieved
  53. after the target dies. [Skotlex]
  54. * Fixed compilation warning [Toms]
  55. * Added a check to handle Spider Web as a targetted skill. If there's more
  56. than one character on the targetted cell, a different one may get trapped,
  57. but it will mostly do as it is now. [Skotlex]
  58. * Added check to Asura so that it will move you to the target when it fails
  59. ONLY when you can cast the skill on the target (not stunned, asleep, target
  60. not hidden, etc) [Skotlex]
  61. * Changed the map_freeblock_unlock code so that when there's an "already
  62. free'd pointer" error, the memory manager will print out the invoking
  63. function rather than map_freeblock_unlock, this should help fix it up next
  64. time it happens and is reported. [Skotlex]
  65. * Casting Kaensin will clear out Suiton and viceversa now. [Skotlex]
  66. * Fixed drop-rates (@whodrops) getting duplicates when you use @reloadmobdb
  67. [Skotlex]
  68. * Fixed unjailing not sending characters to Prontera. [Skotlex]
  69. * Fixed yet again AS_SPLASHER doing full damage on all characters. Now you
  70. can use the NK split damage value in the skill_db if you want damage
  71. divided by the amount of targets rather than by 2. [Skotlex]
  72. * Fixed crash on the battle_drain functions. [Skotlex]
  73. * Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by
  74. other types of objects other than Homunculus. [Skotlex]
  75. * Cleaned up the Asura Strike code so that the SP/Spheres/States is not
  76. consumed when the skill fails due to Fog of Wall. [Skotlex]
  77. * When a negative delay for a skill is specified, this delay is now added
  78. on top of the character's amotion rather than adelay [Skotlex]
  79. * Modified main.sql to make the guild table allow NULL on the emblem data.
  80. [Skotlex]
  81. * Added file conf-tmpl/Changelog.txt to log config changes. [Skotlex]
  82. 2006/08/07
  83. * Fixed the login-sql server replying to the change-sex packet with the
  84. wrong gender, causing the char-server to screw-up job-change updates.
  85. [Skotlex]
  86. * Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD work as
  87. described on the docs now, this should also fix adopting not correctly
  88. giving the family-related skills. The flag value of skill should be: 0 to
  89. set the skill (if skill level is 0, this removes a learned skill), 1 grants
  90. the skill as an item bonus which is temporary, and 2 will add a skill bonus
  91. like 1, except the skill level adds up to whatever level already known of
  92. that skill. [Skotlex]
  93. * Fixed EQP_WEAPON related code messing up with both weapon AND shield.
  94. [Skotlex]
  95. * Cleaned up the Asura code so that when the skill fails your
  96. SP/Spheres/Fury are all taken away always, as well as moving you next to
  97. the target (as long as the target still exists within a reachable path from
  98. your position) [Skotlex]
  99. * SC_GUILDAURA is now removed on logout. [Skotlex]
  100. * Fixed Venom Splasher doing half-damage instead of full-damage to the
  101. "exploding" character. [Skotlex]
  102. * Hopefully fixed the party_even_share cast-overflow bug as reported by
  103. Adobe. [Skotlex]
  104. * Standarized the autosave interval setting to be always in seconds
  105. regardless of type. [Skotlex]
  106. * Moved the "bosses can't be knockback" logic from battle_calc_* functions
  107. and placed it on skill_blown. [Skotlex]
  108. * Some parenthesis cleanup before invoking battle_calc_base_damage, could
  109. be fixing the current issue with arrow attacks not adding the arrow damage.
  110. [Skotlex]
  111. * Fixed the map_search_freecell error which was making mobs fail to
  112. respawn. [Skotlex]
  113. * Added in Lupus's suggestion of not making multi-slot headgears set all
  114. slot view-ids, which supposedly causes the client to re-draw the headgear
  115. multiple times on characters. [Skotlex]
  116. * Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
  117. [Skotlex]
  118. * Simplified the Tatami Gaeshi code. [Skotlex]
  119. * Fixed AS_SPLASHER doing full damage on everyone except targetted char
  120. instead of the other way around. [Skotlex]
  121. * Fixed KAENSIN clearing out SUITON cells and viceversa. [Skotlex]
  122. * The spawn area is now seen as range rather than absolute for mob spawn
  123. lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around
  124. the given x,y point. [Skotlex]
  125. * Some clean up of the mob-spawn code. Now you can specify negative areas,
  126. so that a spawn location such as 100,150,0,-1 will spawn a mob always on
  127. x=100, but any Y value of the current map. [Skotlex]
  128. * Reflected damage will now also have a chance of draining hp/sp. [Skotlex]
  129. * Adjusted the order in which option/sc change packets are sent to match
  130. Aegis's [Skotlex]
  131. * Added script command getpartyleader through which you can retrieve
  132. various information of a party's leader. See doc/script_commands.txt for
  133. further information. [Skotlex]
  134. * mpeg's Ninja work [Vicious]
  135. * Adjusted Battle_check_target so that alchemist summoned mobs are
  136. targetted by everyone as long as 1. The top-level master is a player and 2.
  137. the actual attacker is not a mob-type. [Skotlex]
  138. * Added config force_random_spawn which overrides the spawn-files defined
  139. coordinates to make all mobs always spawn randomly on the map. [Skotlex]
  140. * SC_SPEEDUP0 is no longer dispellable by SA_DISPEL [Skotlex]
  141. 2006/08/06
  142. * Updated item_db.sql & mob_db.sql to latest. [Toms]
  143. * Little fixes on homunc (hp/sp are now saved and init stats changed) [Toms]
  144. 2006/08/04
  145. * Added a commented piece of code at the end of clif_parse_LoadEndAck which
  146. will update your direction to wherever you were facing before warping.
  147. Should this be the default? Nearby people DO see you facing on the same
  148. direction before warping, it's only your client that will always see you
  149. facing north on spawn (the spawn packet does contain direction
  150. information). [Skotlex]
  151. * Updated @mobinfo to display slots in the drop information. [Skotlex]
  152. * Fixed flag.elefix not being respected in battle_calc_misc_damage.
  153. [Skotlex]
  154. * Some code cleanups in battle_calc_damage. [Skotlex]
  155. * Modified bAddItemHealRate so it can receive both item-id and item-group
  156. values (since the first item-id is +500, there's no risk of mixing them
  157. up). [Skotlex]
  158. * Removed settings enemy_critical_rate, homun_critical_rate. Added settings
  159. enable_critical (defaults to specify only players), mob_critical_rate and
  160. critical_rate. The last applies to all non-mobs and non-players
  161. (battle/battle.conf) [Skotlex]
  162. * Removed settings mob_npc_warp, mob_warpportal. Replaced with setting
  163. mob_warp which specifies which types of warp can a mob step into
  164. (battle/monster.conf) [Skotlex]
  165. * Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out
  166. of the mastery function so that it may apply to all skills except Soul
  167. Breaker. [Skotlex]
  168. * Changed name of the setting log_pick to log_filter since that's what it
  169. does now. [Skotlex]
  170. * Modified enable_logs so that instead of a 0/1 setting, you can specify
  171. which kind of events to log (so you can use a combination), see log_athena
  172. for the bitmask configuration. [Skotlex]
  173. * Cleaned a bit the contents of log_athena.conf
  174. * Hide/Chasewalk will again stop screaming skill name. [Skotlex]
  175. * Soul Breaker will no longer receive Mastery damage. [Skotlex]
  176. * Fixed warning:'type' might be used uninitialized in this function [Toms]
  177. 2006/08/03
  178. * Added a check to skip the experience share of characters who are dead or
  179. on another map. [Skotlex]
  180. * Reverted the previous change, chasewalk has no icon, only the str-bonus
  181. has that fist icon now. [Skotlex]
  182. * Allowed chase-walk to display a skill animation when using it. [Skotlex]
  183. * Readjusted the Chasewalk icon to be as it should be. [Skotlex]
  184. * GS_DESPERADO is now a short-range attack skill. [Skotlex]
  185. * Changed the Battle-Orders icon to be the Strength Up icon (for
  186. Chasewalk's str bonus). [Skotlex]
  187. * Fixed using the right-hand weapon's size modifiers regardless of which
  188. weapon's damage was being calculated in regards to. [Skotlex]
  189. * Simplified the ignore-size check by making the Weapon Perfection check be
  190. done when specifying the flag, also moved the size-fix property of riding
  191. spear-knights to status_calc_pc. [Skotlex]
  192. * Changed SI_CHASEWALK value to 119 as concluded by LoneWolf [Skotlex]
  193. * Corrected clif.c sending the raw mdef2 value to the client instead of
  194. first substracting the "secret vit/2" bonus from it. [Skotlex]
  195. * Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent
  196. overflows. It is not capped to INT_MAX because damage increasing skills
  197. would cause it to still overflow afterwards. [Skotlex]
  198. * Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the
  199. code. [Skotlex]
  200. * Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks
  201. should happen before a mob uses the rude-attacked skill. Value has been set
  202. to 2 for now. [Skotlex]
  203. * Now when a mob changes target (to someone they can hit) their
  204. rude-attacked count won't be reset, but instead will be reduced by one.
  205. [Skotlex]
  206. * SC_SPEEDUP0 can now stack with the other speed raising buffs. [Skotlex]
  207. * Some adjustments so that the last-skill-used will be correctly cleared
  208. when your combo-time ends. [Skotlex]
  209. * Fix a bug in atcommand_charspeed [Toms]
  210. * Fixed a logic error preventing from cooking anything [DracoRPG]
  211. * Cleaned up the last NJ update code. [Skotlex]
  212. * Added @ command `charspeed` [Skotlex]
  213. * Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL [Skotlex]
  214. * Removed case for GS_SPREADATTACK on damage packets to see if the skill
  215. displays correctly now. [Skotlex]
  216. * Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are
  217. removed, NOT the ones who were already placed. [Skotlex]
  218. * Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix
  219. icon-confusion when both are enabled at a time. [Skotlex]
  220. * Mob rude-attacked count is not reset now on picking a new char (gotta
  221. investigate this further) [Skotlex]
  222. * Changed atoi to strtoul for guild-experience's field [Toms]
  223. * Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
  224. 2006/08/02
  225. * Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
  226. Silence now ONLY blocks skills from being used, it will not stop on-going
  227. casts. [Skotlex]
  228. * Updated status_cast_cancel to also include silence (so the cast bar is
  229. cancelled if you are silenced during it) [Skotlex]
  230. * Updated the way SC_SILENCE works. From what I remember (from previous
  231. forum discussions) it: 1- Always blocks skills from being used. 2- Will
  232. only block a skill when the cast-bar ends IF the skill is targetted. If
  233. anyone wants to debate to get this changed, make an appropiate forum topic
  234. in the svn development area to discuss. [Skotlex]
  235. * Added a check in the walking code when triggering skills.
  236. NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend
  237. the walk packet, this effectively causes the mob to start walking
  238. (clientside) while the cast-bar is showing. [Skotlex]
  239. * Fixed a logic error on battle_get_master which was causing infinite
  240. loops.. [Skotlex]
  241. * Fixed homunculus error message [Toms]
  242. * Rewrote pc_payzeny to not use doubles, it may more accurately prevent
  243. charging a player more zeny than they can withhold. [Skotlex]
  244. * Fixed failing to create Deadly Poison Bottles damaging 50% of your max
  245. life instead of 25% [Skotlex]
  246. * Added the missing status-change flags to SC_FREEZE to signal it should
  247. modify def and magic def [Skotlex]
  248. * Little add on NJ_HUUMA [Toms]
  249. * Merged Mpeg's work on Ninja skills [Toms]
  250. * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex]
  251. * Now you can teleport in Thanatos Boss room, but you can't respawn there [Playtester]
  252. * Fixed Defender Raising Walk speed instead of diminishing it. [Skotlex]
  253. * Added a check on status-change load to prevent loading speed-affecting
  254. status when their speed adjustment is 0 (prevents division by zero)
  255. [Skotlex]
  256. * Code cleanup & optimization on guild part of char-server [Toms]
  257. * Fixed script code data not being free'd if a player quits in the middle
  258. of a script. [Skotlex]
  259. * Modified run_script so that when there are leaks, it will report the
  260. place where run_script was called from as source rather than the inner code
  261. of run_script (for debugging purposes) [Skotlex]
  262. * Made recursive master check the default (otherwise it messes skill -> pet
  263. -> player kind of herarchies) and cleaned up some the battle_get_master
  264. code to prevent infinite loops in the weird case someone specifies that
  265. their master is itself. [Skotlex]
  266. * Recoded the GuildAura code to use val3 & val4, allowing much greater stat
  267. bonuses (in case someone wants to get Guild Skill level 20 or something
  268. crazy like that) [Skotlex]
  269. * Updated battle_check_target so that all alchemist summoned mobs can be
  270. target by everyone. [Skotlex]
  271. * Cleaned up skill_check_condition_mob_master_sub, it will now count both
  272. total number of summoned mobs and amount that belong to the same type.
  273. [Skotlex]
  274. * Corrected AM_CANNIBALIZE so it will fail if you already have plants of
  275. another type out. [Skotlex]
  276. * Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
  277. [Skotlex]
  278. * Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now
  279. Volcano/Deluge/V. Gale will get that funky icon instead. [Skotlex]
  280. * Changed clif_hominfo to receive both sd and hd as parameters
  281. * Some redundancy cleaning in mercenary.c [Skotlex]
  282. * Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
  283. [Skotlex]
  284. 2006/08/01
  285. * Miscellanous fixes which make the Marine Sphere self destruction work as
  286. best as I can. It only has one flaw: It self-destructs instantly after
  287. walking because if I make it use self-destruction with a cast-bar,
  288. client-side the object stops moving inmediately... [Skotlex]
  289. * Modified unit_walktoxy and NPC_RUN to enable running even when the caster
  290. does not has the MD_CANMOVE bit on. [Skotlex]
  291. * PF_MINDBREAKER will now silently fail if you try to use it on someone who
  292. already has the status active. [Skotlex]
  293. * Cleaned up yet again skill_landprotector, now new cells of
  294. Deluge/Volcano/V.Gale will delete previous cells when they are recasted on
  295. top of each other. [Skotlex]
  296. * Summoned Marine Spheres no longer get the MD_CANMOVE bit. [Skotlex]
  297. * Cleaned up some more the SC_JAILED code [Skotlex]
  298. * merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru
  299. and Coltaro for the code. [Skotlex]
  300. * Cleaned the code of atcommands jail and unjail [Skotlex]
  301. * Be warned that the code MAY contain bugs as I adjusted it to save the
  302. character's position before jailing, allowing the automatic unjailing to
  303. warp you back to the exact spot you were at before being jailed. [Skotlex]
  304. * Should have fixed the cooking sets not displaying all cooking available
  305. items. [Skotlex]
  306. * Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
  307. really working. Thanks to Mpeg for noting it out. [Skotlex]
  308. * Modified Self Destruction, so that Marine Spheres in non-versus maps will
  309. hurt only enemies, while in all other situations this skill will hurt
  310. everyone around them. [Skotlex]
  311. * Expanded setting debuff_on_logout so that &1 removes negative buffs and
  312. &2 removes positive buffs. [Skotlex]
  313. * Food status boosts will no longer end on death, but they will end when
  314. you respawn or logout. [Skotlex]
  315. * Added battle config file status.conf, moved some settings from skill.conf
  316. and battle.conf to it since they are entirely Status-Change related.
  317. [Skotlex]
  318. * Added the missing lines to enable script command "kickwaitingroomall"
  319. [Skotlex]
  320. * Magic Rod's can-act delay will no longer be applied when you absorb a
  321. spell. [Skotlex]
  322. * Fixed Don't Forget Me increasing speed instead of decreasing it. [Skotlex]
  323. * Modified setlabel so that the script engine barks when you are trying to
  324. use the same label name as a constant or variable name. [Skotlex]
  325. 2006/07/31
  326. * Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame
  327. rankings. [Skotlex]
  328. * Updated Poison React chance to counter and number of counters as per
  329. skill description updates. [Skotlex]
  330. * Fixed Sharpshooting being counted as a magic attack, and hence, using
  331. your MATK as base damage. [Skotlex]
  332. * Fixed NPC_STOP id value in skill_cast_db [Skotlex]
  333. * Bladestop will no longer stop when you push either of the characters
  334. around. [Skotlex]
  335. * Fixed Enchant Poison having a near 100% chance of poisoning target on
  336. attack. [Skotlex]
  337. * Little fix on duel [Toms]
  338. * Added possibility to restrict duel usage to same map [Toms]
  339. * Merged mpeg's fix on ninja skills [Toms]
  340. * Corrected a status_get_race call which should be status_get_race2 in misc
  341. attacks. [Skotlex]
  342. * Moved the Devotion code to the top of the SC list in status_damage,
  343. meaning that now stuff like being asleep or confused won't end if you are
  344. hit, but the damage is absorbed by devotion. [Skotlex]
  345. * Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no
  346. information of how much the bonus should be, it currently is a conservative
  347. 10%. [Skotlex]
  348. * Fixed a possible crash in the main script engine when restoring previous
  349. script. [Skotlex]
  350. * Fixed sleep.tick not being set back to 0 before resuming execution, which
  351. leads to scripts that are continously executed even when they already ended
  352. (they do nothing but waste resources) [Skotlex]
  353. * Fixed a pair of free -> aFree used on stacks, which would lead to memory
  354. manager reporting leaks where there aren't. [Skotlex]
  355. * Removed incorrect "Waterball range+1 when standing on suiton" feature.
  356. [Skotlex]
  357. * Corrected the Speed update code to prevent sending "walk to xy" packets
  358. twice when the affected character is a player. [Skotlex]
  359. * Expanded mob can't move warning to print out where this mob was stuck at
  360. (map, x,y) [Skotlex]
  361. * Fixed segmentation fault in status_change_end, vd wasn't initialized [Toms]
  362. 2006/07/30
  363. * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
  364. level, so that at level 1 they can attack, use skills and receive no
  365. walking penalty. [Skotlex]
  366. * Mob casted Sanctuary will no longer always heal it's targets regardless
  367. of element/race [Skotlex]
  368. * Status change packets will now use as criteria for sending the actual
  369. view_class instead of player/not-player. This will fix status-changes
  370. displaying improperly on clones, and also possible crashes with disguised
  371. players. [Skotlex]
  372. * Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE [Toms]
  373. * Added bNoMiscDamage setting so you can specify misc-damage blocking from
  374. skills. Modified battle_calc_damage so that even Pressure and similar
  375. skills will be affected by this setting. [Skotlex]
  376. * GS skill updates/fixes [Vicious]
  377. * Force all users offline in sql when char-server starts [Toms]
  378. 2006/07/29
  379. * Removed ugly struct cast in login.c [Toms]
  380. * New version of buildin_query_sql which accept more than one column and
  381. can return the number of rows. See script_commands.txt for more details. [Toms]
  382. * Fixed nullpo in merc_hom_skillup [Toms]
  383. * Added a return value to buildin_rid2name if rid is invalid [Toms]
  384. * Made the SQL ping interval default to 7 hours. [Skotlex]
  385. * Made skill_unitsetting remove the group when no unit-cells were placed
  386. down. basicly this means that if landprotector blocks all tiles, the group
  387. will be removed from memory, preventing said group from counting to the
  388. total number of skills you can set. [Skotlex]
  389. * Fixed segmentation fault in script engine when calling something which is not a function [Toms]
  390. * Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
  391. 2006/07/28
  392. * Added Ishizu's code to check ammo type on attack. No more using Grenade
  393. rounds with Guns. [Skotlex]
  394. * offensive heal/sanctuary will only happen when the source of the heal is
  395. a player, mob/pet casted heal will now always heal regardless of target.
  396. [Skotlex]
  397. * Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
  398. [Skotlex]
  399. * Self destruction will now hit all characters in range, not just enemies.
  400. [Skotlex]
  401. * Cleaned up the NJ update code: [Skotlex]
  402. - Restored code which was removed (stuff like SC_SKA)
  403. - Fixed possible crashes on some NJ skills if used by non-players.
  404. - Fixed most NJ magic spells doing more damage than they should.
  405. - Fixed ZenyNage being able to do more damage than zeny you have.
  406. - Cleaned up skill setting code for Suiton and Kaensin
  407. * Some cleaning of battle_drain, Evil Druid card should work now. [Skotlex]
  408. * Made status_damage allow damaging of objects not on a map, this should
  409. fix pet-catching making the mob never respawn again. [Skotlex]
  410. * Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same :) [Toms]
  411. * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
  412. * Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
  413. * Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
  414. * Fixed sign warnings in login/login.c [Toms]
  415. * Fixed "conversion from 'double' to 'int', possible loss of data" [Toms]
  416. * Fixed "warning: redefinition of [ushort/uint/ulong]" [Toms]
  417. * Fixed duplicate case value on NJ_SUITON [Toms]
  418. 2006/07/27
  419. * Fixed a memory leak when there exists more than one user function with
  420. the same name, added the appropiate warning when this happens. [Skotlex]
  421. * Added reporting source file when an npc shops item's price is
  422. exploitable. [Skotlex]
  423. * The picklog will now record negative values for items sold to npcs.
  424. [Skotlex]
  425. * Added inmediate position and hp-bar update when a character joins a
  426. party. [Skotlex]
  427. * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
  428. * Added config setting party_update_interval so you can specify how often
  429. the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]
  430. * Removed a bunch of broken comments in skill.c [Skotlex]
  431. * Synced the script.c file with as much data as possible from jA's:
  432. [Skotlex]
  433. - A lot of functions were moved around, a bunch of indentation and
  434. space-usage changes were done to make it easier to diff against their
  435. files.
  436. - Miscellanous addition and corrections were applied.
  437. - Largest one is likely a restructuring of run_script_main, which hopes to
  438. solve the memory leaks.
  439. - script engine now uses the setjmp functions to restore memory state when
  440. there's an error parsing scripts, which means that script errors won't
  441. cause the map-server to inmediately bail out anymore.
  442. - NOTE that the amount of changes is pretty extensive, so DON'T USE THIS on
  443. a live server. Update only to help test and debug to see if the script
  444. engine memory leaks are gone.
  445. * Added a cleanup routine on shutdown to remove all characters from memory
  446. for whom the save ack has not returned from the char-server yet. [Skotlex]
  447. * Now when you set the guardian's HP, if the guardian is spawned, it's HP
  448. will be updated accordingly (and if you set it to 0, the guardian is
  449. killed) [Skotlex]
  450. * Added functions status_set_hp/status_set_sp to set hp/sp to a given
  451. value. Applied usage of these on the Berserk and Soul Change code.
  452. [Skotlex]
  453. * Added config setting "party_hp_mode" (battle/party.conf) which determines
  454. method to use to update party-mate hp bars. Aegis style is to update HP
  455. bars whenever HP changes, while eAthena style is to update it together with
  456. the map party dots. Defaults to aegis style. [Skotlex]
  457. * Fixed packet 0x22a having the manner and opt3 packets in inverted
  458. offsets. [Skotlex]
  459. * Readded the check which prevents Cloaking from activating when your
  460. learned level is less than 3 and you aren't next to a wall. [Skotlex]
  461. * Some cleanups to the Frenzy/Berserk status change, it should probably
  462. work correctly now. [Skotlex]
  463. * Removed a redeclared variable i in the parsing of the fame list (char-sql
  464. server) which seems to be the cause of the random memory corruptions.
  465. [Skotlex]
  466. * Updated item_db.sql to latest. [Toms]
  467. * Fix homunc & code cleanup [Toms]
  468. - Timer problems on delete_timer
  469. - Intimacy problem (overflow & new values)
  470. - Homunc deleted if intimacy < 0
  471. - base exp is now given to master
  472. - Homunc sometimes not saved
  473. 2006/07/26
  474. * Fixed a memory leak when reading the item_db txt. [Skotlex]
  475. * Applied the necessary changes to make @partyoption reflect it's changes
  476. on the alt+p window. [Skotlex]
  477. * Modified party_item_share_type config setting so that using 1 disables
  478. item-sharing from non-mob loot (player dropped items or pet loot) and 2
  479. enables round-robin instead of random sharing. Using 3 obviously is
  480. enabling both 1 and 2. [Skotlex]
  481. * Added battle_get_master which returns the master bl of a given object.
  482. [Skotlex]
  483. * Recoded battle_check_target to use battle_get_master, the src/target
  484. switch has been split into two, so that actual target and master target are
  485. seperately treated (same for source). [Skotlex]
  486. * Added support for "sc_end -1" which will clear all status changes. Added
  487. the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
  488. [Skotlex]
  489. * @pettalk will now fail when muted. [Skotlex]
  490. * Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
  491. 2006/07/25
  492. * Cleaned up run_script_main to properly free previous stack-data when
  493. running scripts. Note that scripts may still leak memory when run by
  494. non-players and they don't reach the "END" state, however I am not sure how
  495. this case should be handled, so it's left as it is for now. [Skotlex]
  496. * Added a missing ntohl call in the loginlog code. [Skotlex]
  497. * Added a check when buying from npcs to allow buying of item_avail items.
  498. [Skotlex]
  499. * Fixed duel accept invite sending the packet before the duel data is set
  500. (resulting in a packet that noone receives). Thanks to Toms for finding it
  501. out. [Skotlex]
  502. * Fixed a possible crash when you dual-wield and the total damage is 0.
  503. [Skotlex]
  504. * Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
  505. they convert the txt databases into sql. [Skotlex]
  506. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
  507. * Updated the sql files since now it's quick [Skotlex]
  508. 2006/07/24
  509. * Re-updated the mob_db.sql to latest. [Skotlex]
  510. * Cleaned up the skill_landprotector function to correctly block only magic
  511. skills from being placed on land protectors. [Skotlex]
  512. * Corrected itemdb_group so that it will not return the random item givers
  513. (should give priority to actual item groups, so that the item heal bonuses
  514. work correctly) [Skotlex]
  515. * Cleaned up the Mistress Card related code so that the no-gemstone bonus
  516. reduces item requirements by one rather than totally skip them. [Skotlex]
  517. * Cleaned up the logs "can log"function to use the IT constants. Also
  518. corrected the "only log large amounts" setting not working on negative
  519. values (trades). [Skotlex]
  520. * Adjusted skill_castfix_sc so that Suffragium will get consumed even on
  521. instant cast skills, but Memorize won't. [Skotlex]
  522. * BladeStop will now end when either of the characters is moved (knocked
  523. out?) around. [Skotlex]
  524. * Moved the Zeny penalty code from respawn to pc_dead. [Skotlex]
  525. * Added a check to prevent Deluge/Volcano/Violent Gale from being placed on
  526. top of each other. Reverted the previous 'fix' where atk was being
  527. increased based on armor element rather than element of attack. [Skotlex]
  528. * Removed the noreturn mapflag check from script command warp. [Skotlex]
  529. * Homuculus cleanup [DracoRPG]
  530. - Replaced nullpo's in parse functions by silent checks
  531. - Removed server-side effect for menu option 0 (view status window...
  532. why does the client send us the packet since we don't care? -_-)
  533. - Rewrote intimacy underflow checks so they are really effective (no
  534. need to check if an unsigned is < 0, it won't work... check before!)
  535. * fixed unban unblocking players as well. [Skotlex]
  536. * Fixed Volcano/Deluge/Violent Gale increasing damage based on element of
  537. attack instead of defense element of attacker. [Skotlex]
  538. * Cleaned up the code of Magic Rod, fixed it not giving SP. [Skotlex]
  539. * Moved the code of Hermod and Basilica to castend_pos2 so it should work
  540. now. [Skotlex]
  541. * Modified the code of Ankle Snare so the status ends on unit's time-limit
  542. rather than when the snared object moves away. [Skotlex]
  543. * Re-worded the water check of ST_WATER skills. [Skotlex]
  544. * Allowed sc-cast reductions to be processed even when cast-time is instant
  545. (to let suffragium end even on instant-cast skills) [Skotlex]
  546. 2006/07/23
  547. * Modified setting skillrange_by_weapon (skill.conf) to be a
  548. per-object-type setting instead of yes/no. The default now is that
  549. weapon-based skills will take the attacker's range for non-players.
  550. [Skotlex]
  551. * Changed the default of skillrange_by_distance to include homunculus.
  552. [Skotlex]
  553. * Fixed buildin_isequip not working correctly with non-cards. [Skotlex]
  554. 2006/07/22
  555. * Updated mob_db.sql to latest. [Skotlex]
  556. * Applied Toms's suggested corrections to homun code. [Skotlex]
  557. * Corrected Cannibalize/Marine Sphere ignoring the selected summon spot.
  558. [Skotlex]
  559. * Fixed looting pets ignoring the item pick-up priority of other players.
  560. [Skotlex]
  561. * Should have fixed a signess warning in login txt. [Skotlex]
  562. 2006/07/21
  563. * Added blocking of @me when muted or in berserk status. [Skotlex]
  564. * Corrected the @follow timer not being deleted on logout. [Skotlex]
  565. * Applied the homunculus code fixes provided by Toms. [Skotlex]
  566. * battle_check_target will now tag homunculus as invalid target when the
  567. source is a skill-type object. [Skotlex]
  568. * Added a check on pc_equipitem so that when the client specifies to equip
  569. a weapon on the right hand when the left hand is available, the weapon will
  570. be sent to the left hand instead (when dual-wielding is possible,
  571. obviously). Same for the left/right accessories. [Skotlex]
  572. * Added the necessary checks so that Suiton makes Fogwall have double
  573. duration, and to make water-requiring skills to consume their cells.
  574. [Skotlex]
  575. * Corrected the loadmap event description to specify that the mapflag
  576. required is actually "loadevent", NOT "loadmap"! [Skotlex]
  577. * Now when the char-txt server does not finds a requested party, it will
  578. clear out said party id of all characters (will help prevent massive
  579. spamming/overhead when for some reason the party file needs to be deleted).
  580. [Skotlex]
  581. * Combo skills (inf = self, inf2 = no target self) no longer check range if
  582. you use them while your attack-timer is still active. [Skotlex]
  583. * Added back a map_freeblock call in skill_delunitgroup which caused a
  584. memory leak when removed... [Skotlex]
  585. * Added a check to prevent Blind from ending while standing on a fog of
  586. wall. [Skotlex]
  587. * The mob Slave ai will be executed now even when the slave has a target.
  588. This will allow for "instant" warping to the master when it changes maps or
  589. teleports. if the slave has a target already, it won't unlock it and chase
  590. back to the master or anything like that. [Skotlex]
  591. * Removed a couple of checks that prevents item ids above 20000. However,
  592. remember that the max id is still ~32k or the client is the one who's gonna
  593. crash! [Skotlex]
  594. 2006/07/20
  595. * Added source reporting when you do an invalid int&str or str&int
  596. operation on a script. [Skotlex]
  597. * Fixed the intif party creation packet having the incorrect size sent,
  598. hence causing the leader's level to be read as garbage (which caused the
  599. "impossible to even share" bug). [Skotlex]
  600. * Added pc_check_weapontype to do a proper skill weapon check that takes
  601. into account dual-wielding. That is, if a skill can be used with
  602. daggers/axes, you'll be able to use the skill when dual-wielding them.
  603. [Skotlex]
  604. * Corrected Cloaking level 1-2 not letting you move across walls. [Skotlex]
  605. * updated cloaking code so that when you set "enable cloaking without
  606. walls", the code will consider you as "always next to a wall", thus you get
  607. the wall-speed bonus always. [Skotlex]
  608. * Applied the fix to homunculus name saving... [Skotlex]
  609. * Added battle config settings agi_penalty_target and vit_penalty_target,
  610. they define which object types will get vit/flee reductions when
  611. multi-targetted and defaults to only players (battle/battle.conf) [Skotlex]
  612. * Added the dummy intravision case for the changeoption packet 0x229
  613. [Skotlex]
  614. * Corrected Fog of Wall so that all targetted offensive skills (not only
  615. those who do damage) will fail on cast-end 75% of the time. [Skotlex]
  616. * corrected @homlevel up and one entry in the homun exp table as reported
  617. on the forums by Albator. [Skotlex]
  618. * Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
  619. * Added a status_check_skilluse on skill_attack_area call to prevent splash
  620. damage skills from hitting hidden/trickdead/etc characters. [Skotlex]
  621. * Corrected fog of wall to behave as best known currently: [Skotlex]
  622. - Only takes effect when targetting a character inside it
  623. - -50hit/-75% damage when using normal-ranged attacks
  624. - -25% damage from all damage skills
  625. - 75% chance of all targetted damage skills of failing.
  626. * Should have fixed @refine applying multiple times to equipment that uses
  627. multiple equip slots. [Skotlex]
  628. 2006/07/19
  629. * Fixed the inf code update breakage which was blocking all offensive
  630. skills. [Skotlex]
  631. * Added battle setting homun_critical_rate (defaults to 0) [Skotlex]
  632. * Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
  633. enable_perfect_flee which specifies which objects can have perfect flee and
  634. enable_baseatk which specifies which objects can have a base attack value
  635. (both in battle.conf) [Skotlex]
  636. * Modified the targetted skill logic to enable offensive skills to be
  637. targetted at party/guild members if the appropiate inf2 value is set.
  638. [Skotlex]
  639. * Added checks to make adding items to inventory/cart fail when a char is
  640. in finalsave state. [Skotlex]
  641. * Fixed parse_names on irc.c crashing when receiving a null argument.
  642. [Skotlex]
  643. * Modified the parsing of the names line, since some servers will send @
  644. instead of = when separating the information. [Skotlex]
  645. * Fixed the homun creation sql statement. Why noone else did so before?
  646. [Skotlex]
  647. * When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it
  648. will use clearchar and spawn packets instead of changeoption. Thanks to
  649. Toms for the fix. [Skotlex]
  650. * Corrected Trim chars to block 'enter', as explained by the Ultra mage.
  651. [Skotlex]
  652. * When the client passes account version 0, the login server will set it to
  653. 1 now. [Skotlex]
  654. * Corrected the HP bar scaling when HP is above Short Max. It should
  655. display fine for any HP value now. [Skotlex]
  656. * Added a check when the mob's adelay is shorter than the amotion, in which
  657. case the adelay will be changed to the amotion value. [Skotlex]
  658. * Some minor mapflag changes. [MasterOfMuppets]
  659. 2006/07/18
  660. * Added atcommand @partyoption, lets you alter the party item-distribution
  661. type on the go. Usage is "@partyoption <pickup share> <item distribution>",
  662. where both arguments can be 0/1, yes/no, etc. [Skotlex]
  663. * Updated @changeleader and @partyoption to use msg_Athena entries.
  664. [Skotlex]
  665. * Added character 013 (enter) to the list of characters that are always
  666. removed from new character names. [Skotlex]
  667. * Fixed a crash when trying to extend TK's infinite combo feature. [Skotlex]
  668. * Corrected Poison React to counter regardless of distance, and to use the
  669. skill's 50+5*lv% counter chance (instead of 100%). [Skotlex]
  670. * Corrected Venom splasher's splash damage [Skotlex]
  671. * You now can't move/attack/use-skills when using Cloaking of a level less
  672. than 3 [Skotlex]
  673. * Fixed compilation of mercenary.c [Skotlex]
  674. * Corrected Fog of Wall's "targetted spells fail 75% of the time" feature
  675. by making it behave like GTB, that is, you just get a skill-failed on
  676. cast-end, no skill-animation at all. [Skotlex]
  677. * Added a proper check to make aggressive mobs never override homun targets
  678. regardless of distance. [Skotlex]
  679. * Removed a bunch of homun-related variables that are not needed at all.
  680. The alive condition is removed, now the code checks for the hp value to
  681. know if the homun is alive or not. [Skotlex]
  682. * Cleaned up a bit the skill-id function, homun skill checks (such as delay
  683. and skill-lv learned) should be correct now. [Skotlex]
  684. * Added a proper check to make aggressive mobs never override homun targets
  685. regardless of distance. [Skotlex]
  686. * Fixed giving the 100% damage bonus when no-splash-targets are found in
  687. the blown path to Grandcross instead of Bowling Bash. Bowling Bash damage
  688. equation becomes then +50*lv% rather than +40*lv% when there's no
  689. splash-damage (the 50*lv% figure is custom, all we know is that level 10
  690. does 600% instead of 500% damage). [Skotlex]
  691. 2006/07/17
  692. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  693. * The char-server will allow off-line character saves when said char is
  694. tagged for final-save (this is the scenario when the char-map reconnect).
  695. [Skotlex]
  696. * Should have fixed the Cart Termination damage code to be scaled correctly
  697. when you change the max cart weight. Thanks to The Ultra Mage for the error
  698. clarification. [Skotlex]
  699. * Implemented Grandcross weird property where if there's noone on the path
  700. it'll hit twice for the skill's reported damage, and when there is (or you
  701. can't knockback the target) it'll do a splash attack that hits twice for
  702. 500% to all affected targets. [Skotlex]
  703. * Some cleaning of the combo code. TK Rankers will now get their combo-time
  704. extended each time they trigger a kick, enabling them to do "unlimited
  705. combos". [Skotlex]
  706. * Modified the autosave function to use a sweep across the player db
  707. instead of across connected clients. This will cause non-connected players
  708. (like autotraders) to also be saved on a regular interval, may help with
  709. possible data-loss from said characters on unclean shutdowns. [Skotlex]
  710. * Removed the code that forces aggressive mobs to go after a Homun instead
  711. of their master (no reason why there should be such a condition). [Skotlex]
  712. * Some sign quest map flag updates [MasterOfMuppets]
  713. * atcommand_follow is now more verbose. [Adam]
  714. * Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
  715. * Orn's fix to the very critical skill level up bug [DracoRPG]
  716. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  717. * Added Orn's lil fix on homun [Vicious]
  718. * Added Homunculus system, enjoy! [orn aka Nylou]
  719. - WARNING: This currently only works with the SQL version, as the TXT char-server
  720. has no code for it at the moment. You TXT server won't break, but the char-server
  721. will complain of an unknown packet if you try to get an Homunculus
  722. * Updated nomemo mapflags based on info from http://ro.doddlercon.com/images/memo.jpg [Poki#3]
  723. 2006/07/15
  724. * Small change in conf/battle/player.conf to say that 199 is max aspd allowed
  725. (Haplo says that there are many reports of having over 200 is giving errors) [Evera]
  726. 2006/07/13
  727. * Kaahi no longer shows the heal effect to everyone. [Skotlex]
  728. * Eska no will cause defense to change randomly every second. [Skotlex]
  729. * Tuned up some more NJ_KAENSIN based on Tharis's information. [Skotlex]
  730. * Corrected NJ_KAENSIN as per description. [Skotlex]
  731. * Fixed a leaking map_freeblocklock on skill_del_unitgroup. [Skotlex]
  732. * Changed the default save interval to 5 minutes. Added support for
  733. specifying fixed save-intervals by using negative values. [Skotlex] EG:
  734. - Save interval set to 300 (5 minutes): all characters will be saved in
  735. equal time-slots, so that everyone is saved every 5 minutes regardless of
  736. number of players online.
  737. - Save interval set to -1000 (1000 ms): One character will be saved every
  738. second, regardless of amount of characters online.
  739. The new fixed-time-slots method is meant for larger servers, so that they
  740. can control the saving-induced stressed on the char-server.
  741. * Fixed @storeall and @charstoreall failing when the target character
  742. already had the storage open. [Skotlex]
  743. * Reverted temporarily the Cart Termination equation until it can be
  744. fixed... [Skotlex]
  745. * Fixed script command "recovery". [Skotlex]
  746. 2006/07/12
  747. * Fixed a small typo in my code [Zido]
  748. * Added negative value in bonus exploit fix for more stat bonuses [Zido]
  749. * Fixed exploit in pc_bonus there are no checks that check that the value being
  750. added onto a status don't make it go below zero, which means if you have a mineral
  751. card and reset stats it reduces your base attack to lower than zero, making it
  752. go up to 64000. Fixed by adding a check for SP_BASE_ATK, although i recommend
  753. doing it for other status bonuses also [Zido]
  754. * Recoded NJ_BAKUENRYU to behave as I understand it best from the
  755. skill-description (since Haplo told me this skill doesn't really has video
  756. information or anything...) [Skotlex]
  757. * Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path"
  758. calls. The skill should be working correctly now, except for the fact that
  759. the correct "unit id" is missing (this is what would give the ground tile
  760. it's correct display). Temporarily it is using 0xba until the correct value
  761. is found. [Skotlex]
  762. * Added back the undead check to turn undead/resurrection to prevent
  763. damaging non-undead targets, removed it from the battle damage section.
  764. [Skotlex]
  765. * Resurrection will now silently fail when used on non-undead + not-dead
  766. characters. [Skotlex]
  767. * Poem of bragi/magic String's base delay reduction at level 10 (or above)
  768. is now 50% instead of 3*lv%. [Skotlex]
  769. * status_damage will no longer fail when the target is not on a map AND the
  770. flag is 2 (charge rather than damage). Fixes SP-draining status changes
  771. ending suddenly when in-between maps. [Skotlex]
  772. * Fixed the IP value being apparently incorrectly casted before inserting
  773. into the loginlog table on "connect success" events. [Skotlex]
  774. * Fixed Cart Termination's damage. [Skotlex]
  775. * Added the missing check to remove character from memory when logging out
  776. and using the charsave_method which saves character map-server-side.
  777. [Skotlex]
  778. 2006/07/11
  779. * Fixed inverted check which was preventing you from buying more than 1
  780. from any stackable item.... [Skotlex]
  781. * Should have fixed the crash in intif gm message... [Skotlex]
  782. * Fixed GTB card only working while you had a status-change active.
  783. [Skotlex]
  784. * Fixed being unable to compound cards in armor. [Skotlex]
  785. * Made @monsterignore be an universal ignore. Means you cannot be targetted
  786. as an enemy by anything. Also added alias "@battleignore" which does the
  787. same as monsterignore. [Skotlex]
  788. * Fixed magic power setting your min matk as max-matk. [Skotlex]
  789. * Modified the packets involved in @fakename in hopes it'll refresh
  790. correctly on nearby clients now. [Skotlex]
  791. * Fixed clif_parse not checking for func_parse before sending data to the
  792. connected clients. This in turn required various code-rewrites in: [Skotlex]
  793. - duel related messaging functions (added clif targets DUEL/DUEL_WOS).
  794. - intif whisper to gm function
  795. - day/night timers
  796. - Rewrote the parse_console function to stop allocating/deallocating memory
  797. on every call.
  798. - Modified chrif_charselectreq to receive the player's ip among the data.
  799. * Added function clif_disp_message, which is the same as
  800. clif_disp_onlyself, except you can specify the targets (it sends a
  801. guild-chat packet) [Skotlex]
  802. * Fixed the subele bonus (elemental reduction) being applied to the element
  803. of the attacker instead of the element of the attack. [Skotlex]
  804. * mob skills now won't trigger on unit_stopwalking calls. [Skotlex]
  805. * Coded @reset. [Skotlex]
  806. * Reenabled @changesex [Skotlex]
  807. * Added function pet_create_egg which handles creating pet eggs correctly
  808. (when passed item id is indeed a valid petegg). Applied this on @createitem
  809. and getitem. [Skotlex]
  810. * Cleaned up code of @item [Skotlex]
  811. * Cleaned up the itemdb_isequip functions. itemdb_isequip will now return
  812. if the item is equipable by players, itemdb_isstackable returns if the item
  813. can be stacked, and itemdb_isidentified returns if the item should drop
  814. identified. [Skotlex]
  815. * Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given
  816. item has "invalid" cards, added define function itemdb_isspecial to
  817. simplify this check. [Skotlex]
  818. * Removed itemdb.c considering item ids above 20000 as invalid. [Skotlex]
  819. * Cleaned up script commands getitem and card-counting related ones.
  820. [Skotlex]
  821. * Cleaned up a bit more pc_isequip [Skotlex]
  822. * Added script function warpportal(x,y,targetmap$,targetx,targety).
  823. This creates warp portals as in the skill unit as a volatile alternative
  824. to static warp portals. [blackhole89]
  825. * Modified the login-sql server to do the ip-ban check only on the
  826. auth-packets instead of on every packet. [Skotlex]
  827. 2006/07/10
  828. * Corrected Warp Portal being unable to warp people who are standing on it
  829. on the moment it triggers. [Skotlex]
  830. * Fixed @follow stopping the moment you are warped. [Skotlex]
  831. * Fixed pc_additem messing with the equip field of the passed item data.
  832. Fixes the famous "equip stuff on your arrow slot" bug. [Skotlex]
  833. * Fixed cart-termination crashing the server if you used level 16 of it.
  834. [Skotlex]
  835. * Fixed check_connect_login_server check in char-sql server. Fixes
  836. char-server not reconnecting to the login server. [Skotlex]
  837. * Login-sql server will no longer change an account's state to "7" when
  838. banning a player. This should fix being able to use @ban to clear out a
  839. @blocked player. Players will now be identified as banned only through the
  840. banned-until timestamp. [Skotlex]
  841. * Fixed a crash when using Gospel... [Skotlex]
  842. * The on-place function won't be invoked on setting ground skills if the
  843. group's tick is greater than the current tick. As Buuyo pointed out, this
  844. should fix Sanctuary and Gospel taking effect inmediately instead of after
  845. "x" amount of ms as they should. [Skotlex]
  846. * Added login-char packet 0x2737. Sets all characters offline (login-server
  847. side). [Skotlex]
  848. * Cleaned up char server "set all offline" implementation to remove only
  849. characters from the map-server from which the packet was invoked. It will
  850. also now correctly kick/set-character offline from the map-server if they
  851. are connected. [Skotlex]
  852. * Cleaned up the char-sql reconnect code. It no longer sets everyone to
  853. offline. [Skotlex]
  854. * Removed setting "kick_on_disconnect", servers will no longer kick
  855. characters out when there's a disconnection. Instead, it'll use the most
  856. logical approach: Set characters into a "lost" state when there's a
  857. disconnection, on reconnect, resent the list of online-characters, do a
  858. sync, and let the difference be characters to be removed. Also, the
  859. map-server won't release character data until it's saved and the ack
  860. returns from the char-server to prevent data loss (all this data is resent
  861. on reconnect for saving anyway). [Skotlex]
  862. * Added a check in pc_equipitem so that when switching weapons and you have
  863. the skill_range_by_weapon setting active, the skill info block (which
  864. includes range) will be resent when the new weapon to equip has a range
  865. different than the previous one. [Skotlex]
  866. * One closer inspection, removed that clear in itemdb_reload for a foreach
  867. call again. And modified itemdb_load to scrap the dummy item entry from the
  868. item_db and replace it with proper data for the item. [Skotlex]
  869. * itemdb_reload will clear the itemdb before reloading info instead of only
  870. clearing the scripts now. [Skotlex]
  871. * Some cleaning of skill_castend_pos2, fixed Gospel, and a
  872. map_freeblock_unlock misplacement. [Skotlex]
  873. * Sense/Estimation will now display the mob info window to all party
  874. members in the same map. [Skotlex]
  875. 2006/07/08
  876. * Fixed the new addeff structure not working well with SC_STONE (because
  877. SC_STONE is 0, which was by default not handled as a valid value).
  878. [Skotlex]
  879. * Added back the TF_MISS walking speed bonus to assassin type classes (how
  880. did that got lost?) [Skotlex]
  881. * Fixed mobinfo displaying exp as signed ints rather than unsigned.
  882. [Skotlex]
  883. * Added status_check_visibility to check if an object is within range of
  884. view of another. Nothing more, nothing less. It's used by unit movement to
  885. check whether you can continue chasing your target or not when the "chase
  886. target" directive is given. [Skotlex]
  887. * Fixed the char table having party/guild_id as smallint when they need int
  888. there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
  889. [Skotlex]
  890. * Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
  891. [Skotlex]
  892. * Fixed endow skills calling the skill no damage packet twice. [Skotlex]
  893. * Fixed a crash on warpwaitingpc when the chat-room is empty. [Skotlex]
  894. 2006/07/07
  895. * Fixed the Warm Skills [Skotlex]
  896. * Removed the debug message when a player logs out and is removed from
  897. memory, it is working fine (tested normal logging off and autotrade). [Skotlex]
  898. * Corrected the pet-armor field of the pet not being updated on
  899. equip/unequip of accessories, making them not show up inmediately. [Skotlex]
  900. * Status_calc_bl will no longer stop you from attacking/walking when the
  901. mode is changed unless the new mode no longer includes
  902. "can-attack"/"can-move" respectively. [Skotlex]
  903. * Should have fixed clif_item_sub to properly store pet egg/armor data.
  904. There should be no more "random refine levels" bugs related to these.
  905. [Skotlex]
  906. * itemdb_exists will now return NULL for item_id 0. [Skotlex]
  907. * Added a check to free a character from memory when changing map servers.
  908. [Skotlex]
  909. * Okay, added a chrif_save_ack packet to the char-server so now the map
  910. server will know once a character was "final saved", and only then the
  911. character will be removed from memory. On char-server reconnection, all
  912. chars that are in final-save state are resent to save (if they are still in
  913. memory, it's because the ack hasn't gotten here from the char-server). This
  914. should effectively block all dupe problems due to heavy inter-server lag,
  915. however as it's untested, it currently prints some debug messages when
  916. people are saved and then removed from memory. Need testers so this can be
  917. debugged and merged to stable! [Skotlex]
  918. * Now, when the login-char connection is cut, the char-server won't set
  919. everyone offline on reconnect, instead it will send the list of online
  920. accounts to the login server. [Skotlex]
  921. * Modified the error on the char-sql server to set chars online when it
  922. receives a save packet from a character tagged as offline (until it can be
  923. figured out why this is happening) [Skotlex]
  924. * Fixed signed/unsigned comparison issues in the char txt/sql server.
  925. [Skotlex]
  926. * Fixed the cooking success chances. Thanks to Ishizu Chan. [Skotlex]
  927. * Added a temporary band-aid to prevent executing the script of non-arrows
  928. when they are equipped on the arrow-slot (until the actual cause of why
  929. pc_unequipitem is not working correctly is discovered/fixed) [Skotlex]
  930. 2006/07/06
  931. * Modified the party_data structure on the map server to remove some
  932. redundant data. Added a party_data structure on the char-server to hold a
  933. more complete set of information about parties. Added to the party_member
  934. structure the class of each member so that the map server can do the
  935. appropiate checks even if the character is on another mapserver/offline.
  936. Due to the format changes in the party structure, txt servers will have to
  937. wipe their party file... (sql save format has not been changed) [Skotlex]
  938. * Added function char_family to check if there's a family state given the
  939. three character ids, instead of doing individual checks all the time.
  940. [Skotlex]
  941. * Rewrote all the item restriction functions so that they will take into
  942. account slotted card restrictions as well. [Skotlex]
  943. * Added no_skill_delay setting, when set, affected object types will have
  944. the minimum skill delay for all skills. Defaults to mobs, since they
  945. don't have skill delays. [Skotlex]
  946. * Cleaned up pc_equipitem. When dual wielding or equipping accessories, if
  947. the client actually specifies one of the two positions, it will be taken
  948. into account (now, does the client actually does this?) [Skotlex]
  949. * Fixed GrandCross and similar skills. [Skotlex]
  950. * FogWall will now also affect the caster. [Skotlex]
  951. 2006/07/05
  952. * Updated NJ_KAENSIN by Saycyber21 [Vicious]
  953. * Updated @refine to take account of MAX_REFINE, thanks to Omega... GM
  954. Designer. [Skotlex]
  955. - Also optimized the @refine loop for better performance.
  956. 2006/07/04
  957. * Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
  958. * Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
  959. * Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
  960. 12*(cooking set-lv)%. Exception: When using the legendary cooking set,
  961. success chance is 100% regardless of dish. [Skotlex]
  962. * Added battle config setting emergency_recall, specifies behaviour of that
  963. skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 -
  964. Can be used everywhere. [Skotlex]
  965. * Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can
  966. come out or not is entirely decided by the abra db file now. [Skotlex]
  967. * Added structure s_addeffect to handle status change additions. Cleaned up
  968. relevant code. It is now possible to specify ANY status change, not just
  969. the basic ones. NOTE that the code is proof-read, but untested! [Skotlex]
  970. * Added support for bonus3 bAddEff/bAddEffWhenHit as follows: [Skotlex]
  971. bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  972. Target flag is 0: Self. 1: Enemy. 2: Both.
  973. * Added these descriptions to doc/item_bonus.txt [Skotlex]
  974. * Added a check when joining a chat to make sure the target object is of
  975. type BL_CHAT. [Skotlex]
  976. 2006/07/03
  977. * Cleared up the bAutoSpellWhenHit description in doc/item_bonus.txt
  978. [Skotelx]
  979. * Fixed Phantasmic Arrow and Magical Bullet not being correctly tagged as a
  980. ranged arrow-type attack. [Skotlex]
  981. * Updated help.txt and help2.txt, thanks to Inuyasha for providing the
  982. updated files. [Skotlex]
  983. * Char-server SQL won't perform the reconnect cleanup routines when
  984. kick_on_disconnect is disabled. [Skotlex]
  985. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  986. setting now only makes the attacks of the slaves trigger the autospells of
  987. the master (as it should be). [Skotlex]
  988. * Corrected code capping no_spawn_on_player to 50 when the max should be
  989. 100. [Skotlex]
  990. * Warmth will dispel when warping now (or else the effect is left on the
  991. ground) [Skotlex]
  992. * Fixed reading of the refine_db not working right when MAX_REFINE is
  993. increased from 10. [Skotlex]
  994. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  995. * Fixed a compile warning in login sql/txt [Skotlex]
  996. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  997. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  998. [Skotlex]
  999. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  1000. [Skotlex]
  1001. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  1002. skills. [Skotlex]
  1003. 2006/06/30
  1004. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  1005. * Added a check to prevent equipped items from being traded. [Skotlex]
  1006. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  1007. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  1008. cells. Beware of potential bugs as it's untested. [Skotlex]
  1009. * Added mapflag "nochat" to prevent chatting rooms from being created.
  1010. [Skotlex]
  1011. * Corrected some of the sleep checks when the char id does not matches with
  1012. the char-id expected by the script engine. [Skotlex]
  1013. * Cleanup in itemheal related code, fixed the item heal group bonus not
  1014. working on Groups beyond 7. [Skotlex]
  1015. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  1016. 2006/06/29
  1017. * Made the map server send list of characters online to the char-server on
  1018. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  1019. temporary disconnection would make the char-server tag all characters
  1020. offline and refuse to save them afterwards. [Skotlex]
  1021. * Fixed guild storage being "eternally in use" if you quit/logout before
  1022. closing it. [Skotlex]
  1023. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  1024. [Skotlex]
  1025. * [Fixed]
  1026. - Scripting system screwing up script position after mixing timers with menus.
  1027. - NPC attached AI mobs display as alive when dead.
  1028. - View data not updating after buildin_unitdeadsit.
  1029. [Improved]
  1030. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  1031. - Simplified scripting system. sd will now use pointer to the script state itself.
  1032. [Lance]
  1033. 2006/06/28
  1034. * changed:
  1035. dynamic_pass_failure_ban_how_many:from 3 to 7
  1036. dynamic_pass_failure_ban_how_long:from 60 to 5
  1037. as in official servers. [Musashiden]
  1038. * Added a check in script command "set_option" so that invoking
  1039. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  1040. * Added trade-range check on trade start. [Skotlex]
  1041. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  1042. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  1043. to be used on enemies. [Skotlex]
  1044. * Cleaned up a bit the code for @item [Skotlex]
  1045. * Fixed character/storage being sent to be saved TWICE when you logged out
  1046. while the storage is opened. [Skotlex]
  1047. * Added save_settings map config. Specifies after which events do
  1048. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  1049. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  1050. [Skotlex]
  1051. * Changed the mob drop rate adjust function to receive a signed int
  1052. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  1053. * Corrected Musical Strike having a different damage equation from Throw
  1054. Arrow. [Skotlex]
  1055. * Added state rewarp to players. It gets set when a pc_setpos call is
  1056. triggered while the player is changing maps so that when the player finish
  1057. loading the map, it is inmediately rewarped to where it has been
  1058. rewarped/recalled to. [Skotlex]
  1059. 2006/06/27
  1060. * Map server will now resent the whole list of online characters to
  1061. char-server on reconnect when the kick_on_disconnect setting is active.
  1062. [Skotlex]
  1063. * Cleaned up and optimized the IP sync code. New login_athena config
  1064. setting sync_ip_interval specifies how often to sync the ip. The default is
  1065. 0 (disabled). [Skotlex]
  1066. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  1067. on maps with this mapflag on, rather than every map. [Skotlex]
  1068. * High Jump can now be used in all versus maps. [Skotlex]
  1069. * Added Kaite's opt3 value, taken from jA [Skotlex]
  1070. * Added state dirty == 2 to storages. Signals when a storage was sent for
  1071. final saving. Said storage is removed from memory after the ack from the
  1072. char-server, and they are sent to save if the map/char servers reconnect
  1073. before the ack arrives. In short: they are guaranteed to be saved after a
  1074. char logs out. [Skotlex]
  1075. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  1076. 2006/06/26
  1077. * Corrected the element of hunter traps. [Skotlex]
  1078. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  1079. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  1080. [Skotlex]
  1081. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  1082. * Rough implementation of Ground Drift according to description and jA
  1083. info. [Skotlex]
  1084. * Implemented Tatami Gaeshi using skill description and jA implementation
  1085. for reference. [Skotlex]
  1086. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  1087. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  1088. Meruru for pointing out they aren't being used anymore. [Skotlex]
  1089. * Autospells will now again check for the skill's nk value, so that skills
  1090. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  1091. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  1092. equipment (fixes them showing up "broken" and with random refine levels)
  1093. [Skotlex]
  1094. * [Added]:
  1095. - buildin_unitkill just for kicks. [Lance]
  1096. 2006/06/23
  1097. * [Optimized]:
  1098. - Setting of variables with defined scope in some frequently executed script
  1099. events.
  1100. [Added]:
  1101. - Missing script_require_trigger flags for some power hungry events.
  1102. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  1103. * Modified pc_setoption so that it will correctly update sprite AND clothes
  1104. color when mounting/unmounting changing into/from xmas/wedding sprites.
  1105. [Skotlex]
  1106. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  1107. to be sold, traded, dropped, etc. [Skotlex]
  1108. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  1109. and before card reductions. The skill now completely disregards left
  1110. hand weapon. [Skotlex]
  1111. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  1112. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  1113. * Cleared up the comment on what item_check does and how it works.
  1114. [Skotlex]
  1115. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  1116. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  1117. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  1118. to forbid skills from common maps. [Skotlex]
  1119. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  1120. * The map search free cell will now use the size of the map # of tries
  1121. before giving up when the spawn area is the whole map. Added a check to
  1122. inmediately give up when the number of spawn retries has reached the max
  1123. specified (no_spawn_onplayer = 100). [Skotlex]
  1124. * Cleaned up a bit the clone code to account for the unit flags
  1125. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  1126. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  1127. * Added pc_bonus_autospell_del, gives support for removing autospell
  1128. effects. When a negative rate is specified, it will decrease the chance of
  1129. casting (eg: You have two different cards with autospell Heal +20% each,
  1130. then do autospell -30. The second card will be cancelled, and the first one
  1131. will become Heal +10%) [Skotlex]
  1132. * npc_timers now will not restore the previous timer data when there's no
  1133. players attached (when it's strictly an npc timer). This should reenable
  1134. the old behaviour of getnpctimer returning the total ellapsed time since
  1135. "startnpctimer" even after the last label has been reached. However, this
  1136. behaviour won't apply to player-attached timers. [Skotlex]
  1137. * [Fixed]:
  1138. - MAPREGSQL overloading SQL table with temperory map registries.
  1139. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  1140. 2006/06/22
  1141. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  1142. This should complete the required packets for PACKETVER 7. [Skotlex]
  1143. * Added support for the PACKETVER 7 packets in the "dummy" current
  1144. intravision implementation. [Skotlex]
  1145. * Fixed @autoloot being off by 0.01% when entering a manual value.
  1146. [Skotlex]
  1147. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  1148. each target is hit N times (where N is the number of mobs in the splash
  1149. area at the moment of triggering). [Skotlex]
  1150. * Updated the tools/stackdump script to also handle sig-plugin generated
  1151. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  1152. the end or not. Help me test it as I want this script on stable NOW :X
  1153. [Skotlex]
  1154. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  1155. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  1156. stackdump as before. [Skotlex]
  1157. * Corrected autoloot so that you can specify rate with decimal precision
  1158. ("@autoloot 0.01" should work) [Skotlex]
  1159. 2006/06/21
  1160. * [Removed]:
  1161. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  1162. * [Fixed]:
  1163. - Compilation warnings and errors.
  1164. [Improved]:
  1165. - Changed and moved IP sync status messages to elaborate more. [Lance]
  1166. * Tested and fixed resolve_hostbyname. Applied said function around most of
  1167. the code where needed. Removed includes for the OS/network system pretty
  1168. much from every file (our socket.c file should handle this) [Skotlex]
  1169. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  1170. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  1171. [Skotlex]
  1172. * status_percent_change will now account for when the target's max hp/sp is
  1173. above INT_MAX. [Skotlex]
  1174. * [Added]:
  1175. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  1176. 2006/06/20
  1177. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  1178. really ARE the same value clientside! (totally stupid), therefore I've
  1179. opted from removing the flying animation since it really just displays as
  1180. Xmas for others (and the correct fix involves adding a bunch of
  1181. class-change packets...) [Skotlex]
  1182. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  1183. Fling. [Skotlex]
  1184. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  1185. in skill_check_condition, fixed the skill so that it's damage is based on
  1186. whatever zeny is specified in skill_require_db. [Skotlex]
  1187. * Can-act delay will not be reset when warping now. [Skotlex]
  1188. * Fixed Quagmire not altering walking-speed. [Skotlex]
  1189. * Silence now blocks skills both on begin/end casting. [Skotlex]
  1190. * Updated status_calc_bl so that when walking speed changes, the character
  1191. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  1192. 2006/06/19
  1193. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  1194. * Combo-used Skills with State "move_enable" will now override the "can't
  1195. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  1196. * Some more cleanups of battle_calc_damage to account for absorbed damage
  1197. reductions. [Skotlex]
  1198. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  1199. Now we are back to where the skill animation does not shows, but you DO
  1200. get SP T.T' [Skotlex]
  1201. * Some cleanups and corrections in battle.c to account for negative
  1202. (absorbed) damage. [Skotlex]
  1203. * Fixed fame-list updating crashing char-sql server when the given char-id
  1204. just got into ranking. [Skotlex]
  1205. * Added missing Arunafeltz maps with information from NLZ [Evera]
  1206. 2006/06/18
  1207. * [Fixed]:
  1208. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  1209. filling the SkillStatusChangeTableArray with junk data.
  1210. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  1211. - Typo in parse_frommap. [Lance]
  1212. * [Fixed]:
  1213. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  1214. * [Temperory Fixed]:
  1215. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  1216. * [Removed]:
  1217. - Large part of scripted mob control commands are removed.
  1218. - Large part of scripted player control commands are removed.
  1219. - Scripted mob slaves changing master ID.
  1220. [Added]:
  1221. - Unit control commands.
  1222. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  1223. - Macro RECURSIVE_MASTER_CHECK in battle.c
  1224. [Modified]:
  1225. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  1226. and buildin_unitskillusepos.
  1227. - md->callback_flag to short (double word). [Lance]
  1228. 2006/06/17
  1229. * Devotion absorbed damage will now appear to come from oneself (instead of
  1230. the original attacker changing directions towards the Crusader) [Skotlex]
  1231. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  1232. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  1233. someone logs out <.< [Skotlex]
  1234. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  1235. * [Added]:
  1236. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  1237. [Improved]:
  1238. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  1239. - mob_script_callback to return sucess value [Lance]
  1240. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  1241. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  1242. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  1243. 2006/06/16
  1244. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  1245. lost) [Skotlex]
  1246. * Corrected @speed to alter your base speed instead of battle one. Means
  1247. the change remains for much longer (until status_calc_pc is invoked, which
  1248. could be due to equipping/unequipping stuff) [Skotlex]
  1249. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  1250. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  1251. damage be reduced by half. This bonus stack, so two cards with
  1252. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  1253. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  1254. specifies the threshold before the bNoMagicDamage starts blocking support
  1255. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  1256. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  1257. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  1258. * Removed db_tables.sql as it's no longer used. [Skotlex]
  1259. * the mvp_sd is removed when the mob is the emperium and there's no
  1260. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  1261. event from triggering and giving the castle to whoever damaged the most the
  1262. emperium without destroying it. [Skotlex]
  1263. * [Added]:
  1264. - Custom slave mobs to inherit the callback_flag.
  1265. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  1266. * [Improved]:
  1267. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  1268. 2006/06/15
  1269. * [Fixed]:
  1270. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  1271. [Lance]
  1272. * Added indexes for loginlog and ipbanlist as they did not have any.
  1273. (note, someone already put the index on loginlog on trunk.) [Euph]
  1274. * Merged Adam's patch to let the char-server handle validation of
  1275. pet-name-change requests through the allowed char letters config. [Skotlex]
  1276. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  1277. gear already equipped. [Skotlex]
  1278. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  1279. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  1280. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  1281. options. [Skotlex]
  1282. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  1283. * Corrected chrif_save so that the player is not set offline on map-change.
  1284. [Skotlex]
  1285. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  1286. [Skotlex]
  1287. * Fixed clif_parse_RemoveOption removing all options instead of just
  1288. Falcon/Cart/Peco [Skotlex]
  1289. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  1290. source is not on the map yet. [Skotlex]
  1291. * Fixed and cleaned up script command 'equip' [Skotlex]
  1292. * Fixed 'autoequip' items. [Skotlex]
  1293. * Fixed Aspd not being updated in your status window after Agi/Dex
  1294. increasing statuses take effect. [Skotlex]
  1295. 2006/06/14
  1296. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  1297. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  1298. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  1299. vit; resist += (max - resist)*luk/300; [Skotlex]
  1300. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  1301. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  1302. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  1303. array to fill in. [blackhole89]
  1304. * Blocked again skill usage during marionette. [Skotlex]
  1305. * Fixed main.sql adding a key on char_id rather than account_id for the
  1306. char table. [Skotlex]
  1307. * Cleaned up character saving in char-sql, it no longer needs to query the
  1308. database to see if the player exists on each char-save, instead it checks
  1309. the received data against the online-players db. No such fix is required
  1310. for char-txt. [Skotlex]
  1311. * Added an error message on the char-server when the received player data
  1312. size does not matches with the expected size (should avoid the crash that
  1313. happens on such a memcpy). [Skotlex]
  1314. * [Improved]:
  1315. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  1316. queries. [Lance]
  1317. 2006/06/13
  1318. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  1319. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  1320. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  1321. * Marionette and Devotion will now check raw distance and ignore obstacles
  1322. and the like. [Skotlex]
  1323. * Added irc_channel_pass setting and prevent crashing when irc server
  1324. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  1325. * [Fixed]:
  1326. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  1327. [Lance]
  1328. * Added support for reading correctly status change data from Guild and
  1329. Homun skills. [Skotlex]
  1330. * Added support for reading Homun skill data (which means the HM skills are
  1331. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  1332. * Oppositions can't be made during WoE now. [Skotlex]
  1333. * Fixed a few compiler warnings from VC [Skotlex]
  1334. * Commented out the Homunculus Skills<->Status Change link which was
  1335. causing some memory corruptions. [Skotlex]
  1336. 2006/06/12
  1337. * [Fixed]:
  1338. - buildin_npcshopitem not allocating extra 1 block of terminator.
  1339. [Added]:
  1340. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  1341. [Lance]
  1342. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  1343. to the player's buffer. [Skotlex]
  1344. * Updated @noask to also tell the user what he has just rejected (added
  1345. msg_athena entries for each of the different requests). Also updated it to
  1346. use clif_disp_onlyself. [Skotlex]
  1347. * Fixed a pair of missing initializers in the clif storage functions.
  1348. [Skotlex]
  1349. * @heal no longer displays a healing animation. Fixes the client believing
  1350. you couldn't be healed more than 32K. [Skotlex]
  1351. * Now you can use any skills (except encore/dancing ones) while under
  1352. Longing for Freeding. [Skotlex]
  1353. * Now you can use any skills while under Marionette Control. [Skotlex]
  1354. * Fixed npc_checknear's distance check returning the opposite of what it
  1355. should (false when the range is correct and viceversa) [Skotlex]
  1356. * Added a warning on item loading when an item is of equippable type but
  1357. has no equippable position. [Skotlex]
  1358. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  1359. * Slaves can summon other mobs now. The only ones who can't do this are
  1360. player summoned mobs. [Skotlex]
  1361. * Merged the following functions for faster processing of items: [Skotlex]
  1362. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  1363. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  1364. clif_itemlist + clif_equiplist = clif_inventorylist
  1365. Note that the changes are a bit substantial and need proper testing!
  1366. * Increased max knockback value support to 25. [Skotlex]
  1367. * [Optimized]:
  1368. - buildin_npcshopitem memory allocation to calculate before reallocating.
  1369. [Lance]
  1370. * Made guild member exp an unsigned int. [Skotlex]
  1371. * Various cleanups to the npc clicking related functions. Should fix quite
  1372. some possible crashes from crafted packets. [Skotlex]
  1373. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  1374. * Added missing update of INT after a buf. [Skotlex]
  1375. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  1376. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  1377. of on the party members. [Skotlex]
  1378. * Modified clif_parse_NpcClicked to handle the different situations with
  1379. different bl-objects (attack on players/mobs, click on npcs or mobs with
  1380. npc attached) [Skotlex]
  1381. 2006/06/09
  1382. * [Fixed]
  1383. - Compilation warnings on guild.c and int_guild.c [Lance]
  1384. * Added structure party_data and party_member_data to the map server to
  1385. hold party-specific required information about parties including
  1386. Monk/TK/SG/SN states and party member count. Family information is still
  1387. missing, and handling of the state should probably be done by the
  1388. char-server, too... [Skotlex]
  1389. * party Hp updates are no longer done each time the Hp is modified, but
  1390. together with the party xy timer. It means HP-bars will be a bit delayed
  1391. before being updated, but packet consumption should be much less during
  1392. heated battles. [Skotlex]
  1393. * Fixed MoM's typo [Vicious]
  1394. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  1395. * [Improved]:
  1396. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  1397. [Lance]
  1398. * [Fixed]:
  1399. - Execution of sleep/sleep2 more than once will hang the script_state.
  1400. [Lance]
  1401. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  1402. back to your last savepoint. [Skotlex]
  1403. * Moved guild_exp_rate from a mapserver battle config setting to a char
  1404. server config. It no longer modifies the total taxed exp as seen on the
  1405. guild information window, but directly modifies the exp that the guild
  1406. earns. [Skotlex]
  1407. * Added an error report and correction when the map server receives a guild
  1408. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  1409. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  1410. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  1411. 2006/06/08
  1412. * Modified guild exp to be an unsigned int rather than a signed one.
  1413. [Skotlex]
  1414. * Fixed @skilltree printing out Unknown job for most targets used.
  1415. [Skotlex]
  1416. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  1417. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  1418. characters. [Skotlex]
  1419. * Modified map_freeblock_unlock so that aFree errors will report the
  1420. file/line that INVOKED the function rather than the function itself.
  1421. [Skotlex]
  1422. NOTE: Do NOT disable the memory manager as that will break this change.
  1423. This change is to be temporarily set until the afree'd error can be
  1424. resolved.
  1425. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  1426. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  1427. [Skotlex]
  1428. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  1429. to hold the speed adjustment value rather than speed penalty (eg: 125
  1430. instead of 25). [Skotlex]
  1431. * Cleaned up status_calc_speed so that speed penalties are correctly
  1432. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  1433. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  1434. 2006/06/07
  1435. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  1436. * Fixed item-skills not showing up on login. [Skotlex]
  1437. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  1438. only on first-login and which ones are required on all map-changes.
  1439. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  1440. sent on map-change (items, cart data and zeny still need to be sent one
  1441. very map-change). [Skotlex]
  1442. * Fixed the mob state not being set to Berserk/Angry correctly after the
  1443. mob reaches the target's location. [Skotlex]
  1444. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  1445. warped between maps when stepping on a npc-warp. [Skotlex]
  1446. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  1447. npc-warp when their current target has switched maps. [Skotlex]
  1448. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  1449. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  1450. * pc_gain_exp now also receives the source of the exp, when said source
  1451. exists, bonuses are applicated as needed. [Skotlex]
  1452. * Added status_kill when capturing a mob, should take care of the mob not
  1453. respawning after caputed. [Skotlex]
  1454. * Fixed item info not displaying the found item id [Skotlex]
  1455. * Fixed item info not displaying the weight value properly. [Skotlex]
  1456. * Adjusted status resistances and durations taking as base Viccious's info
  1457. from the kro guidebook. [Skotlex]
  1458. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  1459. should display the skill animation correctly now. [Skotlex]
  1460. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  1461. [Skotlex]
  1462. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  1463. * Removed char_nick2id from char-sql server as it's no longer needed.
  1464. [Skotlex]
  1465. * Fixed quitting the map server not properly saving the storage before
  1466. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  1467. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  1468. function. [Skotlex]
  1469. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  1470. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  1471. has a 300% base chance reduced by mdef and the like as explained out by
  1472. Tharis. [Skotlex]
  1473. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  1474. target's int. [Skotlex]
  1475. * [Improved]:
  1476. - mob_dead not to remove script controlled monsters with player sprites.
  1477. [Added]:
  1478. - buildin_mobdeadsit :D [Lance]
  1479. * [Fixed]:
  1480. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  1481. mob_damage. Thanks to seahorsix. [Lance]
  1482. * [Fixed]:
  1483. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  1484. * [Optimized]:
  1485. - list and size not being initialized (size get intialized in default: switch case)
  1486. Eliminated default case and initialized list and size at the beginning. [Lance]
  1487. 2006/06/06
  1488. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  1489. to the mobs level up setting. [Skotlex]
  1490. * Removed a piece of code that should no longer be needed due to the
  1491. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  1492. self-skills from being used on others (pets/mobs should be allowed to do
  1493. that) [Skotlex]
  1494. * Added a status_check_skilluse call in Sightblaster to prevent it from
  1495. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  1496. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  1497. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  1498. * The monsters can level up setting will not take effect when the mob's
  1499. level is LESS than their db counter-part (should prevent under-leveling
  1500. causing underflows and semi-immortal mobs) [Skotlex]
  1501. * Fixed mvp-exp calculations being messed up with more than one attacker.
  1502. [Skotlex]
  1503. * Changed the mob exp race bonus so that each player gets their own bonus,
  1504. rather than the killer's bonus applying to everyone. Still not the
  1505. "correct" way, but one step closer to it. [Skotlex]
  1506. * [Fixed]:
  1507. - Allocation of event_list in guild_npc_request_info to aCalloc so
  1508. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  1509. 2006/06/05
  1510. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  1511. * Hopefully fixed changing a mob's class causing them to get all sort of
  1512. stat bonuses due to the mobs-level-up setting. [Skotlex]
  1513. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  1514. to signed char to correctly account for cards with penalties in said stats.
  1515. [Skotlex]
  1516. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  1517. * Added clif_fixpos packets before attacking for the first time to clear
  1518. any position sync issues with the client. [Skotlex]
  1519. * Fixed skill_unitsetting using layout->count for the for instead of
  1520. group->count [Skotlex]
  1521. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  1522. increase dex/agi by 40% per level. [Skotlex]
  1523. * Fixed char-sql server not deleting character variables when deleting a
  1524. char. [Skotlex]
  1525. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  1526. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  1527. overflows/underflows. [Skotlex]
  1528. 2006/06/03
  1529. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  1530. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  1531. you relogged. Thanks to Euph for the fix.
  1532. * Added variable other_mapserver_count to chrif.c which holds total count
  1533. of connected map-servers. By using this we prevent sending unnecessary
  1534. packets to the char-server when there's no more map-servers connected.
  1535. [Skotlex]
  1536. - Affected packets are whispers, announces, party messages, guild messages.
  1537. 2006/06/02
  1538. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  1539. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  1540. target is near obstacles. [Skotlex]
  1541. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  1542. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  1543. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  1544. fails. Fixes cases where the client gets "stuck" and refuses to let you
  1545. pick any items. [Skotlex]
  1546. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  1547. to 1 tile to make it act more like in the official servers.
  1548. * Some cleaning of the mob slave ai. [Skotlex]
  1549. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  1550. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  1551. skill levels above 10 (meant for boss casted skills) [Skotlex]
  1552. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  1553. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  1554. [Skotlex]
  1555. * [Fixed]
  1556. - Yet another compilation warning. [Lance]
  1557. 2006/06/01
  1558. * Altered status_calc_pc so that equipment scripts are ran before
  1559. card-scripts. [Skotlex]
  1560. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  1561. [Skotlex]
  1562. - These two together, should fix Tao Gunka Card.
  1563. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  1564. [Skotlex]
  1565. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  1566. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  1567. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  1568. without removing it when the skill level is greater than one. [Skotlex]
  1569. * Added SC_DANCING declaration in the Status Change tables to signal it
  1570. modifies Walk speed. [Skotlex]
  1571. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  1572. (eg: poison, berserk) [Skotlex]
  1573. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  1574. affected by Quagmire/Forget-me-not. [Skotlex]
  1575. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  1576. [Skotlex]
  1577. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  1578. cart. [Skotlex]
  1579. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  1580. * Fixed Autoblitz taking into account target's luck rather than attacker's
  1581. [Skotlex]
  1582. * Fixed slaves warping endlessly to their master when the master-slave
  1583. distance exceeds 30. [Skotlex]
  1584. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  1585. [Skotlex]
  1586. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  1587. incorrect range variable. [Skotlex]
  1588. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  1589. 2006/05/31
  1590. * Fixed Soul Drain not really giving you SP [Skotlex]
  1591. * [Fixed]:
  1592. - Suppressed compilation warning in chrif.c [Lance]
  1593. * [Fixed]:
  1594. - Guys can't go across map-servers :( [Lance]
  1595. * [Fixed]:
  1596. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  1597. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  1598. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  1599. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  1600. delay. [Skotlex]
  1601. * Made the char_name_option char_athena.conf setting apply to parties and
  1602. guilds as well. It cannot be applied to pets yet without adding a
  1603. change-name-request interserver packet. [Skotlex]
  1604. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  1605. [Skotlex]
  1606. * Added function char_read_fame_list for famelist reading. Invoked it on
  1607. init, and made it be sent automatically to connecting map servers.
  1608. [Skotlex]
  1609. * Some cleaning of the fame-list reading code. [Skotlex]
  1610. * Some cleaning of the fame-update code, fixed a logic bug which made the
  1611. ranking list fail to display the correct ranker names. [Skotlex]
  1612. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  1613. [Skotlex]
  1614. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  1615. status_calc_bl. [Skotlex]
  1616. * [Fixed]:
  1617. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  1618. * [Improved]:
  1619. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  1620. * [Fixed]:
  1621. - nullpo in pet.c caused by equipping without checking if the pet is available.
  1622. [Lance]
  1623. * [Fixed]:
  1624. - Latest client support completed! [Lance]
  1625. * [Fixed]:
  1626. - Missing #include for cbasetypes.h in login server SQL.
  1627. - Logic errors in run_script [Lance]
  1628. * [Added]:
  1629. - Partial support for latest login packet. But it seems to have a new security
  1630. module. [Lance]
  1631. 2006/05/30
  1632. * [Improved]:
  1633. - Fake NPC interface to use real NPCs.
  1634. - Scripting interface to restore and save sd->npc_id. [Lance]
  1635. * Added function pc_check_skilltree for checking if you unlocked new
  1636. tree-skills when raising non-passive skills. [Skotlex]
  1637. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  1638. the base status. [Skotlex]
  1639. * [Fixed]:
  1640. - Compatibility problems in login.c [Lance]
  1641. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  1642. * [Added]:
  1643. - Mercenary.c in VS.NET 2005 project files
  1644. [Improved]:
  1645. - loginlog using unsigned long `ip` field.
  1646. (Please check for compatibility problems). [Lance]
  1647. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  1648. bonuses (like effect-on-hit) to stack. [Skotlex]
  1649. * slaves inherit speed setting will now work regardless of whether the
  1650. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  1651. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  1652. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  1653. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  1654. attacks. [Skotlex]
  1655. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  1656. * Fixed the pcbonus2 warnings using the wrong value before printing the
  1657. invalid Element error. [Skotlex]
  1658. * Fixed underflow issues when calculating dmotion. [Skotlex]
  1659. * Fixed Absorb Spirit Spheres [Skotlex]
  1660. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  1661. specifies in ms what is the min delay between player sent chats
  1662. (whisper/global/party/guild). Messages that exceed this threshold are
  1663. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  1664. player?) [Skotlex]
  1665. * [Fixed]:
  1666. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  1667. * Rewrote/cleaned up @petfriendly. [Skotlex]
  1668. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  1669. * Updated attr_fix_table reading code to account for ELE_MAX (will
  1670. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  1671. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  1672. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  1673. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  1674. * Added error messages in pc_bonus* functions when an invalid element is
  1675. passed to the relevant bonuses. [Skotlex]
  1676. * [Optimized]:
  1677. - clif_specialeffect to use the enums.
  1678. [Improved]:
  1679. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  1680. definition. [Lance]
  1681. * [Added]:
  1682. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  1683. * Removed the on-die specific code from unit_remove_map and placed it on
  1684. the corresponding *_dead functions. unit_remove_map should never assume the
  1685. char died, it is just a "remove from map" function. [Skotlex]
  1686. * Updated status_damage to handle the general death code (clearing status
  1687. changes, clearing skill related data, sending death packet, etc). The
  1688. return value from the *_dead functions will tell it what to do or not with
  1689. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  1690. * Cleaned up pc_dead to take advantage of the fact that status changes are
  1691. not ended until after the function. [Skotlex]
  1692. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  1693. [Skotlex]
  1694. * Updated/adapted current Homun code to use the status_data update.
  1695. [Skotlex]
  1696. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  1697. * [Fixed]:
  1698. - Pets attacking even master is dead. [Lance]
  1699. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  1700. (negative values should be allowed when attack is absorbed by target's
  1701. element) [Skotlex]
  1702. 2006/05/29
  1703. * [Fixed]:
  1704. - Missing ';' in item #4358 [Lance]
  1705. * [Fixed]:
  1706. - Missing maps in map index database. [Lance]
  1707. * [Fixed]:
  1708. - Battle mechanics in battle_check_target [Lance]
  1709. * [Fixed]:
  1710. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  1711. [Lance]
  1712. * Cleaned up friend list saving and fixed loading of friends.txt file
  1713. (char-txt) [Skotlex]
  1714. * Added the Arunafeltz maps, not tested yet [Playtester]
  1715. - someone with an up-to-date client should test them
  1716. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  1717. [Skotlex]
  1718. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  1719. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  1720. instead of BL_PC and BL_MOB [Skotlex]
  1721. * [Fixed]:
  1722. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  1723. * Removed Undead being inmune to poison status. [Skotlex]
  1724. * Removed speed penalty from SC_SKA [Skotlex]
  1725. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  1726. * SC_DODGE won't be dispelled on death now. [Skotlex]
  1727. * [Fixed]:
  1728. - pc_follow_timer possible triggering crash.
  1729. - pc_reg_received to use battle_status.hp instead of status.hp
  1730. [Added]:
  1731. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  1732. * Added a division by zero check in mob_dead to prevent the (impossible)
  1733. case where a mob dies with received damage of zero. [Skotlex]
  1734. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  1735. Non-Players. This usually signals Self skills, and mobs/pets should be able
  1736. to use them in other characters. [Skotlex]
  1737. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  1738. * Fixed draining when the amount drained is negative (invoke zap rather
  1739. than heal) [Skotlex]
  1740. * Implemented GS_FLING as per the current skill description. [Skotlex]
  1741. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  1742. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  1743. * Added some missing SC_* entries on the initial listing (potion related
  1744. and speed up ones) [Skotlex]
  1745. * Fixed function declaration of map_getcellp() [Skotlex]
  1746. * [Fixed]:
  1747. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  1748. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  1749. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  1750. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  1751. * [Optimized]:
  1752. - Removed unused variable (account_id) in storage_guild_storagesaved.
  1753. * [Optimized]:
  1754. - Removed unused checks for unsigned data type and possible logic error for
  1755. char type (gcc treats char as unsigned). [Lance]
  1756. * [Fixed]:
  1757. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  1758. 2006/05/28
  1759. * Added functions status_revive, pc_revive and mob_revive to handle revival
  1760. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  1761. [Skotlex]
  1762. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  1763. Bladestop causing an unknown status change message). [Skotlex]
  1764. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  1765. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  1766. * [Fixed]:
  1767. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  1768. * [Protected]:
  1769. - clif_parse_LGMmessage from possible hacks [Lance]
  1770. * Fixed unable to store n items into storage unless n was the total amount
  1771. of items you had. [Skotlex]
  1772. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  1773. 2006/05/27
  1774. * Added structure status_data which holds status-related information (str,
  1775. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  1776. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  1777. to be used by all combat structures (TODO: Homun needs to be updated to use
  1778. it). This in change involves a LOT of changes throughout the code and many
  1779. optimizations were done as well. Partial list (see svn changelog for complete
  1780. changes): [Skotlex]
  1781. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  1782. skills I changed the most, but it is possible there are unnoticed bugs
  1783. remaining to fix!
  1784. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  1785. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  1786. - Added status functions to deal with damage and healing (status_damage,
  1787. status_heal, status_percent_change) and a bunch of defines for easier
  1788. handling of them (status_percent_heal, status_percent_damage,
  1789. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  1790. THIS, pc_damage/mob_damage most no longer be directly invoked!
  1791. - Rewrote and cleaned up battle_calc_misc_attack
  1792. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  1793. pet_attack_attr_none into attack_attr_none (type 4)
  1794. - Removed config options player_defense_type, monster_defense_type,
  1795. pet_defense_type in favor of weapon_defense_type
  1796. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  1797. - Modified Slim Pitcher so it will work when casted by non-players. Will
  1798. now also work with SP-healing items.
  1799. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  1800. switch adelay/speed when cast begins/ends.
  1801. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  1802. easier updating when used in conjunction with ground skills.
  1803. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  1804. - Added status_calc_bl which does status-change related calculations using
  1805. as base the base_status of the bl object and the SCB_* flag passed. This is
  1806. invoked on status changes, and status_calc_pc will no longer be invoked
  1807. (which results on much faster status-change calculations).
  1808. - pc_clean_skilltree will now also remove item-granted skills.
  1809. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  1810. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  1811. packets and functions ONCE regardless of skill-levls earned.
  1812. - Cleaned up pc_ regen related functions.
  1813. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  1814. - Clones will copy a player's base status rather than battle status (so
  1815. status-change alterations are not cloned)
  1816. 2006/05/26
  1817. * Part B of the homunculus code. [blackhole89]
  1818. While most of the homunculus handling functions are in now, it still lacks
  1819. code required for players to create it.
  1820. Given I haven't screwed up, you could master yourself one through the DB though.
  1821. * Fixed crashing in mob.c [Lance]
  1822. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  1823. * Mob control engine tested 99% working so far. [Lance]
  1824. * Change scripting engine's NPC scope vars to dot (.) style.
  1825. * Improved and (should be fully) fixed the mob control engine. [Lance]
  1826. * Fixed typos in char.c [Lance]
  1827. * Rewrote fame rank lists system to reduce char-server load, as requested by
  1828. Skotlex: now it has a copy of those lists, and updates only the proper one
  1829. when needed instead of rebuilding all from saves everytime (which required
  1830. to always save the character before rebuilding the lists) [DracoRPG]
  1831. - Note it hasn't been compiled nor tested with SQL, please do it for me
  1832. 2006/05/25
  1833. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  1834. int-based damage component (which is added right before elemental
  1835. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  1836. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  1837. Fixed atcommand @request MSG numbers accordinly.
  1838. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  1839. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  1840. * Increased capacity for Account Variables to 64 [Skotlex]
  1841. * Reverted Intravision implementation to that of stable's. [Skotlex]
  1842. * Corrected Login Server taking it's first argument as both login config
  1843. and lan config. [Skotlex]
  1844. * Fixed mob control commands.
  1845. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  1846. 2006/05/24
  1847. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  1848. * Item sharing now shares the same rules as exp sharing (no sharing when
  1849. dead, or idle, etc) [Skotlex]
  1850. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  1851. aren't supposed to be able to call minions) [Skotlex]
  1852. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  1853. skill was successful. May fix the client-position lag. [Skotlex]
  1854. * Merged item_db.sql from stable (the one from stable was more recent than
  1855. the one of trunk...) [Skotlex]
  1856. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  1857. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  1858. ban request packet. [Skotlex]
  1859. 2006/05/23
  1860. * Corrected mob angry mode, now it only "restores" itself after being hit
  1861. when the mob has no target within their range of sight rather than on
  1862. picking a new target. [Skotlex]
  1863. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  1864. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  1865. * the charname request hack message has been downgraded to only include
  1866. GM-invisible characters. [Skotlex]
  1867. * corrected clif_charnameack to send negative ID when a disguised player
  1868. asks for it's own disguised name. [Skotlex]
  1869. * Cleaned up the disguised target-id checks taking into considering that
  1870. the only character that sees a negative ID is the same disguised character.
  1871. [Skotlex]
  1872. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  1873. defense), Investigate and Icepick will now use the final def/vit-def values
  1874. rather than the base ones. [Skotlex]
  1875. * The move-enable condition checks for skills are now checked for only when
  1876. on skill use, not at cast-end time. [Skotlex]
  1877. * Corrected clif parse name request failing on disguised characters [Skotlex]
  1878. * Corrected Soul Drain draining from all non-ground-based skills including
  1879. non-magic attacks. [Skotlex]
  1880. * Corrected pc_setoption to change the option and then change class.
  1881. changing option-wedding will automatically convert the view-class as well.
  1882. [Skotlex]
  1883. * Corrected the 15% drop rate increase when killing higher level mobs in
  1884. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  1885. Vayu. [Skotlex]
  1886. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  1887. db each time o_o [Lance]
  1888. * Fixed sleep command. [Lance]
  1889. * Added 'setd' support for local NPC scope (') variables. [Lance]
  1890. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  1891. 2006/05/22
  1892. * Updated skill_delayfix to return 0 for mobs since they have no skill
  1893. delay other than the one specified in mob_skill_db [Skotlex]
  1894. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  1895. Vayu for pointing it out. [Skotlex]
  1896. * status_get_sc_tick will now use directly Stun's formula rather than
  1897. invoking the status sc chance once. [Skotlex]
  1898. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  1899. * Modified Investigate to take into consideration final def/vit-def rather
  1900. than base values for damage adjustment. [Skotlex]
  1901. * WARNING: New scripting system contains memory leak
  1902. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  1903. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  1904. * Fixed compilation errors.
  1905. Tidy up jobmaster for easy debugging. [Lance]
  1906. 2006/05/21
  1907. * Part A of the Homunculus code.
  1908. This only features the structures, status_* and clif_* (packets) and is
  1909. not functional yet in any conventional way, but doesn't interfere
  1910. with present functionality either.
  1911. Main purpose is helping me to keep my work organized. [blackhole89]
  1912. * Fixed the "fake" mute status bug. [Zido]
  1913. * Speed up array size calculation and deletion. [Lance]
  1914. * Player must learn the skill before doing auto-spell [Lance]
  1915. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  1916. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  1917. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  1918. 2006/05/20
  1919. * grfio_final moved back if any of GRF overriding is enabled so servers
  1920. with such configuration will not have different values after reloading. [Lance]
  1921. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  1922. * Abit of alterations to login-server. [Lance]
  1923. 2006/05/19
  1924. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  1925. * Small change in pc_additem that could be fixing the current bug with new
  1926. items not getting added. [Skotlex]
  1927. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  1928. * Likely fixed the mob-skill random picking behaviour causing infinite
  1929. loops sometimes. [Skotlex]
  1930. * Modified mobskill_use behaviour to pick a random starting point and check
  1931. skills from that, rather than always checking from first to last. Fixes
  1932. skills with high priority blocking skills lower down in the list from
  1933. triggering. [Skotlex]
  1934. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  1935. current target cannot be reached for melee fighting. [Skotlex]
  1936. 2006/05/18
  1937. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  1938. [Skotlex]
  1939. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  1940. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  1941. * Optimized pc_additem comparisons to account for items with more than four
  1942. slots. [Skotlex]
  1943. * Updated clif.c to enable retrieval of items from cart/storage while
  1944. trading. Exception is retrieving items from the cart while vending.
  1945. [Skotlex]
  1946. - The reasoning is that an ongoing trade will not get "corrupted" if you
  1947. earn items before it is commited (only if you lose items from your
  1948. inventory), and it is an annoyance when you realize the stuff you want to
  1949. trade is on the cart/storage.
  1950. * skill reiteration code now does not checks for the trigger-area of the
  1951. skill in the case of non-players, which means mobs can now place traps in
  1952. cells adjacent to each other. [Skotlex]
  1953. * Applied an experimental weather code that should lower bandwidth usage to
  1954. near-none, which's only disadvantage should be the weather not clearing out
  1955. until moving to another map (even when the mapflag is removed from the
  1956. current map). Please test and report if there's any anomalies with it.
  1957. [Skotlex]
  1958. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  1959. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  1960. * MO_BODYRELOCATION will send the slide packet with the actual src's
  1961. coordinates rather than selected tile. [Skotlex]
  1962. 2006/05/17
  1963. * Modified mob_can_changetarget to return true always when the new target
  1964. is the provoked-by character. Fixes provoke not making the mob change
  1965. target when it already is locked on another player. [Skotlex]
  1966. * Added check to clear previous skill when combo time ends. Should fix TK
  1967. Rankers being unable to initiate a combo with the same kick their previous
  1968. combo was finished with. [Skotlex]
  1969. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  1970. 2006/05/16
  1971. * Modified "hide woe damage" to send the number of hits rather than 1 as
  1972. damage Because when the damage is less than the number of hits, the client
  1973. will display MISS. [Skotlex]
  1974. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  1975. [Skotlex]
  1976. * Blood Drain always hits now. [Skotlex]
  1977. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  1978. delay useless) [Skotlex]
  1979. * Search free cell will now skip picking the center-tile as target
  1980. location. Will prevent slaves from walking on top of their master, or mobs
  1981. placing stuff right under themselves with the "around" target conditions
  1982. among other things. [Skotlex]
  1983. 2006/05/15
  1984. * Small changes to the skill.conf
  1985. - Monsters now can place ground skills on top of each other by default
  1986. - Land_Skill_Limit format changed and set to "Only Players" by default
  1987. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  1988. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  1989. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  1990. skill level is above 10. [Skotlex]
  1991. * Sorted out the item_data structure, getiteminfo should work correctly
  1992. now. [Skotlex]
  1993. * KA* skills can now be casted on other Soul Linkers as well without the
  1994. Spirit requirement. [Skotlex]
  1995. * Soul Drain will now show the SP drained regardless of drain display
  1996. settings. [Skotlex]
  1997. * SC_COMBO state will now end in skill_attack rather than
  1998. skill_check_condition (as it is required there to apply damage bonuses
  1999. based on combo-casted skills) [Skotlex]
  2000. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  2001. [Skotlex]
  2002. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  2003. servers. [Skotlex]
  2004. * When removing a castle's owning guild, the char servers will erase the
  2005. guardian data now. [Skotlex]
  2006. * Changed the behaviour of immobile mobs when they can't chase their
  2007. target. Rather than using a longrange skill and then unlocking, they will
  2008. use an attack/angry state skill and then unlock. [Skotlex]
  2009. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  2010. * Fixed clif_GlobalMessage being the exact same function as clif_message
  2011. (the first should send to ALL_CLIENT and the later should send to
  2012. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  2013. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  2014. * Characters in vending are now always considered "idle" if the
  2015. idle_no_share setting is active. [Skotlex]
  2016. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  2017. * Remaining fixes for item scripts. [Lance]
  2018. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  2019. 2006/05/12
  2020. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  2021. * Bugfix on fake npc [Lance]
  2022. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  2023. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  2024. the target is a nonplayer (rather than always) [Skotlex]
  2025. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  2026. player" while 0,0 are random around the whole map (regardless of whether
  2027. there's a player attached or not) [Skotlex]
  2028. * Knockback will no longer work on traps during woe. [Skotlex]
  2029. 2006/05/11
  2030. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  2031. [Skotlex]
  2032. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  2033. of 40% per level. [Skotlex]
  2034. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  2035. [Skotlex]
  2036. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  2037. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  2038. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  2039. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  2040. [Skotlex]
  2041. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  2042. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  2043. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  2044. Tanaous [Skotlex]
  2045. * Added back the missing code that substracts arrows when normal-attacking.
  2046. [Skotlex]
  2047. 2006/05/10
  2048. * Changed the state of Asura back to explosionspirits, added a hardcoded
  2049. move_enable check when invoking Asura and NOT while in BladeStop or a
  2050. Combo. [Skotlex]
  2051. * Added back SC_XMAS to status.c, it got lost sometime during all the
  2052. previous reworkings. [Skotlex]
  2053. * Changed wedding costumes to use setoption rather than changebase.
  2054. [Skotlex]
  2055. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  2056. removes it. [Skotlex]
  2057. * Updated script_commands with the new behaviour. [Skotlex]
  2058. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  2059. than 15. [Skotlex]
  2060. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  2061. 2006/05/09
  2062. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  2063. [Skotlex]
  2064. * Added @request commands, sends a request to all connected GMs of
  2065. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  2066. users (UNTESTED). [Skotlex]
  2067. * Modified @commands to use Meruru's code which is faster and does a fair
  2068. attempt at tabulating the commands presented. [Skotlex]
  2069. * Updated SKA to return a random value between 0 and 99 each time
  2070. status_get_def is invoked. [Skotlex]
  2071. * Updated Making Arrow to not include unidentified items in the list.
  2072. [Skotlex]
  2073. * Reduced drop slots from 15 to 10. [Skotlex]
  2074. * Updated mob_db.sql with the current data. [Skotlex]
  2075. * Updated setoption script command to receive a second (optional) argument
  2076. flag. If the flag is 1, the option is added to what the player currently
  2077. has; likewise using flag 2 removes only that option. No flag (or any other
  2078. value) is the older behaviour of removing all other options and setting
  2079. specificly what is passed. [Skotlex]
  2080. * Updated script_commands information for setoption due to this change.
  2081. [Skotlex]
  2082. * Small fix in npc-created chat rooms to properly include the terminating 0
  2083. on the chat's event. [Skotlex]
  2084. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  2085. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  2086. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  2087. move and the attacker is out of it's attack range. [Skotlex]
  2088. * Added missing icon for Joint Beat [Skotlex]
  2089. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  2090. * Treasure chests will now be excluded from the mob-drop listings
  2091. (@whodrops) [Skotlex]
  2092. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  2093. for the same skill. [Skotlex]
  2094. * Updated main.sql's loginlog table structure. [Skotlex]
  2095. * Added svn_update6533.sql to update the loginlog structure as suggested by
  2096. theultramage. [Skotlex]
  2097. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  2098. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  2099. when crafted for non-players. [Skotlex]
  2100. * Script commands sc_start, sc_start2 and sc_start4 will now start
  2101. regardless of sc defense of the target player (that is, they cannot be
  2102. avoided/blocked) [Skotlex]
  2103. * Fixed a possible counter overflow in attacked_count, changed the var size
  2104. to unsigned char since the code can handle the overflow now. [Skotlex]
  2105. * Multiple targets again reduces armor defense, as reported by Tharis.
  2106. [Skotlex]
  2107. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  2108. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  2109. 2006/05/08
  2110. * Reverted the change that was making ES skills stun the caster always.
  2111. [Skotlex]
  2112. * Removed the fixpos packet which is sent whenever you are hit while moving
  2113. as Aegis doesn't sends this packet neither. [Skotlex]
  2114. * ES magic will now put the caster on stun for 0.5 secs regardless of
  2115. whether the skill-target is a mob or not. [Skotlex]
  2116. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  2117. party-member joins. This packet (as redundant info as it has) should also
  2118. contain the field for "adoptability", but that needs to be coded in yet.
  2119. [Skotlex]
  2120. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  2121. checks and the reply packets still need to be coded in. [Skotlex]
  2122. * Happy State and TK stances won't dispel on death now. [Skotlex]
  2123. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  2124. skill_check_condition now. [Skotlex]
  2125. * Modified TK-ranker infinite combos to behave as described by AuronX.
  2126. Refer to his thread in the development section for details. [Skotlex]
  2127. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  2128. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  2129. (guessed, but better than 100% for all levels) [Skotlex]
  2130. * Changed max level of NPC status effect skills to 5 [Skotlex]
  2131. * Increased max number of tries to find a random spot in maps to 1000 since
  2132. some maps have so many non-walkable tiles it's hard to find one in just 100
  2133. tries. [Skotlex]
  2134. * status_set_viewdata will remove the Wedding Option status when you set a
  2135. class that is not wedding. [Skotlex]
  2136. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  2137. * idletime will now be updated on attack-request, not on sit/standup
  2138. [Skotlex]
  2139. * Party members sitting will no longer be considered idle. [Skotlex]
  2140. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  2141. with the disguise/undisguise script commands instead). [Skotlex]
  2142. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  2143. the other skill that can show critical as well) [Skotlex]
  2144. * Corrected some fields in the standing still packet (guild emblem being
  2145. stored as a Long when it should be Short) [Skotlex]
  2146. * Modified most fields of view_data to be unsigned shorts rather than
  2147. signed ones. [Skotlex]
  2148. * On-Touch NPCs will now make you stop walking when you trigger them.
  2149. [Skotlex]
  2150. * ShadowJump/JumpKick will make you land on the target's cell now.
  2151. [Skotlex]
  2152. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  2153. 2006/05/07
  2154. * Fixed readme/changelog.html [KillerBox]
  2155. * Removed old logs. [Lupus]
  2156. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  2157. 2006/05/05
  2158. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  2159. before sending one (as it's not required to send twice).
  2160. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  2161. players and still continues execution to work). [Lance]
  2162. * Updated item_db.sql to current. [Skotlex]
  2163. * Fixed a bug in @commands, most likely the reason some people were still
  2164. getting crashes. [Skotlex]
  2165. * Fixed @commands not showing the last available commands (unless the total
  2166. amount of commands is divisible by ten) [Skotlex]
  2167. * Added a npc-script-event cache to avoid looking up event-scripts every
  2168. time they need to be executed. Events cached are all those defined in
  2169. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  2170. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  2171. the related NPCs or you'll get dangling pointer crashes. However,
  2172. @reloadscript will work fine.
  2173. - Set the etc_log to on to see a summary of npcs/events loaded for script
  2174. execution on startup.
  2175. * The Rest bonus activated by using /doridori while in rest should now
  2176. trigger with all the class tree (TK/SL/SG) [Skotlex]
  2177. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  2178. player rather than the one attacking... [Skotlex]
  2179. * /doridori now won't double the HP/SP regen of TKs, it only activates
  2180. their "happy" state. [Skotlex]
  2181. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  2182. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  2183. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  2184. (even if there's no other TK around). [Skotlex]
  2185. * Added battle config settings view_range_rate and chase_range_rate to
  2186. adjust the view-range and chase-range (range2/range3) of the mob_db without
  2187. having to manually change them (battle/monster.conf) [Skotlex]
  2188. * Kaupe now will only block all skills of players, for non-players, only
  2189. normal attacks can be missed. [Skotlex]
  2190. * Moved the Kaite spell-reflect code after the damage calculation function,
  2191. so the reflected damage is exactly the damage the original target would
  2192. have received. Will only trigger if the damage to be reflected is above 0.
  2193. [Skotlex]
  2194. * OnEquip scripts will now trigger on log-on. [Skotlex]
  2195. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  2196. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  2197. start/end infinite endure. [Skotlex]
  2198. * Fixed Kaahi's SP cost per heal. [Skotlex]
  2199. * Now when walkdelay is set to 0, characters will stop walking when hit,
  2200. but will not have any walk delay. (previously setting walk delay to 0 would
  2201. not even stop characters from walking when hit) [Skotlex]
  2202. 2006/05/04
  2203. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  2204. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  2205. * Some clean-ups in the mob_ai [Skotlex]
  2206. * Improved atcommand autoloot, now displays droprate in percents and notices
  2207. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  2208. commited by erKURITA
  2209. * Added one grace range in the mob_loot search function which should fix
  2210. mob_can_reach failing when invoked with the same distance that distance_bl
  2211. returned. [Skotlex]
  2212. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  2213. * Eska is now usable on bosses. [Skotlex]
  2214. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  2215. * clif_skill_failed will print out a debug line with the skill_id (since
  2216. the current null_po does not helps at all to fix it) [Skotlex]
  2217. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  2218. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  2219. damage accumulates in the time2 interval (500ms by default) after being
  2220. hit. [Skotlex]
  2221. * Changed skill_unit_move_unit_group to enable moving of all types of
  2222. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  2223. 2006/05/03
  2224. * Kaahi now triggers every 500ms rather than on every hit (but it only
  2225. heals if in those 500ms an attack that would previously trigger Kaahi has
  2226. taken effect). In other words, it works just like before, except damage
  2227. gets "buffered" into 500ms slots. [Skotlex]
  2228. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  2229. * Knowledge will now only trigger if you logon to the memorized map, not
  2230. walk into it. [Skotlex]
  2231. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  2232. [Skotlex]
  2233. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  2234. and not fix the pet issue, but I doubt it'll cause any problems that won't
  2235. be fixed by making the pet move. [Skotlex]
  2236. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  2237. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  2238. 2006/05/02
  2239. * Fixed standing up not really standing you up. [Skotlex]
  2240. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  2241. skill_castend_nodamage_id and skill_castend_pos2 rather than
  2242. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  2243. state is active and a ground skill was not invoked. It should fix all
  2244. issues with splash/ground skills consuming ammo per target rather than once
  2245. per skill use. [Skotlex]
  2246. * Added structure state to the ground skills, their fields are magic_power,
  2247. into_abyss and ammo_consume to indicate the states that were previously
  2248. stored in val3. [Skotlex]
  2249. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  2250. not showing up though, I'll need some logged packets to see what's missing.
  2251. [Skotlex]
  2252. * Removed the unit_can_move checks in skill cast-end, they should be
  2253. performed in skill_check_require when the skill's state is move_enabled.
  2254. [Skotlex]
  2255. * Changed extremity fist's state to move_enabled, the explosion spirits
  2256. check is now hardcoded. [Skotlex]
  2257. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  2258. Haplo. [Skotlex]
  2259. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  2260. impossible to steal unless you have at least 100% steal-rate (where steal
  2261. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  2262. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  2263. shops, interacting with npcs, etc. [Skotlex]
  2264. * Kaite now works against all types of spells. [Skotlex]
  2265. * Kaupe now works against all skills. [Skotlex]
  2266. * Sanctuary now won't damage non-enemies. [Skotlex]
  2267. * Blessing now will always give you bonus stats even if you are wearing
  2268. undead armor. [Skotlex]
  2269. * Modified how Rogue's treasure works so that you get +1% to your steal
  2270. rate rather than +0.01% to the final rate. [Skotlex]
  2271. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  2272. officials (implementation is not quite the same, but it should yield the
  2273. same effects while consuming less bandwidth). "Stacking", as it's called,
  2274. is possible now, but limited to eA's minimum timer skill interval (100ms).
  2275. [Skotlex]
  2276. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  2277. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  2278. behaves). [Skotlex]
  2279. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  2280. * SC_FUSION won't end when you die now. [Skotlex]
  2281. 2006/05/01
  2282. * Added knockback when you run into a wall during running. However
  2283. position is not being refreshed on the client yet... [Skotlex]
  2284. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  2285. * Corrected a crash when sd is null in npc_event [Skotlex]
  2286. * After testing to make sure it works properly, I'm including
  2287. new battle conf options to limit MVP drops. [Reddozen]
  2288. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  2289. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  2290. since it has a visual effect to use. [Skotlex]
  2291. * Corrected the value of OPTION_FLYING [Skotlex]
  2292. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  2293. * status_setviewdata will set your option accordingly when the previous/new
  2294. view-class is wedding or xmas suit. [Skotlex]
  2295. * Added function map_foreachinshootrange, behaves the same way as
  2296. map_foreachinrange, but it also performs a "shoot-path" check before
  2297. invoking the function. Used in the skill subtimer function if
  2298. skill_wall_check is defined. [Skotlex]
  2299. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  2300. all memo points used up. [Skotlex]
  2301. * Fixed alive_count not being reset on skill unitsetting, which leads to
  2302. some groups not being cleared once all their units expire. [Skotlex]
  2303. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  2304. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  2305. * SKA no longer blocks skills. [Skotlex]
  2306. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]