Changelog-Trunk.txt 387 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984
  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. 2008/03/10
  5. * Added missing check to only allow the leader of a party to modify
  6. its exp share settings (bugreport:12) [ultramage]
  7. 2008/03/09
  8. * Modified attack_walk_delay so it behaves on a 'per-object' basis, and
  9. changed the default to 15 (all types).
  10. * Modified battle_delay_damage so damage is not delayed more than one
  11. second for non-player attacks.
  12. * Modified party_member_added with a hack so that the clif functions will
  13. send the info of the new member since party_recv_info has not yet arrived.
  14. * Updated clif_calc_delay so the type sent to the client is based on the
  15. number of hits of the skill (as Aegis packets reveal) [Skotlex]
  16. * Cleaned up and corrected some more land skill code [ultramage]
  17. - removed redundant skill_ganbatein() function
  18. - Added flag UF_PATHCHECK from jAthena which affects whether a skill's
  19. cells will be affected by the surrounding terrain. Adjusted existing
  20. flags so that they closely match jA's (for easier comparisons).
  21. - Fixed code that allowed placing of skill unit cells on 'gaps'.
  22. - Fixed code that prevented successful casting of land skills on 'gaps'
  23. (officially it's possbile, even though they will not deploy entirely).
  24. 2008/03/07
  25. * Script induced status changes can now be reduced by stats/cards (but
  26. only trigger rate is reduced, not duration).
  27. * Battle delay timers will now check if the target player has the
  28. invincible timer active or not.
  29. * Adjusted clif_damage and clif_skill_damage to set the endure type value
  30. based on dmotion and damage, rather than hardchecking for SC_ENDURE.
  31. 2008/03/06
  32. * Fixed song/dance cells to appear even on top of walls and pits.
  33. * Fixed non-chatroom owners being able to kick others from the chatroom.
  34. [Skotlex]
  35. * Fixed a crash when a homun kills a mvp and the char that did
  36. the most damage is unable to carry the mvp reward (bugreport:1114)
  37. 2008/03/05
  38. * Added code to clear the Illusionary Shadow effect (followup to r12293)
  39. * Added some trim() calls into mapflag code (followup to r12238)
  40. * Fixed mvp exp reward packet not working right for big values
  41. * Added dbghelpplug plugin entry to the plugins configuration file
  42. * Added conf setting for auction table name (see r12287) [ultramage]
  43. * Implemented Firepillar's 'target cannot move for 0.2 sec x hit' property.
  44. * Corrected Earthquake so it behaves as explained in the development topics.
  45. * Added a missing line to actually unequip unallowed compounded cards when
  46. changing maps.
  47. 2008/03/04
  48. * Updated the firepillar code so it behaves like the other traps.
  49. * Additional status changes now only get triggered if the attack did
  50. damage, not if they get absorbed.
  51. * Properly set the opt3 value for Moonlight, Changeundead and Soul Link.
  52. * Fixed the "no equip" flag of cards not being properly applied when
  53. attemting to equip items.
  54. * Some corections to the new auth db system. [Skotlex]
  55. 2008/03/02
  56. * New optimizations for mail system and adjust to use it on Auctions. [Zephyrus]
  57. - Added a Sql patch to clear all deleted mails. (There is no need to keep that data)
  58. - Added more code for Auctions. Not implemented but just for study.
  59. 2008/02/29
  60. * Rev. 12268 Added documentation for Cash shop NPC heading. [L0ne_W0lf]
  61. 2008/02/28
  62. * Added cash shop support [Zephyrus]
  63. 2008/02/27
  64. * Fixed 'cleararray' not able to erase array entry 127 (bugreport:864)
  65. * Fixed @reloadmobdb producing memory leaks in pet db (bugreport:1030)
  66. * Patched an unresolved case where knocking back a bard/dancer would
  67. cause the mapserver to crash (bugreport:1043)
  68. * Fixed Apple of Idun not checking for bard soul link (bugreport:1028)
  69. * Fixed Advanced Adrenaline Rush not working barehanded (bugreport:1049)
  70. * Disabled idle_no_autoloot setting (bugreport:1051)
  71. * Removed NODAMAGE and ICEWALL cell types (mem usage back to normal)
  72. - Icewall now uses basic cell type 5 (nonwalkable, shootable)
  73. - as a consequence, you can now warp to a nonwalkable cell - but only
  74. via gm command or scripted warp bug (hopefully :)
  75. * Added missing option changes for Illusionary Shadow and Soul Link
  76. that disappeared when you left the screen (bugreport:1053)
  77. * Added support for the "view player equip" feature (see topic:174461)
  78. 2008/02/26
  79. * Added new settings for Autotrade. [Zephyrus]
  80. 2008/02/23
  81. * Now the server will print an error message if an invalid mapflag is
  82. found during script loading (see bugreport:980 for the motivation)
  83. - removed one extra space that broke jail's noreturn mapflag loading
  84. 2008/02/22
  85. * Removed code in socket.c that tries to avoid send buffer overloading,
  86. as there is a scenario (many players and charserver disconnect) where
  87. mass char saving produces huge ammounts of data to send (see r11503)
  88. * Cleaned up player respawning code (bugreport:1022)
  89. * Increased the max amount of different autocast skills from 5 to 10
  90. * Fixed @whomap not unlocking the player db (bug in r12204) [ultramage]
  91. * Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs
  92. directly to all sub make files. How to use:
  93. make CUSTOM_CFLAGS='-DSOME_DEF' sql [Lupus]
  94. 2008/02/21
  95. * Added status_calc_life to properly calculate hp/max_hp as a ratio taking
  96. into accounts overflows (and for now also avoids divisions by 0). Applied
  97. this function around clif.c, mob.c and pet.c
  98. * Implemented the correct walk-speed bonus from the Bard/Dancer spirit.
  99. * Fixed logarithmic drops turning 0% drop rates into 100%.
  100. * Restructured the login mechanism of the map-server. The goal was to make
  101. sure players are not found in the different dbs of the map while the
  102. player has not yet been fully authed or while it is quitting, to avoid the
  103. rest of the code from accessing and modifying it. It is a rather extensive
  104. change, and I only had time to test the basic functionality, so if use with
  105. care and report any bugs found.
  106. * Replaced player states auth, waiting_disconnect, finalsave with active,
  107. and removed states party_sent/guild_sent.
  108. * Removed several of the old login methods/constants/player states which
  109. are no longer needed due to this cleanup. [Skotlex]
  110. 2008/02/19
  111. * Rev. 12219 Fixed a typo in /map/clif.c (acount_id -> account_id) [L0ne_W0lf]
  112. * Forgotten update to the definition of script command 'input'.
  113. * Enabled DEBUG_MEMMGR only in DEBUG mode.
  114. * Made autotrading characters be kicked instead of reporting double login.
  115. * Made create_session initialize session_data to NULL.
  116. * Fixed db_obj_get not handling deleted nodes correctly. (bugreport:999) [FlavioJS]
  117. 2008/02/17
  118. * corrected login_fd/char_fd being uninitialized in the char servers.
  119. * Added a check to prevent using consume-delay items when you cannot use
  120. skills, since that opens an exploit if the item also has non-skill-casting
  121. components to its script. [Skotlex]
  122. 2008/02/14
  123. * Removed/replaced all calls to map_getallusers (followup to r12195)
  124. * Trashed @whozeny (from r269) [ultramage]
  125. * Added some changes to @noks. Now it uses a SC and not vars in mob_data [Zephyrus]
  126. - Added support to Self|Party|Guild to @noks (default is Party)
  127. 2008/02/13
  128. * Changes to memory manager: [FlavioJS]
  129. - fixed blocks that are fully used not being detected (and not freed) in
  130. memmgr_final (unfill_prev is NULL for unused blocks and full blocks)
  131. - fixed memmgr_final giving the wrong address to _mfree (for small blocks)
  132. - added the pointer address to most error messages (and log)
  133. - made it append to the log file instead of rewriting it
  134. - implemented a function to verify if a memory location is active
  135. - other minor changes
  136. * Merged memory manager updates from old jA revisions (bugreport:663) [ultramage]
  137. - less overhead and better overflow detection (caution, experimental!)
  138. * Added some security checks in mail system [Zephyrus]
  139. - This supose to fix a bug reported in 622 to limit to MAX_ZENY.
  140. - Also add more checks to free space in your inventory to receive items.
  141. * Added some new config settings: [Zephyrus]
  142. - homunculus_autoloot, idle_no_autoloot, max_guild_alliance.
  143. - Added a code to activate a Kill Steal protection and the required mapflags.
  144. 2008/02/11
  145. * 'Forget me Not' no longer blocks ASPD bonuses from working or prevents
  146. their re-casting, they are simply dispelled when the effect takes place.
  147. * Fixed a possible crash when a player logs out before their create-party
  148. request is accepted. [Skotlex]
  149. * Expanded the script command 'input': (bugreport:811) [FlavioJS]
  150. - two new optional arguments 'min' and 'max'
  151. - return value indicating if it's in the correct range
  152. - config variables for the default value of the arguments:
  153. 'input_min_value' and 'input_max_value' in script_athena.conf
  154. 2008/02/10
  155. * Added two missing opt2 values, for Angelus and Bleeding status
  156. * Fixed Warp Portal code sometimes producing errors/crashes in the case
  157. where a priest enters his/her own warp (bugreport:270)
  158. 2008/02/08
  159. * Fixed wrong message in item group loading code (bugreport:936)
  160. * Fixed 'charisalpha' not working for the first char (bugreport:940)
  161. * Disabled signed/unsigned warnings for visual studio 2005 [ultramage]
  162. 2008/02/07
  163. * Fixed the disguise commands using the wrong variable when attempting to
  164. disguise as an npc.
  165. * Corrected and optimized npc_remove_map's npc array cleanup (Fixes
  166. @reloadscripts reporting 'too many npcs per map' and related dangling
  167. pointer crashes).
  168. * HP loss item scripts can no longer kill you.
  169. * Corrected the item-drop-rate check to avoid duplicate entries in
  170. @whodrops after a @reloadmobdb. [Skotlex]
  171. 2008/02/04
  172. * Some code cleanups. [Zephyrus]
  173. - Added new Cell types (NoChat and NoDamage)
  174. - Added JobChangeLevel and FreeSKPoints to #stats
  175. - Added a Crash protection in clif_send with invalid fd values.
  176. - Merged a missing update in TK Mission.
  177. - Added script command 'getmapflag'
  178. 2008/02/03
  179. * Fixes to Devotion (see topic:153345) [ultramage]
  180. - removed totally fake Devotion packet from Marionette Control code
  181. - fixed one devoted chars array management code bug which caused chars
  182. to be included in the array multiple times, producing various problems
  183. - the link will now re-display when coming into view range
  184. - the link will no longer break if the devotee walks away, but instead,
  185. if he receives damage while being out of range of Devotion
  186. * Added an iterator to map.h/c. [FlavioJS]
  187. Will be used instead of map_getallusers, which has problems with
  188. dangling pointers (returned array isn't updated).
  189. 2008/02/01
  190. * Fixed sql charserver crashing sometimes (bugreport:870) [ultramage]
  191. 2008/01/29
  192. * Plagiarize can no longer copy skill levels beyond their max skill_db
  193. value.
  194. * Modified pc_dead so that the src is passed on to the master when it is a
  195. pet or homunculus. [Skotlex]
  196. 2008/01/26
  197. * Small update to the dgbhelpplug plugin: [FlavioJS]
  198. - fixed only half of wide character strings being printed
  199. - fixed the memory validity check in Dhp__PrintDataValue being optimized
  200. out in release mode
  201. 2008/01/25
  202. * Updated conversion tools for mob_db & item_db
  203. * Updated SQL Files (item & mobs) [Toms]
  204. 2008/01/21
  205. * Fixed battle config loading not applying the side-effects of
  206. battle_adjust_conf() side-effect if an import: operation fails.
  207. This is what caused the odd slowdown reported in bugreport:260.
  208. 2008/01/20
  209. * Fixed item searches not working on exact "jname" matches.
  210. * Fixed hom_setting&0x2 conflicting with the 'view-range' limit check.
  211. * Merged the SA_MONOCELL and SA_CLASSCHANGE code. After changing class all
  212. the status changes that cannot be triggered on bosses are dispelled.
  213. * SA_CLASSCHANGE now uses the bloody branch list to pick a target MVP
  214. class. [Skotlex]
  215. 2008/01/19
  216. * Added plugin dbghelpplug to generate more extensive crash reports in windows. [FlavioJS]
  217. - see header of src/plugins/dbghelpplug.c to know it's capabilities
  218. - VS8 project file supplied at vcproj-8/dbghelpplug.vcproj
  219. - a dll compiled in release mode is supplied at plugins/dbghelpplug.dll
  220. 2008/01/17
  221. * Made battle_check_range fail whenever the distance between src/target is
  222. greater than the viewing range. [Skotlex]
  223. * Icewalls can no longer be knocked back (see bugreport:38)
  224. 2008/01/15
  225. * Manner system fixing [ultramage]
  226. - better-than-aegis 'red bubble' packet updates; now it shows correctly
  227. - added support for /rc, which is basically mute for 60 minutes
  228. - fixed typo in r12076 making gm-mute start on the gm instead of target
  229. - fixed @mute not ending the status properly when using negative values
  230. - adde missing clif_manner_message(), sends info about manner updates
  231. 2008/01/14
  232. * Fixed missing mob_spawn call, which was making CR_CULTIVATION not
  233. actually spawn the plant. [Skotlex]
  234. * Client packet corrections
  235. - 0x01df is not 'gmreqnochatcount', but for requesting a player's
  236. account name via right-click menu (which currently can't be done)
  237. - added /remove and /recall, aliases to /shift and /summon
  238. - added /changemaptype, which alters a single cell's gat type
  239. - gm kick will no longer exit the client (now it goes to the login screen)
  240. - removed the quicksort invocation in /ignore code
  241. * Fixed card removal script functions' 'extra card' bug (bugreport:786)
  242. * Removed the hardcoded limit for numeric npc input boxes (bugreport:811)
  243. * Applied a temp patch to make some npc-executed atcommands work again
  244. * Added support for right-click-gm-menu kicking NPC objects [ultramage]
  245. * Fixed dangling pointer crashes when bleeding or Deadly poison kills a
  246. spawn-once monster.
  247. * Fixed a possible ERS entry corruption when Deadly Poison kills a target
  248. that has kaizel active.
  249. 2008/01/13
  250. * Fixed a possible ers_entry corruption if you die from bleeding while
  251. under the effects of kaizel.
  252. * Updated Safety wall so it does not blocks melee magic. [Skotlex]
  253. 2008/01/12
  254. * Another possible fix to ers/status_change crashing.
  255. - same logic as r12058 but in status_change_timer.
  256. - look out for this error: "[Error]: status_change_timer: Unexpected NULL status change id: ### data: ###"
  257. getting it means that a crash was avoided and the culprit found.
  258. * Modified npc_parsesrcfile to read the file as binary and let sv_parse handle LF/CRLF line endings.
  259. * Possible fix to ers/status_change crashing. [FlavioJS]
  260. - this patch is untested. Didn't find anyone willing to test it and I can't
  261. reproduce the crash so can't test the patch.
  262. symptom:
  263. status_change_entry.timer is being modified after the entry is freed.
  264. ers uses that memory location as a pointer when the entry is freed,
  265. it crashes when accessing the contents when it points to an invalid location.
  266. assumption:
  267. status_change_start starts an already existing status.
  268. as a consequence of something called inside status_change_start the status is ended.
  269. when the sce is finally being modified, it's modifying a freed entry.
  270. 2008/01/11
  271. * Implemented the extra damage bonus to TK_JUMPKICK when it is used while
  272. running (however what the bonus's equation is has been lost to time, so
  273. someone else correct it).
  274. * Corrected CR_CULTIVATION to cause summoned plants to expire after 5
  275. minutes.
  276. 2008/01/10
  277. * Fixed getmonsterinfo to return "null" when returning the name of a
  278. non-existing mob instead of -1.
  279. * Corrected CR_CULTIVATION to fail when the target cell has some BL_CHAR on
  280. it already.
  281. * Script command percentheal will no longer kill the player if the
  282. specified amount is negative (and not -100).
  283. * Fixed Abracadabra unable to cast non-targeted skills (bugreport:186)
  284. * Another round of login server cleaning [ultramage]
  285. - fixed passwordencrypt on SQL not behaving correctly (since r10753)
  286. - corrected some column lengths in the login db (username, password,...)
  287. - fixed some places which used wfifo without first reallocating it
  288. - removed interserver packet 0x7532 (Request to end connection), as
  289. there was no code that actually sent this packet
  290. - moved RFIFOSKIP actions to execute as soon as possible
  291. * Corrected @slaveclone/@clone behaving as @evilclone when you change the @
  292. symbol.
  293. * Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they
  294. were card granted bonuses.
  295. * fixed a SA_DISPELL crash when casted on an object with no status changes.
  296. 2008/01/09
  297. * Script command warpportal now places a warp in its initial state (as if a
  298. real warp portal was casted).
  299. * Updated dispell to also not remove the following effects: Hindsight, Inc
  300. Hit/Atk Rate (NPC_POWERUP), Nen, TK stances and tumble, warm and speedup1
  301. (the other speed potion).
  302. * Chase-walking characters can now loot.
  303. * Hiding characters can't drop items now. [Skotlex]
  304. 2008/01/08
  305. * Added missing session auth checks to charserver. [ultramage]
  306. Packets from non-authed clients will now be discarded.
  307. * Fixed Wand of Hermod not starting the SC_HERMOD status change (which
  308. blocks spells)
  309. * Fixed additional def/mdef from vit/int bonuses being lost when a status
  310. change that affects def/mdef triggers (for homunculus) [Skotlex]
  311. * Added missing code to log main chat messages sent by whispering
  312. to main_chat_nick (bugreport:424) [ultramage]
  313. 2008/01/07
  314. * Small change to potion pitcher to allow potion healing rate item effects
  315. to be included in potion pitcher's heal rate. [Reddozen]
  316. * Changed the code in status_change_timer so that a null pointer no longer
  317. causes a crash but prints an error instead.
  318. * Corrected clones not copying over a player's skills properly. [Skotlex]
  319. 2008/01/06
  320. * Extended the id range for npcs, now [400,700) will also be treated
  321. as NPC objects (see topic:170845 and bugreport:727) [ultramage]
  322. * Fixed a visual itemdupple bug on mail system. [Zephyrus]
  323. - Fixed Overthrush status cannot being recalled at same skill lvl.
  324. 2008/01/04
  325. * Fixed a mistake in r11991 that let knockback work through walls
  326. * Modified the map_setcell() code to to use a boolean flag instead of
  327. needing SET_ / CLR_ pairs of defines (topic:174323) [ultramage].
  328. Also removed script object 'setcell', added script function 'setcell'
  329. - Now you can manipulate cell information without needing @loadnpc
  330. - You can also manipulate the terrain ('gat') type itself, using the
  331. new cell_walkable, cell_shootable and cell_water constants
  332. (currently the implementation uses bit flags too, so to get the type
  333. you want, you need to adjust the flags one by one)
  334. - This breaks current scripts, so please adjust places that use setcell
  335. (also be sure to _only_ use predefined constants, not direct numbers)
  336. - Details can be found in the script reference.
  337. * Fixed Music Lesson's effect on Assassin Cross of Sunset.
  338. * Fixed a possible crash in status_change_timer when debug mode is
  339. disabled. [Skotlex]
  340. 2008/01/03
  341. * Changes to reduce the number of map cell types
  342. - Pneuma now again works via status change (see r3969)
  343. - removed unused CELL_SAFETYWALL
  344. - removed custom CELL_REGEN, it just increased regen rate (r1192, r1518)
  345. * Fixed npc unloading not clearing NPC touch cells (bugreport:595)
  346. * Map cell mechanism rewrite (bugreport:426)
  347. - defined a data structure for map cells (replaces 3 various cell arrays)
  348. - both terrain (gat) and dynamic (cell) information is now stored as
  349. C-style bit flags instead of #defines and bitmasks
  350. - added map_gat2cell() and map_cell2gat() for terrain type conversions
  351. - changing terrain information via 'setcell' is temporarily disabled
  352. - mapserver startup now takes longer, as it needs to adapt mapcache data
  353. to internal representation, cell by cell (new mapcache format anyone?)
  354. * Moved extra junk from map_addblock/map_delblock to where it logically
  355. belongs (loadendack/unit_remove_map), removed flags and _sub macros
  356. * Removed map_data's block_count, as (quote Yor/ja2160),
  357. "Perhaps useful for debug, but uses memory AND CPU for nothing."
  358. (block lists are linked lists, they don't need count tracking) [ultramage]
  359. 2007/12/31
  360. * Fixed a crash in txt char-servers that the memory manager was hiding.
  361. online_char_db being used after being destroyed (since r4026)
  362. * Added code to reject double logins in clif_parse_WantToConnection and
  363. added debug messages to detect possible double logins that escaped.
  364. * Isolated accounts that are waiting for the quit ack. The rest of the
  365. game logic no longer has access to them though the id2sd/charid2sd dbs.
  366. 2007/12/30
  367. * Fixed get_val2 not using the stack, which automatically frees the data,
  368. causing memory leaks for string variables since r11976.
  369. (bugreport:723 , part of bugreport:714 and part of bugreport:708)
  370. * Trully fixed the previous commits. (missing cast and incomplete size)
  371. * Made the memory manager set allocated memory to 0xCD and freed memory
  372. to 0xDD. The memory manager no longer 'hides' uses of freed memory.
  373. 2007/12/29
  374. * Fixed two missing @LDFLAGS@ in src/plugins/Makefile.in. [FlavioJS]
  375. * Implemented THE official Steal skill equation and game mechanics
  376. (basically version from /stable plus a few tweaks) (see topic:116540)
  377. * Added missing bAddStealRate reference to doc/item_bonus.txt
  378. * Removed skill_steal_rate, as it was never used in the code (see r231)
  379. * Removed skill_steal_type, it's just a one-liner source mod (see r231)
  380. * Knockback now works through cells where there is a diagonal path, but
  381. no horizontal+vertical (two 90` icewalls with a gap where they 'join')
  382. * Some dead code removal in path.c [ultramage]
  383. 2007/12/28
  384. * Fixed a memory leak in memitemdata_to_sql.
  385. * Reverted a bad modification in clif_produceeffect from r11290. [FlavioJS]
  386. 2007/12/27
  387. * Removed an incorrect range check and fixed a copypaste typo which
  388. caused script engine errors / crashes (see r11984)
  389. * Re-added a missing mob last_thinktime timer initialization when a mob
  390. spawns, causing mob AI to freeze (mistake in r11964) [ultramage]
  391. * Changed the configure script:
  392. - refined the mysql test (wasn't detecting 64 libraries compiled without -m64)
  393. - added a test for clock_gettime in -lrt (required for Debian)
  394. * Corrected description of scope and npc variables in script_commands.txt.
  395. * Made temporary character string variables not have a limited length.
  396. (now all temporary string variables don't have limited length)
  397. * Made temporary character variables reuse free positions.
  398. * Tweeked the declaration and initialization defines for vectors.
  399. * Made do_sockets leave the for loop as soon as the readable number of
  400. sockets returned by select is found.
  401. * Made all posix compliant systems that support it and FreeBSD >= 5.1
  402. (implements it but doesn't have the posix defines) use the precise and
  403. consistent tick() implementation.
  404. * Minor tweek to HEAP_SEARCH (same variable can be used in from and to).
  405. * Fixed the map server not exiting when make_listen_bind fails and
  406. returns -1. [FlavioJS]
  407. 2007/12/26
  408. * Fixed the incorrect interpretation of the map-cell height information
  409. stored in .gat files; this was causing an overall of 20000 cells to
  410. be treated as water when officially they aren't [ultramage]
  411. * Fixed string variables dereferencing directly to the value instead of
  412. dereferencing to a copy of the value. (fixes bugreport:684 bugreport:641) [FlavioJS]
  413. 2007/12/23
  414. * Added a generic vector implementation (dynamic array) based on defines. [FlavioJS]
  415. * Fixed horrible handling of skill_abra_db which leads to memory corruption
  416. (depending on the contents of yor abra_db.txt file) [Skotlex]
  417. 2007/12/22
  418. * Fixed droprate overflows when going over rate 2000x [ultramage]
  419. * Corrected mob spawn utilization of the delay1/delay2 values (one is
  420. respawn delay base, the second is random variance added on top of it).
  421. Cleaned up related code. [Skotlex]
  422. 2007/12/19
  423. * Fixed yet another buffer overflow, in @adopt [ultramage]
  424. * Changes to the configure script. [FlavioJS]
  425. - fixed the 'pointers can be stored in ints' test not working
  426. - fixed the linker trying to build 64 bit executables with 32 bit code on
  427. x86_64 (missing -m32 flag in LDFLAGS)
  428. - made MYSQL_CFLAGS be built from the --include option to be more portable
  429. - made --with-mysql check if the optional argument is an executable file
  430. - make --with-pcre check if the optional argument is a directory
  431. - other minor changes
  432. * Corrected SC_MIRACLE to trigger Bless of the Stars on all defeated mobs.
  433. [Skotlex]
  434. 2007/12/18
  435. * Fixed a possible buffer overflow in @partyoption [ultramage]
  436. * Updated respawn time interpretation according to latest kRO update [Playtester]
  437. - this first time is the "min respawn time"
  438. - the second time is the "variance" which is added to the "min respawn time"
  439. * Corrected skill_db reading to properly trim the skill name/descs.
  440. * Added a mobid_db in map.c to handle mob lookups faster. [Skotlex]
  441. 2007/12/17
  442. * Added flag.server to indicate interserver sockets
  443. - replaces the previous way (setting 'client_addr' to 0)
  444. 2007/12/14
  445. * Guardian hp handling code removal (see bugreport:342)
  446. - removed guardian hp from the castle data structure, database,
  447. savefiles and various script functions (use upgrade_svn11915.sql)
  448. - removed guardian hp calculation and manipulation from the castle
  449. manager npc, now the hp values are updated by the server itself
  450. (glitch: when castle defense changes, all guardians are healed to full)
  451. - tweaked script function 'guardianinfo' to provide some data needed
  452. by the manager npc (currently available are hp, maxhp and visibility);
  453. also, it doesn't need a player attached to execute
  454. * Added a precise and consistent tick() function for freebsd [ultramage]
  455. * Wand of Hermode now dispells buffs only of allies.
  456. * Fixed some null pointer checks in status_change_end.
  457. * Corrected a crashy Warning message. [Skotlex]
  458. 2007/12/13
  459. * Fixed possible segmentation faults in the script engine.
  460. - some strings that can be freed outside the script engine were being
  461. pushed into the stack as constant strings
  462. * Disabled ers until recent crashes are fixed.
  463. - ers entries are being corrupted, probably by modifying them after they
  464. are released or by releasing something else
  465. * Abstracted the windows socket code so that all fd's are in the range
  466. [1,FD_SETSIZE[. (bugreport:604)
  467. - The socket of a fd is forgotten when executing sClose, so things that
  468. depend on the socket (like sFD_CLR) must be executed before closing.
  469. * Replaced the fd_set of the short list with a custom implementation
  470. (works like the linux fd_set). [FlavioJS]
  471. 2007/12/12
  472. * Some preparations for the guild script update [ultramage]
  473. - cleaned up npc event execution code
  474. - cleaned up guild data loading/saving code; to be improved later
  475. - removed dummy 'account name' expulsion list management code
  476. - removed columns 'rsv1' and 'rsv2' from guild member data
  477. - removed columns 'rsv1' 'rsv2' 'rsv3' and 'acc' from guild expulsion data
  478. 2007/12/11
  479. * Added query_logsql script command to perform sql commands using the log
  480. db connection.
  481. * Added some new cashitems and headgears.
  482. 2007/12/10
  483. * Cleaned up clif_setdisguise and fixed it for PACKETVER>=9.
  484. * Added missing range/skill-mask info to reflected damage (fixes autospells
  485. not triggering on it) [Skotlex]
  486. 2007/12/09
  487. * Modified npc_parsesrcfile to parse the line as a 'tab-separated values'
  488. string and added data truncation warnings.
  489. - enforces a stricter adherence to the format (no multiple tabs)
  490. - avoids sscanf matching spaces, new lines and carriage returns when '\t'
  491. is used in the format string
  492. * Added a generic 'delimiter-separated values' string parser to strlib.c/h. [FlavioJS]
  493. 2007/12/07
  494. * Fixed ensembles skills.
  495. * removed the timer heap correction code when the timers overflow since
  496. Flavio points out that it is not needed.
  497. * Modified a bit the changesex code so you get saved and quit before
  498. changing your sex rather than afterwards.
  499. * Cleaned up #changesex
  500. * Signum Crucis now works on bosses. [Skotlex]
  501. 2007/12/06
  502. * Removed the attempts to recover from invalid syntax in npc_parsesrcfile
  503. since they can produce incorrect results (spaces in sscanf can match
  504. \n's and company).
  505. * Made script_rid2sd report the script source directly and changed related
  506. return 1's to return 0's to avoid double script source reports.
  507. * Added missing return 0's after script_rid2sd is used and an extra error
  508. message in buildin_set/buildin_setd. [FlavioJS]
  509. * The default event script behaviour is to trigger on labels rather than
  510. NPCs now.
  511. * Removed several script config options which break NPC compatibility when
  512. you mess with them (event_script_type, event_requires_trigger,
  513. die_event_name, kill_pc_event_name, kill_mob_event_name, logout_event_name,
  514. login_event_name, loadmap_event_name, baselvup_event_name,
  515. joblvup_event_name)
  516. * LoadMap events no longer set the variable "@maploaded$" to the name of
  517. the new map. [Skotlex]
  518. 2007/12/03
  519. * Fixed a bug on Mail System. Removed the possibility to lost the attachment on
  520. a Map - Char server disconnection. [Zephyrus]
  521. 2007/11/29
  522. * pc_setoption no longer does view_data changes while disguised (as this
  523. breaks things) [Skotlex]
  524. * Random cleanup/documentation.
  525. * Made common/Makefile get the svn version from the src directory, not src/common.
  526. * Added a warning message to the install and uninstall targets.
  527. * Renamed all obj directories to obj_all, obj_txt or obj_sql in the
  528. makefiles (if an obj/ directory exists, BSD make enters it before
  529. reading the makefile) [FlavioJS]
  530. * Allowed disguising while riding a peco-peco (this does not seem to cause
  531. problems anymore).
  532. * The pvp rank packet is no longer sent to other players when disguised, as
  533. this leads to crashes when you die.
  534. * Probably fixed splash damage.
  535. * Reflected spells no longer cause knockback.
  536. * SG Blessing skills now grant the extra experience to everyone when the SG
  537. killed the mob.
  538. 2007/11/28
  539. * Applied the required changes to handle def as a signed char (allows for
  540. negative def)
  541. * Corrected skill_check_condition to not delete items right away for
  542. certain skills that do the deletion themselves. Fixes several skills
  543. consuming items twice.
  544. * Dispel's success rate is no longer affected by MDEF
  545. * You are no longer blocked from being warped when standing in a warp while
  546. in a duel.
  547. * Duels are now automatically ended when you warp out of the map you are
  548. in. [Skotlex]
  549. * Fixed reflected spells bypassing WoE no-knockback restriction, because
  550. the code allowed that when cast on self; not anymore (bugreport:231)
  551. * Reverted the position of the max_hp/max_sp basic setting, modified the
  552. max_hp/max_sp bonuses to use casting in order to work correctly with
  553. negative bonuses. [Skotlex]
  554. * Reconstructed a list of all PACKETVER types, by reverse-engineering
  555. it from places in the code where the define is used [ultramage]
  556. - recovered PACKETVER 6 which was added in r51, but overwritten by r141,
  557. one of the dumbest commits that I have seen so far
  558. - since 6 was the 'new trade window' update, it and its corresponding
  559. reply packet will now be used from now on instead the old version
  560. 2007/11/27
  561. * Added safesnprintf to strlib.c/h (bugreport:372) [FlavioJS]
  562. * removed login/char server_fd[] arrays, added server[].fd instead
  563. * TXT/SQL login server code synchronization [ultramage]
  564. - exported several core structures to login.h
  565. - split off ladmin communication code from the TXT login server
  566. - removed all occurences of login_log(); a unified function should be
  567. added when SQL's loginlog_db logging code gets synced with TXT
  568. - removed conf setting login_log_filename
  569. - fixed ladmin getting timeouts since the ping system was changed
  570. * Moved basic max HP/SP calculation to before parsing equipment, fixes
  571. negative absolute HP/SP bonuses not working.
  572. * Corrected the online_data_cleanup routine setting offline characters that
  573. are still connected to the char-server.
  574. * Added a check in script command sc_end to properly end infinte endure
  575. * ASC_BREAKER no longer triggers status effect cards. [Skotlex]
  576. * Fixed fake_nd not being exported correctly and being unloaded when
  577. reloading scripts. (probably fixes bugreport:444) [FlavioJS]
  578. 2007/11/26
  579. * Normalized makefiles:
  580. - 3 sections: variables, public targets, private/support targets
  581. - object files always in a *_OBJ variable
  582. - header files always in a *_H variable
  583. - object files always generated to an obj* subfolder
  584. - all Makefiles can be executed individually, calling other makefiles if necessary
  585. - generic object targets when possible
  586. * Fixed buildin_query_sql using Sql_Query instead of Sql_QueryStr,
  587. wrongly processing all %f,%d,... (fixes bureport:218) [FlavioJS]
  588. * Fixed guild expulsion not working correctly [ultramage]
  589. * Fixed a memory leak in mail_savemessage (src\char_sql\int_mail.c). [FlavioJS]
  590. 2007/11/25
  591. * Rev. 11804 Giant Fly Wings are now blocked on noteleport maps and duels. [L0ne_W0lf]
  592. 2007/11/24
  593. * Fixed a crash when Slim Pitcher is cast
  594. * Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483)
  595. * Added support for latest official client/server packet changes [ultramage]
  596. - enable by setting PACKETVER to 9; note that this breaks older clients
  597. 2007/11/23
  598. * Changed the status_change structure to use dynamic rather than static
  599. memory to hold the individual status changes, this should have a noticeable
  600. impact on the server's memory consumption. However, since this is a pretty
  601. large update (and I am unable to fully test all possible situations
  602. relating to status changes), watch out for any bugs. [Skotlex]
  603. 2007/11/22
  604. * Moved the reset of references to after the empty script checks in
  605. parse_script. (fixes bugreport:222 and bugreport:449)
  606. * Renamed fakenpcname to setnpcdisplay, fixed and extended it. [FlavioJS]
  607. - See doc/script_commands.txt for information on how to use it
  608. * Modified mapserver login procedure to make clients from may 2007
  609. and newer not crash when entering mapserver (bugreport:468) [ultramage]
  610. - this changes PACKETVER to 8, causing incompatibility with old clients
  611. - this makes the "Login" hex obsolete; please stop using it as it
  612. causes a conflict with this update and may have negative sideeffects
  613. 2007/11/21
  614. * Fixed Sql_SetEncoding not setting the encoding of the connection
  615. properly. (fixes bugreport:30)
  616. * Added backward compatible target 'conf' to the Makefile. [FlavioJS]
  617. * Changed Lif's Emergency Avoid to just get a normal skill delay
  618. (blocks all skills, cancelled by mapchange / re-summon) instead of
  619. getting a persistent block on only this one skill (bugreport:13)
  620. * Homunculi now reset their can-act delay on call/resurrect/mapchange
  621. (allows bypassing delays by doing rest/call instead of relog) [ultramage]
  622. 2007/11/20
  623. * Implemented SL_SUPERNOVICE erasing the death record 1% of the casts.
  624. * Implemented current exp being capped to the exp required to level up from
  625. the previous level when we are at max level (required for some S. Novice
  626. buffs) [Skotlex]
  627. 2007/11/19
  628. * Nullpo's disabled on release builds.
  629. * Added timestamps to the log of memory leaks.
  630. * Moved definition of __func__ to cbasetypes.h.
  631. * Configure script updated:
  632. - added option to select the memory manager
  633. - added option to enable MAPREGSQL
  634. - added option to enable DEBUG
  635. * common's Makefile deleting svnversion.h on 'clean' target. [FlavioJS]
  636. 2007/11/18
  637. * Implemented a small change that was long overdue: Displaying the
  638. char-select screen now uses a single SQL query instead of up to 9.
  639. [Skotlex]
  640. * Replaced jA's way of allocating npc shop data with a simple dynamic
  641. array that gets allocated during loading and freed on unload
  642. - automatically fixes bugreport:404, which would otherwise require
  643. manipulating the npcname_db (the original author didn't, hence the bug)
  644. - now a supporting variable 'count' is used for tracking the length
  645. instead of an extra dummy entry at the end of the shop list
  646. - partially removed the MAX_SHOPITEM restriction (if this was written
  647. properly, the system could support an unlimited amount of entries)
  648. 2007/11/17
  649. * Removed battle_config.error_log as console_silent already handles this
  650. * Made OnTouch zone dimensions be stored as radius instead of diameter
  651. - cleaned up some overly complicated area calculations [ultramage]
  652. 2007/11/16
  653. * Added 2 new status changes for Life and Regeneration Potions [Zephyrus]
  654. - Fixed some items boxes giving wrong tamings.
  655. - Fixed another item giving 48 gladius[3]
  656. * Added error messages when trying to place objects on invalid map coords
  657. * Fixed Divine Protection working against players (bugreport:410)
  658. 2007/11/15
  659. * Fixed some homunculus skill offset calculation mistakes (bugreport:363)
  660. 2007/11/14
  661. * Fixed skill_castnodex_db.txt not being parsed correctly
  662. * Fixed a search&replace typo in skill_db.txt
  663. * Added error reporting for invalid rows in skill db files
  664. * Added error reporting to buildin_warp when it fails [ultramage]
  665. 2007/11/13
  666. * Fixed homunculus skills having unlimited range instead of being
  667. capped to view_distance+1 (for details see bugreport:376) [ultramage]
  668. * Fixed @addwarp crashing the map server (bugreport:390). [FlavioJS]
  669. * The Forget-me-not status now behaves like Decrease AGI [ultramage]
  670. - doesn't cancel Impressive Riff, Wind Walker, True Sight (bugreport:187)
  671. - additionally, it doesn't cancel Cart Boost
  672. * Fixed some bugs on mail system. [Zephyrus]
  673. - Added the pc_candrop check (bugreport:305)
  674. - Added picklog to mail.
  675. - Added INCMDEFRATE status for Mdef potion.
  676. 2007/11/12
  677. * Now when job changing to another class tree, status changes from skills
  678. that belong to your previous class are cleared. [Skotlex]
  679. * Applied Rayce's improvements to the npc script parser [ultramage]
  680. * Made on-touch areas work with walking npcs (is somewhat process
  681. intensive, but people do not really care about that, do they?) [Skotlex]
  682. * Fixed a bug in r11384 letting you bypass requirements for some skills
  683. 2007/11/09
  684. * Expanded weapon_type enum with dual-wield constants (bugreport:384)
  685. * Replaced several 'int' variables with enums that they represent
  686. * Re-worked the login-char-map packet spam mechanism
  687. - mapserver no longer sends entire user list to charserver every
  688. 10 seconds; similar change done to the char-login connection
  689. - user count updates are only sent when the value actually changes
  690. instead of servers polling each other every few seconds
  691. - the servers now prevent interserver connection timeout explicitly by
  692. sending ping/ack packet pairs instead of relying on the usercount
  693. polling to do so; keepalive is sent every 'stall_time'-2 seconds
  694. * Fixed socket.c checking time() incorrectly (bugreport:394) [ultramage]
  695. * Added a database iterator to db.c/db.h. [FlavioJS]
  696. 2007/11/08
  697. * Changed EXIT_SUCCESS back to 0 in console.c to avoid an unnecessary include.
  698. * Fixed gm_account_db not being deallocated in login-converter.c.
  699. * Refactoring names and documentation in db.h/db.c: [FlavioJS]
  700. - changed 'struct dbt' to 'struct DBMap' and 'DB' to 'DBMap*'
  701. - changed 'struct db' to 'struct DBMap_impl' and 'DB_impl' to 'DBMap_impl*'
  702. - changed COUNT to DB_COUNTSTAT and made it's existence not depend on DB_ENABLE_STATS
  703. - removed some @see links and corrected small typos in the documentation
  704. * Fixed a glitch where all packets immediately after the map->char
  705. login packet would get discarded and the mapserver disconnected
  706. * Synced charserver char creation creation code [ultramage]
  707. - removed most of the creation failure messages printed to console
  708. - fixed sql charserver letting you use control chars in char names
  709. - new chars will not start with the 'Knife' and 'Cotton Shirt' equipped
  710. anymore (charserver blindly placed magic values into the equip field)
  711. * Updated configure script: [FlavioJS]
  712. - small correction to the help text of --with-mysql and --with-pcre
  713. - added the -Wno-switch compiler option to suppress the
  714. "enumeration value '%s' not handled in switch" warnings
  715. * Added a new setting 'guild_skill_relog_delay' to activate the guild skills delay
  716. on Guild Master relog. [Zephyrus]
  717. 2007/11/07
  718. * Some updates on the mail system packets [Zephyrus]
  719. - Corrected the mail database structure on main.sql
  720. - Added separated packets for get and set attachment on mail system.
  721. 2007/11/06
  722. * Fixed a crash caused by a mistake in the previous change
  723. 2007/11/05
  724. * Changed skill db loading code to work similarly to how itemdb/mobdb
  725. is loaded (generic file loader + specialized function to process rows)
  726. - all skill db files are now checked for inconsistencies the same way
  727. * Corrected the max. allowed skill name length, and optimized code that
  728. works with skill names according to latest changes [ultramage]
  729. * Reverted official drop rate estimation [Playtester]
  730. - although it really exists we don't have enough information about it
  731. - if server owners really want it they can implement it themselves
  732. (it's just a one-line fix anyways)
  733. * Cleaned up skill db lookup code
  734. - added some well-behaved functions to replace macros (skill_get_index)
  735. - used skill_get_index() to replace often occuring blocks of code
  736. that did the skill_id -> skilldb_index calculation in-line
  737. * Corrected skill db loading code which was using a totally wrong
  738. column count in sevreal cases (or didn't do any checks at all)
  739. * Changed the skill_db.txt skill names in comments into actual columns,
  740. now the server reads these instead of a hardcoded array [ultramage]
  741. 2007/11/04
  742. * Implemented official drop rate estimation [Playtester]
  743. - estimation is rounded on 2 positions after decimal point
  744. - this will effectively raise drop rates below 10% by 0.01%
  745. 2007/11/03
  746. * Added jA script function 'strnpcinfo', for increased npc awareness
  747. 2007/11/02
  748. * Fixed one wrong return value in buildin_getcharid (bugreport:33)
  749. * Removed the big list of BUILDIN_FUNC() declarations in script.c,
  750. as they are not needed anymore and no code utilizes them
  751. * Moved the BUILDIN_DEF() block to the end of script.c [ultramage]
  752. * Modified trap related code so it behaves as explained by Playtester:
  753. Traps trigger on everyone in their 'effect range' (skill_db's splash) for
  754. every target that lies within its trigger range at trigger time (range and
  755. interval in the skill_unit_db). [Skotlex]
  756. 2007/11/01
  757. * Removed code that queues OnAgitEliminate after the Emperium is broken,
  758. this is now done properly by the gvg script instead [ultramage]
  759. - if you have any extra castles, update your scripts accordingly
  760. 2007/10/31
  761. * Added names to the SC_ and SI_ enums, now they can be used to properly
  762. indicate where such values are to be used (replaces usage of 'int')
  763. * removed MIN_/MAX_PORTAL_MEMO, set MAX_MEMOPOINTS from 10 to 3
  764. * removed support for @go-ing to your memo points
  765. * simplified the overly verbose @memo command; now re-uses pc_memo()
  766. * cleaned up pc_memo(), now uses semi-correct packet replies
  767. * Minor code cleaning/formatting [ultramage]
  768. * Updated several mapflags - 'nomemo' 'noteleport' 'nosave' 'nowarpto'
  769. 'restricted' - due to Izlude Battle Arena release. [SinSloth]
  770. - Updated 'item_noequip' and 'skill_nocast_db' to match with 'restricted' mapflags.
  771. 2007/10/29
  772. * Updated the mail db structure on main.sql [Zephyrus]
  773. * Makefile creating the conf/import forder. [FlavioJS]
  774. * command code cleaning (refer to topic:169759) [ultramage]
  775. - separated the execution part of command code into interface part
  776. and internal part to better see which checks are done and when
  777. (fixes problem where 'nocommand' mapflag blocked server npcs)
  778. - moved the internal commands list (array) to the end of the file,
  779. this let me discard that long block of ACMD_FUNC() declarations
  780. - removed enum AtCommandType from command headers and commands array;
  781. its purpose was perhaps to identify aliased commands, but apparently
  782. it was never finished because the rest of the code doesn't use it
  783. (also doing aliases like this is not a very good idea)
  784. - internally, commands are now referenced to using their function name
  785. - removed the @/# symbols from the command lists; all lookup functions
  786. will now properly deal with strings with- and without a command symbol
  787. (commands interface still requires the symbol tho', so TODO for later)
  788. - removed several unneeded commands (*id2 code, dmalloc debug commands)
  789. - reverted atcommand config from alphabetically-sorted to how it was
  790. before (with additional fixes; see /conf changelog)
  791. - added missing code for #dropall / #storeall
  792. - added a warning when trying to set gm level of an undefined command
  793. * The structure of the commands table has changed, please adjust
  794. docs/guides to match the new format (sorry for the inconvenience)
  795. 2007/10/28
  796. * Minor adjustment to take into account the end of line.
  797. * Fixed the line count in the new error message of npc_parse_function.
  798. * Restricted more the parsing of npc code. (fixes bugreport:317) [FlavioJS]
  799. * Fixed a bug sending on the attachment message [Zephyrus]
  800. 2007/10/27
  801. * Fixed a typo in r11505 messing up the 'npcmove' command
  802. * Removed 'petid', a command from r284 to look up pet ids by name
  803. * Fixed TXT charserver doing periodic random-sized alloc (bugreport:312)
  804. * Set 'Create Converter's produce success rate to 100% (bugreport:302)
  805. * Added check that verifies weapon/ammo/state requirements also when
  806. casting finishes (might have unwanted side-effects!) (bugreport:228)
  807. * Fixed Firewall knocking back undead/fire element mobs (bug in r11578)
  808. * Added dummy 'openmail' to txt server to fix a script error message
  809. * Improvements/fixes to the mail system improvements :) [ultramage]
  810. * Improvements to the mail system. Need Testing, [Zephyrus]
  811. 2007/10/26
  812. * Moved the new novending cell check from the internal code to the
  813. client-server interface (allows server to force-open shop if needed)
  814. * Removed confusing map_nick2sd_nocase(), let the charserver handle it
  815. * Added correct packet for attachment retrieval failure when overweight
  816. * Fixed one more mistake in r11571 (Sql->SqlStmt) [ultramage]
  817. * Removed the config setting firewall_hits_on_undead setting, Firewall and
  818. kaensin now automatically calculate the number of hits they should do per
  819. iteration based on the skill trigger frequency (you may want to raise that
  820. delay of 1ms in the db, though). [Skotlex]
  821. 2007/10/24
  822. * Corrected a fex misshaps from r11571:
  823. - disabling the memory manager
  824. - using the wrong length for the title and body in mail_savemessage
  825. * Removed the quick-fix in the npc duplicate check and the impossible condition
  826. that is generating the warning. [FlavioJS]
  827. * @/#jobchange no longer strips your equipment since pc_jobchange removes
  828. any unequippables already.
  829. * Removed the wasteful define MAX_PC_CLASS and replaced it by the
  830. CLASS_COUNT define + pc_class2idx function. This should save a bunch of
  831. memory from the map server.
  832. * Merged the CELL_NOVENDING code (see topic #129209) [Skotlex]
  833. * Increased the max. send buffer size to 5M since 1M is not enough
  834. * Updated vs7 and vs6 project files
  835. * Added upgrade_svn11548.sql to convert the mail table to new format
  836. * Cleaned up the mail code, no more pointless dynamic allocation
  837. * Cleaned up some messy guild code (more to come) [ultramage]
  838. 2007/10/23
  839. * Fixed a compilation bug on linux (FALSE -> false) [Zephyrus]
  840. 2007/10/22
  841. * Heat isn't supposed to consume SP when used against players [Playtester]
  842. - please report if it still consumes SP in pvp
  843. * Added the new mail system implementation (Requires more test and
  844. optimizations) [Zephyrus]
  845. - Updated the mail DB structure.
  846. * Removed some mail config settings and atcommands not required anymore.
  847. - Added documentation for script commands: openmail and homshuffle.
  848. 2007/10/21
  849. * Fixed a small mistake in r11503 causing a fatal error&exit on unix
  850. when you try to do a graceful exit (by ctrl+c for example) [ultramage]
  851. * Removed SC_INCAGIRATE/SC_INCDEXRATE as they are not used anymore.
  852. * Added SC_INCASPDRATE, SC_INCFLEE2, SC_INCCRI, SC_INCDEF, SC_INCBASEATK
  853. and SC_FASTCAST as these are required by the newer items. [Skotlex]
  854. 2007/10/20
  855. * Fixed 'unequip' removing items in the wrong position (bugreport:252)
  856. * Fixed #refine unequpping the caller's item by mistake (bugreport:265)
  857. * Fixed a nasty bug from r11410 which let people create chars with
  858. already taken char names, and (in TXT's case) even cause a crash.
  859. - Bug was a variable name collision between the total number of chars
  860. and a char's slot number (both were called 'char_num'). [ultramage]
  861. * Some more updates to the skill unit code [Playtester]
  862. - renamed SKILLUNITTIMER_INVERVAL to SKILLUNITTIMER_INTERVAL
  863. - Heat now depends on the interval settings rather than firewall_hits_on_undead
  864. - Icewall doesn't break anymore when the SKILLUNITTIMER_INTERVAL gets changed
  865. 2007/10/19
  866. * Added bonusautoscript and bonusautoscript2. These are used to attach a
  867. script to a player which gets executed on attack (or when attacked). This
  868. is very similar to the autospell bonuses, except that a script is executed
  869. instead of a spell. See doc/script_commands for indepth description and
  870. usage. NOTE that I am unable to test ingame, and even though I proofread
  871. the code it could have bugs. Feel free to test and report. [Skotlex]
  872. * Applied some cleanups that should correct "Infinite Endure" ending
  873. sometimes. [Skotlex]
  874. 2007/10/18
  875. * Rev. 11516 Uncommented the showwarning and showdebug from 11508. [L0ne_W0lf]
  876. * Fixed the incorrect map names on the debug messages (mapid->mapindex
  877. mishap from r11508).
  878. * Fixed the incorrect reporting of npc names being too long when the the
  879. length is 24 (from r11508). [FlavioJS]
  880. * Rev. 11511 Commented out ShowWarning and ShowDebug messages added [L0ne_W0lf]
  881. in revision 11508. Aside from the ShowDebug being faulty, they
  882. are both fare too annoying for public use for the time being.
  883. If/when I get the NPC names fixed, we can add it back.
  884. * Further optimization of the skill unit code [Playtester]
  885. - removed code for Crimson Fire Formation it now uses the same code as Fire Wall
  886. - added same knockback behavior as Fire Wall for Fire Formation
  887. - Heat now does 50 hits a second in pvp too
  888. - please let me know of any bugs that might appear
  889. * Optimized the skill unit code [Playtester]
  890. - reverted the unit timer interval to 100ms to save CPU usage
  891. - rewrote the unit code of Fire Wall, Fire Formation and Heat so that they hit
  892. every 20ms if the target wasn't knocked back despite of the unit timer interval
  893. - Heat now does 15 SP damage to players instead of 60 per hit
  894. - optimized memory usage
  895. - TODO: Renaming or removing firewall_hits_on_undead config
  896. * Clarified how npc names work in script_commands.txt.
  897. * Fixed a forgotten "return 0;" that stopped the parsing of the file
  898. after the first "script" of the file is parsed sucessfully (caused by r11502).
  899. * Applied the same parsing and restrictions of npc names to warps, duplicates
  900. and shops (other code expects unique names for them too). [FlavioJS]
  901. * Applied the new checking function to clif code, this fixes various
  902. length mismatches caused by incomplete code in r11386
  903. * Added clif_process_message(), an unified way to validate all four
  904. types of player message packets and retrieve their components
  905. * Removed the requirement to provide a character name in the message
  906. string when calling is_atcommand() (needed for the previous fix)
  907. - currently both ways work, but old will be removed in the upcoming
  908. command cleanup so please adjust your custom code if you use this!
  909. * Merged improved/cleaned up (WiP) code for clif_parse_WisMessage
  910. * Removed commented-out code for check_fake_id() [ultramage]
  911. 2007/10/17
  912. * Removed outdated copyright and version number from startup logo
  913. * Removed socket code that attempts to cope with code bugs at runtime
  914. * client_addr will now be properly set to 0 for server connections
  915. * Fixed subnet check message displaying incorrect ip addresses
  916. * Merged do_sendrecv() and do_parse() into do_sockets() [ultramage]
  917. * Reworked the parsing at npc.c.
  918. - Fixes npc.c discarding the '}' at the end of file, when there is no
  919. newline. (uncovered as a side-effect of r11487)
  920. * Empty script functions always have code now (won't report as missing
  921. when you try to call them).
  922. * Changed userfunc_db to not limit the name to 50 characters. [FlavioJS]
  923. * Ground skill now can trigger every 20ms [Playtester]
  924. - Firewall, Fire Formation and Heat now can do 50 hits a second
  925. - this was proven to be official behavior, but it will raise CPU usage
  926. * small timer.c cleaning
  927. - removed "with less than 4 values, it's speedier to use a simple loop"
  928. as this case will never occur (premature optimization from r1284)
  929. 2007/10/16
  930. * Venom Splasher fixes according to bugreport:230
  931. - added passive skillv*30% bonus from Poison React
  932. - added official splash damage calculation - damage gets split by the
  933. number of targets at range 1, then applied to all targets in range 2
  934. - reverted some very old code - clif_calc_delay() - that was preventing
  935. skills from displaying properly, by erroneously assuming that
  936. if the target has ddelay 0, it has endure effect activated
  937. * Fixed displaying of several splash skills (see bugreport:238)
  938. - added flag SD_PREAMBLE for skills that need the 'magic' packet
  939. (fixes Grimtooth / Cart Revolution displaying out of sync)
  940. - hacked together Venom Splasher's "no animation for central mob"
  941. - hacked in a custom packet to make Dragonfear display semi-correctly
  942. * Made Venom Splasher a splash attack that distributes damage
  943. * Commented out clif_skill_damage2() as it is not used anymore
  944. * Fixed a copy-paste mistake in disguise code (from r5833) [ultramage]
  945. * Tweaked the loop in parse_script to better handle when the outer
  946. brackets aren't checked.
  947. * Fixed a typo in skip_space that stopped skipping characters when it
  948. encountered a '*' or '/' in a block comment. [FlavioJS]
  949. 2007/10/15
  950. * Fixed NPC_CRITICALWOUND to reduce heal by 20% per level [Playtester]
  951. * Fixing TK Mission asigning non spawning mobs. [Zephyrus]
  952. * Updated the item price/sell reading code to enable 'null' values. The
  953. difference between a blank value and 0 is that when the value is blank, it
  954. should automatically take half/double the other value. The previous
  955. behaviour did this automatically and didn't let you specify, for example,
  956. if you wanted a given item to sell for 0.
  957. * Also added a warning when an item in the db has an exploitable price
  958. (through overcharge/discount). [Skotlex]
  959. 2007/10/14
  960. * Rev. 11476 Implemented new skill "Enlarge Weight Limit R", [L0ne_W0lf]
  961. and increased MAX_SKILL_TREE by 1.
  962. * Fixed charsrever crashes, caused by r11410 [ultramage]
  963. 2007/10/13
  964. * Fixed up NPC_POWERUP and NPC_AGIUP [Playtester]
  965. - NPC_POWERUP: 3x ATK and 2x HIT for 10+5*level seconds
  966. - NPC_AGIUP: 2x MOVE and 2x FLEE for 10+5*level seconds
  967. * Some further changes to the delayfix function [Playtester]
  968. - aftercast delay is at least amotion no matter what skill
  969. (this includes skills with cast time AND skills with skill delay!)
  970. - aftercast delay reductions can NEVER reduce the aftercast delay below amotion
  971. (this includes Bragi and Soul Links)
  972. * Again modified the delayfix function to reflect the current skill delay
  973. knowledge. Skills with 0 delay use amotion always (regardless of cast
  974. times) [Skotlex]
  975. 2007/10/12
  976. * Further updates to skill_delayfix function [Playtester]
  977. - aftercast delay can never be lower than amotion
  978. - please report if this broke any skills
  979. * Fixed wrong index calculation in TXT char creation code (ref: r11410)
  980. * Fixed SQL itemdb loading crash on NULL column (ref: 11398) [ultramage]
  981. * Updated the skill_delayfix function to behave as recently discovered by
  982. Tharis: Skills with no delay set will use amotion ONLY if the skill was
  983. instant-casted. [Skotlex]
  984. * Fixed Bragi's aftercast delay reduction [Playtester]
  985. 2007/10/10
  986. * Fixed itemdb_read_sqldb blowing up the server with segmentation faults.
  987. * Added an option for parse_script to ignore the checks for the set of
  988. brackets around the script. [FlavioJS]
  989. * Implemented more official Warp Portal behavior
  990. - the transition from active to waiting mode is now done as a simple
  991. appearance change instead of deleting one and creating the other
  992. - due to the above, an opening warp is now properly accompanied by
  993. the log-in like sound effect
  994. - Removed the check that prevented Warp Portal from opening after you
  995. picked the destination, if there was someone blocking the cell
  996. * Re-enabled packet 0x1ac to be sent when something gets ankle-snared
  997. * Partially removed the usage of 'flags' to direct the execution path
  998. in skill unit code (some people seem to really like flags >_>)
  999. - wiped out r8478 and its multiple levels of useless flag propagation
  1000. - skill_unit_onlimit (expiration) no longer executes in skill_delunit
  1001. - added skill_unit_ondelete for proper handling of this event
  1002. * Removed 'into_abyss' effect on traps; tests show that it works ONLY
  1003. for Gemstones (tho' iRO website claims otherwise) - bugreport:171
  1004. - corrected code that was exploiting the flag as an 'expired' trap flag
  1005. (replaced it with a more jAthena-ish approach)
  1006. * Fixed a messup in r11347 causing skill units to expire, trigger
  1007. or not trigger, completely randomly
  1008. 2007/10/09
  1009. * Added upgrade_svn11388.sql to correct some log column widths
  1010. * Corrected string lengths according to bugreport:198 [ultramage]
  1011. - CHATBOX_SIZE: 70 -> 70+1
  1012. - removed some too aggressive checks in clif_parse_globalmessage()
  1013. - removed CHAT_SIZE define as it actually doesn't apply anywhere
  1014. - added CHAT_SIZE_MAX to serve as a custom limit to input string lengths
  1015. 2007/10/08
  1016. * Delayed the check for required items when a skill is cast to when they
  1017. are consumed. Now skills only fail due to lack of items after being cast.
  1018. - Please make a bug report if you know of any skill that doesn't work
  1019. like this in official.
  1020. * Fixed hp of other party members not being sent when you join a party.
  1021. * Removed unused global array names_id and renamed some structures that
  1022. are used with variables of the same name. [FlavioJS]
  1023. 2007/10/07
  1024. * Fixed a bug on sql char server not checking the namelength of a new
  1025. character. Bug ID #184: Char Creation With An Empty Name [Zephyrus]
  1026. 2007/10/06
  1027. * the mapserver won't exit when no mapcache is found, with use_grf: yes
  1028. * Fixed some \r uses, now looks better; /thx to Ai4rei (topic:165952)
  1029. * Removed that ridiculous spinner that displays during map/npc loading
  1030. - and added a more informative progress indicator (idea from jA/eapp)
  1031. * Removed loads of code that supported these functions
  1032. - -230b per npc => -3MB of wasted memory
  1033. * Fixed related npcs that erroneously used 'stoptimer'
  1034. * Checked/fixed/removed some old script and npc commands
  1035. + cmdothernpc
  1036. - a specialized 'donpcevent' with the event specified as two arguments
  1037. + enablearena/disablearena
  1038. - completely equivalent to enablewaitingroomevent & co.
  1039. - do we need these 'synonyms' ?
  1040. + inittimer/stoptimer
  1041. - removed since its logic was incompatible with the code it depended on
  1042. 2007/10/05
  1043. * REALLY fixed emblem not displaying when a char logs in
  1044. (compromise between r10624 and r11033 that hopefully works)
  1045. * Fixed 'Wink of Charm' - shouldn't work on boss mobs (topic:166115)
  1046. * Removed a broken remnant of code from old gospel code (r4349) that's
  1047. _supposed_ to clear the gospel status (no item use?) when you step
  1048. out of its zone; 1) the constant UNT_GOSPEL was used in a switch()
  1049. instead of PA_GOSPEL (thus actually ending 'NPC_STUNATTACK' status),
  1050. and 2) this code path is never taken, because Gospel is not recorded
  1051. in skill_unit_temp[] (it has a periodic timer and is not DUALMODE)
  1052. * Now the first empty spot in the 'skill_unit_temp' array will be used
  1053. when tracking movement between land skills; reduced its length to 20
  1054. * Fixed the skill unit mechanism that is supposed to track whether
  1055. you're still standing in a certain land skill's AoE or not, which
  1056. was not working correctly since the time it was added (r3133)
  1057. - solves the nasty problem of Loki, Quagmire, ... status not ending
  1058. even after stepping out of it in some cases, if there was another
  1059. song overlapping the skill's area (fixes bugreport:34) [ultramage]
  1060. 2007/10/04
  1061. * Completed the SC_LIFEINSURANCE status and it's status icon. [Zephyrus]
  1062. - Updated Item_db.txt.
  1063. * Added SC_EXPBOOST (Field Manual), SC_ITEMBOOST (Bubble Gum) to const.txt.
  1064. Allready working [Zephyrus]
  1065. - Added SC_LIFEINSURANCE and SC_BOSSMAPINFO (not implemented)
  1066. - Updated Field Manual and Bubble Gum in the itemdb.txt file.
  1067. - As L0ne Wolf reported to me and based on Doddler information, the Bubble Gum
  1068. only do a second try of the item drop, and it don't increase the drop rates.
  1069. * Fixed a mistake in r10919 messing up logged values (bugreport:167)
  1070. * Added code that compacts the vending list after a purchase; fixes
  1071. the problem with empty positions appearing in the list (bugreport:168)
  1072. * Corrected Icewall skill to be closer to official behavior
  1073. - now works on occupied squares (previously it disappeared)
  1074. - now you can walk out of an icewall square (removed code that blocked
  1075. pathfinding if the origin cell was of a nonwalkable type)
  1076. - added back the hack where mapcell changes are broadcast to whole map
  1077. (prevents client from leaving the cells non-walkable if you warp away)
  1078. * Removed integer mob skill state/target definition support (unused)
  1079. * Added script source error reporting to countitem() (topic:167165)
  1080. * Fixed a compile problem when hotkey saving is disabled (topic:167265)
  1081. * Added MAX_HOTKEYS to supplement the HOTKEY_SAVING define [ultramage]
  1082. 2007/10/03
  1083. * Added the code for Bubble Gum (SC_BONUSDROP) and Field Manual
  1084. (SC_BONUSEXP). items updated as it supose to work. [zephyrus]
  1085. * Cleaned up parts of skill.c related to skill units [ultramage]
  1086. - removed some nonsense code in skill_dance_switch() (from r8876)
  1087. - removed 'security system to prevent forgetting timer removal' (r1213)
  1088. - renamed some skill-related data structs (had same name as variables)
  1089. - commented out custom Venom Splasher countdown messaging code
  1090. * Bosses now can use teleport on Land Protector [Playtester]
  1091. - Moved the homunculus shuffle code to mercenary.c, fixing the bug in the
  1092. atcommand not using the bonus evolution stats for homunculus.
  1093. - Adding a new script command "homshuffle" to fix homunculus using NPCs.
  1094. 2007/10/01
  1095. * Fixed various trading/vending glitches [ultramage]
  1096. - fixed vending_tax not working at all (integer division in r10182)
  1097. - undid change from r8273 where pc_getzeny() treated zeny overflow as
  1098. an error condition; officially, the value is just bounded to MAX_ZENY
  1099. (this fixes stuff like shops that you can't buy items from).
  1100. - fixed stupid code that, instead of properly checking and filtering
  1101. invalid items during shop setup, opted to 'hide' these items from
  1102. the vending list instead...
  1103. - removed some custom error message packets related to vending
  1104. - fixed a glitch where the server would open a shop with no items
  1105. when all entered items were tagged as invalid
  1106. - split zeny handling from trade_tradeadditem() into a separate func
  1107. - removed loads of redundant code from vending.c
  1108. 2007/09/30
  1109. * Removed redundant 'subnet' s_subnet structure variable. [ultramage]
  1110. 2007/09/28
  1111. * Changed back the query to get the friends of a character to a LEFT JOIN.
  1112. * Setting the item script variables to NULL when they are freed. (bugreport:142 ?)
  1113. (a double @reloaditemdb might result in a double free) [FlavioJS]
  1114. * Rev. 11325 Corrected Summer Outfit not included as a PC class. (Zephyrus_CR) [L0ne_W0lf]
  1115. * Rev. 11321 Implemented Summer Outfit care of Zephyrus_CR. [L0ne_W0lf]
  1116. - Increased MAX_GUILDCASTLE in mmo.h to 29 for future implementation
  1117. of the 12.1 Guild Castles.
  1118. * Fixed sql target not including the save target in the Makefile, needed
  1119. by the map server for save/mapreg.txt. (bugreport:131) [FlavioJS]
  1120. 2007/09/27
  1121. * Loot code using charid's instead of id's in pick priority.
  1122. * configure script using svn:eol-style LF and require mysql/pcre when
  1123. --with-mysql/pcre is used.
  1124. * Reimplemented mmo_char_fromsql using sql statements. (fixes bugreport:93)
  1125. * Fixed buildin_gethominfo not being included in the script engine. (bugreport:124)
  1126. * homunculus_evolution -> homevolution in script_commands.txt.
  1127. * Deleted item DEFAULT from item_db.txt and regenerated item_db.sql. (bugreport:103)
  1128. * Skip empty lines and give more feedback (for invalid lines) when reading
  1129. item_db.txt/item_db2.txt. [FlavioJS]
  1130. 2007/09/26
  1131. * Rev. 11307 Implemented Token of Siegfried effect care of Zephyrus_CR. [L0ne_W0lf]
  1132. 2007/09/25
  1133. * Modified a bit the hard/lazy ai triggers to match aegis (you can alter
  1134. these changing the defines near the beginning of mob.c):
  1135. - Mobs go into active AI when they are 2 cells from entering a player's
  1136. view (ACTIVE_AI_RANGE)
  1137. - Mobs in passive AI no longer use skills.
  1138. - Mobs in passive AI do not random walk UNLESS they have entered active AI
  1139. before (random walk frequency is not lost during passive AI).
  1140. * Added an additional check to prevent support skills from being blocked if
  1141. the target has an armor element that blocks it. [Skotlex]
  1142. * Fixed the double free's caused by r11290 (wrong option in the database
  1143. constructors). [FlavioJS]
  1144. * Corrected being able to cast multiple Gravitation Fields before the
  1145. previous one is cancelled. [Skotlex]
  1146. * Disabled tick cache (to enable it: define TICK_CACHE to the number of
  1147. calls that should be cached).
  1148. * Added a charid2sd database for fast charid searches.
  1149. * Reworked the nick cache to only contain offline characters. [FlavioJS]
  1150. 2007/09/24
  1151. * Ignore %MDef bonuses now only reduce target's base MDEF, not MDEF2.
  1152. * Updated the 'skills that cause no damage are blocked now if the skill
  1153. element is blocked by the target' to only apply if the skill has a status
  1154. change associated (fixes Resurrection/Heal being blocked).
  1155. * Added a warning to prevent loading mobs with IDs that belong to the clone
  1156. range. [Skotlex]
  1157. * Limited manual detection of data truncation to string/enum/blob columns.
  1158. * Renamed conf-tmpl to conf. [FlavioJS]
  1159. 2007/09/23
  1160. * Added flag svn:executable to the configure script.
  1161. * Added code for MySQL versions (below 5.0) that don't have
  1162. MYSQL_DATA_TRUNCATED.
  1163. * map_addflooritem and struct item_drop_list using id's instead of
  1164. struct map_session_data's (fixes bugreport:36).
  1165. * Fixed buildin_escape_sql not properly escaping in sql servers. [FlavioJS]
  1166. 2007/09/22
  1167. * Fixed a severe bug in inventory saving code (caused by r11192)
  1168. * Applied changes to clif_parse_globalmessage() from my WiP code
  1169. - clearer processing of the individual packet components
  1170. - proper code ordering, some more integrity checks
  1171. - fixes to some poorly chosen ShowWarning() format strings
  1172. - global chat logging no longer logs the entire string (w/ player name)
  1173. * Fixed global chat logging always crashing on a null pointer
  1174. * Added 'safestrnlen' to prevent null pointer crashes [ultramage]
  1175. * Updated sql files [Playtester]
  1176. * Added a sanity check for MAX_ZENY (doesn't compile if too big).
  1177. * Redid the buildin_query_sql function. (fixes bugreport:81). [FlavioJS]
  1178. 2007/09/21
  1179. * itemdb.c/h using a static array of 32k struct item_data* entries (faster
  1180. itemdb loockup and a first step to remove map_session_data->inventory_data).
  1181. * Fixed a typo in the configure script that replaced CFLAGS with CPPFLAGS
  1182. when -Wno-pointer-sign is supported by the compiler. [FlavioJS]
  1183. * Fixed a typo in the status-change saving code (wrong variable used)
  1184. * Fixed a case of bad sql code conversion breaking homun skill loading
  1185. * Corrected skill Charge Attack as described in bugreport:67 [ultramage]
  1186. - cast time is between 100% and 300% (+ infinite waiting fixed)
  1187. - damage is also between 100% and 300% (doesn't increase past range 9)
  1188. - added knockback that's equal to the distance to target
  1189. - no longer causes teleportation on WoE grounds
  1190. - if target runs behind an obstacle, the skill will still teleport you,
  1191. but will not perform the attack or do knockback
  1192. - this should be official behavior, so enjoy the weirdness!
  1193. * Makefile deleting .svn in save folder.
  1194. * Limited the number of packets parsed per cycle to 3.
  1195. * Fixed sql login throwing an out-of-place debug message and escaping too
  1196. much of the name string when creating a new login with _M/F.
  1197. * Configure script detects 64bit distributions of MySQL.
  1198. * Generated the configure script with cygwin's autoconf. [FlavioJS]
  1199. 2007/09/20
  1200. * Merged the tmpsql branch: [FlavioJS]
  1201. - Abstraction for the sql code (sql.c/h).
  1202. - New configure script and makefiles.
  1203. - Restored txt zeny logging code. (r10814)
  1204. - Rewrote mapserver's sql code - itemdb, mobdb, mapreg, logs. (r10814)
  1205. - Fixed a precedence issue (&& and ) in char_sql/char.c. (r10833)
  1206. - Improved db reading code a bit for consistency. (r11077)
  1207. - Added separate atcommand for mail deletion. (r11077)
  1208. - Corrected a few messages that said "new" instead of "unread". (r11077)
  1209. - Broadcast (*) messages now use "*" as the target's name (not ""). (r11077)
  1210. - Moved StringBuf code from utils.c/h to strlib.c/h. (r11084 r11117)
  1211. - Some misc login server cleanups (reformatting etc). (r11136)
  1212. - Corrected/modified some header entries. (r11141 r11147 11148)
  1213. - Adjusted VS project files. (r11147)
  1214. - Adjusted the way the sql charserver does item saving. (r11192)
  1215. - Corrected usage of reserved keyword 'friend' in mmo.h. (r11192)
  1216. 2007/09/17
  1217. * Several skills with a splash area (except ground based ones) will now hit
  1218. Ice-walls when casted by mobs.
  1219. * Cleaned up and fixed monster_ai&0x40 (chase through warps). It works
  1220. correctly now regardless of the number of players on the source/destination
  1221. maps.
  1222. * Updated sql files [Playtester]
  1223. * Applied various crash-protections to script commands that deal with the
  1224. equip-position array.
  1225. * Corrected and simplified the skill_magic_reflect function. Fixed damage
  1226. reflection being based on the caster rather than the target.
  1227. * Potions are now usable inside Gospel by the casting Paladin (as per Aegis
  1228. tests done by AuronX)
  1229. 2007/09/14
  1230. * Some changes brought up by AuronX (see topics 160295 and 149176):
  1231. * Gravitional Field is now a MISC type of attack.
  1232. * Magic reflection now effectively switches the caster/target (after damage
  1233. has been calculated). Moved magic return and Magic Mirror code together
  1234. with Kaite.
  1235. * Now when GTB completely blocks a spell, the spell animation will still
  1236. come off, but with a single bolt and MISS damage.
  1237. * Removed hom_setting&0x2 since Homunculus can be hit by land spells.
  1238. * Monster Property now gives a Skill Failed message when attempted on
  1239. players.
  1240. 2007/09/13
  1241. * Corrected SG Miracle to trigger per attack, not per walked tile. Trigger
  1242. rate is now 0.02%
  1243. * Corrected the warmth skills not clearing up correctly the previous field
  1244. when you place another one down.
  1245. * Corrected vit not affecting the HP bonus that Super Novices, Ninjas and
  1246. Gunslingers get. [Skotlex]
  1247. 2007/09/12
  1248. * Fixed a typo in r11179 causing party invitation to fail
  1249. * Added SI_STEELBODY properly (value from packet capture) [ultramage]
  1250. 2007/09/10
  1251. * Corrected /invite letting you invite people even if you are not the party
  1252. leader.
  1253. * Added some reply messages when you try /invite and a. the character is
  1254. not found or b. you are not the party leader.
  1255. * Added a check so that the 'save on crash' routine won't get stuck if it
  1256. happens to crash while attempting to save characters.
  1257. * People in chat-rooms no longer receive @main messages. [Skotlex]
  1258. 2007/09/10
  1259. * Added a safeguard to skill_get_unit_layout() against incorrectly
  1260. defined layout ids (will give weird results but won't crash at least)
  1261. * Fixed Firewall/Icewall being oriented backwards (no real difference..)
  1262. * Removed some junk Landprotector/Graffiti code
  1263. - Graffiti doesn't get placed randomly anymore
  1264. * Icewall can now be cast on yourself
  1265. - TODO: for some reason, the cell on yourself immediately expires...
  1266. * Merged together functions clif_set0192() and clif_changemapcell()
  1267. - also removed its "send to whole map" mode which is just plain wrong
  1268. (although aegis actually does use it to 'inform' caster about changes)
  1269. * Added config option to adjust exp gained by 'getexp' [ultramage]
  1270. 2007/09/09
  1271. * Removed bonus bAddEffWhenHitShort as it is unneeded and unused.
  1272. * Corrected getpetinfo so it actually returns "null" when there's no pet
  1273. and you request the name (the docs state it so).
  1274. * Added gethominfo (which behaves in the same way as getpetinfo).
  1275. * Corrected bonus3 bAutoSpell(WhenHit) to select target enemy (rather than
  1276. self) for skills with inf self and inf2 'don't target self' (aka:
  1277. auto-select target skills).
  1278. * Corrected map_foreachinpath to do a wall check for targets beyond the
  1279. initially selected tile.
  1280. 2007/09/09
  1281. * Modified bonus3 bAddEff/bAddEffWhenHit so that the last parameter is now
  1282. passed directly as "trigger" flag. The possible trigger values are
  1283. ATF_LONG, ATF_SHORT, ATF_TARGET, ATF_SELF. Explanation added to
  1284. doc/item_bonus.txt [Skotlex]
  1285. * Updated sql files [Playtester]
  1286. 2007/09/08
  1287. * Adjusted a spot that still blocked GL's skills on login [ultramage]
  1288. 2007/09/07
  1289. * Added support for the new party invite/reply packets from the latest
  1290. client version.
  1291. * Added auto-rejecting party/guild invites when the target is disconnected
  1292. from the server.
  1293. * Changed the default @Main format to prevent crashes in the newer
  1294. clients.
  1295. 2007/09/04
  1296. * bonus3 autospell (and autospell when hit) will now select for spell
  1297. target self when the skill is tagged a support skill.
  1298. * Increased the amount of autospells that can be held at a time from 10 to
  1299. 15
  1300. * Changed the "autocasted strip skills don't have a duration" to apply only
  1301. to Full Strip.
  1302. * Magic Mirror's duration now is reduced /15 when used on players.
  1303. * Removed bonus bAddDamageByClass since it is not needed, and implemented
  1304. bAddDefClass which can be used for the same purpose (but previously was
  1305. doing nothing).
  1306. 2007/09/03
  1307. * Added bonuses bSPRegenRate, bHPRegenRate. They behave like the opposite
  1308. of bHPLossRate/bSPLossRate, making you gain x Hp/Sp every y ms.
  1309. * Added bonus bIgnoreMdefRate, used to ignore a % of the target's mdef when
  1310. using magic attacks (bonus2 will ignore part of the mdef of all targets,
  1311. bonus3 receives a race argument)
  1312. * You can now use bonus2 bCastRate to adjust the cast rate of a single
  1313. skill.
  1314. * Cleaned the code for bleeding (hp-loss) and extended it to handle regen
  1315. as well.
  1316. * Some small cleanups in the pc_bonus functions.
  1317. * Removed bonus3 bHpLossRate since it was doing nothing and is not used.
  1318. * Corrected bGetZeny bonus to be like in Aegis. The amount received is from
  1319. 1 to the given amount, you can use negative zeny values to use an amount
  1320. dependant on mob's level (amount*lv).
  1321. * Updated doc/item_bonus.txt with all these changes.
  1322. * Anti-Magic/Stone-Skin now increase/decrease def/mdef only and in an
  1323. absolute mode (+20*lv rather than +20%*lv). Also the duration is greatly
  1324. decreased (x/15) when used on players.
  1325. * Now when a player uses a strip skill without having it in the skill tree
  1326. (auto-casted) the duration will be 0, the equipment will be stripped
  1327. without causing the status change that blocks reequipping.
  1328. 2007/09/02
  1329. * Added @whereis command (displays normal spawn maps for given mobs).
  1330. Defaults to a lv10 command. [Skotlex]
  1331. * Updated Refined Sakkat Box to give only 1 Sakkat instead of 10. [Paradox924X]
  1332. 2007/08/31
  1333. * Added some comments to clif_changechatowner()
  1334. - totally broken, see the code + topic:163829
  1335. * Implemented the chatroom display packet properly
  1336. - now has 4 types: public, private, npc and non-clickable npc chatroom
  1337. * Implemented the chatroom leave packet properly
  1338. - now utilizes the 'kicked' flag when the user was forced to leave
  1339. - TODO: banlist support to prevent re-entry, see jAthena code
  1340. * Documented/cleaned up chatroom code and packetry [ultramage]
  1341. 2007/08/30
  1342. * Updated sql files [Playtester]
  1343. 2007/08/29
  1344. * Added bonus bSkillHeal to distinguish offensive skill damage increases
  1345. from healing power boosts.
  1346. * Moved battle_skillatk_bonus to pc.c, cleaned up the related skillatk
  1347. bonus code to consider the skillheal bonus option. [Skotlex]
  1348. 2007/08/23
  1349. * Updated athena-start & start to Shazeya's hack. Please test them! [DracoRPG]
  1350. - Simplest way is to run ./start that is equivalent to Windows runserver_sql.bat
  1351. - To run TXT instead, edit the beginning of athena-start with proper filenames
  1352. 2007/08/22
  1353. * Fixed Dragon Fear's status change selection and duration.
  1354. * Fixed Metamorphosis not displaying a speed-change update on the client.
  1355. * Status changes that were blocked by element are no longer blocked,
  1356. instead, now no-damage skills are blocked if they have an element which is
  1357. absorbed by the target (This is the behaviour that Tharis believes is
  1358. correct). [Skotlex]
  1359. 2007/08/19
  1360. * Set proper limits to drop rates, prevents int overflow during calc
  1361. * Cleaned/clarified some #include relationships between headers
  1362. - TODO: pc_read_gm_account() still accessses the RFIFO directly!
  1363. * Again removed the IG_ list from itemdb.h (see r10100 and r10113)
  1364. 2007/08/18
  1365. * Fixed a deallocation mistake and some buffer overflows in npc_chat.c
  1366. after doing rtfm@pcre.txt (all caused by incorrect usage of pcre api)
  1367. * Removed underscores in npc_chat.c's variable names (easier to read)
  1368. * Moved npc pcre-data deallocation from npc_remove_map to npc_unload
  1369. 2007/08/17
  1370. * Implemented the official dual-wield aspd equation [ultramage]
  1371. - using 0.7 instead of 0.66 as modifier (so aspd will be lower now)
  1372. - see topic:151132 for details
  1373. 2007/08/16
  1374. * Fixed eAthena's wrong interpretation of the respawn times [Playtester]
  1375. * Added icons for NPC_CRITICALWOUND and NPC_SLOWCAST [Playtester]
  1376. * Fixed npc chatrooms not being deleted on npc unload/reload (crash)
  1377. * Modified chat code a bit for more clarity [ultramage]
  1378. - replaced double-indirection on 'owner' with a normal pointer
  1379. - separated some common functionality to 'chat_createchat()'
  1380. 2007/08/15
  1381. * Merged and completed Latio's work on server-side hot-key saving
  1382. (http://www.eathena.ws/board/index.php?s=&showtopic=159388&view=findpost&p=884453):
  1383. Now hotkeys are stored server-side (table hotkey in SQL servers, file
  1384. save/hotkeys.txt for TXT servers). You can disable this behaviour by
  1385. commenting out the 'HOTKEY_SAVING' define in mmo.h
  1386. * Apply upgrade_svn11018.sql to create the hotkey table. [Skotlex]
  1387. * Some serious code cleanups
  1388. - adjusted @reloadbattleconf to not depend on variable ordering
  1389. - changed all battle vars to 'int' (removes pointless duplicit coding)
  1390. - added min, max and default columns to battle config data structure
  1391. - added properly bounded values for these columns (or at least tried to)
  1392. - battle-conf loading will now complain if it finds unknown settings,
  1393. and will reject values that are outside of the allowed range
  1394. - added CHATROOM_TITLE_SIZE and CHATROOM_PASS_SIZE
  1395. - partially cleaned up chatroom manipulation code
  1396. 2007/08/13
  1397. * Modified map_foreachinrange so that you can also specify the max length
  1398. of the path to use. The max_count field in the skill_db is used to specify
  1399. this range for path-type skills (Sharpshooting, Kamaitachi and the NPC
  1400. Breath skills.
  1401. * Implemented the 'new' NPC skills described here:
  1402. http://ro.doddlercon.com/wiki/index.php?title=Monster_Skills . It is mostly
  1403. complete, but the new status changes (slow cast, critical wounds, etc)
  1404. don't have any visual effects yet (icon or opt changes? I don't know if
  1405. they should have). Also I could not find the unit_id for Evil Land, so it
  1406. looks just like Sanctuary for now. Apart from those, the only skills which
  1407. I couldn't get to display properly are the Breath skills (with the
  1408. exception of Fire Breath).
  1409. * Corrected gtb_sc_immunity setting not taking effect if your block value was
  1410. the same (that is, if the config said 30%, then you would only get status
  1411. change immunity at 31%, nor 30%) [Skotlex]
  1412. * Fixed a small error in the script_commands documentation about getpartyleader. [Paradox924X]
  1413. * Corrected skill-based hp/sp regen, expect slight increase [ultramage]
  1414. 2007/08/10
  1415. * Updated item_db.sql [Playtester]
  1416. 2007/08/09
  1417. * The new functions now clear junk from the output buffer [ultramage]
  1418. 2007/08/08
  1419. * Moved damage logging to mob_log_damage, now non-damage targetted (or
  1420. splash) skills also get logged into the monster's 'damage history' which
  1421. affects the exp-bonus per attacker setting.
  1422. * Implemented the evolution stat growth bonuses for homunculus.
  1423. * Updated the @homstats command to show evolution bonuses
  1424. * Corrected initial intimacy of a newly created homunculus (should be
  1425. 21/1000) [Skotlex]
  1426. * Cleaned up junk left in the code by the mapcache/mapindex update
  1427. - Added mapindex_getmapname(_ext) to help with ".gat" adding/removing
  1428. - Moved related processing to the interface (prevents duplicity)
  1429. 2007/08/07
  1430. * Expanded isloggedin script command to support an optional argument (char id)
  1431. * Expanded warpparty command to accept target "Leader", this will warp the
  1432. party to the leader.
  1433. * Added a summon structure to handle non-dead-branch mob-groups since the
  1434. current implementation totally fails for mob groups that don't have MANY
  1435. integrants.
  1436. * Fixed mobs not attempting an IDLE skill right before unlocking a target.
  1437. [Skotlex]
  1438. 2007/08/06
  1439. * Slightly deobfuscated the max-hp calculation functionality
  1440. - fixed hp/sp calc code adding extra few points from item bonuses
  1441. * Added a null-pointer check to skill_initunit() to prevent a crash
  1442. * Added a while() loop to the client packet processor (for performance)
  1443. * Added support for kRO 2007-05-14aSakexe langtype 0 login packet 0x2b0
  1444. 2007/08/04
  1445. * Removed weird mvp reward item drop behavior (see topic:160077)
  1446. * Fixed Cart Revolution not transferring status effects on attack,
  1447. and Cart Termination doing it when it shouldn't (see topic:156745)
  1448. * Fixed #refine not accepting names with spaces in them
  1449. * Fixed disguises not doing sit-down properly (missing self packet)
  1450. broken since r6299 stable / r5833 trunk [ultramage]
  1451. 2007/07/30
  1452. * Updated sql files [Playtester]
  1453. * Corrected pet taming code; items are consumed immediately and only 1x
  1454. - TODO: add proper code for people who want delayed consumption
  1455. 2007/07/28
  1456. * Removed ridiculous refine_posword config switch
  1457. - TODO: remove getequipname() func, it can be fully replaced by editing
  1458. a few scripts, plus it doesn't do what the docs say it should do
  1459. * Fixed a silly mistake in the main script engine loop ('pos' variable)
  1460. * Fixed monter -> monster typos
  1461. * Compacted some script function code (fewer LoC -> faster trac ^^)
  1462. 2007/07/27
  1463. * Simplified exp gain equations (now more FPU-friendly and precise)
  1464. - also fixes the uninitialized variable problem... sorry 'bout that >.>
  1465. * Changed the way hit bonus is applied.
  1466. http://www.eathena.ws/board/index.php?showtopic=157438 [Vicious]
  1467. * Cleaned up mob drop code, crashfix is still needed though...
  1468. * Reduced ignore-list length to 20, added proper reply packet
  1469. * Cleaned up some very poorly written pm-ignore code (see r141)
  1470. * Fixed a typo in Warp Portal code displaying an incorrect map name
  1471. 2007/07/25
  1472. * Fixed a missing homunculus info packet when doing @refresh
  1473. * Added support for character rename packet (only dummy code for now)
  1474. * Added support for langtype-12 char deletion packet (tested, works)
  1475. * Synchronized txt/sql charserver code a bit
  1476. * Adjusted motd.txt to not crash new clients
  1477. * Removed some dead code from the charserver (see r352)
  1478. 2007/07/24
  1479. * Fixes on Venom Splasher and the like (see topic:152975) [DracoRPG]
  1480. - VS / Envenom / Throw Venom Knife poison chance raised to 10+4*lv %
  1481. - Removed chance to be poisoned when hit if you're a VS time-bomb
  1482. - Adjusted bomb timer to correct values (5.5+0.5*lv sec)
  1483. - Removed damage boost from Poison React
  1484. - Now ignores EDP damage boost
  1485. - Prevented use on bosses
  1486. - Fixes still needed for recast restriction and splash damage
  1487. * Removed Emperium-damaging ability from Gloria Domini [DracoRPG]
  1488. 2007/07/23
  1489. * Changed the restricting mapflag for @jump from nowarp/nowarpto
  1490. to noteleport. Adjust your scripts if you were using it this way.
  1491. 2007/07/20
  1492. * Corrected packet_db.txt. See topic:158382 for details.
  1493. As a side-effect, the latest packet version is now 22 instead of 21.
  1494. * Added a charserver config option for the character renaming flag,
  1495. along with a detailed comment on what it's supposed to be. This
  1496. eliminates all that "change PACKETVER to 8 and recompile" mess.
  1497. * Moved PACKETVER back to clif.h, cleaned the related code a bit.
  1498. 2007/07/18
  1499. * Added delay_dependon_agi since people actually use and need it...
  1500. * Small update to the effects list (new exe's effects by Au{R}oN)
  1501. * No sending of the pet_equip packet when pet has no equip (thx2Skotlex)
  1502. * Added back exp gain limiting for old formula to stop exploits (see r8177)
  1503. * Now a message is printed when the packet_ver filter rejects someone
  1504. * Renamed two structs using same name as variables (MSVC debugger issue)
  1505. 2007/07/13
  1506. * Fixed yet another script engine typo, this time in 'copyarray' [ultramage]
  1507. 2007/07/09
  1508. * Rev. 10872 Removed a comment I had placed on line 6879 in Skill.c. [L0ne_W0lf]
  1509. * Rev. 10870 Alchemist skill "AM_CANNIBALIZE" ("Summon_Flora") now [L0ne_W0lf]
  1510. summons the proper monsters.
  1511. 2007/07/07
  1512. * Fixed typo in 'deletearray' messing up the script engine
  1513. * Added a check to pc_skill() to prevent crashes on unknown skill ids
  1514. 2007/07/06
  1515. * Cleaned up some nasty code related to skill_blown
  1516. - split 'direction' value from flags
  1517. - moved (almost) entire direction calculating code to the outside
  1518. - bowling bash now has the 'suck-in' effect (knockback is now done
  1519. in the direction you were last facing, not in your-target direction)
  1520. 2007/07/05
  1521. * Fixed pet equip and pet hairstyle packet sends [ultramage]
  1522. * Fixed NPC_STOP's visual effect not clearing when the status ends
  1523. * Corrected @homshuffle making the skill tree be lost.
  1524. * Corrected homunculus skills being unusable if the master was sitting or
  1525. inflicted by a disabling status (eg: petrify, stun)
  1526. * Some fixes to the cell no stacking mod (mainly mobs would just get stuck
  1527. behind each other and not properly surround you). [Skotlex]
  1528. 2007/07/04
  1529. * Fixed a copy-paste typo messing up script variables pretty bad D:
  1530. 2007/07/03
  1531. * Fixed a typo in script engine erroring when working with char params
  1532. * Made Homun Resurrection only fail on cast-end (see topic:155223)
  1533. * Re-coded 'soundeffectall'; removed the third parameter ('coverage')
  1534. - adjust your scripts if you use this command [ultramage]
  1535. * Defined out a problematic piece code in conv_num.
  1536. * Added reporting of constant and param script data.
  1537. * Fixed an incorrect check in menu script command. [FlavioJS]
  1538. 2007/07/02
  1539. * Undid the change from r10298, frozen status again modifies def/mdef
  1540. 2007/07/01
  1541. * TXT->SQL converter fixup [ultramage]
  1542. - Added missing char_id insert which totally messed up the conversion
  1543. - Fixed login converter ignoring many columns (although it had the data)
  1544. - Pointed out that Login-stored account variable conversion is MISSING!
  1545. - Pointed out that Status, Homunculus and Mapreg conversion is MISSING!
  1546. - Blocked the config functions from exiting server when file not found
  1547. - Finally added VS8 project files for this thing
  1548. 2007/06/28
  1549. * Added a missing line to enable @displayskill atcommand [DracoRPG]
  1550. 2007/06/26
  1551. * Changed the string hash of the script engine to SDBM.
  1552. * Reporting information about script data when an error occurs.
  1553. * More work on ticket #41 (array functions). [FlavioJS]
  1554. 2007/06/22
  1555. * Changed behavior of some guild-related code (according to X.4 tests):
  1556. - removed code that prevented Homunculus Resurrection during WoE
  1557. - logging in doesn't activate the 5 minute guild skill block anymore
  1558. - non-Urgent guild skills can now only be cast on WoE grounds during WoE
  1559. - all guild skills now have no cast delay (previously was 1 second)
  1560. - casting guild skills will now block FreeCast sages from walking
  1561. - Battle Orders and Regeneration are now instacast
  1562. - Restoration now has a 10 second cast time, reducible only by dex
  1563. - Urgent Call's cast cannot be reduced anymore (not even by items)
  1564. 2007/06/15
  1565. * Fixed script command sc_end not supporting the extra argument as stated
  1566. in script_commands.txt.
  1567. * Script command getarg supports an extra argument with a default value
  1568. that is returned if the requested argument doesn't exist. [FlavioJS]
  1569. 2007/06/11
  1570. * Fixed NPC_PROVOCATION (now the casting mob doesn't keep attacking)
  1571. * accumulated clif.c fixes [ultramage]
  1572. - Fixed pet equip not displaying correctly at all
  1573. - Removed old fixpos packet (the 'new' one is way smaller)
  1574. - Fixed some major logical typos in the code, cleaned up many places
  1575. 2007/06/10
  1576. * Rev. 10745 Updated itemdb.h with the two new item group values.
  1577. (38 and 39) Why are they static anyway? [L0ne_W0lf]
  1578. 2007/06/09
  1579. * Added 'nosave' mapflag to que_bingo for Bingo system purposes. [SinSloth]
  1580. 2007/06/04
  1581. * Fixed the compilation problem from r10668
  1582. 2007/06/03
  1583. * Fixed a bad copy-paste from r10028 letting players escape jail
  1584. (char was dead on login, so statuses (SC_JAILED) couln't be applied)
  1585. * Fixed missing client update when 'return to savepoint' fails [ultramage]
  1586. 2007/06/02
  1587. * Displaying op names instead of numbers in script engine errors.
  1588. * Fixed a bug introduced in the last rework of the fame ranking.
  1589. * Created safestrncpy that ensures the string is nul-terminated. [FlavioJS]
  1590. 2007/06/01
  1591. * Updated sql files [Playtester]
  1592. * Fixed ircbot not processing new users
  1593. 2007/05/29
  1594. * Hopefully fixed the vsnprintf incompatibility
  1595. 2007/05/28
  1596. * Fixed an infinite char-server loop on the map connection [ultramage]
  1597. * RFIFOREST returns 0 when the session is eof (input data is implicitly
  1598. discarted).
  1599. * Reworked the player fame update: [FlavioJS]
  1600. - would crash if an invalid pos was received
  1601. - the wrong player could be updated on certain conditions
  1602. 2007/05/26
  1603. * Identified several more glitches, too tired to fix these...
  1604. * Fixed server not removing member minimap dot when you leave a guild
  1605. * Fixed server not sending party/guild info when you enter a map
  1606. * Fixed guild emblem not showing when you log in (caused by r5359)
  1607. 2007/05/25
  1608. * Fixed @statall giving you +99 stats instead of setting them to 99
  1609. * Fixed npctalk and @npctalk displaying the # part of the name
  1610. (client filters these when you request the name of the npc, btw...)
  1611. 2007/05/23
  1612. * Added new flag to skill_castnodex.txt, to allow per-skill tweaking
  1613. of cast time and delay reducibility by item scripts (cards and such)
  1614. * Fixed Martyr's Reckoning never triggering for gms with all skills
  1615. * Added MO_TRIPLEATTACK and RG_SNATCHER to @skillall's skill filter
  1616. * Made gm_skill_unconditional bypass skill blocking (guild timer, etc)
  1617. * Reverted the weird delay_dependon_agi thing (r8923, r9055, r9059)
  1618. * Changed a few memsets to strncpy (reading past buffer is a bad idea)
  1619. * Sped up some memset operations (multiples of 4 are faster)
  1620. * Fixed a typo in Chase Walk code, /thx to zephyrus_cr [ultramage]
  1621. 2007/05/22
  1622. * Updated sql files [Playtester]
  1623. 2007/05/21
  1624. * Since the fifohead mess is gone, fixed leftover bad code structuring
  1625. * Removed the TURBO socket mechanism - it was in fact just using a
  1626. variable to cache a few arithmetic operations (premature optimization)
  1627. 2007/05/20
  1628. * Fixed Chase Walk having a deactivation cast time (should be instant)
  1629. * Changed status calc to allow value 0 stats; aegis allows
  1630. negative values, but eA is unsigned in this regard, so ...
  1631. * Added positional music effect to Battle Chant / Gospel
  1632. - see r10588 on how to disable it if it annoys you ^^;
  1633. 2007/05/19
  1634. * Added Global chat and Main chat logging
  1635. - lowered the priority of the 'logging off during gw' filter
  1636. * Fixed server crashes when you use long hostnames (/thx to Ancyker)
  1637. * Removed the wtf-y mmo_char_fromsql_short() from r2527 [ultramage]
  1638. * Fixed drops of Thanatos Dolor & Thanatos Odium regarding the quest. [SinSloth]
  1639. * SQL files fixup
  1640. - extended convert_engine_myisam and added innodb version
  1641. - changed the max. email length to 39 (to match value in source code)
  1642. - added comment for storage/guild storage picklog entries
  1643. - changed SETs to ENUMs, which is the proper data type in logs
  1644. - fixed incorrect defaults, shortened mapname lengths to 11
  1645. - use upgrade_svn10575_*.sql to apply changes
  1646. * Removed the vsnprintf->_vsnprintf define for VS9 [ultramage]
  1647. * Corrected the problem with countitem2 [ultramage]
  1648. 2007/05/14
  1649. * Updated sql files [Toms]
  1650. 2007/05/11
  1651. * Updated the effect list a bit, changes by Au{R}oN
  1652. * Re-phrased the attacker flee/def penalty config descs [ultramage]
  1653. Ref: http://www.eathena.ws/board/index.php?showtopic=150918
  1654. * Attempt to fix unwanted teleporting of immobile mobs [Playtester]
  1655. 2007/05/10
  1656. * Adapted the shortlist to use a static array instead of a linked list and
  1657. enabled it.
  1658. * Added Buuyo-Tama's shortlist for send/eof sockets (defined out for now).
  1659. * Replaced toupper/tolower in ladmin by TOUPPER/TOLOWER defines. [FlavioJS]
  1660. 2007/05/07
  1661. * Fixed warpwaitingpc not working (bug introduced in r10471). [FlavioJS]
  1662. * Added a check to login_sql against too long db-stored emails [ultramage]
  1663. * Removed an unused variable in script.c [Toms]
  1664. * Fixed Converters not overwriting each other [Playtester]
  1665. - thanks to scerez for the fix
  1666. 2007/05/06
  1667. * Removed the dependency on winsock.h for definitions, it's all winsock2.h now.
  1668. * Minor documentation/re-coding in chat.c.
  1669. * More work on ticket #41. [FLavioJS]
  1670. * Fixed Red Pouch overriding nobranch mapflag [Playtester]
  1671. * Attempt to fix Kyrie Eleison not castable on enemy players [Playtester]
  1672. - please test, I can't double client to test it in pvp
  1673. - don't forget to recompile before testing
  1674. 2007/05/04
  1675. * Added an optional read-from-GRF/GAT map loading system back in.
  1676. - It can be turned on with the use_grf flag in map_athena.conf.
  1677. - The conf/grf-files.txt becomes relevant again. [blackhole89]
  1678. * Removed the cyclic map.h<->status.h dependency, which allowed me to
  1679. also remove the annoying/memory-wasting MAX_STATUSCHANGE define
  1680. 2007/04/30
  1681. * Ladmin fixes
  1682. - Added vs8 project file for ladmin
  1683. - Replaced all occurences of printf in ladmin.c with ShowMessage
  1684. - Fixed ladmin working with ips using the wrong byte orer
  1685. * Fixed @jumpto displaying the incorrect player name
  1686. * Added more safeguards to socket.c against socket ids out of range
  1687. TODO: session[] array isn't explicitly zeroed; is that a good thing?
  1688. 2007/04/29
  1689. * Fixed login_sql ipbans not working
  1690. * login server will now bind only after finishing the init phase
  1691. * Tried and fixed md5 password encryption [ultramage]
  1692. - login_sql was doing stupid things like re-using one pre-generated
  1693. key for all connections, and escaping binary md5 data (destroying it)
  1694. - added missing code to login_txt when creating new accounts, showing
  1695. that storing passwords as md5 hashes never really worked for txt
  1696. - removed PASSWORDENC's conditional compilation effect, now just a flag
  1697. - greatly simplified md5 password checking code, credits to eapp
  1698. * Internal changes to the script engine: [FlavioJS]
  1699. - modulus division detects division by 0.
  1700. dividing by zero stops the script and gives an error
  1701. - underflow/overflow messages differentiated (warnings)
  1702. - when a script function doesn't return a value, a C_NOP value is pushed
  1703. instead (avoids stack corruption)
  1704. - op_add merged with op_2+op_2num/op2_str
  1705. - better type checking in the operators, int/string is never assumed.
  1706. The script ends when an invalid type is found.
  1707. - other minor code cleanups
  1708. 2007/04/26
  1709. * Corrected High Jump so it works on Guild Castles when WoE is off.
  1710. * Moonlit petals now always knocks to the back of the character rather than
  1711. pushing the character away from it's center.
  1712. 2007/04/25
  1713. * Modified the mob ai think time update after using skills from
  1714. adelay/amotion to 100ms since the previous method adds a large delay before
  1715. the AI activates again (which screws up with the timing of idle/walk
  1716. skills)
  1717. * NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in
  1718. the sense that every normal attack afterwards becomes a Magical Attack. The
  1719. skill duration is 15 secs. [Skotlex]
  1720. * Added missing Rachel quest map [Playtester]
  1721. * Ganbantein now deletes individual skill cells instead of the whole skill
  1722. in the area it is casted.
  1723. * Modified the mob total damage code to prevent overflows when mobs receive
  1724. over 2kM damage. [Skotlex]
  1725. * Spider Web / Fiber Lock status cannot be dispelled now [ultramage]
  1726. 2007/04/24
  1727. * All mob casted skills have a fixed range of 9 now.
  1728. * Pressure no longer vaporizes plants.
  1729. 2007/04/23
  1730. * Fixed bug which totally broke item group bonuses.
  1731. * Added warnings when setting a pvp/gvg flag removes the other flags on the
  1732. same map (gvg and pvp can't coexist on the same map)
  1733. * Removed the check that prevented you from casting soul-collect when you
  1734. already have 5 spirits.
  1735. * Corrected Magic Rod so it doesn't displays any skill-use animation until
  1736. it triggers.
  1737. * Corrected Steel Body's icon (it actually belongs to AutoBerserk)
  1738. * Debuff on logout&2 is again set to default, instead of removing food
  1739. bonuses now it removes Maximize Power, Maximum Overthrust and Steel Body.
  1740. [Skotlex]
  1741. * Extended the functionality of StringBuf - length and appending a string.
  1742. * menu/select/prompt script functions support grouped and empty options.
  1743. The selected option number is consistent with them.
  1744. * More work on ticket #41. [FlavioJS]
  1745. 2007/04/22
  1746. * Corrected crash if itemskill is used without an attached player.
  1747. * Removed range checks for autospells as per UltraMage Aegis tests.
  1748. * Added chatID skill fail check to skill_check_condition
  1749. * Corrected @refresh not re-displaying your spirit spheres nor re-setting
  1750. your cloth dye.
  1751. * Now the "number of attackers" in mob_dead is counted only from online
  1752. characters on the same map.
  1753. * Updated the autospell bonus scripts so you don't have to specify all the
  1754. attack type criteria. If neither of BF_LONG/BF_SHORT is specified, the
  1755. spell will trigger on both. If neither of BF_WEAPON/BF_MAGIC/BF_MISC is
  1756. specified, the spell will trigger on BF_WEAPON, if neither of
  1757. BF_NORMAL/BF_SKILL is specified, BF_SKILL is used if the trigger is
  1758. BF_MAGIC/BF_MISC and BF_NORMAL is used if the attack is BF_WEAPON. This way
  1759. the default when nothing is specified is
  1760. BF_NORMAL|BF_WEAPON|BF_SHORT|BF_LONG. [Skotlex]
  1761. 2007/04/21
  1762. * Removed the +25% mdef, -50% def effect from Freeze status
  1763. * Changed autocast skills, they now only work with normal attacks!
  1764. Ref: http://www.eathena.ws/board/index.php?showtopic=138159
  1765. * Fixed a few spots where attack_type was getting truncated
  1766. * Hopefully fixed the cygwin + size_t problem (using stddef.h as source)
  1767. * Added ntows() to properly handle that client port number deficiency
  1768. * Adjusted the packet_db array for a more consistent look [ultramage]
  1769. 2007/04/20
  1770. * Cleaned up the doc folder. Removed outdated, untranslated, useless files
  1771. and began normalizing a bit other ones~ [DracoRPG]
  1772. 2007/04/18
  1773. * Added MEXP overflow checks. [LuzZza]
  1774. * Added bonus5 bAutoSpell/bAutoSpellWhenHit. The new parameter is used to
  1775. specify when the spell should trigger (melee/range + weapon/magic/misc
  1776. attack), see doc/item_bonus.txt for details. [Skotlex]
  1777. * Changed some %lu to %u in login_sql/login.c because uint32 is now
  1778. an unsigned int [Toms]
  1779. * Discarded extra deflate function needed for afm reading [ultramage]
  1780. - as a result, discarded the whole chain of support functions, .c files
  1781. and includes needed to make that one function run
  1782. - also removed zlib compile/link dependencies where they are not needed
  1783. - reduced the whole zlib package into two core include files
  1784. - adjusted makefiles / project files to reflect this change
  1785. 2007/04/17
  1786. * Massive at+charcommand cleanup, big thanks to HiddenDragon [DracoRPG]
  1787. * Partially deobfuscated the grfio module
  1788. * Finally fixed mingw problems, managed to build both TXT and SQL
  1789. * Fixed the uint32 platform problem (Microsoft failed so I removed it :)
  1790. * Removed the cbasetypes.h dependency from the mapcache generator
  1791. * Removed some random compilation warnings [ultramage]
  1792. * Small bugfixes and enhancements to the map cache generator [DracoRPG]
  1793. 2007/04/15
  1794. * Fixed 'randomtarget' picking dead characters.
  1795. * Adjusted Spiral Pierce, Shield Boomerang and Shield Chain to use atk2
  1796. instead of weight when used by non-players.
  1797. * Adjusted skills blindAttack, SilenceAttack, StunAttack, PetrifyAttack,
  1798. CurseAttack, SleepAttack, Lex Divina and Dispell to be area effect skills,
  1799. if the used skill level has a splash-range different from 0.
  1800. * Mob used Meteor Assault is able to hit icewalls now. [Skotlex]
  1801. 2007/04/15
  1802. * Fixed TXT char creation blocking characters with nonstandard names
  1803. 2007/04/13
  1804. * Committing some accumulated stuff [ultramage]
  1805. - makefile typo, maps_athena typo, svn:eol-style native for some files
  1806. * Changed the meaning of inf2=0x1000. Now it is used to "disable usage on
  1807. enemies", which only works for non-aggressive (inf!=1) skills.
  1808. * If a skill is party/guild only (inf2 0x400/0x800) it will also be
  1809. castable on enemies if the skill's inf is 1 (offensive target)
  1810. * Corrected the mob behaviour when it locks into an enemy it can't chase.
  1811. Previously it would get stuck on a lock->unlock->lock loop, with each
  1812. unlock resetting the "random walk" timer, causing the mob to just idle in
  1813. place. Now they will attempt idle skills and no longer reset the "random
  1814. walk" timer, so they behave as if they were in Idle state properly.
  1815. * Now the bonus bAtkEle will be transferred directly to the weapon when the
  1816. script is in the ammunition, and you are wielding a weapon that consumes
  1817. ammo per atttack.
  1818. 2007/04/12
  1819. * Trade-requests now fail if the target is in a NPC.
  1820. * Some cleaning of the castend_map code to prevent the menuskill variable
  1821. from not being cleared if you made a choice but the skill was not triggered
  1822. (due to silence, stun or whatever)
  1823. * Cleaned up a bit the Charge Attack casttime equation, should prevent
  1824. infinite casttime when the distance is 0.
  1825. 2007/04/11
  1826. * Now when an object changes speed, the old move-packet will be used on the
  1827. next movement, which should update the object's speed from that point and
  1828. on-wards. This is done since there appears to be no way to tell the client
  1829. a given object's speed has changed.
  1830. * Modified spirit of Wizard so that the consumption of 'Fragments' when
  1831. blocking bounced spells will only consume 1 Fragment per skill casted,
  1832. regardless of how many hits were reflected.
  1833. * Modified status_get_sc_def to handle both rate and tick reductions. This
  1834. way it can take care of the fact that curse rate/duration reductions are
  1835. not reduced by the same stats. Curse duration is now reduced by vit.
  1836. [Skotlex]
  1837. * Removed an ugly cast in socket.c
  1838. * Fixed Makefile (-Wno-unused-parameter was added twice with gcc4) [Toms]
  1839. 2007/04/10
  1840. * Recoded and renamed the trim function in strlib to normalize_name.
  1841. * Added a proper trim function to strlib.
  1842. * Cleanups at npc source file adding/removing.
  1843. * Changed db key from 'unsigned char*' to 'const char*'.
  1844. * Defined out the dump function in util.h/c. [FlavioJS]
  1845. * As an experiment Corrected many /W4 warnings on the txt login server
  1846. * Played around with MinGW a bit today... [ultramage]
  1847. - adjusted code so that it handles mingw-specific compatibility problems
  1848. - adjusted the makefile, mingw is not a subset of cygwin
  1849. 2007/04/09
  1850. * Now when saving a character, only the cart/peco/falcon 'option' states
  1851. are saved, the rest should be handled by the status change load/save
  1852. functions. This saves 'permanent' cloaking/hiding and other such oddities
  1853. if the server is unable to save your status changes on logout.
  1854. * Updated some Guild WoE rules to behave as explained here:
  1855. http://www.eathena.ws/board/index.php?showtopic=146581 [Skotlex]
  1856. 2007/04/08
  1857. * Fixed the platform-specific stricmp compilation problem
  1858. * Fixed inverted vending tax equation (!) and made it more precise
  1859. * Moved e_mail_check() and config_switch() to strlib.h
  1860. * Synchronized the login servers a bit
  1861. 2007/04/07
  1862. * Disabled the exception handler on windows debug builds
  1863. * Fixed Devotion using WE_BABY's status icon (now uses no icon);
  1864. if you have a way to determine the correct number, give feedback
  1865. * Updated the server's PCRE components to 7.0
  1866. - dll, library, header
  1867. - cleaned the only existing example and moved it to /samples
  1868. - changed the interface, now $@ is used instead of $ to store the result
  1869. - /!\ adjust your scripts if you are using npc regexp parsing /!\
  1870. * Fixed the start_point setting smashing t3h stack in some situations
  1871. * Fixed some over/under-dimensioned arrays (defines already cover the '\0')
  1872. * Fixed an unupdated define making Warp Portal fail with an error [ultramage]
  1873. * Final touches to the whole map crap [DracoRPG]
  1874. - changed MAP_NAME_LENGTH to 12, now there's MAP_NAME_LENGTH_EXT at 16 for
  1875. uses where there is / may be the .gat extension, code adjusted accordingly
  1876. - moved map_normalize_name to mapindex_normalize_name so that everything
  1877. handling map names uses the same extension-removing function
  1878. - greatly enhanced the map cache generator, complete documentation on the
  1879. tool and the map cache format can be found in doc/
  1880. - the map cache format changed a bit as a consequence, but of course a new
  1881. valid one is included (contains latest Nameless Island maps)
  1882. - and I'm sorry for the number of times I've moved around and renamed files,
  1883. now the final structure should have been reached
  1884. * Capped clif_heal's heal field (the argument received is int, but the
  1885. packet field is short, meaning that if the heal is high enough, the client
  1886. would receive a negative heal amount). [Skotlex]
  1887. 2007/04/06
  1888. * Made a crazy attempt to at least partially synchronize login&char code
  1889. * Major edit to the way the servers handle ip addresses, making them obey
  1890. the "host byte order inside, network byte order outside" rule [ultramage]
  1891. - hopefully covered all entry- and exit-points for IP address data
  1892. - discovered several places where Gravity's client breaks the convention,
  1893. will need to come up with a suitable countermeasure for that
  1894. - other than that, the code should be portable, except for printing and
  1895. ipban mask testing (those still assume a specific byte order)
  1896. - tested both txt and sql in all usual situations; tested single- and
  1897. multi-server setups, all seems to work (but watch out for hidden bugs!)
  1898. 2007/04/05
  1899. * Cleaned @whogm. It will display the name of all gms online. If their GM
  1900. level is above your own, it will only display their name, otherwise level,
  1901. position, and party/guild info is displayed. GM's using gm-hide will not
  1902. appear on this list.
  1903. * Corrected song/dances/encores reducing SP at the incorrect intervals
  1904. (either never, or every second).
  1905. 2007/04/04
  1906. * Corrected Longing for Freedom, it should triple SP cost rather than
  1907. modifying SP cost to 1/sec
  1908. * SC_ENCHANTARMS will no longer fail to start if it's already running with
  1909. a "higher elemental level".
  1910. * When trying to trade an untradeable item, the add-item-fail packet will
  1911. be sent so the client does not gets stuck. [Skotlex]
  1912. 2007/04/03
  1913. * Some spring-cleaning in sql-files, only left SVN 8k+ files [DracoRPG]
  1914. * Updated sql files [Playtester]
  1915. * Fixed char-server crash on @changegm use.
  1916. * Cleaned up mmo_auth, this function wasn't only poorly coded, it also had
  1917. a SQL-related memory leak in it!
  1918. * Corrected the attack_attr_none check being backwards (ie: this config was
  1919. working backwards!)
  1920. * All pets can now move regardless of their Mob counter part setting.
  1921. [Skotlex]
  1922. * Some source code cleaning
  1923. - Fixed the badly worded messages during mapserver startup
  1924. - Cleaned up socket config reading
  1925. - Split resolve_hostbyname() into 2 separate functions for clarity
  1926. - Moved the probably obsolete LOWER/UPPER macros to db.c (TODO: remove)
  1927. - Moved the badly placed compare_item() function to storage.c (see r779)
  1928. * Fully removed the msvcr80.dll dependency from the vs8 project files
  1929. 2007/04/02
  1930. * Removed some overly verbose item group messages & code
  1931. * re-added the item_group_list for consistency's sake, moved to itemdb.h
  1932. (after some hacking to remove the ugly map.h dependency)
  1933. * Fixed the server crashing on a timer-queued disguise / undisguise
  1934. * Fixed the server crashing on startup due to bad define [ultramage]
  1935. * Removed bonus 'bAspdAddRate'. bAspdRate now behaves on a stackable
  1936. matter, so it's no longer needed.
  1937. * Reimplemented the bonus 'bAspd' (raw Aspd increase) [Skotlex]
  1938. 2007/03/31
  1939. * Added all the missing defines for ctype.h functions and converted all
  1940. the direct uses to the defines. [FlavioJS]
  1941. 2007/03/30
  1942. * Added "do_abort" function to the core. It is invoked when the server has
  1943. received a Segmentation Fault or Floating Point Exception signal. Currently
  1944. the only one that uses it is the map-server, which then attempts to save
  1945. all online characters before aborting. Note that due to the current
  1946. coding of the sig plugin, do_abort will not be invoked if you use it!
  1947. This plugin needs to be updated... [Skotlex]
  1948. * Continued script.c cleanup [Toms]
  1949. 2007/03/29
  1950. * Corrected OPTION_XMAS since 2007 clients have split it up from
  1951. OPTION_FLYING (on previous clients both were the same option value).
  1952. * Corrected statp array not being long enough to actually hold the status
  1953. points of ALL levels up to and including MAX_LEVEL. Fixes reaching final
  1954. level and resetting giving you an unpredictable amount of status points.
  1955. 2007/03/28
  1956. * Negative aspd rate bonuses will be handled as aspd add rate since the
  1957. default non-stackable bonus is useless on penalty bonuses.
  1958. * Added check to prevent the client from using passive skills. [Skotlex]
  1959. * Updated sql-files [Playtester]
  1960. * Removed a missing file reference in the athena-start script
  1961. * Fixed a #error "<malloc.h> has been replaced by <stdlib.h>" problem
  1962. * Fixed the msg_silent setting not being announced every time [ultramage]
  1963. 2007/03/27
  1964. * Cleaned up some the mob skill use code. The skill re-use delay is set at
  1965. the time the skill is used rather than when it finishes casting. The
  1966. invalid target check was also moved to the mob skill db reading function.
  1967. * Skills can be used now when the autoskill menu is open (since there's no
  1968. packet sent by the client when you hit on cancel). [Skotlex]
  1969. * Added some svn:ignore properties [Toms]
  1970. * Solved console plugins compilation error [Toms]
  1971. * Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB.
  1972. - !!!WARNING!!! If your server uses higher levels, be sure to adjust
  1973. this appropriately! (the define can be found in /src/map/map.h)
  1974. * Corrected SC_COMA's success chance (X.4 says it's unconditional 100%)
  1975. * Changed the vs8 used crt library to static linking [ultramage]
  1976. 2007/03/26
  1977. * Coma now reduces SP to 0 (with the exception of Dark Blessing) [Skotlex]
  1978. * Corrected "format '%lu' expects type 'long unsigned int', but argument 4
  1979. has type 'unsigned int'" warning on login.sql [Toms]
  1980. 2007/03/24
  1981. * Corrected change r10051 which prevented Ice Pick from working [ultramage]
  1982. - the 'ignore_' variables are bitflags and therefore need enough bits
  1983. to store all info; 8 bits wasn't enough in this case
  1984. 2007/03/23
  1985. * Major reconfiguration of the vs7 project files (+vs8 while I was at it)
  1986. - added definitions _DEBUG and NDEBUG to tune system-specific stuff
  1987. - reduced the build requirements (Pentium 4 was a bit too much)
  1988. - changed build settings and project structure to match the vs8 projects
  1989. - corrected some vs8 inconsistencies
  1990. * Some generic typo fixes [ultramage]
  1991. * Corrected Ankle Snare/Spider Web having a 1% chance to trap rather than
  1992. 100%
  1993. * Food boosts are now dispelled on death only.
  1994. 2007/03/22
  1995. * Corrected setitemscript not correctly updating the item's script.
  1996. * Added define MAX_CHARS so you can easily mod the server to support a
  1997. different amount of characters per account (however, there is still the
  1998. issue of hexing the client to support this change)
  1999. * Updated msg_athena.conf so it no longer uses broken english on several
  2000. entries. Thanks to Scerez for the updated file.
  2001. 2007/03/21
  2002. * getpetinfo 5 will now return the pet's rename flag.
  2003. * Autoloot will now only work on items dropped a certain distance from the
  2004. player. The distance is defined by AUTOLOOT_DISTANCE in atcommand.h and
  2005. defaults to AREA_SIZE.
  2006. * Removed Magic Rod's cast bar.
  2007. * Gravitation no longer causes damage flinch. [Skotlex]
  2008. 2007/03/20
  2009. * Increased MAX_STATUSCHANGE to 300 to make room for new statuses [DracoRPG]
  2010. * Reverted mapindex reading from map_list.txt for the map-server [DracoRPG]
  2011. * Patched the MAX_STATUSCHANGE startup error [ultramage
  2012. * Removed the last argument from script command skillitem.
  2013. * Added skill ITEM_ENCHANTARMS, this is what weapon enchanting items should
  2014. use.
  2015. * Added support for specifying different elements per skill level in the
  2016. skill_db
  2017. * Added bonus bNoKnockback.
  2018. * Corrected login sql server not reseting your account state to 0 when the
  2019. banuntil duration expires.
  2020. * Made the skillatk bonus it's own function, it can now be used to boost
  2021. Heal/Sanctuary/Potion Pitcher and Slim Pitcher as well.
  2022. * Corrected Teleport's save map entry being sent without the .gat
  2023. extension.
  2024. * Corrected Warp Portal not sending the map names with the .gat extension.
  2025. * Probably corrected Disarm's strip animation.
  2026. 2007/03/19
  2027. * Rewrote the jail logic to always use a status change. This means that the
  2028. character's save point is not changed when jailed, and the char is always
  2029. warped back to the point where it was before being jailed on unjail.
  2030. * Modified @adjcmdlvl so you can't set a command to require higher level
  2031. than yourself, and so you can't edit the level of a command which is higher
  2032. than your own.
  2033. * Corrected attack_attr_none setting disabling elemental resist cards.
  2034. * Corrected Dispell removing Jailed status.
  2035. * Corrected being able to revive with 0 hp.
  2036. * Modified the "Restart" code so that it makes you stand on spot when
  2037. pc_setpos fails to move you back to your originating location. [Skotlex]
  2038. * Fixed some wrong sql login logic
  2039. * Fixed some compiler warnings, cleaned up mapserver sql-related vars
  2040. * Removed the old 'mapserver charsave' mechanism [ultramage]
  2041. * Globalised use of script_pushint and script_getdata in script.c
  2042. If someone need them, the regexp used was :
  2043. sed -i "s/& *(st->stack->stack_data\[st->start *+ *\([^]]*\)\])/script_getdata(st,\1)/g" script.c
  2044. sed -i "s/push_val(st->stack, *C_INT *, *\([^)]*\))/script_pushint(st,\1)/g" script.c
  2045. * Little clean of unused variables in script.c [Toms]
  2046. * Script engine:
  2047. - calling functions without using the return value doesn't generate warnings
  2048. - more work on Ticket #41
  2049. * Took care of two warnings and a minor change to the makefile. [FlavioJS]
  2050. 2007/03/18
  2051. * Added missing VC++ 7.1 project files for mapcache. [Lance]
  2052. * A followup to the login_sql server changes:
  2053. Due to a missing 'else' in the case_sensitive config setting loading
  2054. code (see r483 and r3316), the option was always being set to 'off'.
  2055. Now that I have corrected it, make sure to set it exactly how you
  2056. want it to behave (usually case-insensitive)!
  2057. Failure to do so can result in half the server spamming you with
  2058. messages about how they are getting 'unregistered id' errors.
  2059. 2007/03/17
  2060. * committing my work on the login server (mostly SQL) [ultramage]
  2061. - removed the check_ip_flag from login&char (there since r1)
  2062. - removed the CMP_AUTHFIFO_IP and CMP_AUTHFIFO_LOGIN2 defines (also r1)
  2063. - removed dynamic_account_ban, gm_db settings, weren't doing anything at all
  2064. - modified the date_format setting to take the format string directly
  2065. - removed overly verbose config loading messages
  2066. - removed/simplified many more useless actions
  2067. - renamed the dynamic_pass_failure_ban_ settings to make more sense
  2068. - collected relevant config settings into a login_config structure
  2069. and documented their purpose
  2070. - allowed usage of yes/no instead of the user-unfriendly 1/0 method
  2071. in config settings (and added 1/0 as a possible option)
  2072. - fixed dnsbl which was always taking only the first entry into account
  2073. 2007/03/16
  2074. * Corrected the structure and added info on the skill fail packet (0x110).
  2075. * Added packet 0x223 as clif_upgrademessage (not used yet).
  2076. * More work on Ticket #41. [FlavioJS]
  2077. 2007/03/15
  2078. * Added SC_CHANGEUNDEAD to differentiate it from the other elemental change
  2079. skills. It now fails on Undead/Dark elemental targets.
  2080. * Corrected party item share settings not being properly updated on logon.
  2081. * Corrected battle_attr_none setting applying to elemental attacks instead
  2082. of neutral ones. [Skotlex]
  2083. 2007/03/14
  2084. * Finished polishing the new mapcache system [DracoRPG]
  2085. - common/grfio.* now empty except zipping functions (to read mapcache)
  2086. - servers do not use .gat internally anymore
  2087. => YOU CAN (and should) STOP USING .gat IN YOUR SCRIPTS
  2088. - moved files for the mapcache builder to db/ for now
  2089. - the char-server now uses the same index list as the mapcache builder
  2090. => poring_c01, poring_c02 and ng_quest mapindex have changed, beware
  2091. * Updated sql files [Playtester]
  2092. * Adjusted @pvpoff, @gvgoff, @killer, @killable to make characters stop
  2093. attacking when used.
  2094. * Dispell no longer removes food boosts.
  2095. * Players will stop attacking when they change their look.
  2096. * Applied Alydis's fix to the mvp item logs logging mvp items even if the
  2097. player couldn't get the item.
  2098. 2007/03/13
  2099. * Corrected the new packet version entries for skilluseposinfo
  2100. * Corrected item reloading not unsetting the "delay consume" flag if the
  2101. item had changed it's type.
  2102. * the Attack_Type variable in skill_attack now inherits the damage.flag
  2103. properties, this fixes ranged status effects not triggering.
  2104. 2007/03/12
  2105. * Added player not attached crash prevention to countitem/countitem2.
  2106. * Probably corrected delitem not deleting pet eggs at all.
  2107. * Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites.
  2108. * Mob skill state "anytarget" no longer triggers when the mob has an
  2109. item-target (looting).
  2110. * @storage/@gstorage will no longer work if you have a trade or a storage
  2111. opened already.
  2112. * Corrected script command movenpc so it properly moves the ontouch npc
  2113. cells as well.
  2114. * Changed the unit-walk packet to be 0x86 as pointed out by FlavioJS. This
  2115. new packet is much smaller, and should greatly decrease bandwidth usage.
  2116. The only drawback is that the character will not display at all if the
  2117. client didn't know of it's existance previously, but eA should always be
  2118. sending a spawn packet when an object gets into/out of sight anyway, so
  2119. it should work correctly.
  2120. * Modified the guild master change ack packet to return the aid/cid of the
  2121. new guild master instead of the index where it was, the previous method
  2122. could cause problems in situations where the order of guild members would
  2123. not match exactly between char/map servers.
  2124. * Updated the Soul Linker's Rogue Spirit Stealth's speed bonus to +60%,
  2125. according to forum infor from ragnagate. [Skotlex]
  2126. 2007/03/09
  2127. * Mapcache can run on system with any endianness.
  2128. The generated file contains data in little endian.
  2129. * Added info on packet 0x86 (simple move packet). Not usable until a clear
  2130. separation between entering sight/leaving sight/walking in sight is done.
  2131. * Propagating const char* from the script engine.
  2132. * ".gat" is appended to the map name before sending the changemapserver
  2133. packet to the client. [FlavioJS]
  2134. * Normalized the mapname in guild get/set castle data, should fix guild
  2135. flags.
  2136. * Added log options 0x800/0x1000 to log storage moves ('R') and guild
  2137. storage moves ('G')
  2138. * Added upgrade_svn9976.sql to include 'R'/'G' on the picklog type column
  2139. set.
  2140. * Updated the logs_athena description to include the letter of each type
  2141. (512 - M, 32 - N, etc)
  2142. 2007/03/08
  2143. * Corrected the pet/homunc data not being free'd if the player logs out
  2144. before being authed.
  2145. * Initialized player's speed on pc_setnewpc to prevent homunculus copying a
  2146. speed of 0.
  2147. * Corrected ranged add-status only triggering if the attack is arrow
  2148. based.
  2149. * Updated counter add-status so they trigger on ranged attacks instead of
  2150. using "arrow_atk" state. [Skotlex]
  2151. * Here comes the new mapcache system! [DracoRPG]
  2152. - The last and only big "feature" (kind of cleanup in fact) you'll see
  2153. - Totally removes GRF/GAT handling from map-server that only reads from cache
  2154. - The cache now also contains map indexes, and is mostly zipped (1.5MB atm)
  2155. - It is shipped with eA => 100% client-independant, no more missing maps
  2156. - If you want to add custom maps, the mapcache builder is available, doc
  2157. and Unix Makefile coming as soon as possible (VC8 project only ATM :/)
  2158. - Removed now useless AFM/AF2 support, as well as the startup screen notice
  2159. 2007/03/07
  2160. * Corrected the define for NK no cardfix (def).
  2161. * Fixed the char sql server not escaping the server name before inserting
  2162. it on the ragsrvinfo table.
  2163. * Corrected @lvup not doing the party even share check.
  2164. * Corrected breaker's misc part not ignoring element.
  2165. 2007/03/06
  2166. * Added NK value 0x80: ignore target's cards (0x8 will now only ignore
  2167. attacker's cards).
  2168. * Corrected Soul Breaker ignoring target's cards instead of the caster's.
  2169. [Skotlex]
  2170. * Fixed an infinite loop if script name contains a single ':' [Toms]
  2171. * Simplified the Utsusemi/Bunsinjyutsu check to only block weapon skills
  2172. that do not ignore offensive cards. [Skotlex]
  2173. * Added support for the 2 new packet versions. [Zephiris]
  2174. * Fixed the loginlog's `user` column length (use upgrade_svn9957.sql)
  2175. 2007/03/05
  2176. * More tweaks to socket.c to simplify the code [ultramage]
  2177. - many generic cleanups - reformatting, useless code removal, etc
  2178. - made the mode_neg setting a compile-time decision, not a run-time one
  2179. - removed the silly frame_size setting (there since r1)
  2180. - added some TODOs to http://www.eathena.ws/board/index.php?showtopic=127988
  2181. * Added the +20hit that were missing the NPC elemental attack skills.
  2182. * Added support for autospells using "a random skill level". The last value
  2183. of bonus4 bAutoSpell is used for determining this as well as the target. &1
  2184. is to cast on target (otherwise cast on self), and &2 is to use a random
  2185. level UP to the level specified in the script (otherwise always cast the
  2186. specified level)
  2187. * Updated item_bonus.txt with the documentation for the
  2188. bAutoSpell/bAutoSpellWhenHit changes.
  2189. * Corrected @refresh not reupdating the basic stat bonuses.
  2190. 2007/03/03
  2191. * Modified a bit the storm gust counter code to see if it fixes storm gusts
  2192. sometimes freezing on first hit.
  2193. 2007/03/02
  2194. * Tatami Gaeshi state (proyectile blocking) now ends when you move.
  2195. * SG Union will consume now SP if you use it while not soul linked.
  2196. * Added variable "skip" to the mob spawn data, to know how many mobs to
  2197. skip when spawning because they were not removed due to the
  2198. "mob_remove_damaged" setting.
  2199. * Corrected the Hp/Sp regen formulas from Hp/Sp/Spirit Recovery and
  2200. Happy/Peaceful break according to recent forums discussions (formula is
  2201. changed from x*lv +max*lv/500 to lv*(x+max/500). [Skotlex]
  2202. * Added new script function: setiteminfo. Now you can make custom items [Lupus]
  2203. - Updated script function setitemscript(itemID,script,WhichScript)
  2204. now u can set one of 3 item scripts: use/update, equip, unequip
  2205. But it works only if the original item had 3 non empty scriptsin ITEM_DB
  2206. can't fix this issue yet
  2207. 1201,Knife,Knife,4,50,,400,17,,1,3,0xFE9F7EEF,7,2,2,1,1,1,1,{dispbottom "1";},{dispbottom "2";},{dispbottom "3";}
  2208. and... if u've used this function, later @reloaditemdb may crush the map server ^_-
  2209. - Check npc/sample/npc_test_setitemx.txt as example of setiteminfo & setitemscript
  2210. 2007/03/01
  2211. * Corrected raid not doing the "can hit?" check on splash area targets.
  2212. * Fixed the definition of warpwaitingpc so that it allows an optional
  2213. argument (number of people to warp).
  2214. * Modified the Palm Strike packet so the initial hit animation does not
  2215. displays "Miss".
  2216. * Added a check to prevent trades from being commited if either character
  2217. is in final-save state.
  2218. * Checked and cleaned up the online_check code in the char-server. Further
  2219. connections to the char-server are rejected when the account already has a
  2220. connection (previously this would happen only if there was already another
  2221. character IN game, not just waiting on the char-select screen). [Skotlex]
  2222. 2007/02/28
  2223. * Added the source and VC8 project for my experimental mapcache generator;
  2224. it is NOT compatible with eA's current mapcache but uses a brand new format
  2225. that I still have to embed into the map-server [DracoRPG]
  2226. 2007/02/27
  2227. * NPC_AGIUP now boosts flee by 100% and duration is 5+5*lv secs, as stated
  2228. on the Ragnarok Bible.
  2229. * Fixed Soul Breaker's misc part not ignoring flee.
  2230. * Fixed misc attack's flee check being backwards (the less hit%, the more
  2231. chance you had to connect)
  2232. * Corrected the range check in vending.c [Skotlex]
  2233. * Added map & distance check to vending to prevent WPE hacks. [Lupus]
  2234. E.g. buying items from WoE castle
  2235. * Fixed a compiler warning in char_sql\login.c
  2236. * Minor source documentation/cleanup. [FlavioJS]
  2237. 2007/02/26
  2238. * You are allowed to expel guild mates that are not online now.
  2239. * Corrected damage of BloodDrain
  2240. * Moved the "already connected" checks to pc_authok, since a dual login
  2241. doesn't needs to be checked until the new connection is accepted.
  2242. * You are allowed to attack/use skills now when your cloaking level is
  2243. below 3.
  2244. * Small change to Stone Curse that may fix the permanent "semi-stone"
  2245. status.
  2246. * Corrected "taming monster" having your skill-use be stuck if you cancel
  2247. the target selection process.
  2248. * config setting party_show_share_picker now displays the jname of the item
  2249. picked as well.
  2250. * Corrected some typos and small details
  2251. (forgotten bInfiniteEndure [r6487], mysterious '1' in help file, etc)
  2252. 2007/02/25
  2253. * Added Krade's makefile fix for 64bit compilers [ultramage]
  2254. - ref: http://www.eathena.ws/board/index.php?showtopic=136622
  2255. * Minor cleanup/documentation on the script engine. [FlavioJS]
  2256. 2007/02/24
  2257. * Fixed the mob_override_name setting not working on summoned mobs.
  2258. * The server now prints an error message when it the produce_db reaches the
  2259. max number of allowed produce recipes.
  2260. * The NK value of the skill_db has been made a hexadecimal value, and
  2261. expanded to include more information about a skill's damage properties: 0x8
  2262. ignore caster's cards, 0x10 ignore element adjustments, 0x20 ignore
  2263. target's defense, 0x40 ignore target's flee. Note that magic attacks
  2264. always ignore flee, and misc attacks always ignore defense.
  2265. * Autoguard will no longer work on skills that don't take in card
  2266. adjustments
  2267. * utsusemi & bunsinjyutsu no longer work on skills that don't take in card
  2268. adjustments.
  2269. * Corrected damage of the NPC elemental attack skills, Blood Drain and
  2270. Energy Drain
  2271. * Adjusted menu-based skills so you can't reuse the same skill until you've
  2272. dealt with the menu.
  2273. * Adjust autospells so that removing an autospell works when the script of
  2274. the card that removes the autospell is triggered before the script that
  2275. adds the spell.
  2276. * The "requested name of gm-hidden char" warning will not be displayed when
  2277. the object in question is an NPC (since you can use Intravision to do
  2278. this).
  2279. * Venom Knife no longer takes into accounts cards or EDP.
  2280. 2007/02/23
  2281. * Guild expulsion now will fail when the character to be kicked is in a
  2282. guild castle (rather than checking for the character doing the expulsion)
  2283. * pk damage reduction settings now will take effect only on Player VS
  2284. player damage.
  2285. * Fixed produce_db2.txt entries overwriting produce_db.txt ones.
  2286. * Fixed item-granted/plagiarized skills unlocking skill trees when only
  2287. your real learned level should. [Skotlex]
  2288. 2007/02/21
  2289. * Applied a consistent look to all header files (copyright, ifdefs)
  2290. * Minor stuff (typos, socket.c, junk in login reply packet) [ultramage]
  2291. 2007/02/19
  2292. * Fixed @cartlist info message typo [Lupus]
  2293. 2007/02/17
  2294. * Fixed a typo from r9778, allowing non-gm chars to use /kill [ultramage]
  2295. 2007/02/16
  2296. * Fixed the structure of packet 0x6d (new char info). It's the same as the
  2297. one used for packet 0x6b (chars info). [FlavioJS]
  2298. * Updated script commands startnpctimer, stopnpctimer, initnpctimer so you
  2299. can attach a player to them, this is done because the attach/detach
  2300. functions can't be used to attach to a different script than the one
  2301. currently running.
  2302. * Updated the script_command reference with the new flag values of
  2303. [start/stop/init]npctimer.
  2304. * Modified the "guardian" spawn script command, it no longer receives a
  2305. "amount" argument (since that only leads to trouble), if the class is
  2306. negative, it'll pick a random class the same way the monster spawn script
  2307. command does, and if you pass a spawn position with coordinates equal or
  2308. less to 0, a random spot in the map will be taken. However you can't use
  2309. "this" as a map name anymore since these script commands do not need an
  2310. attached player.
  2311. * Guardian spawning will now fail if you attempt to spawn a guardian that
  2312. already exists on the same position.
  2313. * Miracle of the Sun, Moon and Stars can now retrigger to lenghten it's
  2314. effect, and it is cancelled on warp/map-change. [Skotlex]
  2315. 2007/02/15
  2316. * Reverted some of my mobdb code
  2317. * Cleaned up clif_party_info a bit
  2318. * Cleaned up set_reg (the same procedure as get_val) [ultramage]
  2319. * The default packet version is now 8. Clients from November2006 and before
  2320. can no longer get past the char-server unless you change it back to 7.
  2321. * Fixed Storm Gust counter freezing on fourth hit instead of third.
  2322. * Fixed @homstats not taking into consideration that the stat growth
  2323. decimals get discarded on level up (so the real minimum/maximum displayed
  2324. was off).
  2325. 2007/02/13
  2326. * Applied Rayce's dangling pointer fix when returning a temporary npc
  2327. string variable (those starting with .@)
  2328. * Required Weapon, ammo, and skill state are now only checked on begin
  2329. casting, instead of both on begin and end casting.
  2330. 2007/02/12
  2331. * Fixed Resurrect Homunculus and Wedding skills failing. [Skotlex]
  2332. * A bit more work on Ticket #41.
  2333. * Added 'r' (variable reference) to the script argument definitions.
  2334. * Added a simple define for suspitious actions. (empty at the moment)
  2335. * Added clif_clearcart and moved sending cart packets to pc_setoption.
  2336. * clif_parse_ChangeCart checking the player level. [FlavioJS]
  2337. * Fixed clif_parse_GMmessage cutting off messages randomly [ultramage]
  2338. (due to a typo in revision r9778)
  2339. * Fixed Wand of Hermod
  2340. * Corrected Spider Web casting around caster instead of target's position.
  2341. * Corrected a possible crash during login due to checking for the incorrect
  2342. variable (lets pc_calc_status be invoked when it shouldn't)
  2343. * Added bounds checking to map_foreachincell.
  2344. * Opt2 values (poison, blind, and so on) are now resent on warp/map-change.
  2345. * Corrected description of isloggedin script command. [Skotlex]
  2346. 2007/02/11
  2347. * Fixed the inverted behavior of display_skill_fail, caused by r9823
  2348. * Fixed @loadnpc not updating the script_event[] array
  2349. 2007/02/10
  2350. * Fixed clif_party_message using an incorrect buffer length [ultramage]
  2351. * Cosmetic changes to the buildin section of script.c (use defines for
  2352. function names/definitions). [FlavioJS]
  2353. 2007/02/09
  2354. * Updated the 'unit walk' to functions so they stop your attack if it's
  2355. possible to walk.
  2356. * Fixed char server SQL not sending the guild info update to other map
  2357. servers when a new member is added.
  2358. 2007/02/08
  2359. * Modified Spider Web so it can instantly retrap a target, rather than
  2360. idling on the ground waiting for a new target.
  2361. * Cleaned up some the rude-attacked code, being attacked while under spider
  2362. web now triggers rude-attacked. [Skotlex]
  2363. * Added code for SQL that will automatically detect the ping interval
  2364. at startup, and copy-pasted it around the code; removed the conf setting
  2365. * Added a missing null pointer check in clif_parse_globalmessage
  2366. * Fixed the new socket code, which was triggering the inactivity timeout
  2367. on the servers' listening sockets
  2368. * Fixed the TURBO code not working since r4468 (parse func never called)
  2369. 2007/02/07
  2370. * More aggressive cleaning up of the socket code [ultramage]
  2371. - removed unused session_data2 entry in sd
  2372. - added a new create_session() function, helps keep things cleaner
  2373. (although it's ad-hoc and not perfect, since this is C)
  2374. - undid r4978 since it was getting in the way (re-add it if you need it)
  2375. - added defines for the recv, send and parse func pointers
  2376. - added null functions for the three actions, and made create_session()
  2377. calls use those instead of NULL pointers; insignificant penalty and now:
  2378. - since all three funcs are always initialized, removed all those NULL checks
  2379. - removed the efd set, since as the people from the developernet forums
  2380. pointed out, it's only for out-of-band data and NOT for error checking
  2381. (in fact, select() bails out without giving any info if it errors out)
  2382. - reorganized the randomly placed socket.c contents somewhat
  2383. - it'll be a miracle if this works like it should ^^;
  2384. * Modified spider web so that the skill_unit_db flag restrictions may take
  2385. place. [Skotlex]
  2386. * Cleaning up of the socket code [ultramage]
  2387. - Shuffled includes around for files that were leeching off of socket.h
  2388. - Added code that enforces standard shutdown behavior for sockets
  2389. - Wiped out the poorly written parse code from r2211
  2390. * Removed old script bonuses bMatk, bMatk1, bMatk2.
  2391. * Fixed char-server not sending online notification when a party member
  2392. logs in.
  2393. * When skill range by distance is set, the distance checked for is now 5
  2394. cells rather than 3.
  2395. * Fixed bMatkRate bonuses not applying to status earned modifications to
  2396. int/matk. [Skotlex]
  2397. * Removed deprecated console code.
  2398. * Moved CHAT_SIZE back to map.h because log_atcommand uses it on sql
  2399. builds. (moved to clif.c in r9811) [FlavioJS]
  2400. 2007/02/06
  2401. * Cleaned up the script engine's get_val() function [ultramage]
  2402. - changed the long if-spaghetti into a compact switch statement
  2403. - changed its behavior so that it exits if !sd and it requires one
  2404. - upon exiting, it will now ensure that meaningful values get returned
  2405. (the old code had no qualms about returning random junk from memory
  2406. for integer queries, and crashing for string queries)
  2407. - removed many !sd checks since they are done at the beginning now
  2408. * Fixed #lvup having the gm level check backwards.
  2409. * Fixed the stormgust freeze counter going up even if the attack is
  2410. blocked/cancelled.
  2411. * Cleaned up homunc attack request parsing. Homunculus no longer goes into
  2412. auto-attack (ctrl+click) mode since the client does every attack request
  2413. individually.
  2414. * Fixed char-server not sending party status update when a member logs
  2415. on/off.
  2416. * Fixed crash when parsing guild member information change from the
  2417. char-server if the specified character is not found in the guild.
  2418. * Fixed MvP mobs giving exp when killed even if they shouldn't.
  2419. 2007/02/05
  2420. * Fixed @lvup, #lvup not doing a stat reset and lowering your status points
  2421. if you had 0 status points at that time.
  2422. * Fixed MvP exp and item rewards being given even when the mob_dead flag
  2423. specifies you should not receive exp or items.
  2424. * Updated the code so that now a range of a skill is determined by the
  2425. skill's range in the db. Now only skills with less than 5 cells of range
  2426. are melee.
  2427. * The inf2 parameter of the skill_db is now red as an hexadecimal.
  2428. * The super novice self-revive angel will now trigger only once per
  2429. session, if you relog you can have it trigger again. [Skotlex]
  2430. * Fixed the skill tree not always updating when using @allskill
  2431. * Probably fixed the target-change on melee attack setting not working.
  2432. * Moved the deletion of the invincible timer when using skills so that it
  2433. is not deleted for skills such as Ashura (when just selecting a target)
  2434. [Skotlex]
  2435. 2007/02/03
  2436. * Continuing the checking of script buildin functions and stop the script
  2437. execution when an attached player is required but not found.
  2438. This task will be referenced as Ticket #41 from now on. [FlavioJS]
  2439. * Updated the TXT login server's account id checker
  2440. (it was still saying the minimum is 700000 instead of 2000000)
  2441. * Changed the 'getpartyleader' script command so that it returns a map
  2442. name instead of the useless mapindex number. Also fixed it so that it
  2443. doesn't throw a 'args of aFree is not valid pointer' error.
  2444. (although I'm not at all sure that the fix is correct)
  2445. Ref: http://www.eathena.ws/board/index.php?showtopic=137274
  2446. * Removed the silly and misleading 'firewall detected' message
  2447. * Added missing vc6 project file
  2448. * Corrected a lie in the script documentation [ultramage]
  2449. 2007/02/02
  2450. * Fixed the flag parameter not working on npcshopattach.
  2451. * Updated the walk delay code so that it parses homunculus as well as
  2452. players. What this means is that a homunculus walk request won't go ignored
  2453. if it's issued during the 'can't walk delay' after being hit.
  2454. * Added a possible crash protection in clif_skillfail when the player is
  2455. without a connection. [Skotlex]
  2456. * Fine-tuned the global message processing function [ultramage]
  2457. - now detects access-out-of-rfifo attempts (idea from eA++)
  2458. - uses the new CHAT_SIZE define to restrict message lengths
  2459. - detects Frost Joke/Dazzler and gives them more freedom (from Freya)
  2460. - more strict non-conformant message detection
  2461. - logging every problem to the mapserver console
  2462. * Resetting skills will now automatically remove peco, falcon, cart and
  2463. homunculus (vaporize).
  2464. * Fixed random mob picking choosing clones.
  2465. * Fixed critical spots that could be exploited [Skotlex]
  2466. - The define MESSAGE_SIZE was wrong! It is only used for input boxes.
  2467. Therefore now it is only used for Vending, Talkie box and Graffiti
  2468. - Added new define CHAT_SIZE which holds the max length that a client
  2469. can send from the chat buffer
  2470. - Added define msg_len_check which crops incoming client text if it's
  2471. longer than CHAT_SIZE. Added cropping to all incoming messages except
  2472. normal chatting which is already accounted for.
  2473. - Removed variable talkie_mes, this is now handled by sd->message
  2474. - Cleaned up parser functions for /b /lb, gm kick, /shift, /recall
  2475. - Added crash protection to the logging functions when they receive
  2476. a too long string.
  2477. 2007/02/01
  2478. * Restricted global messages to 255 characters (client shows only ~80 anyway,
  2479. wanted to use 127 but frost joke's lines are longer than that ...)
  2480. - prevented using a ~22+kB long message to crash everyone on screen
  2481. - prevented faking the message length to cause an out-of-bounds access crash
  2482. - removed the unneccessary 'buf'ffer (inspiration from jAthena)
  2483. - Ref: http://www.eathena.ws/board/index.php?showtopic=137770
  2484. * Corrected the chat system to allow 8-letter passwords
  2485. * Minor details (pdb file location, improved debug, npc typo) [ultramage]
  2486. * Cleaned up the npcshop(add/del)item script commands, fixed a possible
  2487. dangling pointer crash caused by their improper use of realloc. They no
  2488. longer automatically attach the script to the shop, and they will return
  2489. true/false based on whether the shop was found or not.
  2490. * Added script command npcshopattach to enable attaching/detaching your
  2491. script from any npc shop.
  2492. * Updated doc/script_commands.txt with entries for npcshopitem,
  2493. npcshopadditem, npcshopdelitem and npcshopattach [Skotlex]
  2494. * A followup to r9761, a header include that somehow didn't commit [ultramage]
  2495. * Item search is now a bit smarter. When no item is found with the same
  2496. 'aegis name', then the 'normal' name is used instead.
  2497. * Updated the @/# commands that take an item name so that you can use
  2498. quotes when specifying item names with spaces in them. For example, @item
  2499. "poring card" 1 will work now. Note that only the commands that work on ONE
  2500. item have been updated, those that do an item list need to be updated as
  2501. well. [Skotlex]
  2502. * Updated the old vs6 files to latest, thanks to k3dt for contributing them
  2503. * Reorganized the vs6 project files (update will follow)
  2504. * Fixed an accidental change in r9758 (edit&continue) [ultramage]
  2505. * Added support for mob skill target 'randomtarget', when specified, it
  2506. will pick a random enemy from within the skill's cast range. [Skotlex]
  2507. * Added string function strnlen [ultramage]
  2508. - This thing is useful for removing potential out-of-bounds crashes.
  2509. Had to #ifdef it because some systems implement it, some don't provide
  2510. the header, and some don't have it at all. Adjust/improve as neccessary.
  2511. * Corrected homunculus's aspd being halved after using some aspd adjusting
  2512. skill.
  2513. * Removed the log info message 'created homunc...', and the 'loaded homunc'
  2514. message will only show if the save_log is enabled.
  2515. * When when a party-member levels up, the level change is sent to the
  2516. char-server to update the even-share range values.
  2517. * When joining a gvg_dungeon, the pvp packet will be sent to signal
  2518. versus. With this gvg dungeons should be working correctly now. [Skotlex]
  2519. 2007/01/31
  2520. * Changes in the VS8 project files: [FlavioJS]
  2521. - synchronized the settings between the projects
  2522. - joined all .h and .cpp files and grouped them based on the src subfolder
  2523. - added Debug/Release build targets that build txt/sql only
  2524. - other minor changes
  2525. * Removed graph, httpd and webserver
  2526. * Wiped out the old night code (use svn if you want it) [ultramage]
  2527. 2007/01/30
  2528. * 'Long Range Attacked' mob skill conditions will no longer trigger on
  2529. magic attacks.
  2530. * Corrected char deletion not working (column is called homun_id, not
  2531. hom_id...)
  2532. * Collapsed config settings produce_item_name_input,
  2533. produce_potion_name_input, making_arrow_name_input, holywater_name_input,
  2534. cdp_name_input into a single config produce_item_name_input which uses
  2535. bitmasks to determine what it affects.
  2536. * Updated arrow_decrement to have 3 possible values: Disabled, Enabled, and
  2537. Enabled + Autoguess (gives arrow consumption as appropiate to
  2538. plagiarized/acquired skills).
  2539. 2007/01/29
  2540. * Corrected the homunculus deletion functions so that the homunculus is
  2541. deleted together with the character.
  2542. * Added npc_check_areanpc so that Wand of Hermod will correctly check for
  2543. nearby warps.
  2544. * Emergency avoid now stacks with other speed boost statuses
  2545. * Item skills and skills that bring up a menu now are cleared on death.
  2546. [Skotlex]
  2547. * Added a nasty hack to prevent multilanguage clients from breaking guild notices
  2548. 2007/01/27
  2549. * Made @reloadscript wipe ALL previous mobs that the script engine spawned
  2550. - this way it is manageable via global vars; the other way doesn't allow that
  2551. * Some misc cleanups (typos, formatting, forgotten changelog entry etc)
  2552. * Reformatted and translated atcommand.c
  2553. - in the process improved @marry, allowing spaces after the first comma
  2554. * Simple cleanup
  2555. - removed atcommands @w, @server_date/time, @red, @happyhappyjoyjoy, @shuffle
  2556. - synced gm level of @jailfor, @charjailtime, @npcmove, @chardropall,
  2557. @charstoreall, @send, @mute, @changelook, @exp and @nuke
  2558. - added conf entries for @whozeny, @kamic, @tonpc, @petid, @identify, @adopt,
  2559. @trade, @changelook, @send
  2560. - reorganized the atcommand_athena.conf file a bit
  2561. * Corrected indentation of the atcommand table (editor compatibility)
  2562. * BEGIN atcommand cleanup process
  2563. (according to http://www.eathena.ws/board/index.php?showtopic=111996)
  2564. * Fixed a C language restriction preventing compilation [ultramage]
  2565. 2007/01/26
  2566. * Removed all those useless read-from-GRF features noone would ever use,
  2567. also removed cutincard script command as a consequence [DracoRPG]
  2568. - this is only the beginning of full grfio disparition from map-server
  2569. * Now assassins can equip arrows, and status arrows trigger on any ranged
  2570. physical attack: mimics Grimtooth + status arrow "Aegis bug" [DracoRPG]
  2571. * Added some random Storage Password packets thingies [DracoRPG]
  2572. * Kaite and Assumptio no longer stack. One will remove the other in the
  2573. same way Assumptio and Kyrie do.
  2574. * Made homunculus renaming go through the char-server so it can be
  2575. validated against the allowed characters setting.
  2576. * Added battle config hom_rename so you can enable renaming multiple times
  2577. your homunc.
  2578. * Fixed the normalizing function not sending first classes back to novice
  2579. if they do not have basic skill maxed.
  2580. * Added a wrapper to delete_timer so it prints out from where the
  2581. invocation was done.
  2582. * Fixed Splash attacks consuming 2 ammo on each attack. [Skotlex]
  2583. * Added some more freedom for the txt log paths since 32 wasn't enough
  2584. * Removed log_uptime that was accidentally introduced in r1208 [ultramage]
  2585. 2007/01/24
  2586. * Cleaned up some more the Joint Beat implementation, so the status don't
  2587. take effect until the attack connects. [Skotlex]
  2588. 2007/01/23
  2589. * Fixed int/dex foods using an incorrect icon for their status [ultramage]
  2590. * Changed the night status from 149 to 160, which seems to work so much
  2591. better, and also enabled simplifying the night code.
  2592. * A skill's walk delay will also delay your can-attack time when the skill
  2593. connects, since this is the behaviour of Sonic Blows as described by
  2594. Tharis.
  2595. * Added view_data support to mercenary.*, so that the Homunculus entries
  2596. are no longer required on the mob_db.
  2597. * Added the status icon to NPC_CHANGEUNDEAD and the Flee/Hit foods.
  2598. * Corrected the check that lets you walk when vending/chatting/etc.
  2599. 2007/01/22
  2600. * Reverted the battle_calc_return_damage code as the previous one was
  2601. correct, ninja self-targetted skills CAN be reflected. [Skotlex]
  2602. 2007/01/21
  2603. * Fixed while statements not "reserving" the curly before parsing the test
  2604. expression. [FlavioJS]
  2605. 2007/01/20
  2606. * Fixed some joker's code trying to dereference a null pointer
  2607. * Fixed the server not reacting properly to atcommands/charcommands when using
  2608. langtype 10/11 (the |XY codepage indicator wasn't being trimmed) [ultramage]
  2609. * Updated @homshuffle so that the skill tree and current skill points are
  2610. not messed up.
  2611. 2007/01/19
  2612. * Fixed the label dup code, it now works correctly with const.txt switch
  2613. labels.
  2614. * Reverted the dup-label check code since it has a bug that needs to be
  2615. fixed first (it fails to recognize const.txt values) [Skotlex]
  2616. * Fixed a client crash during SQL char selection if you for some reason had
  2617. more than 9 characters in your account (thanks to Daegaladh) [ultramage]
  2618. - note that the TXT version already guards against this since long ago
  2619. * Merged Rayce's cleanups of the script engine that account for duplicate
  2620. labels, non-numeric labels and makes the engine case-insensitive towards
  2621. keywords like if/case/switch/etc/
  2622. * Added the icons for the Food boosts (need packet version 8 to get them,
  2623. as these icons will just display Gloria, or crash you, when used on older
  2624. clients).
  2625. 2007/01/18
  2626. * Modified the Storm Gust freeze counter code. It now takes into
  2627. consideration the ID of the skill before increasing the counter, which
  2628. should effectively yield the closest aproximation to official (even though
  2629. the counter will reset if you step out of a SG and into another one, we do
  2630. not know yet what should happen in such a case).
  2631. * Added @homshuffle. It recalculates the homunculus stats, as if the homunc
  2632. was sent back to level 1, and then releveled. This command is mean to help
  2633. fix those previously created Homunculus that are much stronger than they
  2634. should be.
  2635. * Fixed overflow on the mob delay adjustment setting.
  2636. * Fixed characters being unable to trade again if you attempt a trade on
  2637. someone who is on storage/npc when you accept the trade. [Skotlex]
  2638. * Fixed a crash when a castle from [0..MAX-1] wasn't in the db [ultramage]
  2639. 2007/01/17
  2640. * Corrected atcommand @homstats so it shows the correct minimum/maximum
  2641. possible values.
  2642. * Simplified the hom level up function, now decimal stats are no longer
  2643. stored. This should correct eA's homunculus on average being much stronger
  2644. than Aegis's.
  2645. * Cleaned up pc_allskillup, @allskills should work correctly now.
  2646. 2007/01/16
  2647. * Added atcommand @homstats so you can check your homunculus stats and
  2648. compare them to the minimum/maximum values that you could have at your
  2649. current level. This command is meant to help figure out if homuncs are
  2650. indeed getting a faster stat growth than they should have.
  2651. * Fixed the next invoked skill after AbraCadabra not having requirements
  2652. even when it is a different skill than the one chosen by AbraCadabra.
  2653. * Implemented Intravision as it should be. Thanks to HelloKitty2 for the
  2654. captured packets.
  2655. * Some cleaning on the mob_ai to enable mobs to run away from their current
  2656. target when they are rude-attacked by them.
  2657. 2007/01/15
  2658. * The NPC elemental attacks will display a skill animation again.
  2659. * Mob instant cast skills will use their adelay now.
  2660. * Spirit of Wizard won't work on Ganbantein
  2661. * The pc normalize job function will consider you as novice if you don't
  2662. have maxed out basic skill.
  2663. * Cleaned up pc_calc_skilltree and related functions so that the id is left
  2664. as 0 when you can't raise the skill even if you meet the prerequisites.
  2665. This is to prevent raising quest/soul/marriage skills through packets.
  2666. * Slaves should lock unto their master's target even if they are not
  2667. attacking yet (eg: in chase mode)
  2668. * Updated the Summon Slave skill to use the slave distance define as valid
  2669. distance to spawn from master.
  2670. * Fixed Joint Beat's speed penalty.
  2671. * Added a pc_authok check to prevent the case in which somehow another
  2672. character of the same account manages to log in as well.
  2673. * The pc normalize job function will now recognize you as a novice if you
  2674. don't have NV_BASIC maxed.
  2675. * Accessories will now by default go into the rigth-side rather than the
  2676. left-side of the equip window.
  2677. * Added a check in the mob_ai_subhard function to make mobs unlock targets
  2678. which have their invincible timer set.
  2679. * Probably fixed the registration flood protection code being broken.
  2680. * Joint Break should only re-start the bleeding timer when it currently IS
  2681. the one that causes bleeding. [Skotlex]
  2682. 2007/01/12
  2683. * Cleaned up the ip rules/DDoS section of the code. (the allow,deny and
  2684. deny,allow cases were switched)
  2685. * Fixed autotrading characters not being able to reconnect. Seams like I
  2686. misunderstood how id_db and pc_db are used. [FlavioJS]
  2687. 2007/01/11
  2688. * Fixed the script engine not parsing strings in multibyte charsets
  2689. correctly (should have been done in r9532).
  2690. * Console plugin working when built as Windows native. [FlavioJS]
  2691. 2007/01/10
  2692. * Combined most of the txt/sql mobdb reading code [ultramage]
  2693. - mob.c is now some 10kB less redundant (now using a common function)
  2694. - automatically filled in some missing parts of the txt part
  2695. (view_range_rate, chase_range_rate, line counting, etc)
  2696. - also cleaned it up significantly
  2697. 2007/01/09
  2698. * Changes to script buildin functions: [FlavioJS]
  2699. - functions checking if a player is attached as soon as possible.
  2700. - functions that required a player attached and would crash if none was
  2701. there terminate the script now. (others keep the current behaviour to
  2702. maintain full backward compatibility)
  2703. - removed the unused flag argument in guildskill.
  2704. - bonus,bonus2,bonus3,bonus4 use the same function now (remains the same
  2705. script-wise)
  2706. - added an optional parameter to setcart,setfalcon,setriding so it's
  2707. possible to remove the cart/falcon/mount or select a specific cart
  2708. - other cleanups
  2709. 2007/01/08
  2710. * Hotfix: Freeing of freed pointer when replacing script functions. [Lance]
  2711. * Unimportant cleanups
  2712. * Moved the plugin.def file to the plugins dir and added console.def
  2713. * Found the reason why the console didn't want to run on windows
  2714. (Microsoft uses !0 and unix uses 0 in pipe_create)
  2715. * Commented out a login_log call (sql doesn't implement that function!)
  2716. * Fixed an old debug message displaying %d instead of a number
  2717. * Silenced the plugin export messages during startup [ultramage]
  2718. * Added a precompiler error when the shutdown defines are not found.
  2719. * Added parse_console to the plugin API.
  2720. * Added plugin for parsing the console. (working with cygwin)
  2721. * Copied the parse_console code form login txt to login sql and char.
  2722. * Added propper plugin version compatibility tests.
  2723. * Better output when a plugin fails to load. [FlavioJS]
  2724. 2007/01/07
  2725. * Fixed the sleep timers not being removed when the an npc was being
  2726. unloaded and when reloading scripts. [FlavioJS]
  2727. * Updated the documentation to match the agitcheck() behavior
  2728. * Undid the memset->malloc_set replacement
  2729. (let's be compatible and leave such optimizations to system devs, ok?)
  2730. * Small reformatting of conf-tmpl
  2731. * Renamed atcommand_sub to is_atcommand_sub (charcommand too)
  2732. * Re-added the duplicit nj/gs name messages in msg_athena [ultramage]
  2733. (the code was using those and they look better in that position)
  2734. 2007/01/06
  2735. * Now winsock 2 is required.
  2736. * Cleaned up do_close and socket_init a bit.
  2737. * Fixed the weight icon dissapearing and reappearing when attacking.
  2738. (introduced by me at r9600, fix based on ultramage's code) [FlavioJS]
  2739. 2007/01/05
  2740. * Also discarded some veeery old utils code that has got equivalents
  2741. in the std libs (and therefore is silently causing a nasty collision).
  2742. * Major reconfiguration of the VS8 project files. [ultramage]
  2743. - Removed the migration binding to a VS71 template.
  2744. - Disabled the setting that defines char -> unsigned char (non-conformant).
  2745. - Switched all projects to use the common C runtime library DLL
  2746. instead of linking the static version to each exe.
  2747. - Enabled edit&continue on the TXT version (SQL already had it).
  2748. - Reconfigured the linker to use only the really required dependencies.
  2749. - Enabled full optimization and whole program optimization,
  2750. with additional speed-improving settings for the release build.
  2751. - Set the compiler/linker to produce detailed debug information even for release builds
  2752. (no performance penalty because the debug info is stored in a separate .pdb file!).
  2753. - I tested all 4 build combinations and it works for me, and it should work for you.
  2754. - There is still one very useful thing missing - setting the working dir to '..'.
  2755. I don't know how to do that, tho' since VS stores it in a separate user file.
  2756. 2007/01/04
  2757. * Fixed old @go bug (it ignored einbech) [Lupus]
  2758. * Added Au{R}oN's updated version of the effect list.
  2759. * Completed adding of the new cities to @go.
  2760. > that function is ugly and needs a complete rewrite, asap.
  2761. * Updated thor volcano warps.
  2762. * Updated /doc from jAthena. [ultramage]
  2763. 2007/01/03
  2764. * Added Rachel and Veins to the list of @go destinations.
  2765. * Added a first approximation of warps for the new maps (by $ephiroth).
  2766. * Now the server will by default perform symmetric adding of friends. [ultramage]
  2767. > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749)
  2768. * Fixed TURBO FIFO defines.
  2769. * Moved refusal of a known packet versions to clif_parse_WantToConnection
  2770. and made it check for non-player object with that id.
  2771. * JK_JOINTBEAT as described in:
  2772. http://www.ragnainfo.net/wiki/index.php/Vital_Strike
  2773. Although not clear, it's being assumed that the 2x damage is only for the
  2774. break neck ailment. [FlavioJS]
  2775. * Modified the useless error message in atcommand_effect.
  2776. * Silenced the debug message in socket.c that's been freaking people out.
  2777. * Added support for text/comments at the end of monster spawn lines (<tab> required)
  2778. * Added the official behavior of monsters regaining full hp when they morph.
  2779. > info at http://www.eathena.ws/board/index.php?showtopic=130103
  2780. * Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements for soullinked skills.
  2781. > TODOs at http://www.eathena.ws/board/index.php?showtopic=130788
  2782. * Re-applied change r9593 that got accidentally reverted by r9595. [ultramage]
  2783. 2007/01/02
  2784. * Fixed SC_JOINTBEAT not doing crit damage for the Neck Break ailment.
  2785. * Gospel sends the buff message to the affected player. [FlavioJS]
  2786. 2006/12/31
  2787. * Made HSCR bypass both Guard and Shield Reflect using the dirty way [DracoRPG]
  2788. > cleaner way would need to rethink the whole skill's implementation
  2789. * Added more info when npc_scriptcont tries to continue a different script.
  2790. * Refer to http://www.eathena.ws/board/index.php?showtopic=130285
  2791. - Renamed pc_checkweighticon to pc_updateweightstatus and cleaned it.
  2792. - Updated pc_is50overweight to use battle_config.natural_heal_weight_rate.
  2793. - Added 90% weight check when attacking.
  2794. * Updated getitem and guardian entries in script_commands.txt.
  2795. * Fixed getitem trying to get <character ID> from the wrong argument.
  2796. * Now getitem can be run on scripts without a player attached if
  2797. <character ID> is specified.
  2798. * Now the two last arguments of guardian are optional and independant of
  2799. each other ("<event label>" and <guardian index>). This way the previous
  2800. implementation and script_commands definition are still valid code.
  2801. * Now buildin function names and argument definitions are checked for
  2802. validity before adding the function to the script engine.
  2803. Argument definitions follow the pattern: (v|s|i|l)*\?*\*? [FlavioJS]
  2804. 2006/12/30
  2805. * Reverted the packet structure changes to mmo_char_send006b in r9588 (was
  2806. using the wrong exe for the final tests) except for the bug that I was
  2807. originally fixing. [FlavioJS]
  2808. 2006/12/29
  2809. * Skill use is now cancelled when you use it while cloaking, and the
  2810. uncloaking process warps you. [Skotlex]
  2811. 2006/12/28
  2812. * Reapplied Skotlex's socket.c changes from r9587 and r9582. :S
  2813. * Part 3 of TheUltraMage's socket cleanup.
  2814. * Fixed the packet structure in mmo_char_send006b for PACKETVER 8.
  2815. * Removed search_str from add_str (add_str already searches for the
  2816. string).
  2817. * Native script words like do,while,for,... are case insensitive now.
  2818. * Changed SCRIPT_HASH_SIZE to 1021 (prime hash sizes give better
  2819. distributions).
  2820. * Added alternative hash implementations to the script engine (to try out
  2821. later). [FlavioJS]
  2822. * Added a func_parse invocation when an invalid socket is found, so that
  2823. the underlying code (char/map/login) can handle it and free any related
  2824. resources.
  2825. * Added some skill effect packets so it displays a generic effect for
  2826. unknown targetted skills.
  2827. * Some cleaning in do_sendrecv, added error messages when handling an
  2828. incorrect socket. [Skotlex]
  2829. 2006/12/27
  2830. * Fixed Super Novice 99%+ invincibility triggering when
  2831. the character dies in a GvG area. [blackhole89]
  2832. * Updated SQL Files [Toms]
  2833. * Fixed a bug which makes the group heal bonus be applied as many times as
  2834. the item is in that group.
  2835. * Applied Rayce's suggestion to improve the script hash size usage. eA now
  2836. uses a hash of 1024.
  2837. * Full Buster's auto-blind chance is now reducable by stats/items.
  2838. 2006/12/26
  2839. * Updated Charge Attack's damage equation as per the only source I've seen
  2840. of it so far.
  2841. * Now Guardians/Emperium can't hit /be hit if their current map isn't a
  2842. gvg_castle or woe is off. This enables "localized" WoE by removing/setting
  2843. the mapflag gvg_castle on the castles where you want WoE to take effect
  2844. (note that even though normal players can't be hit on non gvg_castle maps,
  2845. normal mobs can still be killed in such maps, you'd still need to modify
  2846. the WoE scripts to use this kind of feature)
  2847. * TK_MISSION will now pick any mob from the DB as long as it is not a boss
  2848. type and it gives base exp.
  2849. * Fixed the double-stone issue when hitting a petrified character.
  2850. [Skotlex]
  2851. 2006/12/25
  2852. * Fixed buildin_getscrate, thanks Trancid.
  2853. * Applied part 1 of TheUltraMage's socket cleanup.
  2854. "Basically what I did was perform simple one-liner substitutions for
  2855. ugly repetitive blocks of code. The most apparent are the send/recv
  2856. code and the other basic socket calls."
  2857. * flush_fifo is non-blocking now. I guess best effort is good enough...
  2858. * Copied header files from vcproj-7.1 files to vcproj-8 files.
  2859. * Applied the rest of Rayce's suggestions and fixes
  2860. (http://www.eathena.ws/board/index.php?showtopic=129185)
  2861. * warn_cmd_no_comma, warn_func_no_comma, warn_cmd_mismatch_paramnum are
  2862. now warn_func_mismatch_paramnum and it only prevents showing the error,
  2863. as it was probably intended in the first place. (correct me if i'm wrong)
  2864. * Merged the parsing of function calls in the script engine, removing the
  2865. parse_cmd hackery, and made "heal (.@val+rand(0xff))&0xff,0;" valid
  2866. again. [FlavioJS]
  2867. 2006/12/24
  2868. * Small fix for changeset 9539 (support for PACKETVER above 7) [KarLaeda]
  2869. 2006/12/23
  2870. * Fallback for parenthesis argument lists in the script engine.
  2871. "func (exp) , ..." is valid again.
  2872. * Moved "#include <limits.h>" to cbasetypes.h to ensure it's included
  2873. before checking if UINT_MAX has been defined.
  2874. * Minor changes in pc_readdb related to max_level being unsigned.
  2875. [FlavioJS]
  2876. 2006/12/22
  2877. * Simplified function agitcheck so it isn't crash prone. Now it takes no
  2878. arguments, and will return whether WoE is on or not.
  2879. * Now when you specify a max level beyond what the exp table has, the last
  2880. entry of the exp table will be duplicated to fill in the remaining levels.
  2881. [Skotlex]
  2882. * Change strncpy to memcpy when parsing switches in the script engine
  2883. since it's guaranteed to be a word of that size (skip_word).
  2884. * Made scriptlabel_db duplicate the key. When str_buf is reallocated, the
  2885. keys in scriptlabel_db could become invalid, causing a crash in
  2886. npc_convertlabel_db.
  2887. * Now npc_convertlabel_db clears scriptlabel_db after using it.
  2888. * parse_script has an extra parameter options. At the moment it only
  2889. indicates if scriptlabel_db should be used or not.
  2890. * Fixed "UINT_MAX undeclared" on systems that don't declare it in limits.h
  2891. [FlavioJS]
  2892. 2006/12/21
  2893. * Applied Rayce's suggestions and fixes to the script engine
  2894. (http://www.eathena.ws/board/index.php?showtopic=129185)
  2895. * Some cleaning to the character deletion code.
  2896. * Changed a certain snprintf to strncpy, which should fix the problems with
  2897. parsing switches in the script engine.
  2898. * Added back cropping the attack delay to attack motion for those weird mobs
  2899. that have a aDelay less than their aMotion time. [Skotlex]
  2900. * Added a 1-node cache to db. Removed party_cache and guild_cache since
  2901. now the database has a cache.
  2902. * Fixed "warning: comparison is always false due to limited range of data type"
  2903. by restricting script words to ASCII characters only.
  2904. * Moved md5calc to common. [FlavioJS]
  2905. 2006/12/20
  2906. * Fixed ISSPACE and ISALPHA casting their returned value to a char, which
  2907. can really mess up the scripting engine when the returned value is true,
  2908. yet casted to false.
  2909. * Moved the strip unequip code to before deleting the timer, this fixes
  2910. trying to "re-strip" someone causing the skill to fail and on top of that
  2911. terminate their current strip effect.
  2912. * Reading of TK Mission variables will now happen if you are a TK-class
  2913. character regardless of whether you know TK_MISSION or not. Should fix
  2914. being able to reset skills to reset your Mission data.
  2915. * Added an ugly work around to the issue of skills with additional effect
  2916. causing opt1 status when they have just terminated them (in short, you
  2917. shouldn't be able to hit someone with, say, sleep, and then have the same
  2918. skill cause them stun, since both are opt1 values). [Skotlex]
  2919. * Now root script functions calls can have parenthesis (will take any
  2920. parenthesis after the function as the start of the argument list).
  2921. - This means "func (exp),exp;" isn't valid anymore.
  2922. * Replaced our fix for "mes ();" crashing by jA's version.
  2923. * Merged the fix for & having the same precedence as << and >> from jA.
  2924. * Merged the C_OP3 operator from jA: test ? if_true : if_false
  2925. * Changed the script source from unsigned char* to const char*.
  2926. * Updated plugins Makefile. [FlavioJS]
  2927. 2006/12/19
  2928. * Reverted the mob ThinkTime update, that field is again aDelay as it
  2929. apparently should be. [Skotlex]
  2930. * Cleanups or minor changes.
  2931. * Now addtick_timer invokes settick_timer, so keep an eye for whatever
  2932. timer issues it's supposed to have.
  2933. * Removed the flush_fifo from clif_parse_TickSend until the socket
  2934. problems are fixed. [FlavioJS]
  2935. 2006/12/18
  2936. * Updated POS2 macros. The 6th byte is subx0 and suby0. [FlavioJS]
  2937. * Added hom_setting to specify which homunculus 'quirks' are in effect. The
  2938. default activates all of them, if you set them to 0 then homuncs will not
  2939. be treated in any special matter, pretty much like standard mobs. if I
  2940. missed any 'quirky' homunc behaviour from it, report it so it can be added
  2941. to the list.
  2942. * Made flooritem_lifetime a int so you can specify much longer life times
  2943. (the default of 60k was already very close to the max of 65k)
  2944. * Removed monster_ai 0x80 since it's now handled by hom_setting.
  2945. * When walking into a Guild Dungeon your pvp_points will be set to 5 so you
  2946. have to die twice before being warped out.
  2947. * If jobchanging while disguised, the disguise will be removed, since it
  2948. can't be kept and still calculate correctly the new job class to use.
  2949. * Fuuma shurikens are now unbreakable code-wise (like all maces, books,
  2950. etc)
  2951. * Applied Meruru's patch to increase speed of easy path seeks. [Skotlex]
  2952. * Cosmetic changes to db.
  2953. * Fixed the unused MAPINDEX_AUTOADD section in mapindex.c (mapindex.h
  2954. wasn't being included) [FlavioJS]
  2955. 2006/12/16
  2956. * Moved packet_len_table values to packet_db[SERVER].
  2957. * When an invalid packet_ver is found, all it's entries are discarted
  2958. intead of just stopping the parsing.
  2959. * Increased MAX_PACKET_DB to 0x300 and added a warning for when packet ids
  2960. greater than MAX_PACKET_DB are found. [FlavioJS]
  2961. 2006/12/15
  2962. * There will be now warnings printed when a shop sells an item which's buy
  2963. price is 20z, since those usually are "rare" items with no buyying price
  2964. set. Note that this reports one fake, and that is the selling of a certain
  2965. shuriken that indeed costs 20z.
  2966. * Most likely fixed client crash when xmas/wedding status runs out.
  2967. 2006/12/14
  2968. * Removed "mobs being enemies of each other all the time" because, even
  2969. though mobs can hit each other as they should, they will refuse to use
  2970. support skills on enemies, which breaks several of their skills. Mobs can't
  2971. both help and attack someone tagged as enemy!
  2972. (I guess eA is just too smart to emulate Aegis's sloppy coding)
  2973. * Cleaned up the strip code (GS_DISARM, rogue skills).
  2974. * Cleaned some the MD_DETECTOR code.
  2975. 2006/12/13
  2976. * Additional damage bonuses (True Sight, EDP, Assassin Link, Crusader Link,
  2977. Card skill damage bonuses) are now applied independently of each other,
  2978. which lets them stack. [Skotlex]
  2979. * Modified flush_fifo so the code do what is written in the comment [Toms]
  2980. * Modified flush_fifo so you can decide whether to block the current thread
  2981. or not until the data is sent. The server-tick reply no longer blocks the
  2982. current thread.
  2983. * Fixed mobs being unable to attack anything...
  2984. 2006/12/12
  2985. * Reverted the knockback update since it isn't working right with all
  2986. skills.
  2987. * Mobs now by default are "everyone's" enemy, so mobs are able to hit each another.
  2988. * Moved "unsetting" the angry mode from the mob_ai to the mob_damage
  2989. function, where it'll work regardless of who hits the mob.
  2990. * Modifed a bit the clif_change_look function, it should fix crashes with
  2991. the Xmas sprite when changing maps.
  2992. * Fixed skills displaying a 32k damage when used while disguised. [Skotlex]
  2993. * Minor changes to ers.
  2994. * Removed unused/hardly used cbasetypes typedefs.
  2995. * Updated txt-converter's makefile to include utils.o [FlavioJS]
  2996. * Updated npc_event_dequeue to free up your current npc information, and
  2997. not just the npc_id.
  2998. * Modified the skill damage packet and the knockback packets to mimic aegis
  2999. sent packets for such skills.
  3000. * Removed CART_MASK as OPTION_CART can take care of that.
  3001. * Moved the OPTION_MASK define to status.h
  3002. * Reverted the knockback implementation to use clif_slide instead of
  3003. clif_fixpos [Skotlex]
  3004. 2006/12/11
  3005. * Added various missing checks when parsing several guild actions.
  3006. * made @hominfo display the six basic stats.
  3007. * Simplified the MD_DETECTOR checks, since now all insects/demons have it
  3008. set, and it's no longer needed to check for the race. [Skotlex]
  3009. * Updated sql files [Playtester]
  3010. * Spirit of Sin and Enchant Deadly Poison now stack.
  3011. * Fixed skill damage card bonuses not working on magic skills.
  3012. * Moved the setting of sd->npc_id = 0 in npc_dequeue to the beginning,
  3013. since this function is called when a script is cancelled
  3014. * Made homunc's speed be recalculated when you respawn it from rest state.
  3015. [Skotlex]
  3016. * Fixed @revive not reviving the good char [Toms]
  3017. 2006/12/10
  3018. * Added more helpful messages when packet_ver=-1.
  3019. * Joined normal and MINICORE's main function.
  3020. * Put malloc_init() first and malloc_final() last as it's needed for Show*
  3021. in display_title(). [FlavioJS]
  3022. 2006/12/09
  3023. * Reversed revision #9415 (messages with server_tick field being sent as
  3024. soon as possible) since it didn't fix the client synchronization issue.
  3025. * clif_parse_TickSend is sent immediately so the client gets accurate
  3026. "pings". [FlavioJS]
  3027. 2006/12/08
  3028. * Now you can request a trade regardless of the state of the target trader.
  3029. [Skotlex]
  3030. * The trade will now fail when you accept it and either character is
  3031. speaking with an npc, vending or has the storage open. [Skotlex]
  3032. * Fixed crash when looters became full. [Skotlex]
  3033. * Autospell delay time is now the skill's full delay. [Skotlex]
  3034. 2006/12/07
  3035. * Fixed ladmin's linux compilation and moved some platform specific
  3036. defines to cbasetypes.h [FlavioJS]
  3037. * Cleaned up implementation of NPC_EMOTION/NPC_EMOTION_ON. Now val0 is the
  3038. emotion, val1 sets the mode, val2 adds to the mode, val3 removes from the
  3039. mode. val4 asks to remove the previous mode change, otherwise it will stack
  3040. with the changes from the previous skill call. [Skotlex]
  3041. * Updated the mob skill reading code so it accepts hexadecimals in the
  3042. 'val' fields. Also, it will optimize the NPC values so that when you set a
  3043. mob's mode to their db mode, it will just remove the previous mode.
  3044. [Skotlex]
  3045. * NPC_EMOTION_ON will now automatically move it's new mode to val2 since it
  3046. should add a mode, and if this mode doesn't has the aggressive bit, it will
  3047. remove it. See this "ancient" hypothesis on how NPC_EMOTION_ON should work
  3048. for the details: [Skotlex]
  3049. http://www.eathena.ws/board/index.php?showtopic=63606
  3050. * Fixed npc commands atcommand & charcommand not working with a custom
  3051. command_symbol [Toms]
  3052. 2006/12/06
  3053. * Changed the order of view-change packets for SC xmas/wedding, should fix
  3054. crashing if you change into xmas suit while in fighting stance. [Skotlex]
  3055. * Renamed the mob mode Cast-Sensor Melee to Cast-Sensor idle since these
  3056. mobs really should only be cast-sensing when they are not after another
  3057. target. [Skotlex]
  3058. * Added a Aegis Mob Type -> eA Mode table conversion to the mob modes doc.
  3059. [Skotlex]
  3060. * Updated sql-files [Playtester]
  3061. * Gave a minimum think time to the dummy mob and to clones. [Skotlex]
  3062. * Moved setting a mob's chase/attack states from the mob_ai to unit_attack
  3063. and unit_walktobl for better state-handling precision. [Skotlex]
  3064. * Cleaned the change-target/cast-sensor code to account for the new mob
  3065. modes. [Skotlex]
  3066. * Updated the doc explaining mob modes. [Skotlex]
  3067. * When GM skill unconditional is set, the arrow state of the skill will be
  3068. calculated, this fixes all skills getting stuck on arrow-type after you
  3069. attack normally. [Skotlex]
  3070. * Alchemist famous potions get their 50% bonus on top of the natural
  3071. bonuses as a 1.5x type of bonus. In other words, now alchemist potions
  3072. will really heal 50% more than when you use the non-famous potion
  3073. version.
  3074. [Skotlex]
  3075. * Messages with server_tick field are sent as soon as possible now.
  3076. This might fix client synchronization issues.
  3077. * Added StringBuf_Vprintf to utils.c and changed the showmsg.c buffer.
  3078. Now it uses a static buffer and a StringBuf when needed (a debug message
  3079. indicating the static buffer needs to be increased is shown). [FlavioJS]
  3080. 2006/12/05
  3081. * The can log value now is "reset" when you die allowing you to
  3082. respawn/quit instantly after death. [Skotlex]
  3083. * Fixed sc data load failing when using charsave_method: 1 [Skotlex]
  3084. * Fixed the interserver link reserve size being 8 times instead of 1/8th
  3085. the default size. Changed it to be 1/4th as well. [Skotlex]
  3086. * Found the position of emblem_id in packet 1b6.
  3087. * Moved START_ACCOUNT_NUM and END_ACCOUNT_NUM from login.h to mmo.h and
  3088. changed clif_guess_PacketVer to use that.
  3089. * Made the script engine big-endian compatible.
  3090. * Commented out the remnants of ladmin packet parsing in map-server.
  3091. * Added a warning when a player has an invalid packet version (shouldn't
  3092. happen). [FlavioJS]
  3093. 2006/12/04
  3094. * Fixed HVAN_INSTRUCT int bonuses. [Skotlex]
  3095. * Renamed mob_db's "adelay" column to ThinkTime and made the mob.c code use
  3096. it instead of MIN_MOBTHINKTIME. The adelay of mobs will also be equal to
  3097. their thinktime unless their thinktime is less than their attack motion.
  3098. [Skotlex]
  3099. * Added a static +100 Hp to ninjas and gunslingers since it's required for
  3100. the best approximated hp growth algorythm. [Skotlex]
  3101. * Knockback will again use the fixpos packet instead of the slide packet
  3102. (slide was introduced with high jump) since Aegis captures say that packet
  3103. is still used for knockbacks. [Skotlex]
  3104. * Repairing items via scripts no longer displays "item has been repaired"
  3105. [Skotlex]
  3106. * Status Recovery again makes mobs unlock their current target. [Skotlex]
  3107. * Moved requesting party/guilds from the char-server from pc_authok to
  3108. pc_reg_received, since map_nick2sd and map_getallsd won't work until the
  3109. characters are authentified. Also removed the guild master setting from
  3110. clif_parse_LoadEndAck to pc_reg_received since guild master setting will
  3111. work there. [Skotlex]
  3112. * Fixed homun hunger timer being started on login even when hom is
  3113. vaporized/dead. [Skotlex]
  3114. * Fixed mvp exp attacker bonus applying incorrectly. [Skotlex]
  3115. * Removed duplicate msg_athena.conf entries 619 and 620 for
  3116. Ninja/Gunslinger.[Skotlex]
  3117. * Fixed the txt->sql converter not escaping character names before saving
  3118. them. [Skotlex]
  3119. * Fixed a pet's level not resetting to their db level when you enable pet
  3120. leveling and later on decide to turn it off. [Skotlex]
  3121. * Fixed restricted equipment not updating your view info after they are
  3122. unequipped. [Skotlex]
  3123. * Removed a bunch of extra text/checks when ignoring characters (/ex) when
  3124. Aegis does none of these checks. /inall now wipes your ignore list (it does
  3125. this on Aegis, too). [Skotlex]
  3126. 2006/12/03
  3127. * If somehow a player logs out and it's saved with 0 hp, on login his state
  3128. will be set to dead as well so he can respawn (otherwise that leads to a
  3129. stuck char) [Skotlex]
  3130. * Fixed even share exp flutuating as described in:
  3131. http://www.eathena.ws/board/index.php?showtopic=126139
  3132. thanks to TheUltraMague for the fix.
  3133. * Made ers double frees report as missing entries on destruction.
  3134. * Only one swap function (in cbasetypes.h) is used. [FlavioJS]
  3135. 2006/12/02
  3136. * Added buildin_checkvending and buildin_checkchatting. [Lance]
  3137. * Enabled atcommand parsing for clients with Korean langtype and version. [Lance]
  3138. * Added missing min/max definitions to cbasetypes.h, needed for the @send change.
  3139. * Replaced @send with the version I use for testing packets.
  3140. Can display the packet length. Supports dynamic packets, quoted strings
  3141. with escaped characters and fixed/variable length, and normal/hex
  3142. byte/word/long data types. The number of fields is not limited, but it
  3143. automatically stops parsing when the packet is full. [FlavioJS]
  3144. 2006/12/01
  3145. * Fixed passive mobs becoming increasingly unlikely to retaliate to attacks
  3146. after they got inflicted by a disabling status change. [Skotlex]
  3147. * Changed the "is_boss" define to check for mode MD_BOSS instead of giving
  3148. mvp exp. [Skotlex]
  3149. * Updated sql files [Playtester]
  3150. * Fixed txt-converter compilation. [Skotlex]
  3151. * STRECOVERYno longer makes a mob unlock it's target like Cure does.
  3152. [Skotlex]
  3153. * Fixed GS_GROUNDDRIFT consuming ammo when it's time expires (so it was
  3154. consuming 2 grenades instead of one). Also added a "explosion effect" when
  3155. their time runs out. [Skotlex]
  3156. * gvg_dungeon mapflag won't set pvp related mapflags anymore, pc_dead will
  3157. force pvp ranking gain/loss on gvg_dungeon maps now. [Skotlex]
  3158. * Now when coming out of hiding land-effects will trigger on the character.
  3159. [Skotlex]
  3160. * Fixed land effects not taking effect inmediately on map-load when the
  3161. invincible timer is disabled. [Skotlex]
  3162. 2006/11/29
  3163. * Probably fixed the Segmentation Faults we've been having.
  3164. Description: A player quits and it's session is freed and set to NULL,
  3165. but the char server already sent a packet with player information
  3166. (registers, storage, ...). If a message is sent in consequence of
  3167. updating that info, a segmentation fault happens because
  3168. session[sd->fd] is already NULL.
  3169. Fix: make shure the session of the target player is valid before
  3170. processing the rest of the char server's message.
  3171. * Some minor cleanups. [FlavioJS]
  3172. * Fixed the new npc parsing code not accounting for windows-style line
  3173. terminators, which as a side effect messed up mapflag parsing if the file
  3174. had windows-style terminators, which coincidentally was the case for the
  3175. nopvp file, which unfortunately meant that all towns became pvp! [Skotlex]
  3176. * HT_PHANTASMIC no longer knocks back even when it misses. [Skotlex]
  3177. * Earned exp by dead homuns will now be lost (same treatment as earned exp
  3178. from players that died) [Skotlex]
  3179. * Now gvg_dungeon mapflag will activate the other mapflags which are
  3180. required: pvp, pvp_nocalcrank and pvp_noparty/pvp_noguild (they are forced
  3181. to off if gvg_dungeon is on and viceversa) [Skotlex]
  3182. * Cleaned the pvp ranking code so that it takes effect even if
  3183. pvp_nocalcrank is active WHEN the map is a gvg_dungeon one. [Skotlex]
  3184. * Now homuncs and their masters are the only ones who can use support
  3185. skills on them. [Skotlex]
  3186. * Some cleaning on the homunc speed calculating code, so that it correctly
  3187. uses the default walk speed if the player has no speed yet. [Skotlex]
  3188. 2006/11/28
  3189. * Fixed a typo which made the wedding_ignore_palette setting not work when
  3190. you log on with them equipped [Skotlex]
  3191. * Applied The Ultra Mage's patch to use strict npc header formatting
  3192. parsing. Updated the relevant stock scripts/mapflags that didn't conform to
  3193. the standard. [Skotlex]
  3194. * Moved the blocking of casting supportive skills on homunculus from
  3195. battle_check_target to status_check_skilluse as bct is not invoked unless
  3196. the skill is offensive (or party/guild only) [Skotlex]
  3197. * Cleaned up status_calc_bl_sub_hom, fixed recasting dex/str/vit/int
  3198. bonuses skills making their atk/def/mdef stack with itself over and over.
  3199. [Skotlex]
  3200. * Updated sql files [Playtester]
  3201. * Changing setting the Guild Master from pc_authok to clif_parse_LoadEndAck
  3202. so that it will not fail to set the gmaster flag when the first person of a
  3203. guild to log on is the guild master. [Skotlex]
  3204. * Modified the way Storm Gust freeze's counter works. Now it checks for the
  3205. caster of the Storm Gust, if it's the same as the previous hit, the counter
  3206. is increased, otherwise, the ID is updated and the counter is changed to 1.
  3207. [Skotlex]
  3208. * Fixed always receiving at least 1 bexp/jexp even when the mob gives no
  3209. exp at all. [Skotlex]
  3210. * Changed write to send as suggested by TheUltraMage in:
  3211. http://www.eathena.ws/board/index.php?showtopic=105417
  3212. Hopefully that will take care of the SIGPIPE problem in Debian and cygwin.
  3213. * Server name in core.c skipping '\\' characters.
  3214. * Memory allocation functions using file,line,func from the invoking functions.
  3215. * Other minor malloc changes. [FlavioJS]
  3216. 2006/11/27
  3217. * Now when a player's "attack once" request fails due to range, the client
  3218. is told to move to the target to attack it. This sort of fixes the problem
  3219. of the client SPAMMING the server with attack requests from afar without
  3220. even approaching the icewall. [Skotlex]
  3221. * Updated the status change field "option" to an int rather than short.
  3222. This fixes the option values for xmas/sightblaster not getting set, which
  3223. could explain why some people crash when equipping weapons while in xmas
  3224. suit. [Skotlex]
  3225. * Fixed the Homunculus hungry timer not starting on login. [Skotlex]
  3226. * Added logging for standard GM commands (/mm /b /kick etc) [KarLaeda]
  3227. * Some cleanups on the trade_additem function. When specifying a qty of 0,
  3228. an ack will be returned to the client so it doesn't gets stuck. [Skotlex]
  3229. * Update sql files [Toms]
  3230. * Corrected the skill animation for Absorb Spirits [Skotlex]
  3231. * Cleaned up a bit the implementation of how Gravity Field blocks the
  3232. caster from moving. [Skotlex]
  3233. * Mob class-changing will fail if the new class is the same as the previous
  3234. one. [Skotlex]
  3235. 2006/11/24
  3236. * Homunc's min matk is now always equal to max matk [Skotlex]
  3237. * Fixed EDP's damage being 100% more than it should (should be 4x, not 5x
  3238. on normal attacks) [Skotlex]
  3239. * Self Destruction will only hit everyone and not just enemies when used by
  3240. mobs (non marine spheres) unless the map is a versus map. [Skotlex]
  3241. * Spider Web's duration is now halved on players (before it was halved in
  3242. pvp maps only) [Skotlex]
  3243. * Likely fixed Homunculus not disappearing the second their intimacy hit 0.
  3244. [Skotlex]
  3245. * Fixed uninitialized variable fd being used in WFIFOHEAD in a few clif
  3246. functions. [Skotlex]
  3247. * Fixed the fact that the TURBO code breaks when you attempt to handle more
  3248. than one connection at a time within the same function. However this broke
  3249. map-server compilation, therefore, don't use TURBO yet! [Skotlex]
  3250. * While at it, cleaned a few packet implementations in the char/login
  3251. servers which were not only ugly, but had some really stupid flaws within.
  3252. [Skotlex]
  3253. 2006/11/23
  3254. * Completed Reddozen's hanging mapwarp code to support party and old syntax. [Lance]
  3255. * Updated sql files [Playtester]
  3256. * Made WFIFOHEAD() check for available buffer size remaining on the
  3257. connection, and when there's not enough space, it will increase it.
  3258. [Skotlex]
  3259. * Added define TURBO to the Makefile. It enables MouseJstr's socket access
  3260. optimization which should speed up the code when accessing the write/read
  3261. buffers repeatedly within a function. [Skotlex]
  3262. * Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used
  3263. incorrectly (prevents TURBO enabled compilations from finishing) [Skotlex]
  3264. 2006/11/22
  3265. * Modified slaves_inherit_speed and slaves_inherit_mode so you get better
  3266. control of when to copy/remove modes/speed. See the conf changelog for
  3267. details. [Skotlex]
  3268. * Reenabled usage of mode MD_CHANGETARGET, so mobs with mode 0x200 will be
  3269. able to switch targets while attacking. [Skotlex]
  3270. * Some cleanups around usage of session[] in the map server, hoping that it
  3271. may fix some not very likely crashes. [Skotlex]
  3272. * Rewrote a few messy @ commands. [Skotlex]
  3273. * Fixed the homunc hungry timer being started when the homun data is
  3274. received from the char-server and the homunc is NOT 'active'. [Skotlex]
  3275. 2006/11/21
  3276. * Fixed the Auto-Berserk giving you back defense when it triggers during
  3277. berserk's HP penalty. [Skotlex]
  3278. * Some small changes in the pet ai to make it more responsive. [Skotlex]
  3279. * Rewrote the pet looting behaviour (taken from the mob's), pets are much
  3280. more smarter now when looting from multiple possible items. [Skotlex]
  3281. * Fixed pets/homunc trying to be deleted twice when they had 0 intimacy and
  3282. their master logs out. [Skotlex]
  3283. * Added support for specifying ammo type = 99 in the skill_require_db file,
  3284. it can be used to specify that any kind of ammo can be used with the skill,
  3285. but you NEED to have ammo equipped. [Skotlex]
  3286. * Corrected GS_DISARM, it is now a normal attack, which, when it connects,
  3287. has a chance to do strip weapon at a 3*lv% rate (modified by dex) [Skotlex]
  3288. * Fixed GS_PIERCINGSHOT, it should ignore defense [Skotlex]
  3289. * Corrected Gatling Fever costing SP when trying to turn it off. Also,
  3290. speed increases bonuses won't take effect while it's active. [Skotlex]
  3291. * Updated the main makefile with a new OPT line. It is commented by default
  3292. since it only works with GCC 4.X, when unset, it will hide away a huge
  3293. amount of warnings that have to do with stuff that is not gonna be
  3294. corrected in eA anyway. [Skotlex]
  3295. * Corrected TripleAction's damage. It should do 150%*3 instead of 100*3%
  3296. damage. [Skotlex]
  3297. * Updated GS_CRACKER's stun chance using Doddler's info as reference.
  3298. [Skotlex]
  3299. * GS_FLING won't reduce armor defense when used on players. [Skotlex]
  3300. * Moved ignoreAll to state.ignoreAll so it saves some space. [Skotlex]
  3301. * Cleaned up clif_parse_Wis to prevent crashes from forged packets
  3302. [Skotlex]
  3303. * Cleaned up the implementation of the ignore list so it's more efficient.
  3304. [Skotlex]
  3305. 2006/11/20
  3306. * Implemented NPC_DEFENDER. Reduces ranged Physical+Misc damage by 80%
  3307. [Skotlex]
  3308. * Improved the battle config reader so it accepts hexadecimal values.
  3309. Updated the monster_ai description to make use of this [Skotlex]
  3310. * Added monster_ai&0x200. When set, mob skill delays are shared. That is,
  3311. if the mob has several lines with the same skill, when the skill is used,
  3312. the delay will be set to all of them, not just the one entry used.
  3313. [Skotlex]
  3314. * Corrected NPC_BARRIER so it grants 100 def/mdef (and not just mdef)
  3315. [Skotlex]
  3316. * Weapon ATK bonuses will now only apply to watk and NOT watk2 on players
  3317. (on players watk2 is refine bonus) [Skotlex]
  3318. * Corrected NPC_KEEPING. it should give 90 def, not 100 [Skotlex]
  3319. * You now can't use other skills while a skill-induced "window" is up
  3320. (teleport, refining, etc). However, be warned that we aren't quite sure how
  3321. the server will clear this out if you decide to hit cancel on the window,
  3322. so skill-blockage is likely to happen (temporary solution: whenever you
  3323. change maps or warp the state is reset server-side). [Skotlex]
  3324. * Fixed itemskill variable being cleared before parsing the skill, this
  3325. causes auto-casted teleport to fail to skip the skill menu. It is now
  3326. cleared on castend_pos/id directly. [Skotlex]
  3327. * Skills with state 'move_enable' will now do a "walk path" check between
  3328. target cell/object and caster instead of a "shoot path" check, this would
  3329. fix skills like snap or charge from letting you "teleport" across pits.
  3330. [Skotlex]
  3331. * Raised the amount of skills that can stack on a single cell before the
  3332. "in-area/out-area" detection code breaks to 24 (from 8) [Skotlex]
  3333. * Fixed a crash in clif_SkillInfoBlock if the passed player already
  3334. disconnected. [Skotlex]
  3335. * Added limiting drop rate to 100% from item-bonuses that depend on the
  3336. mob's level so that "@autoloot 100" will catch them. [Skotlex]
  3337. 2006/11/19
  3338. * Removed security check since source level patch is applied.
  3339. * Reverted select(), created prompt().
  3340. * Hack protection from packet monkeys in clif_parse_NpcSelectMenu. [Lance]
  3341. * Added 'cancel' button parsing in buildin_select menu system. Now scripts will continue
  3342. to load if 'cancel' is pressed and 255 will be returned. [Lance]
  3343. 2006/11/17
  3344. * Corrected use of the party invitation reply packet, thanks to FlavioJS.
  3345. [Skotlex]
  3346. * Fixed potential hack by modifying packet of whispers. [Lance]
  3347. * Fixed potential crash in IRC processing message with '%' using *printf. [Lance]
  3348. * Fixed memory leaking caused by homun_data not freed when removed. [Lance]
  3349. * Fixed client not validating the chat-kick-request packet, which can cause
  3350. crashes. [Skotlex]
  3351. * Updated map_quit to handle removing of players who are not even
  3352. authenticated yet. [Skotlex]
  3353. * New connection requests are now also blocked when there's a player
  3354. already online but hasn't finished loading yet. [Skotlex]
  3355. * Because of these changes, the friendlist notification when people join
  3356. has been moved to LoadEndAck from pc_authok [Skotlex]
  3357. 2006/11/16
  3358. * Updated sql files [Toms]
  3359. * For the sake of avoiding confusion, all script events are named with prefix 'On'
  3360. from now on. [Lance]
  3361. * Edited atcommand and charcommand syntax. Now it doesn't need the useless
  3362. character name and ":". [Lance]
  3363. * Shadow Jump and Kirikage won't "move" you if you use them in GvG grounds.
  3364. Fixed Kirikage so it first warps you, and then you unhide. [Skotlex]
  3365. * Corrected Zeny Nage so the Zeny spent on the attack is always the exact
  3366. same value as the damage you are dealing. Also corrected it so it does half
  3367. damage when used on players. [Skotlex]
  3368. * Overlapping song/dances will now cause dissonance/ugly-dance level 1
  3369. instead of retaining the level of their song/dance. [Skotlex]
  3370. * Fixed wrong check in @petrename, thanks to The Ultra Mage.[Skotlex]
  3371. 2006/11/14
  3372. * Early Christmas present. 3 new "features" which were very easy to code,
  3373. and should help scripters tremendously. Eapp is quite a way from being
  3374. ready, so these can't hurt:
  3375. * Implemented Karma: It turns out that when someone has karma, the client
  3376. believes this character is "evil", and will give you a cursor sword on top
  3377. of them automatically. So now the code will let characters with karma to
  3378. fight each other. This enables duels and other types of restricted pvp
  3379. where only the characters with karma can hit each others, and the rest of
  3380. players with neutral karma cannot be affected. Note that Karma cannot be
  3381. negative, and it can have any value between 0 and 256 (any non-zero value
  3382. makes them appear evil on the client). For now, characters with karma can
  3383. hit each other regardless of karma value, but perhaps it may be better to
  3384. let them to hit each other ONLY if they have the same karma (the whole
  3385. duel implementation COULD be cleaned up using Karma instead!)
  3386. * Added mapflags partylock and guildlock, which lock the state of the
  3387. parties/guilds on said maps:
  3388. partylock: blocks user party requests to create/invite/leave/kick
  3389. guildlock: blocks user guild requests to create/invite/leave/expel/
  3390. make alliance/make opposition/delete alliance/delete opposition/
  3391. break guild
  3392. 2006/11/13
  3393. * Fixed a bug where the char-txt server was incorrectly saving memos,
  3394. causing character data to be lost on restart. [Skotlex]
  3395. * HP Conversion will fail when used at max SP. It should not display any
  3396. errors to the client. [Skotlex]
  3397. * Modified yet again the login procedure to enable character variables to
  3398. work on item scripts. It SHOULD work crashless now. Please report any
  3399. problems it may cause.
  3400. * Volcano/Deluge/Violent Gale are now interchangeable, in the sense that
  3401. as long as one of these is out, casting any of the three will not consume
  3402. gems, and will use the remaining time of the previous one. In turn, Land
  3403. Protector will now always consume gems on every cast. [Skotlex]
  3404. * Small cleanup in the Land protector code which may fix it not blocking
  3405. AoE skills. [Skotlex]
  3406. * Fixed the interpretation of "head_dir". Removed setting head_dir to match
  3407. character direction in the whole code. Now it is only reset to 0 (look
  3408. forward) when unit_setpos is invoked, or when a character begins walking.
  3409. Thanks to FlavioJS for figuring out how the client parses the head
  3410. direction. [Skotlex]
  3411. * Moved status_calc_pc back to pc_authok. [Lance]
  3412. 2006/11/11
  3413. * Fixed debug message in login_sql [KarLaeda]
  3414. 2006/11/10
  3415. * Deluge/Violent Gale/Volcano tiles will now fail to be placed on cells
  3416. that are already ocuppied by anything else. [Skotlex]
  3417. * status_is_immune will now return 0 or the amount of immunity of the
  3418. target. In which cases it returns 100 for WoH and the GTB bonus when they
  3419. have passed the gtb_sc_immunity setting. This enables targetted spells to
  3420. not "fail silently" unless GTB's magic reduction is 100. [Skotlex]
  3421. * Fixed Homunculus being spawned as soon as they arrive from the
  3422. char-server even if the Master has not spawned on the map yet. [Skotlex]
  3423. * AL_TELEPORT now fails when used on top of Land Protector. [Skotlex]
  3424. * Some minor cleanings in pc_setpos, it may (or not) help fix that
  3425. homunc-caused "map_addblock" error message. [Skotlex]
  3426. * Corrected fog of wall, so that the deleted/doubled-duration effects are
  3427. calculated on a cell-by-cell basis. [Skotlex]
  3428. * Updated Land Protector: It will now delete/block effects of ALL ground
  3429. skills EXCEPT: Song/Dances/Traps (encores are still blocked). Land skills
  3430. blocked/deleted by LP also can't be casted on top of an existing LP. The
  3431. code uses the inf2 value of the skill to determine if it is a
  3432. song/dance/trap. [Skotlex]
  3433. * Ganbantein, mimicking LP, will now also remove ensembles. [Skotlex]
  3434. * Fog of Wall will fail when casted on top of a Volcano/Violent Gale
  3435. [Skotlex]
  3436. * Applied FlavioJS's fix to the npc whisper system. [Skotlex]
  3437. 2006/11/09
  3438. * Fixed status-change loading not working. [Skotlex]
  3439. * Fixed permanent mob-spawn script-events not working. [Skotlex]
  3440. * AL_CURE won't confuse undead players. [Skotlex]
  3441. * Corrected the Fog of Wall check so that it lasts 2x when it is placed on
  3442. TOP of a suiton/deluge, not when the caster is on top of them. [Skotlex]
  3443. * Updated status_check_skilluse so that when the caster has a disabling
  3444. status change (stun/petrify/etc) it will block the skill in all cases
  3445. EXCEPT on cast-end when the skill is ground-targetted. [Skotlex]
  3446. * Fixed Health Conversion skill formula bug. [Lupus]
  3447. 2006/11/08
  3448. * Fixed Desperado's hit-rate, now it behaves as it should. [Skotlex]
  3449. * The GVG map-packet will now also be sent for guild dungeon maps.
  3450. [Skotlex]
  3451. * Added clif_gospel_info which displays info about the buffs you are
  3452. receiving. Thanks to Rayce for the packet information. [Skotlex]
  3453. * Fixed Spider Web not ending when hit by a fireelemental attack. [Skotlex]
  3454. * Cast-time reductions from status changes will not be executed until right
  3455. before casting, to prevent status changes from ending when attempting to
  3456. cast and the attempt fails (invalid cells, not enough sp, wrong target,
  3457. etc, etc) [Skotlex]
  3458. * Added check to prevent Wand of Hermod from seeking for a partner to
  3459. encore, since the partner is supposed to be the warp. [Skotlex]
  3460. * Corrected the mob spawn reading code so that the event-name can be up to
  3461. 50 characters long (which is the actual event length) and so that it can
  3462. read spaces within them, it will also strip the leading/trailing quotes if
  3463. you use them so that the event is actually found on mob-death (so you can
  3464. do stuff like "My NPC::OnDead" as a valid event). [Skotlex]
  3465. * Moved the homunc inherit speed from the master from status_calc_pc to
  3466. LoadEndAck, since the hom's speed matches that of the master each time the
  3467. master changes maps. [Skotlex]
  3468. 2006/11/07
  3469. * Applied FlavioJs's patch which enables colored console output for Windows
  3470. systems. It also includes a config setting called
  3471. "stdout_with_ansisequence" with which you can turn off the color codes (in
  3472. case you are logging all output) [Skotlex]
  3473. * Added error reporting when the max number of ground unit cells has been
  3474. reached (this may be the reason why sometimes it fails to recognize when
  3475. you step out of a song/dance/encore) [Skotlex]
  3476. * Added passing the Endure effect to other devoted people. Note that the
  3477. "hit count" is individual for each character, and only when it ends on the
  3478. Crusader himself will that force it to end on everyone else. It also will
  3479. not transfer on gvg grounds, but it does transfer in pvp. [Skotlex]
  3480. * Fixed Reflect-Shield triggering Auto-Guard instead on devoted chars.
  3481. [Skotlex]
  3482. * Added a check to prevent casting ground skills on a target and vice-versa
  3483. when said skill use packets are received. It really shouldn't be
  3484. exploitable, but doing that certainly makes the server print a lot of
  3485. "unknown skill used!" messages. [Skotlex]
  3486. * Fixed map_foreachiddb and map_foreachpc so they don't encapsulate the
  3487. variable arguments into a double va_arg list. Thanks to the Ultra Mage for
  3488. the tip. [Skotlex]
  3489. * Cleaned up the clif_hate/mob_info functions with the correct fields/usage
  3490. as explained by Rayce. [Skotlex]
  3491. * Implemented clif_feel_hate_reset packet to properly display the Angel of
  3492. the Sun/Moon/Stars, thanks again to Rayce for the relevant information.
  3493. [Skotlex]
  3494. * LP will again block all land-stuff from being placed down on top of it
  3495. for the exception of Song/Dance/Encores. [Skotlex]
  3496. 2006/11/06
  3497. * Reapplied 'fix equipment scripts which are based on character variables not
  3498. working.' [Lance]
  3499. * Multiple Gunslinger skill corrections, refer to
  3500. http://ro.doddlercon.com/guides/gunslinger.html for information source:
  3501. [Skotlex]
  3502. - Corrected Ground Drift. Splash range of 3x3, stackable and placeable
  3503. underneath others, cast time is 2 secs. It's considered ranged, and it's
  3504. bonus damage increase is defense ignoring, always neutral.
  3505. - Corrected Bull's Eye implementation, it should deal normal damage against
  3506. non brute/demi-human targets.
  3507. - GS_DUST is now considered a short-range attack.
  3508. - Implemented Desperado's hit rate based on distance to caster as it's
  3509. believed to behave.
  3510. - GS_TRACKING's range is no longer affected by Snake Eye.
  3511. - GS_FLING's defense reduction is now 5*lv%
  3512. * Suiton's Speed/Agi penalty will affect everyone when used in versus maps.
  3513. * Corrected Kaupe so it doesn't ends on the first part of Soul Destroyer.
  3514. [Skotlex]
  3515. * Applied some cleaning to the way Tatami Gaeshi knocks back. [Skotlex]
  3516. * Cleaned up the way mobskill_use checks for the correct event. It should
  3517. fix unlimited mob-skill-casting issues. [Skotlex]
  3518. * Removed the return code entry when logging GM reload-GM requests
  3519. (login-sql),it'll just be stored as zero. [Skotlex]
  3520. * Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP.
  3521. [Skotlex]
  3522. * Applied the correction on maprespawnguildid so that it parses ALL players
  3523. and not just those on a map. [Skotlex]
  3524. * TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched
  3525. ones) and Preserve will be unable to block this. [Skotlex]
  3526. * Soul Linkers are now immune to SA_DISPEL [Skotlex]
  3527. * You can now place everything (except magic skills) on top of LPs.
  3528. [Skotlex]
  3529. * Corrected Ganbantein to not touch song/dance/ensembles. [Skotlex]
  3530. * Status_calc_pc will refuse to execute if the player is still tagged as a
  3531. "new connection" and the invocation is not meant to be the first one.
  3532. [Skotlex]
  3533. * Swapped the order of checks in status_isimmune so that Wand of Hermod
  3534. skill blocking takes precedence over GTB's [Skotlex]
  3535. * Client packets will all be ignored while a player is not on a map until
  3536. the LoadEndAck packet is received. [Skotlex]
  3537. * Reverted changes, moved status_calc_pc(sd,1) back to pc_authok
  3538. since it causes problems. [Lance]
  3539. * Temperory fixed stability issue caused by initial status_calc_pc
  3540. being placed AFTER another status_calc_pc. [Lance]
  3541. 2006/11/05
  3542. * Updated sql files [Toms]
  3543. * Updated perl files acording to rev 9135 [Toms]
  3544. 2006/11/04
  3545. * Readded duel code in map_quit. Why it has been removed!? [LuzZza]
  3546. * Converted itemdb tables to use smallint. Credits to ALZ. [Lance]
  3547. 2006/11/01
  3548. * Reverted LK_Berserk HP requirement, as everything, including kRO X.2 and
  3549. pRO X.3, points that way. [Vicious]
  3550. 2006/10/31
  3551. * Fixed song/dance/encore cells not being placed down when casted on top of
  3552. a land Protector. [Skotlex]
  3553. * Update homunc's speed when master's speed changes, should avoid homunc's
  3554. speed = 0 on login (homunc's stats are calculated before master's stats) [Toms]
  3555. * When Kaizel (or super novice rebirth skill) triggers, you get debuffed
  3556. now. [Skotlex]
  3557. * Modified the player_cloak_check_type and monster_cloak_check_type
  3558. settings. 1 makes it check for walls, 2 makes cloaking NOT end on normal
  3559. attacks, and 4 makes cloaking NOT end when using skills. The default
  3560. setting for players is still 1, but for mobs the default has been changed
  3561. to 4. [Skotlex]
  3562. * Non-players can now use all skills while hidden. [Skotlex]
  3563. * Added a check to prevent adding negative damage to the total accumulated
  3564. damage in mob_damage. It could fix some exploits, even though mob_damage
  3565. should never be invoked with negative damage anyway. [Skotlex]
  3566. * Implemented the property where the first attacker get's double exp-share
  3567. than the others. Due to the way exp calculation is done, this bonus will
  3568. not apply when you use exp_calc_type 1 (damage/max_hp) instead of the
  3569. default (damage/total-damage). For now this bonus is done after calculating
  3570. who is the MVP character instead of before. [Skotlex]
  3571. 2006/10/30
  3572. * Fixed a little bug in event enqueue code [Toms]
  3573. * Updated the code so mobs can use ChainAction as a targetted skill.
  3574. [Skotlex]
  3575. * Added GroundDrift effects for Wind (Stun) and Fire (knockback). The
  3576. knockback value is unknown, so 3 is used for now. [Skotlex]
  3577. * Cleaned up some more the steal code, now you can't steal the last slot
  3578. regardless of skill level used. [Skotlex]
  3579. * Added consideration of Chain Action when cloning GunSlingers. [Skotlex]
  3580. * Modified battle_calc_return_damage to take the skill id as well, now
  3581. magic damage return will not work on skills tagged as ground or self
  3582. targetted. [Skotlex]
  3583. * Fixed Gank not working at all with the default max steal tries setting.
  3584. [Skotlex]
  3585. * Soul Drain won't work with skills tagged as self-targetted. [Skotlex]
  3586. * Improved the Suiton code so that the walk/agi penalty only applies to
  3587. enemies of whoever casted the skill. [Skotlex]
  3588. * Moved the initial status_calc_pc call to when you finish loading the map,
  3589. should fix equipment scripts which are based on character variables not
  3590. working. [Skotlex]
  3591. * Fixed getcharid according to samples and docs. [Lupus]
  3592. Thanks to joshuaali for pointing it out. eAPP has no such bug
  3593. 2006/10/27
  3594. * Fixed mob-skill event "skillused" not triggering at all. [Skotlex]
  3595. * Summoned mobs will only be removed from a map if their master is also
  3596. removed (dynamic mobs) [Skotlex]
  3597. 2006/10/26
  3598. * Updated sql files [Playtester]
  3599. * Experimental tweak to npc_parse_function - Overwrite existing functions. [Lance]
  3600. 2006/10/25
  3601. * Cleaned up some more the event dequeue code, it will no longer clear out
  3602. the npc_id if there's no events waiting to be executed (why does it clears
  3603. the npc_id anyway?) [Skotlex]
  3604. * Because of possible conflicts with this change and the on-login script,
  3605. now the on-login script is executed when the player has finished loading
  3606. into their start-up map rather than as soon as receiving the registry
  3607. variables from the char-server. [Skotlex]
  3608. * Some cleaning of the pc_eventtimer and pc enqueue code, it should fix
  3609. some memory leaks when the event counter does not matches with the actual
  3610. number of queued timers during logout. [Skotlex]
  3611. * Fixed "skill_sp_override_grffile: yes" causing crashes when parsing
  3612. Homuncuus/Guild skills. [Skotlex]
  3613. * Made the exp bonus settings be adjustable: [Skotlex]
  3614. - exp_bonus_attacker: Indicates how much additional exp a mob gives per
  3615. additional attacker (eg: 10 -> +10%*attacker)
  3616. - exp_bonus_max_attacker: Indicates at which number of attackers the bonus
  3617. is capped (eg: 5 -> 5 attackers, so a mob yield the same exp whether 5 or
  3618. 10 people attack it)
  3619. - Changed the way the party_even_share_bonus setting works. It now uses a
  3620. simple linear bonus increase (eg: 10 -> +10%*party member)
  3621. - The defaults are as explained by Tharis: +25%/attacker, capped at 12
  3622. attackers, no party bonus. The first two can be found in exp.conf, the last
  3623. one was left in party.conf
  3624. * MG_STONECURSE and NPC_PETRIFYATTACK now use time1 to specify the
  3625. "petrifying time". This value has been set to 5 seconds. [Skotlex]
  3626. * Now when SC_STONE is triggered from status-change cards, it's petrifying
  3627. duration will be passed as 0, causing the minimum (1 sec) to be used.
  3628. [Skotlex]
  3629. * Got rid of clones in src: old Novice Grounds map -> new_zone0? [Lupus]
  3630. 2006/10/24
  3631. * Removed again your mdef reducing "petrifying" time as apparently it can't
  3632. be reduced by mdef. [Skotlex]
  3633. * Cleaned up the "show_steal_in_party" setting so it only takes effect when
  3634. the item was successfully stolen (there was no point in telling you the
  3635. item couldn't be stolen due to being overweight) [Skotlex]
  3636. * Cleaned up the pc_steal_item implementation (again). It now uses a more
  3637. random, simple approach in each steal attempt. [Skotlex]
  3638. * Changed the way the skill_steal_max_tries work. Now it actually MEANS the
  3639. max number of steal tries, use 0 to disable (unlimited tries). [Skotlex]
  3640. 2006/10/23
  3641. * Added a bunch of important indexes when dealing with the log tables.
  3642. Added upgrade_svn9050.sql which adds these indexes as well. [Skotlex]
  3643. * Expanded the family check to work as it should, exp-share-range is
  3644. respected, and the child is not considered for it (thanks to TheUltraMage
  3645. for the investigation) [Skotlex]
  3646. * Double Casting will no longer fail when used. [Skotlex]
  3647. * Modified SC_STONE so that the duration of the "petrifying" time is 5 secs
  3648. reduced by your natural resistance to petrify (which is mdef%) [Skotlex]
  3649. * Modified the meaning of the third column in the skill_require_db. Instead
  3650. of MaxHP, this is now called MaxHPTrigger. This column (which was
  3651. previously unused by all skills) signals the limit HP% that you can have to
  3652. be able to use the skill. For example, setting it to 20 means the skill is
  3653. unusable if you have more than 20% life (note that this is merely a
  3654. threshold setting, it won't actually substract HP when used!) [Skotlex]
  3655. * Adjusted LK_BERSERK so you can only use it when you have 20% or less
  3656. life. [Skotlex]
  3657. * Removed NJ_TOBIDOUGU adding damage to W_HUUMA weapons which somehow got
  3658. readded. [Skotlex]
  3659. * When nonplayers use Cloaking, it will be forced to level 10 since mobs
  3660. shouldn't have movement/attack restrictions while walking cloaked.
  3661. [Skotlex]
  3662. 2006/10/20
  3663. * Made HAMI_CASTLE use clif_slide rather than clif_fixpos. This should
  3664. fix clientside problems when castling between two positions the (client)
  3665. path finding can't find a walkable bath between anymore. [blackhole89]
  3666. * Fixed the Homunc not spawning next to you after receiving it's data from
  3667. the char-server. [Skotlex]
  3668. * Fixed Charge Atk being able to go through chasm/pits. [Skotlex]
  3669. * Moved the homunculus DB information from the player structure to the
  3670. homun structure. Modified the homunculus creation packets to hold this
  3671. information during creation, also, all initial values are handled by the
  3672. map-server, the char server only assigns it a homun ID. [Skotlex]
  3673. WARNING: This is yet untested! It's very possible something could had
  3674. broken after changing the format/size of the homunc creation packets.
  3675. * Added config setting "summon_flora_setting", which it you can decide now
  3676. two things: a. Whether or not players can harm your floras outside versus
  3677. grounds, and b. Whether or not you can summon out and mix different types
  3678. of plants at the same time. [Skotlex]
  3679. * Likely fixed pc_steal_item always failing to steal (it was attempting to
  3680. steal random item IDs...) [Skotlex]
  3681. * Cleaned up a bit the mob on-death event so that when the killer is a
  3682. homunculus, it's master will be taken. Also, the variable killerrid will be
  3683. set before running the script to specify who delivered the final blow. If
  3684. the killerrid matches with the script attached player, you can be sure your
  3685. player did the final blow to the mob, otherwise, the attached player is who
  3686. did the most damage to the mob. [Skotlex]
  3687. 2006/10/19
  3688. * Cleaned up the log.c file. [Skotlex]
  3689. * Fixed log_chat not recording anything if the server is compiled in SQL
  3690. mode and sql_logs is turned off (it should then record to a plain txt file)
  3691. [Skotlex]
  3692. * Fixed SG_FRIEND, it should be triggering when Monks do Combo Finish (not
  3693. triple blows), and the trigger rate increase should be based on your known
  3694. level of SG_FRIEND, not TK_COUNTER. [Skotlex]
  3695. * Phantasmic arrow now knockbacks even if it misses. [Skotlex]
  3696. * Adjusted the way Monk combo times work. The combo time is now always
  3697. 300ms (adjusted by combo_delay_rate) which takes effect inmediately AFTER
  3698. your current skill's canact-delay (which is why the particular skill delays
  3699. were moved to skillcast_db) [Skotlex]
  3700. * Modified skill_delayfix so it performs the can-act reduction from agi/dex
  3701. for combos there. [Skotlex]
  3702. * Modified pc_steal_item so that it behaves more closely to the way it does
  3703. on Aegis. [Skotlex]
  3704. 2006/10/18
  3705. * Added a overflow check when calculating party exp share. [Skotlex]
  3706. 2006/10/16
  3707. * Adjusted UTSUSEMI/BUNSINJYUTSU so that they block range/melee weapon
  3708. attacks and only melee misc attacks. This isn't 100% correct, but it's a
  3709. better approximation to the way these skills behave. [Skotlex]
  3710. * Emergency call &16 (disable skill from nowarpto maps) will now NOT block
  3711. Emergency Call if that map is also a gvg-castle map. Makes it safe to turn
  3712. on this option to prevent usage from special maps (like Lhz3) without
  3713. crippling the skill during WoE. [Skotlex]
  3714. * Applied most of Mpeg's work on Ninja Skills. For information see:
  3715. http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt [Skotlex]
  3716. * When reinvoking a combo-time, the previous combo time will be terminated.
  3717. This could fix the ongoing difficulties pulling off Monk combos. [Skotlex]
  3718. * Fixed Esma-state not ending after casting it. [Skotlex]
  3719. * Fixed @hominfo displaying intimacy on a 1/10k scale. [Skotlex]
  3720. 2006/10/14
  3721. * Homun info window to show crit value. As default, homun does NOT crit,
  3722. as monsters do not crit. This is purely for display purpose for players
  3723. to identify their homon's luk value. [Vicious]
  3724. 2006/10/13
  3725. * Base attack for non players is now calculated as str + [str/10]^2 (it
  3726. does not has +dex/5+luk/5 which players do have) [Skotlex]
  3727. * Fixed the char-sql server trying to read the gms off a "gm_db" config
  3728. setting stead of "login_db" [Skotlex]
  3729. * Corrected Throw Arrow/Musical Strike's damage formula [Skotlex]
  3730. * Altered Trick Dead. It doesn't prevents skills from being casted on you
  3731. now, but damage-based skills will do no damage. [Skotlex]
  3732. * Made the battle_config.attack_attr_none apply to pets when using the
  3733. "fixed damage" pet skill scripts. [Skotlex]
  3734. 2006/10/12
  3735. * made @killmonster make the mobs drop items again. [Skotlex]
  3736. * Added a temporary message when Angel of the Sun, Moon and Stars trigger
  3737. so you know it triggered. [Skotlex]
  3738. * When slaves_inherit_speed is set (which is also the default), homun will
  3739. have the same speed of their master when spawned. [Skotlex]
  3740. * When using Hatred and you already have a hate target, your current hate
  3741. target is displayed now. [Skotlex]
  3742. 2006/10/11
  3743. * Cleaned up the char-server code when the last point of a player is not
  3744. found. First it'll check if there's any mapserver online, and then, if
  3745. there is, it'll look for the major cities. If this fails, then the player
  3746. will be told server is closed instead of trying to send him to a "random
  3747. map". Will fix the char-server printing the misleading message "map
  3748. server not found, sending to major city" when in reality there just
  3749. aren't any map servers connected. [Skotlex]
  3750. * Corrected the mob damagelog structure so that you can't exploit it by
  3751. switching characters. [Skotlex]
  3752. 2006/10/09
  3753. * Fixed crash when char-server sends to a "random" map-server online on
  3754. connect. Thanks to TheUltraMage for pointing it out. [Skotlex]
  3755. * Should have fixed being petrified not reducing your defense and
  3756. increaseing your mdef. [Skotlex]
  3757. * Fixed SC_NOCHAT printing the "skills are now available" message twice on
  3758. natural expiration. [Skotlex]
  3759. 2006/10/08
  3760. * Updated sql files [Playtester]
  3761. 2006/10/06
  3762. * Updated Land Protector to block absolutely every land-based skills with
  3763. the exception of Encores/Dances. [Skotlex]
  3764. * Disabling status abnormalities will now reset a mob's target. [Skotlex]
  3765. * Mob morphing also resets their target now. [Skotlex]
  3766. * Monk combos no longer can ignore skill delay (delay skill for all their
  3767. combo-related skills is ASPD) [Skotlex]
  3768. * Now you can trade while in a chatroom. [Skotlex]
  3769. * Fixed homun-txt reading when the file has DOS line-type delimiters (\r\n)
  3770. [Skotlex]
  3771. 2006/10/05
  3772. * skill_blown will now trigger on-touch npcs on the landing tile. [Skotlex]
  3773. * Max trade distance has been reduced from 5 to 2. [Skotlex]
  3774. * Undisguising will now resend the cart-contents. [Skotlex]
  3775. * Added function npc_unload_duplicates(), it unloads all npcs that are a
  3776. duplicate of the passed one. For use with @unloadnpc to prevent crashes
  3777. when you unload the npc that has duplicates. [Skotlex]
  3778. 2006/10/04
  3779. * Bowling bash now always hits twice regardless of situation. [Skotlex]
  3780. * Added an underflow check to prevent sending to the client negative mdef2
  3781. value (for Frenzy'ed characters) [Skotlex]
  3782. * Modified pc_jobchange so that it automatically removes
  3783. peco/falcon/cart/homun if the new job you are changing to does not possess
  3784. the required skill for them. [Skotlex]
  3785. 2006/10/03
  3786. * Fixed a possible crash with @reloadmobdb due to pet loot timers.
  3787. [Skotlex]
  3788. * Fixed a possible crash and a memory leak on the login-SQL server when
  3789. parsing unban requests. [Skotlex]
  3790. * Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of
  3791. skills is reduced now (when enabled) by AGI instead of DEX, which makes a
  3792. lot more sense than DEX. [Skotlex]
  3793. 2006/10/02
  3794. * Modified item-granded status resistance reduction to behave as explained
  3795. by Vicious (Ragnarok Monthly magazine) [Skotlex]
  3796. * Added the opt3 values to Eske [Skotlex]
  3797. * Fixed the txt->sql converter only saving the very first character
  3798. permanent variable. [Skotlex]
  3799. * Fixed the txt->sql converter saving account-wide variables as
  3800. character-wide ones. [Skotlex]
  3801. * Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn
  3802. on/off both noexppenalty and nozenypenalty now. [Skotlex]
  3803. 2006/10/01
  3804. * Removed the speed adjustment per level of Increase/Decrease Agility
  3805. [Skotlex]
  3806. * Fixed humunculi skill exploit, thanks to mr.rkit [Lupus]
  3807. 2006/09/30
  3808. * Rewrote the txt->sql converter. It now links directly to the char server
  3809. files so that it should get auto-updated with any code changes in the
  3810. later. [Skotlex]
  3811. * The converter will now also convert: account-wide variables, parties,
  3812. guilds, guild storage and guild castles. At this point the only two things
  3813. not converted are login-server-wide account variables (##, they belong to
  3814. the login converter) and homunculus (the SQL save function is messy and
  3815. doesn't lends itself to be integrated with the converter the way all the
  3816. other functions are). [Skotlex]
  3817. * misceffect2 will no longer cause the effect on top of the source object
  3818. when it is the fake npc. [Skotlex]
  3819. * Added check so that Frost Nova doesn't hides hitting animation on
  3820. targets. [Skotlex]
  3821. * Added the missing brackets around the trade logs condition check, thanks
  3822. to Coltaro. [Skotlex]
  3823. 2006/09/29
  3824. * Spurt state will now trigger on Soul Linkers as well. [Skotlex]
  3825. * Added a check un unit_run when unit_walktoxy fails. Should fix running
  3826. getting you stuck sometimes when running on diagonals near obstacles.
  3827. [Skotlex]
  3828. 2006/09/28
  3829. * Merged the necessary changes to make the script engine support negative
  3830. constants (db/const.txt). Thanks to Rayce (from jA) for the code. [Skotlex]
  3831. * Cleaned up the skill.c code to take into account when skill_unitsetting
  3832. returns null (skill failed), fixes a possible crash with Wand of Hermode
  3833. [Skotlex]
  3834. 2006/09/27
  3835. * Cleaned up status_get_party/guild_id, it should also fix a possible crash
  3836. when invoking such a functio on a masterless pet. [Skotlex]
  3837. * Sharp-Shooting will now display a skill animation. [Skotlex]
  3838. * The no_spawn_on_player setting will now also work for static mobs, but
  3839. only if the setting is set to 100 or higher. [Skotlex]
  3840. 2006/09/26
  3841. * Yet again messed with the packet sent during a splash attack, but this
  3842. time taking into account the packets that eA was using some many revisions
  3843. ago. Tests are needed to see if Magnum Break/Grimtooth don't spam the skill
  3844. animation anymore, and to see if GrandCross didn't break it's animation as
  3845. well. [Skotlex]
  3846. * Added function skill_dance_switch which handles converting overlapping
  3847. song/dances to dissonance/ugly dance. It should make the overlapping area
  3848. now behave completely like the mentioned song/dances (taking into account
  3849. interval and target type changes). [Skotlex]
  3850. * Updated battle_check_target so that non-offensive skills cannot be used
  3851. on a homun except for the homun and it's master. [Skotlex]
  3852. * Steal zeny won't work on treasure chests now. [Skotlex]
  3853. 2006/09/25
  3854. * Added an ugly check so that Heal will display 0 when healing a berserked
  3855. character (and it will again display full heal amount when healing a player
  3856. who's at full life) [Skotlex]
  3857. * Disabled again client-self-muting since it's causing too much trouble.
  3858. [Skotlex]
  3859. * Merged FlavioJS's script patch which should fix stuff like "mes ();"
  3860. causing crashes. [Skotlex]
  3861. * Item group reading will now complain when a line doesn't has enough
  3862. fields. [Skotlex]
  3863. * Fixed #baselevelup adding instead of substracting status points when used
  3864. with negative levels. Also made it reset your stats if there wasn't enough
  3865. to substract from. [Skotlex]
  3866. * Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the
  3867. direction. This had the side effect of fixing the direction missing from
  3868. the mob spawn packet, which explains why all npcs face north when you are
  3869. within sight while doing a @reloadscript. [Skotlex]
  3870. * Changed the order of packets in TK_HIGHJUMP, may fix the reports of
  3871. getting stuck when jumping into a warp. [Skotlex]
  3872. * Changed a bit the code of marionette control, where a redefined local
  3873. variable may be the cause of mob-targetted Marionette Control stacking
  3874. stats up. [Skotlex]
  3875. 2006/09/24
  3876. * When the code auto-guesses that a skill should require ammo, it will
  3877. accept any type of ammo for using it instead of only arrows. Fixes Magnum
  3878. Break usage on Gunslingers. [Skotlex]
  3879. 2006/09/22
  3880. * Probably fixed a signed/unsigned mismatch warning on the new socket code.
  3881. [Skotlex]
  3882. * Fixed the "map server claims to have char online, but this other map
  3883. server also has it tagged as online" message triggering in some cases where
  3884. it shouldn't. [Skotlex]
  3885. * Fixed some maps in db/mapindex.txt being under the wrong id and added comments
  3886. so this will not happen again. [Zephiris]
  3887. --- ATTENTION! ---
  3888. People running TXT servers will have to tell their players to redo their /memo
  3889. points since the map ids of the old file were wrong.
  3890. 2006/09/21
  3891. * Fixed a bug on "select" when skipping empty entries when the selected
  3892. entry is the last. [Skotlex]
  3893. * Improved a bit RFIFOFLUSH as suggested by Harbin. [Skotlex]
  3894. 2006/09/20
  3895. * A mob's HP is set temporarily to 0 before invoking it's on-death script,
  3896. prevents said scripts being able to "rekill" the mob indefinitely (if stuff
  3897. like killmonster is used within) [Skotlex]
  3898. * Some small cleanups in chat.c [Skotlex]
  3899. * Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting
  3900. was disabled. [Skotlex]
  3901. * Enabled Star Gladiators and Soul Linkers to do /doridori [Skotlex]
  3902. 2006/09/19
  3903. * Fixed nocommand mapflag causing the "you can't use commands on this map"
  3904. message to trigger one very single chat, instead of only for actual @/#
  3905. command invocation. [Skotlex]
  3906. * Added support for skipping empty string menu entries for the select()
  3907. command (just as `menu` has it already) [Skotlex]
  3908. * Fixed pc_set_hate_mob letting you place mobs on any of the three
  3909. positions regardless of size [Skotlex]
  3910. * The double continuation error will now display both scripts that
  3911. triggered it. [Skotlex]
  3912. * Loading the storage from the char-server will fail if player is already
  3913. tagged in final save state. [Skotlex]
  3914. * Removed setting ban_spoof_namer, sending invalid global-talk packets will
  3915. now just kick the player out of the server. [Skotlex]
  3916. * Added echoing messages back to self when using @/# commands on whispers
  3917. and party/guild messages, to prevent the client from muting yourself.
  3918. [Skotlex]
  3919. * Fixed some gcc4 warnings [Toms]
  3920. 2006/09/18
  3921. * Fixed Spider Web fire damage bonus. [Skotlex]
  3922. * Made Global chat always reply back to you even on @/# commands, this
  3923. prevents the client from muting yourself due to "hack". However, this same
  3924. fix isn't easily applicable to @ commands invoked from whispers or
  3925. party/guild messages, those are still pending. [Skotlex]
  3926. * Merged Meruru's update to socket.c, which includes a rewritten parse
  3927. function, which should hopefully be more efficient than the previous code.
  3928. [Skotlex]
  3929. * The new code includes support for two config settings
  3930. (packet_athena.txt): frame_size, which can be used to alter the logic
  3931. packet-size allowed by the code, and mode_neg, which when set to yes, sets
  3932. TCP_NODELAY on all connections (defaults to yes). [Skotlex]
  3933. * High-Jump is usable everywhere now, except that on maps where it
  3934. previously failed, now will just make you jump in place. [Skotlex]
  3935. * Fixed TK_RUN as per packets provided by AuronX. [Skotlex]
  3936. * Moved the equipment/card resistances to status ailments outside of
  3937. status_get_sc_def, so that they are applied only to rate, not duration.
  3938. [Skotlex]
  3939. * Modified the Asura code (again), hopefully movement sprite issues are
  3940. fixed now [Skotlex]
  3941. * @reloadscript scripts will no longer eliminate mobs with no respawn data.
  3942. But watch out for possible bugs (I think someone mentioned 1 extra
  3943. treasure box will spawn when you use it? This needs testing!) [Skotlex]
  3944. * Made speed_add_rate a linearly stacking increase. [Skotlex]
  3945. * Corrected a possible overflow when using show_mob_info to display the
  3946. mob's up as a percent. [Skotlex]
  3947. * Corrected the documentation for checkoption/checkoption1/checkoption2
  3948. [Skotlex]
  3949. * Reenabled client requesting to self mute, as the whole knockback packet
  3950. issues of the past which were causing players to mute themselves when being
  3951. knockback is no longer there. [Skotlex]
  3952. 2006/09/17
  3953. * Fixed NPC_INVISIBLE's cloak ending after attacking once. [Skotlex]
  3954. * Fixed SG_FUSION being castable without Soul Link state. [Skotlex]
  3955. * Moved the item-use restriction SC checks from clif.c to pc_use_item,
  3956. fixed Gravitation blocking potion usage on it's area of effect. [Skotlex]
  3957. * Sphere Marines and Summoned Flora are now immune to class-changing.
  3958. [Skotlex]
  3959. 2006/09/16
  3960. * Added monster_ai&256. When set, a monster will pick a random starting
  3961. position to begin checking versus it's skills, otherwise, it will always
  3962. begin checking from the beginning. [Skotlex]
  3963. * Fixed the status change duration reduction equation was was totally
  3964. wrong, thanks to k3dt [Skotlex]
  3965. 2006/09/15
  3966. * Now mobs won't do a distance check to lose their target on every ai
  3967. iteration, but only when they finish walking (unless you set monster_ai&1)
  3968. [Skotlex]
  3969. * The chase distance before a mob gives up following a player has been
  3970. increased from view-size (range2) to min-chase (range3). [Skotlex]
  3971. * Reverted the Summon Flora change where all plants were being summoned in
  3972. one go. [Skotlex]
  3973. * Moved the weapon repair effect to where it belongs (after successfully
  3974. repairing an item) [Skotlex]
  3975. * Added config setting "friend_auto_add" (battle/player.conf), if set, when
  3976. you accept someone as your friend, both characters will show up on each
  3977. other's friend list. [Skotlex]
  3978. 2006/09/14
  3979. * Changed Extremity Fist's code to make you actually walk past your target,
  3980. which displays a much more correct "animation" for the skill. Thanks to
  3981. HiddenDragon for the information and code. [Skotlex]
  3982. * Updated the item_db search functions so that when returning the
  3983. dummy-item, it first updates the nameid to match the requested one, this
  3984. prevents pc_additem later on giving you an item with ID 500 instead of the
  3985. ID requested. [Skotlex]
  3986. * Added a clif_skill_nodamage packet when using Repair Weapon, just to see
  3987. what happens. [Skotlex]
  3988. * Likely fixed "half" of the alliance being saved, which ends up in guilds
  3989. that can attack another, but not viceversa. [Skotlex]
  3990. * Added deleting of saved Status changes on character delete for the
  3991. Char-TXT server. [Skotlex]
  3992. * Fixed the can-act delay never being checked when requesting to use
  3993. Homunculus Skills. [Skotlex]
  3994. * Fixed warmth skills draining SP of the target, not the caster. [Skotlex]
  3995. * When TK_DODGE triggers, it will no longer delay your attack or movement.
  3996. [Skotlex]
  3997. * Estimation /Sense/ whatever will no longer hide the vit bonus to mdef2,
  3998. as reported by Playtester. [Skotlex]
  3999. * Updated Summon Flora to summon the max number of possible plants on one
  4000. cast. It will consume as many bottles as monsters summoned. Also cleaned up
  4001. the function to be usable by non players. [Skotlex]
  4002. * Shadow Jump no longer goes over walls. [Skotlex]
  4003. * battle_calc_gvg_damage will be invoked in gvg maps regardless of woe
  4004. time. [Skotlex]
  4005. * NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis.
  4006. [Skotlex]
  4007. * md->class_ will be changed on mob-class-change to fix all class-change
  4008. related bugs. On respawn, the spawn data will be used to revert to the
  4009. original class. [Skotlex]
  4010. * Improved the pet skillbonus timer for "eternal bonuses" cases where the
  4011. bonus delay is 0. [Skotlex]
  4012. 2006/09/13
  4013. * SC_CHANGE cannot override itself anymore. This fixes being able to
  4014. "recast" the skill while it's still active to lengthen the duration AND
  4015. reheal the target. [Skotlex]
  4016. * Changed a bit the dnsbl lookup in the login servers to make it faster.
  4017. [Skotlex]
  4018. * Moved the pc rate modifiers from items
  4019. (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from
  4020. status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and
  4021. also fixes Osiris card not applying to said bonuses. [Skotlex]
  4022. * Fixed pc_damage_delay_rate not working, thanks to Orn. [Skotlex]
  4023. * Modified the nocommand mapflag so you can specify the GM range that is
  4024. blocked from using commands (eg: "prontera.gat mapflag nocommand 40"
  4025. disables commands to characters in the GM range 0~39) [Skotlex]
  4026. * Modified the char-server TXT whisper system to use the online_db to know
  4027. to which map server forward whispers, instead of just sending the whisper
  4028. to every map server. [Skotlex]
  4029. * Readded the setting TCP_NODELAY on socket.c to see if it fixes the
  4030. walk-lag issue. [Skotlex]
  4031. 2006/09/12
  4032. * Modified the login SQL server so that case insensitive lookups use "where
  4033. name = BINARY 'name'" instead of "where BINARY name = 'name'", since this
  4034. way the name index should be used, and performance will no longer be
  4035. heavily affected. [Skotlex]
  4036. * Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on
  4037. the tables memo/friends, and online/name on the char table. Added
  4038. upgrade_svn8728.sql to add these indexes to already existing tables.
  4039. [Skotlex]
  4040. * Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible
  4041. with Mysql 4 installations. [Skotlex]
  4042. * Moved the morph restrictions from skill_additional_effect to
  4043. mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or
  4044. treasure boxes. [Skotlex]
  4045. * Fixed 'range' might be used uninitialized warning [Toms]
  4046. * Added Jaguar's sql script to convert all tables to MyISAM. It's located
  4047. in sql-files/convert_engine.sql WARNING: Using MyISAM is much faster than
  4048. InnoDB, but you are strongly recommended to backup your database before
  4049. switching engines since we don't know if eA is fully coded to work
  4050. correctly with MyISAM yet. [Skotlex]
  4051. * Added manual deletion of sc_data entries when deleting a character
  4052. (char-SQL) [Skotlex]
  4053. * Updated main.sql to use pure MyISAM tables, removed all foreign keys.
  4054. [Skotlex]
  4055. * Updated battle_switch to use strncmpi instead of strcmpi, it makes it so
  4056. using "yessir" will match "yes", this is actually needed because if you set
  4057. a config setting to "yes " (notice the trailing space), then the map config
  4058. engine fails to read it right, and will set the config setting to 0 (no).
  4059. [Skotlex]
  4060. * Some corrections to hate_mob cleanup when triggering the Angel stuff. [Skotlex]
  4061. * Updated the show_mob_info setting to add another space to the separating
  4062. pipes, so that each field is separated by " | " instead of " |". [Skotlex]
  4063. * Homunculus intimacy will go back to 500 on evolution. [Skotlex]
  4064. * Baphomet splash damage will now hit nearby enemies regardless of flee
  4065. (but the initial attack still has to connect for the splash to trigger)
  4066. [Skotlex]
  4067. 2006/09/11
  4068. * Modified set_nonblocking and setsocketoptions in socket.c, using eApp's
  4069. code as reference. Hopefully should improve performance somewhat. [Skotlex]
  4070. * Added a comment explaining what a comment is to login/char/map config
  4071. files, as well as the main script config file. [Skotlex]
  4072. * Modified SG_FEEL so that it works the same way that in Aegis
  4073. (packet-wise) [Skotlex]
  4074. * Added a comment to explain how to "remove" a string variable from the
  4075. msg_athena entries. [Skotlex]
  4076. * Summoned and slave mobs won't show up on @showmobs anymore. [Skotlex]
  4077. * Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix,
  4078. so that damage will be doubled based on the actual attack element.
  4079. [Skotlex]
  4080. * Adjusted autospell cards to trigger only on physical weapon attacks.
  4081. [Skotlex]
  4082. * Adjusted a bit the heal code, it should now show either the full heal
  4083. amount, or 0, depending on whether the target was healed at all or not
  4084. (this also means it shows 0 if you try to heal a full-life character.. but
  4085. it's the closest I've gotten to make it display 0 on Berserked chars)
  4086. [Skotlex]
  4087. * Memorize will be consumed even on instant cast spells now. [Skotlex]
  4088. * Berserk will end now if hit and remaining hp is less or equal to 100.
  4089. [Skotlex]
  4090. * Guild Aura will be removed on sc-load to prevent Guild Masters from
  4091. getting that bonus from the old implementation. [Skotlex]
  4092. * Added D-Kalck's fix of the TXT -> SQL converter [Playtester]
  4093. 2006/09/10
  4094. * Thanks to KarLaeda, added missing function in @showmobs [Lupus]
  4095. - Script function 'query_sql': In the TXT version it doesn't fill the array
  4096. and always return -1. Added for scripts compatibility. Your scripts
  4097. won't crash in TXT version. They can work it around.
  4098. I suggest we need a function getversion()
  4099. * Updated item_db.sql and mob_db.sql [Playtester]
  4100. 2006/09/09
  4101. * Added a crash protection in case mapfreeblock unlock tries to free a null
  4102. pointer. [Skotlex]
  4103. * Moved perfect_hiding from state to special_state, so that it clears out
  4104. when you remove your pet. [Skotlex]
  4105. * Probably fixed the Taekwon Rest skills. [Skotlex]
  4106. * Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy:
  4107. X entries missing, continuing destruction. Manager for entries of size
  4108. 16.") [Skotlex]
  4109. 2006/09/08
  4110. * Unified the rest and ganster paradise code into a single function.
  4111. [Skotlex]
  4112. * Moved the Happy State trigger to the regen function, it now triggers at
  4113. the same time SPTIME does. [Skotlex]
  4114. * Cleaned up SG_HATE, hope it works now. [Skotlex]
  4115. * Removed sg_miracle_skill_duration, replaced it with
  4116. sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify
  4117. a range for the duration of the skill. [Skotlex]
  4118. * Added upgrade_svn8675.sql in case, for some reason, your guild table
  4119. still has the emblem_data field as a 'blob' with "NOT NULL" specified.
  4120. [Skotlex]
  4121. * Fixed alliance/opposition making not cancelling out map-server-side when
  4122. the guild already had max number of alliances/oppositions (thanks to k3dt)
  4123. [Skotlex]
  4124. 2006/09/07
  4125. * Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg:
  4126. wand of hermod) [Skotlex]
  4127. * Cleaned up the doridori parse clif function. [Skotlex]
  4128. * Merged some of mpeg's work on NJ skills [Skotlex]
  4129. * Removed the Warmth "stacking" code. [Skotlex]
  4130. * Added back the effect of /doridori to skill-SP regen [Skotlex]
  4131. * Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low
  4132. chance of triggering on doridori-boosted SP-regen events. However, it has
  4133. no client-side messages yet (need to add these in) [Skotlex]
  4134. * Added sg_angel_skill_ratio to specify rate at which the Angel skill
  4135. triggers. [Skotlex]
  4136. * Added unit_cancel_combo which takes care of ending a combo time and
  4137. resuming normal attack 'inmediately' [Skotlex]
  4138. * Cleaned up some the SG_HATE code, you can't change hate targets anymore.
  4139. [Skotlex]
  4140. 2006/09/06
  4141. * Fixed the memset in status_calc_pc, corrects some mysterious bugs such as
  4142. item-drop bonuses suddenly not working anymore. [Skotlex]
  4143. * Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
  4144. [Skotlex]
  4145. * Fixed Aex Aeterna ending on Soul Breaker's first half. [Skotlex]
  4146. * Applied Orn's modification on speed increases/reductions with increase/
  4147. decrease agi [Toms]
  4148. 2006/09/05
  4149. * Removed setting mob_show_hp, it's been replaced now by mob_show_info,
  4150. which can be used to specify what kind of info should be displayed from a
  4151. mob. Current options are two different formats for Hp display, and current
  4152. level (monster.conf). [Skotlex]
  4153. * Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%
  4154. [Skotlex]
  4155. * Applied the Ultra Mage's suggestion to have the map server strip trailing
  4156. spaces/comments from the config files. It will also now print out when an
  4157. unknown config setting is found. [Skotlex]
  4158. * Fixed status change resistance not being invoked at all for pretty much
  4159. all cases. [Skotlex]
  4160. * Corrected SC_INTRAVISION not starting. [Skotlex]
  4161. * Fixed crash when attempting to read a Label as a string on a script
  4162. (thanks to End of Exam) [Skotlex]
  4163. * Fixed possible crash when changing a chat-room's owner (thanks to End of
  4164. Exam) [Skotlex]
  4165. * Fixed dispell removing SC_NOCHAT [Skotlex]
  4166. * Small fix which should correct skill_attack damaging hidden characters
  4167. when it shouldn't. [Skotlex]
  4168. * Fixed connect_until field being a smallint rather than int in the login
  4169. table (upgrade with upgrade_svn8630.sql) [Skotlex]
  4170. 2006/09/04
  4171. * Fixed crash when using Adaptation during an Encore. [Skotlex]
  4172. * Should have fixed manner being reset to 0 on logout while muted.
  4173. [Skotlex]
  4174. * Removed status_get_sc_tick, duration and chance are now both handled by
  4175. status_get_sc_def (this means status change duration and success rate
  4176. both will always follow the very same formula) [Skotlex]
  4177. * Fixed mob-kill experience getting screwed up when characters who did
  4178. damage die/logout at the moment the mob dies. [Skotlex]
  4179. * Should have fixed "sleep", thanks to Lance for figuring out the error.
  4180. [Skotlex]
  4181. * SC_REFLECTSHIELD will now be passed to devoted characters at cast-time.
  4182. [Skotlex]
  4183. * Added a check to make a mob's level 1 if the read level from the db is
  4184. less than it. [Skotlex]
  4185. * status_calc_misc will now be invoked in status_calc_bl even on the first
  4186. call, since status could have gone up due to skill bonuses. [Skotlex]
  4187. * Moved max HP/SP calculations to before invoking status_calc_misc
  4188. [Skotlex]
  4189. * Simplified distance and check_distance to use "aegis" methods (greater of
  4190. dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when
  4191. set, the previous method is used, and "for each in range" calls will also
  4192. check for distances, making most ground skills and battle system use real
  4193. circles instead of squares. [Skotlex]
  4194. 2006/09/03
  4195. * Fixed SC_BERSERK's no regen penalty lasting pretty much forever.
  4196. [Skotlex]
  4197. 2006/09/02
  4198. * SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather
  4199. than blocking all types of regen. [Skotlex]
  4200. * LK_BERSERK will now only block natural regen on state-end. [Skotlex]
  4201. * SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural
  4202. sp regen and not skill regen [Skotlex]
  4203. * SC_REGENERATION blocking will be cancelled on logout now. [Skotlex]
  4204. * Corrected SCB_LUK not updating SCB_BATK as well. [Skotlex]
  4205. 2006/09/01
  4206. * Corrected script_commands description of getequipid, it returns -1, not 0
  4207. on fail. [Skotlex]
  4208. * Fixed the mob-id check during pet_db loading, it will also now print when
  4209. a pet is not loaded due to having an invalid mob class specified. [Skotlex]
  4210. * The "delete_timer error/no such timer" report will now print the related function [Toms]
  4211. * The Clearing unused stack report will now print the related NPC [Toms]
  4212. * The duplicate npc report will now print the related file name [Toms]
  4213. * Added config setting "partial_name_scan", which specifies whether @ given
  4214. names should use a partial string lookup or absolute name lookup. Defaults
  4215. to no (gm.conf) [Skotlex]
  4216. * Expanded status_calc_misc so it may also calculate the batk of characters
  4217. as well as their regen data (if they have it) [Skotlex]
  4218. * Fixed a memory leak when using charsave_method:1 [Skotlex]
  4219. * Soul Breaker will now be affected by Lex Aeterna on both parts of the
  4220. attack. [Skotlex]
  4221. * Status changes with no skill and no SCB* data will now go through if they
  4222. have an SI* icon. This should fix SC_MIRACLE [Skotlex]
  4223. * Reverted switching a mob's adelay/amotion when the later is longer than
  4224. the former, now both get updated to amotion. [Skotlex]
  4225. 2006/08/31
  4226. * Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to
  4227. skill_counter_additional_effect [Skotlex]
  4228. * Simplified skillnotok_hom by using an invocation to skillnotok [Skotlex]
  4229. * Hopefully fixed BD_ADAPTATION [Skotlex]
  4230. * Homun won't lose any intimacy on death now. [Skotlex]
  4231. * Homun will be saved together with the master now (as long as the homun is
  4232. active) [Skotlex]
  4233. * Modified the error reporting in map_freeblock_unlock so that when there's
  4234. an error, the reported line number is the file's linenumber plus the
  4235. object's type *10000. This is for debug information to help track down the
  4236. already-freed error. [Skotlex]
  4237. * pc_adopt will now preserve the kid's job/job-level/experience. This means
  4238. that if you adopt a Swordman level 45, it will become a baby-swordman level
  4239. 45, with the exact same exp as before. [Skotlex]
  4240. * Fixed new mob's name not sent to the client when the mob is morphed [Toms]
  4241. * Added setting attack_walk_delay which specifies whether a character
  4242. should (or not) be able to move inmediately after starting a normal attack
  4243. (battle.conf). Defaults to 0 since that's what Aegis uses. [Skotlex]
  4244. * Fixed @summon's delete timer being screwed up. [Skotlex]
  4245. * Cleaned up a bit the summon script command. [Skotlex]
  4246. * Fixed the clone script command's delete-timer being screwed up. [Skotlex]
  4247. 2006/08/30
  4248. * Skill required-state will now only be checked on cast-begin, not
  4249. cast-end. [Skotlex]
  4250. * Added a check in status_calc_pc to prevent player rate adjustments from
  4251. from going below 0. [Skotlex]
  4252. * Removed sending normal-damage packets instead of skill packets for
  4253. splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
  4254. * Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
  4255. vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
  4256. minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]
  4257. * Fixed up char-sql compilation. [Skotlex]
  4258. * Added a message to @clearweather stating when climate changes will
  4259. dispel. [Skotlex]
  4260. * Corrected @hidenpc saying that it's command name was "@npcoff" [Skotlex]
  4261. * Updated itemdb reading on the char-sql server so that it reads both
  4262. item_db and item_db2 files (totally untested yet) [Skotlex]
  4263. 2006/08/29
  4264. * Added printing out whenever the irc-module attempts to connect, to debug
  4265. whether the map-server lag is due to this or not. [Skotlex]
  4266. * Mobs will now always chase players using hard-path seeks. [Skotlex]
  4267. * monster_ai&1 now only signals whether mobs should update their target
  4268. cell while chasing more frequently (rather than being state-driven like
  4269. Aegis) [Skotlex]
  4270. * Changed the defaults of view_range_rate and chase_range_rate to 120 to
  4271. aproximate better Aegis's view ranges (which are square areas and not
  4272. circles) [Skotlex]
  4273. * Applied Mpeg's work on GS [Toms]
  4274. ( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
  4275. * Fixed a syntax error in @showmobs [Toms]
  4276. * Added @showmobs. It shows selected mobs on your mini-map (excluding
  4277. mini-bosses & MVP) thanks to KarLaeda for the command [Lupus]
  4278. 2006/08/28
  4279. * Modified the dancing code and Moonlit Petals in particular, so that it is
  4280. treated as an ensemble like any other, it will just knockback people when
  4281. they step into it. [Skotlex]
  4282. * The memory leak reports will now print out in the logs also the revision
  4283. they belong to. [Skotlex]
  4284. * Cleaned up the scriptable npc-shop code, it should be crash-proof now.
  4285. [Skotlex]
  4286. * Added TK level-up buffs to SG too, and extended them to 10 min [DracoRPG]
  4287. * Added "Barefeet Mastery" effect to TK_RUN (thanks Tharis for both) [DracoRPG]
  4288. * Changed the produce_db format, now there's a skill-lv column right after
  4289. the skill-id column to specify required skill-level to craft this item.
  4290. [Skotlex]
  4291. * Modified the skill produce_db code to take into account the new skill-lv
  4292. requirement. [Skotlex]
  4293. * Fixed exp bonuses applying twice for the job-exp [Skotlex]
  4294. * @reloadbattleconf will now also update the ragsrvinfo table on the
  4295. char-server. [Skotlex]
  4296. * Fixed homun hp/sp growth rates stacking with HP/SP passive increasing
  4297. skills. [Skotlex]
  4298. 2006/08/27
  4299. * Fixed undefined reference to 'malloc_set' in log.c [Toms]
  4300. * Updated svn-revision reading, now it can read the new svn file system [Toms]
  4301. * Fixed a bug with homunc which could spawn on a non-walkable cell [Toms]
  4302. 2006/08/26
  4303. * Optional macro MEMSET_TURBO for faster low-level memory initializations. [Lance]
  4304. * Small bug fix in read_homunculus_expdb (a warning was always displayed) [Toms]
  4305. * Small adjustment on the mob_ai code which could fix mobs not chasing you
  4306. if you hit them from the maximum possible diagonal distance. [Skotlex]
  4307. 2006/08/25
  4308. * Cleaned some the skill unit removal added flag so that it signals whether
  4309. the skill is being force-removed, or it has "naturally expired". [Skotlex]
  4310. * The following skills will display a normal attack animation now:
  4311. NPC_WATERATTACK, NPC_GROUNDATTACK, NPC_FIREATTACK, NPC_WINDATTACK,
  4312. NPC_POISONATTACK, NPC_HOLYATTACK, NPC_DARKNESSATTACK,
  4313. NPC_TELEKINESISATTACK, NPC_SPLASHATTACK
  4314. * Skills that require a weapon and consume spirit spheres will no longer be
  4315. auto-tagged to require ammo. [Skotlex]
  4316. * Now MISC skills with delay 0 will also use the attack delay (if the skill
  4317. is tagged to do damage) [Skotlex]
  4318. * Added script commands roclass/eaclass to enable scripts to access eA's
  4319. job format. Read script_commands.txt and ea_job_system.txt for a more
  4320. complete explanation of how this job system works. [Skotlex]
  4321. * Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.
  4322. If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in
  4323. UNT_WARP_WAITING and will destroy it. [Toms]
  4324. ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102
  4325. when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE )
  4326. 2006/08/24
  4327. * Little cleanup on homunc's code [Toms]
  4328. * Modified @reloadmobdb & @reloadskilldb to reload homunc's db too [Toms]
  4329. * Now when a mob's adelay is set to be less than the amotion, both values
  4330. will be swapped (this is an attempt to understand how those mobs actually
  4331. work on aegis) [Skotlex]
  4332. * script command "isrefine" will no longer return always false for equip
  4333. positions above 6 (this has not been needed since the addition of the
  4334. refine column to tbe item_db many months ago) [Skotlex]
  4335. * Added NPC_CRITICALSLASH to the list of skills that display as a normal
  4336. attack. [Skotlex]
  4337. * Reverted the previous change, changed the pet capture code to try to
  4338. capture a mob based on their view class rather than actual class.
  4339. [Skotlex]
  4340. * Fixed the md->class_ variable not being updated when a mob's class is
  4341. changed. [Skotlex]
  4342. * Added setting clear_skills_on_warp to specify when a character's
  4343. land-based skills are deleted when the caster changes maps. Defaults to all
  4344. types. [Skotlex]
  4345. * Should have fixed Brandish Spear not passing the flag to skill_attack,
  4346. causing it to do miserable damage. [Skotlex]
  4347. * Warp Portal will no longer be removed when caster steps through it (this
  4348. is left to the new clear_skills_on_warp setting) [Skotlex]
  4349. * Cleaned up status_percent_change to switch equations when the target has
  4350. high hp to prevent overflows, also it will directly take hp/maxhp when a
  4351. rate of 100 or higher is passed to prevent calculations. [Skotlex]
  4352. * Traps and Land Elemental fields are no longer automatically removed on
  4353. map change (handled now by clear_skills_on_warp) [Skotlex]
  4354. * traps_setting &2 no longer does anything (handled now by blah blah)
  4355. [Skotlex]
  4356. * Applied some change from mpeg on Ninja Skills [Toms]
  4357. * Put HVAN_Explosion based on max_hp instead of current hp [Toms]
  4358. 2006/08/23
  4359. * Fixed mob_clone_spawn completely ignoring the mode variable. [Skotlex]
  4360. * Fixed Energy Coat reducing and consuming more than it should when you
  4361. have 100% SP [Skotlex]
  4362. * Cleaned up getmapxy script function, also added support for type 4 so
  4363. that it returns a player's homunculus position if such exists. [Skotlex]
  4364. * SC_ARMOR_ELEMENT looks like gone away from status_change_start since ... rev 6791.
  4365. Try to reimplement it. [Toms]
  4366. * Fixed HVAN_EXPLOSION [Skotlex]
  4367. * Frost Nova won't display a nodamage skill packet (still need to sort out
  4368. a way to fix the splash damaged packets) [Skotlex]
  4369. * Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknown [Toms]
  4370. * Added debug on "Inifity loop" to know which script is making this loop [Toms]
  4371. 2006/08/22
  4372. * More fixes to the splash code. Kamaitachi and Sharpshooting should
  4373. display correctly now. [Skotlex]
  4374. * Fixed a crash on the mobspawn script command. [Skotlex]
  4375. * Made SC_FLEET increase batk as well as watk. [Skotlex]
  4376. * Fixed gcc warning [Toms]
  4377. * Fixed AM_REST not closing the homunc status window [Toms]
  4378. * Fixed SC_NEN according to Mpeg [Toms]
  4379. * Added a ShowStatus("Terminating...\n") on login-server_sql [Toms]
  4380. * Some corrections to make Tatami Gaeshi work correctly. [Skotlex]
  4381. * Fixed SBR44 doing 100% more damage than it should. [Skotlex]
  4382. * Some more work on the splash skill code. Now splash-damaged enemies
  4383. should show no animation at all, just the damage-number, while only the
  4384. targetted character should still display the full skill animation.
  4385. [Skotlex]
  4386. * Modified the homun-txt file-save format to separate the name from the
  4387. rest of fields with tabs (like character saving does), this may fix homun
  4388. save/loading when using non-latin characters on the name, but be warned
  4389. that it also means the previous homun-data files are lost! (unless you
  4390. replace the comma before the start of a name with a tab) [Skotlex]
  4391. * getnameditem will now also work on stackable items [Skotlex]
  4392. * Corrected battle_calc_weapon_attack so that all skills ignore your
  4393. left-hand weapon, and that the Katar's double-attack damage bonus for the
  4394. offhand damage applies ONLY on normal attacks. [Skotlex]
  4395. * Fixed Resurrect Homunculus's % to 20*lv% [Skotlex]
  4396. * Added SQL update which should remove \' from guild names [Toms]
  4397. * Added option to disable character deletion of certain levels [Lupus]
  4398. check char_athena.conf for this option format
  4399. 2006/08/21
  4400. * Some more cleaning up of the splash skill code. Now the passed hit value
  4401. for the splash targetted mobs is 9 instead of 5, this allows multi-hitting
  4402. splash skills to display the number of hits correctly. [Skotlex]
  4403. * Fixed call homunc bug when the homunc was vapo and the master has change
  4404. of map [Toms]
  4405. * Fixed SQL-Guild Creation, guild name was escaped 2 times [Toms]
  4406. * Some cleaning of the splash skills. Updated skill-attack to enable again
  4407. passing of flag 0xF000 which signals that the skill level sent to the
  4408. client should be -1 (no skill name shouted). Should (hopefully) clear/clean
  4409. up a bunch of splash damage skill animation-related packets. [Skotlex]
  4410. * Homun saving won't cap hp/sp to max hp/sp since a homun can have higher
  4411. hp/sp than the one stated in the db (due to skill bonuses or status
  4412. changes) [Skotlex]
  4413. * Cleaned up some more the regen_data structure, so that
  4414. skill/sitting-skill related data is optional (since only players have it).
  4415. [Skotlex]
  4416. * Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values [Toms]
  4417. * Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID [Toms]
  4418. * Adjusted Glittering's success rate to 20+10*lv% [Skotlex]
  4419. * Corrected isequipped() so that cards will not be tagged as "used up"
  4420. unless all the specified items were found. [Skotlex]
  4421. * Fixed a confusion in skill_attack using the src instead of dsrc for some
  4422. calls, which was causing some problems with the KAITE check from AoE
  4423. spells. [Skotlex]
  4424. * Fixed ASC_BREAKER's misc damage part not having the ignore-element flag
  4425. set. [Skotlex]
  4426. * Moved homunc battle conf from misc.conf to homunc.conf [Toms]
  4427. * Some cleaning in skill.c in regard to homun skills. [Skotlex]
  4428. * Madness Canceller now stacks with other aspd bonuses, just like Berserk
  4429. does. [Skotlex]
  4430. * Removed config setting "muting_players", and expanded the manner_system
  4431. config to specify how having negative manner (mute) affects a player (see
  4432. battle/misc.conf). [Skotlex]
  4433. * Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode,
  4434. if 2 is used, it makes killing players give you a loss of 5 manner points.
  4435. [Skotlex]
  4436. * Fixed WS_WEAPONREFINE always failing when at less than job 50. [Skotlex]
  4437. * Fixed the Autosave routine not working when there's only one player
  4438. online. [Skotlex]
  4439. * Disabled command @rain since the client no longer supports it anyway.
  4440. [Skotlex]
  4441. * Fixed delitem not checking for the first slot's card, also optimized it
  4442. so that it doesn't checks on the other slots. [Skotlex]
  4443. 2006/08/20
  4444. * Added a check during mob_db loading so that the six basic stats, max hp
  4445. and max sp are never below 1, as this could cause crashes when using
  4446. certain skills. [Skotlex]
  4447. * Gravitation now only blocks the caster from using potions. [Skotlex]
  4448. * Corrected Madness Canceller letting you walk while the effect lasts.
  4449. [Skotlex]
  4450. * Splitted yet again ASC_BREAKER into a two-part attack. This time the
  4451. int-based damage is a MISC type attack, and gets reduced by skills as such.
  4452. [Skotlex]
  4453. * Fixed "int format, long unsigned int arg" warning [Toms]
  4454. * Fixed a warning when using cap_value(x, 0, x) on an unsigned value [Toms]
  4455. * Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos [Toms]
  4456. * Fixed homunc skill 8016 not considered as homunc skill [Toms]
  4457. * @useskill will now cause your homun to use the skill instead of you if
  4458. the skill is a Homun skill and you have an active homunculus. [Skotlex]
  4459. * Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me
  4460. that Vicious told him the chance was much lower like that) [Skotlex]
  4461. * Fixed some Homunc issues with HR servers (capping some values) [Toms]
  4462. * Added @hominfo command to obtain real values (not capped ones) [Toms]
  4463. 2006/08/19
  4464. * Fixed @homlvup bug [Toms]
  4465. * Fixed AM_REST & AM_RESU consumming SP if they fail [Toms]
  4466. * Fixed homunc spawning bug (they was spawned after an AM_REST + master warp for example)[Toms]
  4467. * Fixed GS_GROUNDDRIFT [Skotlex]
  4468. * Increased chance of GS_DESPERADO connecting to 20% [Skotlex]
  4469. * Fixed battle_calc_base_damage being called for the left hand even for
  4470. non-dual-wielding attacks. left-hand damage was being set to 0 later
  4471. anyway, so no exploit existed. [Skotlex]
  4472. * Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll
  4473. apply correctly when dual-wielding different types of weapons. [Skotlex]
  4474. * Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the
  4475. items (0x80000 should be for them and 0x100000 should be currently unused)
  4476. [Skotlex]
  4477. * Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
  4478. * Fixed HAMI_CASTLE [Toms]
  4479. * Fixed HLIF_CHANGE [Toms]
  4480. * Updated HLIF_BRAIN skill [Toms]
  4481. * Fixed homunculus intimacy on feeding [Toms]
  4482. * Added homunculus_friendly_rate battle config [Toms]
  4483. * Some compilation warnings fixed [Toms]
  4484. * Added skill's required item check on homunc skills [Toms]
  4485. * Add Condensed Red Potion as a required item for HLIF_HEAL [Toms]
  4486. 2006/08/18
  4487. * Little code cleanup on last fix [Toms]
  4488. * Fixed HLIF_HEAL healing the homunc instead of the master [Toms]
  4489. * Fixed HLIF_AVOID not increasing walk speed of master [Toms]
  4490. * Fixed the atk_rate (Turtle General Card) bonus not working on
  4491. dual-wielders. [Skotlex]
  4492. * Made HLIF_HEAL a self skill that auto-selects target to caster's master.
  4493. [Skotlex]
  4494. * Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE [Skotlex]
  4495. * Applied a correction to HVAN_EXPLOSION [Skotlex]
  4496. * Fixed Homun ASPD calculation being able to underflow and give you min
  4497. speed. [Skotlex]
  4498. * Added monster_ai&128 to make aggressive mobs ignore that behaviour of
  4499. always picking Homun targets above player targets regardless of who is
  4500. closer. [Skotlex]
  4501. * Fixed homun info packet being unable to display HP/SP correctly once the
  4502. values are above 32k. [Skotlex]
  4503. * Applied Mpeg's work on ninja [Toms]
  4504. * Fixed @homlvup [Toms]
  4505. * Added guild_aura (skill.conf) setting so you can specify when it works
  4506. and if it works on the guild-master itself. Defaults to working all the
  4507. time on everyone except GM. [Skotlex]
  4508. * Little code cleanup [Toms]
  4509. * Cleaned merc_hom_evolution to avoid free'ing/realloc'ing [Toms]
  4510. * Fixed "args of aFree is freed pointer" on Homunc deletion [Toms]
  4511. * Changed unit_free so that it receives which cleartype should be used when
  4512. the character is still on a map. Used this on status_damage so that mobs
  4513. that do not respawn when killed will properly display the death animation.
  4514. [Skotlex]
  4515. * Fixed Energy Coat consuming 10x less SP per hit than it should.
  4516. * Fixed signed/unsigned comparison issues with natural heal system [Toms]
  4517. 2006/08/17
  4518. * Vaporize will no fail when the homun is dead. [Skotlex]
  4519. * Corrected thhe double free issue that occurs when a homun dies and has no
  4520. intimacy left. [Skotlex]
  4521. * Fixed the charsave_method:1 saving/loading exp as signed ints rather than
  4522. unsigned. [Skotlex]
  4523. * Applied use of structure regen_data for a unified regen module. Natural
  4524. and skill-heal is handled by this structure, while sitting-skill-heal is
  4525. still player dependant (mostly because the other object types can't sit)
  4526. [Skotlex]
  4527. * Cleaned up the status calc code for homun by moving it from
  4528. status_calc_bl_sub_homun to status_calc_homun (where it should had always
  4529. been) [Skotlex]
  4530. * Updated SQL files [Playtester]
  4531. * Corrected map_random_dir algorithm [Toms]
  4532. * Fixed homunc natural heal and little code cleanup [Toms]
  4533. * Changed AM_CALLHOMUN Skill to spawn the homunc at 1 cell from his master [Toms]
  4534. 2006/08/16
  4535. * Fixed being unable to recast Adrenaline Rush to reset the duration
  4536. timers. [Skotlex]
  4537. * Cleaned up skill_get_range2 so that using range 0 for non-self skills
  4538. uses the caster's attack range. [Skotlex]
  4539. * Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized
  4540. homun. [Skotlex]
  4541. * Spirit of Wizard will now consume an item 7321 each time it blocks
  4542. reflected magic. [Skotlex]
  4543. * Added script command jobname, retrieves a given's class name as per the
  4544. appropiate msg_athena.txt entry (this command should had been added years
  4545. ago) [Skotlex]
  4546. * Fixed null-pointer crash on Evolving a homunculus. [Skotlex]
  4547. * @produce now can make any kind of equipment [Skotlex]
  4548. * Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster
  4549. and target. [Skotlex]
  4550. * AM_REST shouldn't be checking for a range now (since it's a self skill)
  4551. [Skotlex]
  4552. * Updated mob_ai so that mobs will use their rude-attacked skill when they
  4553. can't reach their current target. [Skotlex]
  4554. * Fixed the default txt config making pets be saved to the homun file
  4555. instead of to the pet file. [Skotlex]
  4556. * Now arrow-consuming skills where your main weapon is a whip or musical
  4557. instrument WILL count as arrow-type attacks, using the atk of the arrow and
  4558. all related bonuses. [Skotlex]
  4559. * Fixed some homun timer initialization code. [Skotlex]
  4560. 2006/08/15
  4561. * Applied multiple fixes which should take care of making homun save/load
  4562. work on TXT now. [Skotlex]
  4563. * Added Gatling Fever's batk bonus. [Skotlex]
  4564. * Some cleaning in status_damage which should prevent trying to free
  4565. already free'd pointers when unit_remove_map invokes unit_free (when
  4566. status_damage was going to invoke unit_free anyway) [Skotlex]
  4567. * Delete homunc's skills from sql when the homunc is destroyed [Toms]
  4568. * Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu [Toms]
  4569. * Updated vc-project files to compile with the new int_homun files.
  4570. [Skotlex]
  4571. * Hopefully fixed the crash when using charsave_method = 1 [Skotlex]
  4572. * Moved s_pet structure from map_session_data to pet_data, this enabled the
  4573. removal of a few redundant values in the pet_data structure (name, class,
  4574. equip) [Skotlex]
  4575. * Cleaned up some of the pet related @/# commands, same for some script
  4576. commands. [Skotlex]
  4577. * Pet offensive skills who's inf value is self will be casted on the pet
  4578. now (for stuff like Grand Cross) [Skotlex]
  4579. * Added homun saving/loading support to char-TXT. Note that this is
  4580. completely untested, so it may be as good as broken. [Skotlex]
  4581. * Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun
  4582. has no master (need to clean up this function later) [Skotlex]
  4583. * Tested char-txt load/save, it seems to be working fine, but you should
  4584. STILL backup, as I only launched the server (read old character format),
  4585. closed it down (saved into the new format) and relaunch it (read the new
  4586. format) and it didn't give problems (but there's still the possibility of
  4587. some field being read in the incorrect offset or such). [Skotlex]
  4588. * Updated the char save structure for char-TXT servers so that the homun id
  4589. will be saved, now also the map info (last point, save point, memo maps)
  4590. are now saved using the mapindex rather than the string. BACKUP BEFORE
  4591. UPDATING since this code isn't yet tested. [Skotlex]
  4592. * Cleaned up a bit the char-saving code, added overflow crash prevention in
  4593. case there are more memos than the max-allowed saved. [Skotlex]
  4594. * AM_CALLHOMUN can now be used to recall vaporized homuns. [Skotlex]
  4595. * AM_RESURRECTHOMUN will now fail when the homun is vaporized. [Skotlex]
  4596. * Added SCB_DYE which marks which status-changes need a forced cloth dye
  4597. change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status
  4598. uses it. [Skotlex]
  4599. * Asura Strike now moves you to the target on fail always (unless the
  4600. target does not exists or is in another map or there's a obstacle on the
  4601. way) [Skotlex]
  4602. * Corrected skill_attack_area hitting dead characters on it's splash range.
  4603. [Skotlex]
  4604. * Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable
  4605. SG to show the fly animation again, even if sometimes others will see him
  4606. as Santa. As for xmas cloth, it shouldn't make much of a difference since
  4607. the view class is changed to christmas anyway. [Skotlex]
  4608. * Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where
  4609. they automatically pick a spot around you. [Skotlex]
  4610. * Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now.
  4611. [Skotlex]
  4612. * Cleaned up some the hom evolution code. [Skotlex]
  4613. * Fixed SIGSEGV with homunc save [Toms]
  4614. 2006/08/14
  4615. * Removed support for negative autosave intervals, instead added a
  4616. minsave_interval setting which specifies which is the minimum time between
  4617. character saves. Default to 100ms (map_athena.conf). [Skotlex]
  4618. * Sacrifice no longer shows damage to self. [Skotlex]
  4619. * When Asura fails, the skill display will still come off. [Skotlex]
  4620. * Lots of cleaning of the Homun-code. Perhaps the crashes as of late will
  4621. be fixed now (reusing AM_CALLHOMUN seems to be the cause of them)
  4622. [Skotlex]
  4623. * Increased Run's walk speed bonus to 25->50% [Skotlex]
  4624. * Modified emergency_call setting to allow for more specific configuration
  4625. (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see
  4626. skill.conf for details. [Skotlex]
  4627. * Fixed script engine allowing scripts to set a player's zeny to negative
  4628. values. [Skotlex]
  4629. * Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
  4630. [Skotlex]
  4631. * When readjusting the fame-list, the last entry's id is also reset (may
  4632. fix characters appearing more than once on it?) [Skotlex]
  4633. 2006/08/13
  4634. * Removed @itemcheck as it was totally pointless. [Skotlex]
  4635. * Corrected states killer/killable being easily dispellable. [Skotlex]
  4636. * Fixed the totally wrong text messages being used for @killer/@killable
  4637. related atcommands, added appropiate entries to msg_athena [Skotlex]
  4638. * Magic and Misc attacks will now get type "flee" when they do less than 1
  4639. damage, this blocks them from causing additional status effects when they
  4640. are blocked. [Skotlex]
  4641. * Cleaned up a bit the Basilica code, it should now properly end when you
  4642. walk. [Skotlex]
  4643. * Fixed some logs not working when you enabled all logs. [Skotlex]
  4644. * Corrected unmute being a level 60 command by default (should be 80)
  4645. [Skotlex]
  4646. * Corrected the mapif_parse_PartyChangeMap function to correctly update
  4647. level-range when someone logs on/off, fixes being unable to set even-share
  4648. on once it's been broken even when the characters out of range logoff.
  4649. [Skotlex]
  4650. 2006/08/11
  4651. * Fixed Kagebunshin no Jutsu crashing for dyes > 0; though this solution
  4652. might seem hackish (changing clothes colour to 0 when it starts while
  4653. storing original colour back in val4, restoring original dye upon
  4654. end), I believe this is the best way there currently is to solve
  4655. the issue. [blackhole89]
  4656. * Fixed Dancers/Bards being able to use normal attacks while performing.
  4657. [Skotlex]
  4658. 2006/08/10
  4659. * Fixed the item group bonus not working. [Skotlex]
  4660. * Fixed songs/dances always being considered overlapped with themselves.
  4661. [Skotlex]
  4662. * Added some additional song/dance overlap code that should correctly
  4663. change the effect of songs/dances when they overlap. [Skotlex]
  4664. * Added a check so that the status-change packet is always send to self
  4665. when the inflicted char is a player disguised. [Skotlex]
  4666. * Code cleanup on homunc, they stay in memory until player disconnect or
  4667. homunc destruction [Toms]
  4668. * Corrected Advanced Jobs HP bonus from 30% -> 25% [Skotlex]
  4669. * Hopefully fixed family-party-even-share not breaking when a member logs
  4670. out. [Skotlex]
  4671. * Should have fixed the login-sql crash when passed user-name's length is
  4672. beyond the limit. [Skotlex]
  4673. * Changed setting attack_attr_none to affect all neutral-element attacks.
  4674. Basicly, this setting is now used to determine who can hit for full damage
  4675. always when using neutral-attacks (defaults to non-players) [Skotlex]
  4676. * Fixed two instances in the login-sql server where the ip in the log-login
  4677. table was being stored backwards. [Skotlex]
  4678. * Now when a skill's range is 0 and the skill is NOT casted on self, it
  4679. will take the basic weapon's range (without Vulture/Snake Eye bonus).
  4680. [Skotlex]
  4681. * Now when a duration is not specified, sc_start/sc_start2/sc_start4 will
  4682. try to guess the duration by extracting it from the skill_db (it uses
  4683. skill_get_time on whatever skill is associated to the status-change using
  4684. val1 as skill-level) [Skotlex]
  4685. * Some cleanups on trade_tradeaccept to prevent packets being resent when
  4686. they shouldn't. [Skotlex]
  4687. * Fixed syntax error in 'guild' create table statement [Toms]
  4688. 2006/08/09
  4689. * Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
  4690. * Fixed homunc skill up bug [Toms]
  4691. * Adjusted some the dance/song/encore code so that the source of an
  4692. ensemble will always get checked, so that walking out of an ensemble skill
  4693. should make it end now. However, it's likely this is not completely solved
  4694. yet and will require further tweaking. [Skotlex]
  4695. * Added crash protection to the mob_db txt reading when the mob_db file has
  4696. lines with insufficient number of columns. [Skotlex]
  4697. * Moved the class-change code from battle_calc_weapon_attack to
  4698. skill_additional_effect. Alchemist summons now also have a chance of
  4699. triggering polymorphing. [Skotlex]
  4700. * Removed the code which was auto-setting attacks that do no damage to type
  4701. FLEE, since that was disabling status-effects which should incur even when
  4702. the damage was blocked. [Skotlex]
  4703. * Trade requests will now fail when either character is unable to act
  4704. (character in storage, vending, interacting with an npc, petrified, etc)
  4705. [Skotlex]
  4706. * Heard skotlex voice, changed all msg_table[] into msg_txt() in atcommand.c [Toms]
  4707. 2006/08/08
  4708. * Fixed the char-server not invoking the party_calc_state function when the
  4709. third party-member is added to a party, hence failing to check for families
  4710. and disabling even share from them unless all three relog first (state is
  4711. correctly calculated when party is first loaded). [Skotlex]
  4712. * Crash-protections in the mail-checking function. [Skotlex]
  4713. * Some additional parenthesis on equipment check in pc_equipitem, seems to
  4714. have fixed the mid/lower headgear-sprites not showing up. [Skotlex]
  4715. * Added back missing state set to prevent Ankle-Snare from being retrieved
  4716. after the target dies. [Skotlex]
  4717. * Fixed compilation warning [Toms]
  4718. * Added a check to handle Spider Web as a targetted skill. If there's more
  4719. than one character on the targetted cell, a different one may get trapped,
  4720. but it will mostly do as it is now. [Skotlex]
  4721. * Added check to Asura so that it will move you to the target when it fails
  4722. ONLY when you can cast the skill on the target (not stunned, asleep, target
  4723. not hidden, etc) [Skotlex]
  4724. * Changed the map_freeblock_unlock code so that when there's an "already
  4725. free'd pointer" error, the memory manager will print out the invoking
  4726. function rather than map_freeblock_unlock, this should help fix it up next
  4727. time it happens and is reported. [Skotlex]
  4728. * Casting Kaensin will clear out Suiton and viceversa now. [Skotlex]
  4729. * Fixed drop-rates (@whodrops) getting duplicates when you use @reloadmobdb
  4730. [Skotlex]
  4731. * Fixed unjailing not sending characters to Prontera. [Skotlex]
  4732. * Fixed yet again AS_SPLASHER doing full damage on all characters. Now you
  4733. can use the NK split damage value in the skill_db if you want damage
  4734. divided by the amount of targets rather than by 2. [Skotlex]
  4735. * Fixed crash on the battle_drain functions. [Skotlex]
  4736. * Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by
  4737. other types of objects other than Homunculus. [Skotlex]
  4738. * Cleaned up the Asura Strike code so that the SP/Spheres/States is not
  4739. consumed when the skill fails due to Fog of Wall. [Skotlex]
  4740. * When a negative delay for a skill is specified, this delay is now added
  4741. on top of the character's amotion rather than adelay [Skotlex]
  4742. * Modified main.sql to make the guild table allow NULL on the emblem data.
  4743. [Skotlex]
  4744. * Added file conf-tmpl/Changelog.txt to log config changes. [Skotlex]
  4745. 2006/08/07
  4746. * Fixed the login-sql server replying to the change-sex packet with the
  4747. wrong gender, causing the char-server to screw-up job-change updates.
  4748. [Skotlex]
  4749. * Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD work as
  4750. described on the docs now, this should also fix adopting not correctly
  4751. giving the family-related skills. The flag value of skill should be: 0 to
  4752. set the skill (if skill level is 0, this removes a learned skill), 1 grants
  4753. the skill as an item bonus which is temporary, and 2 will add a skill bonus
  4754. like 1, except the skill level adds up to whatever level already known of
  4755. that skill. [Skotlex]
  4756. * Fixed EQP_WEAPON related code messing up with both weapon AND shield.
  4757. [Skotlex]
  4758. * Cleaned up the Asura code so that when the skill fails your
  4759. SP/Spheres/Fury are all taken away always, as well as moving you next to
  4760. the target (as long as the target still exists within a reachable path from
  4761. your position) [Skotlex]
  4762. * SC_GUILDAURA is now removed on logout. [Skotlex]
  4763. * Fixed Venom Splasher doing half-damage instead of full-damage to the
  4764. "exploding" character. [Skotlex]
  4765. * Hopefully fixed the party_even_share cast-overflow bug as reported by
  4766. Adobe. [Skotlex]
  4767. * Standarized the autosave interval setting to be always in seconds
  4768. regardless of type. [Skotlex]
  4769. * Moved the "bosses can't be knockback" logic from battle_calc_* functions
  4770. and placed it on skill_blown. [Skotlex]
  4771. * Some parenthesis cleanup before invoking battle_calc_base_damage, could
  4772. be fixing the current issue with arrow attacks not adding the arrow damage.
  4773. [Skotlex]
  4774. * Fixed the map_search_freecell error which was making mobs fail to
  4775. respawn. [Skotlex]
  4776. * Added in Lupus's suggestion of not making multi-slot headgears set all
  4777. slot view-ids, which supposedly causes the client to re-draw the headgear
  4778. multiple times on characters. [Skotlex]
  4779. * Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
  4780. [Skotlex]
  4781. * Simplified the Tatami Gaeshi code. [Skotlex]
  4782. * Fixed AS_SPLASHER doing full damage on everyone except targetted char
  4783. instead of the other way around. [Skotlex]
  4784. * Fixed KAENSIN clearing out SUITON cells and viceversa. [Skotlex]
  4785. * The spawn area is now seen as range rather than absolute for mob spawn
  4786. lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around
  4787. the given x,y point. [Skotlex]
  4788. * Some clean up of the mob-spawn code. Now you can specify negative areas,
  4789. so that a spawn location such as 100,150,0,-1 will spawn a mob always on
  4790. x=100, but any Y value of the current map. [Skotlex]
  4791. * Reflected damage will now also have a chance of draining hp/sp. [Skotlex]
  4792. * Adjusted the order in which option/sc change packets are sent to match
  4793. Aegis's [Skotlex]
  4794. * Added script command getpartyleader through which you can retrieve
  4795. various information of a party's leader. See doc/script_commands.txt for
  4796. further information. [Skotlex]
  4797. * mpeg's Ninja work [Vicious]
  4798. * Adjusted Battle_check_target so that alchemist summoned mobs are
  4799. targetted by everyone as long as 1. The top-level master is a player and 2.
  4800. the actual attacker is not a mob-type. [Skotlex]
  4801. * Added config force_random_spawn which overrides the spawn-files defined
  4802. coordinates to make all mobs always spawn randomly on the map. [Skotlex]
  4803. * SC_SPEEDUP0 is no longer dispellable by SA_DISPEL [Skotlex]
  4804. 2006/08/06
  4805. * Updated item_db.sql & mob_db.sql to latest. [Toms]
  4806. * Little fixes on homunc (hp/sp are now saved and init stats changed) [Toms]
  4807. 2006/08/04
  4808. * Added a commented piece of code at the end of clif_parse_LoadEndAck which
  4809. will update your direction to wherever you were facing before warping.
  4810. Should this be the default? Nearby people DO see you facing on the same
  4811. direction before warping, it's only your client that will always see you
  4812. facing north on spawn (the spawn packet does contain direction
  4813. information). [Skotlex]
  4814. * Updated @mobinfo to display slots in the drop information. [Skotlex]
  4815. * Fixed flag.elefix not being respected in battle_calc_misc_damage.
  4816. [Skotlex]
  4817. * Some code cleanups in battle_calc_damage. [Skotlex]
  4818. * Modified bAddItemHealRate so it can receive both item-id and item-group
  4819. values (since the first item-id is +500, there's no risk of mixing them
  4820. up). [Skotlex]
  4821. * Removed settings enemy_critical_rate, homun_critical_rate. Added settings
  4822. enable_critical (defaults to specify only players), mob_critical_rate and
  4823. critical_rate. The last applies to all non-mobs and non-players
  4824. (battle/battle.conf) [Skotlex]
  4825. * Removed settings mob_npc_warp, mob_warpportal. Replaced with setting
  4826. mob_warp which specifies which types of warp can a mob step into
  4827. (battle/monster.conf) [Skotlex]
  4828. * Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out
  4829. of the mastery function so that it may apply to all skills except Soul
  4830. Breaker. [Skotlex]
  4831. * Changed name of the setting log_pick to log_filter since that's what it
  4832. does now. [Skotlex]
  4833. * Modified enable_logs so that instead of a 0/1 setting, you can specify
  4834. which kind of events to log (so you can use a combination), see log_athena
  4835. for the bitmask configuration. [Skotlex]
  4836. * Cleaned a bit the contents of log_athena.conf
  4837. * Hide/Chasewalk will again stop screaming skill name. [Skotlex]
  4838. * Soul Breaker will no longer receive Mastery damage. [Skotlex]
  4839. * Fixed warning:'type' might be used uninitialized in this function [Toms]
  4840. 2006/08/03
  4841. * Added a check to skip the experience share of characters who are dead or
  4842. on another map. [Skotlex]
  4843. * Reverted the previous change, chasewalk has no icon, only the str-bonus
  4844. has that fist icon now. [Skotlex]
  4845. * Allowed chase-walk to display a skill animation when using it. [Skotlex]
  4846. * Readjusted the Chasewalk icon to be as it should be. [Skotlex]
  4847. * GS_DESPERADO is now a short-range attack skill. [Skotlex]
  4848. * Changed the Battle-Orders icon to be the Strength Up icon (for
  4849. Chasewalk's str bonus). [Skotlex]
  4850. * Fixed using the right-hand weapon's size modifiers regardless of which
  4851. weapon's damage was being calculated in regards to. [Skotlex]
  4852. * Simplified the ignore-size check by making the Weapon Perfection check be
  4853. done when specifying the flag, also moved the size-fix property of riding
  4854. spear-knights to status_calc_pc. [Skotlex]
  4855. * Changed SI_CHASEWALK value to 119 as concluded by LoneWolf [Skotlex]
  4856. * Corrected clif.c sending the raw mdef2 value to the client instead of
  4857. first substracting the "secret vit/2" bonus from it. [Skotlex]
  4858. * Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent
  4859. overflows. It is not capped to INT_MAX because damage increasing skills
  4860. would cause it to still overflow afterwards. [Skotlex]
  4861. * Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the
  4862. code. [Skotlex]
  4863. * Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks
  4864. should happen before a mob uses the rude-attacked skill. Value has been set
  4865. to 2 for now. [Skotlex]
  4866. * Now when a mob changes target (to someone they can hit) their
  4867. rude-attacked count won't be reset, but instead will be reduced by one.
  4868. [Skotlex]
  4869. * SC_SPEEDUP0 can now stack with the other speed raising buffs. [Skotlex]
  4870. * Some adjustments so that the last-skill-used will be correctly cleared
  4871. when your combo-time ends. [Skotlex]
  4872. * Fix a bug in atcommand_charspeed [Toms]
  4873. * Fixed a logic error preventing from cooking anything [DracoRPG]
  4874. * Cleaned up the last NJ update code. [Skotlex]
  4875. * Added @ command `charspeed` [Skotlex]
  4876. * Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL [Skotlex]
  4877. * Removed case for GS_SPREADATTACK on damage packets to see if the skill
  4878. displays correctly now. [Skotlex]
  4879. * Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are
  4880. removed, NOT the ones who were already placed. [Skotlex]
  4881. * Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix
  4882. icon-confusion when both are enabled at a time. [Skotlex]
  4883. * Mob rude-attacked count is not reset now on picking a new char (gotta
  4884. investigate this further) [Skotlex]
  4885. * Changed atoi to strtoul for guild-experience's field [Toms]
  4886. * Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
  4887. 2006/08/02
  4888. * Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
  4889. Silence now ONLY blocks skills from being used, it will not stop on-going
  4890. casts. [Skotlex]
  4891. * Updated status_cast_cancel to also include silence (so the cast bar is
  4892. cancelled if you are silenced during it) [Skotlex]
  4893. * Updated the way SC_SILENCE works. From what I remember (from previous
  4894. forum discussions) it: 1- Always blocks skills from being used. 2- Will
  4895. only block a skill when the cast-bar ends IF the skill is targetted. If
  4896. anyone wants to debate to get this changed, make an appropiate forum topic
  4897. in the svn development area to discuss. [Skotlex]
  4898. * Added a check in the walking code when triggering skills.
  4899. NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend
  4900. the walk packet, this effectively causes the mob to start walking
  4901. (clientside) while the cast-bar is showing. [Skotlex]
  4902. * Fixed a logic error on battle_get_master which was causing infinite
  4903. loops.. [Skotlex]
  4904. * Fixed homunculus error message [Toms]
  4905. * Rewrote pc_payzeny to not use doubles, it may more accurately prevent
  4906. charging a player more zeny than they can withhold. [Skotlex]
  4907. * Fixed failing to create Deadly Poison Bottles damaging 50% of your max
  4908. life instead of 25% [Skotlex]
  4909. * Added the missing status-change flags to SC_FREEZE to signal it should
  4910. modify def and magic def [Skotlex]
  4911. * Little add on NJ_HUUMA [Toms]
  4912. * Merged Mpeg's work on Ninja skills [Toms]
  4913. * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex]
  4914. * Now you can teleport in Thanatos Boss room, but you can't respawn there [Playtester]
  4915. * Fixed Defender Raising Walk speed instead of diminishing it. [Skotlex]
  4916. * Added a check on status-change load to prevent loading speed-affecting
  4917. status when their speed adjustment is 0 (prevents division by zero)
  4918. [Skotlex]
  4919. * Code cleanup & optimization on guild part of char-server [Toms]
  4920. * Fixed script code data not being free'd if a player quits in the middle
  4921. of a script. [Skotlex]
  4922. * Modified run_script so that when there are leaks, it will report the
  4923. place where run_script was called from as source rather than the inner code
  4924. of run_script (for debugging purposes) [Skotlex]
  4925. * Made recursive master check the default (otherwise it messes skill -> pet
  4926. -> player kind of herarchies) and cleaned up some the battle_get_master
  4927. code to prevent infinite loops in the weird case someone specifies that
  4928. their master is itself. [Skotlex]
  4929. * Recoded the GuildAura code to use val3 & val4, allowing much greater stat
  4930. bonuses (in case someone wants to get Guild Skill level 20 or something
  4931. crazy like that) [Skotlex]
  4932. * Updated battle_check_target so that all alchemist summoned mobs can be
  4933. target by everyone. [Skotlex]
  4934. * Cleaned up skill_check_condition_mob_master_sub, it will now count both
  4935. total number of summoned mobs and amount that belong to the same type.
  4936. [Skotlex]
  4937. * Corrected AM_CANNIBALIZE so it will fail if you already have plants of
  4938. another type out. [Skotlex]
  4939. * Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
  4940. [Skotlex]
  4941. * Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now
  4942. Volcano/Deluge/V. Gale will get that funky icon instead. [Skotlex]
  4943. * Changed clif_hominfo to receive both sd and hd as parameters
  4944. * Some redundancy cleaning in mercenary.c [Skotlex]
  4945. * Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
  4946. [Skotlex]
  4947. 2006/08/01
  4948. * Miscellanous fixes which make the Marine Sphere self destruction work as
  4949. best as I can. It only has one flaw: It self-destructs instantly after
  4950. walking because if I make it use self-destruction with a cast-bar,
  4951. client-side the object stops moving inmediately... [Skotlex]
  4952. * Modified unit_walktoxy and NPC_RUN to enable running even when the caster
  4953. does not has the MD_CANMOVE bit on. [Skotlex]
  4954. * PF_MINDBREAKER will now silently fail if you try to use it on someone who
  4955. already has the status active. [Skotlex]
  4956. * Cleaned up yet again skill_landprotector, now new cells of
  4957. Deluge/Volcano/V.Gale will delete previous cells when they are recasted on
  4958. top of each other. [Skotlex]
  4959. * Summoned Marine Spheres no longer get the MD_CANMOVE bit. [Skotlex]
  4960. * Cleaned up some more the SC_JAILED code [Skotlex]
  4961. * merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru
  4962. and Coltaro for the code. [Skotlex]
  4963. * Cleaned the code of atcommands jail and unjail [Skotlex]
  4964. * Be warned that the code MAY contain bugs as I adjusted it to save the
  4965. character's position before jailing, allowing the automatic unjailing to
  4966. warp you back to the exact spot you were at before being jailed. [Skotlex]
  4967. * Should have fixed the cooking sets not displaying all cooking available
  4968. items. [Skotlex]
  4969. * Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
  4970. really working. Thanks to Mpeg for noting it out. [Skotlex]
  4971. * Modified Self Destruction, so that Marine Spheres in non-versus maps will
  4972. hurt only enemies, while in all other situations this skill will hurt
  4973. everyone around them. [Skotlex]
  4974. * Expanded setting debuff_on_logout so that &1 removes negative buffs and
  4975. &2 removes positive buffs. [Skotlex]
  4976. * Food status boosts will no longer end on death, but they will end when
  4977. you respawn or logout. [Skotlex]
  4978. * Added battle config file status.conf, moved some settings from skill.conf
  4979. and battle.conf to it since they are entirely Status-Change related.
  4980. [Skotlex]
  4981. * Added the missing lines to enable script command "kickwaitingroomall"
  4982. [Skotlex]
  4983. * Magic Rod's can-act delay will no longer be applied when you absorb a
  4984. spell. [Skotlex]
  4985. * Fixed Don't Forget Me increasing speed instead of decreasing it. [Skotlex]
  4986. * Modified setlabel so that the script engine barks when you are trying to
  4987. use the same label name as a constant or variable name. [Skotlex]
  4988. 2006/07/31
  4989. * Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame
  4990. rankings. [Skotlex]
  4991. * Updated Poison React chance to counter and number of counters as per
  4992. skill description updates. [Skotlex]
  4993. * Fixed Sharpshooting being counted as a magic attack, and hence, using
  4994. your MATK as base damage. [Skotlex]
  4995. * Fixed NPC_STOP id value in skill_cast_db [Skotlex]
  4996. * Bladestop will no longer stop when you push either of the characters
  4997. around. [Skotlex]
  4998. * Fixed Enchant Poison having a near 100% chance of poisoning target on
  4999. attack. [Skotlex]
  5000. * Little fix on duel [Toms]
  5001. * Added possibility to restrict duel usage to same map [Toms]
  5002. * Merged mpeg's fix on ninja skills [Toms]
  5003. * Corrected a status_get_race call which should be status_get_race2 in misc
  5004. attacks. [Skotlex]
  5005. * Moved the Devotion code to the top of the SC list in status_damage,
  5006. meaning that now stuff like being asleep or confused won't end if you are
  5007. hit, but the damage is absorbed by devotion. [Skotlex]
  5008. * Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no
  5009. information of how much the bonus should be, it currently is a conservative
  5010. 10%. [Skotlex]
  5011. * Fixed a possible crash in the main script engine when restoring previous
  5012. script. [Skotlex]
  5013. * Fixed sleep.tick not being set back to 0 before resuming execution, which
  5014. leads to scripts that are continously executed even when they already ended
  5015. (they do nothing but waste resources) [Skotlex]
  5016. * Fixed a pair of free -> aFree used on stacks, which would lead to memory
  5017. manager reporting leaks where there aren't. [Skotlex]
  5018. * Removed incorrect "Waterball range+1 when standing on suiton" feature.
  5019. [Skotlex]
  5020. * Corrected the Speed update code to prevent sending "walk to xy" packets
  5021. twice when the affected character is a player. [Skotlex]
  5022. * Expanded mob can't move warning to print out where this mob was stuck at
  5023. (map, x,y) [Skotlex]
  5024. * Fixed segmentation fault in status_change_end, vd wasn't initialized [Toms]
  5025. 2006/07/30
  5026. * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
  5027. level, so that at level 1 they can attack, use skills and receive no
  5028. walking penalty. [Skotlex]
  5029. * Mob casted Sanctuary will no longer always heal it's targets regardless
  5030. of element/race [Skotlex]
  5031. * Status change packets will now use as criteria for sending the actual
  5032. view_class instead of player/not-player. This will fix status-changes
  5033. displaying improperly on clones, and also possible crashes with disguised
  5034. players. [Skotlex]
  5035. * Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE [Toms]
  5036. * Added bNoMiscDamage setting so you can specify misc-damage blocking from
  5037. skills. Modified battle_calc_damage so that even Pressure and similar
  5038. skills will be affected by this setting. [Skotlex]
  5039. * GS skill updates/fixes [Vicious]
  5040. * Force all users offline in sql when char-server starts [Toms]
  5041. 2006/07/29
  5042. * Removed ugly struct cast in login.c [Toms]
  5043. * New version of buildin_query_sql which accept more than one column and
  5044. can return the number of rows. See script_commands.txt for more details. [Toms]
  5045. * Fixed nullpo in merc_hom_skillup [Toms]
  5046. * Added a return value to buildin_rid2name if rid is invalid [Toms]
  5047. * Made the SQL ping interval default to 7 hours. [Skotlex]
  5048. * Made skill_unitsetting remove the group when no unit-cells were placed
  5049. down. basicly this means that if landprotector blocks all tiles, the group
  5050. will be removed from memory, preventing said group from counting to the
  5051. total number of skills you can set. [Skotlex]
  5052. * Fixed segmentation fault in script engine when calling something which is not a function [Toms]
  5053. * Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
  5054. 2006/07/28
  5055. * Added Ishizu's code to check ammo type on attack. No more using Grenade
  5056. rounds with Guns. [Skotlex]
  5057. * offensive heal/sanctuary will only happen when the source of the heal is
  5058. a player, mob/pet casted heal will now always heal regardless of target.
  5059. [Skotlex]
  5060. * Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
  5061. [Skotlex]
  5062. * Self destruction will now hit all characters in range, not just enemies.
  5063. [Skotlex]
  5064. * Cleaned up the NJ update code: [Skotlex]
  5065. - Restored code which was removed (stuff like SC_SKA)
  5066. - Fixed possible crashes on some NJ skills if used by non-players.
  5067. - Fixed most NJ magic spells doing more damage than they should.
  5068. - Fixed ZenyNage being able to do more damage than zeny you have.
  5069. - Cleaned up skill setting code for Suiton and Kaensin
  5070. * Some cleaning of battle_drain, Evil Druid card should work now. [Skotlex]
  5071. * Made status_damage allow damaging of objects not on a map, this should
  5072. fix pet-catching making the mob never respawn again. [Skotlex]
  5073. * Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same :) [Toms]
  5074. * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
  5075. * Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
  5076. * Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
  5077. * Fixed sign warnings in login/login.c [Toms]
  5078. * Fixed "conversion from 'double' to 'int', possible loss of data" [Toms]
  5079. * Fixed "warning: redefinition of [ushort/uint/ulong]" [Toms]
  5080. * Fixed duplicate case value on NJ_SUITON [Toms]
  5081. 2006/07/27
  5082. * Fixed a memory leak when there exists more than one user function with
  5083. the same name, added the appropiate warning when this happens. [Skotlex]
  5084. * Added reporting source file when an npc shops item's price is
  5085. exploitable. [Skotlex]
  5086. * The picklog will now record negative values for items sold to npcs.
  5087. [Skotlex]
  5088. * Added inmediate position and hp-bar update when a character joins a
  5089. party. [Skotlex]
  5090. * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
  5091. * Added config setting party_update_interval so you can specify how often
  5092. the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]
  5093. * Removed a bunch of broken comments in skill.c [Skotlex]
  5094. * Synced the script.c file with as much data as possible from jA's:
  5095. [Skotlex]
  5096. - A lot of functions were moved around, a bunch of indentation and
  5097. space-usage changes were done to make it easier to diff against their
  5098. files.
  5099. - Miscellanous addition and corrections were applied.
  5100. - Largest one is likely a restructuring of run_script_main, which hopes to
  5101. solve the memory leaks.
  5102. - script engine now uses the setjmp functions to restore memory state when
  5103. there's an error parsing scripts, which means that script errors won't
  5104. cause the map-server to inmediately bail out anymore.
  5105. - NOTE that the amount of changes is pretty extensive, so DON'T USE THIS on
  5106. a live server. Update only to help test and debug to see if the script
  5107. engine memory leaks are gone.
  5108. * Added a cleanup routine on shutdown to remove all characters from memory
  5109. for whom the save ack has not returned from the char-server yet. [Skotlex]
  5110. * Now when you set the guardian's HP, if the guardian is spawned, it's HP
  5111. will be updated accordingly (and if you set it to 0, the guardian is
  5112. killed) [Skotlex]
  5113. * Added functions status_set_hp/status_set_sp to set hp/sp to a given
  5114. value. Applied usage of these on the Berserk and Soul Change code.
  5115. [Skotlex]
  5116. * Added config setting "party_hp_mode" (battle/party.conf) which determines
  5117. method to use to update party-mate hp bars. Aegis style is to update HP
  5118. bars whenever HP changes, while eAthena style is to update it together with
  5119. the map party dots. Defaults to aegis style. [Skotlex]
  5120. * Fixed packet 0x22a having the manner and opt3 packets in inverted
  5121. offsets. [Skotlex]
  5122. * Readded the check which prevents Cloaking from activating when your
  5123. learned level is less than 3 and you aren't next to a wall. [Skotlex]
  5124. * Some cleanups to the Frenzy/Berserk status change, it should probably
  5125. work correctly now. [Skotlex]
  5126. * Removed a redeclared variable i in the parsing of the fame list (char-sql
  5127. server) which seems to be the cause of the random memory corruptions.
  5128. [Skotlex]
  5129. * Updated item_db.sql to latest. [Toms]
  5130. * Fix homunc & code cleanup [Toms]
  5131. - Timer problems on delete_timer
  5132. - Intimacy problem (overflow & new values)
  5133. - Homunc deleted if intimacy < 0
  5134. - base exp is now given to master
  5135. - Homunc sometimes not saved
  5136. 2006/07/26
  5137. * Fixed a memory leak when reading the item_db txt. [Skotlex]
  5138. * Applied the necessary changes to make @partyoption reflect it's changes
  5139. on the alt+p window. [Skotlex]
  5140. * Modified party_item_share_type config setting so that using 1 disables
  5141. item-sharing from non-mob loot (player dropped items or pet loot) and 2
  5142. enables round-robin instead of random sharing. Using 3 obviously is
  5143. enabling both 1 and 2. [Skotlex]
  5144. * Added battle_get_master which returns the master bl of a given object.
  5145. [Skotlex]
  5146. * Recoded battle_check_target to use battle_get_master, the src/target
  5147. switch has been split into two, so that actual target and master target are
  5148. seperately treated (same for source). [Skotlex]
  5149. * Added support for "sc_end -1" which will clear all status changes. Added
  5150. the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
  5151. [Skotlex]
  5152. * @pettalk will now fail when muted. [Skotlex]
  5153. * Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
  5154. 2006/07/25
  5155. * Cleaned up run_script_main to properly free previous stack-data when
  5156. running scripts. Note that scripts may still leak memory when run by
  5157. non-players and they don't reach the "END" state, however I am not sure how
  5158. this case should be handled, so it's left as it is for now. [Skotlex]
  5159. * Added a missing ntohl call in the loginlog code. [Skotlex]
  5160. * Added a check when buying from npcs to allow buying of item_avail items.
  5161. [Skotlex]
  5162. * Fixed duel accept invite sending the packet before the duel data is set
  5163. (resulting in a packet that noone receives). Thanks to Toms for finding it
  5164. out. [Skotlex]
  5165. * Fixed a possible crash when you dual-wield and the total damage is 0.
  5166. [Skotlex]
  5167. * Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
  5168. they convert the txt databases into sql. [Skotlex]
  5169. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
  5170. * Updated the sql files since now it's quick [Skotlex]
  5171. 2006/07/24
  5172. * Re-updated the mob_db.sql to latest. [Skotlex]
  5173. * Cleaned up the skill_landprotector function to correctly block only magic
  5174. skills from being placed on land protectors. [Skotlex]
  5175. * Corrected itemdb_group so that it will not return the random item givers
  5176. (should give priority to actual item groups, so that the item heal bonuses
  5177. work correctly) [Skotlex]
  5178. * Cleaned up the Mistress Card related code so that the no-gemstone bonus
  5179. reduces item requirements by one rather than totally skip them. [Skotlex]
  5180. * Cleaned up the logs "can log"function to use the IT constants. Also
  5181. corrected the "only log large amounts" setting not working on negative
  5182. values (trades). [Skotlex]
  5183. * Adjusted skill_castfix_sc so that Suffragium will get consumed even on
  5184. instant cast skills, but Memorize won't. [Skotlex]
  5185. * BladeStop will now end when either of the characters is moved (knocked
  5186. out?) around. [Skotlex]
  5187. * Moved the Zeny penalty code from respawn to pc_dead. [Skotlex]
  5188. * Added a check to prevent Deluge/Volcano/Violent Gale from being placed on
  5189. top of each other. Reverted the previous 'fix' where atk was being
  5190. increased based on armor element rather than element of attack. [Skotlex]
  5191. * Removed the noreturn mapflag check from script command warp. [Skotlex]
  5192. * Homuculus cleanup [DracoRPG]
  5193. - Replaced nullpo's in parse functions by silent checks
  5194. - Removed server-side effect for menu option 0 (view status window...
  5195. why does the client send us the packet since we don't care? -_-)
  5196. - Rewrote intimacy underflow checks so they are really effective (no
  5197. need to check if an unsigned is < 0, it won't work... check before!)
  5198. * fixed unban unblocking players as well. [Skotlex]
  5199. * Fixed Volcano/Deluge/Violent Gale increasing damage based on element of
  5200. attack instead of defense element of attacker. [Skotlex]
  5201. * Cleaned up the code of Magic Rod, fixed it not giving SP. [Skotlex]
  5202. * Moved the code of Hermod and Basilica to castend_pos2 so it should work
  5203. now. [Skotlex]
  5204. * Modified the code of Ankle Snare so the status ends on unit's time-limit
  5205. rather than when the snared object moves away. [Skotlex]
  5206. * Re-worded the water check of ST_WATER skills. [Skotlex]
  5207. * Allowed sc-cast reductions to be processed even when cast-time is instant
  5208. (to let suffragium end even on instant-cast skills) [Skotlex]
  5209. 2006/07/23
  5210. * Modified setting skillrange_by_weapon (skill.conf) to be a
  5211. per-object-type setting instead of yes/no. The default now is that
  5212. weapon-based skills will take the attacker's range for non-players.
  5213. [Skotlex]
  5214. * Changed the default of skillrange_by_distance to include homunculus.
  5215. [Skotlex]
  5216. * Fixed buildin_isequip not working correctly with non-cards. [Skotlex]
  5217. 2006/07/22
  5218. * Updated mob_db.sql to latest. [Skotlex]
  5219. * Applied Toms's suggested corrections to homun code. [Skotlex]
  5220. * Corrected Cannibalize/Marine Sphere ignoring the selected summon spot.
  5221. [Skotlex]
  5222. * Fixed looting pets ignoring the item pick-up priority of other players.
  5223. [Skotlex]
  5224. * Should have fixed a signess warning in login txt. [Skotlex]
  5225. 2006/07/21
  5226. * Added blocking of @me when muted or in berserk status. [Skotlex]
  5227. * Corrected the @follow timer not being deleted on logout. [Skotlex]
  5228. * Applied the homunculus code fixes provided by Toms. [Skotlex]
  5229. * battle_check_target will now tag homunculus as invalid target when the
  5230. source is a skill-type object. [Skotlex]
  5231. * Added a check on pc_equipitem so that when the client specifies to equip
  5232. a weapon on the right hand when the left hand is available, the weapon will
  5233. be sent to the left hand instead (when dual-wielding is possible,
  5234. obviously). Same for the left/right accessories. [Skotlex]
  5235. * Added the necessary checks so that Suiton makes Fogwall have double
  5236. duration, and to make water-requiring skills to consume their cells.
  5237. [Skotlex]
  5238. * Corrected the loadmap event description to specify that the mapflag
  5239. required is actually "loadevent", NOT "loadmap"! [Skotlex]
  5240. * Now when the char-txt server does not finds a requested party, it will
  5241. clear out said party id of all characters (will help prevent massive
  5242. spamming/overhead when for some reason the party file needs to be deleted).
  5243. [Skotlex]
  5244. * Combo skills (inf = self, inf2 = no target self) no longer check range if
  5245. you use them while your attack-timer is still active. [Skotlex]
  5246. * Added back a map_freeblock call in skill_delunitgroup which caused a
  5247. memory leak when removed... [Skotlex]
  5248. * Added a check to prevent Blind from ending while standing on a fog of
  5249. wall. [Skotlex]
  5250. * The mob Slave ai will be executed now even when the slave has a target.
  5251. This will allow for "instant" warping to the master when it changes maps or
  5252. teleports. if the slave has a target already, it won't unlock it and chase
  5253. back to the master or anything like that. [Skotlex]
  5254. * Removed a couple of checks that prevents item ids above 20000. However,
  5255. remember that the max id is still ~32k or the client is the one who's gonna
  5256. crash! [Skotlex]
  5257. 2006/07/20
  5258. * Added source reporting when you do an invalid int&str or str&int
  5259. operation on a script. [Skotlex]
  5260. * Fixed the intif party creation packet having the incorrect size sent,
  5261. hence causing the leader's level to be read as garbage (which caused the
  5262. "impossible to even share" bug). [Skotlex]
  5263. * Added pc_check_weapontype to do a proper skill weapon check that takes
  5264. into account dual-wielding. That is, if a skill can be used with
  5265. daggers/axes, you'll be able to use the skill when dual-wielding them.
  5266. [Skotlex]
  5267. * Corrected Cloaking level 1-2 not letting you move across walls. [Skotlex]
  5268. * updated cloaking code so that when you set "enable cloaking without
  5269. walls", the code will consider you as "always next to a wall", thus you get
  5270. the wall-speed bonus always. [Skotlex]
  5271. * Applied the fix to homunculus name saving... [Skotlex]
  5272. * Added battle config settings agi_penalty_target and vit_penalty_target,
  5273. they define which object types will get vit/flee reductions when
  5274. multi-targetted and defaults to only players (battle/battle.conf) [Skotlex]
  5275. * Added the dummy intravision case for the changeoption packet 0x229
  5276. [Skotlex]
  5277. * Corrected Fog of Wall so that all targetted offensive skills (not only
  5278. those who do damage) will fail on cast-end 75% of the time. [Skotlex]
  5279. * corrected @homlevel up and one entry in the homun exp table as reported
  5280. on the forums by Albator. [Skotlex]
  5281. * Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
  5282. * Added a status_check_skilluse on skill_attack_area call to prevent splash
  5283. damage skills from hitting hidden/trickdead/etc characters. [Skotlex]
  5284. * Corrected fog of wall to behave as best known currently: [Skotlex]
  5285. - Only takes effect when targetting a character inside it
  5286. - -50hit/-75% damage when using normal-ranged attacks
  5287. - -25% damage from all damage skills
  5288. - 75% chance of all targetted damage skills of failing.
  5289. * Should have fixed @refine applying multiple times to equipment that uses
  5290. multiple equip slots. [Skotlex]
  5291. 2006/07/19
  5292. * Fixed the inf code update breakage which was blocking all offensive
  5293. skills. [Skotlex]
  5294. * Added battle setting homun_critical_rate (defaults to 0) [Skotlex]
  5295. * Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
  5296. enable_perfect_flee which specifies which objects can have perfect flee and
  5297. enable_baseatk which specifies which objects can have a base attack value
  5298. (both in battle.conf) [Skotlex]
  5299. * Modified the targetted skill logic to enable offensive skills to be
  5300. targetted at party/guild members if the appropiate inf2 value is set.
  5301. [Skotlex]
  5302. * Added checks to make adding items to inventory/cart fail when a char is
  5303. in finalsave state. [Skotlex]
  5304. * Fixed parse_names on irc.c crashing when receiving a null argument.
  5305. [Skotlex]
  5306. * Modified the parsing of the names line, since some servers will send @
  5307. instead of = when separating the information. [Skotlex]
  5308. * Fixed the homun creation sql statement. Why noone else did so before?
  5309. [Skotlex]
  5310. * When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it
  5311. will use clearchar and spawn packets instead of changeoption. Thanks to
  5312. Toms for the fix. [Skotlex]
  5313. * Corrected Trim chars to block 'enter', as explained by the Ultra mage.
  5314. [Skotlex]
  5315. * When the client passes account version 0, the login server will set it to
  5316. 1 now. [Skotlex]
  5317. * Corrected the HP bar scaling when HP is above Short Max. It should
  5318. display fine for any HP value now. [Skotlex]
  5319. * Added a check when the mob's adelay is shorter than the amotion, in which
  5320. case the adelay will be changed to the amotion value. [Skotlex]
  5321. * Some minor mapflag changes. [MasterOfMuppets]
  5322. 2006/07/18
  5323. * Added atcommand @partyoption, lets you alter the party item-distribution
  5324. type on the go. Usage is "@partyoption <pickup share> <item distribution>",
  5325. where both arguments can be 0/1, yes/no, etc. [Skotlex]
  5326. * Updated @changeleader and @partyoption to use msg_Athena entries.
  5327. [Skotlex]
  5328. * Added character 013 (enter) to the list of characters that are always
  5329. removed from new character names. [Skotlex]
  5330. * Fixed a crash when trying to extend TK's infinite combo feature. [Skotlex]
  5331. * Corrected Poison React to counter regardless of distance, and to use the
  5332. skill's 50+5*lv% counter chance (instead of 100%). [Skotlex]
  5333. * Corrected Venom splasher's splash damage [Skotlex]
  5334. * You now can't move/attack/use-skills when using Cloaking of a level less
  5335. than 3 [Skotlex]
  5336. * Fixed compilation of mercenary.c [Skotlex]
  5337. * Corrected Fog of Wall's "targetted spells fail 75% of the time" feature
  5338. by making it behave like GTB, that is, you just get a skill-failed on
  5339. cast-end, no skill-animation at all. [Skotlex]
  5340. * Added a proper check to make aggressive mobs never override homun targets
  5341. regardless of distance. [Skotlex]
  5342. * Removed a bunch of homun-related variables that are not needed at all.
  5343. The alive condition is removed, now the code checks for the hp value to
  5344. know if the homun is alive or not. [Skotlex]
  5345. * Cleaned up a bit the skill-id function, homun skill checks (such as delay
  5346. and skill-lv learned) should be correct now. [Skotlex]
  5347. * Added a proper check to make aggressive mobs never override homun targets
  5348. regardless of distance. [Skotlex]
  5349. * Fixed giving the 100% damage bonus when no-splash-targets are found in
  5350. the blown path to Grandcross instead of Bowling Bash. Bowling Bash damage
  5351. equation becomes then +50*lv% rather than +40*lv% when there's no
  5352. splash-damage (the 50*lv% figure is custom, all we know is that level 10
  5353. does 600% instead of 500% damage). [Skotlex]
  5354. 2006/07/17
  5355. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  5356. * The char-server will allow off-line character saves when said char is
  5357. tagged for final-save (this is the scenario when the char-map reconnect).
  5358. [Skotlex]
  5359. * Should have fixed the Cart Termination damage code to be scaled correctly
  5360. when you change the max cart weight. Thanks to The Ultra Mage for the error
  5361. clarification. [Skotlex]
  5362. * Implemented Grandcross weird property where if there's noone on the path
  5363. it'll hit twice for the skill's reported damage, and when there is (or you
  5364. can't knockback the target) it'll do a splash attack that hits twice for
  5365. 500% to all affected targets. [Skotlex]
  5366. * Some cleaning of the combo code. TK Rankers will now get their combo-time
  5367. extended each time they trigger a kick, enabling them to do "unlimited
  5368. combos". [Skotlex]
  5369. * Modified the autosave function to use a sweep across the player db
  5370. instead of across connected clients. This will cause non-connected players
  5371. (like autotraders) to also be saved on a regular interval, may help with
  5372. possible data-loss from said characters on unclean shutdowns. [Skotlex]
  5373. * Removed the code that forces aggressive mobs to go after a Homun instead
  5374. of their master (no reason why there should be such a condition). [Skotlex]
  5375. * Some sign quest map flag updates [MasterOfMuppets]
  5376. * atcommand_follow is now more verbose. [Adam]
  5377. * Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
  5378. * Orn's fix to the very critical skill level up bug [DracoRPG]
  5379. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  5380. * Added Orn's lil fix on homun [Vicious]
  5381. * Added Homunculus system, enjoy! [orn aka Nylou]
  5382. - WARNING: This currently only works with the SQL version, as the TXT char-server
  5383. has no code for it at the moment. You TXT server won't break, but the char-server
  5384. will complain of an unknown packet if you try to get an Homunculus
  5385. * Updated nomemo mapflags based on info from http://ro.doddlercon.com/images/memo.jpg [Poki#3]
  5386. 2006/07/15
  5387. * Small change in conf/battle/player.conf to say that 199 is max aspd allowed
  5388. (Haplo says that there are many reports of having over 200 is giving errors) [Evera]
  5389. 2006/07/13
  5390. * Kaahi no longer shows the heal effect to everyone. [Skotlex]
  5391. * Eska no will cause defense to change randomly every second. [Skotlex]
  5392. * Tuned up some more NJ_KAENSIN based on Tharis's information. [Skotlex]
  5393. * Corrected NJ_KAENSIN as per description. [Skotlex]
  5394. * Fixed a leaking map_freeblocklock on skill_del_unitgroup. [Skotlex]
  5395. * Changed the default save interval to 5 minutes. Added support for
  5396. specifying fixed save-intervals by using negative values. [Skotlex] EG:
  5397. - Save interval set to 300 (5 minutes): all characters will be saved in
  5398. equal time-slots, so that everyone is saved every 5 minutes regardless of
  5399. number of players online.
  5400. - Save interval set to -1000 (1000 ms): One character will be saved every
  5401. second, regardless of amount of characters online.
  5402. The new fixed-time-slots method is meant for larger servers, so that they
  5403. can control the saving-induced stressed on the char-server.
  5404. * Fixed @storeall and @charstoreall failing when the target character
  5405. already had the storage open. [Skotlex]
  5406. * Reverted temporarily the Cart Termination equation until it can be
  5407. fixed... [Skotlex]
  5408. * Fixed script command "recovery". [Skotlex]
  5409. 2006/07/12
  5410. * Fixed a small typo in my code [Zido]
  5411. * Added negative value in bonus exploit fix for more stat bonuses [Zido]
  5412. * Fixed exploit in pc_bonus there are no checks that check that the value being
  5413. added onto a status don't make it go below zero, which means if you have a mineral
  5414. card and reset stats it reduces your base attack to lower than zero, making it
  5415. go up to 64000. Fixed by adding a check for SP_BASE_ATK, although i recommend
  5416. doing it for other status bonuses also [Zido]
  5417. * Recoded NJ_BAKUENRYU to behave as I understand it best from the
  5418. skill-description (since Haplo told me this skill doesn't really has video
  5419. information or anything...) [Skotlex]
  5420. * Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path"
  5421. calls. The skill should be working correctly now, except for the fact that
  5422. the correct "unit id" is missing (this is what would give the ground tile
  5423. it's correct display). Temporarily it is using 0xba until the correct value
  5424. is found. [Skotlex]
  5425. * Added back the undead check to turn undead/resurrection to prevent
  5426. damaging non-undead targets, removed it from the battle damage section.
  5427. [Skotlex]
  5428. * Resurrection will now silently fail when used on non-undead + not-dead
  5429. characters. [Skotlex]
  5430. * Poem of bragi/magic String's base delay reduction at level 10 (or above)
  5431. is now 50% instead of 3*lv%. [Skotlex]
  5432. * status_damage will no longer fail when the target is not on a map AND the
  5433. flag is 2 (charge rather than damage). Fixes SP-draining status changes
  5434. ending suddenly when in-between maps. [Skotlex]
  5435. * Fixed the IP value being apparently incorrectly casted before inserting
  5436. into the loginlog table on "connect success" events. [Skotlex]
  5437. * Fixed Cart Termination's damage. [Skotlex]
  5438. * Added the missing check to remove character from memory when logging out
  5439. and using the charsave_method which saves character map-server-side.
  5440. [Skotlex]
  5441. 2006/07/11
  5442. * Fixed inverted check which was preventing you from buying more than 1
  5443. from any stackable item.... [Skotlex]
  5444. * Should have fixed the crash in intif gm message... [Skotlex]
  5445. * Fixed GTB card only working while you had a status-change active.
  5446. [Skotlex]
  5447. * Fixed being unable to compound cards in armor. [Skotlex]
  5448. * Made @monsterignore be an universal ignore. Means you cannot be targetted
  5449. as an enemy by anything. Also added alias "@battleignore" which does the
  5450. same as monsterignore. [Skotlex]
  5451. * Fixed magic power setting your min matk as max-matk. [Skotlex]
  5452. * Modified the packets involved in @fakename in hopes it'll refresh
  5453. correctly on nearby clients now. [Skotlex]
  5454. * Fixed clif_parse not checking for func_parse before sending data to the
  5455. connected clients. This in turn required various code-rewrites in: [Skotlex]
  5456. - duel related messaging functions (added clif targets DUEL/DUEL_WOS).
  5457. - intif whisper to gm function
  5458. - day/night timers
  5459. - Rewrote the parse_console function to stop allocating/deallocating memory
  5460. on every call.
  5461. - Modified chrif_charselectreq to receive the player's ip among the data.
  5462. * Added function clif_disp_message, which is the same as
  5463. clif_disp_onlyself, except you can specify the targets (it sends a
  5464. guild-chat packet) [Skotlex]
  5465. * Fixed the subele bonus (elemental reduction) being applied to the element
  5466. of the attacker instead of the element of the attack. [Skotlex]
  5467. * mob skills now won't trigger on unit_stopwalking calls. [Skotlex]
  5468. * Coded @reset. [Skotlex]
  5469. * Reenabled @changesex [Skotlex]
  5470. * Added function pet_create_egg which handles creating pet eggs correctly
  5471. (when passed item id is indeed a valid petegg). Applied this on @createitem
  5472. and getitem. [Skotlex]
  5473. * Cleaned up code of @item [Skotlex]
  5474. * Cleaned up the itemdb_isequip functions. itemdb_isequip will now return
  5475. if the item is equipable by players, itemdb_isstackable returns if the item
  5476. can be stacked, and itemdb_isidentified returns if the item should drop
  5477. identified. [Skotlex]
  5478. * Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given
  5479. item has "invalid" cards, added define function itemdb_isspecial to
  5480. simplify this check. [Skotlex]
  5481. * Removed itemdb.c considering item ids above 20000 as invalid. [Skotlex]
  5482. * Cleaned up script commands getitem and card-counting related ones.
  5483. [Skotlex]
  5484. * Cleaned up a bit more pc_isequip [Skotlex]
  5485. * Added script function warpportal(x,y,targetmap$,targetx,targety).
  5486. This creates warp portals as in the skill unit as a volatile alternative
  5487. to static warp portals. [blackhole89]
  5488. * Modified the login-sql server to do the ip-ban check only on the
  5489. auth-packets instead of on every packet. [Skotlex]
  5490. 2006/07/10
  5491. * Corrected Warp Portal being unable to warp people who are standing on it
  5492. on the moment it triggers. [Skotlex]
  5493. * Fixed @follow stopping the moment you are warped. [Skotlex]
  5494. * Fixed pc_additem messing with the equip field of the passed item data.
  5495. Fixes the famous "equip stuff on your arrow slot" bug. [Skotlex]
  5496. * Fixed cart-termination crashing the server if you used level 16 of it.
  5497. [Skotlex]
  5498. * Fixed check_connect_login_server check in char-sql server. Fixes
  5499. char-server not reconnecting to the login server. [Skotlex]
  5500. * Login-sql server will no longer change an account's state to "7" when
  5501. banning a player. This should fix being able to use @ban to clear out a
  5502. @blocked player. Players will now be identified as banned only through the
  5503. banned-until timestamp. [Skotlex]
  5504. * Fixed a crash when using Gospel... [Skotlex]
  5505. * The on-place function won't be invoked on setting ground skills if the
  5506. group's tick is greater than the current tick. As Buuyo pointed out, this
  5507. should fix Sanctuary and Gospel taking effect inmediately instead of after
  5508. "x" amount of ms as they should. [Skotlex]
  5509. * Added login-char packet 0x2737. Sets all characters offline (login-server
  5510. side). [Skotlex]
  5511. * Cleaned up char server "set all offline" implementation to remove only
  5512. characters from the map-server from which the packet was invoked. It will
  5513. also now correctly kick/set-character offline from the map-server if they
  5514. are connected. [Skotlex]
  5515. * Cleaned up the char-sql reconnect code. It no longer sets everyone to
  5516. offline. [Skotlex]
  5517. * Removed setting "kick_on_disconnect", servers will no longer kick
  5518. characters out when there's a disconnection. Instead, it'll use the most
  5519. logical approach: Set characters into a "lost" state when there's a
  5520. disconnection, on reconnect, resent the list of online-characters, do a
  5521. sync, and let the difference be characters to be removed. Also, the
  5522. map-server won't release character data until it's saved and the ack
  5523. returns from the char-server to prevent data loss (all this data is resent
  5524. on reconnect for saving anyway). [Skotlex]
  5525. * Added a check in pc_equipitem so that when switching weapons and you have
  5526. the skill_range_by_weapon setting active, the skill info block (which
  5527. includes range) will be resent when the new weapon to equip has a range
  5528. different than the previous one. [Skotlex]
  5529. * One closer inspection, removed that clear in itemdb_reload for a foreach
  5530. call again. And modified itemdb_load to scrap the dummy item entry from the
  5531. item_db and replace it with proper data for the item. [Skotlex]
  5532. * itemdb_reload will clear the itemdb before reloading info instead of only
  5533. clearing the scripts now. [Skotlex]
  5534. * Some cleaning of skill_castend_pos2, fixed Gospel, and a
  5535. map_freeblock_unlock misplacement. [Skotlex]
  5536. * Sense/Estimation will now display the mob info window to all party
  5537. members in the same map. [Skotlex]
  5538. 2006/07/08
  5539. * Fixed the new addeff structure not working well with SC_STONE (because
  5540. SC_STONE is 0, which was by default not handled as a valid value).
  5541. [Skotlex]
  5542. * Added back the TF_MISS walking speed bonus to assassin type classes (how
  5543. did that got lost?) [Skotlex]
  5544. * Fixed mobinfo displaying exp as signed ints rather than unsigned.
  5545. [Skotlex]
  5546. * Added status_check_visibility to check if an object is within range of
  5547. view of another. Nothing more, nothing less. It's used by unit movement to
  5548. check whether you can continue chasing your target or not when the "chase
  5549. target" directive is given. [Skotlex]
  5550. * Fixed the char table having party/guild_id as smallint when they need int
  5551. there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
  5552. [Skotlex]
  5553. * Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
  5554. [Skotlex]
  5555. * Fixed endow skills calling the skill no damage packet twice. [Skotlex]
  5556. * Fixed a crash on warpwaitingpc when the chat-room is empty. [Skotlex]
  5557. 2006/07/07
  5558. * Fixed the Warm Skills [Skotlex]
  5559. * Removed the debug message when a player logs out and is removed from
  5560. memory, it is working fine (tested normal logging off and autotrade). [Skotlex]
  5561. * Corrected the pet-armor field of the pet not being updated on
  5562. equip/unequip of accessories, making them not show up inmediately. [Skotlex]
  5563. * Status_calc_bl will no longer stop you from attacking/walking when the
  5564. mode is changed unless the new mode no longer includes
  5565. "can-attack"/"can-move" respectively. [Skotlex]
  5566. * Should have fixed clif_item_sub to properly store pet egg/armor data.
  5567. There should be no more "random refine levels" bugs related to these.
  5568. [Skotlex]
  5569. * itemdb_exists will now return NULL for item_id 0. [Skotlex]
  5570. * Added a check to free a character from memory when changing map servers.
  5571. [Skotlex]
  5572. * Okay, added a chrif_save_ack packet to the char-server so now the map
  5573. server will know once a character was "final saved", and only then the
  5574. character will be removed from memory. On char-server reconnection, all
  5575. chars that are in final-save state are resent to save (if they are still in
  5576. memory, it's because the ack hasn't gotten here from the char-server). This
  5577. should effectively block all dupe problems due to heavy inter-server lag,
  5578. however as it's untested, it currently prints some debug messages when
  5579. people are saved and then removed from memory. Need testers so this can be
  5580. debugged and merged to stable! [Skotlex]
  5581. * Now, when the login-char connection is cut, the char-server won't set
  5582. everyone offline on reconnect, instead it will send the list of online
  5583. accounts to the login server. [Skotlex]
  5584. * Modified the error on the char-sql server to set chars online when it
  5585. receives a save packet from a character tagged as offline (until it can be
  5586. figured out why this is happening) [Skotlex]
  5587. * Fixed signed/unsigned comparison issues in the char txt/sql server.
  5588. [Skotlex]
  5589. * Fixed the cooking success chances. Thanks to Ishizu Chan. [Skotlex]
  5590. * Added a temporary band-aid to prevent executing the script of non-arrows
  5591. when they are equipped on the arrow-slot (until the actual cause of why
  5592. pc_unequipitem is not working correctly is discovered/fixed) [Skotlex]
  5593. 2006/07/06
  5594. * Modified the party_data structure on the map server to remove some
  5595. redundant data. Added a party_data structure on the char-server to hold a
  5596. more complete set of information about parties. Added to the party_member
  5597. structure the class of each member so that the map server can do the
  5598. appropiate checks even if the character is on another mapserver/offline.
  5599. Due to the format changes in the party structure, txt servers will have to
  5600. wipe their party file... (sql save format has not been changed) [Skotlex]
  5601. * Added function char_family to check if there's a family state given the
  5602. three character ids, instead of doing individual checks all the time.
  5603. [Skotlex]
  5604. * Rewrote all the item restriction functions so that they will take into
  5605. account slotted card restrictions as well. [Skotlex]
  5606. * Added no_skill_delay setting, when set, affected object types will have
  5607. the minimum skill delay for all skills. Defaults to mobs, since they
  5608. don't have skill delays. [Skotlex]
  5609. * Cleaned up pc_equipitem. When dual wielding or equipping accessories, if
  5610. the client actually specifies one of the two positions, it will be taken
  5611. into account (now, does the client actually does this?) [Skotlex]
  5612. * Fixed GrandCross and similar skills. [Skotlex]
  5613. * FogWall will now also affect the caster. [Skotlex]
  5614. 2006/07/05
  5615. * Updated NJ_KAENSIN by Saycyber21 [Vicious]
  5616. * Updated @refine to take account of MAX_REFINE, thanks to Omega... GM
  5617. Designer. [Skotlex]
  5618. - Also optimized the @refine loop for better performance.
  5619. 2006/07/04
  5620. * Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
  5621. * Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
  5622. * Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
  5623. 12*(cooking set-lv)%. Exception: When using the legendary cooking set,
  5624. success chance is 100% regardless of dish. [Skotlex]
  5625. * Added battle config setting emergency_recall, specifies behaviour of that
  5626. skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 -
  5627. Can be used everywhere. [Skotlex]
  5628. * Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can
  5629. come out or not is entirely decided by the abra db file now. [Skotlex]
  5630. * Added structure s_addeffect to handle status change additions. Cleaned up
  5631. relevant code. It is now possible to specify ANY status change, not just
  5632. the basic ones. NOTE that the code is proof-read, but untested! [Skotlex]
  5633. * Added support for bonus3 bAddEff/bAddEffWhenHit as follows: [Skotlex]
  5634. bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  5635. Target flag is 0: Self. 1: Enemy. 2: Both.
  5636. * Added these descriptions to doc/item_bonus.txt [Skotlex]
  5637. * Added a check when joining a chat to make sure the target object is of
  5638. type BL_CHAT. [Skotlex]
  5639. 2006/07/03
  5640. * Cleared up the bAutoSpellWhenHit description in doc/item_bonus.txt
  5641. [Skotelx]
  5642. * Fixed Phantasmic Arrow and Magical Bullet not being correctly tagged as a
  5643. ranged arrow-type attack. [Skotlex]
  5644. * Updated help.txt and help2.txt, thanks to Inuyasha for providing the
  5645. updated files. [Skotlex]
  5646. * Char-server SQL won't perform the reconnect cleanup routines when
  5647. kick_on_disconnect is disabled. [Skotlex]
  5648. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  5649. setting now only makes the attacks of the slaves trigger the autospells of
  5650. the master (as it should be). [Skotlex]
  5651. * Corrected code capping no_spawn_on_player to 50 when the max should be
  5652. 100. [Skotlex]
  5653. * Warmth will dispel when warping now (or else the effect is left on the
  5654. ground) [Skotlex]
  5655. * Fixed reading of the refine_db not working right when MAX_REFINE is
  5656. increased from 10. [Skotlex]
  5657. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  5658. * Fixed a compile warning in login sql/txt [Skotlex]
  5659. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  5660. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  5661. [Skotlex]
  5662. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  5663. [Skotlex]
  5664. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  5665. skills. [Skotlex]
  5666. 2006/06/30
  5667. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  5668. * Added a check to prevent equipped items from being traded. [Skotlex]
  5669. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  5670. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  5671. cells. Beware of potential bugs as it's untested. [Skotlex]
  5672. * Added mapflag "nochat" to prevent chatting rooms from being created.
  5673. [Skotlex]
  5674. * Corrected some of the sleep checks when the char id does not matches with
  5675. the char-id expected by the script engine. [Skotlex]
  5676. * Cleanup in itemheal related code, fixed the item heal group bonus not
  5677. working on Groups beyond 7. [Skotlex]
  5678. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  5679. 2006/06/29
  5680. * Made the map server send list of characters online to the char-server on
  5681. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  5682. temporary disconnection would make the char-server tag all characters
  5683. offline and refuse to save them afterwards. [Skotlex]
  5684. * Fixed guild storage being "eternally in use" if you quit/logout before
  5685. closing it. [Skotlex]
  5686. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  5687. [Skotlex]
  5688. * [Fixed]
  5689. - Scripting system screwing up script position after mixing timers with menus.
  5690. - NPC attached AI mobs display as alive when dead.
  5691. - View data not updating after buildin_unitdeadsit.
  5692. [Improved]
  5693. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  5694. - Simplified scripting system. sd will now use pointer to the script state itself.
  5695. [Lance]
  5696. 2006/06/28
  5697. * changed:
  5698. dynamic_pass_failure_ban_how_many:from 3 to 7
  5699. dynamic_pass_failure_ban_how_long:from 60 to 5
  5700. as in official servers. [Musashiden]
  5701. * Added a check in script command "set_option" so that invoking
  5702. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  5703. * Added trade-range check on trade start. [Skotlex]
  5704. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  5705. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  5706. to be used on enemies. [Skotlex]
  5707. * Cleaned up a bit the code for @item [Skotlex]
  5708. * Fixed character/storage being sent to be saved TWICE when you logged out
  5709. while the storage is opened. [Skotlex]
  5710. * Added save_settings map config. Specifies after which events do
  5711. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  5712. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  5713. [Skotlex]
  5714. * Changed the mob drop rate adjust function to receive a signed int
  5715. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  5716. * Corrected Musical Strike having a different damage equation from Throw
  5717. Arrow. [Skotlex]
  5718. * Added state rewarp to players. It gets set when a pc_setpos call is
  5719. triggered while the player is changing maps so that when the player finish
  5720. loading the map, it is inmediately rewarped to where it has been
  5721. rewarped/recalled to. [Skotlex]
  5722. 2006/06/27
  5723. * Map server will now resent the whole list of online characters to
  5724. char-server on reconnect when the kick_on_disconnect setting is active.
  5725. [Skotlex]
  5726. * Cleaned up and optimized the IP sync code. New login_athena config
  5727. setting sync_ip_interval specifies how often to sync the ip. The default is
  5728. 0 (disabled). [Skotlex]
  5729. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  5730. on maps with this mapflag on, rather than every map. [Skotlex]
  5731. * High Jump can now be used in all versus maps. [Skotlex]
  5732. * Added Kaite's opt3 value, taken from jA [Skotlex]
  5733. * Added state dirty == 2 to storages. Signals when a storage was sent for
  5734. final saving. Said storage is removed from memory after the ack from the
  5735. char-server, and they are sent to save if the map/char servers reconnect
  5736. before the ack arrives. In short: they are guaranteed to be saved after a
  5737. char logs out. [Skotlex]
  5738. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  5739. 2006/06/26
  5740. * Corrected the element of hunter traps. [Skotlex]
  5741. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  5742. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  5743. [Skotlex]
  5744. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  5745. * Rough implementation of Ground Drift according to description and jA
  5746. info. [Skotlex]
  5747. * Implemented Tatami Gaeshi using skill description and jA implementation
  5748. for reference. [Skotlex]
  5749. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  5750. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  5751. Meruru for pointing out they aren't being used anymore. [Skotlex]
  5752. * Autospells will now again check for the skill's nk value, so that skills
  5753. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  5754. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  5755. equipment (fixes them showing up "broken" and with random refine levels)
  5756. [Skotlex]
  5757. * [Added]:
  5758. - buildin_unitkill just for kicks. [Lance]
  5759. 2006/06/23
  5760. * [Optimized]:
  5761. - Setting of variables with defined scope in some frequently executed script
  5762. events.
  5763. [Added]:
  5764. - Missing script_require_trigger flags for some power hungry events.
  5765. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  5766. * Modified pc_setoption so that it will correctly update sprite AND clothes
  5767. color when mounting/unmounting changing into/from xmas/wedding sprites.
  5768. [Skotlex]
  5769. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  5770. to be sold, traded, dropped, etc. [Skotlex]
  5771. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  5772. and before card reductions. The skill now completely disregards left
  5773. hand weapon. [Skotlex]
  5774. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  5775. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  5776. * Cleared up the comment on what item_check does and how it works.
  5777. [Skotlex]
  5778. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  5779. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  5780. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  5781. to forbid skills from common maps. [Skotlex]
  5782. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  5783. * The map search free cell will now use the size of the map # of tries
  5784. before giving up when the spawn area is the whole map. Added a check to
  5785. inmediately give up when the number of spawn retries has reached the max
  5786. specified (no_spawn_onplayer = 100). [Skotlex]
  5787. * Cleaned up a bit the clone code to account for the unit flags
  5788. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  5789. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  5790. * Added pc_bonus_autospell_del, gives support for removing autospell
  5791. effects. When a negative rate is specified, it will decrease the chance of
  5792. casting (eg: You have two different cards with autospell Heal +20% each,
  5793. then do autospell -30. The second card will be cancelled, and the first one
  5794. will become Heal +10%) [Skotlex]
  5795. * npc_timers now will not restore the previous timer data when there's no
  5796. players attached (when it's strictly an npc timer). This should reenable
  5797. the old behaviour of getnpctimer returning the total ellapsed time since
  5798. "startnpctimer" even after the last label has been reached. However, this
  5799. behaviour won't apply to player-attached timers. [Skotlex]
  5800. * [Fixed]:
  5801. - MAPREGSQL overloading SQL table with temperory map registries.
  5802. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  5803. 2006/06/22
  5804. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  5805. This should complete the required packets for PACKETVER 7. [Skotlex]
  5806. * Added support for the PACKETVER 7 packets in the "dummy" current
  5807. intravision implementation. [Skotlex]
  5808. * Fixed @autoloot being off by 0.01% when entering a manual value.
  5809. [Skotlex]
  5810. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  5811. each target is hit N times (where N is the number of mobs in the splash
  5812. area at the moment of triggering). [Skotlex]
  5813. * Updated the tools/stackdump script to also handle sig-plugin generated
  5814. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  5815. the end or not. Help me test it as I want this script on stable NOW :X
  5816. [Skotlex]
  5817. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  5818. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  5819. stackdump as before. [Skotlex]
  5820. * Corrected autoloot so that you can specify rate with decimal precision
  5821. ("@autoloot 0.01" should work) [Skotlex]
  5822. 2006/06/21
  5823. * [Removed]:
  5824. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  5825. * [Fixed]:
  5826. - Compilation warnings and errors.
  5827. [Improved]:
  5828. - Changed and moved IP sync status messages to elaborate more. [Lance]
  5829. * Tested and fixed resolve_hostbyname. Applied said function around most of
  5830. the code where needed. Removed includes for the OS/network system pretty
  5831. much from every file (our socket.c file should handle this) [Skotlex]
  5832. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  5833. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  5834. [Skotlex]
  5835. * status_percent_change will now account for when the target's max hp/sp is
  5836. above INT_MAX. [Skotlex]
  5837. * [Added]:
  5838. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  5839. 2006/06/20
  5840. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  5841. really ARE the same value clientside! (totally stupid), therefore I've
  5842. opted from removing the flying animation since it really just displays as
  5843. Xmas for others (and the correct fix involves adding a bunch of
  5844. class-change packets...) [Skotlex]
  5845. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  5846. Fling. [Skotlex]
  5847. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  5848. in skill_check_condition, fixed the skill so that it's damage is based on
  5849. whatever zeny is specified in skill_require_db. [Skotlex]
  5850. * Can-act delay will not be reset when warping now. [Skotlex]
  5851. * Fixed Quagmire not altering walking-speed. [Skotlex]
  5852. * Silence now blocks skills both on begin/end casting. [Skotlex]
  5853. * Updated status_calc_bl so that when walking speed changes, the character
  5854. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  5855. 2006/06/19
  5856. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  5857. * Combo-used Skills with State "move_enable" will now override the "can't
  5858. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  5859. * Some more cleanups of battle_calc_damage to account for absorbed damage
  5860. reductions. [Skotlex]
  5861. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  5862. Now we are back to where the skill animation does not shows, but you DO
  5863. get SP T.T' [Skotlex]
  5864. * Some cleanups and corrections in battle.c to account for negative
  5865. (absorbed) damage. [Skotlex]
  5866. * Fixed fame-list updating crashing char-sql server when the given char-id
  5867. just got into ranking. [Skotlex]
  5868. * Added missing Arunafeltz maps with information from NLZ [Evera]
  5869. 2006/06/18
  5870. * [Fixed]:
  5871. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  5872. filling the SkillStatusChangeTableArray with junk data.
  5873. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  5874. - Typo in parse_frommap. [Lance]
  5875. * [Fixed]:
  5876. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  5877. * [Temperory Fixed]:
  5878. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  5879. * [Removed]:
  5880. - Large part of scripted mob control commands are removed.
  5881. - Large part of scripted player control commands are removed.
  5882. - Scripted mob slaves changing master ID.
  5883. [Added]:
  5884. - Unit control commands.
  5885. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  5886. - Macro RECURSIVE_MASTER_CHECK in battle.c
  5887. [Modified]:
  5888. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  5889. and buildin_unitskillusepos.
  5890. - md->callback_flag to short (double word). [Lance]
  5891. 2006/06/17
  5892. * Devotion absorbed damage will now appear to come from oneself (instead of
  5893. the original attacker changing directions towards the Crusader) [Skotlex]
  5894. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  5895. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  5896. someone logs out <.< [Skotlex]
  5897. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  5898. * [Added]:
  5899. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  5900. [Improved]:
  5901. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  5902. - mob_script_callback to return sucess value [Lance]
  5903. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  5904. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  5905. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  5906. 2006/06/16
  5907. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  5908. lost) [Skotlex]
  5909. * Corrected @speed to alter your base speed instead of battle one. Means
  5910. the change remains for much longer (until status_calc_pc is invoked, which
  5911. could be due to equipping/unequipping stuff) [Skotlex]
  5912. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  5913. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  5914. damage be reduced by half. This bonus stack, so two cards with
  5915. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  5916. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  5917. specifies the threshold before the bNoMagicDamage starts blocking support
  5918. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  5919. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  5920. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  5921. * Removed db_tables.sql as it's no longer used. [Skotlex]
  5922. * the mvp_sd is removed when the mob is the emperium and there's no
  5923. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  5924. event from triggering and giving the castle to whoever damaged the most the
  5925. emperium without destroying it. [Skotlex]
  5926. * [Added]:
  5927. - Custom slave mobs to inherit the callback_flag.
  5928. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  5929. * [Improved]:
  5930. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  5931. 2006/06/15
  5932. * [Fixed]:
  5933. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  5934. [Lance]
  5935. * Added indexes for loginlog and ipbanlist as they did not have any.
  5936. (note, someone already put the index on loginlog on trunk.) [Euph]
  5937. * Merged Adam's patch to let the char-server handle validation of
  5938. pet-name-change requests through the allowed char letters config. [Skotlex]
  5939. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  5940. gear already equipped. [Skotlex]
  5941. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  5942. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  5943. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  5944. options. [Skotlex]
  5945. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  5946. * Corrected chrif_save so that the player is not set offline on map-change.
  5947. [Skotlex]
  5948. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  5949. [Skotlex]
  5950. * Fixed clif_parse_RemoveOption removing all options instead of just
  5951. Falcon/Cart/Peco [Skotlex]
  5952. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  5953. source is not on the map yet. [Skotlex]
  5954. * Fixed and cleaned up script command 'equip' [Skotlex]
  5955. * Fixed 'autoequip' items. [Skotlex]
  5956. * Fixed Aspd not being updated in your status window after Agi/Dex
  5957. increasing statuses take effect. [Skotlex]
  5958. 2006/06/14
  5959. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  5960. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  5961. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  5962. vit; resist += (max - resist)*luk/300; [Skotlex]
  5963. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  5964. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  5965. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  5966. array to fill in. [blackhole89]
  5967. * Blocked again skill usage during marionette. [Skotlex]
  5968. * Fixed main.sql adding a key on char_id rather than account_id for the
  5969. char table. [Skotlex]
  5970. * Cleaned up character saving in char-sql, it no longer needs to query the
  5971. database to see if the player exists on each char-save, instead it checks
  5972. the received data against the online-players db. No such fix is required
  5973. for char-txt. [Skotlex]
  5974. * Added an error message on the char-server when the received player data
  5975. size does not matches with the expected size (should avoid the crash that
  5976. happens on such a memcpy). [Skotlex]
  5977. * [Improved]:
  5978. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  5979. queries. [Lance]
  5980. 2006/06/13
  5981. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  5982. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  5983. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  5984. * Marionette and Devotion will now check raw distance and ignore obstacles
  5985. and the like. [Skotlex]
  5986. * Added irc_channel_pass setting and prevent crashing when irc server
  5987. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  5988. * [Fixed]:
  5989. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  5990. [Lance]
  5991. * Added support for reading correctly status change data from Guild and
  5992. Homun skills. [Skotlex]
  5993. * Added support for reading Homun skill data (which means the HM skills are
  5994. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  5995. * Oppositions can't be made during WoE now. [Skotlex]
  5996. * Fixed a few compiler warnings from VC [Skotlex]
  5997. * Commented out the Homunculus Skills<->Status Change link which was
  5998. causing some memory corruptions. [Skotlex]
  5999. 2006/06/12
  6000. * [Fixed]:
  6001. - buildin_npcshopitem not allocating extra 1 block of terminator.
  6002. [Added]:
  6003. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  6004. [Lance]
  6005. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  6006. to the player's buffer. [Skotlex]
  6007. * Updated @noask to also tell the user what he has just rejected (added
  6008. msg_athena entries for each of the different requests). Also updated it to
  6009. use clif_disp_onlyself. [Skotlex]
  6010. * Fixed a pair of missing initializers in the clif storage functions.
  6011. [Skotlex]
  6012. * @heal no longer displays a healing animation. Fixes the client believing
  6013. you couldn't be healed more than 32K. [Skotlex]
  6014. * Now you can use any skills (except encore/dancing ones) while under
  6015. Longing for Freeding. [Skotlex]
  6016. * Now you can use any skills while under Marionette Control. [Skotlex]
  6017. * Fixed npc_checknear's distance check returning the opposite of what it
  6018. should (false when the range is correct and viceversa) [Skotlex]
  6019. * Added a warning on item loading when an item is of equippable type but
  6020. has no equippable position. [Skotlex]
  6021. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  6022. * Slaves can summon other mobs now. The only ones who can't do this are
  6023. player summoned mobs. [Skotlex]
  6024. * Merged the following functions for faster processing of items: [Skotlex]
  6025. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  6026. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  6027. clif_itemlist + clif_equiplist = clif_inventorylist
  6028. Note that the changes are a bit substantial and need proper testing!
  6029. * Increased max knockback value support to 25. [Skotlex]
  6030. * [Optimized]:
  6031. - buildin_npcshopitem memory allocation to calculate before reallocating.
  6032. [Lance]
  6033. * Made guild member exp an unsigned int. [Skotlex]
  6034. * Various cleanups to the npc clicking related functions. Should fix quite
  6035. some possible crashes from crafted packets. [Skotlex]
  6036. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  6037. * Added missing update of INT after a buf. [Skotlex]
  6038. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  6039. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  6040. of on the party members. [Skotlex]
  6041. * Modified clif_parse_NpcClicked to handle the different situations with
  6042. different bl-objects (attack on players/mobs, click on npcs or mobs with
  6043. npc attached) [Skotlex]
  6044. 2006/06/09
  6045. * [Fixed]
  6046. - Compilation warnings on guild.c and int_guild.c [Lance]
  6047. * Added structure party_data and party_member_data to the map server to
  6048. hold party-specific required information about parties including
  6049. Monk/TK/SG/SN states and party member count. Family information is still
  6050. missing, and handling of the state should probably be done by the
  6051. char-server, too... [Skotlex]
  6052. * party Hp updates are no longer done each time the Hp is modified, but
  6053. together with the party xy timer. It means HP-bars will be a bit delayed
  6054. before being updated, but packet consumption should be much less during
  6055. heated battles. [Skotlex]
  6056. * Fixed MoM's typo [Vicious]
  6057. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  6058. * [Improved]:
  6059. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  6060. [Lance]
  6061. * [Fixed]:
  6062. - Execution of sleep/sleep2 more than once will hang the script_state.
  6063. [Lance]
  6064. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  6065. back to your last savepoint. [Skotlex]
  6066. * Moved guild_exp_rate from a mapserver battle config setting to a char
  6067. server config. It no longer modifies the total taxed exp as seen on the
  6068. guild information window, but directly modifies the exp that the guild
  6069. earns. [Skotlex]
  6070. * Added an error report and correction when the map server receives a guild
  6071. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  6072. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  6073. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  6074. 2006/06/08
  6075. * Modified guild exp to be an unsigned int rather than a signed one.
  6076. [Skotlex]
  6077. * Fixed @skilltree printing out Unknown job for most targets used.
  6078. [Skotlex]
  6079. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  6080. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  6081. characters. [Skotlex]
  6082. * Modified map_freeblock_unlock so that aFree errors will report the
  6083. file/line that INVOKED the function rather than the function itself.
  6084. [Skotlex]
  6085. NOTE: Do NOT disable the memory manager as that will break this change.
  6086. This change is to be temporarily set until the afree'd error can be
  6087. resolved.
  6088. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  6089. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  6090. [Skotlex]
  6091. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  6092. to hold the speed adjustment value rather than speed penalty (eg: 125
  6093. instead of 25). [Skotlex]
  6094. * Cleaned up status_calc_speed so that speed penalties are correctly
  6095. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  6096. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  6097. 2006/06/07
  6098. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  6099. * Fixed item-skills not showing up on login. [Skotlex]
  6100. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  6101. only on first-login and which ones are required on all map-changes.
  6102. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  6103. sent on map-change (items, cart data and zeny still need to be sent one
  6104. very map-change). [Skotlex]
  6105. * Fixed the mob state not being set to Berserk/Angry correctly after the
  6106. mob reaches the target's location. [Skotlex]
  6107. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  6108. warped between maps when stepping on a npc-warp. [Skotlex]
  6109. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  6110. npc-warp when their current target has switched maps. [Skotlex]
  6111. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  6112. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  6113. * pc_gain_exp now also receives the source of the exp, when said source
  6114. exists, bonuses are applicated as needed. [Skotlex]
  6115. * Added status_kill when capturing a mob, should take care of the mob not
  6116. respawning after caputed. [Skotlex]
  6117. * Fixed item info not displaying the found item id [Skotlex]
  6118. * Fixed item info not displaying the weight value properly. [Skotlex]
  6119. * Adjusted status resistances and durations taking as base Viccious's info
  6120. from the kro guidebook. [Skotlex]
  6121. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  6122. should display the skill animation correctly now. [Skotlex]
  6123. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  6124. [Skotlex]
  6125. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  6126. * Removed char_nick2id from char-sql server as it's no longer needed.
  6127. [Skotlex]
  6128. * Fixed quitting the map server not properly saving the storage before
  6129. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  6130. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  6131. function. [Skotlex]
  6132. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  6133. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  6134. has a 300% base chance reduced by mdef and the like as explained out by
  6135. Tharis. [Skotlex]
  6136. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  6137. target's int. [Skotlex]
  6138. * [Improved]:
  6139. - mob_dead not to remove script controlled monsters with player sprites.
  6140. [Added]:
  6141. - buildin_mobdeadsit :D [Lance]
  6142. * [Fixed]:
  6143. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  6144. mob_damage. Thanks to seahorsix. [Lance]
  6145. * [Fixed]:
  6146. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  6147. * [Optimized]:
  6148. - list and size not being initialized (size get intialized in default: switch case)
  6149. Eliminated default case and initialized list and size at the beginning. [Lance]
  6150. 2006/06/06
  6151. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  6152. to the mobs level up setting. [Skotlex]
  6153. * Removed a piece of code that should no longer be needed due to the
  6154. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  6155. self-skills from being used on others (pets/mobs should be allowed to do
  6156. that) [Skotlex]
  6157. * Added a status_check_skilluse call in Sightblaster to prevent it from
  6158. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  6159. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  6160. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  6161. * The monsters can level up setting will not take effect when the mob's
  6162. level is LESS than their db counter-part (should prevent under-leveling
  6163. causing underflows and semi-immortal mobs) [Skotlex]
  6164. * Fixed mvp-exp calculations being messed up with more than one attacker.
  6165. [Skotlex]
  6166. * Changed the mob exp race bonus so that each player gets their own bonus,
  6167. rather than the killer's bonus applying to everyone. Still not the
  6168. "correct" way, but one step closer to it. [Skotlex]
  6169. * [Fixed]:
  6170. - Allocation of event_list in guild_npc_request_info to aCalloc so
  6171. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  6172. 2006/06/05
  6173. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  6174. * Hopefully fixed changing a mob's class causing them to get all sort of
  6175. stat bonuses due to the mobs-level-up setting. [Skotlex]
  6176. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  6177. to signed char to correctly account for cards with penalties in said stats.
  6178. [Skotlex]
  6179. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  6180. * Added clif_fixpos packets before attacking for the first time to clear
  6181. any position sync issues with the client. [Skotlex]
  6182. * Fixed skill_unitsetting using layout->count for the for instead of
  6183. group->count [Skotlex]
  6184. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  6185. increase dex/agi by 40% per level. [Skotlex]
  6186. * Fixed char-sql server not deleting character variables when deleting a
  6187. char. [Skotlex]
  6188. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  6189. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  6190. overflows/underflows. [Skotlex]
  6191. 2006/06/03
  6192. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  6193. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  6194. you relogged. Thanks to Euph for the fix.
  6195. * Added variable other_mapserver_count to chrif.c which holds total count
  6196. of connected map-servers. By using this we prevent sending unnecessary
  6197. packets to the char-server when there's no more map-servers connected.
  6198. [Skotlex]
  6199. - Affected packets are whispers, announces, party messages, guild messages.
  6200. 2006/06/02
  6201. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  6202. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  6203. target is near obstacles. [Skotlex]
  6204. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  6205. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  6206. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  6207. fails. Fixes cases where the client gets "stuck" and refuses to let you
  6208. pick any items. [Skotlex]
  6209. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  6210. to 1 tile to make it act more like in the official servers.
  6211. * Some cleaning of the mob slave ai. [Skotlex]
  6212. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  6213. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  6214. skill levels above 10 (meant for boss casted skills) [Skotlex]
  6215. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  6216. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  6217. [Skotlex]
  6218. * [Fixed]
  6219. - Yet another compilation warning. [Lance]
  6220. 2006/06/01
  6221. * Altered status_calc_pc so that equipment scripts are ran before
  6222. card-scripts. [Skotlex]
  6223. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  6224. [Skotlex]
  6225. - These two together, should fix Tao Gunka Card.
  6226. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  6227. [Skotlex]
  6228. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  6229. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  6230. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  6231. without removing it when the skill level is greater than one. [Skotlex]
  6232. * Added SC_DANCING declaration in the Status Change tables to signal it
  6233. modifies Walk speed. [Skotlex]
  6234. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  6235. (eg: poison, berserk) [Skotlex]
  6236. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  6237. affected by Quagmire/Forget-me-not. [Skotlex]
  6238. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  6239. [Skotlex]
  6240. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  6241. cart. [Skotlex]
  6242. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  6243. * Fixed Autoblitz taking into account target's luck rather than attacker's
  6244. [Skotlex]
  6245. * Fixed slaves warping endlessly to their master when the master-slave
  6246. distance exceeds 30. [Skotlex]
  6247. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  6248. [Skotlex]
  6249. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  6250. incorrect range variable. [Skotlex]
  6251. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  6252. 2006/05/31
  6253. * Fixed Soul Drain not really giving you SP [Skotlex]
  6254. * [Fixed]:
  6255. - Suppressed compilation warning in chrif.c [Lance]
  6256. * [Fixed]:
  6257. - Guys can't go across map-servers :( [Lance]
  6258. * [Fixed]:
  6259. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  6260. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  6261. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  6262. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  6263. delay. [Skotlex]
  6264. * Made the char_name_option char_athena.conf setting apply to parties and
  6265. guilds as well. It cannot be applied to pets yet without adding a
  6266. change-name-request interserver packet. [Skotlex]
  6267. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  6268. [Skotlex]
  6269. * Added function char_read_fame_list for famelist reading. Invoked it on
  6270. init, and made it be sent automatically to connecting map servers.
  6271. [Skotlex]
  6272. * Some cleaning of the fame-list reading code. [Skotlex]
  6273. * Some cleaning of the fame-update code, fixed a logic bug which made the
  6274. ranking list fail to display the correct ranker names. [Skotlex]
  6275. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  6276. [Skotlex]
  6277. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  6278. status_calc_bl. [Skotlex]
  6279. * [Fixed]:
  6280. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  6281. * [Improved]:
  6282. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  6283. * [Fixed]:
  6284. - nullpo in pet.c caused by equipping without checking if the pet is available.
  6285. [Lance]
  6286. * [Fixed]:
  6287. - Latest client support completed! [Lance]
  6288. * [Fixed]:
  6289. - Missing #include for cbasetypes.h in login server SQL.
  6290. - Logic errors in run_script [Lance]
  6291. * [Added]:
  6292. - Partial support for latest login packet. But it seems to have a new security
  6293. module. [Lance]
  6294. 2006/05/30
  6295. * [Improved]:
  6296. - Fake NPC interface to use real NPCs.
  6297. - Scripting interface to restore and save sd->npc_id. [Lance]
  6298. * Added function pc_check_skilltree for checking if you unlocked new
  6299. tree-skills when raising non-passive skills. [Skotlex]
  6300. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  6301. the base status. [Skotlex]
  6302. * [Fixed]:
  6303. - Compatibility problems in login.c [Lance]
  6304. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  6305. * [Added]:
  6306. - Mercenary.c in VS.NET 2005 project files
  6307. [Improved]:
  6308. - loginlog using unsigned long `ip` field.
  6309. (Please check for compatibility problems). [Lance]
  6310. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  6311. bonuses (like effect-on-hit) to stack. [Skotlex]
  6312. * slaves inherit speed setting will now work regardless of whether the
  6313. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  6314. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  6315. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  6316. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  6317. attacks. [Skotlex]
  6318. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  6319. * Fixed the pcbonus2 warnings using the wrong value before printing the
  6320. invalid Element error. [Skotlex]
  6321. * Fixed underflow issues when calculating dmotion. [Skotlex]
  6322. * Fixed Absorb Spirit Spheres [Skotlex]
  6323. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  6324. specifies in ms what is the min delay between player sent chats
  6325. (whisper/global/party/guild). Messages that exceed this threshold are
  6326. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  6327. player?) [Skotlex]
  6328. * [Fixed]:
  6329. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  6330. * Rewrote/cleaned up @petfriendly. [Skotlex]
  6331. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  6332. * Updated attr_fix_table reading code to account for ELE_MAX (will
  6333. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  6334. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  6335. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  6336. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  6337. * Added error messages in pc_bonus* functions when an invalid element is
  6338. passed to the relevant bonuses. [Skotlex]
  6339. * [Optimized]:
  6340. - clif_specialeffect to use the enums.
  6341. [Improved]:
  6342. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  6343. definition. [Lance]
  6344. * [Added]:
  6345. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  6346. * Removed the on-die specific code from unit_remove_map and placed it on
  6347. the corresponding *_dead functions. unit_remove_map should never assume the
  6348. char died, it is just a "remove from map" function. [Skotlex]
  6349. * Updated status_damage to handle the general death code (clearing status
  6350. changes, clearing skill related data, sending death packet, etc). The
  6351. return value from the *_dead functions will tell it what to do or not with
  6352. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  6353. * Cleaned up pc_dead to take advantage of the fact that status changes are
  6354. not ended until after the function. [Skotlex]
  6355. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  6356. [Skotlex]
  6357. * Updated/adapted current Homun code to use the status_data update.
  6358. [Skotlex]
  6359. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  6360. * [Fixed]:
  6361. - Pets attacking even master is dead. [Lance]
  6362. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  6363. (negative values should be allowed when attack is absorbed by target's
  6364. element) [Skotlex]
  6365. 2006/05/29
  6366. * [Fixed]:
  6367. - Missing ';' in item #4358 [Lance]
  6368. * [Fixed]:
  6369. - Missing maps in map index database. [Lance]
  6370. * [Fixed]:
  6371. - Battle mechanics in battle_check_target [Lance]
  6372. * [Fixed]:
  6373. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  6374. [Lance]
  6375. * Cleaned up friend list saving and fixed loading of friends.txt file
  6376. (char-txt) [Skotlex]
  6377. * Added the Arunafeltz maps, not tested yet [Playtester]
  6378. - someone with an up-to-date client should test them
  6379. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  6380. [Skotlex]
  6381. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  6382. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  6383. instead of BL_PC and BL_MOB [Skotlex]
  6384. * [Fixed]:
  6385. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  6386. * Removed Undead being immune to poison status. [Skotlex]
  6387. * Removed speed penalty from SC_SKA [Skotlex]
  6388. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  6389. * SC_DODGE won't be dispelled on death now. [Skotlex]
  6390. * [Fixed]:
  6391. - pc_follow_timer possible triggering crash.
  6392. - pc_reg_received to use battle_status.hp instead of status.hp
  6393. [Added]:
  6394. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  6395. * Added a division by zero check in mob_dead to prevent the (impossible)
  6396. case where a mob dies with received damage of zero. [Skotlex]
  6397. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  6398. Non-Players. This usually signals Self skills, and mobs/pets should be able
  6399. to use them in other characters. [Skotlex]
  6400. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  6401. * Fixed draining when the amount drained is negative (invoke zap rather
  6402. than heal) [Skotlex]
  6403. * Implemented GS_FLING as per the current skill description. [Skotlex]
  6404. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  6405. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  6406. * Added some missing SC_* entries on the initial listing (potion related
  6407. and speed up ones) [Skotlex]
  6408. * Fixed function declaration of map_getcellp() [Skotlex]
  6409. * [Fixed]:
  6410. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  6411. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  6412. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  6413. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  6414. * [Optimized]:
  6415. - Removed unused variable (account_id) in storage_guild_storagesaved.
  6416. * [Optimized]:
  6417. - Removed unused checks for unsigned data type and possible logic error for
  6418. char type (gcc treats char as unsigned). [Lance]
  6419. * [Fixed]:
  6420. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  6421. 2006/05/28
  6422. * Added functions status_revive, pc_revive and mob_revive to handle revival
  6423. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  6424. [Skotlex]
  6425. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  6426. Bladestop causing an unknown status change message). [Skotlex]
  6427. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  6428. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  6429. * [Fixed]:
  6430. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  6431. * [Protected]:
  6432. - clif_parse_LGMmessage from possible hacks [Lance]
  6433. * Fixed unable to store n items into storage unless n was the total amount
  6434. of items you had. [Skotlex]
  6435. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  6436. 2006/05/27
  6437. * Added structure status_data which holds status-related information (str,
  6438. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  6439. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  6440. to be used by all combat structures (TODO: Homun needs to be updated to use
  6441. it). This in change involves a LOT of changes throughout the code and many
  6442. optimizations were done as well. Partial list (see svn changelog for complete
  6443. changes): [Skotlex]
  6444. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  6445. skills I changed the most, but it is possible there are unnoticed bugs
  6446. remaining to fix!
  6447. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  6448. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  6449. - Added status functions to deal with damage and healing (status_damage,
  6450. status_heal, status_percent_change) and a bunch of defines for easier
  6451. handling of them (status_percent_heal, status_percent_damage,
  6452. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  6453. THIS, pc_damage/mob_damage most no longer be directly invoked!
  6454. - Rewrote and cleaned up battle_calc_misc_attack
  6455. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  6456. pet_attack_attr_none into attack_attr_none (type 4)
  6457. - Removed config options player_defense_type, monster_defense_type,
  6458. pet_defense_type in favor of weapon_defense_type
  6459. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  6460. - Modified Slim Pitcher so it will work when casted by non-players. Will
  6461. now also work with SP-healing items.
  6462. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  6463. switch adelay/speed when cast begins/ends.
  6464. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  6465. easier updating when used in conjunction with ground skills.
  6466. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  6467. - Added status_calc_bl which does status-change related calculations using
  6468. as base the base_status of the bl object and the SCB_* flag passed. This is
  6469. invoked on status changes, and status_calc_pc will no longer be invoked
  6470. (which results on much faster status-change calculations).
  6471. - pc_clean_skilltree will now also remove item-granted skills.
  6472. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  6473. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  6474. packets and functions ONCE regardless of skill-levls earned.
  6475. - Cleaned up pc_ regen related functions.
  6476. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  6477. - Clones will copy a player's base status rather than battle status (so
  6478. status-change alterations are not cloned)
  6479. 2006/05/26
  6480. * Part B of the homunculus code. [blackhole89]
  6481. While most of the homunculus handling functions are in now, it still lacks
  6482. code required for players to create it.
  6483. Given I haven't screwed up, you could master yourself one through the DB though.
  6484. * Fixed crashing in mob.c [Lance]
  6485. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  6486. * Mob control engine tested 99% working so far. [Lance]
  6487. * Change scripting engine's NPC scope vars to dot (.) style.
  6488. * Improved and (should be fully) fixed the mob control engine. [Lance]
  6489. * Fixed typos in char.c [Lance]
  6490. * Rewrote fame rank lists system to reduce char-server load, as requested by
  6491. Skotlex: now it has a copy of those lists, and updates only the proper one
  6492. when needed instead of rebuilding all from saves everytime (which required
  6493. to always save the character before rebuilding the lists) [DracoRPG]
  6494. - Note it hasn't been compiled nor tested with SQL, please do it for me
  6495. 2006/05/25
  6496. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  6497. int-based damage component (which is added right before elemental
  6498. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  6499. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  6500. Fixed atcommand @request MSG numbers accordinly.
  6501. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  6502. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  6503. * Increased capacity for Account Variables to 64 [Skotlex]
  6504. * Reverted Intravision implementation to that of stable's. [Skotlex]
  6505. * Corrected Login Server taking it's first argument as both login config
  6506. and lan config. [Skotlex]
  6507. * Fixed mob control commands.
  6508. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  6509. 2006/05/24
  6510. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  6511. * Item sharing now shares the same rules as exp sharing (no sharing when
  6512. dead, or idle, etc) [Skotlex]
  6513. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  6514. aren't supposed to be able to call minions) [Skotlex]
  6515. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  6516. skill was successful. May fix the client-position lag. [Skotlex]
  6517. * Merged item_db.sql from stable (the one from stable was more recent than
  6518. the one of trunk...) [Skotlex]
  6519. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  6520. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  6521. ban request packet. [Skotlex]
  6522. 2006/05/23
  6523. * Corrected mob angry mode, now it only "restores" itself after being hit
  6524. when the mob has no target within their range of sight rather than on
  6525. picking a new target. [Skotlex]
  6526. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  6527. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  6528. * the charname request hack message has been downgraded to only include
  6529. GM-invisible characters. [Skotlex]
  6530. * corrected clif_charnameack to send negative ID when a disguised player
  6531. asks for it's own disguised name. [Skotlex]
  6532. * Cleaned up the disguised target-id checks taking into considering that
  6533. the only character that sees a negative ID is the same disguised character.
  6534. [Skotlex]
  6535. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  6536. defense), Investigate and Icepick will now use the final def/vit-def values
  6537. rather than the base ones. [Skotlex]
  6538. * The move-enable condition checks for skills are now checked for only when
  6539. on skill use, not at cast-end time. [Skotlex]
  6540. * Corrected clif parse name request failing on disguised characters [Skotlex]
  6541. * Corrected Soul Drain draining from all non-ground-based skills including
  6542. non-magic attacks. [Skotlex]
  6543. * Corrected pc_setoption to change the option and then change class.
  6544. changing option-wedding will automatically convert the view-class as well.
  6545. [Skotlex]
  6546. * Corrected the 15% drop rate increase when killing higher level mobs in
  6547. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  6548. Vayu. [Skotlex]
  6549. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  6550. db each time o_o [Lance]
  6551. * Fixed sleep command. [Lance]
  6552. * Added 'setd' support for local NPC scope (') variables. [Lance]
  6553. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  6554. 2006/05/22
  6555. * Updated skill_delayfix to return 0 for mobs since they have no skill
  6556. delay other than the one specified in mob_skill_db [Skotlex]
  6557. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  6558. Vayu for pointing it out. [Skotlex]
  6559. * status_get_sc_tick will now use directly Stun's formula rather than
  6560. invoking the status sc chance once. [Skotlex]
  6561. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  6562. * Modified Investigate to take into consideration final def/vit-def rather
  6563. than base values for damage adjustment. [Skotlex]
  6564. * WARNING: New scripting system contains memory leak
  6565. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  6566. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  6567. * Fixed compilation errors.
  6568. Tidy up jobmaster for easy debugging. [Lance]
  6569. 2006/05/21
  6570. * Part A of the Homunculus code.
  6571. This only features the structures, status_* and clif_* (packets) and is
  6572. not functional yet in any conventional way, but doesn't interfere
  6573. with present functionality either.
  6574. Main purpose is helping me to keep my work organized. [blackhole89]
  6575. * Fixed the "fake" mute status bug. [Zido]
  6576. * Speed up array size calculation and deletion. [Lance]
  6577. * Player must learn the skill before doing auto-spell [Lance]
  6578. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  6579. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  6580. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  6581. 2006/05/20
  6582. * grfio_final moved back if any of GRF overriding is enabled so servers
  6583. with such configuration will not have different values after reloading. [Lance]
  6584. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  6585. * Abit of alterations to login-server. [Lance]
  6586. 2006/05/19
  6587. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  6588. * Small change in pc_additem that could be fixing the current bug with new
  6589. items not getting added. [Skotlex]
  6590. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  6591. * Likely fixed the mob-skill random picking behaviour causing infinite
  6592. loops sometimes. [Skotlex]
  6593. * Modified mobskill_use behaviour to pick a random starting point and check
  6594. skills from that, rather than always checking from first to last. Fixes
  6595. skills with high priority blocking skills lower down in the list from
  6596. triggering. [Skotlex]
  6597. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  6598. current target cannot be reached for melee fighting. [Skotlex]
  6599. 2006/05/18
  6600. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  6601. [Skotlex]
  6602. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  6603. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  6604. * Optimized pc_additem comparisons to account for items with more than four
  6605. slots. [Skotlex]
  6606. * Updated clif.c to enable retrieval of items from cart/storage while
  6607. trading. Exception is retrieving items from the cart while vending.
  6608. [Skotlex]
  6609. - The reasoning is that an ongoing trade will not get "corrupted" if you
  6610. earn items before it is commited (only if you lose items from your
  6611. inventory), and it is an annoyance when you realize the stuff you want to
  6612. trade is on the cart/storage.
  6613. * skill reiteration code now does not checks for the trigger-area of the
  6614. skill in the case of non-players, which means mobs can now place traps in
  6615. cells adjacent to each other. [Skotlex]
  6616. * Applied an experimental weather code that should lower bandwidth usage to
  6617. near-none, which's only disadvantage should be the weather not clearing out
  6618. until moving to another map (even when the mapflag is removed from the
  6619. current map). Please test and report if there's any anomalies with it.
  6620. [Skotlex]
  6621. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  6622. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  6623. * MO_BODYRELOCATION will send the slide packet with the actual src's
  6624. coordinates rather than selected tile. [Skotlex]
  6625. 2006/05/17
  6626. * Modified mob_can_changetarget to return true always when the new target
  6627. is the provoked-by character. Fixes provoke not making the mob change
  6628. target when it already is locked on another player. [Skotlex]
  6629. * Added check to clear previous skill when combo time ends. Should fix TK
  6630. Rankers being unable to initiate a combo with the same kick their previous
  6631. combo was finished with. [Skotlex]
  6632. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  6633. 2006/05/16
  6634. * Modified "hide woe damage" to send the number of hits rather than 1 as
  6635. damage Because when the damage is less than the number of hits, the client
  6636. will display MISS. [Skotlex]
  6637. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  6638. [Skotlex]
  6639. * Blood Drain always hits now. [Skotlex]
  6640. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  6641. delay useless) [Skotlex]
  6642. * Search free cell will now skip picking the center-tile as target
  6643. location. Will prevent slaves from walking on top of their master, or mobs
  6644. placing stuff right under themselves with the "around" target conditions
  6645. among other things. [Skotlex]
  6646. 2006/05/15
  6647. * Small changes to the skill.conf
  6648. - Monsters now can place ground skills on top of each other by default
  6649. - Land_Skill_Limit format changed and set to "Only Players" by default
  6650. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  6651. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  6652. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  6653. skill level is above 10. [Skotlex]
  6654. * Sorted out the item_data structure, getiteminfo should work correctly
  6655. now. [Skotlex]
  6656. * KA* skills can now be casted on other Soul Linkers as well without the
  6657. Spirit requirement. [Skotlex]
  6658. * Soul Drain will now show the SP drained regardless of drain display
  6659. settings. [Skotlex]
  6660. * SC_COMBO state will now end in skill_attack rather than
  6661. skill_check_condition (as it is required there to apply damage bonuses
  6662. based on combo-casted skills) [Skotlex]
  6663. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  6664. [Skotlex]
  6665. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  6666. servers. [Skotlex]
  6667. * When removing a castle's owning guild, the char servers will erase the
  6668. guardian data now. [Skotlex]
  6669. * Changed the behaviour of immobile mobs when they can't chase their
  6670. target. Rather than using a longrange skill and then unlocking, they will
  6671. use an attack/angry state skill and then unlock. [Skotlex]
  6672. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  6673. * Fixed clif_GlobalMessage being the exact same function as clif_message
  6674. (the first should send to ALL_CLIENT and the later should send to
  6675. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  6676. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  6677. * Characters in vending are now always considered "idle" if the
  6678. idle_no_share setting is active. [Skotlex]
  6679. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  6680. * Remaining fixes for item scripts. [Lance]
  6681. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  6682. 2006/05/12
  6683. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  6684. * Bugfix on fake npc [Lance]
  6685. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  6686. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  6687. the target is a nonplayer (rather than always) [Skotlex]
  6688. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  6689. player" while 0,0 are random around the whole map (regardless of whether
  6690. there's a player attached or not) [Skotlex]
  6691. * Knockback will no longer work on traps during woe. [Skotlex]
  6692. 2006/05/11
  6693. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  6694. [Skotlex]
  6695. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  6696. of 40% per level. [Skotlex]
  6697. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  6698. [Skotlex]
  6699. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  6700. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  6701. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  6702. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  6703. [Skotlex]
  6704. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  6705. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  6706. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  6707. Tanaous [Skotlex]
  6708. * Added back the missing code that substracts arrows when normal-attacking.
  6709. [Skotlex]
  6710. 2006/05/10
  6711. * Changed the state of Asura back to explosionspirits, added a hardcoded
  6712. move_enable check when invoking Asura and NOT while in BladeStop or a
  6713. Combo. [Skotlex]
  6714. * Added back SC_XMAS to status.c, it got lost sometime during all the
  6715. previous reworkings. [Skotlex]
  6716. * Changed wedding costumes to use setoption rather than changebase.
  6717. [Skotlex]
  6718. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  6719. removes it. [Skotlex]
  6720. * Updated script_commands with the new behaviour. [Skotlex]
  6721. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  6722. than 15. [Skotlex]
  6723. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  6724. 2006/05/09
  6725. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  6726. [Skotlex]
  6727. * Added @request commands, sends a request to all connected GMs of
  6728. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  6729. users (UNTESTED). [Skotlex]
  6730. * Modified @commands to use Meruru's code which is faster and does a fair
  6731. attempt at tabulating the commands presented. [Skotlex]
  6732. * Updated SKA to return a random value between 0 and 99 each time
  6733. status_get_def is invoked. [Skotlex]
  6734. * Updated Making Arrow to not include unidentified items in the list.
  6735. [Skotlex]
  6736. * Reduced drop slots from 15 to 10. [Skotlex]
  6737. * Updated mob_db.sql with the current data. [Skotlex]
  6738. * Updated setoption script command to receive a second (optional) argument
  6739. flag. If the flag is 1, the option is added to what the player currently
  6740. has; likewise using flag 2 removes only that option. No flag (or any other
  6741. value) is the older behaviour of removing all other options and setting
  6742. specificly what is passed. [Skotlex]
  6743. * Updated script_commands information for setoption due to this change.
  6744. [Skotlex]
  6745. * Small fix in npc-created chat rooms to properly include the terminating 0
  6746. on the chat's event. [Skotlex]
  6747. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  6748. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  6749. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  6750. move and the attacker is out of it's attack range. [Skotlex]
  6751. * Added missing icon for Joint Beat [Skotlex]
  6752. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  6753. * Treasure chests will now be excluded from the mob-drop listings
  6754. (@whodrops) [Skotlex]
  6755. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  6756. for the same skill. [Skotlex]
  6757. * Updated main.sql's loginlog table structure. [Skotlex]
  6758. * Added svn_update6533.sql to update the loginlog structure as suggested by
  6759. theultramage. [Skotlex]
  6760. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  6761. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  6762. when crafted for non-players. [Skotlex]
  6763. * Script commands sc_start, sc_start2 and sc_start4 will now start
  6764. regardless of sc defense of the target player (that is, they cannot be
  6765. avoided/blocked) [Skotlex]
  6766. * Fixed a possible counter overflow in attacked_count, changed the var size
  6767. to unsigned char since the code can handle the overflow now. [Skotlex]
  6768. * Multiple targets again reduces armor defense, as reported by Tharis.
  6769. [Skotlex]
  6770. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  6771. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  6772. 2006/05/08
  6773. * Reverted the change that was making ES skills stun the caster always.
  6774. [Skotlex]
  6775. * Removed the fixpos packet which is sent whenever you are hit while moving
  6776. as Aegis doesn't sends this packet neither. [Skotlex]
  6777. * ES magic will now put the caster on stun for 0.5 secs regardless of
  6778. whether the skill-target is a mob or not. [Skotlex]
  6779. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  6780. party-member joins. This packet (as redundant info as it has) should also
  6781. contain the field for "adoptability", but that needs to be coded in yet.
  6782. [Skotlex]
  6783. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  6784. checks and the reply packets still need to be coded in. [Skotlex]
  6785. * Happy State and TK stances won't dispel on death now. [Skotlex]
  6786. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  6787. skill_check_condition now. [Skotlex]
  6788. * Modified TK-ranker infinite combos to behave as described by AuronX.
  6789. Refer to his thread in the development section for details. [Skotlex]
  6790. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  6791. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  6792. (guessed, but better than 100% for all levels) [Skotlex]
  6793. * Changed max level of NPC status effect skills to 5 [Skotlex]
  6794. * Increased max number of tries to find a random spot in maps to 1000 since
  6795. some maps have so many non-walkable tiles it's hard to find one in just 100
  6796. tries. [Skotlex]
  6797. * status_set_viewdata will remove the Wedding Option status when you set a
  6798. class that is not wedding. [Skotlex]
  6799. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  6800. * idletime will now be updated on attack-request, not on sit/standup
  6801. [Skotlex]
  6802. * Party members sitting will no longer be considered idle. [Skotlex]
  6803. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  6804. with the disguise/undisguise script commands instead). [Skotlex]
  6805. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  6806. the other skill that can show critical as well) [Skotlex]
  6807. * Corrected some fields in the standing still packet (guild emblem being
  6808. stored as a Long when it should be Short) [Skotlex]
  6809. * Modified most fields of view_data to be unsigned shorts rather than
  6810. signed ones. [Skotlex]
  6811. * On-Touch NPCs will now make you stop walking when you trigger them.
  6812. [Skotlex]
  6813. * ShadowJump/JumpKick will make you land on the target's cell now.
  6814. [Skotlex]
  6815. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  6816. 2006/05/07
  6817. * Fixed readme/changelog.html [KillerBox]
  6818. * Removed old logs. [Lupus]
  6819. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  6820. 2006/05/05
  6821. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  6822. before sending one (as it's not required to send twice).
  6823. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  6824. players and still continues execution to work). [Lance]
  6825. * Updated item_db.sql to current. [Skotlex]
  6826. * Fixed a bug in @commands, most likely the reason some people were still
  6827. getting crashes. [Skotlex]
  6828. * Fixed @commands not showing the last available commands (unless the total
  6829. amount of commands is divisible by ten) [Skotlex]
  6830. * Added a npc-script-event cache to avoid looking up event-scripts every
  6831. time they need to be executed. Events cached are all those defined in
  6832. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  6833. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  6834. the related NPCs or you'll get dangling pointer crashes. However,
  6835. @reloadscript will work fine.
  6836. - Set the etc_log to on to see a summary of npcs/events loaded for script
  6837. execution on startup.
  6838. * The Rest bonus activated by using /doridori while in rest should now
  6839. trigger with all the class tree (TK/SL/SG) [Skotlex]
  6840. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  6841. player rather than the one attacking... [Skotlex]
  6842. * /doridori now won't double the HP/SP regen of TKs, it only activates
  6843. their "happy" state. [Skotlex]
  6844. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  6845. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  6846. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  6847. (even if there's no other TK around). [Skotlex]
  6848. * Added battle config settings view_range_rate and chase_range_rate to
  6849. adjust the view-range and chase-range (range2/range3) of the mob_db without
  6850. having to manually change them (battle/monster.conf) [Skotlex]
  6851. * Kaupe now will only block all skills of players, for non-players, only
  6852. normal attacks can be missed. [Skotlex]
  6853. * Moved the Kaite spell-reflect code after the damage calculation function,
  6854. so the reflected damage is exactly the damage the original target would
  6855. have received. Will only trigger if the damage to be reflected is above 0.
  6856. [Skotlex]
  6857. * OnEquip scripts will now trigger on log-on. [Skotlex]
  6858. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  6859. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  6860. start/end infinite endure. [Skotlex]
  6861. * Fixed Kaahi's SP cost per heal. [Skotlex]
  6862. * Now when walkdelay is set to 0, characters will stop walking when hit,
  6863. but will not have any walk delay. (previously setting walk delay to 0 would
  6864. not even stop characters from walking when hit) [Skotlex]
  6865. 2006/05/04
  6866. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  6867. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  6868. * Some clean-ups in the mob_ai [Skotlex]
  6869. * Improved atcommand autoloot, now displays droprate in percents and notices
  6870. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  6871. commited by erKURITA
  6872. * Added one grace range in the mob_loot search function which should fix
  6873. mob_can_reach failing when invoked with the same distance that distance_bl
  6874. returned. [Skotlex]
  6875. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  6876. * Eska is now usable on bosses. [Skotlex]
  6877. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  6878. * clif_skill_failed will print out a debug line with the skill_id (since
  6879. the current null_po does not helps at all to fix it) [Skotlex]
  6880. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  6881. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  6882. damage accumulates in the time2 interval (500ms by default) after being
  6883. hit. [Skotlex]
  6884. * Changed skill_unit_move_unit_group to enable moving of all types of
  6885. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  6886. 2006/05/03
  6887. * Kaahi now triggers every 500ms rather than on every hit (but it only
  6888. heals if in those 500ms an attack that would previously trigger Kaahi has
  6889. taken effect). In other words, it works just like before, except damage
  6890. gets "buffered" into 500ms slots. [Skotlex]
  6891. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  6892. * Knowledge will now only trigger if you logon to the memorized map, not
  6893. walk into it. [Skotlex]
  6894. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  6895. [Skotlex]
  6896. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  6897. and not fix the pet issue, but I doubt it'll cause any problems that won't
  6898. be fixed by making the pet move. [Skotlex]
  6899. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  6900. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  6901. 2006/05/02
  6902. * Fixed standing up not really standing you up. [Skotlex]
  6903. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  6904. skill_castend_nodamage_id and skill_castend_pos2 rather than
  6905. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  6906. state is active and a ground skill was not invoked. It should fix all
  6907. issues with splash/ground skills consuming ammo per target rather than once
  6908. per skill use. [Skotlex]
  6909. * Added structure state to the ground skills, their fields are magic_power,
  6910. into_abyss and ammo_consume to indicate the states that were previously
  6911. stored in val3. [Skotlex]
  6912. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  6913. not showing up though, I'll need some logged packets to see what's missing.
  6914. [Skotlex]
  6915. * Removed the unit_can_move checks in skill cast-end, they should be
  6916. performed in skill_check_require when the skill's state is move_enabled.
  6917. [Skotlex]
  6918. * Changed extremity fist's state to move_enabled, the explosion spirits
  6919. check is now hardcoded. [Skotlex]
  6920. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  6921. Haplo. [Skotlex]
  6922. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  6923. impossible to steal unless you have at least 100% steal-rate (where steal
  6924. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  6925. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  6926. shops, interacting with npcs, etc. [Skotlex]
  6927. * Kaite now works against all types of spells. [Skotlex]
  6928. * Kaupe now works against all skills. [Skotlex]
  6929. * Sanctuary now won't damage non-enemies. [Skotlex]
  6930. * Blessing now will always give you bonus stats even if you are wearing
  6931. undead armor. [Skotlex]
  6932. * Modified how Rogue's treasure works so that you get +1% to your steal
  6933. rate rather than +0.01% to the final rate. [Skotlex]
  6934. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  6935. officials (implementation is not quite the same, but it should yield the
  6936. same effects while consuming less bandwidth). "Stacking", as it's called,
  6937. is possible now, but limited to eA's minimum timer skill interval (100ms).
  6938. [Skotlex]
  6939. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  6940. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  6941. behaves). [Skotlex]
  6942. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  6943. * SC_FUSION won't end when you die now. [Skotlex]
  6944. 2006/05/01
  6945. * Added knockback when you run into a wall during running. However
  6946. position is not being refreshed on the client yet... [Skotlex]
  6947. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  6948. * Corrected a crash when sd is null in npc_event [Skotlex]
  6949. * After testing to make sure it works properly, I'm including
  6950. new battle conf options to limit MVP drops. [Reddozen]
  6951. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  6952. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  6953. since it has a visual effect to use. [Skotlex]
  6954. * Corrected the value of OPTION_FLYING [Skotlex]
  6955. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  6956. * status_setviewdata will set your option accordingly when the previous/new
  6957. view-class is wedding or xmas suit. [Skotlex]
  6958. * Added function map_foreachinshootrange, behaves the same way as
  6959. map_foreachinrange, but it also performs a "shoot-path" check before
  6960. invoking the function. Used in the skill subtimer function if
  6961. skill_wall_check is defined. [Skotlex]
  6962. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  6963. all memo points used up. [Skotlex]
  6964. * Fixed alive_count not being reset on skill unitsetting, which leads to
  6965. some groups not being cleared once all their units expire. [Skotlex]
  6966. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  6967. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  6968. * SKA no longer blocks skills. [Skotlex]
  6969. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]