Changelog-Trunk.txt 355 KB

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