Changelog-Trunk.txt 150 KB

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