Changelog-Trunk.txt 188 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310
  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/10/20
  5. * Added config setting "summon_flora_setting", which it you can decide now
  6. two things: a. Whether or not players can harm your floras outside versus
  7. grounds, and b. Whether or not you can summon out and mix different types
  8. of plants at the same time. [Skotlex]
  9. * Likely fixed pc_steal_item always failing to steal (it was attempting to
  10. steal random item IDs...) [Skotlex]
  11. * Cleaned up a bit the mob on-death event so that when the killer is a
  12. homunculus, it's master will be taken. Also, the variable killerrid will be
  13. set before running the script to specify who delivered the final blow. If
  14. the killerrid matches with the script attached player, you can be sure your
  15. player did the final blow to the mob, otherwise, the attached player is who
  16. did the most damage to the mob. [Skotlex]
  17. 2006/10/19
  18. * Cleaned up the log.c file. [Skotlex]
  19. * Fixed log_chat not recording anything if the server is compiled in SQL
  20. mode and sql_logs is turned off (it should then record to a plain txt file)
  21. [Skotlex]
  22. * Fixed SG_FRIEND, it should be triggering when Monks do Combo Finish (not
  23. triple blows), and the trigger rate increase should be based on your known
  24. level of SG_FRIEND, not TK_COUNTER. [Skotlex]
  25. * Phantasmic arrow now knockbacks even if it misses. [Skotlex]
  26. * Adjusted the way Monk combo times work. The combo time is now always
  27. 300ms (adjusted by combo_delay_rate) which takes effect inmediately AFTER
  28. your current skill's canact-delay (which is why the particular skill delays
  29. were moved to skillcast_db) [Skotlex]
  30. * Modified skill_delayfix so it performs the can-act reduction from agi/dex
  31. for combos there. [Skotlex]
  32. * Modified pc_steal_item so that it behaves more closely to the way it does
  33. on Aegis. [Skotlex]
  34. 2006/10/18
  35. * Added a overflow check when calculating party exp share. [Skotlex]
  36. 2006/10/16
  37. * Adjusted UTSUSEMI/BUNSINJYUTSU so that they block range/melee weapon
  38. attacks and only melee misc attacks. This isn't 100% correct, but it's a
  39. better approximation to the way these skills behave. [Skotlex]
  40. * Emergency call &16 (disable skill from nowarpto maps) will now NOT block
  41. Emergency Call if that map is also a gvg-castle map. Makes it safe to turn
  42. on this option to prevent usage from special maps (like Lhz3) without
  43. crippling the skill during WoE. [Skotlex]
  44. * Applied most of Mpeg's work on Ninja Skills. For information see:
  45. http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt [Skotlex]
  46. * When reinvoking a combo-time, the previous combo time will be terminated.
  47. This could fix the ongoing difficulties pulling off Monk combos. [Skotlex]
  48. * Fixed Esma-state not ending after casting it. [Skotlex]
  49. * Fixed @hominfo displaying intimacy on a 1/10k scale. [Skotlex]
  50. 2006/10/14
  51. * Homun info window to show crit value. As default, homun does NOT crit,
  52. as monsters do not crit. This is purely for display purpose for players
  53. to identify their homon's luk value. [Vicious]
  54. 2006/10/13
  55. * Base attack for non players is now calculated as str + [str/10]^2 (it
  56. does not has +dex/5+luk/5 which players do have) [Skotlex]
  57. * Fixed the char-sql server trying to read the gms off a "gm_db" config
  58. setting stead of "login_db" [Skotlex]
  59. * Corrected Throw Arrow/Musical Strike's damage formula [Skotlex]
  60. * Altered Trick Dead. It doesn't prevents skills from being casted on you
  61. now, but damage-based skills will do no damage. [Skotlex]
  62. * Made the battle_config.attack_attr_none apply to pets when using the
  63. "fixed damage" pet skill scripts. [Skotlex]
  64. 2006/10/12
  65. * made @killmonster make the mobs drop items again. [Skotlex]
  66. * Added a temporary message when Angel of the Sun, Moon and Stars trigger
  67. so you know it triggered. [Skotlex]
  68. * When slaves_inherit_speed is set (which is also the default), homun will
  69. have the same speed of their master when spawned. [Skotlex]
  70. * When using Hatred and you already have a hate target, your current hate
  71. target is displayed now. [Skotlex]
  72. 2006/10/11
  73. * Cleaned up the char-server code when the last point of a player is not
  74. found. First it'll check if there's any mapserver online, and then, if
  75. there is, it'll look for the major cities. If this fails, then the player
  76. will be told server is closed instead of trying to send him to a "random
  77. map". Will fix the char-server printing the misleading message "map
  78. server not found, sending to major city" when in reality there just
  79. aren't any map servers connected. [Skotlex]
  80. * Corrected the mob damagelog structure so that you can't exploit it by
  81. switching characters. [Skotlex]
  82. 2006/10/09
  83. * Fixed crash when char-server sends to a "random" map-server online on
  84. connect. Thanks to TheUltraMage for pointing it out. [Skotlex]
  85. * Should have fixed being petrified not reducing your defense and
  86. increaseing your mdef. [Skotlex]
  87. * Fixed SC_NOCHAT printing the "skills are now available" message twice on
  88. natural expiration. [Skotlex]
  89. 2006/10/08
  90. * Updated sql files [Playtester]
  91. 2006/10/06
  92. * Updated Land Protector to block absolutely every land-based skills with
  93. the exception of Encores/Dances. [Skotlex]
  94. * Disabling status abnormalities will now reset a mob's target. [Skotlex]
  95. * Mob morphing also resets their target now. [Skotlex]
  96. * Monk combos no longer can ignore skill delay (delay skill for all their
  97. combo-related skills is ASPD) [Skotlex]
  98. * Now you can trade while in a chatroom. [Skotlex]
  99. * Fixed homun-txt reading when the file has DOS line-type delimiters (\r\n)
  100. [Skotlex]
  101. 2006/10/05
  102. * skill_blown will now trigger on-touch npcs on the landing tile. [Skotlex]
  103. * Max trade distance has been reduced from 5 to 2. [Skotlex]
  104. * Undisguising will now resend the cart-contents. [Skotlex]
  105. * Added function npc_unload_duplicates(), it unloads all npcs that are a
  106. duplicate of the passed one. For use with @unloadnpc to prevent crashes
  107. when you unload the npc that has duplicates. [Skotlex]
  108. 2006/10/04
  109. * Bowling bash now always hits twice regardless of situation. [Skotlex]
  110. * Added an underflow check to prevent sending to the client negative mdef2
  111. value (for Frenzy'ed characters) [Skotlex]
  112. * Modified pc_jobchange so that it automatically removes
  113. peco/falcon/cart/homun if the new job you are changing to does not possess
  114. the required skill for them. [Skotlex]
  115. 2006/10/03
  116. * Fixed a possible crash with @reloadmobdb due to pet loot timers.
  117. [Skotlex]
  118. * Fixed a possible crash and a memory leak on the login-SQL server when
  119. parsing unban requests. [Skotlex]
  120. * Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of
  121. skills is reduced now (when enabled) by AGI instead of DEX, which makes a
  122. lot more sense than DEX. [Skotlex]
  123. 2006/10/02
  124. * Modified item-granded status resistance reduction to behave as explained
  125. by Vicious (Ragnarok Monthly magazine) [Skotlex]
  126. * Added the opt3 values to Eske [Skotlex]
  127. * Fixed the txt->sql converter only saving the very first character
  128. permanent variable. [Skotlex]
  129. * Fixed the txt->sql converter saving account-wide variables as
  130. character-wide ones. [Skotlex]
  131. * Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn
  132. on/off both noexppenalty and nozenypenalty now. [Skotlex]
  133. 2006/10/01
  134. * Removed the speed adjustment per level of Increase/Decrease Agility
  135. [Skotlex]
  136. * Fixed humunculi skill exploit, thanks to mr.rkit [Lupus]
  137. 2006/09/30
  138. * Rewrote the txt->sql converter. It now links directly to the char server
  139. files so that it should get auto-updated with any code changes in the
  140. later. [Skotlex]
  141. * The converter will now also convert: account-wide variables, parties,
  142. guilds, guild storage and guild castles. At this point the only two things
  143. not converted are login-server-wide account variables (##, they belong to
  144. the login converter) and homunculus (the SQL save function is messy and
  145. doesn't lends itself to be integrated with the converter the way all the
  146. other functions are). [Skotlex]
  147. * misceffect2 will no longer cause the effect on top of the source object
  148. when it is the fake npc. [Skotlex]
  149. * Added check so that Frost Nova doesn't hides hitting animation on
  150. targets. [Skotlex]
  151. * Added the missing brackets around the trade logs condition check, thanks
  152. to Coltaro. [Skotlex]
  153. 2006/09/29
  154. * Spurt state will now trigger on Soul Linkers as well. [Skotlex]
  155. * Added a check un unit_run when unit_walktoxy fails. Should fix running
  156. getting you stuck sometimes when running on diagonals near obstacles.
  157. [Skotlex]
  158. 2006/09/28
  159. * Merged the necessary changes to make the script engine support negative
  160. constants (db/const.txt). Thanks to Rayce (from jA) for the code. [Skotlex]
  161. * Cleaned up the skill.c code to take into account when skill_unitsetting
  162. returns null (skill failed), fixes a possible crash with Wand of Hermode
  163. [Skotlex]
  164. 2006/09/27
  165. * Cleaned up status_get_party/guild_id, it should also fix a possible crash
  166. when invoking such a functio on a masterless pet. [Skotlex]
  167. * Sharp-Shooting will now display a skill animation. [Skotlex]
  168. * The no_spawn_on_player setting will now also work for static mobs, but
  169. only if the setting is set to 100 or higher. [Skotlex]
  170. 2006/09/26
  171. * Yet again messed with the packet sent during a splash attack, but this
  172. time taking into account the packets that eA was using some many revisions
  173. ago. Tests are needed to see if Magnum Break/Grimtooth don't spam the skill
  174. animation anymore, and to see if GrandCross didn't break it's animation as
  175. well. [Skotlex]
  176. * Added function skill_dance_switch which handles converting overlapping
  177. song/dances to dissonance/ugly dance. It should make the overlapping area
  178. now behave completely like the mentioned song/dances (taking into account
  179. interval and target type changes). [Skotlex]
  180. * Updated battle_check_target so that non-offensive skills cannot be used
  181. on a homun except for the homun and it's master. [Skotlex]
  182. * Steal zeny won't work on treasure chests now. [Skotlex]
  183. 2006/09/25
  184. * Added an ugly check so that Heal will display 0 when healing a berserked
  185. character (and it will again display full heal amount when healing a player
  186. who's at full life) [Skotlex]
  187. * Disabled again client-self-muting since it's causing too much trouble.
  188. [Skotlex]
  189. * Merged FlavioJS's script patch which should fix stuff like "mes ();"
  190. causing crashes. [Skotlex]
  191. * Item group reading will now complain when a line doesn't has enough
  192. fields. [Skotlex]
  193. * Fixed #baselevelup adding instead of substracting status points when used
  194. with negative levels. Also made it reset your stats if there wasn't enough
  195. to substract from. [Skotlex]
  196. * Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the
  197. direction. This had the side effect of fixing the direction missing from
  198. the mob spawn packet, which explains why all npcs face north when you are
  199. within sight while doing a @reloadscript. [Skotlex]
  200. * Changed the order of packets in TK_HIGHJUMP, may fix the reports of
  201. getting stuck when jumping into a warp. [Skotlex]
  202. * Changed a bit the code of marionette control, where a redefined local
  203. variable may be the cause of mob-targetted Marionette Control stacking
  204. stats up. [Skotlex]
  205. 2006/09/24
  206. * When the code auto-guesses that a skill should require ammo, it will
  207. accept any type of ammo for using it instead of only arrows. Fixes Magnum
  208. Break usage on Gunslingers. [Skotlex]
  209. 2006/09/22
  210. * Probably fixed a signed/unsigned mismatch warning on the new socket code.
  211. [Skotlex]
  212. * Fixed the "map server claims to have char online, but this other map
  213. server also has it tagged as online" message triggering in some cases where
  214. it shouldn't. [Skotlex]
  215. * Fixed some maps in db/mapindex.txt being under the wrong id and added comments
  216. so this will not happen again. [Zephiris]
  217. --- ATTENTION! ---
  218. People running TXT servers will have to tell their players to redo their /memo
  219. points since the map ids of the old file were wrong.
  220. 2006/09/21
  221. * Fixed a bug on "select" when skipping empty entries when the selected
  222. entry is the last. [Skotlex]
  223. * Improved a bit RFIFOFLUSH as suggested by Harbin. [Skotlex]
  224. 2006/09/20
  225. * A mob's HP is set temporarily to 0 before invoking it's on-death script,
  226. prevents said scripts being able to "rekill" the mob indefinitely (if stuff
  227. like killmonster is used within) [Skotlex]
  228. * Some small cleanups in chat.c [Skotlex]
  229. * Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting
  230. was disabled. [Skotlex]
  231. * Enabled Star Gladiators and Soul Linkers to do /doridori [Skotlex]
  232. 2006/09/19
  233. * Fixed nocommand mapflag causing the "you can't use commands on this map"
  234. message to trigger one very single chat, instead of only for actual @/#
  235. command invocation. [Skotlex]
  236. * Added support for skipping empty string menu entries for the select()
  237. command (just as `menu` has it already) [Skotlex]
  238. * Fixed pc_set_hate_mob letting you place mobs on any of the three
  239. positions regardless of size [Skotlex]
  240. * The double continuation error will now display both scripts that
  241. triggered it. [Skotlex]
  242. * Loading the storage from the char-server will fail if player is already
  243. tagged in final save state. [Skotlex]
  244. * Removed setting ban_spoof_namer, sending invalid global-talk packets will
  245. now just kick the player out of the server. [Skotlex]
  246. * Added echoing messages back to self when using @/# commands on whispers
  247. and party/guild messages, to prevent the client from muting yourself.
  248. [Skotlex]
  249. * Fixed some gcc4 warnings [Toms]
  250. 2006/09/18
  251. * Fixed Spider Web fire damage bonus. [Skotlex]
  252. * Made Global chat always reply back to you even on @/# commands, this
  253. prevents the client from muting yourself due to "hack". However, this same
  254. fix isn't easily applicable to @ commands invoked from whispers or
  255. party/guild messages, those are still pending. [Skotlex]
  256. * Merged Meruru's update to socket.c, which includes a rewritten parse
  257. function, which should hopefully be more efficient than the previous code.
  258. [Skotlex]
  259. * The new code includes support for two config settings
  260. (packet_athena.txt): frame_size, which can be used to alter the logic
  261. packet-size allowed by the code, and mode_neg, which when set to yes, sets
  262. TCP_NODELAY on all connections (defaults to yes). [Skotlex]
  263. * High-Jump is usable everywhere now, except that on maps where it
  264. previously failed, now will just make you jump in place. [Skotlex]
  265. * Fixed TK_RUN as per packets provided by AuronX. [Skotlex]
  266. * Moved the equipment/card resistances to status ailments outside of
  267. status_get_sc_def, so that they are applied only to rate, not duration.
  268. [Skotlex]
  269. * Modified the Asura code (again), hopefully movement sprite issues are
  270. fixed now [Skotlex]
  271. * @reloadscript scripts will no longer eliminate mobs with no respawn data.
  272. But watch out for possible bugs (I think someone mentioned 1 extra
  273. treasure box will spawn when you use it? This needs testing!) [Skotlex]
  274. * Made speed_add_rate a linearly stacking increase. [Skotlex]
  275. * Corrected a possible overflow when using show_mob_info to display the
  276. mob's up as a percent. [Skotlex]
  277. * Corrected the documentation for checkoption/checkoption1/checkoption2
  278. [Skotlex]
  279. * Reenabled client requesting to self mute, as the whole knockback packet
  280. issues of the past which were causing players to mute themselves when being
  281. knockback is no longer there. [Skotlex]
  282. 2006/09/17
  283. * Fixed NPC_INVISIBLE's cloak ending after attacking once. [Skotlex]
  284. * Fixed SG_FUSION being castable without Soul Link state. [Skotlex]
  285. * Moved the item-use restriction SC checks from clif.c to pc_use_item,
  286. fixed Gravitation blocking potion usage on it's area of effect. [Skotlex]
  287. * Sphere Marines and Summoned Flora are now inmune to class-changing.
  288. [Skotlex]
  289. 2006/09/16
  290. * Added monster_ai&256. When set, a monster will pick a random starting
  291. position to begin checking versus it's skills, otherwise, it will always
  292. begin checking from the beginning. [Skotlex]
  293. * Fixed the status change duration reduction equation was was totally
  294. wrong, thanks to k3dt [Skotlex]
  295. 2006/09/15
  296. * Now mobs won't do a distance check to lose their target on every ai
  297. iteration, but only when they finish walking (unless you set monster_ai&1)
  298. [Skotlex]
  299. * The chase distance before a mob gives up following a player has been
  300. increased from view-size (range2) to min-chase (range3). [Skotlex]
  301. * Reverted the Summon Flora change where all plants were being summoned in
  302. one go. [Skotlex]
  303. * Moved the weapon repair effect to where it belongs (after successfully
  304. repairing an item) [Skotlex]
  305. * Added config setting "friend_auto_add" (battle/player.conf), if set, when
  306. you accept someone as your friend, both characters will show up on each
  307. other's friend list. [Skotlex]
  308. 2006/09/14
  309. * Changed Extremity Fist's code to make you actually walk past your target,
  310. which displays a much more correct "animation" for the skill. Thanks to
  311. HiddenDragon for the information and code. [Skotlex]
  312. * Updated the item_db search functions so that when returning the
  313. dummy-item, it first updates the nameid to match the requested one, this
  314. prevents pc_additem later on giving you an item with ID 500 instead of the
  315. ID requested. [Skotlex]
  316. * Added a clif_skill_nodamage packet when using Repair Weapon, just to see
  317. what happens. [Skotlex]
  318. * Likely fixed "half" of the alliance being saved, which ends up in guilds
  319. that can attack another, but not viceversa. [Skotlex]
  320. * Added deleting of saved Status changes on character delete for the
  321. Char-TXT server. [Skotlex]
  322. * Fixed the can-act delay never being checked when requesting to use
  323. Homunculus Skills. [Skotlex]
  324. * Fixed warmth skills draining SP of the target, not the caster. [Skotlex]
  325. * When TK_DODGE triggers, it will no longer delay your attack or movement.
  326. [Skotlex]
  327. * Estimation /Sense/ whatever will no longer hide the vit bonus to mdef2,
  328. as reported by Playtester. [Skotlex]
  329. * Updated Summon Flora to summon the max number of possible plants on one
  330. cast. It will consume as many bottles as monsters summoned. Also cleaned up
  331. the function to be usable by non players. [Skotlex]
  332. * Shadow Jump no longer goes over walls. [Skotlex]
  333. * battle_calc_gvg_damage will be invoked in gvg maps regardless of woe
  334. time. [Skotlex]
  335. * NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis.
  336. [Skotlex]
  337. * md->class_ will be changed on mob-class-change to fix all class-change
  338. related bugs. On respawn, the spawn data will be used to revert to the
  339. original class. [Skotlex]
  340. * Improved the pet skillbonus timer for "eternal bonuses" cases where the
  341. bonus delay is 0. [Skotlex]
  342. 2006/09/13
  343. * SC_CHANGE cannot override itself anymore. This fixes being able to
  344. "recast" the skill while it's still active to lengthen the duration AND
  345. reheal the target. [Skotlex]
  346. * Changed a bit the dnsbl lookup in the login servers to make it faster.
  347. [Skotlex]
  348. * Moved the pc rate modifiers from items
  349. (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from
  350. status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and
  351. also fixes Osiris card not applying to said bonuses. [Skotlex]
  352. * Fixed pc_damage_delay_rate not working, thanks to Orn. [Skotlex]
  353. * Modified the nocommand mapflag so you can specify the GM range that is
  354. blocked from using commands (eg: "prontera.gat mapflag nocommand 40"
  355. disables commands to characters in the GM range 0~39) [Skotlex]
  356. * Modified the char-server TXT whisper system to use the online_db to know
  357. to which map server forward whispers, instead of just sending the whisper
  358. to every map server. [Skotlex]
  359. * Readded the setting TCP_NODELAY on socket.c to see if it fixes the
  360. walk-lag issue. [Skotlex]
  361. 2006/09/12
  362. * Modified the login SQL server so that case insensitive lookups use "where
  363. name = BINARY 'name'" instead of "where BINARY name = 'name'", since this
  364. way the name index should be used, and performance will no longer be
  365. heavily affected. [Skotlex]
  366. * Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on
  367. the tables memo/friends, and online/name on the char table. Added
  368. upgrade_svn8728.sql to add these indexes to already existing tables.
  369. [Skotlex]
  370. * Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible
  371. with Mysql 4 installations. [Skotlex]
  372. * Moved the morph restrictions from skill_additional_effect to
  373. mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or
  374. treasure boxes. [Skotlex]
  375. * Fixed 'range' might be used uninitialized warning [Toms]
  376. * Added Jaguar's sql script to convert all tables to MyISAM. It's located
  377. in sql-files/convert_engine.sql WARNING: Using MyISAM is much faster than
  378. InnoDB, but you are strongly recommended to backup your database before
  379. switching engines since we don't know if eA is fully coded to work
  380. correctly with MyISAM yet. [Skotlex]
  381. * Added manual deletion of sc_data entries when deleting a character
  382. (char-SQL) [Skotlex]
  383. * Updated main.sql to use pure MyISAM tables, removed all foreign keys.
  384. [Skotlex]
  385. * Updated battle_switch to use strncmpi instead of strcmpi, it makes it so
  386. using "yessir" will match "yes", this is actually needed because if you set
  387. a config setting to "yes " (notice the trailing space), then the map config
  388. engine fails to read it right, and will set the config setting to 0 (no).
  389. [Skotlex]
  390. * Some corrections to hate_mob cleanup when triggering the Angel stuff. [Skotlex]
  391. * Updated the show_mob_info setting to add another space to the separating
  392. pipes, so that each field is separated by " | " instead of " |". [Skotlex]
  393. * Homunculus intimacy will go back to 500 on evolution. [Skotlex]
  394. * Baphomet splash damage will now hit nearby enemies regardless of flee
  395. (but the initial attack still has to connect for the splash to trigger)
  396. [Skotlex]
  397. 2006/09/11
  398. * Modified set_nonblocking and setsocketoptions in socket.c, using eApp's
  399. code as reference. Hopefully should improve performance somewhat. [Skotlex]
  400. * Added a comment explaining what a comment is to login/char/map config
  401. files, as well as the main script config file. [Skotlex]
  402. * Modified SG_FEEL so that it works the same way that in Aegis
  403. (packet-wise) [Skotlex]
  404. * Added a comment to explain how to "remove" a string variable from the
  405. msg_athena entries. [Skotlex]
  406. * Summoned and slave mobs won't show up on @showmobs anymore. [Skotlex]
  407. * Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix,
  408. so that damage will be doubled based on the actual attack element.
  409. [Skotlex]
  410. * Adjusted autospell cards to trigger only on physical weapon attacks.
  411. [Skotlex]
  412. * Adjusted a bit the heal code, it should now show either the full heal
  413. amount, or 0, depending on whether the target was healed at all or not
  414. (this also means it shows 0 if you try to heal a full-life character.. but
  415. it's the closest I've gotten to make it display 0 on Berserked chars)
  416. [Skotlex]
  417. * Memorize will be consumed even on instant cast spells now. [Skotlex]
  418. * Berserk will end now if hit and remaining hp is less or equal to 100.
  419. [Skotlex]
  420. * Guild Aura will be removed on sc-load to prevent Guild Masters from
  421. getting that bonus from the old implementation. [Skotlex]
  422. * Added D-Kalck's fix of the TXT -> SQL converter [Playtester]
  423. 2006/09/10
  424. * Thanks to KarLaeda, added missing function in @showmobs [Lupus]
  425. - Script function 'query_sql': In the TXT version it doesn't fill the array
  426. and always return -1. Added for scripts compatibility. Your scripts
  427. won't crash in TXT version. They can work it around.
  428. I suggest we need a function getversion()
  429. * Updated item_db.sql and mob_db.sql [Playtester]
  430. 2006/09/09
  431. * Added a crash protection in case mapfreeblock unlock tries to free a null
  432. pointer. [Skotlex]
  433. * Moved perfect_hiding from state to special_state, so that it clears out
  434. when you remove your pet. [Skotlex]
  435. * Probably fixed the Taekwon Rest skills. [Skotlex]
  436. * Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy:
  437. X entries missing, continuing destruction. Manager for entries of size
  438. 16.") [Skotlex]
  439. 2006/09/08
  440. * Unified the rest and ganster paradise code into a single function.
  441. [Skotlex]
  442. * Moved the Happy State trigger to the regen function, it now triggers at
  443. the same time SPTIME does. [Skotlex]
  444. * Cleaned up SG_HATE, hope it works now. [Skotlex]
  445. * Removed sg_miracle_skill_duration, replaced it with
  446. sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify
  447. a range for the duration of the skill. [Skotlex]
  448. * Added upgrade_svn8675.sql in case, for some reason, your guild table
  449. still has the emblem_data field as a 'blob' with "NOT NULL" specified.
  450. [Skotlex]
  451. * Fixed alliance/opposition making not cancelling out map-server-side when
  452. the guild already had max number of alliances/oppositions (thanks to k3dt)
  453. [Skotlex]
  454. 2006/09/07
  455. * Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg:
  456. wand of hermod) [Skotlex]
  457. * Cleaned up the doridori parse clif function. [Skotlex]
  458. * Merged some of mpeg's work on NJ skills [Skotlex]
  459. * Removed the Warmth "stacking" code. [Skotlex]
  460. * Added back the effect of /doridori to skill-SP regen [Skotlex]
  461. * Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low
  462. chance of triggering on doridori-boosted SP-regen events. However, it has
  463. no client-side messages yet (need to add these in) [Skotlex]
  464. * Added sg_angel_skill_ratio to specify rate at which the Angel skill
  465. triggers. [Skotlex]
  466. * Added unit_cancel_combo which takes care of ending a combo time and
  467. resuming normal attack 'inmediately' [Skotlex]
  468. * Cleaned up some the SG_HATE code, you can't change hate targets anymore.
  469. [Skotlex]
  470. 2006/09/06
  471. * Fixed the memset in status_calc_pc, corrects some mysterious bugs such as
  472. item-drop bonuses suddenly not working anymore. [Skotlex]
  473. * Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
  474. [Skotlex]
  475. * Fixed Aex Aeterna ending on Soul Breaker's first half. [Skotlex]
  476. * Applied Orn's modification on speed increases/reductions with increase/
  477. decrease agi [Toms]
  478. 2006/09/05
  479. * Removed setting mob_show_hp, it's been replaced now by mob_show_info,
  480. which can be used to specify what kind of info should be displayed from a
  481. mob. Current options are two different formats for Hp display, and current
  482. level (monster.conf). [Skotlex]
  483. * Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%
  484. [Skotlex]
  485. * Applied the Ultra Mage's suggestion to have the map server strip trailing
  486. spaces/comments from the config files. It will also now print out when an
  487. unknown config setting is found. [Skotlex]
  488. * Fixed status change resistance not being invoked at all for pretty much
  489. all cases. [Skotlex]
  490. * Corrected SC_INTRAVISION not starting. [Skotlex]
  491. * Fixed crash when attempting to read a Label as a string on a script
  492. (thanks to End of Exam) [Skotlex]
  493. * Fixed possible crash when changing a chat-room's owner (thanks to End of
  494. Exam) [Skotlex]
  495. * Fixed dispell removing SC_NOCHAT [Skotlex]
  496. * Small fix which should correct skill_attack damaging hidden characters
  497. when it shouldn't. [Skotlex]
  498. * Fixed connect_until field being a smallint rather than int in the login
  499. table (upgrade with upgrade_svn8630.sql) [Skotlex]
  500. 2006/09/04
  501. * Fixed crash when using Adaptation during an Encore. [Skotlex]
  502. * Should have fixed manner being reset to 0 on logout while muted.
  503. [Skotlex]
  504. * Removed status_get_sc_tick, duration and chance are now both handled by
  505. status_get_sc_def (this means status change duration and success rate
  506. both will always follow the very same formula) [Skotlex]
  507. * Fixed mob-kill experience getting screwed up when characters who did
  508. damage die/logout at the moment the mob dies. [Skotlex]
  509. * Should have fixed "sleep", thanks to Lance for figuring out the error.
  510. [Skotlex]
  511. * SC_REFLECTSHIELD will now be passed to devoted characters at cast-time.
  512. [Skotlex]
  513. * Added a check to make a mob's level 1 if the read level from the db is
  514. less than it. [Skotlex]
  515. * status_calc_misc will now be invoked in status_calc_bl even on the first
  516. call, since status could have gone up due to skill bonuses. [Skotlex]
  517. * Moved max HP/SP calculations to before invoking status_calc_misc
  518. [Skotlex]
  519. * Simplified distance and check_distance to use "aegis" methods (greater of
  520. dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when
  521. set, the previous method is used, and "for each in range" calls will also
  522. check for distances, making most ground skills and battle system use real
  523. circles instead of squares. [Skotlex]
  524. 2006/09/03
  525. * Fixed SC_BERSERK's no regen penalty lasting pretty much forever.
  526. [Skotlex]
  527. 2006/09/02
  528. * SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather
  529. than blocking all types of regen. [Skotlex]
  530. * LK_BERSERK will now only block natural regen on state-end. [Skotlex]
  531. * SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural
  532. sp regen and not skill regen [Skotlex]
  533. * SC_REGENERATION blocking will be cancelled on logout now. [Skotlex]
  534. * Corrected SCB_LUK not updating SCB_BATK as well. [Skotlex]
  535. 2006/09/01
  536. * Corrected script_commands description of getequipid, it returns -1, not 0
  537. on fail. [Skotlex]
  538. * Fixed the mob-id check during pet_db loading, it will also now print when
  539. a pet is not loaded due to having an invalid mob class specified. [Skotlex]
  540. * The "delete_timer error/no such timer" report will now print the related function [Toms]
  541. * The Clearing unused stack report will now print the related NPC [Toms]
  542. * The duplicate npc report will now print the related file name [Toms]
  543. * Added config setting "partial_name_scan", which specifies whether @ given
  544. names should use a partial string lookup or absolute name lookup. Defaults
  545. to no (gm.conf) [Skotlex]
  546. * Expanded status_calc_misc so it may also calculate the batk of characters
  547. as well as their regen data (if they have it) [Skotlex]
  548. * Fixed a memory leak when using charsave_method:1 [Skotlex]
  549. * Soul Breaker will now be affected by Lex Aeterna on both parts of the
  550. attack. [Skotlex]
  551. * Status changes with no skill and no SCB* data will now go through if they
  552. have an SI* icon. This should fix SC_MIRACLE [Skotlex]
  553. * Reverted switching a mob's adelay/amotion when the later is longer than
  554. the former, now both get updated to amotion. [Skotlex]
  555. 2006/08/31
  556. * Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to
  557. skill_counter_additional_effect [Skotlex]
  558. * Simplified skillnotok_hom by using an invocation to skillnotok [Skotlex]
  559. * Hopefully fixed BD_ADAPTATION [Skotlex]
  560. * Homun won't lose any intimacy on death now. [Skotlex]
  561. * Homun will be saved together with the master now (as long as the homun is
  562. active) [Skotlex]
  563. * Modified the error reporting in map_freeblock_unlock so that when there's
  564. an error, the reported line number is the file's linenumber plus the
  565. object's type *10000. This is for debug information to help track down the
  566. already-freed error. [Skotlex]
  567. * pc_adopt will now preserve the kid's job/job-level/experience. This means
  568. that if you adopt a Swordman level 45, it will become a baby-swordman level
  569. 45, with the exact same exp as before. [Skotlex]
  570. * Fixed new mob's name not sent to the client when the mob is morphed [Toms]
  571. * Added setting attack_walk_delay which specifies whether a character
  572. should (or not) be able to move inmediately after starting a normal attack
  573. (battle.conf). Defaults to 0 since that's what Aegis uses. [Skotlex]
  574. * Fixed @summon's delete timer being screwed up. [Skotlex]
  575. * Cleaned up a bit the summon script command. [Skotlex]
  576. * Fixed the clone script command's delete-timer being screwed up. [Skotlex]
  577. 2006/08/30
  578. * Skill required-state will now only be checked on cast-begin, not
  579. cast-end. [Skotlex]
  580. * Added a check in status_calc_pc to prevent player rate adjustments from
  581. from going below 0. [Skotlex]
  582. * Removed sending normal-damage packets instead of skill packets for
  583. splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
  584. * Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
  585. vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
  586. minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]
  587. * Fixed up char-sql compilation. [Skotlex]
  588. * Added a message to @clearweather stating when climate changes will
  589. dispel. [Skotlex]
  590. * Corrected @hidenpc saying that it's command name was "@npcoff" [Skotlex]
  591. * Updated itemdb reading on the char-sql server so that it reads both
  592. item_db and item_db2 files (totally untested yet) [Skotlex]
  593. 2006/08/29
  594. * Added printing out whenever the irc-module attempts to connect, to debug
  595. whether the map-server lag is due to this or not. [Skotlex]
  596. * Mobs will now always chase players using hard-path seeks. [Skotlex]
  597. * monster_ai&1 now only signals whether mobs should update their target
  598. cell while chasing more frequently (rather than being state-driven like
  599. Aegis) [Skotlex]
  600. * Changed the defaults of view_range_rate and chase_range_rate to 120 to
  601. aproximate better Aegis's view ranges (which are square areas and not
  602. circles) [Skotlex]
  603. * Applied Mpeg's work on GS [Toms]
  604. ( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
  605. * Fixed a syntax error in @showmobs [Toms]
  606. * Added @showmobs. It shows selected mobs on your mini-map (excluding
  607. mini-bosses & MVP) thanks to KarLaeda for the command [Lupus]
  608. 2006/08/28
  609. * Modified the dancing code and Moonlit Petals in particular, so that it is
  610. treated as an ensemble like any other, it will just knockback people when
  611. they step into it. [Skotlex]
  612. * The memory leak reports will now print out in the logs also the revision
  613. they belong to. [Skotlex]
  614. * Cleaned up the scriptable npc-shop code, it should be crash-proof now.
  615. [Skotlex]
  616. * Added TK level-up buffs to SG too, and extended them to 10 min [DracoRPG]
  617. * Added "Barefeet Mastery" effect to TK_RUN (thanks Tharis for both) [DracoRPG]
  618. * Changed the produce_db format, now there's a skill-lv column right after
  619. the skill-id column to specify required skill-level to craft this item.
  620. [Skotlex]
  621. * Modified the skill produce_db code to take into account the new skill-lv
  622. requirement. [Skotlex]
  623. * Fixed exp bonuses applying twice for the job-exp [Skotlex]
  624. * @reloadbattleconf will now also update the ragsrvinfo table on the
  625. char-server. [Skotlex]
  626. * Fixed homun hp/sp growth rates stacking with HP/SP passive increasing
  627. skills. [Skotlex]
  628. 2006/08/27
  629. * Fixed undefined reference to 'malloc_set' in log.c [Toms]
  630. * Updated svn-revision reading, now it can read the new svn file system [Toms]
  631. * Fixed a bug with homunc which could spawn on a non-walkable cell [Toms]
  632. 2006/08/26
  633. * Optional macro MEMSET_TURBO for faster low-level memory initializations. [Lance]
  634. * Small bug fix in read_homunculus_expdb (a warning was always displayed) [Toms]
  635. * Small adjustment on the mob_ai code which could fix mobs not chasing you
  636. if you hit them from the maximum possible diagonal distance. [Skotlex]
  637. 2006/08/25
  638. * Cleaned some the skill unit removal added flag so that it signals whether
  639. the skill is being force-removed, or it has "naturally expired". [Skotlex]
  640. * The following skills will display a normal attack animation now:
  641. NPC_WATERATTACK, NPC_GROUNDATTACK, NPC_FIREATTACK, NPC_WINDATTACK,
  642. NPC_POISONATTACK, NPC_HOLYATTACK, NPC_DARKNESSATTACK,
  643. NPC_TELEKINESISATTACK, NPC_SPLASHATTACK
  644. * Skills that require a weapon and consume spirit spheres will no longer be
  645. auto-tagged to require ammo. [Skotlex]
  646. * Now MISC skills with delay 0 will also use the attack delay (if the skill
  647. is tagged to do damage) [Skotlex]
  648. * Added script commands roclass/eaclass to enable scripts to access eA's
  649. job format. Read script_commands.txt and ea_job_system.txt for a more
  650. complete explanation of how this job system works. [Skotlex]
  651. * Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.
  652. If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in
  653. UNT_WARP_WAITING and will destroy it. [Toms]
  654. ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102
  655. when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE )
  656. 2006/08/24
  657. * Little cleanup on homunc's code [Toms]
  658. * Modified @reloadmobdb & @reloadskilldb to reload homunc's db too [Toms]
  659. * Now when a mob's adelay is set to be less than the amotion, both values
  660. will be swapped (this is an attempt to understand how those mobs actually
  661. work on aegis) [Skotlex]
  662. * script command "isrefine" will no longer return always false for equip
  663. positions above 6 (this has not been needed since the addition of the
  664. refine column to tbe item_db many months ago) [Skotlex]
  665. * Added NPC_CRITICALSLASH to the list of skills that display as a normal
  666. attack. [Skotlex]
  667. * Reverted the previous change, changed the pet capture code to try to
  668. capture a mob based on their view class rather than actual class.
  669. [Skotlex]
  670. * Fixed the md->class_ variable not being updated when a mob's class is
  671. changed. [Skotlex]
  672. * Added setting clear_skills_on_warp to specify when a character's
  673. land-based skills are deleted when the caster changes maps. Defaults to all
  674. types. [Skotlex]
  675. * Should have fixed Brandish Spear not passing the flag to skill_attack,
  676. causing it to do miserable damage. [Skotlex]
  677. * Warp Portal will no longer be removed when caster steps through it (this
  678. is left to the new clear_skills_on_warp setting) [Skotlex]
  679. * Cleaned up status_percent_change to switch equations when the target has
  680. high hp to prevent overflows, also it will directly take hp/maxhp when a
  681. rate of 100 or higher is passed to prevent calculations. [Skotlex]
  682. * Traps and Land Elemental fields are no longer automatically removed on
  683. map change (handled now by clear_skills_on_warp) [Skotlex]
  684. * traps_setting &2 no longer does anything (handled now by blah blah)
  685. [Skotlex]
  686. * Applied some change from mpeg on Ninja Skills [Toms]
  687. * Put HVAN_Explosion based on max_hp instead of current hp [Toms]
  688. 2006/08/23
  689. * Fixed mob_clone_spawn completely ignoring the mode variable. [Skotlex]
  690. * Fixed Energy Coat reducing and consuming more than it should when you
  691. have 100% SP [Skotlex]
  692. * Cleaned up getmapxy script function, also added support for type 4 so
  693. that it returns a player's homunculus position if such exists. [Skotlex]
  694. * SC_ARMOR_ELEMENT looks like gone away from status_change_start since ... rev 6791.
  695. Try to reimplement it. [Toms]
  696. * Fixed HVAN_EXPLOSION [Skotlex]
  697. * Frost Nova won't display a nodamage skill packet (still need to sort out
  698. a way to fix the splash damaged packets) [Skotlex]
  699. * Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknown [Toms]
  700. * Added debug on "Inifity loop" to know which script is making this loop [Toms]
  701. 2006/08/22
  702. * More fixes to the splash code. Kamaitachi and Sharpshooting should
  703. display correctly now. [Skotlex]
  704. * Fixed a crash on the mobspawn script command. [Skotlex]
  705. * Made SC_FLEET increase batk as well as watk. [Skotlex]
  706. * Fixed gcc warning [Toms]
  707. * Fixed AM_REST not closing the homunc status window [Toms]
  708. * Fixed SC_NEN according to Mpeg [Toms]
  709. * Added a ShowStatus("Terminating...\n") on login-server_sql [Toms]
  710. * Some corrections to make Tatami Gaeshi work correctly. [Skotlex]
  711. * Fixed SBR44 doing 100% more damage than it should. [Skotlex]
  712. * Some more work on the splash skill code. Now splash-damaged enemies
  713. should show no animation at all, just the damage-number, while only the
  714. targetted character should still display the full skill animation.
  715. [Skotlex]
  716. * Modified the homun-txt file-save format to separate the name from the
  717. rest of fields with tabs (like character saving does), this may fix homun
  718. save/loading when using non-latin characters on the name, but be warned
  719. that it also means the previous homun-data files are lost! (unless you
  720. replace the comma before the start of a name with a tab) [Skotlex]
  721. * getnameditem will now also work on stackable items [Skotlex]
  722. * Corrected battle_calc_weapon_attack so that all skills ignore your
  723. left-hand weapon, and that the Katar's double-attack damage bonus for the
  724. offhand damage applies ONLY on normal attacks. [Skotlex]
  725. * Fixed Resurrect Homunculus's % to 20*lv% [Skotlex]
  726. * Added SQL update which should remove \' from guild names [Toms]
  727. * Added option to disable character deletion of certain levels [Lupus]
  728. check char_athena.conf for this option format
  729. 2006/08/21
  730. * Some more cleaning up of the splash skill code. Now the passed hit value
  731. for the splash targetted mobs is 9 instead of 5, this allows multi-hitting
  732. splash skills to display the number of hits correctly. [Skotlex]
  733. * Fixed call homunc bug when the homunc was vapo and the master has change
  734. of map [Toms]
  735. * Fixed SQL-Guild Creation, guild name was escaped 2 times [Toms]
  736. * Some cleaning of the splash skills. Updated skill-attack to enable again
  737. passing of flag 0xF000 which signals that the skill level sent to the
  738. client should be -1 (no skill name shouted). Should (hopefully) clear/clean
  739. up a bunch of splash damage skill animation-related packets. [Skotlex]
  740. * Homun saving won't cap hp/sp to max hp/sp since a homun can have higher
  741. hp/sp than the one stated in the db (due to skill bonuses or status
  742. changes) [Skotlex]
  743. * Cleaned up some more the regen_data structure, so that
  744. skill/sitting-skill related data is optional (since only players have it).
  745. [Skotlex]
  746. * Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values [Toms]
  747. * Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID [Toms]
  748. * Adjusted Glittering's success rate to 20+10*lv% [Skotlex]
  749. * Corrected isequipped() so that cards will not be tagged as "used up"
  750. unless all the specified items were found. [Skotlex]
  751. * Fixed a confusion in skill_attack using the src instead of dsrc for some
  752. calls, which was causing some problems with the KAITE check from AoE
  753. spells. [Skotlex]
  754. * Fixed ASC_BREAKER's misc damage part not having the ignore-element flag
  755. set. [Skotlex]
  756. * Moved homunc battle conf from misc.conf to homunc.conf [Toms]
  757. * Some cleaning in skill.c in regard to homun skills. [Skotlex]
  758. * Madness Canceller now stacks with other aspd bonuses, just like Berserk
  759. does. [Skotlex]
  760. * Removed config setting "muting_players", and expanded the manner_system
  761. config to specify how having negative manner (mute) affects a player (see
  762. battle/misc.conf). [Skotlex]
  763. * Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode,
  764. if 2 is used, it makes killing players give you a loss of 5 manner points.
  765. [Skotlex]
  766. * Fixed WS_WEAPONREFINE always failing when at less than job 50. [Skotlex]
  767. * Fixed the Autosave routine not working when there's only one player
  768. online. [Skotlex]
  769. * Disabled command @rain since the client no longer supports it anyway.
  770. [Skotlex]
  771. * Fixed delitem not checking for the first slot's card, also optimized it
  772. so that it doesn't checks on the other slots. [Skotlex]
  773. 2006/08/20
  774. * Added a check during mob_db loading so that the six basic stats, max hp
  775. and max sp are never below 1, as this could cause crashes when using
  776. certain skills. [Skotlex]
  777. * Gravitation now only blocks the caster from using potions. [Skotlex]
  778. * Corrected Madness Canceller letting you walk while the effect lasts.
  779. [Skotlex]
  780. * Splitted yet again ASC_BREAKER into a two-part attack. This time the
  781. int-based damage is a MISC type attack, and gets reduced by skills as such.
  782. [Skotlex]
  783. * Fixed "int format, long unsigned int arg" warning [Toms]
  784. * Fixed a warning when using cap_value(x, 0, x) on an unsigned value [Toms]
  785. * Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos [Toms]
  786. * Fixed homunc skill 8016 not considered as homunc skill [Toms]
  787. * @useskill will now cause your homun to use the skill instead of you if
  788. the skill is a Homun skill and you have an active homunculus. [Skotlex]
  789. * Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me
  790. that Vicious told him the chance was much lower like that) [Skotlex]
  791. * Fixed some Homunc issues with HR servers (capping some values) [Toms]
  792. * Added @hominfo command to obtain real values (not capped ones) [Toms]
  793. 2006/08/19
  794. * Fixed @homlvup bug [Toms]
  795. * Fixed AM_REST & AM_RESU consumming SP if they fail [Toms]
  796. * Fixed homunc spawning bug (they was spawned after an AM_REST + master warp for example)[Toms]
  797. * Fixed GS_GROUNDDRIFT [Skotlex]
  798. * Increased chance of GS_DESPERADO connecting to 20% [Skotlex]
  799. * Fixed battle_calc_base_damage being called for the left hand even for
  800. non-dual-wielding attacks. left-hand damage was being set to 0 later
  801. anyway, so no exploit existed. [Skotlex]
  802. * Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll
  803. apply correctly when dual-wielding different types of weapons. [Skotlex]
  804. * Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the
  805. items (0x80000 should be for them and 0x100000 should be currently unused)
  806. [Skotlex]
  807. * Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
  808. * Fixed HAMI_CASTLE [Toms]
  809. * Fixed HLIF_CHANGE [Toms]
  810. * Updated HLIF_BRAIN skill [Toms]
  811. * Fixed homunculus intimacy on feeding [Toms]
  812. * Added homunculus_friendly_rate battle config [Toms]
  813. * Some compilation warnings fixed [Toms]
  814. * Added skill's required item check on homunc skills [Toms]
  815. * Add Condensed Red Potion as a required item for HLIF_HEAL [Toms]
  816. 2006/08/18
  817. * Little code cleanup on last fix [Toms]
  818. * Fixed HLIF_HEAL healing the homunc instead of the master [Toms]
  819. * Fixed HLIF_AVOID not increasing walk speed of master [Toms]
  820. * Fixed the atk_rate (Turtle General Card) bonus not working on
  821. dual-wielders. [Skotlex]
  822. * Made HLIF_HEAL a self skill that auto-selects target to caster's master.
  823. [Skotlex]
  824. * Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE [Skotlex]
  825. * Applied a correction to HVAN_EXPLOSION [Skotlex]
  826. * Fixed Homun ASPD calculation being able to underflow and give you min
  827. speed. [Skotlex]
  828. * Added monster_ai&128 to make aggressive mobs ignore that behaviour of
  829. always picking Homun targets above player targets regardless of who is
  830. closer. [Skotlex]
  831. * Fixed homun info packet being unable to display HP/SP correctly once the
  832. values are above 32k. [Skotlex]
  833. * Applied Mpeg's work on ninja [Toms]
  834. * Fixed @homlvup [Toms]
  835. * Added guild_aura (skill.conf) setting so you can specify when it works
  836. and if it works on the guild-master itself. Defaults to working all the
  837. time on everyone except GM. [Skotlex]
  838. * Little code cleanup [Toms]
  839. * Cleaned merc_hom_evolution to avoid free'ing/realloc'ing [Toms]
  840. * Fixed "args of aFree is freed pointer" on Homunc deletion [Toms]
  841. * Changed unit_free so that it receives which cleartype should be used when
  842. the character is still on a map. Used this on status_damage so that mobs
  843. that do not respawn when killed will properly display the death animation.
  844. [Skotlex]
  845. * Fixed Energy Coat consuming 10x less SP per hit than it should.
  846. * Fixed signed/unsigned comparison issues with natural heal system [Toms]
  847. 2006/08/17
  848. * Vaporize will no fail when the homun is dead. [Skotlex]
  849. * Corrected thhe double free issue that occurs when a homun dies and has no
  850. intimacy left. [Skotlex]
  851. * Fixed the charsave_method:1 saving/loading exp as signed ints rather than
  852. unsigned. [Skotlex]
  853. * Applied use of structure regen_data for a unified regen module. Natural
  854. and skill-heal is handled by this structure, while sitting-skill-heal is
  855. still player dependant (mostly because the other object types can't sit)
  856. [Skotlex]
  857. * Cleaned up the status calc code for homun by moving it from
  858. status_calc_bl_sub_homun to status_calc_homun (where it should had always
  859. been) [Skotlex]
  860. * Updated SQL files [Playtester]
  861. * Corrected map_random_dir algorithm [Toms]
  862. * Fixed homunc natural heal and little code cleanup [Toms]
  863. * Changed AM_CALLHOMUN Skill to spawn the homunc at 1 cell from his master [Toms]
  864. 2006/08/16
  865. * Fixed being unable to recast Adrenaline Rush to reset the duration
  866. timers. [Skotlex]
  867. * Cleaned up skill_get_range2 so that using range 0 for non-self skills
  868. uses the caster's attack range. [Skotlex]
  869. * Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized
  870. homun. [Skotlex]
  871. * Spirit of Wizard will now consume an item 7321 each time it blocks
  872. reflected magic. [Skotlex]
  873. * Added script command jobname, retrieves a given's class name as per the
  874. appropiate msg_athena.txt entry (this command should had been added years
  875. ago) [Skotlex]
  876. * Fixed null-pointer crash on Evolving a homunculus. [Skotlex]
  877. * @produce now can make any kind of equipment [Skotlex]
  878. * Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster
  879. and target. [Skotlex]
  880. * AM_REST shouldn't be checking for a range now (since it's a self skill)
  881. [Skotlex]
  882. * Updated mob_ai so that mobs will use their rude-attacked skill when they
  883. can't reach their current target. [Skotlex]
  884. * Fixed the default txt config making pets be saved to the homun file
  885. instead of to the pet file. [Skotlex]
  886. * Now arrow-consuming skills where your main weapon is a whip or musical
  887. instrument WILL count as arrow-type attacks, using the atk of the arrow and
  888. all related bonuses. [Skotlex]
  889. * Fixed some homun timer initialization code. [Skotlex]
  890. 2006/08/15
  891. * Applied multiple fixes which should take care of making homun save/load
  892. work on TXT now. [Skotlex]
  893. * Added Gatling Fever's batk bonus. [Skotlex]
  894. * Some cleaning in status_damage which should prevent trying to free
  895. already free'd pointers when unit_remove_map invokes unit_free (when
  896. status_damage was going to invoke unit_free anyway) [Skotlex]
  897. * Delete homunc's skills from sql when the homunc is destroyed [Toms]
  898. * Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu [Toms]
  899. * Updated vc-project files to compile with the new int_homun files.
  900. [Skotlex]
  901. * Hopefully fixed the crash when using charsave_method = 1 [Skotlex]
  902. * Moved s_pet structure from map_session_data to pet_data, this enabled the
  903. removal of a few redundant values in the pet_data structure (name, class,
  904. equip) [Skotlex]
  905. * Cleaned up some of the pet related @/# commands, same for some script
  906. commands. [Skotlex]
  907. * Pet offensive skills who's inf value is self will be casted on the pet
  908. now (for stuff like Grand Cross) [Skotlex]
  909. * Added homun saving/loading support to char-TXT. Note that this is
  910. completely untested, so it may be as good as broken. [Skotlex]
  911. * Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun
  912. has no master (need to clean up this function later) [Skotlex]
  913. * Tested char-txt load/save, it seems to be working fine, but you should
  914. STILL backup, as I only launched the server (read old character format),
  915. closed it down (saved into the new format) and relaunch it (read the new
  916. format) and it didn't give problems (but there's still the possibility of
  917. some field being read in the incorrect offset or such). [Skotlex]
  918. * Updated the char save structure for char-TXT servers so that the homun id
  919. will be saved, now also the map info (last point, save point, memo maps)
  920. are now saved using the mapindex rather than the string. BACKUP BEFORE
  921. UPDATING since this code isn't yet tested. [Skotlex]
  922. * Cleaned up a bit the char-saving code, added overflow crash prevention in
  923. case there are more memos than the max-allowed saved. [Skotlex]
  924. * AM_CALLHOMUN can now be used to recall vaporized homuns. [Skotlex]
  925. * AM_RESURRECTHOMUN will now fail when the homun is vaporized. [Skotlex]
  926. * Added SCB_DYE which marks which status-changes need a forced cloth dye
  927. change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status
  928. uses it. [Skotlex]
  929. * Asura Strike now moves you to the target on fail always (unless the
  930. target does not exists or is in another map or there's a obstacle on the
  931. way) [Skotlex]
  932. * Corrected skill_attack_area hitting dead characters on it's splash range.
  933. [Skotlex]
  934. * Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable
  935. SG to show the fly animation again, even if sometimes others will see him
  936. as Santa. As for xmas cloth, it shouldn't make much of a difference since
  937. the view class is changed to christmas anyway. [Skotlex]
  938. * Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where
  939. they automatically pick a spot around you. [Skotlex]
  940. * Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now.
  941. [Skotlex]
  942. * Cleaned up some the hom evolution code. [Skotlex]
  943. * Fixed SIGSEGV with homunc save [Toms]
  944. 2006/08/14
  945. * Removed support for negative autosave intervals, instead added a
  946. minsave_interval setting which specifies which is the minimum time between
  947. character saves. Default to 100ms (map_athena.conf). [Skotlex]
  948. * Sacrifice no longer shows damage to self. [Skotlex]
  949. * When Asura fails, the skill display will still come off. [Skotlex]
  950. * Lots of cleaning of the Homun-code. Perhaps the crashes as of late will
  951. be fixed now (reusing AM_CALLHOMUN seems to be the cause of them)
  952. [Skotlex]
  953. * Increased Run's walk speed bonus to 25->50% [Skotlex]
  954. * Modified emergency_call setting to allow for more specific configuration
  955. (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see
  956. skill.conf for details. [Skotlex]
  957. * Fixed script engine allowing scripts to set a player's zeny to negative
  958. values. [Skotlex]
  959. * Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
  960. [Skotlex]
  961. * When readjusting the fame-list, the last entry's id is also reset (may
  962. fix characters appearing more than once on it?) [Skotlex]
  963. 2006/08/13
  964. * Removed @itemcheck as it was totally pointless. [Skotlex]
  965. * Corrected states killer/killable being easily dispellable. [Skotlex]
  966. * Fixed the totally wrong text messages being used for @killer/@killable
  967. related atcommands, added appropiate entries to msg_athena [Skotlex]
  968. * Magic and Misc attacks will now get type "flee" when they do less than 1
  969. damage, this blocks them from causing additional status effects when they
  970. are blocked. [Skotlex]
  971. * Cleaned up a bit the Basilica code, it should now properly end when you
  972. walk. [Skotlex]
  973. * Fixed some logs not working when you enabled all logs. [Skotlex]
  974. * Corrected unmute being a level 60 command by default (should be 80)
  975. [Skotlex]
  976. * Corrected the mapif_parse_PartyChangeMap function to correctly update
  977. level-range when someone logs on/off, fixes being unable to set even-share
  978. on once it's been broken even when the characters out of range logoff.
  979. [Skotlex]
  980. 2006/08/11
  981. * Fixed Kagebunshin no Jutsu crashing for dyes > 0; though this solution
  982. might seem hackish (changing clothes colour to 0 when it starts while
  983. storing original colour back in val4, restoring original dye upon
  984. end), I believe this is the best way there currently is to solve
  985. the issue. [blackhole89]
  986. * Fixed Dancers/Bards being able to use normal attacks while performing.
  987. [Skotlex]
  988. 2006/08/10
  989. * Fixed the item group bonus not working. [Skotlex]
  990. * Fixed songs/dances always being considered overlapped with themselves.
  991. [Skotlex]
  992. * Added some additional song/dance overlap code that should correctly
  993. change the effect of songs/dances when they overlap. [Skotlex]
  994. * Added a check so that the status-change packet is always send to self
  995. when the inflicted char is a player disguised. [Skotlex]
  996. * Code cleanup on homunc, they stay in memory until player disconnect or
  997. homunc destruction [Toms]
  998. * Corrected Advanced Jobs HP bonus from 30% -> 25% [Skotlex]
  999. * Hopefully fixed family-party-even-share not breaking when a member logs
  1000. out. [Skotlex]
  1001. * Should have fixed the login-sql crash when passed user-name's length is
  1002. beyond the limit. [Skotlex]
  1003. * Changed setting attack_attr_none to affect all neutral-element attacks.
  1004. Basicly, this setting is now used to determine who can hit for full damage
  1005. always when using neutral-attacks (defaults to non-players) [Skotlex]
  1006. * Fixed two instances in the login-sql server where the ip in the log-login
  1007. table was being stored backwards. [Skotlex]
  1008. * Now when a skill's range is 0 and the skill is NOT casted on self, it
  1009. will take the basic weapon's range (without Vulture/Snake Eye bonus).
  1010. [Skotlex]
  1011. * Now when a duration is not specified, sc_start/sc_start2/sc_start4 will
  1012. try to guess the duration by extracting it from the skill_db (it uses
  1013. skill_get_time on whatever skill is associated to the status-change using
  1014. val1 as skill-level) [Skotlex]
  1015. * Some cleanups on trade_tradeaccept to prevent packets being resent when
  1016. they shouldn't. [Skotlex]
  1017. * Fixed syntax error in 'guild' create table statement [Toms]
  1018. 2006/08/09
  1019. * Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
  1020. * Fixed homunc skill up bug [Toms]
  1021. * Adjusted some the dance/song/encore code so that the source of an
  1022. ensemble will always get checked, so that walking out of an ensemble skill
  1023. should make it end now. However, it's likely this is not completely solved
  1024. yet and will require further tweaking. [Skotlex]
  1025. * Added crash protection to the mob_db txt reading when the mob_db file has
  1026. lines with insufficient number of columns. [Skotlex]
  1027. * Moved the class-change code from battle_calc_weapon_attack to
  1028. skill_additional_effect. Alchemist summons now also have a chance of
  1029. triggering polymorphing. [Skotlex]
  1030. * Removed the code which was auto-setting attacks that do no damage to type
  1031. FLEE, since that was disabling status-effects which should incur even when
  1032. the damage was blocked. [Skotlex]
  1033. * Trade requests will now fail when either character is unable to act
  1034. (character in storage, vending, interacting with an npc, petrified, etc)
  1035. [Skotlex]
  1036. * Heard skotlex voice, changed all msg_table[] into msg_txt() in atcommand.c [Toms]
  1037. 2006/08/08
  1038. * Fixed the char-server not invoking the party_calc_state function when the
  1039. third party-member is added to a party, hence failing to check for families
  1040. and disabling even share from them unless all three relog first (state is
  1041. correctly calculated when party is first loaded). [Skotlex]
  1042. * Crash-protections in the mail-checking function. [Skotlex]
  1043. * Some additional parenthesis on equipment check in pc_equipitem, seems to
  1044. have fixed the mid/lower headgear-sprites not showing up. [Skotlex]
  1045. * Added back missing state set to prevent Ankle-Snare from being retrieved
  1046. after the target dies. [Skotlex]
  1047. * Fixed compilation warning [Toms]
  1048. * Added a check to handle Spider Web as a targetted skill. If there's more
  1049. than one character on the targetted cell, a different one may get trapped,
  1050. but it will mostly do as it is now. [Skotlex]
  1051. * Added check to Asura so that it will move you to the target when it fails
  1052. ONLY when you can cast the skill on the target (not stunned, asleep, target
  1053. not hidden, etc) [Skotlex]
  1054. * Changed the map_freeblock_unlock code so that when there's an "already
  1055. free'd pointer" error, the memory manager will print out the invoking
  1056. function rather than map_freeblock_unlock, this should help fix it up next
  1057. time it happens and is reported. [Skotlex]
  1058. * Casting Kaensin will clear out Suiton and viceversa now. [Skotlex]
  1059. * Fixed drop-rates (@whodrops) getting duplicates when you use @reloadmobdb
  1060. [Skotlex]
  1061. * Fixed unjailing not sending characters to Prontera. [Skotlex]
  1062. * Fixed yet again AS_SPLASHER doing full damage on all characters. Now you
  1063. can use the NK split damage value in the skill_db if you want damage
  1064. divided by the amount of targets rather than by 2. [Skotlex]
  1065. * Fixed crash on the battle_drain functions. [Skotlex]
  1066. * Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by
  1067. other types of objects other than Homunculus. [Skotlex]
  1068. * Cleaned up the Asura Strike code so that the SP/Spheres/States is not
  1069. consumed when the skill fails due to Fog of Wall. [Skotlex]
  1070. * When a negative delay for a skill is specified, this delay is now added
  1071. on top of the character's amotion rather than adelay [Skotlex]
  1072. * Modified main.sql to make the guild table allow NULL on the emblem data.
  1073. [Skotlex]
  1074. * Added file conf-tmpl/Changelog.txt to log config changes. [Skotlex]
  1075. 2006/08/07
  1076. * Fixed the login-sql server replying to the change-sex packet with the
  1077. wrong gender, causing the char-server to screw-up job-change updates.
  1078. [Skotlex]
  1079. * Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD work as
  1080. described on the docs now, this should also fix adopting not correctly
  1081. giving the family-related skills. The flag value of skill should be: 0 to
  1082. set the skill (if skill level is 0, this removes a learned skill), 1 grants
  1083. the skill as an item bonus which is temporary, and 2 will add a skill bonus
  1084. like 1, except the skill level adds up to whatever level already known of
  1085. that skill. [Skotlex]
  1086. * Fixed EQP_WEAPON related code messing up with both weapon AND shield.
  1087. [Skotlex]
  1088. * Cleaned up the Asura code so that when the skill fails your
  1089. SP/Spheres/Fury are all taken away always, as well as moving you next to
  1090. the target (as long as the target still exists within a reachable path from
  1091. your position) [Skotlex]
  1092. * SC_GUILDAURA is now removed on logout. [Skotlex]
  1093. * Fixed Venom Splasher doing half-damage instead of full-damage to the
  1094. "exploding" character. [Skotlex]
  1095. * Hopefully fixed the party_even_share cast-overflow bug as reported by
  1096. Adobe. [Skotlex]
  1097. * Standarized the autosave interval setting to be always in seconds
  1098. regardless of type. [Skotlex]
  1099. * Moved the "bosses can't be knockback" logic from battle_calc_* functions
  1100. and placed it on skill_blown. [Skotlex]
  1101. * Some parenthesis cleanup before invoking battle_calc_base_damage, could
  1102. be fixing the current issue with arrow attacks not adding the arrow damage.
  1103. [Skotlex]
  1104. * Fixed the map_search_freecell error which was making mobs fail to
  1105. respawn. [Skotlex]
  1106. * Added in Lupus's suggestion of not making multi-slot headgears set all
  1107. slot view-ids, which supposedly causes the client to re-draw the headgear
  1108. multiple times on characters. [Skotlex]
  1109. * Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
  1110. [Skotlex]
  1111. * Simplified the Tatami Gaeshi code. [Skotlex]
  1112. * Fixed AS_SPLASHER doing full damage on everyone except targetted char
  1113. instead of the other way around. [Skotlex]
  1114. * Fixed KAENSIN clearing out SUITON cells and viceversa. [Skotlex]
  1115. * The spawn area is now seen as range rather than absolute for mob spawn
  1116. lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around
  1117. the given x,y point. [Skotlex]
  1118. * Some clean up of the mob-spawn code. Now you can specify negative areas,
  1119. so that a spawn location such as 100,150,0,-1 will spawn a mob always on
  1120. x=100, but any Y value of the current map. [Skotlex]
  1121. * Reflected damage will now also have a chance of draining hp/sp. [Skotlex]
  1122. * Adjusted the order in which option/sc change packets are sent to match
  1123. Aegis's [Skotlex]
  1124. * Added script command getpartyleader through which you can retrieve
  1125. various information of a party's leader. See doc/script_commands.txt for
  1126. further information. [Skotlex]
  1127. * mpeg's Ninja work [Vicious]
  1128. * Adjusted Battle_check_target so that alchemist summoned mobs are
  1129. targetted by everyone as long as 1. The top-level master is a player and 2.
  1130. the actual attacker is not a mob-type. [Skotlex]
  1131. * Added config force_random_spawn which overrides the spawn-files defined
  1132. coordinates to make all mobs always spawn randomly on the map. [Skotlex]
  1133. * SC_SPEEDUP0 is no longer dispellable by SA_DISPEL [Skotlex]
  1134. 2006/08/06
  1135. * Updated item_db.sql & mob_db.sql to latest. [Toms]
  1136. * Little fixes on homunc (hp/sp are now saved and init stats changed) [Toms]
  1137. 2006/08/04
  1138. * Added a commented piece of code at the end of clif_parse_LoadEndAck which
  1139. will update your direction to wherever you were facing before warping.
  1140. Should this be the default? Nearby people DO see you facing on the same
  1141. direction before warping, it's only your client that will always see you
  1142. facing north on spawn (the spawn packet does contain direction
  1143. information). [Skotlex]
  1144. * Updated @mobinfo to display slots in the drop information. [Skotlex]
  1145. * Fixed flag.elefix not being respected in battle_calc_misc_damage.
  1146. [Skotlex]
  1147. * Some code cleanups in battle_calc_damage. [Skotlex]
  1148. * Modified bAddItemHealRate so it can receive both item-id and item-group
  1149. values (since the first item-id is +500, there's no risk of mixing them
  1150. up). [Skotlex]
  1151. * Removed settings enemy_critical_rate, homun_critical_rate. Added settings
  1152. enable_critical (defaults to specify only players), mob_critical_rate and
  1153. critical_rate. The last applies to all non-mobs and non-players
  1154. (battle/battle.conf) [Skotlex]
  1155. * Removed settings mob_npc_warp, mob_warpportal. Replaced with setting
  1156. mob_warp which specifies which types of warp can a mob step into
  1157. (battle/monster.conf) [Skotlex]
  1158. * Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out
  1159. of the mastery function so that it may apply to all skills except Soul
  1160. Breaker. [Skotlex]
  1161. * Changed name of the setting log_pick to log_filter since that's what it
  1162. does now. [Skotlex]
  1163. * Modified enable_logs so that instead of a 0/1 setting, you can specify
  1164. which kind of events to log (so you can use a combination), see log_athena
  1165. for the bitmask configuration. [Skotlex]
  1166. * Cleaned a bit the contents of log_athena.conf
  1167. * Hide/Chasewalk will again stop screaming skill name. [Skotlex]
  1168. * Soul Breaker will no longer receive Mastery damage. [Skotlex]
  1169. * Fixed warning:'type' might be used uninitialized in this function [Toms]
  1170. 2006/08/03
  1171. * Added a check to skip the experience share of characters who are dead or
  1172. on another map. [Skotlex]
  1173. * Reverted the previous change, chasewalk has no icon, only the str-bonus
  1174. has that fist icon now. [Skotlex]
  1175. * Allowed chase-walk to display a skill animation when using it. [Skotlex]
  1176. * Readjusted the Chasewalk icon to be as it should be. [Skotlex]
  1177. * GS_DESPERADO is now a short-range attack skill. [Skotlex]
  1178. * Changed the Battle-Orders icon to be the Strength Up icon (for
  1179. Chasewalk's str bonus). [Skotlex]
  1180. * Fixed using the right-hand weapon's size modifiers regardless of which
  1181. weapon's damage was being calculated in regards to. [Skotlex]
  1182. * Simplified the ignore-size check by making the Weapon Perfection check be
  1183. done when specifying the flag, also moved the size-fix property of riding
  1184. spear-knights to status_calc_pc. [Skotlex]
  1185. * Changed SI_CHASEWALK value to 119 as concluded by LoneWolf [Skotlex]
  1186. * Corrected clif.c sending the raw mdef2 value to the client instead of
  1187. first substracting the "secret vit/2" bonus from it. [Skotlex]
  1188. * Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent
  1189. overflows. It is not capped to INT_MAX because damage increasing skills
  1190. would cause it to still overflow afterwards. [Skotlex]
  1191. * Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the
  1192. code. [Skotlex]
  1193. * Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks
  1194. should happen before a mob uses the rude-attacked skill. Value has been set
  1195. to 2 for now. [Skotlex]
  1196. * Now when a mob changes target (to someone they can hit) their
  1197. rude-attacked count won't be reset, but instead will be reduced by one.
  1198. [Skotlex]
  1199. * SC_SPEEDUP0 can now stack with the other speed raising buffs. [Skotlex]
  1200. * Some adjustments so that the last-skill-used will be correctly cleared
  1201. when your combo-time ends. [Skotlex]
  1202. * Fix a bug in atcommand_charspeed [Toms]
  1203. * Fixed a logic error preventing from cooking anything [DracoRPG]
  1204. * Cleaned up the last NJ update code. [Skotlex]
  1205. * Added @ command `charspeed` [Skotlex]
  1206. * Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL [Skotlex]
  1207. * Removed case for GS_SPREADATTACK on damage packets to see if the skill
  1208. displays correctly now. [Skotlex]
  1209. * Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are
  1210. removed, NOT the ones who were already placed. [Skotlex]
  1211. * Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix
  1212. icon-confusion when both are enabled at a time. [Skotlex]
  1213. * Mob rude-attacked count is not reset now on picking a new char (gotta
  1214. investigate this further) [Skotlex]
  1215. * Changed atoi to strtoul for guild-experience's field [Toms]
  1216. * Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
  1217. 2006/08/02
  1218. * Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
  1219. Silence now ONLY blocks skills from being used, it will not stop on-going
  1220. casts. [Skotlex]
  1221. * Updated status_cast_cancel to also include silence (so the cast bar is
  1222. cancelled if you are silenced during it) [Skotlex]
  1223. * Updated the way SC_SILENCE works. From what I remember (from previous
  1224. forum discussions) it: 1- Always blocks skills from being used. 2- Will
  1225. only block a skill when the cast-bar ends IF the skill is targetted. If
  1226. anyone wants to debate to get this changed, make an appropiate forum topic
  1227. in the svn development area to discuss. [Skotlex]
  1228. * Added a check in the walking code when triggering skills.
  1229. NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend
  1230. the walk packet, this effectively causes the mob to start walking
  1231. (clientside) while the cast-bar is showing. [Skotlex]
  1232. * Fixed a logic error on battle_get_master which was causing infinite
  1233. loops.. [Skotlex]
  1234. * Fixed homunculus error message [Toms]
  1235. * Rewrote pc_payzeny to not use doubles, it may more accurately prevent
  1236. charging a player more zeny than they can withhold. [Skotlex]
  1237. * Fixed failing to create Deadly Poison Bottles damaging 50% of your max
  1238. life instead of 25% [Skotlex]
  1239. * Added the missing status-change flags to SC_FREEZE to signal it should
  1240. modify def and magic def [Skotlex]
  1241. * Little add on NJ_HUUMA [Toms]
  1242. * Merged Mpeg's work on Ninja skills [Toms]
  1243. * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex]
  1244. * Now you can teleport in Thanatos Boss room, but you can't respawn there [Playtester]
  1245. * Fixed Defender Raising Walk speed instead of diminishing it. [Skotlex]
  1246. * Added a check on status-change load to prevent loading speed-affecting
  1247. status when their speed adjustment is 0 (prevents division by zero)
  1248. [Skotlex]
  1249. * Code cleanup & optimization on guild part of char-server [Toms]
  1250. * Fixed script code data not being free'd if a player quits in the middle
  1251. of a script. [Skotlex]
  1252. * Modified run_script so that when there are leaks, it will report the
  1253. place where run_script was called from as source rather than the inner code
  1254. of run_script (for debugging purposes) [Skotlex]
  1255. * Made recursive master check the default (otherwise it messes skill -> pet
  1256. -> player kind of herarchies) and cleaned up some the battle_get_master
  1257. code to prevent infinite loops in the weird case someone specifies that
  1258. their master is itself. [Skotlex]
  1259. * Recoded the GuildAura code to use val3 & val4, allowing much greater stat
  1260. bonuses (in case someone wants to get Guild Skill level 20 or something
  1261. crazy like that) [Skotlex]
  1262. * Updated battle_check_target so that all alchemist summoned mobs can be
  1263. target by everyone. [Skotlex]
  1264. * Cleaned up skill_check_condition_mob_master_sub, it will now count both
  1265. total number of summoned mobs and amount that belong to the same type.
  1266. [Skotlex]
  1267. * Corrected AM_CANNIBALIZE so it will fail if you already have plants of
  1268. another type out. [Skotlex]
  1269. * Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
  1270. [Skotlex]
  1271. * Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now
  1272. Volcano/Deluge/V. Gale will get that funky icon instead. [Skotlex]
  1273. * Changed clif_hominfo to receive both sd and hd as parameters
  1274. * Some redundancy cleaning in mercenary.c [Skotlex]
  1275. * Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
  1276. [Skotlex]
  1277. 2006/08/01
  1278. * Miscellanous fixes which make the Marine Sphere self destruction work as
  1279. best as I can. It only has one flaw: It self-destructs instantly after
  1280. walking because if I make it use self-destruction with a cast-bar,
  1281. client-side the object stops moving inmediately... [Skotlex]
  1282. * Modified unit_walktoxy and NPC_RUN to enable running even when the caster
  1283. does not has the MD_CANMOVE bit on. [Skotlex]
  1284. * PF_MINDBREAKER will now silently fail if you try to use it on someone who
  1285. already has the status active. [Skotlex]
  1286. * Cleaned up yet again skill_landprotector, now new cells of
  1287. Deluge/Volcano/V.Gale will delete previous cells when they are recasted on
  1288. top of each other. [Skotlex]
  1289. * Summoned Marine Spheres no longer get the MD_CANMOVE bit. [Skotlex]
  1290. * Cleaned up some more the SC_JAILED code [Skotlex]
  1291. * merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru
  1292. and Coltaro for the code. [Skotlex]
  1293. * Cleaned the code of atcommands jail and unjail [Skotlex]
  1294. * Be warned that the code MAY contain bugs as I adjusted it to save the
  1295. character's position before jailing, allowing the automatic unjailing to
  1296. warp you back to the exact spot you were at before being jailed. [Skotlex]
  1297. * Should have fixed the cooking sets not displaying all cooking available
  1298. items. [Skotlex]
  1299. * Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
  1300. really working. Thanks to Mpeg for noting it out. [Skotlex]
  1301. * Modified Self Destruction, so that Marine Spheres in non-versus maps will
  1302. hurt only enemies, while in all other situations this skill will hurt
  1303. everyone around them. [Skotlex]
  1304. * Expanded setting debuff_on_logout so that &1 removes negative buffs and
  1305. &2 removes positive buffs. [Skotlex]
  1306. * Food status boosts will no longer end on death, but they will end when
  1307. you respawn or logout. [Skotlex]
  1308. * Added battle config file status.conf, moved some settings from skill.conf
  1309. and battle.conf to it since they are entirely Status-Change related.
  1310. [Skotlex]
  1311. * Added the missing lines to enable script command "kickwaitingroomall"
  1312. [Skotlex]
  1313. * Magic Rod's can-act delay will no longer be applied when you absorb a
  1314. spell. [Skotlex]
  1315. * Fixed Don't Forget Me increasing speed instead of decreasing it. [Skotlex]
  1316. * Modified setlabel so that the script engine barks when you are trying to
  1317. use the same label name as a constant or variable name. [Skotlex]
  1318. 2006/07/31
  1319. * Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame
  1320. rankings. [Skotlex]
  1321. * Updated Poison React chance to counter and number of counters as per
  1322. skill description updates. [Skotlex]
  1323. * Fixed Sharpshooting being counted as a magic attack, and hence, using
  1324. your MATK as base damage. [Skotlex]
  1325. * Fixed NPC_STOP id value in skill_cast_db [Skotlex]
  1326. * Bladestop will no longer stop when you push either of the characters
  1327. around. [Skotlex]
  1328. * Fixed Enchant Poison having a near 100% chance of poisoning target on
  1329. attack. [Skotlex]
  1330. * Little fix on duel [Toms]
  1331. * Added possibility to restrict duel usage to same map [Toms]
  1332. * Merged mpeg's fix on ninja skills [Toms]
  1333. * Corrected a status_get_race call which should be status_get_race2 in misc
  1334. attacks. [Skotlex]
  1335. * Moved the Devotion code to the top of the SC list in status_damage,
  1336. meaning that now stuff like being asleep or confused won't end if you are
  1337. hit, but the damage is absorbed by devotion. [Skotlex]
  1338. * Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no
  1339. information of how much the bonus should be, it currently is a conservative
  1340. 10%. [Skotlex]
  1341. * Fixed a possible crash in the main script engine when restoring previous
  1342. script. [Skotlex]
  1343. * Fixed sleep.tick not being set back to 0 before resuming execution, which
  1344. leads to scripts that are continously executed even when they already ended
  1345. (they do nothing but waste resources) [Skotlex]
  1346. * Fixed a pair of free -> aFree used on stacks, which would lead to memory
  1347. manager reporting leaks where there aren't. [Skotlex]
  1348. * Removed incorrect "Waterball range+1 when standing on suiton" feature.
  1349. [Skotlex]
  1350. * Corrected the Speed update code to prevent sending "walk to xy" packets
  1351. twice when the affected character is a player. [Skotlex]
  1352. * Expanded mob can't move warning to print out where this mob was stuck at
  1353. (map, x,y) [Skotlex]
  1354. * Fixed segmentation fault in status_change_end, vd wasn't initialized [Toms]
  1355. 2006/07/30
  1356. * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
  1357. level, so that at level 1 they can attack, use skills and receive no
  1358. walking penalty. [Skotlex]
  1359. * Mob casted Sanctuary will no longer always heal it's targets regardless
  1360. of element/race [Skotlex]
  1361. * Status change packets will now use as criteria for sending the actual
  1362. view_class instead of player/not-player. This will fix status-changes
  1363. displaying improperly on clones, and also possible crashes with disguised
  1364. players. [Skotlex]
  1365. * Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE [Toms]
  1366. * Added bNoMiscDamage setting so you can specify misc-damage blocking from
  1367. skills. Modified battle_calc_damage so that even Pressure and similar
  1368. skills will be affected by this setting. [Skotlex]
  1369. * GS skill updates/fixes [Vicious]
  1370. * Force all users offline in sql when char-server starts [Toms]
  1371. 2006/07/29
  1372. * Removed ugly struct cast in login.c [Toms]
  1373. * New version of buildin_query_sql which accept more than one column and
  1374. can return the number of rows. See script_commands.txt for more details. [Toms]
  1375. * Fixed nullpo in merc_hom_skillup [Toms]
  1376. * Added a return value to buildin_rid2name if rid is invalid [Toms]
  1377. * Made the SQL ping interval default to 7 hours. [Skotlex]
  1378. * Made skill_unitsetting remove the group when no unit-cells were placed
  1379. down. basicly this means that if landprotector blocks all tiles, the group
  1380. will be removed from memory, preventing said group from counting to the
  1381. total number of skills you can set. [Skotlex]
  1382. * Fixed segmentation fault in script engine when calling something which is not a function [Toms]
  1383. * Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
  1384. 2006/07/28
  1385. * Added Ishizu's code to check ammo type on attack. No more using Grenade
  1386. rounds with Guns. [Skotlex]
  1387. * offensive heal/sanctuary will only happen when the source of the heal is
  1388. a player, mob/pet casted heal will now always heal regardless of target.
  1389. [Skotlex]
  1390. * Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
  1391. [Skotlex]
  1392. * Self destruction will now hit all characters in range, not just enemies.
  1393. [Skotlex]
  1394. * Cleaned up the NJ update code: [Skotlex]
  1395. - Restored code which was removed (stuff like SC_SKA)
  1396. - Fixed possible crashes on some NJ skills if used by non-players.
  1397. - Fixed most NJ magic spells doing more damage than they should.
  1398. - Fixed ZenyNage being able to do more damage than zeny you have.
  1399. - Cleaned up skill setting code for Suiton and Kaensin
  1400. * Some cleaning of battle_drain, Evil Druid card should work now. [Skotlex]
  1401. * Made status_damage allow damaging of objects not on a map, this should
  1402. fix pet-catching making the mob never respawn again. [Skotlex]
  1403. * Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same :) [Toms]
  1404. * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
  1405. * Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
  1406. * Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
  1407. * Fixed sign warnings in login/login.c [Toms]
  1408. * Fixed "conversion from 'double' to 'int', possible loss of data" [Toms]
  1409. * Fixed "warning: redefinition of [ushort/uint/ulong]" [Toms]
  1410. * Fixed duplicate case value on NJ_SUITON [Toms]
  1411. 2006/07/27
  1412. * Fixed a memory leak when there exists more than one user function with
  1413. the same name, added the appropiate warning when this happens. [Skotlex]
  1414. * Added reporting source file when an npc shops item's price is
  1415. exploitable. [Skotlex]
  1416. * The picklog will now record negative values for items sold to npcs.
  1417. [Skotlex]
  1418. * Added inmediate position and hp-bar update when a character joins a
  1419. party. [Skotlex]
  1420. * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
  1421. * Added config setting party_update_interval so you can specify how often
  1422. the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]
  1423. * Removed a bunch of broken comments in skill.c [Skotlex]
  1424. * Synced the script.c file with as much data as possible from jA's:
  1425. [Skotlex]
  1426. - A lot of functions were moved around, a bunch of indentation and
  1427. space-usage changes were done to make it easier to diff against their
  1428. files.
  1429. - Miscellanous addition and corrections were applied.
  1430. - Largest one is likely a restructuring of run_script_main, which hopes to
  1431. solve the memory leaks.
  1432. - script engine now uses the setjmp functions to restore memory state when
  1433. there's an error parsing scripts, which means that script errors won't
  1434. cause the map-server to inmediately bail out anymore.
  1435. - NOTE that the amount of changes is pretty extensive, so DON'T USE THIS on
  1436. a live server. Update only to help test and debug to see if the script
  1437. engine memory leaks are gone.
  1438. * Added a cleanup routine on shutdown to remove all characters from memory
  1439. for whom the save ack has not returned from the char-server yet. [Skotlex]
  1440. * Now when you set the guardian's HP, if the guardian is spawned, it's HP
  1441. will be updated accordingly (and if you set it to 0, the guardian is
  1442. killed) [Skotlex]
  1443. * Added functions status_set_hp/status_set_sp to set hp/sp to a given
  1444. value. Applied usage of these on the Berserk and Soul Change code.
  1445. [Skotlex]
  1446. * Added config setting "party_hp_mode" (battle/party.conf) which determines
  1447. method to use to update party-mate hp bars. Aegis style is to update HP
  1448. bars whenever HP changes, while eAthena style is to update it together with
  1449. the map party dots. Defaults to aegis style. [Skotlex]
  1450. * Fixed packet 0x22a having the manner and opt3 packets in inverted
  1451. offsets. [Skotlex]
  1452. * Readded the check which prevents Cloaking from activating when your
  1453. learned level is less than 3 and you aren't next to a wall. [Skotlex]
  1454. * Some cleanups to the Frenzy/Berserk status change, it should probably
  1455. work correctly now. [Skotlex]
  1456. * Removed a redeclared variable i in the parsing of the fame list (char-sql
  1457. server) which seems to be the cause of the random memory corruptions.
  1458. [Skotlex]
  1459. * Updated item_db.sql to latest. [Toms]
  1460. * Fix homunc & code cleanup [Toms]
  1461. - Timer problems on delete_timer
  1462. - Intimacy problem (overflow & new values)
  1463. - Homunc deleted if intimacy < 0
  1464. - base exp is now given to master
  1465. - Homunc sometimes not saved
  1466. 2006/07/26
  1467. * Fixed a memory leak when reading the item_db txt. [Skotlex]
  1468. * Applied the necessary changes to make @partyoption reflect it's changes
  1469. on the alt+p window. [Skotlex]
  1470. * Modified party_item_share_type config setting so that using 1 disables
  1471. item-sharing from non-mob loot (player dropped items or pet loot) and 2
  1472. enables round-robin instead of random sharing. Using 3 obviously is
  1473. enabling both 1 and 2. [Skotlex]
  1474. * Added battle_get_master which returns the master bl of a given object.
  1475. [Skotlex]
  1476. * Recoded battle_check_target to use battle_get_master, the src/target
  1477. switch has been split into two, so that actual target and master target are
  1478. seperately treated (same for source). [Skotlex]
  1479. * Added support for "sc_end -1" which will clear all status changes. Added
  1480. the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
  1481. [Skotlex]
  1482. * @pettalk will now fail when muted. [Skotlex]
  1483. * Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
  1484. 2006/07/25
  1485. * Cleaned up run_script_main to properly free previous stack-data when
  1486. running scripts. Note that scripts may still leak memory when run by
  1487. non-players and they don't reach the "END" state, however I am not sure how
  1488. this case should be handled, so it's left as it is for now. [Skotlex]
  1489. * Added a missing ntohl call in the loginlog code. [Skotlex]
  1490. * Added a check when buying from npcs to allow buying of item_avail items.
  1491. [Skotlex]
  1492. * Fixed duel accept invite sending the packet before the duel data is set
  1493. (resulting in a packet that noone receives). Thanks to Toms for finding it
  1494. out. [Skotlex]
  1495. * Fixed a possible crash when you dual-wield and the total damage is 0.
  1496. [Skotlex]
  1497. * Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
  1498. they convert the txt databases into sql. [Skotlex]
  1499. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
  1500. * Updated the sql files since now it's quick [Skotlex]
  1501. 2006/07/24
  1502. * Re-updated the mob_db.sql to latest. [Skotlex]
  1503. * Cleaned up the skill_landprotector function to correctly block only magic
  1504. skills from being placed on land protectors. [Skotlex]
  1505. * Corrected itemdb_group so that it will not return the random item givers
  1506. (should give priority to actual item groups, so that the item heal bonuses
  1507. work correctly) [Skotlex]
  1508. * Cleaned up the Mistress Card related code so that the no-gemstone bonus
  1509. reduces item requirements by one rather than totally skip them. [Skotlex]
  1510. * Cleaned up the logs "can log"function to use the IT constants. Also
  1511. corrected the "only log large amounts" setting not working on negative
  1512. values (trades). [Skotlex]
  1513. * Adjusted skill_castfix_sc so that Suffragium will get consumed even on
  1514. instant cast skills, but Memorize won't. [Skotlex]
  1515. * BladeStop will now end when either of the characters is moved (knocked
  1516. out?) around. [Skotlex]
  1517. * Moved the Zeny penalty code from respawn to pc_dead. [Skotlex]
  1518. * Added a check to prevent Deluge/Volcano/Violent Gale from being placed on
  1519. top of each other. Reverted the previous 'fix' where atk was being
  1520. increased based on armor element rather than element of attack. [Skotlex]
  1521. * Removed the noreturn mapflag check from script command warp. [Skotlex]
  1522. * Homuculus cleanup [DracoRPG]
  1523. - Replaced nullpo's in parse functions by silent checks
  1524. - Removed server-side effect for menu option 0 (view status window...
  1525. why does the client send us the packet since we don't care? -_-)
  1526. - Rewrote intimacy underflow checks so they are really effective (no
  1527. need to check if an unsigned is < 0, it won't work... check before!)
  1528. * fixed unban unblocking players as well. [Skotlex]
  1529. * Fixed Volcano/Deluge/Violent Gale increasing damage based on element of
  1530. attack instead of defense element of attacker. [Skotlex]
  1531. * Cleaned up the code of Magic Rod, fixed it not giving SP. [Skotlex]
  1532. * Moved the code of Hermod and Basilica to castend_pos2 so it should work
  1533. now. [Skotlex]
  1534. * Modified the code of Ankle Snare so the status ends on unit's time-limit
  1535. rather than when the snared object moves away. [Skotlex]
  1536. * Re-worded the water check of ST_WATER skills. [Skotlex]
  1537. * Allowed sc-cast reductions to be processed even when cast-time is instant
  1538. (to let suffragium end even on instant-cast skills) [Skotlex]
  1539. 2006/07/23
  1540. * Modified setting skillrange_by_weapon (skill.conf) to be a
  1541. per-object-type setting instead of yes/no. The default now is that
  1542. weapon-based skills will take the attacker's range for non-players.
  1543. [Skotlex]
  1544. * Changed the default of skillrange_by_distance to include homunculus.
  1545. [Skotlex]
  1546. * Fixed buildin_isequip not working correctly with non-cards. [Skotlex]
  1547. 2006/07/22
  1548. * Updated mob_db.sql to latest. [Skotlex]
  1549. * Applied Toms's suggested corrections to homun code. [Skotlex]
  1550. * Corrected Cannibalize/Marine Sphere ignoring the selected summon spot.
  1551. [Skotlex]
  1552. * Fixed looting pets ignoring the item pick-up priority of other players.
  1553. [Skotlex]
  1554. * Should have fixed a signess warning in login txt. [Skotlex]
  1555. 2006/07/21
  1556. * Added blocking of @me when muted or in berserk status. [Skotlex]
  1557. * Corrected the @follow timer not being deleted on logout. [Skotlex]
  1558. * Applied the homunculus code fixes provided by Toms. [Skotlex]
  1559. * battle_check_target will now tag homunculus as invalid target when the
  1560. source is a skill-type object. [Skotlex]
  1561. * Added a check on pc_equipitem so that when the client specifies to equip
  1562. a weapon on the right hand when the left hand is available, the weapon will
  1563. be sent to the left hand instead (when dual-wielding is possible,
  1564. obviously). Same for the left/right accessories. [Skotlex]
  1565. * Added the necessary checks so that Suiton makes Fogwall have double
  1566. duration, and to make water-requiring skills to consume their cells.
  1567. [Skotlex]
  1568. * Corrected the loadmap event description to specify that the mapflag
  1569. required is actually "loadevent", NOT "loadmap"! [Skotlex]
  1570. * Now when the char-txt server does not finds a requested party, it will
  1571. clear out said party id of all characters (will help prevent massive
  1572. spamming/overhead when for some reason the party file needs to be deleted).
  1573. [Skotlex]
  1574. * Combo skills (inf = self, inf2 = no target self) no longer check range if
  1575. you use them while your attack-timer is still active. [Skotlex]
  1576. * Added back a map_freeblock call in skill_delunitgroup which caused a
  1577. memory leak when removed... [Skotlex]
  1578. * Added a check to prevent Blind from ending while standing on a fog of
  1579. wall. [Skotlex]
  1580. * The mob Slave ai will be executed now even when the slave has a target.
  1581. This will allow for "instant" warping to the master when it changes maps or
  1582. teleports. if the slave has a target already, it won't unlock it and chase
  1583. back to the master or anything like that. [Skotlex]
  1584. * Removed a couple of checks that prevents item ids above 20000. However,
  1585. remember that the max id is still ~32k or the client is the one who's gonna
  1586. crash! [Skotlex]
  1587. 2006/07/20
  1588. * Added source reporting when you do an invalid int&str or str&int
  1589. operation on a script. [Skotlex]
  1590. * Fixed the intif party creation packet having the incorrect size sent,
  1591. hence causing the leader's level to be read as garbage (which caused the
  1592. "impossible to even share" bug). [Skotlex]
  1593. * Added pc_check_weapontype to do a proper skill weapon check that takes
  1594. into account dual-wielding. That is, if a skill can be used with
  1595. daggers/axes, you'll be able to use the skill when dual-wielding them.
  1596. [Skotlex]
  1597. * Corrected Cloaking level 1-2 not letting you move across walls. [Skotlex]
  1598. * updated cloaking code so that when you set "enable cloaking without
  1599. walls", the code will consider you as "always next to a wall", thus you get
  1600. the wall-speed bonus always. [Skotlex]
  1601. * Applied the fix to homunculus name saving... [Skotlex]
  1602. * Added battle config settings agi_penalty_target and vit_penalty_target,
  1603. they define which object types will get vit/flee reductions when
  1604. multi-targetted and defaults to only players (battle/battle.conf) [Skotlex]
  1605. * Added the dummy intravision case for the changeoption packet 0x229
  1606. [Skotlex]
  1607. * Corrected Fog of Wall so that all targetted offensive skills (not only
  1608. those who do damage) will fail on cast-end 75% of the time. [Skotlex]
  1609. * corrected @homlevel up and one entry in the homun exp table as reported
  1610. on the forums by Albator. [Skotlex]
  1611. * Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
  1612. * Added a status_check_skilluse on skill_attack_area call to prevent splash
  1613. damage skills from hitting hidden/trickdead/etc characters. [Skotlex]
  1614. * Corrected fog of wall to behave as best known currently: [Skotlex]
  1615. - Only takes effect when targetting a character inside it
  1616. - -50hit/-75% damage when using normal-ranged attacks
  1617. - -25% damage from all damage skills
  1618. - 75% chance of all targetted damage skills of failing.
  1619. * Should have fixed @refine applying multiple times to equipment that uses
  1620. multiple equip slots. [Skotlex]
  1621. 2006/07/19
  1622. * Fixed the inf code update breakage which was blocking all offensive
  1623. skills. [Skotlex]
  1624. * Added battle setting homun_critical_rate (defaults to 0) [Skotlex]
  1625. * Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
  1626. enable_perfect_flee which specifies which objects can have perfect flee and
  1627. enable_baseatk which specifies which objects can have a base attack value
  1628. (both in battle.conf) [Skotlex]
  1629. * Modified the targetted skill logic to enable offensive skills to be
  1630. targetted at party/guild members if the appropiate inf2 value is set.
  1631. [Skotlex]
  1632. * Added checks to make adding items to inventory/cart fail when a char is
  1633. in finalsave state. [Skotlex]
  1634. * Fixed parse_names on irc.c crashing when receiving a null argument.
  1635. [Skotlex]
  1636. * Modified the parsing of the names line, since some servers will send @
  1637. instead of = when separating the information. [Skotlex]
  1638. * Fixed the homun creation sql statement. Why noone else did so before?
  1639. [Skotlex]
  1640. * When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it
  1641. will use clearchar and spawn packets instead of changeoption. Thanks to
  1642. Toms for the fix. [Skotlex]
  1643. * Corrected Trim chars to block 'enter', as explained by the Ultra mage.
  1644. [Skotlex]
  1645. * When the client passes account version 0, the login server will set it to
  1646. 1 now. [Skotlex]
  1647. * Corrected the HP bar scaling when HP is above Short Max. It should
  1648. display fine for any HP value now. [Skotlex]
  1649. * Added a check when the mob's adelay is shorter than the amotion, in which
  1650. case the adelay will be changed to the amotion value. [Skotlex]
  1651. * Some minor mapflag changes. [MasterOfMuppets]
  1652. 2006/07/18
  1653. * Added atcommand @partyoption, lets you alter the party item-distribution
  1654. type on the go. Usage is "@partyoption <pickup share> <item distribution>",
  1655. where both arguments can be 0/1, yes/no, etc. [Skotlex]
  1656. * Updated @changeleader and @partyoption to use msg_Athena entries.
  1657. [Skotlex]
  1658. * Added character 013 (enter) to the list of characters that are always
  1659. removed from new character names. [Skotlex]
  1660. * Fixed a crash when trying to extend TK's infinite combo feature. [Skotlex]
  1661. * Corrected Poison React to counter regardless of distance, and to use the
  1662. skill's 50+5*lv% counter chance (instead of 100%). [Skotlex]
  1663. * Corrected Venom splasher's splash damage [Skotlex]
  1664. * You now can't move/attack/use-skills when using Cloaking of a level less
  1665. than 3 [Skotlex]
  1666. * Fixed compilation of mercenary.c [Skotlex]
  1667. * Corrected Fog of Wall's "targetted spells fail 75% of the time" feature
  1668. by making it behave like GTB, that is, you just get a skill-failed on
  1669. cast-end, no skill-animation at all. [Skotlex]
  1670. * Added a proper check to make aggressive mobs never override homun targets
  1671. regardless of distance. [Skotlex]
  1672. * Removed a bunch of homun-related variables that are not needed at all.
  1673. The alive condition is removed, now the code checks for the hp value to
  1674. know if the homun is alive or not. [Skotlex]
  1675. * Cleaned up a bit the skill-id function, homun skill checks (such as delay
  1676. and skill-lv learned) should be correct now. [Skotlex]
  1677. * Added a proper check to make aggressive mobs never override homun targets
  1678. regardless of distance. [Skotlex]
  1679. * Fixed giving the 100% damage bonus when no-splash-targets are found in
  1680. the blown path to Grandcross instead of Bowling Bash. Bowling Bash damage
  1681. equation becomes then +50*lv% rather than +40*lv% when there's no
  1682. splash-damage (the 50*lv% figure is custom, all we know is that level 10
  1683. does 600% instead of 500% damage). [Skotlex]
  1684. 2006/07/17
  1685. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  1686. * The char-server will allow off-line character saves when said char is
  1687. tagged for final-save (this is the scenario when the char-map reconnect).
  1688. [Skotlex]
  1689. * Should have fixed the Cart Termination damage code to be scaled correctly
  1690. when you change the max cart weight. Thanks to The Ultra Mage for the error
  1691. clarification. [Skotlex]
  1692. * Implemented Grandcross weird property where if there's noone on the path
  1693. it'll hit twice for the skill's reported damage, and when there is (or you
  1694. can't knockback the target) it'll do a splash attack that hits twice for
  1695. 500% to all affected targets. [Skotlex]
  1696. * Some cleaning of the combo code. TK Rankers will now get their combo-time
  1697. extended each time they trigger a kick, enabling them to do "unlimited
  1698. combos". [Skotlex]
  1699. * Modified the autosave function to use a sweep across the player db
  1700. instead of across connected clients. This will cause non-connected players
  1701. (like autotraders) to also be saved on a regular interval, may help with
  1702. possible data-loss from said characters on unclean shutdowns. [Skotlex]
  1703. * Removed the code that forces aggressive mobs to go after a Homun instead
  1704. of their master (no reason why there should be such a condition). [Skotlex]
  1705. * Some sign quest map flag updates [MasterOfMuppets]
  1706. * atcommand_follow is now more verbose. [Adam]
  1707. * Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
  1708. * Orn's fix to the very critical skill level up bug [DracoRPG]
  1709. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  1710. * Added Orn's lil fix on homun [Vicious]
  1711. * Added Homunculus system, enjoy! [orn aka Nylou]
  1712. - WARNING: This currently only works with the SQL version, as the TXT char-server
  1713. has no code for it at the moment. You TXT server won't break, but the char-server
  1714. will complain of an unknown packet if you try to get an Homunculus
  1715. * Updated nomemo mapflags based on info from http://ro.doddlercon.com/images/memo.jpg [Poki#3]
  1716. 2006/07/15
  1717. * Small change in conf/battle/player.conf to say that 199 is max aspd allowed
  1718. (Haplo says that there are many reports of having over 200 is giving errors) [Evera]
  1719. 2006/07/13
  1720. * Kaahi no longer shows the heal effect to everyone. [Skotlex]
  1721. * Eska no will cause defense to change randomly every second. [Skotlex]
  1722. * Tuned up some more NJ_KAENSIN based on Tharis's information. [Skotlex]
  1723. * Corrected NJ_KAENSIN as per description. [Skotlex]
  1724. * Fixed a leaking map_freeblocklock on skill_del_unitgroup. [Skotlex]
  1725. * Changed the default save interval to 5 minutes. Added support for
  1726. specifying fixed save-intervals by using negative values. [Skotlex] EG:
  1727. - Save interval set to 300 (5 minutes): all characters will be saved in
  1728. equal time-slots, so that everyone is saved every 5 minutes regardless of
  1729. number of players online.
  1730. - Save interval set to -1000 (1000 ms): One character will be saved every
  1731. second, regardless of amount of characters online.
  1732. The new fixed-time-slots method is meant for larger servers, so that they
  1733. can control the saving-induced stressed on the char-server.
  1734. * Fixed @storeall and @charstoreall failing when the target character
  1735. already had the storage open. [Skotlex]
  1736. * Reverted temporarily the Cart Termination equation until it can be
  1737. fixed... [Skotlex]
  1738. * Fixed script command "recovery". [Skotlex]
  1739. 2006/07/12
  1740. * Fixed a small typo in my code [Zido]
  1741. * Added negative value in bonus exploit fix for more stat bonuses [Zido]
  1742. * Fixed exploit in pc_bonus there are no checks that check that the value being
  1743. added onto a status don't make it go below zero, which means if you have a mineral
  1744. card and reset stats it reduces your base attack to lower than zero, making it
  1745. go up to 64000. Fixed by adding a check for SP_BASE_ATK, although i recommend
  1746. doing it for other status bonuses also [Zido]
  1747. * Recoded NJ_BAKUENRYU to behave as I understand it best from the
  1748. skill-description (since Haplo told me this skill doesn't really has video
  1749. information or anything...) [Skotlex]
  1750. * Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path"
  1751. calls. The skill should be working correctly now, except for the fact that
  1752. the correct "unit id" is missing (this is what would give the ground tile
  1753. it's correct display). Temporarily it is using 0xba until the correct value
  1754. is found. [Skotlex]
  1755. * Added back the undead check to turn undead/resurrection to prevent
  1756. damaging non-undead targets, removed it from the battle damage section.
  1757. [Skotlex]
  1758. * Resurrection will now silently fail when used on non-undead + not-dead
  1759. characters. [Skotlex]
  1760. * Poem of bragi/magic String's base delay reduction at level 10 (or above)
  1761. is now 50% instead of 3*lv%. [Skotlex]
  1762. * status_damage will no longer fail when the target is not on a map AND the
  1763. flag is 2 (charge rather than damage). Fixes SP-draining status changes
  1764. ending suddenly when in-between maps. [Skotlex]
  1765. * Fixed the IP value being apparently incorrectly casted before inserting
  1766. into the loginlog table on "connect success" events. [Skotlex]
  1767. * Fixed Cart Termination's damage. [Skotlex]
  1768. * Added the missing check to remove character from memory when logging out
  1769. and using the charsave_method which saves character map-server-side.
  1770. [Skotlex]
  1771. 2006/07/11
  1772. * Fixed inverted check which was preventing you from buying more than 1
  1773. from any stackable item.... [Skotlex]
  1774. * Should have fixed the crash in intif gm message... [Skotlex]
  1775. * Fixed GTB card only working while you had a status-change active.
  1776. [Skotlex]
  1777. * Fixed being unable to compound cards in armor. [Skotlex]
  1778. * Made @monsterignore be an universal ignore. Means you cannot be targetted
  1779. as an enemy by anything. Also added alias "@battleignore" which does the
  1780. same as monsterignore. [Skotlex]
  1781. * Fixed magic power setting your min matk as max-matk. [Skotlex]
  1782. * Modified the packets involved in @fakename in hopes it'll refresh
  1783. correctly on nearby clients now. [Skotlex]
  1784. * Fixed clif_parse not checking for func_parse before sending data to the
  1785. connected clients. This in turn required various code-rewrites in: [Skotlex]
  1786. - duel related messaging functions (added clif targets DUEL/DUEL_WOS).
  1787. - intif whisper to gm function
  1788. - day/night timers
  1789. - Rewrote the parse_console function to stop allocating/deallocating memory
  1790. on every call.
  1791. - Modified chrif_charselectreq to receive the player's ip among the data.
  1792. * Added function clif_disp_message, which is the same as
  1793. clif_disp_onlyself, except you can specify the targets (it sends a
  1794. guild-chat packet) [Skotlex]
  1795. * Fixed the subele bonus (elemental reduction) being applied to the element
  1796. of the attacker instead of the element of the attack. [Skotlex]
  1797. * mob skills now won't trigger on unit_stopwalking calls. [Skotlex]
  1798. * Coded @reset. [Skotlex]
  1799. * Reenabled @changesex [Skotlex]
  1800. * Added function pet_create_egg which handles creating pet eggs correctly
  1801. (when passed item id is indeed a valid petegg). Applied this on @createitem
  1802. and getitem. [Skotlex]
  1803. * Cleaned up code of @item [Skotlex]
  1804. * Cleaned up the itemdb_isequip functions. itemdb_isequip will now return
  1805. if the item is equipable by players, itemdb_isstackable returns if the item
  1806. can be stacked, and itemdb_isidentified returns if the item should drop
  1807. identified. [Skotlex]
  1808. * Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given
  1809. item has "invalid" cards, added define function itemdb_isspecial to
  1810. simplify this check. [Skotlex]
  1811. * Removed itemdb.c considering item ids above 20000 as invalid. [Skotlex]
  1812. * Cleaned up script commands getitem and card-counting related ones.
  1813. [Skotlex]
  1814. * Cleaned up a bit more pc_isequip [Skotlex]
  1815. * Added script function warpportal(x,y,targetmap$,targetx,targety).
  1816. This creates warp portals as in the skill unit as a volatile alternative
  1817. to static warp portals. [blackhole89]
  1818. * Modified the login-sql server to do the ip-ban check only on the
  1819. auth-packets instead of on every packet. [Skotlex]
  1820. 2006/07/10
  1821. * Corrected Warp Portal being unable to warp people who are standing on it
  1822. on the moment it triggers. [Skotlex]
  1823. * Fixed @follow stopping the moment you are warped. [Skotlex]
  1824. * Fixed pc_additem messing with the equip field of the passed item data.
  1825. Fixes the famous "equip stuff on your arrow slot" bug. [Skotlex]
  1826. * Fixed cart-termination crashing the server if you used level 16 of it.
  1827. [Skotlex]
  1828. * Fixed check_connect_login_server check in char-sql server. Fixes
  1829. char-server not reconnecting to the login server. [Skotlex]
  1830. * Login-sql server will no longer change an account's state to "7" when
  1831. banning a player. This should fix being able to use @ban to clear out a
  1832. @blocked player. Players will now be identified as banned only through the
  1833. banned-until timestamp. [Skotlex]
  1834. * Fixed a crash when using Gospel... [Skotlex]
  1835. * The on-place function won't be invoked on setting ground skills if the
  1836. group's tick is greater than the current tick. As Buuyo pointed out, this
  1837. should fix Sanctuary and Gospel taking effect inmediately instead of after
  1838. "x" amount of ms as they should. [Skotlex]
  1839. * Added login-char packet 0x2737. Sets all characters offline (login-server
  1840. side). [Skotlex]
  1841. * Cleaned up char server "set all offline" implementation to remove only
  1842. characters from the map-server from which the packet was invoked. It will
  1843. also now correctly kick/set-character offline from the map-server if they
  1844. are connected. [Skotlex]
  1845. * Cleaned up the char-sql reconnect code. It no longer sets everyone to
  1846. offline. [Skotlex]
  1847. * Removed setting "kick_on_disconnect", servers will no longer kick
  1848. characters out when there's a disconnection. Instead, it'll use the most
  1849. logical approach: Set characters into a "lost" state when there's a
  1850. disconnection, on reconnect, resent the list of online-characters, do a
  1851. sync, and let the difference be characters to be removed. Also, the
  1852. map-server won't release character data until it's saved and the ack
  1853. returns from the char-server to prevent data loss (all this data is resent
  1854. on reconnect for saving anyway). [Skotlex]
  1855. * Added a check in pc_equipitem so that when switching weapons and you have
  1856. the skill_range_by_weapon setting active, the skill info block (which
  1857. includes range) will be resent when the new weapon to equip has a range
  1858. different than the previous one. [Skotlex]
  1859. * One closer inspection, removed that clear in itemdb_reload for a foreach
  1860. call again. And modified itemdb_load to scrap the dummy item entry from the
  1861. item_db and replace it with proper data for the item. [Skotlex]
  1862. * itemdb_reload will clear the itemdb before reloading info instead of only
  1863. clearing the scripts now. [Skotlex]
  1864. * Some cleaning of skill_castend_pos2, fixed Gospel, and a
  1865. map_freeblock_unlock misplacement. [Skotlex]
  1866. * Sense/Estimation will now display the mob info window to all party
  1867. members in the same map. [Skotlex]
  1868. 2006/07/08
  1869. * Fixed the new addeff structure not working well with SC_STONE (because
  1870. SC_STONE is 0, which was by default not handled as a valid value).
  1871. [Skotlex]
  1872. * Added back the TF_MISS walking speed bonus to assassin type classes (how
  1873. did that got lost?) [Skotlex]
  1874. * Fixed mobinfo displaying exp as signed ints rather than unsigned.
  1875. [Skotlex]
  1876. * Added status_check_visibility to check if an object is within range of
  1877. view of another. Nothing more, nothing less. It's used by unit movement to
  1878. check whether you can continue chasing your target or not when the "chase
  1879. target" directive is given. [Skotlex]
  1880. * Fixed the char table having party/guild_id as smallint when they need int
  1881. there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
  1882. [Skotlex]
  1883. * Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
  1884. [Skotlex]
  1885. * Fixed endow skills calling the skill no damage packet twice. [Skotlex]
  1886. * Fixed a crash on warpwaitingpc when the chat-room is empty. [Skotlex]
  1887. 2006/07/07
  1888. * Fixed the Warm Skills [Skotlex]
  1889. * Removed the debug message when a player logs out and is removed from
  1890. memory, it is working fine (tested normal logging off and autotrade). [Skotlex]
  1891. * Corrected the pet-armor field of the pet not being updated on
  1892. equip/unequip of accessories, making them not show up inmediately. [Skotlex]
  1893. * Status_calc_bl will no longer stop you from attacking/walking when the
  1894. mode is changed unless the new mode no longer includes
  1895. "can-attack"/"can-move" respectively. [Skotlex]
  1896. * Should have fixed clif_item_sub to properly store pet egg/armor data.
  1897. There should be no more "random refine levels" bugs related to these.
  1898. [Skotlex]
  1899. * itemdb_exists will now return NULL for item_id 0. [Skotlex]
  1900. * Added a check to free a character from memory when changing map servers.
  1901. [Skotlex]
  1902. * Okay, added a chrif_save_ack packet to the char-server so now the map
  1903. server will know once a character was "final saved", and only then the
  1904. character will be removed from memory. On char-server reconnection, all
  1905. chars that are in final-save state are resent to save (if they are still in
  1906. memory, it's because the ack hasn't gotten here from the char-server). This
  1907. should effectively block all dupe problems due to heavy inter-server lag,
  1908. however as it's untested, it currently prints some debug messages when
  1909. people are saved and then removed from memory. Need testers so this can be
  1910. debugged and merged to stable! [Skotlex]
  1911. * Now, when the login-char connection is cut, the char-server won't set
  1912. everyone offline on reconnect, instead it will send the list of online
  1913. accounts to the login server. [Skotlex]
  1914. * Modified the error on the char-sql server to set chars online when it
  1915. receives a save packet from a character tagged as offline (until it can be
  1916. figured out why this is happening) [Skotlex]
  1917. * Fixed signed/unsigned comparison issues in the char txt/sql server.
  1918. [Skotlex]
  1919. * Fixed the cooking success chances. Thanks to Ishizu Chan. [Skotlex]
  1920. * Added a temporary band-aid to prevent executing the script of non-arrows
  1921. when they are equipped on the arrow-slot (until the actual cause of why
  1922. pc_unequipitem is not working correctly is discovered/fixed) [Skotlex]
  1923. 2006/07/06
  1924. * Modified the party_data structure on the map server to remove some
  1925. redundant data. Added a party_data structure on the char-server to hold a
  1926. more complete set of information about parties. Added to the party_member
  1927. structure the class of each member so that the map server can do the
  1928. appropiate checks even if the character is on another mapserver/offline.
  1929. Due to the format changes in the party structure, txt servers will have to
  1930. wipe their party file... (sql save format has not been changed) [Skotlex]
  1931. * Added function char_family to check if there's a family state given the
  1932. three character ids, instead of doing individual checks all the time.
  1933. [Skotlex]
  1934. * Rewrote all the item restriction functions so that they will take into
  1935. account slotted card restrictions as well. [Skotlex]
  1936. * Added no_skill_delay setting, when set, affected object types will have
  1937. the minimum skill delay for all skills. Defaults to mobs, since they
  1938. don't have skill delays. [Skotlex]
  1939. * Cleaned up pc_equipitem. When dual wielding or equipping accessories, if
  1940. the client actually specifies one of the two positions, it will be taken
  1941. into account (now, does the client actually does this?) [Skotlex]
  1942. * Fixed GrandCross and similar skills. [Skotlex]
  1943. * FogWall will now also affect the caster. [Skotlex]
  1944. 2006/07/05
  1945. * Updated NJ_KAENSIN by Saycyber21 [Vicious]
  1946. * Updated @refine to take account of MAX_REFINE, thanks to Omega... GM
  1947. Designer. [Skotlex]
  1948. - Also optimized the @refine loop for better performance.
  1949. 2006/07/04
  1950. * Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
  1951. * Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
  1952. * Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
  1953. 12*(cooking set-lv)%. Exception: When using the legendary cooking set,
  1954. success chance is 100% regardless of dish. [Skotlex]
  1955. * Added battle config setting emergency_recall, specifies behaviour of that
  1956. skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 -
  1957. Can be used everywhere. [Skotlex]
  1958. * Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can
  1959. come out or not is entirely decided by the abra db file now. [Skotlex]
  1960. * Added structure s_addeffect to handle status change additions. Cleaned up
  1961. relevant code. It is now possible to specify ANY status change, not just
  1962. the basic ones. NOTE that the code is proof-read, but untested! [Skotlex]
  1963. * Added support for bonus3 bAddEff/bAddEffWhenHit as follows: [Skotlex]
  1964. bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  1965. Target flag is 0: Self. 1: Enemy. 2: Both.
  1966. * Added these descriptions to doc/item_bonus.txt [Skotlex]
  1967. * Added a check when joining a chat to make sure the target object is of
  1968. type BL_CHAT. [Skotlex]
  1969. 2006/07/03
  1970. * Cleared up the bAutoSpellWhenHit description in doc/item_bonus.txt
  1971. [Skotelx]
  1972. * Fixed Phantasmic Arrow and Magical Bullet not being correctly tagged as a
  1973. ranged arrow-type attack. [Skotlex]
  1974. * Updated help.txt and help2.txt, thanks to Inuyasha for providing the
  1975. updated files. [Skotlex]
  1976. * Char-server SQL won't perform the reconnect cleanup routines when
  1977. kick_on_disconnect is disabled. [Skotlex]
  1978. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  1979. setting now only makes the attacks of the slaves trigger the autospells of
  1980. the master (as it should be). [Skotlex]
  1981. * Corrected code capping no_spawn_on_player to 50 when the max should be
  1982. 100. [Skotlex]
  1983. * Warmth will dispel when warping now (or else the effect is left on the
  1984. ground) [Skotlex]
  1985. * Fixed reading of the refine_db not working right when MAX_REFINE is
  1986. increased from 10. [Skotlex]
  1987. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  1988. * Fixed a compile warning in login sql/txt [Skotlex]
  1989. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  1990. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  1991. [Skotlex]
  1992. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  1993. [Skotlex]
  1994. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  1995. skills. [Skotlex]
  1996. 2006/06/30
  1997. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  1998. * Added a check to prevent equipped items from being traded. [Skotlex]
  1999. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  2000. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  2001. cells. Beware of potential bugs as it's untested. [Skotlex]
  2002. * Added mapflag "nochat" to prevent chatting rooms from being created.
  2003. [Skotlex]
  2004. * Corrected some of the sleep checks when the char id does not matches with
  2005. the char-id expected by the script engine. [Skotlex]
  2006. * Cleanup in itemheal related code, fixed the item heal group bonus not
  2007. working on Groups beyond 7. [Skotlex]
  2008. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  2009. 2006/06/29
  2010. * Made the map server send list of characters online to the char-server on
  2011. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  2012. temporary disconnection would make the char-server tag all characters
  2013. offline and refuse to save them afterwards. [Skotlex]
  2014. * Fixed guild storage being "eternally in use" if you quit/logout before
  2015. closing it. [Skotlex]
  2016. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  2017. [Skotlex]
  2018. * [Fixed]
  2019. - Scripting system screwing up script position after mixing timers with menus.
  2020. - NPC attached AI mobs display as alive when dead.
  2021. - View data not updating after buildin_unitdeadsit.
  2022. [Improved]
  2023. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  2024. - Simplified scripting system. sd will now use pointer to the script state itself.
  2025. [Lance]
  2026. 2006/06/28
  2027. * changed:
  2028. dynamic_pass_failure_ban_how_many:from 3 to 7
  2029. dynamic_pass_failure_ban_how_long:from 60 to 5
  2030. as in official servers. [Musashiden]
  2031. * Added a check in script command "set_option" so that invoking
  2032. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  2033. * Added trade-range check on trade start. [Skotlex]
  2034. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  2035. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  2036. to be used on enemies. [Skotlex]
  2037. * Cleaned up a bit the code for @item [Skotlex]
  2038. * Fixed character/storage being sent to be saved TWICE when you logged out
  2039. while the storage is opened. [Skotlex]
  2040. * Added save_settings map config. Specifies after which events do
  2041. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  2042. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  2043. [Skotlex]
  2044. * Changed the mob drop rate adjust function to receive a signed int
  2045. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  2046. * Corrected Musical Strike having a different damage equation from Throw
  2047. Arrow. [Skotlex]
  2048. * Added state rewarp to players. It gets set when a pc_setpos call is
  2049. triggered while the player is changing maps so that when the player finish
  2050. loading the map, it is inmediately rewarped to where it has been
  2051. rewarped/recalled to. [Skotlex]
  2052. 2006/06/27
  2053. * Map server will now resent the whole list of online characters to
  2054. char-server on reconnect when the kick_on_disconnect setting is active.
  2055. [Skotlex]
  2056. * Cleaned up and optimized the IP sync code. New login_athena config
  2057. setting sync_ip_interval specifies how often to sync the ip. The default is
  2058. 0 (disabled). [Skotlex]
  2059. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  2060. on maps with this mapflag on, rather than every map. [Skotlex]
  2061. * High Jump can now be used in all versus maps. [Skotlex]
  2062. * Added Kaite's opt3 value, taken from jA [Skotlex]
  2063. * Added state dirty == 2 to storages. Signals when a storage was sent for
  2064. final saving. Said storage is removed from memory after the ack from the
  2065. char-server, and they are sent to save if the map/char servers reconnect
  2066. before the ack arrives. In short: they are guaranteed to be saved after a
  2067. char logs out. [Skotlex]
  2068. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  2069. 2006/06/26
  2070. * Corrected the element of hunter traps. [Skotlex]
  2071. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  2072. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  2073. [Skotlex]
  2074. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  2075. * Rough implementation of Ground Drift according to description and jA
  2076. info. [Skotlex]
  2077. * Implemented Tatami Gaeshi using skill description and jA implementation
  2078. for reference. [Skotlex]
  2079. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  2080. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  2081. Meruru for pointing out they aren't being used anymore. [Skotlex]
  2082. * Autospells will now again check for the skill's nk value, so that skills
  2083. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  2084. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  2085. equipment (fixes them showing up "broken" and with random refine levels)
  2086. [Skotlex]
  2087. * [Added]:
  2088. - buildin_unitkill just for kicks. [Lance]
  2089. 2006/06/23
  2090. * [Optimized]:
  2091. - Setting of variables with defined scope in some frequently executed script
  2092. events.
  2093. [Added]:
  2094. - Missing script_require_trigger flags for some power hungry events.
  2095. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  2096. * Modified pc_setoption so that it will correctly update sprite AND clothes
  2097. color when mounting/unmounting changing into/from xmas/wedding sprites.
  2098. [Skotlex]
  2099. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  2100. to be sold, traded, dropped, etc. [Skotlex]
  2101. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  2102. and before card reductions. The skill now completely disregards left
  2103. hand weapon. [Skotlex]
  2104. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  2105. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  2106. * Cleared up the comment on what item_check does and how it works.
  2107. [Skotlex]
  2108. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  2109. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  2110. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  2111. to forbid skills from common maps. [Skotlex]
  2112. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  2113. * The map search free cell will now use the size of the map # of tries
  2114. before giving up when the spawn area is the whole map. Added a check to
  2115. inmediately give up when the number of spawn retries has reached the max
  2116. specified (no_spawn_onplayer = 100). [Skotlex]
  2117. * Cleaned up a bit the clone code to account for the unit flags
  2118. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  2119. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  2120. * Added pc_bonus_autospell_del, gives support for removing autospell
  2121. effects. When a negative rate is specified, it will decrease the chance of
  2122. casting (eg: You have two different cards with autospell Heal +20% each,
  2123. then do autospell -30. The second card will be cancelled, and the first one
  2124. will become Heal +10%) [Skotlex]
  2125. * npc_timers now will not restore the previous timer data when there's no
  2126. players attached (when it's strictly an npc timer). This should reenable
  2127. the old behaviour of getnpctimer returning the total ellapsed time since
  2128. "startnpctimer" even after the last label has been reached. However, this
  2129. behaviour won't apply to player-attached timers. [Skotlex]
  2130. * [Fixed]:
  2131. - MAPREGSQL overloading SQL table with temperory map registries.
  2132. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  2133. 2006/06/22
  2134. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  2135. This should complete the required packets for PACKETVER 7. [Skotlex]
  2136. * Added support for the PACKETVER 7 packets in the "dummy" current
  2137. intravision implementation. [Skotlex]
  2138. * Fixed @autoloot being off by 0.01% when entering a manual value.
  2139. [Skotlex]
  2140. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  2141. each target is hit N times (where N is the number of mobs in the splash
  2142. area at the moment of triggering). [Skotlex]
  2143. * Updated the tools/stackdump script to also handle sig-plugin generated
  2144. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  2145. the end or not. Help me test it as I want this script on stable NOW :X
  2146. [Skotlex]
  2147. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  2148. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  2149. stackdump as before. [Skotlex]
  2150. * Corrected autoloot so that you can specify rate with decimal precision
  2151. ("@autoloot 0.01" should work) [Skotlex]
  2152. 2006/06/21
  2153. * [Removed]:
  2154. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  2155. * [Fixed]:
  2156. - Compilation warnings and errors.
  2157. [Improved]:
  2158. - Changed and moved IP sync status messages to elaborate more. [Lance]
  2159. * Tested and fixed resolve_hostbyname. Applied said function around most of
  2160. the code where needed. Removed includes for the OS/network system pretty
  2161. much from every file (our socket.c file should handle this) [Skotlex]
  2162. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  2163. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  2164. [Skotlex]
  2165. * status_percent_change will now account for when the target's max hp/sp is
  2166. above INT_MAX. [Skotlex]
  2167. * [Added]:
  2168. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  2169. 2006/06/20
  2170. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  2171. really ARE the same value clientside! (totally stupid), therefore I've
  2172. opted from removing the flying animation since it really just displays as
  2173. Xmas for others (and the correct fix involves adding a bunch of
  2174. class-change packets...) [Skotlex]
  2175. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  2176. Fling. [Skotlex]
  2177. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  2178. in skill_check_condition, fixed the skill so that it's damage is based on
  2179. whatever zeny is specified in skill_require_db. [Skotlex]
  2180. * Can-act delay will not be reset when warping now. [Skotlex]
  2181. * Fixed Quagmire not altering walking-speed. [Skotlex]
  2182. * Silence now blocks skills both on begin/end casting. [Skotlex]
  2183. * Updated status_calc_bl so that when walking speed changes, the character
  2184. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  2185. 2006/06/19
  2186. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  2187. * Combo-used Skills with State "move_enable" will now override the "can't
  2188. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  2189. * Some more cleanups of battle_calc_damage to account for absorbed damage
  2190. reductions. [Skotlex]
  2191. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  2192. Now we are back to where the skill animation does not shows, but you DO
  2193. get SP T.T' [Skotlex]
  2194. * Some cleanups and corrections in battle.c to account for negative
  2195. (absorbed) damage. [Skotlex]
  2196. * Fixed fame-list updating crashing char-sql server when the given char-id
  2197. just got into ranking. [Skotlex]
  2198. * Added missing Arunafeltz maps with information from NLZ [Evera]
  2199. 2006/06/18
  2200. * [Fixed]:
  2201. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  2202. filling the SkillStatusChangeTableArray with junk data.
  2203. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  2204. - Typo in parse_frommap. [Lance]
  2205. * [Fixed]:
  2206. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  2207. * [Temperory Fixed]:
  2208. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  2209. * [Removed]:
  2210. - Large part of scripted mob control commands are removed.
  2211. - Large part of scripted player control commands are removed.
  2212. - Scripted mob slaves changing master ID.
  2213. [Added]:
  2214. - Unit control commands.
  2215. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  2216. - Macro RECURSIVE_MASTER_CHECK in battle.c
  2217. [Modified]:
  2218. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  2219. and buildin_unitskillusepos.
  2220. - md->callback_flag to short (double word). [Lance]
  2221. 2006/06/17
  2222. * Devotion absorbed damage will now appear to come from oneself (instead of
  2223. the original attacker changing directions towards the Crusader) [Skotlex]
  2224. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  2225. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  2226. someone logs out <.< [Skotlex]
  2227. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  2228. * [Added]:
  2229. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  2230. [Improved]:
  2231. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  2232. - mob_script_callback to return sucess value [Lance]
  2233. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  2234. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  2235. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  2236. 2006/06/16
  2237. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  2238. lost) [Skotlex]
  2239. * Corrected @speed to alter your base speed instead of battle one. Means
  2240. the change remains for much longer (until status_calc_pc is invoked, which
  2241. could be due to equipping/unequipping stuff) [Skotlex]
  2242. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  2243. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  2244. damage be reduced by half. This bonus stack, so two cards with
  2245. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  2246. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  2247. specifies the threshold before the bNoMagicDamage starts blocking support
  2248. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  2249. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  2250. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  2251. * Removed db_tables.sql as it's no longer used. [Skotlex]
  2252. * the mvp_sd is removed when the mob is the emperium and there's no
  2253. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  2254. event from triggering and giving the castle to whoever damaged the most the
  2255. emperium without destroying it. [Skotlex]
  2256. * [Added]:
  2257. - Custom slave mobs to inherit the callback_flag.
  2258. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  2259. * [Improved]:
  2260. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  2261. 2006/06/15
  2262. * [Fixed]:
  2263. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  2264. [Lance]
  2265. * Added indexes for loginlog and ipbanlist as they did not have any.
  2266. (note, someone already put the index on loginlog on trunk.) [Euph]
  2267. * Merged Adam's patch to let the char-server handle validation of
  2268. pet-name-change requests through the allowed char letters config. [Skotlex]
  2269. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  2270. gear already equipped. [Skotlex]
  2271. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  2272. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  2273. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  2274. options. [Skotlex]
  2275. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  2276. * Corrected chrif_save so that the player is not set offline on map-change.
  2277. [Skotlex]
  2278. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  2279. [Skotlex]
  2280. * Fixed clif_parse_RemoveOption removing all options instead of just
  2281. Falcon/Cart/Peco [Skotlex]
  2282. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  2283. source is not on the map yet. [Skotlex]
  2284. * Fixed and cleaned up script command 'equip' [Skotlex]
  2285. * Fixed 'autoequip' items. [Skotlex]
  2286. * Fixed Aspd not being updated in your status window after Agi/Dex
  2287. increasing statuses take effect. [Skotlex]
  2288. 2006/06/14
  2289. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  2290. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  2291. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  2292. vit; resist += (max - resist)*luk/300; [Skotlex]
  2293. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  2294. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  2295. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  2296. array to fill in. [blackhole89]
  2297. * Blocked again skill usage during marionette. [Skotlex]
  2298. * Fixed main.sql adding a key on char_id rather than account_id for the
  2299. char table. [Skotlex]
  2300. * Cleaned up character saving in char-sql, it no longer needs to query the
  2301. database to see if the player exists on each char-save, instead it checks
  2302. the received data against the online-players db. No such fix is required
  2303. for char-txt. [Skotlex]
  2304. * Added an error message on the char-server when the received player data
  2305. size does not matches with the expected size (should avoid the crash that
  2306. happens on such a memcpy). [Skotlex]
  2307. * [Improved]:
  2308. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  2309. queries. [Lance]
  2310. 2006/06/13
  2311. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  2312. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  2313. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  2314. * Marionette and Devotion will now check raw distance and ignore obstacles
  2315. and the like. [Skotlex]
  2316. * Added irc_channel_pass setting and prevent crashing when irc server
  2317. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  2318. * [Fixed]:
  2319. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  2320. [Lance]
  2321. * Added support for reading correctly status change data from Guild and
  2322. Homun skills. [Skotlex]
  2323. * Added support for reading Homun skill data (which means the HM skills are
  2324. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  2325. * Oppositions can't be made during WoE now. [Skotlex]
  2326. * Fixed a few compiler warnings from VC [Skotlex]
  2327. * Commented out the Homunculus Skills<->Status Change link which was
  2328. causing some memory corruptions. [Skotlex]
  2329. 2006/06/12
  2330. * [Fixed]:
  2331. - buildin_npcshopitem not allocating extra 1 block of terminator.
  2332. [Added]:
  2333. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  2334. [Lance]
  2335. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  2336. to the player's buffer. [Skotlex]
  2337. * Updated @noask to also tell the user what he has just rejected (added
  2338. msg_athena entries for each of the different requests). Also updated it to
  2339. use clif_disp_onlyself. [Skotlex]
  2340. * Fixed a pair of missing initializers in the clif storage functions.
  2341. [Skotlex]
  2342. * @heal no longer displays a healing animation. Fixes the client believing
  2343. you couldn't be healed more than 32K. [Skotlex]
  2344. * Now you can use any skills (except encore/dancing ones) while under
  2345. Longing for Freeding. [Skotlex]
  2346. * Now you can use any skills while under Marionette Control. [Skotlex]
  2347. * Fixed npc_checknear's distance check returning the opposite of what it
  2348. should (false when the range is correct and viceversa) [Skotlex]
  2349. * Added a warning on item loading when an item is of equippable type but
  2350. has no equippable position. [Skotlex]
  2351. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  2352. * Slaves can summon other mobs now. The only ones who can't do this are
  2353. player summoned mobs. [Skotlex]
  2354. * Merged the following functions for faster processing of items: [Skotlex]
  2355. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  2356. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  2357. clif_itemlist + clif_equiplist = clif_inventorylist
  2358. Note that the changes are a bit substantial and need proper testing!
  2359. * Increased max knockback value support to 25. [Skotlex]
  2360. * [Optimized]:
  2361. - buildin_npcshopitem memory allocation to calculate before reallocating.
  2362. [Lance]
  2363. * Made guild member exp an unsigned int. [Skotlex]
  2364. * Various cleanups to the npc clicking related functions. Should fix quite
  2365. some possible crashes from crafted packets. [Skotlex]
  2366. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  2367. * Added missing update of INT after a buf. [Skotlex]
  2368. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  2369. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  2370. of on the party members. [Skotlex]
  2371. * Modified clif_parse_NpcClicked to handle the different situations with
  2372. different bl-objects (attack on players/mobs, click on npcs or mobs with
  2373. npc attached) [Skotlex]
  2374. 2006/06/09
  2375. * [Fixed]
  2376. - Compilation warnings on guild.c and int_guild.c [Lance]
  2377. * Added structure party_data and party_member_data to the map server to
  2378. hold party-specific required information about parties including
  2379. Monk/TK/SG/SN states and party member count. Family information is still
  2380. missing, and handling of the state should probably be done by the
  2381. char-server, too... [Skotlex]
  2382. * party Hp updates are no longer done each time the Hp is modified, but
  2383. together with the party xy timer. It means HP-bars will be a bit delayed
  2384. before being updated, but packet consumption should be much less during
  2385. heated battles. [Skotlex]
  2386. * Fixed MoM's typo [Vicious]
  2387. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  2388. * [Improved]:
  2389. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  2390. [Lance]
  2391. * [Fixed]:
  2392. - Execution of sleep/sleep2 more than once will hang the script_state.
  2393. [Lance]
  2394. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  2395. back to your last savepoint. [Skotlex]
  2396. * Moved guild_exp_rate from a mapserver battle config setting to a char
  2397. server config. It no longer modifies the total taxed exp as seen on the
  2398. guild information window, but directly modifies the exp that the guild
  2399. earns. [Skotlex]
  2400. * Added an error report and correction when the map server receives a guild
  2401. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  2402. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  2403. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  2404. 2006/06/08
  2405. * Modified guild exp to be an unsigned int rather than a signed one.
  2406. [Skotlex]
  2407. * Fixed @skilltree printing out Unknown job for most targets used.
  2408. [Skotlex]
  2409. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  2410. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  2411. characters. [Skotlex]
  2412. * Modified map_freeblock_unlock so that aFree errors will report the
  2413. file/line that INVOKED the function rather than the function itself.
  2414. [Skotlex]
  2415. NOTE: Do NOT disable the memory manager as that will break this change.
  2416. This change is to be temporarily set until the afree'd error can be
  2417. resolved.
  2418. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  2419. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  2420. [Skotlex]
  2421. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  2422. to hold the speed adjustment value rather than speed penalty (eg: 125
  2423. instead of 25). [Skotlex]
  2424. * Cleaned up status_calc_speed so that speed penalties are correctly
  2425. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  2426. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  2427. 2006/06/07
  2428. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  2429. * Fixed item-skills not showing up on login. [Skotlex]
  2430. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  2431. only on first-login and which ones are required on all map-changes.
  2432. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  2433. sent on map-change (items, cart data and zeny still need to be sent one
  2434. very map-change). [Skotlex]
  2435. * Fixed the mob state not being set to Berserk/Angry correctly after the
  2436. mob reaches the target's location. [Skotlex]
  2437. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  2438. warped between maps when stepping on a npc-warp. [Skotlex]
  2439. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  2440. npc-warp when their current target has switched maps. [Skotlex]
  2441. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  2442. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  2443. * pc_gain_exp now also receives the source of the exp, when said source
  2444. exists, bonuses are applicated as needed. [Skotlex]
  2445. * Added status_kill when capturing a mob, should take care of the mob not
  2446. respawning after caputed. [Skotlex]
  2447. * Fixed item info not displaying the found item id [Skotlex]
  2448. * Fixed item info not displaying the weight value properly. [Skotlex]
  2449. * Adjusted status resistances and durations taking as base Viccious's info
  2450. from the kro guidebook. [Skotlex]
  2451. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  2452. should display the skill animation correctly now. [Skotlex]
  2453. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  2454. [Skotlex]
  2455. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  2456. * Removed char_nick2id from char-sql server as it's no longer needed.
  2457. [Skotlex]
  2458. * Fixed quitting the map server not properly saving the storage before
  2459. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  2460. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  2461. function. [Skotlex]
  2462. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  2463. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  2464. has a 300% base chance reduced by mdef and the like as explained out by
  2465. Tharis. [Skotlex]
  2466. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  2467. target's int. [Skotlex]
  2468. * [Improved]:
  2469. - mob_dead not to remove script controlled monsters with player sprites.
  2470. [Added]:
  2471. - buildin_mobdeadsit :D [Lance]
  2472. * [Fixed]:
  2473. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  2474. mob_damage. Thanks to seahorsix. [Lance]
  2475. * [Fixed]:
  2476. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  2477. * [Optimized]:
  2478. - list and size not being initialized (size get intialized in default: switch case)
  2479. Eliminated default case and initialized list and size at the beginning. [Lance]
  2480. 2006/06/06
  2481. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  2482. to the mobs level up setting. [Skotlex]
  2483. * Removed a piece of code that should no longer be needed due to the
  2484. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  2485. self-skills from being used on others (pets/mobs should be allowed to do
  2486. that) [Skotlex]
  2487. * Added a status_check_skilluse call in Sightblaster to prevent it from
  2488. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  2489. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  2490. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  2491. * The monsters can level up setting will not take effect when the mob's
  2492. level is LESS than their db counter-part (should prevent under-leveling
  2493. causing underflows and semi-immortal mobs) [Skotlex]
  2494. * Fixed mvp-exp calculations being messed up with more than one attacker.
  2495. [Skotlex]
  2496. * Changed the mob exp race bonus so that each player gets their own bonus,
  2497. rather than the killer's bonus applying to everyone. Still not the
  2498. "correct" way, but one step closer to it. [Skotlex]
  2499. * [Fixed]:
  2500. - Allocation of event_list in guild_npc_request_info to aCalloc so
  2501. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  2502. 2006/06/05
  2503. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  2504. * Hopefully fixed changing a mob's class causing them to get all sort of
  2505. stat bonuses due to the mobs-level-up setting. [Skotlex]
  2506. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  2507. to signed char to correctly account for cards with penalties in said stats.
  2508. [Skotlex]
  2509. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  2510. * Added clif_fixpos packets before attacking for the first time to clear
  2511. any position sync issues with the client. [Skotlex]
  2512. * Fixed skill_unitsetting using layout->count for the for instead of
  2513. group->count [Skotlex]
  2514. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  2515. increase dex/agi by 40% per level. [Skotlex]
  2516. * Fixed char-sql server not deleting character variables when deleting a
  2517. char. [Skotlex]
  2518. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  2519. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  2520. overflows/underflows. [Skotlex]
  2521. 2006/06/03
  2522. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  2523. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  2524. you relogged. Thanks to Euph for the fix.
  2525. * Added variable other_mapserver_count to chrif.c which holds total count
  2526. of connected map-servers. By using this we prevent sending unnecessary
  2527. packets to the char-server when there's no more map-servers connected.
  2528. [Skotlex]
  2529. - Affected packets are whispers, announces, party messages, guild messages.
  2530. 2006/06/02
  2531. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  2532. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  2533. target is near obstacles. [Skotlex]
  2534. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  2535. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  2536. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  2537. fails. Fixes cases where the client gets "stuck" and refuses to let you
  2538. pick any items. [Skotlex]
  2539. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  2540. to 1 tile to make it act more like in the official servers.
  2541. * Some cleaning of the mob slave ai. [Skotlex]
  2542. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  2543. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  2544. skill levels above 10 (meant for boss casted skills) [Skotlex]
  2545. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  2546. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  2547. [Skotlex]
  2548. * [Fixed]
  2549. - Yet another compilation warning. [Lance]
  2550. 2006/06/01
  2551. * Altered status_calc_pc so that equipment scripts are ran before
  2552. card-scripts. [Skotlex]
  2553. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  2554. [Skotlex]
  2555. - These two together, should fix Tao Gunka Card.
  2556. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  2557. [Skotlex]
  2558. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  2559. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  2560. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  2561. without removing it when the skill level is greater than one. [Skotlex]
  2562. * Added SC_DANCING declaration in the Status Change tables to signal it
  2563. modifies Walk speed. [Skotlex]
  2564. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  2565. (eg: poison, berserk) [Skotlex]
  2566. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  2567. affected by Quagmire/Forget-me-not. [Skotlex]
  2568. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  2569. [Skotlex]
  2570. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  2571. cart. [Skotlex]
  2572. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  2573. * Fixed Autoblitz taking into account target's luck rather than attacker's
  2574. [Skotlex]
  2575. * Fixed slaves warping endlessly to their master when the master-slave
  2576. distance exceeds 30. [Skotlex]
  2577. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  2578. [Skotlex]
  2579. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  2580. incorrect range variable. [Skotlex]
  2581. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  2582. 2006/05/31
  2583. * Fixed Soul Drain not really giving you SP [Skotlex]
  2584. * [Fixed]:
  2585. - Suppressed compilation warning in chrif.c [Lance]
  2586. * [Fixed]:
  2587. - Guys can't go across map-servers :( [Lance]
  2588. * [Fixed]:
  2589. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  2590. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  2591. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  2592. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  2593. delay. [Skotlex]
  2594. * Made the char_name_option char_athena.conf setting apply to parties and
  2595. guilds as well. It cannot be applied to pets yet without adding a
  2596. change-name-request interserver packet. [Skotlex]
  2597. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  2598. [Skotlex]
  2599. * Added function char_read_fame_list for famelist reading. Invoked it on
  2600. init, and made it be sent automatically to connecting map servers.
  2601. [Skotlex]
  2602. * Some cleaning of the fame-list reading code. [Skotlex]
  2603. * Some cleaning of the fame-update code, fixed a logic bug which made the
  2604. ranking list fail to display the correct ranker names. [Skotlex]
  2605. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  2606. [Skotlex]
  2607. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  2608. status_calc_bl. [Skotlex]
  2609. * [Fixed]:
  2610. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  2611. * [Improved]:
  2612. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  2613. * [Fixed]:
  2614. - nullpo in pet.c caused by equipping without checking if the pet is available.
  2615. [Lance]
  2616. * [Fixed]:
  2617. - Latest client support completed! [Lance]
  2618. * [Fixed]:
  2619. - Missing #include for cbasetypes.h in login server SQL.
  2620. - Logic errors in run_script [Lance]
  2621. * [Added]:
  2622. - Partial support for latest login packet. But it seems to have a new security
  2623. module. [Lance]
  2624. 2006/05/30
  2625. * [Improved]:
  2626. - Fake NPC interface to use real NPCs.
  2627. - Scripting interface to restore and save sd->npc_id. [Lance]
  2628. * Added function pc_check_skilltree for checking if you unlocked new
  2629. tree-skills when raising non-passive skills. [Skotlex]
  2630. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  2631. the base status. [Skotlex]
  2632. * [Fixed]:
  2633. - Compatibility problems in login.c [Lance]
  2634. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  2635. * [Added]:
  2636. - Mercenary.c in VS.NET 2005 project files
  2637. [Improved]:
  2638. - loginlog using unsigned long `ip` field.
  2639. (Please check for compatibility problems). [Lance]
  2640. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  2641. bonuses (like effect-on-hit) to stack. [Skotlex]
  2642. * slaves inherit speed setting will now work regardless of whether the
  2643. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  2644. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  2645. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  2646. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  2647. attacks. [Skotlex]
  2648. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  2649. * Fixed the pcbonus2 warnings using the wrong value before printing the
  2650. invalid Element error. [Skotlex]
  2651. * Fixed underflow issues when calculating dmotion. [Skotlex]
  2652. * Fixed Absorb Spirit Spheres [Skotlex]
  2653. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  2654. specifies in ms what is the min delay between player sent chats
  2655. (whisper/global/party/guild). Messages that exceed this threshold are
  2656. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  2657. player?) [Skotlex]
  2658. * [Fixed]:
  2659. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  2660. * Rewrote/cleaned up @petfriendly. [Skotlex]
  2661. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  2662. * Updated attr_fix_table reading code to account for ELE_MAX (will
  2663. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  2664. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  2665. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  2666. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  2667. * Added error messages in pc_bonus* functions when an invalid element is
  2668. passed to the relevant bonuses. [Skotlex]
  2669. * [Optimized]:
  2670. - clif_specialeffect to use the enums.
  2671. [Improved]:
  2672. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  2673. definition. [Lance]
  2674. * [Added]:
  2675. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  2676. * Removed the on-die specific code from unit_remove_map and placed it on
  2677. the corresponding *_dead functions. unit_remove_map should never assume the
  2678. char died, it is just a "remove from map" function. [Skotlex]
  2679. * Updated status_damage to handle the general death code (clearing status
  2680. changes, clearing skill related data, sending death packet, etc). The
  2681. return value from the *_dead functions will tell it what to do or not with
  2682. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  2683. * Cleaned up pc_dead to take advantage of the fact that status changes are
  2684. not ended until after the function. [Skotlex]
  2685. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  2686. [Skotlex]
  2687. * Updated/adapted current Homun code to use the status_data update.
  2688. [Skotlex]
  2689. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  2690. * [Fixed]:
  2691. - Pets attacking even master is dead. [Lance]
  2692. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  2693. (negative values should be allowed when attack is absorbed by target's
  2694. element) [Skotlex]
  2695. 2006/05/29
  2696. * [Fixed]:
  2697. - Missing ';' in item #4358 [Lance]
  2698. * [Fixed]:
  2699. - Missing maps in map index database. [Lance]
  2700. * [Fixed]:
  2701. - Battle mechanics in battle_check_target [Lance]
  2702. * [Fixed]:
  2703. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  2704. [Lance]
  2705. * Cleaned up friend list saving and fixed loading of friends.txt file
  2706. (char-txt) [Skotlex]
  2707. * Added the Arunafeltz maps, not tested yet [Playtester]
  2708. - someone with an up-to-date client should test them
  2709. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  2710. [Skotlex]
  2711. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  2712. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  2713. instead of BL_PC and BL_MOB [Skotlex]
  2714. * [Fixed]:
  2715. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  2716. * Removed Undead being inmune to poison status. [Skotlex]
  2717. * Removed speed penalty from SC_SKA [Skotlex]
  2718. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  2719. * SC_DODGE won't be dispelled on death now. [Skotlex]
  2720. * [Fixed]:
  2721. - pc_follow_timer possible triggering crash.
  2722. - pc_reg_received to use battle_status.hp instead of status.hp
  2723. [Added]:
  2724. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  2725. * Added a division by zero check in mob_dead to prevent the (impossible)
  2726. case where a mob dies with received damage of zero. [Skotlex]
  2727. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  2728. Non-Players. This usually signals Self skills, and mobs/pets should be able
  2729. to use them in other characters. [Skotlex]
  2730. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  2731. * Fixed draining when the amount drained is negative (invoke zap rather
  2732. than heal) [Skotlex]
  2733. * Implemented GS_FLING as per the current skill description. [Skotlex]
  2734. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  2735. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  2736. * Added some missing SC_* entries on the initial listing (potion related
  2737. and speed up ones) [Skotlex]
  2738. * Fixed function declaration of map_getcellp() [Skotlex]
  2739. * [Fixed]:
  2740. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  2741. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  2742. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  2743. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  2744. * [Optimized]:
  2745. - Removed unused variable (account_id) in storage_guild_storagesaved.
  2746. * [Optimized]:
  2747. - Removed unused checks for unsigned data type and possible logic error for
  2748. char type (gcc treats char as unsigned). [Lance]
  2749. * [Fixed]:
  2750. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  2751. 2006/05/28
  2752. * Added functions status_revive, pc_revive and mob_revive to handle revival
  2753. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  2754. [Skotlex]
  2755. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  2756. Bladestop causing an unknown status change message). [Skotlex]
  2757. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  2758. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  2759. * [Fixed]:
  2760. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  2761. * [Protected]:
  2762. - clif_parse_LGMmessage from possible hacks [Lance]
  2763. * Fixed unable to store n items into storage unless n was the total amount
  2764. of items you had. [Skotlex]
  2765. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  2766. 2006/05/27
  2767. * Added structure status_data which holds status-related information (str,
  2768. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  2769. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  2770. to be used by all combat structures (TODO: Homun needs to be updated to use
  2771. it). This in change involves a LOT of changes throughout the code and many
  2772. optimizations were done as well. Partial list (see svn changelog for complete
  2773. changes): [Skotlex]
  2774. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  2775. skills I changed the most, but it is possible there are unnoticed bugs
  2776. remaining to fix!
  2777. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  2778. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  2779. - Added status functions to deal with damage and healing (status_damage,
  2780. status_heal, status_percent_change) and a bunch of defines for easier
  2781. handling of them (status_percent_heal, status_percent_damage,
  2782. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  2783. THIS, pc_damage/mob_damage most no longer be directly invoked!
  2784. - Rewrote and cleaned up battle_calc_misc_attack
  2785. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  2786. pet_attack_attr_none into attack_attr_none (type 4)
  2787. - Removed config options player_defense_type, monster_defense_type,
  2788. pet_defense_type in favor of weapon_defense_type
  2789. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  2790. - Modified Slim Pitcher so it will work when casted by non-players. Will
  2791. now also work with SP-healing items.
  2792. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  2793. switch adelay/speed when cast begins/ends.
  2794. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  2795. easier updating when used in conjunction with ground skills.
  2796. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  2797. - Added status_calc_bl which does status-change related calculations using
  2798. as base the base_status of the bl object and the SCB_* flag passed. This is
  2799. invoked on status changes, and status_calc_pc will no longer be invoked
  2800. (which results on much faster status-change calculations).
  2801. - pc_clean_skilltree will now also remove item-granted skills.
  2802. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  2803. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  2804. packets and functions ONCE regardless of skill-levls earned.
  2805. - Cleaned up pc_ regen related functions.
  2806. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  2807. - Clones will copy a player's base status rather than battle status (so
  2808. status-change alterations are not cloned)
  2809. 2006/05/26
  2810. * Part B of the homunculus code. [blackhole89]
  2811. While most of the homunculus handling functions are in now, it still lacks
  2812. code required for players to create it.
  2813. Given I haven't screwed up, you could master yourself one through the DB though.
  2814. * Fixed crashing in mob.c [Lance]
  2815. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  2816. * Mob control engine tested 99% working so far. [Lance]
  2817. * Change scripting engine's NPC scope vars to dot (.) style.
  2818. * Improved and (should be fully) fixed the mob control engine. [Lance]
  2819. * Fixed typos in char.c [Lance]
  2820. * Rewrote fame rank lists system to reduce char-server load, as requested by
  2821. Skotlex: now it has a copy of those lists, and updates only the proper one
  2822. when needed instead of rebuilding all from saves everytime (which required
  2823. to always save the character before rebuilding the lists) [DracoRPG]
  2824. - Note it hasn't been compiled nor tested with SQL, please do it for me
  2825. 2006/05/25
  2826. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  2827. int-based damage component (which is added right before elemental
  2828. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  2829. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  2830. Fixed atcommand @request MSG numbers accordinly.
  2831. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  2832. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  2833. * Increased capacity for Account Variables to 64 [Skotlex]
  2834. * Reverted Intravision implementation to that of stable's. [Skotlex]
  2835. * Corrected Login Server taking it's first argument as both login config
  2836. and lan config. [Skotlex]
  2837. * Fixed mob control commands.
  2838. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  2839. 2006/05/24
  2840. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  2841. * Item sharing now shares the same rules as exp sharing (no sharing when
  2842. dead, or idle, etc) [Skotlex]
  2843. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  2844. aren't supposed to be able to call minions) [Skotlex]
  2845. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  2846. skill was successful. May fix the client-position lag. [Skotlex]
  2847. * Merged item_db.sql from stable (the one from stable was more recent than
  2848. the one of trunk...) [Skotlex]
  2849. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  2850. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  2851. ban request packet. [Skotlex]
  2852. 2006/05/23
  2853. * Corrected mob angry mode, now it only "restores" itself after being hit
  2854. when the mob has no target within their range of sight rather than on
  2855. picking a new target. [Skotlex]
  2856. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  2857. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  2858. * the charname request hack message has been downgraded to only include
  2859. GM-invisible characters. [Skotlex]
  2860. * corrected clif_charnameack to send negative ID when a disguised player
  2861. asks for it's own disguised name. [Skotlex]
  2862. * Cleaned up the disguised target-id checks taking into considering that
  2863. the only character that sees a negative ID is the same disguised character.
  2864. [Skotlex]
  2865. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  2866. defense), Investigate and Icepick will now use the final def/vit-def values
  2867. rather than the base ones. [Skotlex]
  2868. * The move-enable condition checks for skills are now checked for only when
  2869. on skill use, not at cast-end time. [Skotlex]
  2870. * Corrected clif parse name request failing on disguised characters [Skotlex]
  2871. * Corrected Soul Drain draining from all non-ground-based skills including
  2872. non-magic attacks. [Skotlex]
  2873. * Corrected pc_setoption to change the option and then change class.
  2874. changing option-wedding will automatically convert the view-class as well.
  2875. [Skotlex]
  2876. * Corrected the 15% drop rate increase when killing higher level mobs in
  2877. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  2878. Vayu. [Skotlex]
  2879. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  2880. db each time o_o [Lance]
  2881. * Fixed sleep command. [Lance]
  2882. * Added 'setd' support for local NPC scope (') variables. [Lance]
  2883. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  2884. 2006/05/22
  2885. * Updated skill_delayfix to return 0 for mobs since they have no skill
  2886. delay other than the one specified in mob_skill_db [Skotlex]
  2887. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  2888. Vayu for pointing it out. [Skotlex]
  2889. * status_get_sc_tick will now use directly Stun's formula rather than
  2890. invoking the status sc chance once. [Skotlex]
  2891. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  2892. * Modified Investigate to take into consideration final def/vit-def rather
  2893. than base values for damage adjustment. [Skotlex]
  2894. * WARNING: New scripting system contains memory leak
  2895. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  2896. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  2897. * Fixed compilation errors.
  2898. Tidy up jobmaster for easy debugging. [Lance]
  2899. 2006/05/21
  2900. * Part A of the Homunculus code.
  2901. This only features the structures, status_* and clif_* (packets) and is
  2902. not functional yet in any conventional way, but doesn't interfere
  2903. with present functionality either.
  2904. Main purpose is helping me to keep my work organized. [blackhole89]
  2905. * Fixed the "fake" mute status bug. [Zido]
  2906. * Speed up array size calculation and deletion. [Lance]
  2907. * Player must learn the skill before doing auto-spell [Lance]
  2908. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  2909. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  2910. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  2911. 2006/05/20
  2912. * grfio_final moved back if any of GRF overriding is enabled so servers
  2913. with such configuration will not have different values after reloading. [Lance]
  2914. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  2915. * Abit of alterations to login-server. [Lance]
  2916. 2006/05/19
  2917. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  2918. * Small change in pc_additem that could be fixing the current bug with new
  2919. items not getting added. [Skotlex]
  2920. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  2921. * Likely fixed the mob-skill random picking behaviour causing infinite
  2922. loops sometimes. [Skotlex]
  2923. * Modified mobskill_use behaviour to pick a random starting point and check
  2924. skills from that, rather than always checking from first to last. Fixes
  2925. skills with high priority blocking skills lower down in the list from
  2926. triggering. [Skotlex]
  2927. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  2928. current target cannot be reached for melee fighting. [Skotlex]
  2929. 2006/05/18
  2930. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  2931. [Skotlex]
  2932. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  2933. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  2934. * Optimized pc_additem comparisons to account for items with more than four
  2935. slots. [Skotlex]
  2936. * Updated clif.c to enable retrieval of items from cart/storage while
  2937. trading. Exception is retrieving items from the cart while vending.
  2938. [Skotlex]
  2939. - The reasoning is that an ongoing trade will not get "corrupted" if you
  2940. earn items before it is commited (only if you lose items from your
  2941. inventory), and it is an annoyance when you realize the stuff you want to
  2942. trade is on the cart/storage.
  2943. * skill reiteration code now does not checks for the trigger-area of the
  2944. skill in the case of non-players, which means mobs can now place traps in
  2945. cells adjacent to each other. [Skotlex]
  2946. * Applied an experimental weather code that should lower bandwidth usage to
  2947. near-none, which's only disadvantage should be the weather not clearing out
  2948. until moving to another map (even when the mapflag is removed from the
  2949. current map). Please test and report if there's any anomalies with it.
  2950. [Skotlex]
  2951. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  2952. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  2953. * MO_BODYRELOCATION will send the slide packet with the actual src's
  2954. coordinates rather than selected tile. [Skotlex]
  2955. 2006/05/17
  2956. * Modified mob_can_changetarget to return true always when the new target
  2957. is the provoked-by character. Fixes provoke not making the mob change
  2958. target when it already is locked on another player. [Skotlex]
  2959. * Added check to clear previous skill when combo time ends. Should fix TK
  2960. Rankers being unable to initiate a combo with the same kick their previous
  2961. combo was finished with. [Skotlex]
  2962. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  2963. 2006/05/16
  2964. * Modified "hide woe damage" to send the number of hits rather than 1 as
  2965. damage Because when the damage is less than the number of hits, the client
  2966. will display MISS. [Skotlex]
  2967. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  2968. [Skotlex]
  2969. * Blood Drain always hits now. [Skotlex]
  2970. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  2971. delay useless) [Skotlex]
  2972. * Search free cell will now skip picking the center-tile as target
  2973. location. Will prevent slaves from walking on top of their master, or mobs
  2974. placing stuff right under themselves with the "around" target conditions
  2975. among other things. [Skotlex]
  2976. 2006/05/15
  2977. * Small changes to the skill.conf
  2978. - Monsters now can place ground skills on top of each other by default
  2979. - Land_Skill_Limit format changed and set to "Only Players" by default
  2980. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  2981. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  2982. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  2983. skill level is above 10. [Skotlex]
  2984. * Sorted out the item_data structure, getiteminfo should work correctly
  2985. now. [Skotlex]
  2986. * KA* skills can now be casted on other Soul Linkers as well without the
  2987. Spirit requirement. [Skotlex]
  2988. * Soul Drain will now show the SP drained regardless of drain display
  2989. settings. [Skotlex]
  2990. * SC_COMBO state will now end in skill_attack rather than
  2991. skill_check_condition (as it is required there to apply damage bonuses
  2992. based on combo-casted skills) [Skotlex]
  2993. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  2994. [Skotlex]
  2995. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  2996. servers. [Skotlex]
  2997. * When removing a castle's owning guild, the char servers will erase the
  2998. guardian data now. [Skotlex]
  2999. * Changed the behaviour of immobile mobs when they can't chase their
  3000. target. Rather than using a longrange skill and then unlocking, they will
  3001. use an attack/angry state skill and then unlock. [Skotlex]
  3002. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  3003. * Fixed clif_GlobalMessage being the exact same function as clif_message
  3004. (the first should send to ALL_CLIENT and the later should send to
  3005. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  3006. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  3007. * Characters in vending are now always considered "idle" if the
  3008. idle_no_share setting is active. [Skotlex]
  3009. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  3010. * Remaining fixes for item scripts. [Lance]
  3011. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  3012. 2006/05/12
  3013. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  3014. * Bugfix on fake npc [Lance]
  3015. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  3016. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  3017. the target is a nonplayer (rather than always) [Skotlex]
  3018. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  3019. player" while 0,0 are random around the whole map (regardless of whether
  3020. there's a player attached or not) [Skotlex]
  3021. * Knockback will no longer work on traps during woe. [Skotlex]
  3022. 2006/05/11
  3023. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  3024. [Skotlex]
  3025. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  3026. of 40% per level. [Skotlex]
  3027. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  3028. [Skotlex]
  3029. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  3030. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  3031. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  3032. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  3033. [Skotlex]
  3034. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  3035. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  3036. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  3037. Tanaous [Skotlex]
  3038. * Added back the missing code that substracts arrows when normal-attacking.
  3039. [Skotlex]
  3040. 2006/05/10
  3041. * Changed the state of Asura back to explosionspirits, added a hardcoded
  3042. move_enable check when invoking Asura and NOT while in BladeStop or a
  3043. Combo. [Skotlex]
  3044. * Added back SC_XMAS to status.c, it got lost sometime during all the
  3045. previous reworkings. [Skotlex]
  3046. * Changed wedding costumes to use setoption rather than changebase.
  3047. [Skotlex]
  3048. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  3049. removes it. [Skotlex]
  3050. * Updated script_commands with the new behaviour. [Skotlex]
  3051. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  3052. than 15. [Skotlex]
  3053. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  3054. 2006/05/09
  3055. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  3056. [Skotlex]
  3057. * Added @request commands, sends a request to all connected GMs of
  3058. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  3059. users (UNTESTED). [Skotlex]
  3060. * Modified @commands to use Meruru's code which is faster and does a fair
  3061. attempt at tabulating the commands presented. [Skotlex]
  3062. * Updated SKA to return a random value between 0 and 99 each time
  3063. status_get_def is invoked. [Skotlex]
  3064. * Updated Making Arrow to not include unidentified items in the list.
  3065. [Skotlex]
  3066. * Reduced drop slots from 15 to 10. [Skotlex]
  3067. * Updated mob_db.sql with the current data. [Skotlex]
  3068. * Updated setoption script command to receive a second (optional) argument
  3069. flag. If the flag is 1, the option is added to what the player currently
  3070. has; likewise using flag 2 removes only that option. No flag (or any other
  3071. value) is the older behaviour of removing all other options and setting
  3072. specificly what is passed. [Skotlex]
  3073. * Updated script_commands information for setoption due to this change.
  3074. [Skotlex]
  3075. * Small fix in npc-created chat rooms to properly include the terminating 0
  3076. on the chat's event. [Skotlex]
  3077. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  3078. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  3079. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  3080. move and the attacker is out of it's attack range. [Skotlex]
  3081. * Added missing icon for Joint Beat [Skotlex]
  3082. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  3083. * Treasure chests will now be excluded from the mob-drop listings
  3084. (@whodrops) [Skotlex]
  3085. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  3086. for the same skill. [Skotlex]
  3087. * Updated main.sql's loginlog table structure. [Skotlex]
  3088. * Added svn_update6533.sql to update the loginlog structure as suggested by
  3089. theultramage. [Skotlex]
  3090. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  3091. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  3092. when crafted for non-players. [Skotlex]
  3093. * Script commands sc_start, sc_start2 and sc_start4 will now start
  3094. regardless of sc defense of the target player (that is, they cannot be
  3095. avoided/blocked) [Skotlex]
  3096. * Fixed a possible counter overflow in attacked_count, changed the var size
  3097. to unsigned char since the code can handle the overflow now. [Skotlex]
  3098. * Multiple targets again reduces armor defense, as reported by Tharis.
  3099. [Skotlex]
  3100. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  3101. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  3102. 2006/05/08
  3103. * Reverted the change that was making ES skills stun the caster always.
  3104. [Skotlex]
  3105. * Removed the fixpos packet which is sent whenever you are hit while moving
  3106. as Aegis doesn't sends this packet neither. [Skotlex]
  3107. * ES magic will now put the caster on stun for 0.5 secs regardless of
  3108. whether the skill-target is a mob or not. [Skotlex]
  3109. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  3110. party-member joins. This packet (as redundant info as it has) should also
  3111. contain the field for "adoptability", but that needs to be coded in yet.
  3112. [Skotlex]
  3113. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  3114. checks and the reply packets still need to be coded in. [Skotlex]
  3115. * Happy State and TK stances won't dispel on death now. [Skotlex]
  3116. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  3117. skill_check_condition now. [Skotlex]
  3118. * Modified TK-ranker infinite combos to behave as described by AuronX.
  3119. Refer to his thread in the development section for details. [Skotlex]
  3120. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  3121. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  3122. (guessed, but better than 100% for all levels) [Skotlex]
  3123. * Changed max level of NPC status effect skills to 5 [Skotlex]
  3124. * Increased max number of tries to find a random spot in maps to 1000 since
  3125. some maps have so many non-walkable tiles it's hard to find one in just 100
  3126. tries. [Skotlex]
  3127. * status_set_viewdata will remove the Wedding Option status when you set a
  3128. class that is not wedding. [Skotlex]
  3129. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  3130. * idletime will now be updated on attack-request, not on sit/standup
  3131. [Skotlex]
  3132. * Party members sitting will no longer be considered idle. [Skotlex]
  3133. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  3134. with the disguise/undisguise script commands instead). [Skotlex]
  3135. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  3136. the other skill that can show critical as well) [Skotlex]
  3137. * Corrected some fields in the standing still packet (guild emblem being
  3138. stored as a Long when it should be Short) [Skotlex]
  3139. * Modified most fields of view_data to be unsigned shorts rather than
  3140. signed ones. [Skotlex]
  3141. * On-Touch NPCs will now make you stop walking when you trigger them.
  3142. [Skotlex]
  3143. * ShadowJump/JumpKick will make you land on the target's cell now.
  3144. [Skotlex]
  3145. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  3146. 2006/05/07
  3147. * Fixed readme/changelog.html [KillerBox]
  3148. * Removed old logs. [Lupus]
  3149. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  3150. 2006/05/05
  3151. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  3152. before sending one (as it's not required to send twice).
  3153. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  3154. players and still continues execution to work). [Lance]
  3155. * Updated item_db.sql to current. [Skotlex]
  3156. * Fixed a bug in @commands, most likely the reason some people were still
  3157. getting crashes. [Skotlex]
  3158. * Fixed @commands not showing the last available commands (unless the total
  3159. amount of commands is divisible by ten) [Skotlex]
  3160. * Added a npc-script-event cache to avoid looking up event-scripts every
  3161. time they need to be executed. Events cached are all those defined in
  3162. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  3163. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  3164. the related NPCs or you'll get dangling pointer crashes. However,
  3165. @reloadscript will work fine.
  3166. - Set the etc_log to on to see a summary of npcs/events loaded for script
  3167. execution on startup.
  3168. * The Rest bonus activated by using /doridori while in rest should now
  3169. trigger with all the class tree (TK/SL/SG) [Skotlex]
  3170. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  3171. player rather than the one attacking... [Skotlex]
  3172. * /doridori now won't double the HP/SP regen of TKs, it only activates
  3173. their "happy" state. [Skotlex]
  3174. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  3175. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  3176. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  3177. (even if there's no other TK around). [Skotlex]
  3178. * Added battle config settings view_range_rate and chase_range_rate to
  3179. adjust the view-range and chase-range (range2/range3) of the mob_db without
  3180. having to manually change them (battle/monster.conf) [Skotlex]
  3181. * Kaupe now will only block all skills of players, for non-players, only
  3182. normal attacks can be missed. [Skotlex]
  3183. * Moved the Kaite spell-reflect code after the damage calculation function,
  3184. so the reflected damage is exactly the damage the original target would
  3185. have received. Will only trigger if the damage to be reflected is above 0.
  3186. [Skotlex]
  3187. * OnEquip scripts will now trigger on log-on. [Skotlex]
  3188. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  3189. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  3190. start/end infinite endure. [Skotlex]
  3191. * Fixed Kaahi's SP cost per heal. [Skotlex]
  3192. * Now when walkdelay is set to 0, characters will stop walking when hit,
  3193. but will not have any walk delay. (previously setting walk delay to 0 would
  3194. not even stop characters from walking when hit) [Skotlex]
  3195. 2006/05/04
  3196. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  3197. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  3198. * Some clean-ups in the mob_ai [Skotlex]
  3199. * Improved atcommand autoloot, now displays droprate in percents and notices
  3200. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  3201. commited by erKURITA
  3202. * Added one grace range in the mob_loot search function which should fix
  3203. mob_can_reach failing when invoked with the same distance that distance_bl
  3204. returned. [Skotlex]
  3205. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  3206. * Eska is now usable on bosses. [Skotlex]
  3207. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  3208. * clif_skill_failed will print out a debug line with the skill_id (since
  3209. the current null_po does not helps at all to fix it) [Skotlex]
  3210. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  3211. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  3212. damage accumulates in the time2 interval (500ms by default) after being
  3213. hit. [Skotlex]
  3214. * Changed skill_unit_move_unit_group to enable moving of all types of
  3215. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  3216. 2006/05/03
  3217. * Kaahi now triggers every 500ms rather than on every hit (but it only
  3218. heals if in those 500ms an attack that would previously trigger Kaahi has
  3219. taken effect). In other words, it works just like before, except damage
  3220. gets "buffered" into 500ms slots. [Skotlex]
  3221. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  3222. * Knowledge will now only trigger if you logon to the memorized map, not
  3223. walk into it. [Skotlex]
  3224. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  3225. [Skotlex]
  3226. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  3227. and not fix the pet issue, but I doubt it'll cause any problems that won't
  3228. be fixed by making the pet move. [Skotlex]
  3229. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  3230. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  3231. 2006/05/02
  3232. * Fixed standing up not really standing you up. [Skotlex]
  3233. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  3234. skill_castend_nodamage_id and skill_castend_pos2 rather than
  3235. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  3236. state is active and a ground skill was not invoked. It should fix all
  3237. issues with splash/ground skills consuming ammo per target rather than once
  3238. per skill use. [Skotlex]
  3239. * Added structure state to the ground skills, their fields are magic_power,
  3240. into_abyss and ammo_consume to indicate the states that were previously
  3241. stored in val3. [Skotlex]
  3242. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  3243. not showing up though, I'll need some logged packets to see what's missing.
  3244. [Skotlex]
  3245. * Removed the unit_can_move checks in skill cast-end, they should be
  3246. performed in skill_check_require when the skill's state is move_enabled.
  3247. [Skotlex]
  3248. * Changed extremity fist's state to move_enabled, the explosion spirits
  3249. check is now hardcoded. [Skotlex]
  3250. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  3251. Haplo. [Skotlex]
  3252. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  3253. impossible to steal unless you have at least 100% steal-rate (where steal
  3254. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  3255. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  3256. shops, interacting with npcs, etc. [Skotlex]
  3257. * Kaite now works against all types of spells. [Skotlex]
  3258. * Kaupe now works against all skills. [Skotlex]
  3259. * Sanctuary now won't damage non-enemies. [Skotlex]
  3260. * Blessing now will always give you bonus stats even if you are wearing
  3261. undead armor. [Skotlex]
  3262. * Modified how Rogue's treasure works so that you get +1% to your steal
  3263. rate rather than +0.01% to the final rate. [Skotlex]
  3264. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  3265. officials (implementation is not quite the same, but it should yield the
  3266. same effects while consuming less bandwidth). "Stacking", as it's called,
  3267. is possible now, but limited to eA's minimum timer skill interval (100ms).
  3268. [Skotlex]
  3269. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  3270. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  3271. behaves). [Skotlex]
  3272. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  3273. * SC_FUSION won't end when you die now. [Skotlex]
  3274. 2006/05/01
  3275. * Added knockback when you run into a wall during running. However
  3276. position is not being refreshed on the client yet... [Skotlex]
  3277. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  3278. * Corrected a crash when sd is null in npc_event [Skotlex]
  3279. * After testing to make sure it works properly, I'm including
  3280. new battle conf options to limit MVP drops. [Reddozen]
  3281. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  3282. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  3283. since it has a visual effect to use. [Skotlex]
  3284. * Corrected the value of OPTION_FLYING [Skotlex]
  3285. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  3286. * status_setviewdata will set your option accordingly when the previous/new
  3287. view-class is wedding or xmas suit. [Skotlex]
  3288. * Added function map_foreachinshootrange, behaves the same way as
  3289. map_foreachinrange, but it also performs a "shoot-path" check before
  3290. invoking the function. Used in the skill subtimer function if
  3291. skill_wall_check is defined. [Skotlex]
  3292. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  3293. all memo points used up. [Skotlex]
  3294. * Fixed alive_count not being reset on skill unitsetting, which leads to
  3295. some groups not being cleared once all their units expire. [Skotlex]
  3296. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  3297. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  3298. * SKA no longer blocks skills. [Skotlex]
  3299. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]