Changelog-Trunk.txt 209 KB

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