Changelog-Trunk.txt 139 KB

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