Changelog-Trunk.txt 222 KB

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