Changelog-Trunk.txt 442 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908
  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. 09/05/09
  5. * Fixed GX's skill level modifier is missing [Inkfish]
  6. * Fixed some known and unknown player attached NPC timer problems [Inkfish]
  7. - Attached timer now can be stopped properly.
  8. - Attached timer will now stop if the NPC is unloaded. (bugreport:2510)
  9. 09/05/07
  10. * Fixed up the base success rate of normal strip skills [Playtester]
  11. - normal strip skills: 5% + 5%*level
  12. - Full Strip: 5% + 2%*level
  13. * Fixed splash damage from Baphomet Card might miss. [Inkfish]
  14. * Check if group unit is expired before processing it. (bugreport:3054) [Inkfish]
  15. * Fixed Grand Corss outdated behavior (bugreport:1590) [Inkfish]
  16. - use new damage formula
  17. - DEF is reduced to 2/3 during cast time
  18. - block shields switching within attack duration
  19. - monsters don't damage themselves any more
  20. - intervals between hits are 300ms
  21. * Added check on stackable items to 'checkweight' (bugreport:1569, bugreport:2756, bugreport:2994) [Inkfish]
  22. * Fixed flee penalty wasn't applied for battleground and wouldn't be restored on map change [Inkfish]
  23. * Fixed players can pull water from ME cell (follow up to r13730) [Inkfish]
  24. 2009/05/04
  25. * Added the md5() script command. [brianluau]
  26. * Now if a dead player is moved for whatever reason, he'll be alive with 1 HP. (bugreport:70) [Inkfish]
  27. * Players now are allowed to copy the skills the level which is beyond the skill_db max. [Inkfish]
  28. * Fixed some behaviors for Waterball (bugreport:3024) [Inkfish]
  29. - High level Waterball used by players doesn't increase the number of balls.
  30. - Monsters can't pull water from cells with Magnetic Earth.
  31. 2009/05/03
  32. * Updated item_db.sql and mob_db.sql from recent changes to both. Thanks to Peter once again! [Jguy]
  33. * Do not log damage if it's done by mob itself (bugreport:2933) [Inkfish]
  34. * Fix 'awake' not working (bugreport:2580) [Inkfish]
  35. * Fix several npctimer issues (bugreport:1619, bugreport:1730) [Inkfish]
  36. * Players now cannot be revived during pvp respawn delay [Inkfish]
  37. * Block equipments switching for some skills (bugreport:2900) [Inkfish]
  38. - cannot change equipments during Arrow Vulcan's cast time
  39. - cannot change equipments within Desperado's attack duration
  40. 2009/05/02
  41. * Spirit of Bard and Dancer now only works for mastered skills (bugreport:3037) [Playtester]
  42. - also fixed an outdated comment in the source code
  43. 2009/04/27
  44. * Fixed break equipment debuff working on bosses (bugreport:3023) [Playtester]
  45. 2009/04/25
  46. * Fixed Monster Spiral Pierce not being reduced by Ghostring Card (bugreport:3013) [Playtester]
  47. - it is forced neutral as its a MISC skill for monsters and doesn't take weapon element
  48. * First attempt to fix up the strip skills, please make sure these fixes work (bugreport:3011) [Playtester]
  49. - the minimum rate of strip skills is now 5% for all levels
  50. - duration of strip skills depends on the dex difference between target and caster and can be reduced to 0
  51. - strip skills can now affect bosses (if duration doesn't get reduced to 0 due to their high dex)
  52. - strip skills do a fixed -25% ATK, -15% DEF, -40% VIT or -40% INT independant of skill level
  53. - autocasting Full Strip has a duration now (if dex is high enough)
  54. 2009/04/20
  55. * Fixed safestrncpy trashing the memory before dst when n == 0. (since r10667) [FlavioJS]
  56. 2009/04/15
  57. * Monster Spiral Pierce is now a ranged misc attack [Playtester]
  58. - it always gets blocked by Pneuma, but never by Safety Wall
  59. - Defender doesn't reduce its damage
  60. - Range-Def item bonuses reduce its damage
  61. 2009/04/14
  62. * Cooking success chance is now affected by DEX and LUK [Playtester]
  63. - "cooking exp" still needs to be implemented
  64. - also fixed a small issue when whispering to someone in autotrade
  65. 2009/04/01
  66. * Removed online_check config options. (always active now) [FlavioJS]
  67. * Clarified char_maintenance config option.
  68. * Changed packet 0x2712. (added request_id)
  69. * Changed packet 0x2713. (added sex, request_id, version, clienttype; removed email, expiration time, gmlevel)
  70. * Delayed user count check and mmo_char_send006b to when the account data arrives.
  71. * Created auxiliary function MD5_Salt.
  72. 2009/03/31
  73. * Gunslinger Tracking can be canceled if you get hit.
  74. * Gunslinger Disarm always shows skill animation.
  75. * Removed custom firetrap effect from Gunslinger mines. [ultramage]
  76. 2009/03/27
  77. * Fixed a problem that blockskill timer failed when there was more than one on a skill [Playtester]
  78. - please test this, now Asura should be blocked 2 seconds after EVERY Snap
  79. 2009/03/26
  80. * Fixed Spirit of Assassin not reducing the aftercast delay of Sonic Blow [Playtester]
  81. * Assumptio can neither be cast nor dispelled on monsters anymore [Playtester]
  82. 2009/03/23
  83. * Added support for new status change packet, uses new setting display_status_timers in client.conf. [Sara]
  84. 2009/03/18
  85. * Updated item_db.sql with the perl script [Playtester]
  86. 2009/03/08
  87. * Fixed a couple bugs with marionette control [Brainstorm]
  88. - Reduces caster max hp by 1000.
  89. - Job and Equipment bonuses counts toward the 99 limit.
  90. - Fixed stat overflow on baby targets with stats over 80 (bugreport:2232).
  91. - Fixed clowns being able to cast it on another bard/clown (same for gypsy/dancer) (bugreport:166).
  92. - Caster is no longer blocked from using items.
  93. * Added several mail id checks to prevent a map server crash (bugreport:2837)
  94. 2009/03/02
  95. * Blade Stop status no longer prevents item use and equip changing.
  96. * Against non-players, Blade Stop skill will now only activate if the attacker is at most 2 cells away (1 if barehanded).
  97. 2009/03/01
  98. * Fixes from 2008/10/13 bugreport:2077 (Only commiting because nobody did until now and those bugs would get lost)
  99. * Fixed monster's Spiral Pierce, now it is always blocked by Pneuma.
  100. * Fixed Monk Absorb Spirits mana recovery per spirit absorbed, 7, not 10.
  101. * Fixed Monk spirit balls not being removed on death (like happens with gunslingers).
  102. * Fixed Swordman Auto-Berserk sp cost, 1, not 5. Should be 0, but eA wont allow the skill to work.
  103. 2009/03/01
  104. * Ankle Snare cannot be knocked back anymore (bugreport:2804) [ultramage]
  105. 2009/02/25
  106. * Wrong variable being used in StringBuf_Vprintf. (follow up to r13386, fixes bugreport:2798) [FlavioJS]
  107. 2009/02/23
  108. * Made mob_delayspawn check the spawn_timer in the mob. [FlavioJS]
  109. * Added missing delete_timer's every time spawn_timer is being set. (except when allocating)
  110. * Made mob_timer_delete check the deletetimer in the mob.
  111. * Added missing delete_timer's every time deletetimer is being set. (except when allocating)
  112. * Consolidated is_atcommand() and is_atcommand_sub() [SketchyPhoenix]
  113. - replaced gmlvl arg with a flag arg for internal/player generated checks. (dummy sds that used this arg are given gm levels)
  114. - each command check runs through is_atcommand() and is checked for its origin (internal or player generated)
  115. - charcommands are also parsed in this function.
  116. - script atcommand/charcommand function calls to is_atcommand() have been updated
  117. - also updated some clif/map functions calls to is_atcommand()
  118. * charcommands should now log properly with the target of the command included.
  119. 2009/02/20
  120. * Increased variable size for status/skill points to remove the 65k cap (bugreport:1579) [ultramage]
  121. * Modified WFIFOSET to trigger a fatal error when trying to send a packet that is too big. [FlavioJS]
  122. 2009/02/19
  123. * Fixed improper filling of w4 in npc_parsesrcfile when there are less than 4 fields. (bugreport:1063) [FlavioJS]
  124. * Simplified atcommand_spiritball. (deprecated msg_txt 204 and 205)
  125. 2009/02/06
  126. * Follow up to r13485. (bugreport:2741) [FlavioJS]
  127. - @spiritball creates spiritballs without timer (limited to the array size instead of 500)
  128. 2009/01/25
  129. * Changes to the configure script: [FlavioJS]
  130. - added option --enable-profiler (supports gprof)
  131. - added option --enable-64bit (don't force 32bit)
  132. 2009/01/24
  133. * Changed pc_spiritball_timer and pc_addspiritball: (bugreport:2705)
  134. - don't make assumptions about the calling order of timers
  135. - ensure that sd->spirit_timer is ordered by expiration time
  136. * Changed the variables of the mapcache structs to fixed size equivalents.
  137. * Changed all uses of struct skill_unit_group* to group_id in status_change_entry's. [FlavioJS]
  138. 2009/01/23
  139. * Changed npc_get_new_npc_id to ensure that it never returns invalid/used ids. [FlavioJS]
  140. - npc_get_new_npc_id is used to generate ids for npcs/mobs/homunculus/mercenaries/pets.
  141. If the server runs for long enough (years to months or less, depending on settings),
  142. the auxiliary variable npc_id will eventually overflow and go negative, then go
  143. through the range of object ids, then through the range of account ids.
  144. This can lead to all sorts of random crashes and memory leaks.
  145. 2009/01/22
  146. * Changed val4 of SC_BLADESTOP from a block_list pointer to an id. [FlavioJS]
  147. 2009/01/21
  148. * Added a limit of 1MB of pending data in the write fifo for non-server sockets.
  149. Connections that go over the limit are closed.
  150. * Replaced the fake timer heap (sorted array) with a real heap. (improves performance) [FlavioJS]
  151. 2009/01/20
  152. * Added a generic binary heap implementation based on defines. [FlavioJS]
  153. * Fixed pc_statusup2 to correctly update the client's stat window [ultramage]
  154. 2009/01/15
  155. * Updated script_commands.txt with the book reading command. [SketchyPhoenix]
  156. * Added/reworded/removed comments out of r13450
  157. 2009/01/14
  158. * Added client login packets 0x01fa and 0x027c. [FlavioJS]
  159. * Other minor cleanups.
  160. * #commands used by nonGM players now appear in the chat like normal rather
  161. than being processed and ultimately failed, printing out failed command messages
  162. that should be visible to only GMs.
  163. 2009/01/13
  164. * Cleaned up command @users/#users: [FlavioJS]
  165. - displays everything on the target user (self for @users)
  166. - uses a static array instead of a temporary DBMap
  167. - displays percentages with precision of 0.01%
  168. - uses safesnprintf instead of sprintf
  169. 2009/01/12
  170. * Mobs with nonzero spawn time can now be cached as well (bugreport:1197)
  171. * Fixed dynamic mobs being unloaded without stopping their respawn timer
  172. * Added regen_db to reduce hp/sp processing delays (bugreport:2256) [ultramage]
  173. * #command parsing cleaned up. [SketchyPhoenix]
  174. - Fixed charname reading problems from r13441
  175. - Corrected agitend typo to agitend2 (bugreport:2654)
  176. 2009/01/05
  177. * Fixed @mobsearch and @showmobs (bugreport:2481) [ultramage]
  178. - now only search for mobs on the same map as the caller
  179. - now properly distinguish between dead and alive mobs
  180. * Added @charcommands to return a list of available charcommands (bugreport:2630) [SketchyPhoenix]
  181. 2008/12/31
  182. * Changes to the script engine: [FlavioJS]
  183. - new stack datatype script_retinfo for C_RETINFO to hold all the return state info
  184. that was being stored in the stack. (the script engine in 64bit-ready now)
  185. - pop_stack is responsible for adjusting all the stack pointers.
  186. - push_* returns the created script_data.
  187. - 'return' only converts to value scope variables of the current scope.
  188. 2008/12/30
  189. * Changes to the script engine: [FlavioJS]
  190. - script ends when run_func can't find the buildin command. (script engine error)
  191. - run_script_main doesn't change RERUNLINE to RUN automatically,
  192. the buildin command that set it is responsible for that now.
  193. The buildin command can use this to detect a rerun.
  194. - created functions to alloc/free a script_state.
  195. 2008/12/28
  196. * Added missing command #delitem. [SketchyPhoenix]
  197. * Fixed charcommand behavior where those that can accept a name with no additional parameters
  198. being able to execute under said player's name with the name as a parameter. (bugreport:2601)
  199. 2008/12/25
  200. * Extended sv_escape_c to escape '\a','\b','\t','\v','\f','\?' characters
  201. to their respective representations instead of octal. [FlavioJS]
  202. 2008/12/22
  203. * Added a few missing atcommands. [SketchyPhoenix]
  204. * Added more commands to configurations (bugreport:2565)
  205. * Added a missing charcommand symbol config to atcommand configs.
  206. * GM command configs under the old format will have a warning printed back to the console as being deprecated.
  207. * Other fixes/cleaning partially resolving bugreport:2549
  208. 2008/12/20
  209. * Extended how duplicates work: (based on Orcao's work in bugreport:2361) [FlavioJS]
  210. - you can duplicate warps/shops/cashshops/npcs (before only npcs could be duplicated)
  211. - warp duplicates inherit the target location
  212. - shop/cashshop duplicates inherit the item list
  213. - npc duplicates inherit the script code (backward compatible behaviour)
  214. - updated script_commands.txt with the information
  215. 2008/12/17
  216. * Removed charcommand code and allowed atcommand code to support its functionality. [SketchyPhoenix]
  217. - Charcommands still retain their '#' symbol but now looks for a character name as the first parameter instead of last.
  218. - Atcommand configs now support charcommand level configurations by comma seperation (e.g. 60,99).
  219. - As a result of this, all atcommands that don't affect multiple users already (@kickall, @doom, @mapexit) are capable of remote usage.
  220. 2008/12/01
  221. * Fixed rare crash when using Flying Kick on clones (bugreport:2506) [ultramage]
  222. * Corrected Flying Kick's debuff rules to match official servers
  223. - only works on players
  224. - soul linkers and stalkers with Preserve active are immune
  225. - only removes Berserk Potion, Kaahi, Kaite, 1HQ, AAR and Soul Links
  226. 2008/11/27
  227. * Fixed a memory leak when returning a string variable in the script engine. [FlavioJS]
  228. (since r9864/r9865, fixes bugreport:2488)
  229. 2008/11/24
  230. * Fixed a va_end using the wrong variable. (from r13383, fixes bugreport:2483) [FlavioJS]
  231. 2008/11/22
  232. * Readded code that was removed from atcommand_showmobs by mistake in the previous commit. (r13383)
  233. * Hunted down improper uses of va_list variables.
  234. * Hunted down the simpler 64bit pointer truncations. [FlavioJS]
  235. 2008/11/18
  236. * Rev. 13375 Autotrade characters will no longer get caught by Urgent Recall. (bugreport:2447) [L0ne_W0lf]
  237. 2008/11/11
  238. * Updated script_commands.txt [FlavioJS]
  239. * Made scripts terminate with an error: (fixes bugreport:2429)
  240. - when getitem/getitem2 tries to delete more items than the player has
  241. - when trying to set Zeny to a negative number.
  242. 2008/11/09
  243. * Added a check to make sure killed monster's level was greater than half of the mercenary owner's level before incrementing mercenary's killcount. (bugreport:2410) [Paradox924X]
  244. 2008/11/07
  245. * Rev. 13358 Changed how mobcount works since it wasn't counting last mob death. (bugreport:2419) [L0ne_W0lf]
  246. 2008/11/06
  247. * Fixed 'Char creation denied' message not being sent properly. [FlavioJS]
  248. - Number 2 didn't exist in old clients so it used the default message,
  249. now it exists so the wrong message is displayed.
  250. - Changed 2 to 0xFF to get the default message.
  251. 2008/11/05
  252. * Fixed issue preventing you from changing to the original cart when using Change Cart. (bugreport:2383) [Sara]
  253. 2008/10/29
  254. * Novice skill, Trick Dead, will no longer be granted to classes upon reset (save for Novice and Baby) (bugreport:2312) [SketchyPhoenix]
  255. 2008/10/28
  256. * Made script command "unequip" call status_calc_pc. Thanks to Orcao. (bugreport:2368). [Paradox924X]
  257. 2008/10/27
  258. * Fixed all overflow checks and made the code a bit cleaner from r13322. [Paradox924X]
  259. * Removed leftovers of "bLoseSPWhenUnequip" and "bDamageWhenUnequip". [Paradox924X]
  260. 2008/10/24
  261. * Added protection from segfault by int overflow in charcommand heal and fixed a typo in atcommand heal. (Follow-up to r13321) [Paradox924X]
  262. * Added protection from segfault by int overflow in atcommand heal. (bugreport:1886) [Paradox924X]
  263. * Commented out unused function clif_marriage_process. [Paradox924X]
  264. 2008/10/21
  265. * Added a check to make sure a player wasn't in a guild when they accepted a guild invitation. [Paradox924X]
  266. 2008/10/18
  267. * Corrected a target checking problem brought about with Kaizel/Osiris combination. [SketchyPhoenix]
  268. 2008/10/16
  269. * Added missing char_sql/int_mercenary files to txt-converter's Makefile.in. [FlavioJS]
  270. 2008/10/15
  271. * Fixed ipban sql connecting to the sql server when disabled. [FlavioJS]
  272. 2008/10/11
  273. * Using Kaizel in conjunction with Osiris Card should now work. (bugreport:2251) [SketchyPhoenix]
  274. * #monsterignore should turn off now. (bugreport:2306) [SketchyPhoenix]
  275. 2008/10/09
  276. * Rev. 13272 Updated NPC_REBIRTH. Has it's own values, and no longer leeches off SL_KAIZEL. [L0ne_W0lf]
  277. 2008/10/06
  278. * Rev. 13264 Damage count on rebirthed mobs is now reset. (Valaris) [L0ne_W0lf]
  279. * Rev. 13263 voided out clif_blown as per Valaris' instruction. [L0ne_W0lf]
  280. * Rev. 13262 SC_WEIGHT50 and 90 are no longer removed on death. (bugreport:2316) [L0ne_W0lf]
  281. 2008/10/04
  282. * Delete ST_LOGIN auth in chrif_disconnectplayer (followup to r13256, bugreport:2292) [FlavioJS]
  283. 2008/10/03
  284. * Fix for "yet another online check bypass technique". (bugreport:2292) [FlavioJS]
  285. 2008/10/01
  286. * Rev. 13252 Kaupe will now trigger from mobs, homuns and mercenaries, as well. (bugreport:2297) [L0ne_W0lf]
  287. * Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225. [L0ne_W0lf]
  288. * Kaahi will now override override higher existing levels previously casted. (bugreport:2296)
  289. 2008/09/27
  290. * Fixed clif_changelook betraying the presence of gm-hidden players (bugreport:2283) [ultramage]
  291. 2008/09/11
  292. * Rev. 13226 Corrected Lex Divina not showing animation on fail. (bugreport:1740) [L0ne_W0lf]
  293. * Rev. 13225 Corrected Offensive Res using Turn Undead cast time. (bugreport:1704) [L0ne_W0lf]
  294. 2008/09/11
  295. * Rev. 13204 Made the mail check on login read from msg_athena.conf. [L0ne_W0lf]
  296. 2008/09/09
  297. * Rev. 13202 Added commands related to WoE SE, allowing it to run independantly of WoE. [L0ne_W0lf]
  298. - Added: @agitstart2, @agitend2, agitstart2, agitend2, and agitcheck2.
  299. 2008/09/05
  300. * Rev. 13192 Updated mmo.h, increased merc max count to 36. [L0ne_W0lf]
  301. * Fixed save crash related to non-guilded mercenaries.
  302. 2008/09/01
  303. * Removed hardcoded equip position names from getequipname (bugreport:2156)
  304. - now it's the npc's responsibility to store and display the names
  305. 2008/08/28
  306. * Fixed @cash/@points not handling negative values properly (bugreport:2132) [ultramage]
  307. 2008/08/26
  308. * Fixed @agjgmlvl bug preventing its use on other players. (bugreport:2124) [SketchyPhoenix]
  309. * pc_isGM() checks in gm_cant_party config checks will now check against being lower or higher than lowest_gm_level config.
  310. 2008/08/25
  311. * Fixed homun sp regen bug introduced on r12953 bugreport:2071 [Brain]
  312. * Fixed: several compiler warnings [akrus]
  313. 2008/08/20
  314. * Rev. 13098 Implemented Brainstorm's and SketchyPhoenix's fixes for Flying side kick. [L0ne_W0lf]
  315. - Skill will now remove KA-type statuses and not remove stalker's link while preserved.
  316. 2008/08/19
  317. * Fixed a storage saving issue with txt charserver (bugreport:2084) [ultramage]
  318. - caused by incorrect idb_ensure -> idb_get change (see r12950)
  319. - removed redundant account_id variable from storage data
  320. - cleaned up the very messy txt storage handling code
  321. * Added global sql settings 'sql.*' to inter_athena.conf.
  322. * Made account, ipban and loginlog use the global sql settings when the hostname is empty.
  323. * Commented 'ipban.sql.*' and 'account.sql.*' so they default to the global settings.
  324. * Removed deprecated settings 'case_sensitive' and 'add_to_unlimited_account' from in login_athena.conf.
  325. * Made inter_athena.conf be imported from login_athena.conf instead of being handled separate.
  326. * Changed ipban to get the failed login attempts of an ip from loginlog
  327. (respects if loginlog is enabled or not). [FlavioJS]
  328. 2008/08/16
  329. * Added a mapreg txt->sql converter script to /tools, because the sql
  330. mapserver doesn't read the txt mapreg savefile anymore and people
  331. will most likely want to preserve their global variables.
  332. - script is php-based and requires the php_mysql module
  333. - script produces a series of INSERT statements, ready to be imported
  334. 2008/08/15
  335. * Split off mapreg code from script.c [ultramage]
  336. - new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c
  337. - removed MAPREGSQL from project files / makefiles
  338. - mapreg storage engine is now fully dependent on the server type
  339. - added config settings mapreg_txt and mapreg_db to inter config
  340. - added get_str() function to complement add_str()
  341. - fixed txt mapreg code allowing too long variable names
  342. * Removed gm_cant_party_max_lv. It now uses gm_cant_party_min_lv as the threshold. (bugreport:2051) [SketchyPhoenix]
  343. 2008/08/11
  344. * Fixed right-click npc unload not unloading duplicates (bugreport:2014)
  345. 2008/08/09
  346. * Fixed @noks leaking internal buffer contents (bugreport:1528)
  347. * Now Novices without lvl5 basic skill can be partied (bugreport:1131)
  348. * Fixed login printing raw passwdenc passwords to console (bugreport:826) [ultramage]
  349. - added strlib function bin2hex()
  350. - cleaned up the md5calc interface a bit
  351. 2008/08/07
  352. * Added another GM trust config for party invitations (bugreport:2004) [SketchyPhoenix]
  353. 2008/08/04
  354. * Added configs for quest table name adjustment (bugreport:1778)
  355. 2008/08/02
  356. * Player shops will not close on death anymore (bugreport:1955)
  357. 2008/08/01
  358. * Removed unused guardian hp columns from the castles table in main.sql.
  359. * Corrected incorrect use of the datetime column in the `login` table. [ultramage]
  360. * Quagmire now will affect boss monsters, but more info is required to code the debuff exceptions properly. [Brainstorm]
  361. 2008/07/31
  362. * Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus]
  363. - added sql file upgrade_svn13025_log.sql
  364. * Improved: added --enable-debug=gdb option in configure script to use gdb optimized debug mode [akrus]
  365. * Removed the mob controller system, now a customization (see topic:194375) [ultramage]
  366. * Fixed: commented out loginlog in convert engine sql tables (loginlog table is in logs database now) [akrus]
  367. 2008/07/30
  368. * Fixed TXT storage code handling storage incorrectly (bugreport:1928)
  369. * AccountDB_TXT will now correctly read inconsistent EOLs (bugreport:1934)
  370. * Removed the IRC bot system, now a customization (see topic:194306)
  371. 2008/07/29
  372. * Renamed struct 'skill' to 's_skill' to remove naming collisions.
  373. * Added defines for mercenary skill ranges.
  374. * Added a mapping of mercenary skills to the skill db (700-799 atm).
  375. * Fixed Sql object not initializing default values properly.
  376. Fixed Sql_Free producing timer deallocation errors when called
  377. without first establishing a database connection.
  378. * Corrected upgrade_svn12975_view.sql not assigning default values
  379. to the two dummy columns; please drop the view and re-run the script.
  380. 2008/07/27
  381. * Fixed md5 passwords not working
  382. * Possibly corrected a guild saving problem (bugreport:1908)
  383. * Removed some leftover code that shouldn't have been merged [ultramage]
  384. * Fixed a memory leak in mmo_auth_tosql (extra sql statement being allocated).
  385. * Added missing option 'log_db_db' to loginlog_config_read(loginlog_sql.c).
  386. * Fixed a memory leak in account_db_sql_destroy. [FlavioJS]
  387. * Changed the way GM levels are handled
  388. - removed conf/gm_account.txt
  389. - added the gm level column to the txt savefile (after 'email' column)
  390. - gm level information is now transferred along with account data
  391. * Merged the /loginmerge branch [ultramage]
  392. - the login server storage, ipban and logging systems have been abstracted
  393. and now provide a common interface; the rest has been merged into a
  394. single login server core (no more login/login_sql duplicity)
  395. - storage systems are now added via compiler options (WITH_SQL / WITH_TXT)
  396. - multiple storage engines can be compiled in at the same time,
  397. and the config option account.engine defines which one will be used.
  398. - due to MySQL autoincrement limitations, accounts with id '0' will not
  399. be supported; account IDs from this point on should start from '1'.
  400. - login_log() functions now again record IP addresses in dotted format,
  401. not as 4-byte integers (undo from r6868).
  402. - removed config options that defined column names in the login table
  403. - removed `memo` and `error message` columns from login db/savefile
  404. - moved `loginlog` table to the logs database
  405. - added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql
  406. - due to changes to the login table layout, I added an !optional! sql
  407. file (upgrade_svn12975_view.sql) that will provide a certain degree
  408. of backwards compatibility with existing software;
  409. read the instructions inside carefully!
  410. - moved third-party includes/libs to a separate directory
  411. - updated project files / makefiles
  412. 2008/07/20
  413. * Simplified the search in pop_timer_heap and added more debug info to help
  414. determine the source condition of timer errors. (bugreport:1860)
  415. * Fixed crash in skill_castend_id. (bugreport:1860) [FlavioJS]
  416. * Corrected #storagelist target typo (bugreport:1873) [SketchyPhoenix]
  417. 2008/07/16
  418. * Added a check to make sure only released timers are acquired from the free list.
  419. * Changed TIMER_MAX_INTERVAL to 1 second (was set to 1 minute by mistake). [FlavioJS]
  420. * Fixed TK_JUMPKICK, should not jump over objects and cliffs.
  421. - This also might fix them being able to jump barricades on WoESE. [Brainstorm]
  422. 2008/07/15
  423. * Updated WoE Time Explanation for Sunday. [Paradox924X]
  424. * Corrected wrong data loading order in txt storage code [ultramage]
  425. * Fixed pop_timer_heap using max heap comparisons instead of min heap comparisons
  426. and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841) [FlavioJS]
  427. 2008/07/14
  428. * Made homunculi have doubled regen rates (they regen twice as fast) defined on battle configs. [Brainstorm]
  429. * Corrected compiler warning and error made from r12952 and r12953, respectively. [SketchyPhoenix]
  430. 2008/07/13
  431. * Modified storage data loading (bugreport:1425) [ultramage]
  432. - storage is now loaded/saved along with character status
  433. - as a consequence, a lot of storage handling code was removed
  434. - there is no more locking done within storage data
  435. - mapservers no longer cache the data (solves muiltimapserver exploit)
  436. - loading storage on char select may decrease charserver performance
  437. * Added missing picklog case [Konard]
  438. 2008/07/12
  439. * Fixed a bad check on NPC_EVILLAND, actually healing players instead of doing damage. [Brainstorm]
  440. 2008/07/10
  441. * Users can't click floating npcs directly. (quick fix for bugreport:1814) [FlavioJS]
  442. 2008/07/09
  443. * Fixed SG_FUSION hp penalty (0.5% to 2%), bugreport:1805 [Brainstorm]
  444. * Added const to the return value of get_timer.
  445. * Added a maximum timer interval. Avoids server shutdowns being delayed
  446. for ~10 seconds under some circumstances on windows.
  447. * Replaced the fake timer heap (ordered array) with a binary min heap. [FlavioJS]
  448. 2008/07/07
  449. * First attempt at implementing the official walk speed system
  450. - separated speed modifiers into bonuses, penalties and other statuses
  451. - no bonuses stack, instead the maximum is taken
  452. - no penalties stack, instead the maximum is taken
  453. - Union, Riding and Pushcart are the only other statuses that stack
  454. - both bonuses and penalties are linear modifiers of the base walk speed
  455. - 'other' statuses are applied after bonuses and penalties
  456. * Changed many equations to match official walk speed system
  457. - Steel Body now sets a fixed walk speed of 200 (bypassing everything else)
  458. - Defender now caps the walk speed to a minimum of 200
  459. - Slow Grace now uses official equation for aspd/walk speed decrease
  460. - Pushcart's speed penalty is now halved
  461. - Free Cast now changes walk speed to a fixed value, bypassing bonuses and penalties
  462. - Wedding clothes now have a penalty of +100%, not +200%
  463. - rogue's Tunnel Drive and stalker's Chasewalk ignore all penalties
  464. - taekwon's Running is now 5% faster
  465. - Frenzy is now 5% faster
  466. - Gospel's offensive slowdown is now +75% instead of +33%
  467. - Quagmire now slows down by +50% instead of +100%
  468. - Gatling Fever now slows down by +100% instead of +33%
  469. - Cloaking modifier is now a bonus/penalty, depending on presence of wall
  470. - Longing for Freedom overrides the song/dance penalty (bugreport:416)
  471. - Bard/Dancer Spriit now properly affects song/dance penalty (bugreport:1019)
  472. - item-granted speedup no longer stacks with speed bonuses (topic:145019)
  473. - removed some status code that pre-calculated speed bonuses/penalties,
  474. to make calculations more localized and less messy (see song/dance code)
  475. * Removed stop/slowdown effect from Grimtooth (bugreport:1806)
  476. * Players autotrading will not be able to receive whispers (bugreport:1804) [SketchyPhoenix]
  477. 2008/07/06
  478. * Slight cleanup of item-based walk speed bonuses [ultramage]
  479. - removed bSpeed bonus code (was just disabled until now)
  480. - changed speed_rate to use base value 0% instead of 100%
  481. 2008/07/05
  482. * Moved the mob killmonster flag to a more appropriate area. (bugreport:1795) [SketchyPhoenix]
  483. 2008/07/04
  484. * Fixed AM_PHARMACY produce chances based on info gathered by flaviojs, aegis zone ep 11.2, of 20070629 [Brain/FlavioJS]
  485. * Rev. 12912 Homunculus will no longer auto-vaporize on master death. [L0ne_W0lf]
  486. - Added config option to allow for this to be turned on or off.
  487. * Added missing 'E' logs to mail system [Lupus]
  488. 2008/07/03
  489. * Removed aspd penalty from Free Cast since tests show it's not there,
  490. even though RO sites claim it is
  491. * Adjusted Free Cast code so that its walk penalty gets calculated in
  492. status_calc_speed and nowhere else [ultramage]
  493. * Fixes regarding bugreport:1727 (undead element/race skill behaviors) follow up on revisions r12820 r12821 and r12822 [Brainstorm]
  494. 2008/06/24
  495. * Rev. 12891 Increased Item group limit for new item groups. [L0ne_W0lf]
  496. 2008/06/23
  497. * Fixed: replaced TYPEs with ENGINEs in SQL files (for better compatibility, TYPE is a synonym) [akrus]
  498. 2008/06/22
  499. * Extended script command 'set' to return the variable reference (topic:190602). [FlavioJS]
  500. * Fixed a bug where the "OnMyMobDead" event wouldn't trigger if the mob was killed and never attacked. (bugreport:1725) [SketchyPhoenix]
  501. * Reworded a comment in can_copy to make more sense.
  502. * Modified *killmonster and *killmonsterall to support a new argument that will allow it to kill monsters using the new OnMyMobDead behavior (in order to avoid breaking older scripts) (bugreport:1734)
  503. 2008/06/19
  504. * Added Sirius_White's fix for sense working on emperium. (bugreport: 1679) [SketchyPhoenix]
  505. * Fixed SC_CHANGEUNDEAD behavior: Blessing and Increase AGI deals 1 damage and does not apply buffs to those inflicted by it.
  506. 2008/06/18
  507. * Added a fix for refresh properly displaying dead and sitting players. [SketchyPhoenix]
  508. * Fixed basilica behavior not knocking back monsters 2 cells should one attempt to enter the field.
  509. * Fixed cash shop not using points to make up the cash difference when purchasing an item.
  510. 2008/06/17
  511. * Forgot to commit source modification from r12833 (Updated Novice grounds.) [L0ne_W0lf]
  512. 2008/06/16
  513. * Made the socket limit not be set in cygwin, which has bogus behavior. (bugreport:1684) [FlavioJS]
  514. * Made the socket limit be set to the maximum allowed value when setting to FD_SETSIZE fails.
  515. 2008/06/14
  516. * Fixed Icewall not restoring the original cell type [ultramage]
  517. * Fixed PF_FOGWALL working on Boss monsters. [Brainstorm]
  518. 2008/06/13
  519. * Fixed Evil Land working versus undead element instead of undead race.
  520. * Fixed Grandcross and darkgrandcross, should only cause blind against undead race.
  521. Also confirmed that ME, evil land, sanctuary, grandcross/DGC and status recovery are versus element, not race.
  522. * Removed confusion effect part from AL_CURE, it doesnt work on official anymore.
  523. * Partial revert of signum crucis modification, it doesnt work against players, but work on ELEMENT undead monsters.
  524. * Corrected dc_serviceforyou bonus values based on irowiki (better have fansite info than 100% guessed info).
  525. * Fixed dc_humming only recieving half the bonus from dancing lessons.
  526. * Fixed some skills working on undead element when they were supposed to work on undead race. [Brainstorm]
  527. Skills Fixed: Cure, Signum Crusis, Blessing, Demons Bane, Divine Protection.
  528. Skills needing confirmation: Magnus Exorcismus, Evil Land, Sanctuary, Status Recovery, GrandCross, Dark GrandCross, Head Crush
  529. 2008/06/12
  530. * Added check to prevent crashing on logmes with no player attached
  531. (bugreport:1648) [ultramage]
  532. * Added support for skill names to script commands: [FlavioJS]
  533. - skill, addtoskill, guildskill, getskilllv, getgdskilllv, itemskill,
  534. petskillattack, petskillattack2, petskillsupport, skilleffect,
  535. npcskilleffect, unitskilluseid, unitskillusepos
  536. - bonus/bonus2/bonus3/bonus4/bonus5 for bonuses bAutoSpell, bSkillAtk,
  537. bSkillHeal, bAutoSpellWhenHit, bAddSkillBlow, bCastrate
  538. 2008/06/11
  539. * Added partylock/guildlock checking for @changeleader/@changegm
  540. (bugreport:72) [ultramage]
  541. 2008/06/10
  542. * Fixed double attack working with unarmed attacks, as reported by Lone Wolf. [Brainstorm]
  543. * Added experimental code to set the socket limit at runtime. [FlavioJS]
  544. 2008/06/09
  545. * Fixed SN_SHARPSHOOTING doing 100% atk less damage than it should, bugreport:1654
  546. * Fixed Active Guild skills not working when WoE is OFF, follow up on r12770, bugreport:1653 and bugreport:1637
  547. * Fixed Fire Pillar (and any future splash damage magical trap) not working on Land Protector.
  548. * Fixed reject sword having a infinite duration, bugreport:695 [Brainstorm]
  549. 2008/06/08
  550. * Implemented the two-handed staff/rod type
  551. * Corrected definition of 'delitem' and 'delitem2', which prevented the
  552. optional accountid parameter from working (bugreport:1512) [ultramage]
  553. * Fixed SA_DISPELL removing SC_CRITICALWOUND. [Brainstorm]
  554. 2008/06/07
  555. * Swapped the W_SHOTGUN and W_GATLING weapon type IDs [ultramage]
  556. * Fixed GD_EMERGENCYCALL not working inside gvg castles when WoE is off, bugreport:1637 fix by Meyraw [Brainstorm]
  557. * Kaite should not work against high-level mobs (bugreport:1623)
  558. * Fixed 'soundeffectall' not reading its params correctly [ultramage]
  559. * Fixed PF_DOUBLECASTING casting % bugreport:140
  560. * Fixed a few properties of NPC_CHANGEUNDEAD bugreport:79 [Brainstorm]
  561. 2008/06/01
  562. * Added Ai4rei's "gm can view all players' equips" feature [ultramage]
  563. 2008/05/31
  564. * Crashfix to attach/detach timers, thanks to Konard (fixed recent crashes) [Lupus]
  565. 2008/05/28
  566. * Updated Ankle Snare duration (bugreport:1438) [Playtester]
  567. - agi now has only half the effect on the duration (100 agi reduces it by 50%)
  568. - minimum duration is 5 seconds no matter what
  569. * Fixed stat values displaying incorrectly when increasing them
  570. past 255 (wraparound, ack packet only has 1 byte) [ultramage]
  571. 2008/05/26
  572. * Updating configure script: [FlavioJS]
  573. - fixed memory manager using the argument of the last enable/disable option (any option)
  574. - other minor changes
  575. * Increased the allowed packet size for chat messages [ultramage]
  576. - changed the capacity of the message column in chatlog (see sql update)
  577. 2008/05/25
  578. * Increased storage space to 600 [Playtester]
  579. 2008/05/24
  580. * Updated sql files to latest [Toms]
  581. 2008/05/16
  582. * Fixed 64bit timestamps messing up auction/storage (bugreport:1454)
  583. * Added sd state to track party creation/invitation (bugreport:1180)
  584. 2008/05/13
  585. * Fixed a mistake in r11344 that caused the 'my shop' window to display
  586. info about cards slotted in items incorrectly (bugreport:1502)
  587. 2008/05/12
  588. * Fixed a script engine problem where warping away while having a menu
  589. window open and talking to an another npc with a menu would produce
  590. menu option count mismatch errors (bugreport:1208)
  591. 2008/05/10
  592. * Fixed @showmobs not working (bugreport:1487)
  593. 2008/05/09
  594. * Added correct extended info packets for items that are being moved
  595. into storage or cart. This caused items to visually lose their
  596. properties once they have been moved from inventory (bugreport:250).
  597. The modification is mostly copypaste but it works nicely [ultramage]
  598. 2008/05/07
  599. * Corrected default guild positions not being saved during guild creation.
  600. * Did some cleanup of the splash code, the NPC_WIDE* skills now send the
  601. 'preamble' packet, which for the most part correct their skill animation
  602. display.
  603. * Fixed Sense messing up with Spiderweb.
  604. * Added Throw tomahawk to the list of items that do not trigger the
  605. equipment breaking code.
  606. * Probably fixed Moonlight petals pushing back the casters.
  607. * Infinite Endure won't be passed on to devoted characters.
  608. * Infinite Endure is no longer saved on logout.
  609. * Added check to avoid gms opening vending shops if they don't have the
  610. required level.
  611. * Fixed the flee penalty not applying when you walk into a gvg map. [Skotlex]
  612. 2008/05/03
  613. * NPC_GUIDEDATTACK is not supposed to bypass pneuma/safetywall [ultramage]
  614. 2008/05/02
  615. * Fixed missing iterator destruction in the map_foreach* functions (followup to r12684).
  616. * Added backward compatible handling of PACKETVER 8 and 9. (followup to r12539)
  617. * Changes to map_foreach* functions: [FlavioJS]
  618. - removed the unecessary use of va_copy in map_foreachpc
  619. - applied the same function pattern to map_foreachmob and map_foreachiddb
  620. - created map_foreachnpc
  621. - extended the behaviour of map_foreach* functions to stop iterating when func returns -1
  622. * Replaced the very ineffective clif_foreachclient() with map_foreachpc() since they essentially do the same thing (bugreport:1174).
  623. * Rewrote map_foreachpc() so that its callback function signature now uses a more natural 'sd' instead of a DBKey/void* pair.
  624. * Rewrote atcommand_users() to use a single function, instead of depending on two helper functions and global objects.
  625. * Added a custom implementation of the va_copy macro for systems that don't provide it.
  626. * Fixed varargs not being used correctly in foreach() calls in db.c (bugreport:551).
  627. * Replaced the integers+checking approach in r12679 with usage of floating point arithmetic.
  628. * Applied search&replace to use the new name of the function.
  629. * Implemented get_percentage() for compact and safe calculation of percentual values.
  630. * Fixed integer arithmetic overflows that were occuring in several supernovice checks (bugreport:1135). [ultramage]
  631. 2008/05/01
  632. * Updated mob_db.sql to latest [Toms]
  633. 2008/04/30
  634. * Rev. 12676 Corrected several effect descriptions. [L0ne_W0lf]
  635. 2008/04/28
  636. * Cleaned up char server set online/offline/char select functions. (r12670) [Kevin]
  637. 2008/04/27
  638. * Fixing some timestamp type difference warnings...
  639. * Removed the calc_times() no-op (bugreport:1289).
  640. * Corrected r12662 where a guild break would trigger the OnGuildBreak event for all castles (even of other guilds).
  641. * Corrected some x64 compilation warnings in ers/malloc files.
  642. * Cleaned up a case of bad variable reuse.
  643. * Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, r12662, r12663): [ultramage]
  644. - the player data inventory-itemdb index is now refreshed using pc_setinventorydata()
  645. - mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload
  646. - the clif_buylist() function once again hides invalid npc shop items
  647. - it is no longer possible to purchase nonexistent items from a npc shop
  648. - npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it
  649. 2008/04/26
  650. * Added script function hasquest. [Kevin]
  651. * Fixed OnGuildBreak. [Kevin]
  652. * Cleaned up auth system after change back to map server request.
  653. - Created function set_char_charselect to get rid of some of the "special case" variables.
  654. - Removed code that involved the char server sending auth data at char select.
  655. - Changed char select code to update the instance of the char data in the DB
  656. to fix map/sex info not being propagated to auth request. [Kevin]
  657. * Rev. 12657 Added WoE SE castles to castles.txt in save-tmpl. [L0ne_W0lf]
  658. 2008/04/25
  659. * Updated item_db.sql to latest
  660. * Fixed bugreport:1223 (Invalid Items In Shops Are Processed Incorrectly)
  661. * Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 (optional
  662. account_id parameter) bugreport:1035
  663. * Modified doc in consequence [Toms]
  664. 2008/04/23
  665. * Fixed script strings not being handled properly (only skipped the \).
  666. * Added skip_escaped_c to strlib.c/h.
  667. * Fixed sv_unescape_c not handling hex/octal escapes properly.
  668. * Script parse errors displayed with one ShowError instead of several ShowMessage's. [FlavioJS]
  669. 2008/04/22
  670. * Changed itemdb_reload to clear the database before reloading, so it is possible
  671. can remove an item from the DB without restarting the server (bugreport:1348) (r12635). [Kevin]
  672. * Fixed a "bug" in sv_readdb under windows and cygwin configured as "Unix/binary" for text
  673. files ('\r' is read and empty lines are not skipped) bugreport:1382 bugreport:1401 [Toms]
  674. 2008/04/21
  675. * Changed the data field of timers from int to intptr.
  676. * Added intptr/uintptr to cbasetypes.h (integers with the same size as a pointer). [FlavioJS]
  677. * Rev. 12631 Changed Sacrifice status to end on caster's death, not at 25% HP. [L0ne_W0lf]
  678. - Should also fix over-flow damage returning to sacrificed targets. Partially fixes bugreport:1332
  679. * Updated sql files to latest [Toms]
  680. 2008/04/19
  681. * Made some cleanup in changesex [Toms]
  682. * Fixed a bug in (init/start/stop)npctimer [Toms]
  683. 2008/04/18
  684. * Fixed a bug when unloading a npc near a shop.
  685. * Fixed npc_buylist not giving/checking the good item when it was an
  686. item_avail in the shop (the real one was added in inventory).
  687. * Implemented config setting 'vending_over_max', to let people configure
  688. the behavior of vending items over the MAX_ZENY limit [ultramage]
  689. * Fixed mapserv crash, thanks to Konard [Lupus]
  690. 2008/04/17
  691. * Modified sv_readdb to be able to process non-native line terminators (bugreport:1382) [ultramage]
  692. 2008/04/16
  693. * Fixed an issue in r12575 where 'not setting char offline when going from mapserver to charserver' also caused a permanent account lockout if the player pressed 'cancel' in the char select screen.
  694. * Merged some recent changes from SQL to TXT, as someone didn't bother to do it.
  695. * Ifdefed the quest data request code as SQL-only (this was causing server disconnects whenver someone logged in). [ultramage]
  696. 2008/04/15
  697. * Use the same code for script commands getitem & getitem2 as @item to avoid
  698. bug in bugreport:1324 (non-stackable items are stacked) [Toms]
  699. * Removed all _ in the second name in item_db.txt and updated item_db.sql [Toms]
  700. * Added a forward declaration of the struct quest instead of including mmo.h [Toms]
  701. * Corrected some invalid syntax in skill_db.txt (wrong usage of commas)
  702. * Renamed BA_FROSTJOKE to BA_FROSTJOKER (aegis server-side name)
  703. * Implemented a generic framework for parsing delimited db files
  704. - allows specifying min/max column ranges and max number of rows to read
  705. * Cleaned up pc.c a bit [ultramage]
  706. * Updated item_db.sql to latest [Toms]
  707. 2008/04/14
  708. * Fixed a possible crash in char_sql. (since r12575, later modified in r12590). [FlavioJS]
  709. * Fixed a memory leak in mapif_quests_fromsql [Toms]
  710. * Fixed a typo in char_sql/char.c [Toms]
  711. * Fixed a bug in the disconnection part char-server (not sending you offline) [Toms]
  712. * Changes to the configure script: [FlavioJS]
  713. - added options --with-MYSQL_CFLAGS and --with-MYSQL_LIBS to allow manual setting of those variables
  714. 2008/04/13
  715. * More major updates to the quest log system. [Kevin]
  716. * Followup to r12579 (all other players appeared as female on sql branch). [FlavioJS]
  717. * Some major updates to the quest system, beginning to move it
  718. over to the inter server instead of char server. (r12581) [Kevin]
  719. * Added an include in clif.h to avoid a complaint of gcc [Toms]
  720. * Quick&dirty reversal of the inter-server behaviour introduced in r3255/r3256:
  721. - the behaviour enabled a desynch between the char-server and the map-server
  722. - now the map-server asks the char-server to authenticate the auth info
  723. (the char-server doesn't send the auth info immediatelly)
  724. * Changes to the configure script: [FlavioJS]
  725. - clarified how --with-zlib is used
  726. - added --enable-packetver to set the PACKETVER define (used often enough
  727. to get it's own option, but unnecessary since it can be set with CFLAGS)
  728. - added -g compiler option to --enable-debug
  729. * Changed LOG_ALL definition to really log everything [Toms]
  730. 2008/04/12
  731. * Login will no longer set character offline when going from map
  732. to character select. (r12575) [Kevin]
  733. 2008/04/11
  734. * The max_account_id packetver detection mechanism will never cause any connection problems ever again. (bugreport:388)
  735. * Reverted the `login` table changes from r12464 [ultramage]
  736. * Finished most of the quest log code, still bits here and there
  737. but it's ready for testing. (r12558) [Kevin]
  738. 2008/04/10
  739. * More quest log code. [Kevin]
  740. * Client not marked online until map receives auth request from the client
  741. - and is approved. Also added some online/offline sets to the auth system
  742. - that were being skipped.(r12552) [Kevin]
  743. * Modified the charservers to use a DBMap instead of a cyclic array for auth data.
  744. * Merged the auth fix from r12473 to TXT as well.
  745. * Removed the no-op from r12547. [ultramage]
  746. * Rev. 12550 Reverted the change to MAX_SQUARE_LAYOUT. [L0ne_W0lf]
  747. * Rev. 12548 Updated NPC skill "Evil Land". More gravity wtfage. [L0ne_W0lf]
  748. - Based on visual observation, and experience with it on iRO Sakray.
  749. 2008/04/09
  750. * Clif functions and basic data structures for questlog system. (r12544) [Kevin]
  751. 2008/04/08
  752. * Fixed party invitation ack messages not displaying (bugreport:1308)
  753. * Modified PACKETVER for recent clients to use a YYYYMMDD date format
  754. instead of a simple sequence number (allows adding versions inbetween)
  755. * Small party/guild creation cleanup. Added packet comments. Removed fake reply packet usage. [ultramage]
  756. 2008/04/07
  757. * Rev. 12529 Updated MAX_GUARDIANS to support an insane amount of guardians. [L0ne_W0lf]
  758. * Immunity to magic now makes you immune to the SC effect as well. (r12527) [Kevin]
  759. * Made script command 'flagemblem' and guild_emblem_change send an update
  760. of the emblem_id to the players in the area.
  761. - known bug: ui components that are displaying the emblem at the time
  762. (emblem in flag npc and emblem over head in gvg maps) are not updated,
  763. but putting the mouse over the target shows the new emblem
  764. * Modified script command 'guardian':
  765. - returns the id of the guardian
  766. - if guardian index isn't supplied, it generates a temporary guardian
  767. * Implemented support for temporary guardians (not saved with castle).
  768. * Added missing includes from r12520. [FlavioJS]
  769. * Party/guild names can no longer be less then 2 characters long. (r12521) [Kevin]
  770. * Removed the 'wait close' timer that closed a session's socket after 5 seconds.
  771. This was causing random disconnects when logging in. (bugreport:1330)
  772. * Improved the Mental Sensing fix from r12507 to not start the status at all, instead of starting it and ignoring it later on. [ultramage]
  773. 2008/04/06
  774. * Fixed a case where a dangling pointer was formed when a person was
  775. - invited to a party immediately after creating their own. (r12518) [Kevin]
  776. * Sight rasher now affects the wizard's own and other's icewalls. (r12516) [Kevin]
  777. * Sight rasher, sight blaster, and arrow shower are now the only
  778. - three skills that will affect traps. (r12516) [Kevin]
  779. * NPC earthquake now divides the atk2 bonus between players. (r12514) [Kevin]
  780. * Changed guild skills restore, regen, and battle order to only affect BL_PC. (r12513) [Kevin]
  781. * Reverted one of the changes in dynamic mobs that may
  782. - be causing the spawning problems. (r12512) [Kevin]
  783. * Equip speed buffs no longer stack with speed consumables. (r12509) [Kevin]
  784. - (Speed potion not included).
  785. * Sprint, Fusion, and Increase AGI now stack independently.
  786. - The others still don't take affect if you have any of these three. (r12508) [Kevin]
  787. * Mental Sensing no longer gives an xp bonus on bosses. (r12507) [Kevin]
  788. * Changed Union/Increase AGI stack fix (it should work now). (r12506) [Kevin]
  789. * Fixed seven wind not allowing ghost/shadow. (r12505) [Kevin]
  790. * Added Moscovia to the list of @go destinations [Toms]
  791. 2008/04/05
  792. * Unequip should no longer remove any buff from seven wind. (r12503) [Kevin]
  793. * Union and Increase AGI now stack. (r12502) [Kevin]
  794. * Union now consumes sp when not soul linked. (r12499) [Kevin]
  795. * Running into a wall/npc/pc/mob no longer enables spurt. (r12498) [Kevin]
  796. * Fixed unable to move after using a skill to break out of sprint. (r12497) [Kevin]
  797. * DMG no longer stops running. (r12488) [Kevin]
  798. 2008/04/04
  799. * PCs/Mobs/NPCs now block Leap(TK_HIGHJUMP) and sprint(TK_RUN). (r12485) [Kevin]
  800. * Disconnect user when receive select egg packet with no menu open. (r12484) [Kevin]
  801. * Fixed @rura between maps on more then one map server. (r12483) [Kevin]
  802. * Update to Auth Glitch fix: moved unit_free_pc back to where it was
  803. - and updated it so unit_free_pc just tells the script to end
  804. - (not hard delete). (r12481) [Kevin]
  805. * Updated mob_db.sql to latest.
  806. * Fixed a little bug in Kevin's commit (r12473) [Toms]
  807. * Bug fixes for Auth Glitch and Map server crash through script warp when
  808. - changing map servers.
  809. * When char receives the request to go back to char selection it sets
  810. - the character as "at char select" in the online_char_db, and
  811. - set_char_offline now deletes the entry in the online_char_db unless
  812. - the user is at the character screen (to prevent unecessary callocs/frees.
  813. * Script warp was just a simple misplacement of a free statement, freeing the
  814. - users session data before the scripting subsystem was finished with it. [Kevin]
  815. 2008/04/03
  816. * More login server work
  817. - Renamed 'connect_until_time' to 'expiration_time'
  818. - Renamed 'ban_until_time' to 'unban_time'
  819. - this also applies to login table columns (see upgrade_svn12464.sql)
  820. 2008/04/02
  821. * Rev. 12462 Updated MAX_GUILDCASTLE to support new castles. [L0ne_W0lf]
  822. * Added SV_KEEP_TERMINATOR option to not split the line terminator.
  823. * Added sv_split to strlib.c/h (similar to sv_parse). [FlavioJS]
  824. 2008/03/31
  825. * Fixed ACIDDEMO crash, thanks to Kaato&Konard [Lupus]
  826. * Added latest version of dbghelp.dll (from microsoft debugger package), to prevent Windows from loading other, outdated versions.
  827. This caused the dbghelpplug plugin to omit information about structures when producing a backtrace. [ultramage]
  828. 2008/03/30
  829. * yet more login server stuff
  830. - jA data structure compatibility renaming / adjustments
  831. - mmo_account -> login_session_data, auth_data -> mmo_account
  832. - made gender variable usage consistent for the entire login server
  833. - rewrote TXT's new account creation procedure to match SQL's
  834. 2008/03/28
  835. * Some more txt/sql login server synchronization [ultramage]
  836. - removed the option to specify multiple IPs/subnets for 'ladminallowip'
  837. - removed the @gm command and all associated management code
  838. - removed the 'save unknown packets' code
  839. - removed the lengthy TXT ipban code (which was essentially a copy of
  840. what's already handled by the socket layer/packet_athena.conf)
  841. - implemented 'start_limited_time' in SQL (expiration for new accounts)
  842. - applied some missing TXT changes from the last update
  843. 2008/03/27
  844. * Updated SQL Files (item & mobs) [Toms]
  845. * Partial rewrite of the login server's auth system.
  846. - replaced the cyclic, size-limited auth_fifo data structure with the
  847. more appropriate DBMap-based alternative (stops some erratic behavior)
  848. - added code to simulate the pseudo-status "online on login server"
  849. - auth data will now expire after 30 seconds instead of persisting
  850. - better-than-aegis handling of login cancellation (the server will wipe
  851. all previous auth data instead of making you wait for it to expire)
  852. - proper status message - no more generic "rejected from server", now
  853. you'll get "the server still recognizes your last connection"
  854. - fixed a typo in r10110 which caused disconnect timer removal to fail
  855. - split off some parsing code to login_auth_ok() and login_auth_failed()
  856. - extended the auth confirmation packet so that the login_id1/2 values
  857. are sent along with the associated account id (stops charserver from
  858. making wrong choices if two incoming sessions have the same acc_id)
  859. - fixed a bug in the disconnect part of the main charserver parsing
  860. loop, where a non-authed client would erase the online db entry for
  861. a client that's already online, thus bypassing any dual-login checks
  862. - added code to stop the waiting_disconnect timer when the associated
  863. online entry is removed right away, instead of doing checks later
  864. - removed code that would periodically wipe the online status of clients
  865. that are in the auth process (producing yet more erratic behavior)
  866. - commented out some TXT-only reconnect prevention code (bugreport:1281)
  867. * merged the charserver acc modification code cleanup to TXT (r11324)
  868. * changed trunk's default server->client PACKETVER to 9
  869. 2008/03/26
  870. * Adjusted eAthena code to compile cleanly in C++ mode.
  871. 2008/03/25
  872. * Added proper checks to adoption processing (followup to r12428).
  873. * Cleaned up some code / fixed some typos. [ultramage]
  874. 2008/03/24
  875. * Reorganized the contents of the mapserver's header files.
  876. - map.h is no longer a generic dumping spot of all the shared structs,
  877. and instead, each such structure now resides in its logical component
  878. - map.h now only holds mostly map-related things (needs more cleaning)
  879. * Fixed a problem in the new trade window implementation (from r11830) where no trade acknowledgement messages would get sent (bugreport:1217). [ultramage]
  880. 2008/03/22
  881. * Cart Termination now bypasses Parrying and Energy Coat (bugreport:476).
  882. * Mobs with no respawn information which don't have a master will not get unloaded by the dynamic mobs system.
  883. This prevents script-spawned mobs (bio MVPs, Emperium/Guardians, ...) and dead-branched mobs from disappearing (bugreport:1246).
  884. * Added a missing null-pointer check to the timed player pvp/gvg respawn function (mistake in r12232) [ultramage]
  885. 2008/03/21
  886. * Added VS9 project files. Thanks to Konard [Lupus]
  887. - removed redundant map_getallusers() function
  888. 2008/03/19
  889. * Changed the dynamic mobs system to also unload mobs that have respawn
  890. time but are already spawned - 22M less mem usage (bugreport:1197)
  891. - also added a check to not respawn mobs on maps with no players
  892. (potentially unsafe operation, needs further inspection)
  893. 2008/03/18
  894. * Fixed invited party members not displaying correctly (bugreport:1199)
  895. * Fixed OnPCLoginEvent not working correctly (bugreport:1182) [ultramage]
  896. * Added missing WorkingDirectory value to vcproj-7.1, vcproj-8 projects.
  897. Now you can flawlessly run your compiled server with RUN button in
  898. the correct directory. Thanks to Konard [Lupus]
  899. - Reverted changes from the project files, due to incompatibility [Lupus]
  900. 2008/03/14
  901. * Fixed spawned mob count not being counted properly, causing yet more respawn problems.
  902. * extended the "npc_event: event queue is full" error message to also print the name of the event (so that the cause can be tracked down)
  903. * removed a strange (and undocumented) event name check for "GM_MONSTER" in the npc event execution code
  904. * added effects from recent sakexes to effects list
  905. * removed ladmin from vs8 sql builds
  906. * added int_auction.c/.h to vs6 and vs7 project files
  907. * some small cleanups
  908. * Fixed one condition incorrectly modified in r12358, which caused dynamically unloaded mobs to never spawn once they've been unloaded once (bugreport:1178) [ultramage]
  909. 2008/03/13
  910. * Replaced some foreach-based functions by their inlined iterator equivalents.
  911. * Changed the dynamic mobs system, so that the flag that indicates whether a particular mob can be unloaded is stored in the mob's respawn data structure.
  912. * Cleaned up related parts of the source code.
  913. * Fixed one forgotten mob spawning function call causing mobs to duplicate when respawning (followup to r12350) (bugreport:1173) [ultramage]
  914. 2008/03/12
  915. * Removed one mob data variable related to dynamic mobs that I found to be redundant.
  916. * Changed MAX_MOBSKILL (max. amount of different skill entries per mob) from 50 to 40 to reduce memory consumption a bit more. [ultramage]
  917. 2008/03/11
  918. * Replaced one incorrect nullpo check in chat_deletenpcchat().
  919. * Replaced clif_countusers() with a more efficient alternative (thanks to the fact that pc_db now only holds fully authed players only). [ultramage]
  920. 2008/03/10
  921. * Added missing check to only allow the leader of a party to modify
  922. its exp share settings (bugreport:12) [ultramage]
  923. 2008/03/09
  924. * Modified attack_walk_delay so it behaves on a 'per-object' basis, and
  925. changed the default to 15 (all types).
  926. * Modified battle_delay_damage so damage is not delayed more than one
  927. second for non-player attacks.
  928. * Modified party_member_added with a hack so that the clif functions will
  929. send the info of the new member since party_recv_info has not yet arrived.
  930. * Updated clif_calc_delay so the type sent to the client is based on the
  931. number of hits of the skill (as Aegis packets reveal) [Skotlex]
  932. * Cleaned up and corrected some more land skill code [ultramage]
  933. - removed redundant skill_ganbatein() function
  934. - Added flag UF_PATHCHECK from jAthena which affects whether a skill's
  935. cells will be affected by the surrounding terrain. Adjusted existing
  936. flags so that they closely match jA's (for easier comparisons).
  937. - Fixed code that allowed placing of skill unit cells on 'gaps'.
  938. - Fixed code that prevented successful casting of land skills on 'gaps'
  939. (officially it's possible, even though they will not deploy entirely).
  940. 2008/03/07
  941. * Script induced status changes can now be reduced by stats/cards (but
  942. only trigger rate is reduced, not duration).
  943. * Battle delay timers will now check if the target player has the
  944. invincible timer active or not.
  945. * Adjusted clif_damage and clif_skill_damage to set the endure type value
  946. based on dmotion and damage, rather than hardchecking for SC_ENDURE.
  947. 2008/03/06
  948. * Fixed song/dance cells to appear even on top of walls and pits.
  949. * Fixed non-chatroom owners being able to kick others from the chatroom.
  950. [Skotlex]
  951. * Fixed a crash when a homun kills a mvp and the char that did
  952. the most damage is unable to carry the mvp reward (bugreport:1114)
  953. 2008/03/05
  954. * Added code to clear the Illusionary Shadow effect (followup to r12293)
  955. * Added some trim() calls into mapflag code (followup to r12238)
  956. * Fixed mvp exp reward packet not working right for big values
  957. * Added dbghelpplug plugin entry to the plugins configuration file
  958. * Added conf setting for auction table name (see r12287) [ultramage]
  959. * Implemented Firepillar's 'target cannot move for 0.2 sec x hit' property.
  960. * Corrected Earthquake so it behaves as explained in the development topics.
  961. * Added a missing line to actually unequip unallowed compounded cards when
  962. changing maps.
  963. 2008/03/04
  964. * Updated the firepillar code so it behaves like the other traps.
  965. * Additional status changes now only get triggered if the attack did
  966. damage, not if they get absorbed.
  967. * Properly set the opt3 value for Moonlight, Changeundead and Soul Link.
  968. * Fixed the "no equip" flag of cards not being properly applied when
  969. attemting to equip items.
  970. * Some corections to the new auth db system. [Skotlex]
  971. 2008/03/02
  972. * New optimizations for mail system and adjust to use it on Auctions. [Zephyrus]
  973. - Added a Sql patch to clear all deleted mails. (There is no need to keep that data)
  974. - Added more code for Auctions. Not implemented but just for study.
  975. 2008/02/29
  976. * Rev. 12268 Added documentation for Cash shop NPC heading. [L0ne_W0lf]
  977. 2008/02/28
  978. * Added cash shop support [Zephyrus]
  979. 2008/02/27
  980. * Fixed 'cleararray' not able to erase array entry 127 (bugreport:864)
  981. * Fixed @reloadmobdb producing memory leaks in pet db (bugreport:1030)
  982. * Patched an unresolved case where knocking back a bard/dancer would
  983. cause the mapserver to crash (bugreport:1043)
  984. * Fixed Apple of Idun not checking for bard soul link (bugreport:1028)
  985. * Fixed Advanced Adrenaline Rush not working barehanded (bugreport:1049)
  986. * Disabled idle_no_autoloot setting (bugreport:1051)
  987. * Removed NODAMAGE and ICEWALL cell types (mem usage back to normal)
  988. - Icewall now uses basic cell type 5 (nonwalkable, shootable)
  989. - as a consequence, you can now warp to a nonwalkable cell - but only
  990. via gm command or scripted warp bug (hopefully :)
  991. * Added missing option changes for Illusionary Shadow and Soul Link
  992. that disappeared when you left the screen (bugreport:1053)
  993. * Added support for the "view player equip" feature (see topic:174461)
  994. 2008/02/26
  995. * Added new settings for Autotrade. [Zephyrus]
  996. 2008/02/23
  997. * Now the server will print an error message if an invalid mapflag is
  998. found during script loading (see bugreport:980 for the motivation)
  999. - removed one extra space that broke jail's noreturn mapflag loading
  1000. 2008/02/22
  1001. * Removed code in socket.c that tries to avoid send buffer overloading,
  1002. as there is a scenario (many players and charserver disconnect) where
  1003. mass char saving produces huge ammounts of data to send (see r11503)
  1004. * Cleaned up player respawning code (bugreport:1022)
  1005. * Increased the max amount of different autocast skills from 5 to 10
  1006. * Fixed @whomap not unlocking the player db (bug in r12204) [ultramage]
  1007. * Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs
  1008. directly to all sub make files. How to use:
  1009. make CUSTOM_CFLAGS='-DSOME_DEF' sql [Lupus]
  1010. * Fixed 2 problems in r12223 - incorrect variable used (bugreport:1031) and a missing global function declaration. [ultramage]
  1011. 2008/02/21
  1012. * Added status_calc_life to properly calculate hp/max_hp as a ratio taking
  1013. into accounts overflows (and for now also avoids divisions by 0). Applied
  1014. this function around clif.c, mob.c and pet.c
  1015. * Implemented the correct walk-speed bonus from the Bard/Dancer spirit.
  1016. * Fixed logarithmic drops turning 0% drop rates into 100%.
  1017. * Restructured the login mechanism of the map-server. The goal was to make
  1018. sure players are not found in the different dbs of the map while the
  1019. player has not yet been fully authed or while it is quitting, to avoid the
  1020. rest of the code from accessing and modifying it. It is a rather extensive
  1021. change, and I only had time to test the basic functionality, so if use with
  1022. care and report any bugs found.
  1023. * Replaced player states auth, waiting_disconnect, finalsave with active,
  1024. and removed states party_sent/guild_sent.
  1025. * Removed several of the old login methods/constants/player states which
  1026. are no longer needed due to this cleanup. [Skotlex]
  1027. 2008/02/19
  1028. * Rev. 12219 Fixed a typo in /map/clif.c (acount_id -> account_id) [L0ne_W0lf]
  1029. * Forgotten update to the definition of script command 'input'.
  1030. * Enabled DEBUG_MEMMGR only in DEBUG mode.
  1031. * Made autotrading characters be kicked instead of reporting double login.
  1032. * Made create_session initialize session_data to NULL.
  1033. * Fixed db_obj_get not handling deleted nodes correctly. (bugreport:999) [FlavioJS]
  1034. 2008/02/17
  1035. * corrected login_fd/char_fd being uninitialized in the char servers.
  1036. * Added a check to prevent using consume-delay items when you cannot use
  1037. skills, since that opens an exploit if the item also has non-skill-casting
  1038. components to its script. [Skotlex]
  1039. 2008/02/14
  1040. * Removed/replaced all calls to map_getallusers (followup to r12195)
  1041. * Trashed @whozeny (from r269) [ultramage]
  1042. * Added some changes to @noks. Now it uses a SC and not vars in mob_data [Zephyrus]
  1043. - Added support to Self|Party|Guild to @noks (default is Party)
  1044. 2008/02/13
  1045. * Changes to memory manager: [FlavioJS]
  1046. - fixed blocks that are fully used not being detected (and not freed) in
  1047. memmgr_final (unfill_prev is NULL for unused blocks and full blocks)
  1048. - fixed memmgr_final giving the wrong address to _mfree (for small blocks)
  1049. - added the pointer address to most error messages (and log)
  1050. - made it append to the log file instead of rewriting it
  1051. - implemented a function to verify if a memory location is active
  1052. - other minor changes
  1053. * Merged memory manager updates from old jA revisions (bugreport:663) [ultramage]
  1054. - less overhead and better overflow detection (caution, experimental!)
  1055. * Added some security checks in mail system [Zephyrus]
  1056. - This supose to fix a bug reported in 622 to limit to MAX_ZENY.
  1057. - Also add more checks to free space in your inventory to receive items.
  1058. * Added some new config settings: [Zephyrus]
  1059. - homunculus_autoloot, idle_no_autoloot, max_guild_alliance.
  1060. - Added a code to activate a Kill Steal protection and the required mapflags.
  1061. 2008/02/11
  1062. * 'Forget me Not' no longer blocks ASPD bonuses from working or prevents
  1063. their re-casting, they are simply dispelled when the effect takes place.
  1064. * Fixed a possible crash when a player logs out before their create-party
  1065. request is accepted. [Skotlex]
  1066. * Expanded the script command 'input': (bugreport:811) [FlavioJS]
  1067. - two new optional arguments 'min' and 'max'
  1068. - return value indicating if it's in the correct range
  1069. - config variables for the default value of the arguments:
  1070. 'input_min_value' and 'input_max_value' in script_athena.conf
  1071. 2008/02/10
  1072. * Added two missing opt2 values, for Angelus and Bleeding status
  1073. * Fixed Warp Portal code sometimes producing errors/crashes in the case
  1074. where a priest enters his/her own warp (bugreport:270)
  1075. 2008/02/08
  1076. * Fixed wrong message in item group loading code (bugreport:936)
  1077. * Fixed 'charisalpha' not working for the first char (bugreport:940)
  1078. * Disabled signed/unsigned warnings for visual studio 2005 [ultramage]
  1079. 2008/02/07
  1080. * Fixed the disguise commands using the wrong variable when attempting to
  1081. disguise as an npc.
  1082. * Corrected and optimized npc_remove_map's npc array cleanup (Fixes
  1083. @reloadscripts reporting 'too many npcs per map' and related dangling
  1084. pointer crashes).
  1085. * HP loss item scripts can no longer kill you.
  1086. * Corrected the item-drop-rate check to avoid duplicate entries in
  1087. @whodrops after a @reloadmobdb. [Skotlex]
  1088. 2008/02/04
  1089. * Some code cleanups. [Zephyrus]
  1090. - Added new Cell types (NoChat and NoDamage)
  1091. - Added JobChangeLevel and FreeSKPoints to #stats
  1092. - Added a Crash protection in clif_send with invalid fd values.
  1093. - Merged a missing update in TK Mission.
  1094. - Added script command 'getmapflag'
  1095. 2008/02/03
  1096. * Fixes to Devotion (see topic:153345) [ultramage]
  1097. - removed totally fake Devotion packet from Marionette Control code
  1098. - fixed one devoted chars array management code bug which caused chars
  1099. to be included in the array multiple times, producing various problems
  1100. - the link will now re-display when coming into view range
  1101. - the link will no longer break if the devotee walks away, but instead,
  1102. if he receives damage while being out of range of Devotion
  1103. * Added an iterator to map.h/c. [FlavioJS]
  1104. Will be used instead of map_getallusers, which has problems with
  1105. dangling pointers (returned array isn't updated).
  1106. 2008/02/01
  1107. * Fixed sql charserver crashing sometimes (bugreport:870) [ultramage]
  1108. 2008/01/29
  1109. * Plagiarize can no longer copy skill levels beyond their max skill_db
  1110. value.
  1111. * Modified pc_dead so that the src is passed on to the master when it is a
  1112. pet or homunculus. [Skotlex]
  1113. 2008/01/26
  1114. * Small update to the dgbhelpplug plugin: [FlavioJS]
  1115. - fixed only half of wide character strings being printed
  1116. - fixed the memory validity check in Dhp__PrintDataValue being optimized
  1117. out in release mode
  1118. 2008/01/25
  1119. * Updated conversion tools for mob_db & item_db
  1120. * Updated SQL Files (item & mobs) [Toms]
  1121. 2008/01/21
  1122. * Fixed battle config loading not applying the side-effects of
  1123. battle_adjust_conf() side-effect if an import: operation fails.
  1124. This is what caused the odd slowdown reported in bugreport:260.
  1125. 2008/01/20
  1126. * Fixed item searches not working on exact "jname" matches.
  1127. * Fixed hom_setting&0x2 conflicting with the 'view-range' limit check.
  1128. * Merged the SA_MONOCELL and SA_CLASSCHANGE code. After changing class all
  1129. the status changes that cannot be triggered on bosses are dispelled.
  1130. * SA_CLASSCHANGE now uses the bloody branch list to pick a target MVP
  1131. class. [Skotlex]
  1132. 2008/01/19
  1133. * Added plugin dbghelpplug to generate more extensive crash reports in windows. [FlavioJS]
  1134. - see header of src/plugins/dbghelpplug.c to know it's capabilities
  1135. - VS8 project file supplied at vcproj-8/dbghelpplug.vcproj
  1136. - a dll compiled in release mode is supplied at plugins/dbghelpplug.dll
  1137. 2008/01/17
  1138. * Made battle_check_range fail whenever the distance between src/target is
  1139. greater than the viewing range. [Skotlex]
  1140. * Icewalls can no longer be knocked back (see bugreport:38)
  1141. 2008/01/15
  1142. * Manner system fixing [ultramage]
  1143. - better-than-aegis 'red bubble' packet updates; now it shows correctly
  1144. - added support for /rc, which is basically mute for 60 minutes
  1145. - fixed typo in r12076 making gm-mute start on the gm instead of target
  1146. - fixed @mute not ending the status properly when using negative values
  1147. - adde missing clif_manner_message(), sends info about manner updates
  1148. 2008/01/14
  1149. * Fixed missing mob_spawn call, which was making CR_CULTIVATION not
  1150. actually spawn the plant. [Skotlex]
  1151. * Client packet corrections
  1152. - 0x01df is not 'gmreqnochatcount', but for requesting a player's
  1153. account name via right-click menu (which currently can't be done)
  1154. - added /remove and /recall, aliases to /shift and /summon
  1155. - added /changemaptype, which alters a single cell's gat type
  1156. - gm kick will no longer exit the client (now it goes to the login screen)
  1157. - removed the quicksort invocation in /ignore code
  1158. * Fixed card removal script functions' 'extra card' bug (bugreport:786)
  1159. * Removed the hardcoded limit for numeric npc input boxes (bugreport:811)
  1160. * Applied a temp patch to make some npc-executed atcommands work again
  1161. * Added support for right-click-gm-menu kicking NPC objects [ultramage]
  1162. * Fixed dangling pointer crashes when bleeding or Deadly poison kills a
  1163. spawn-once monster.
  1164. * Fixed a possible ERS entry corruption when Deadly Poison kills a target
  1165. that has kaizel active.
  1166. 2008/01/13
  1167. * Fixed a possible ers_entry corruption if you die from bleeding while
  1168. under the effects of kaizel.
  1169. * Updated Safety wall so it does not blocks melee magic. [Skotlex]
  1170. 2008/01/12
  1171. * Another possible fix to ers/status_change crashing.
  1172. - same logic as r12058 but in status_change_timer.
  1173. - look out for this error: "[Error]: status_change_timer: Unexpected NULL status change id: ### data: ###"
  1174. getting it means that a crash was avoided and the culprit found.
  1175. * Modified npc_parsesrcfile to read the file as binary and let sv_parse handle LF/CRLF line endings.
  1176. * Possible fix to ers/status_change crashing. [FlavioJS]
  1177. - this patch is untested. Didn't find anyone willing to test it and I can't
  1178. reproduce the crash so can't test the patch.
  1179. symptom:
  1180. status_change_entry.timer is being modified after the entry is freed.
  1181. ers uses that memory location as a pointer when the entry is freed,
  1182. it crashes when accessing the contents when it points to an invalid location.
  1183. assumption:
  1184. status_change_start starts an already existing status.
  1185. as a consequence of something called inside status_change_start the status is ended.
  1186. when the sce is finally being modified, it's modifying a freed entry.
  1187. 2008/01/11
  1188. * Implemented the extra damage bonus to TK_JUMPKICK when it is used while
  1189. running (however what the bonus's equation is has been lost to time, so
  1190. someone else correct it).
  1191. * Corrected CR_CULTIVATION to cause summoned plants to expire after 5
  1192. minutes.
  1193. 2008/01/10
  1194. * Fixed getmonsterinfo to return "null" when returning the name of a
  1195. non-existing mob instead of -1.
  1196. * Corrected CR_CULTIVATION to fail when the target cell has some BL_CHAR on
  1197. it already.
  1198. * Script command percentheal will no longer kill the player if the
  1199. specified amount is negative (and not -100).
  1200. * Fixed Abracadabra unable to cast non-targeted skills (bugreport:186)
  1201. * Another round of login server cleaning [ultramage]
  1202. - fixed passwordencrypt on SQL not behaving correctly (since r10753)
  1203. - corrected some column lengths in the login db (username, password,...)
  1204. - fixed some places which used wfifo without first reallocating it
  1205. - removed interserver packet 0x7532 (Request to end connection), as
  1206. there was no code that actually sent this packet
  1207. - moved RFIFOSKIP actions to execute as soon as possible
  1208. * Corrected @slaveclone/@clone behaving as @evilclone when you change the @
  1209. symbol.
  1210. * Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they
  1211. were card granted bonuses.
  1212. * fixed a SA_DISPELL crash when casted on an object with no status changes.
  1213. 2008/01/09
  1214. * Script command warpportal now places a warp in its initial state (as if a
  1215. real warp portal was casted).
  1216. * Updated dispell to also not remove the following effects: Hindsight, Inc
  1217. Hit/Atk Rate (NPC_POWERUP), Nen, TK stances and tumble, warm and speedup1
  1218. (the other speed potion).
  1219. * Chase-walking characters can now loot.
  1220. * Hiding characters can't drop items now. [Skotlex]
  1221. 2008/01/08
  1222. * Added missing session auth checks to charserver. [ultramage]
  1223. Packets from non-authed clients will now be discarded.
  1224. * Fixed Wand of Hermod not starting the SC_HERMOD status change (which
  1225. blocks spells)
  1226. * Fixed additional def/mdef from vit/int bonuses being lost when a status
  1227. change that affects def/mdef triggers (for homunculus) [Skotlex]
  1228. * Added missing code to log main chat messages sent by whispering
  1229. to main_chat_nick (bugreport:424) [ultramage]
  1230. 2008/01/07
  1231. * Small change to potion pitcher to allow potion healing rate item effects
  1232. to be included in potion pitcher's heal rate. [Reddozen]
  1233. * Changed the code in status_change_timer so that a null pointer no longer
  1234. causes a crash but prints an error instead.
  1235. * Corrected clones not copying over a player's skills properly. [Skotlex]
  1236. 2008/01/06
  1237. * Extended the id range for npcs, now [400,700) will also be treated
  1238. as NPC objects (see topic:170845 and bugreport:727) [ultramage]
  1239. * Fixed a visual itemdupple bug on mail system. [Zephyrus]
  1240. - Fixed Overthrush status cannot being recalled at same skill lvl.
  1241. 2008/01/04
  1242. * Fixed a mistake in r11991 that let knockback work through walls
  1243. * Modified the map_setcell() code to to use a boolean flag instead of
  1244. needing SET_ / CLR_ pairs of defines (topic:174323) [ultramage].
  1245. Also removed script object 'setcell', added script function 'setcell'
  1246. - Now you can manipulate cell information without needing @loadnpc
  1247. - You can also manipulate the terrain ('gat') type itself, using the
  1248. new cell_walkable, cell_shootable and cell_water constants
  1249. (currently the implementation uses bit flags too, so to get the type
  1250. you want, you need to adjust the flags one by one)
  1251. - This breaks current scripts, so please adjust places that use setcell
  1252. (also be sure to _only_ use predefined constants, not direct numbers)
  1253. - Details can be found in the script reference.
  1254. * Fixed Music Lesson's effect on Assassin Cross of Sunset.
  1255. * Fixed a possible crash in status_change_timer when debug mode is
  1256. disabled. [Skotlex]
  1257. 2008/01/03
  1258. * Changes to reduce the number of map cell types
  1259. - Pneuma now again works via status change (see r3969)
  1260. - removed unused CELL_SAFETYWALL
  1261. - removed custom CELL_REGEN, it just increased regen rate (r1192, r1518)
  1262. * Fixed npc unloading not clearing NPC touch cells (bugreport:595)
  1263. * Map cell mechanism rewrite (bugreport:426)
  1264. - defined a data structure for map cells (replaces 3 various cell arrays)
  1265. - both terrain (gat) and dynamic (cell) information is now stored as
  1266. C-style bit flags instead of #defines and bitmasks
  1267. - added map_gat2cell() and map_cell2gat() for terrain type conversions
  1268. - changing terrain information via 'setcell' is temporarily disabled
  1269. - mapserver startup now takes longer, as it needs to adapt mapcache data
  1270. to internal representation, cell by cell (new mapcache format anyone?)
  1271. * Moved extra junk from map_addblock/map_delblock to where it logically
  1272. belongs (loadendack/unit_remove_map), removed flags and _sub macros
  1273. * Removed map_data's block_count, as (quote Yor/ja2160),
  1274. "Perhaps useful for debug, but uses memory AND CPU for nothing."
  1275. (block lists are linked lists, they don't need count tracking) [ultramage]
  1276. 2007/12/31
  1277. * Fixed a crash in txt char-servers that the memory manager was hiding.
  1278. online_char_db being used after being destroyed (since r4026)
  1279. * Added code to reject double logins in clif_parse_WantToConnection and
  1280. added debug messages to detect possible double logins that escaped.
  1281. * Isolated accounts that are waiting for the quit ack. The rest of the
  1282. game logic no longer has access to them though the id2sd/charid2sd dbs.
  1283. 2007/12/30
  1284. * Fixed get_val2 not using the stack, which automatically frees the data,
  1285. causing memory leaks for string variables since r11976.
  1286. (bugreport:723 , part of bugreport:714 and part of bugreport:708)
  1287. * Trully fixed the previous commits. (missing cast and incomplete size)
  1288. * Made the memory manager set allocated memory to 0xCD and freed memory
  1289. to 0xDD. The memory manager no longer 'hides' uses of freed memory.
  1290. 2007/12/29
  1291. * Fixed two missing @LDFLAGS@ in src/plugins/Makefile.in. [FlavioJS]
  1292. * Implemented THE official Steal skill equation and game mechanics
  1293. (basically version from /stable plus a few tweaks) (see topic:116540)
  1294. * Added missing bAddStealRate reference to doc/item_bonus.txt
  1295. * Removed skill_steal_rate, as it was never used in the code (see r231)
  1296. * Removed skill_steal_type, it's just a one-liner source mod (see r231)
  1297. * Knockback now works through cells where there is a diagonal path, but
  1298. no horizontal+vertical (two 90` icewalls with a gap where they 'join')
  1299. * Some dead code removal in path.c [ultramage]
  1300. 2007/12/28
  1301. * Fixed a memory leak in memitemdata_to_sql.
  1302. * Reverted a bad modification in clif_produceeffect from r11290. [FlavioJS]
  1303. 2007/12/27
  1304. * Removed an incorrect range check and fixed a copypaste typo which
  1305. caused script engine errors / crashes (see r11984)
  1306. * Re-added a missing mob last_thinktime timer initialization when a mob
  1307. spawns, causing mob AI to freeze (mistake in r11964) [ultramage]
  1308. * Changed the configure script:
  1309. - refined the mysql test (wasn't detecting 64 libraries compiled without -m64)
  1310. - added a test for clock_gettime in -lrt (required for Debian)
  1311. * Corrected description of scope and npc variables in script_commands.txt.
  1312. * Made temporary character string variables not have a limited length.
  1313. (now all temporary string variables don't have limited length)
  1314. * Made temporary character variables reuse free positions.
  1315. * Tweeked the declaration and initialization defines for vectors.
  1316. * Made do_sockets leave the for loop as soon as the readable number of
  1317. sockets returned by select is found.
  1318. * Made all posix compliant systems that support it and FreeBSD >= 5.1
  1319. (implements it but doesn't have the posix defines) use the precise and
  1320. consistent tick() implementation.
  1321. * Minor tweek to HEAP_SEARCH (same variable can be used in from and to).
  1322. * Fixed the map server not exiting when make_listen_bind fails and
  1323. returns -1. [FlavioJS]
  1324. 2007/12/26
  1325. * Fixed the incorrect interpretation of the map-cell height information
  1326. stored in .gat files; this was causing an overall of 20000 cells to
  1327. be treated as water when officially they aren't [ultramage]
  1328. * Fixed string variables dereferencing directly to the value instead of
  1329. dereferencing to a copy of the value. (fixes bugreport:684 bugreport:641) [FlavioJS]
  1330. 2007/12/23
  1331. * Added a generic vector implementation (dynamic array) based on defines. [FlavioJS]
  1332. * Fixed horrible handling of skill_abra_db which leads to memory corruption
  1333. (depending on the contents of yor abra_db.txt file) [Skotlex]
  1334. 2007/12/22
  1335. * Fixed droprate overflows when going over rate 2000x [ultramage]
  1336. * Corrected mob spawn utilization of the delay1/delay2 values (one is
  1337. respawn delay base, the second is random variance added on top of it).
  1338. Cleaned up related code. [Skotlex]
  1339. 2007/12/19
  1340. * Fixed yet another buffer overflow, in @adopt [ultramage]
  1341. * Changes to the configure script. [FlavioJS]
  1342. - fixed the 'pointers can be stored in ints' test not working
  1343. - fixed the linker trying to build 64 bit executables with 32 bit code on
  1344. x86_64 (missing -m32 flag in LDFLAGS)
  1345. - made MYSQL_CFLAGS be built from the --include option to be more portable
  1346. - made --with-mysql check if the optional argument is an executable file
  1347. - make --with-pcre check if the optional argument is a directory
  1348. - other minor changes
  1349. * Corrected SC_MIRACLE to trigger Bless of the Stars on all defeated mobs.
  1350. [Skotlex]
  1351. 2007/12/18
  1352. * Fixed a possible buffer overflow in @partyoption [ultramage]
  1353. * Updated respawn time interpretation according to latest kRO update [Playtester]
  1354. - this first time is the "min respawn time"
  1355. - the second time is the "variance" which is added to the "min respawn time"
  1356. * Corrected skill_db reading to properly trim the skill name/descs.
  1357. * Added a mobid_db in map.c to handle mob lookups faster. [Skotlex]
  1358. 2007/12/17
  1359. * Added flag.server to indicate interserver sockets
  1360. - replaces the previous way (setting 'client_addr' to 0)
  1361. 2007/12/14
  1362. * Guardian hp handling code removal (see bugreport:342)
  1363. - removed guardian hp from the castle data structure, database,
  1364. savefiles and various script functions (use upgrade_svn11915.sql)
  1365. - removed guardian hp calculation and manipulation from the castle
  1366. manager npc, now the hp values are updated by the server itself
  1367. (glitch: when castle defense changes, all guardians are healed to full)
  1368. - tweaked script function 'guardianinfo' to provide some data needed
  1369. by the manager npc (currently available are hp, maxhp and visibility);
  1370. also, it doesn't need a player attached to execute
  1371. * Added a precise and consistent tick() function for freebsd [ultramage]
  1372. * Wand of Hermode now dispells buffs only of allies.
  1373. * Fixed some null pointer checks in status_change_end.
  1374. * Corrected a crashy Warning message. [Skotlex]
  1375. 2007/12/13
  1376. * Fixed possible segmentation faults in the script engine.
  1377. - some strings that can be freed outside the script engine were being
  1378. pushed into the stack as constant strings
  1379. * Disabled ers until recent crashes are fixed.
  1380. - ers entries are being corrupted, probably by modifying them after they
  1381. are released or by releasing something else
  1382. * Abstracted the windows socket code so that all fd's are in the range
  1383. [1,FD_SETSIZE[. (bugreport:604)
  1384. - The socket of a fd is forgotten when executing sClose, so things that
  1385. depend on the socket (like sFD_CLR) must be executed before closing.
  1386. * Replaced the fd_set of the short list with a custom implementation
  1387. (works like the linux fd_set). [FlavioJS]
  1388. 2007/12/12
  1389. * Some preparations for the guild script update [ultramage]
  1390. - cleaned up npc event execution code
  1391. - cleaned up guild data loading/saving code; to be improved later
  1392. - removed dummy 'account name' expulsion list management code
  1393. - removed columns 'rsv1' and 'rsv2' from guild member data
  1394. - removed columns 'rsv1' 'rsv2' 'rsv3' and 'acc' from guild expulsion data
  1395. 2007/12/11
  1396. * Added query_logsql script command to perform sql commands using the log
  1397. db connection.
  1398. * Added some new cashitems and headgears.
  1399. 2007/12/10
  1400. * Cleaned up clif_setdisguise and fixed it for PACKETVER>=9.
  1401. * Added missing range/skill-mask info to reflected damage (fixes autospells
  1402. not triggering on it) [Skotlex]
  1403. 2007/12/09
  1404. * Modified npc_parsesrcfile to parse the line as a 'tab-separated values'
  1405. string and added data truncation warnings.
  1406. - enforces a stricter adherence to the format (no multiple tabs)
  1407. - avoids sscanf matching spaces, new lines and carriage returns when '\t'
  1408. is used in the format string
  1409. * Added a generic 'delimiter-separated values' string parser to strlib.c/h. [FlavioJS]
  1410. 2007/12/07
  1411. * Fixed ensembles skills.
  1412. * removed the timer heap correction code when the timers overflow since
  1413. Flavio points out that it is not needed.
  1414. * Modified a bit the changesex code so you get saved and quit before
  1415. changing your sex rather than afterwards.
  1416. * Cleaned up #changesex
  1417. * Signum Crucis now works on bosses. [Skotlex]
  1418. 2007/12/06
  1419. * Removed the attempts to recover from invalid syntax in npc_parsesrcfile
  1420. since they can produce incorrect results (spaces in sscanf can match
  1421. \n's and company).
  1422. * Made script_rid2sd report the script source directly and changed related
  1423. return 1's to return 0's to avoid double script source reports.
  1424. * Added missing return 0's after script_rid2sd is used and an extra error
  1425. message in buildin_set/buildin_setd. [FlavioJS]
  1426. * The default event script behaviour is to trigger on labels rather than
  1427. NPCs now.
  1428. * Removed several script config options which break NPC compatibility when
  1429. you mess with them (event_script_type, event_requires_trigger,
  1430. die_event_name, kill_pc_event_name, kill_mob_event_name, logout_event_name,
  1431. login_event_name, loadmap_event_name, baselvup_event_name,
  1432. joblvup_event_name)
  1433. * LoadMap events no longer set the variable "@maploaded$" to the name of
  1434. the new map. [Skotlex]
  1435. 2007/12/03
  1436. * Fixed a bug on Mail System. Removed the possibility to lost the attachment on
  1437. a Map - Char server disconnection. [Zephyrus]
  1438. 2007/11/29
  1439. * pc_setoption no longer does view_data changes while disguised (as this
  1440. breaks things) [Skotlex]
  1441. * Random cleanup/documentation.
  1442. * Made common/Makefile get the svn version from the src directory, not src/common.
  1443. * Added a warning message to the install and uninstall targets.
  1444. * Renamed all obj directories to obj_all, obj_txt or obj_sql in the
  1445. makefiles (if an obj/ directory exists, BSD make enters it before
  1446. reading the makefile) [FlavioJS]
  1447. * Allowed disguising while riding a peco-peco (this does not seem to cause
  1448. problems anymore).
  1449. * The pvp rank packet is no longer sent to other players when disguised, as
  1450. this leads to crashes when you die.
  1451. * Probably fixed splash damage.
  1452. * Reflected spells no longer cause knockback.
  1453. * SG Blessing skills now grant the extra experience to everyone when the SG
  1454. killed the mob.
  1455. 2007/11/28
  1456. * Applied the required changes to handle def as a signed char (allows for
  1457. negative def)
  1458. * Corrected skill_check_condition to not delete items right away for
  1459. certain skills that do the deletion themselves. Fixes several skills
  1460. consuming items twice.
  1461. * Dispel's success rate is no longer affected by MDEF
  1462. * You are no longer blocked from being warped when standing in a warp while
  1463. in a duel.
  1464. * Duels are now automatically ended when you warp out of the map you are
  1465. in. [Skotlex]
  1466. * Fixed reflected spells bypassing WoE no-knockback restriction, because
  1467. the code allowed that when cast on self; not anymore (bugreport:231)
  1468. * Reverted the position of the max_hp/max_sp basic setting, modified the
  1469. max_hp/max_sp bonuses to use casting in order to work correctly with
  1470. negative bonuses. [Skotlex]
  1471. * Reconstructed a list of all PACKETVER types, by reverse-engineering
  1472. it from places in the code where the define is used [ultramage]
  1473. - recovered PACKETVER 6 which was added in r51, but overwritten by r141,
  1474. one of the dumbest commits that I have seen so far
  1475. - since 6 was the 'new trade window' update, it and its corresponding
  1476. reply packet will now be used from now on instead the old version
  1477. 2007/11/27
  1478. * Added safesnprintf to strlib.c/h (bugreport:372) [FlavioJS]
  1479. * removed login/char server_fd[] arrays, added server[].fd instead
  1480. * TXT/SQL login server code synchronization [ultramage]
  1481. - exported several core structures to login.h
  1482. - split off ladmin communication code from the TXT login server
  1483. - removed all occurences of login_log(); a unified function should be
  1484. added when SQL's loginlog_db logging code gets synced with TXT
  1485. - removed conf setting login_log_filename
  1486. - fixed ladmin getting timeouts since the ping system was changed
  1487. * Moved basic max HP/SP calculation to before parsing equipment, fixes
  1488. negative absolute HP/SP bonuses not working.
  1489. * Corrected the online_data_cleanup routine setting offline characters that
  1490. are still connected to the char-server.
  1491. * Added a check in script command sc_end to properly end infinte endure
  1492. * ASC_BREAKER no longer triggers status effect cards. [Skotlex]
  1493. * Fixed fake_nd not being exported correctly and being unloaded when
  1494. reloading scripts. (probably fixes bugreport:444) [FlavioJS]
  1495. 2007/11/26
  1496. * Normalized makefiles:
  1497. - 3 sections: variables, public targets, private/support targets
  1498. - object files always in a *_OBJ variable
  1499. - header files always in a *_H variable
  1500. - object files always generated to an obj* subfolder
  1501. - all Makefiles can be executed individually, calling other makefiles if necessary
  1502. - generic object targets when possible
  1503. * Fixed buildin_query_sql using Sql_Query instead of Sql_QueryStr,
  1504. wrongly processing all %f,%d,... (fixes bureport:218) [FlavioJS]
  1505. * Fixed guild expulsion not working correctly [ultramage]
  1506. * Fixed a memory leak in mail_savemessage (src\char_sql\int_mail.c). [FlavioJS]
  1507. 2007/11/25
  1508. * Rev. 11804 Giant Fly Wings are now blocked on noteleport maps and duels. [L0ne_W0lf]
  1509. 2007/11/24
  1510. * Fixed a crash when Slim Pitcher is cast
  1511. * Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483)
  1512. * Added support for latest official client/server packet changes [ultramage]
  1513. - enable by setting PACKETVER to 9; note that this breaks older clients
  1514. 2007/11/23
  1515. * Changed the status_change structure to use dynamic rather than static
  1516. memory to hold the individual status changes, this should have a noticeable
  1517. impact on the server's memory consumption. However, since this is a pretty
  1518. large update (and I am unable to fully test all possible situations
  1519. relating to status changes), watch out for any bugs. [Skotlex]
  1520. 2007/11/22
  1521. * Moved the reset of references to after the empty script checks in
  1522. parse_script. (fixes bugreport:222 and bugreport:449)
  1523. * Renamed fakenpcname to setnpcdisplay, fixed and extended it. [FlavioJS]
  1524. - See doc/script_commands.txt for information on how to use it
  1525. * Modified mapserver login procedure to make clients from may 2007
  1526. and newer not crash when entering mapserver (bugreport:468) [ultramage]
  1527. - this changes PACKETVER to 8, causing incompatibility with old clients
  1528. - this makes the "Login" hex obsolete; please stop using it as it
  1529. causes a conflict with this update and may have negative sideeffects
  1530. 2007/11/21
  1531. * Fixed Sql_SetEncoding not setting the encoding of the connection
  1532. properly. (fixes bugreport:30)
  1533. * Added backward compatible target 'conf' to the Makefile. [FlavioJS]
  1534. * Changed Lif's Emergency Avoid to just get a normal skill delay
  1535. (blocks all skills, cancelled by mapchange / re-summon) instead of
  1536. getting a persistent block on only this one skill (bugreport:13)
  1537. * Homunculi now reset their can-act delay on call/resurrect/mapchange
  1538. (allows bypassing delays by doing rest/call instead of relog) [ultramage]
  1539. 2007/11/20
  1540. * Implemented SL_SUPERNOVICE erasing the death record 1% of the casts.
  1541. * Implemented current exp being capped to the exp required to level up from
  1542. the previous level when we are at max level (required for some S. Novice
  1543. buffs) [Skotlex]
  1544. 2007/11/19
  1545. * Nullpo's disabled on release builds.
  1546. * Added timestamps to the log of memory leaks.
  1547. * Moved definition of __func__ to cbasetypes.h.
  1548. * Configure script updated:
  1549. - added option to select the memory manager
  1550. - added option to enable MAPREGSQL
  1551. - added option to enable DEBUG
  1552. * common's Makefile deleting svnversion.h on 'clean' target. [FlavioJS]
  1553. 2007/11/18
  1554. * Implemented a small change that was long overdue: Displaying the
  1555. char-select screen now uses a single SQL query instead of up to 9.
  1556. [Skotlex]
  1557. * Replaced jA's way of allocating npc shop data with a simple dynamic
  1558. array that gets allocated during loading and freed on unload
  1559. - automatically fixes bugreport:404, which would otherwise require
  1560. manipulating the npcname_db (the original author didn't, hence the bug)
  1561. - now a supporting variable 'count' is used for tracking the length
  1562. instead of an extra dummy entry at the end of the shop list
  1563. - partially removed the MAX_SHOPITEM restriction (if this was written
  1564. properly, the system could support an unlimited amount of entries)
  1565. 2007/11/17
  1566. * Removed battle_config.error_log as console_silent already handles this
  1567. * Made OnTouch zone dimensions be stored as radius instead of diameter
  1568. - cleaned up some overly complicated area calculations [ultramage]
  1569. 2007/11/16
  1570. * Added 2 new status changes for Life and Regeneration Potions [Zephyrus]
  1571. - Fixed some items boxes giving wrong tamings.
  1572. - Fixed another item giving 48 gladius[3]
  1573. * Added error messages when trying to place objects on invalid map coords
  1574. * Fixed Divine Protection working against players (bugreport:410)
  1575. 2007/11/15
  1576. * Fixed some homunculus skill offset calculation mistakes (bugreport:363)
  1577. 2007/11/14
  1578. * Fixed skill_castnodex_db.txt not being parsed correctly
  1579. * Fixed a search&replace typo in skill_db.txt
  1580. * Added error reporting for invalid rows in skill db files
  1581. * Added error reporting to buildin_warp when it fails [ultramage]
  1582. 2007/11/13
  1583. * Fixed homunculus skills having unlimited range instead of being
  1584. capped to view_distance+1 (for details see bugreport:376) [ultramage]
  1585. * Fixed @addwarp crashing the map server (bugreport:390). [FlavioJS]
  1586. * The Forget-me-not status now behaves like Decrease AGI [ultramage]
  1587. - doesn't cancel Impressive Riff, Wind Walker, True Sight (bugreport:187)
  1588. - additionally, it doesn't cancel Cart Boost
  1589. * Fixed some bugs on mail system. [Zephyrus]
  1590. - Added the pc_candrop check (bugreport:305)
  1591. - Added picklog to mail.
  1592. - Added INCMDEFRATE status for Mdef potion.
  1593. 2007/11/12
  1594. * Now when job changing to another class tree, status changes from skills
  1595. that belong to your previous class are cleared. [Skotlex]
  1596. * Applied Rayce's improvements to the npc script parser [ultramage]
  1597. * Made on-touch areas work with walking npcs (is somewhat process
  1598. intensive, but people do not really care about that, do they?) [Skotlex]
  1599. * Fixed a bug in r11384 letting you bypass requirements for some skills
  1600. 2007/11/09
  1601. * Expanded weapon_type enum with dual-wield constants (bugreport:384)
  1602. * Replaced several 'int' variables with enums that they represent
  1603. * Re-worked the login-char-map packet spam mechanism
  1604. - mapserver no longer sends entire user list to charserver every
  1605. 10 seconds; similar change done to the char-login connection
  1606. - user count updates are only sent when the value actually changes
  1607. instead of servers polling each other every few seconds
  1608. - the servers now prevent interserver connection timeout explicitly by
  1609. sending ping/ack packet pairs instead of relying on the usercount
  1610. polling to do so; keepalive is sent every 'stall_time'-2 seconds
  1611. * Fixed socket.c checking time() incorrectly (bugreport:394) [ultramage]
  1612. * Added a database iterator to db.c/db.h. [FlavioJS]
  1613. 2007/11/08
  1614. * Changed EXIT_SUCCESS back to 0 in console.c to avoid an unnecessary include.
  1615. * Fixed gm_account_db not being deallocated in login-converter.c.
  1616. * Refactoring names and documentation in db.h/db.c: [FlavioJS]
  1617. - changed 'struct dbt' to 'struct DBMap' and 'DB' to 'DBMap*'
  1618. - changed 'struct db' to 'struct DBMap_impl' and 'DB_impl' to 'DBMap_impl*'
  1619. - changed COUNT to DB_COUNTSTAT and made it's existence not depend on DB_ENABLE_STATS
  1620. - removed some @see links and corrected small typos in the documentation
  1621. * Fixed a glitch where all packets immediately after the map->char
  1622. login packet would get discarded and the mapserver disconnected
  1623. * Synced charserver char creation creation code [ultramage]
  1624. - removed most of the creation failure messages printed to console
  1625. - fixed sql charserver letting you use control chars in char names
  1626. - new chars will not start with the 'Knife' and 'Cotton Shirt' equipped
  1627. anymore (charserver blindly placed magic values into the equip field)
  1628. * Updated configure script: [FlavioJS]
  1629. - small correction to the help text of --with-mysql and --with-pcre
  1630. - added the -Wno-switch compiler option to suppress the
  1631. "enumeration value '%s' not handled in switch" warnings
  1632. * Added a new setting 'guild_skill_relog_delay' to activate the guild skills delay
  1633. on Guild Master relog. [Zephyrus]
  1634. 2007/11/07
  1635. * Some updates on the mail system packets [Zephyrus]
  1636. - Corrected the mail database structure on main.sql
  1637. - Added separated packets for get and set attachment on mail system.
  1638. 2007/11/06
  1639. * Fixed a crash caused by a mistake in the previous change
  1640. 2007/11/05
  1641. * Changed skill db loading code to work similarly to how itemdb/mobdb
  1642. is loaded (generic file loader + specialized function to process rows)
  1643. - all skill db files are now checked for inconsistencies the same way
  1644. * Corrected the max. allowed skill name length, and optimized code that
  1645. works with skill names according to latest changes [ultramage]
  1646. * Reverted official drop rate estimation [Playtester]
  1647. - although it really exists we don't have enough information about it
  1648. - if server owners really want it they can implement it themselves
  1649. (it's just a one-line fix anyways)
  1650. * Cleaned up skill db lookup code
  1651. - added some well-behaved functions to replace macros (skill_get_index)
  1652. - used skill_get_index() to replace often occuring blocks of code
  1653. that did the skill_id -> skilldb_index calculation in-line
  1654. * Corrected skill db loading code which was using a totally wrong
  1655. column count in sevreal cases (or didn't do any checks at all)
  1656. * Changed the skill_db.txt skill names in comments into actual columns,
  1657. now the server reads these instead of a hardcoded array [ultramage]
  1658. 2007/11/04
  1659. * Implemented official drop rate estimation [Playtester]
  1660. - estimation is rounded on 2 positions after decimal point
  1661. - this will effectively raise drop rates below 10% by 0.01%
  1662. 2007/11/03
  1663. * Added jA script function 'strnpcinfo', for increased npc awareness
  1664. 2007/11/02
  1665. * Fixed one wrong return value in buildin_getcharid (bugreport:33)
  1666. * Removed the big list of BUILDIN_FUNC() declarations in script.c,
  1667. as they are not needed anymore and no code utilizes them
  1668. * Moved the BUILDIN_DEF() block to the end of script.c [ultramage]
  1669. * Modified trap related code so it behaves as explained by Playtester:
  1670. Traps trigger on everyone in their 'effect range' (skill_db's splash) for
  1671. every target that lies within its trigger range at trigger time (range and
  1672. interval in the skill_unit_db). [Skotlex]
  1673. 2007/11/01
  1674. * Removed code that queues OnAgitEliminate after the Emperium is broken,
  1675. this is now done properly by the gvg script instead [ultramage]
  1676. - if you have any extra castles, update your scripts accordingly
  1677. 2007/10/31
  1678. * Added names to the SC_ and SI_ enums, now they can be used to properly
  1679. indicate where such values are to be used (replaces usage of 'int')
  1680. * removed MIN_/MAX_PORTAL_MEMO, set MAX_MEMOPOINTS from 10 to 3
  1681. * removed support for @go-ing to your memo points
  1682. * simplified the overly verbose @memo command; now re-uses pc_memo()
  1683. * cleaned up pc_memo(), now uses semi-correct packet replies
  1684. * Minor code cleaning/formatting [ultramage]
  1685. * Updated several mapflags - 'nomemo' 'noteleport' 'nosave' 'nowarpto'
  1686. 'restricted' - due to Izlude Battle Arena release. [SinSloth]
  1687. - Updated 'item_noequip' and 'skill_nocast_db' to match with 'restricted' mapflags.
  1688. 2007/10/29
  1689. * Updated the mail db structure on main.sql [Zephyrus]
  1690. * Makefile creating the conf/import forder. [FlavioJS]
  1691. * command code cleaning (refer to topic:169759) [ultramage]
  1692. - separated the execution part of command code into interface part
  1693. and internal part to better see which checks are done and when
  1694. (fixes problem where 'nocommand' mapflag blocked server npcs)
  1695. - moved the internal commands list (array) to the end of the file,
  1696. this let me discard that long block of ACMD_FUNC() declarations
  1697. - removed enum AtCommandType from command headers and commands array;
  1698. its purpose was perhaps to identify aliased commands, but apparently
  1699. it was never finished because the rest of the code doesn't use it
  1700. (also doing aliases like this is not a very good idea)
  1701. - internally, commands are now referenced to using their function name
  1702. - removed the @/# symbols from the command lists; all lookup functions
  1703. will now properly deal with strings with- and without a command symbol
  1704. (commands interface still requires the symbol tho', so TODO for later)
  1705. - removed several unneeded commands (*id2 code, dmalloc debug commands)
  1706. - reverted atcommand config from alphabetically-sorted to how it was
  1707. before (with additional fixes; see /conf changelog)
  1708. - added missing code for #dropall / #storeall
  1709. - added a warning when trying to set gm level of an undefined command
  1710. * The structure of the commands table has changed, please adjust
  1711. docs/guides to match the new format (sorry for the inconvenience)
  1712. 2007/10/28
  1713. * Minor adjustment to take into account the end of line.
  1714. * Fixed the line count in the new error message of npc_parse_function.
  1715. * Restricted more the parsing of npc code. (fixes bugreport:317) [FlavioJS]
  1716. * Fixed a bug sending on the attachment message [Zephyrus]
  1717. 2007/10/27
  1718. * Fixed a typo in r11505 messing up the 'npcmove' command
  1719. * Removed 'petid', a command from r284 to look up pet ids by name
  1720. * Fixed TXT charserver doing periodic random-sized alloc (bugreport:312)
  1721. * Set 'Create Converter's produce success rate to 100% (bugreport:302)
  1722. * Added check that verifies weapon/ammo/state requirements also when
  1723. casting finishes (might have unwanted side-effects!) (bugreport:228)
  1724. * Fixed Firewall knocking back undead/fire element mobs (bug in r11578)
  1725. * Added dummy 'openmail' to txt server to fix a script error message
  1726. * Improvements/fixes to the mail system improvements :) [ultramage]
  1727. * Improvements to the mail system. Need Testing, [Zephyrus]
  1728. 2007/10/26
  1729. * Moved the new novending cell check from the internal code to the
  1730. client-server interface (allows server to force-open shop if needed)
  1731. * Removed confusing map_nick2sd_nocase(), let the charserver handle it
  1732. * Added correct packet for attachment retrieval failure when overweight
  1733. * Fixed one more mistake in r11571 (Sql->SqlStmt) [ultramage]
  1734. * Removed the config setting firewall_hits_on_undead setting, Firewall and
  1735. kaensin now automatically calculate the number of hits they should do per
  1736. iteration based on the skill trigger frequency (you may want to raise that
  1737. delay of 1ms in the db, though). [Skotlex]
  1738. 2007/10/24
  1739. * Corrected a fex misshaps from r11571:
  1740. - disabling the memory manager
  1741. - using the wrong length for the title and body in mail_savemessage
  1742. * Removed the quick-fix in the npc duplicate check and the impossible condition
  1743. that is generating the warning. [FlavioJS]
  1744. * @/#jobchange no longer strips your equipment since pc_jobchange removes
  1745. any unequippables already.
  1746. * Removed the wasteful define MAX_PC_CLASS and replaced it by the
  1747. CLASS_COUNT define + pc_class2idx function. This should save a bunch of
  1748. memory from the map server.
  1749. * Merged the CELL_NOVENDING code (see topic #129209) [Skotlex]
  1750. * Increased the max. send buffer size to 5M since 1M is not enough
  1751. * Updated vs7 and vs6 project files
  1752. * Added upgrade_svn11548.sql to convert the mail table to new format
  1753. * Cleaned up the mail code, no more pointless dynamic allocation
  1754. * Cleaned up some messy guild code (more to come) [ultramage]
  1755. 2007/10/23
  1756. * Fixed a compilation bug on linux (FALSE -> false) [Zephyrus]
  1757. 2007/10/22
  1758. * Heat isn't supposed to consume SP when used against players [Playtester]
  1759. - please report if it still consumes SP in pvp
  1760. * Added the new mail system implementation (Requires more test and
  1761. optimizations) [Zephyrus]
  1762. - Updated the mail DB structure.
  1763. * Removed some mail config settings and atcommands not required anymore.
  1764. - Added documentation for script commands: openmail and homshuffle.
  1765. 2007/10/21
  1766. * Fixed a small mistake in r11503 causing a fatal error&exit on unix
  1767. when you try to do a graceful exit (by ctrl+c for example) [ultramage]
  1768. * Removed SC_INCAGIRATE/SC_INCDEXRATE as they are not used anymore.
  1769. * Added SC_INCASPDRATE, SC_INCFLEE2, SC_INCCRI, SC_INCDEF, SC_INCBASEATK
  1770. and SC_FASTCAST as these are required by the newer items. [Skotlex]
  1771. 2007/10/20
  1772. * Fixed 'unequip' removing items in the wrong position (bugreport:252)
  1773. * Fixed #refine unequpping the caller's item by mistake (bugreport:265)
  1774. * Fixed a nasty bug from r11410 which let people create chars with
  1775. already taken char names, and (in TXT's case) even cause a crash.
  1776. - Bug was a variable name collision between the total number of chars
  1777. and a char's slot number (both were called 'char_num'). [ultramage]
  1778. * Some more updates to the skill unit code [Playtester]
  1779. - renamed SKILLUNITTIMER_INVERVAL to SKILLUNITTIMER_INTERVAL
  1780. - Heat now depends on the interval settings rather than firewall_hits_on_undead
  1781. - Icewall doesn't break anymore when the SKILLUNITTIMER_INTERVAL gets changed
  1782. 2007/10/19
  1783. * Added bonusautoscript and bonusautoscript2. These are used to attach a
  1784. script to a player which gets executed on attack (or when attacked). This
  1785. is very similar to the autospell bonuses, except that a script is executed
  1786. instead of a spell. See doc/script_commands for indepth description and
  1787. usage. NOTE that I am unable to test ingame, and even though I proofread
  1788. the code it could have bugs. Feel free to test and report. [Skotlex]
  1789. * Applied some cleanups that should correct "Infinite Endure" ending
  1790. sometimes. [Skotlex]
  1791. 2007/10/18
  1792. * Rev. 11516 Uncommented the showwarning and showdebug from 11508. [L0ne_W0lf]
  1793. * Fixed the incorrect map names on the debug messages (mapid->mapindex
  1794. mishap from r11508).
  1795. * Fixed the incorrect reporting of npc names being too long when the the
  1796. length is 24 (from r11508). [FlavioJS]
  1797. * Rev. 11511 Commented out ShowWarning and ShowDebug messages added [L0ne_W0lf]
  1798. in revision 11508. Aside from the ShowDebug being faulty, they
  1799. are both fare too annoying for public use for the time being.
  1800. If/when I get the NPC names fixed, we can add it back.
  1801. * Further optimization of the skill unit code [Playtester]
  1802. - removed code for Crimson Fire Formation it now uses the same code as Fire Wall
  1803. - added same knockback behavior as Fire Wall for Fire Formation
  1804. - Heat now does 50 hits a second in pvp too
  1805. - please let me know of any bugs that might appear
  1806. * Optimized the skill unit code [Playtester]
  1807. - reverted the unit timer interval to 100ms to save CPU usage
  1808. - rewrote the unit code of Fire Wall, Fire Formation and Heat so that they hit
  1809. every 20ms if the target wasn't knocked back despite of the unit timer interval
  1810. - Heat now does 15 SP damage to players instead of 60 per hit
  1811. - optimized memory usage
  1812. - TODO: Renaming or removing firewall_hits_on_undead config
  1813. * Clarified how npc names work in script_commands.txt.
  1814. * Fixed a forgotten "return 0;" that stopped the parsing of the file
  1815. after the first "script" of the file is parsed sucessfully (caused by r11502).
  1816. * Applied the same parsing and restrictions of npc names to warps, duplicates
  1817. and shops (other code expects unique names for them too). [FlavioJS]
  1818. * Applied the new checking function to clif code, this fixes various
  1819. length mismatches caused by incomplete code in r11386
  1820. * Added clif_process_message(), an unified way to validate all four
  1821. types of player message packets and retrieve their components
  1822. * Removed the requirement to provide a character name in the message
  1823. string when calling is_atcommand() (needed for the previous fix)
  1824. - currently both ways work, but old will be removed in the upcoming
  1825. command cleanup so please adjust your custom code if you use this!
  1826. * Merged improved/cleaned up (WiP) code for clif_parse_WisMessage
  1827. * Removed commented-out code for check_fake_id() [ultramage]
  1828. 2007/10/17
  1829. * Removed outdated copyright and version number from startup logo
  1830. * Removed socket code that attempts to cope with code bugs at runtime
  1831. * client_addr will now be properly set to 0 for server connections
  1832. * Fixed subnet check message displaying incorrect ip addresses
  1833. * Merged do_sendrecv() and do_parse() into do_sockets() [ultramage]
  1834. * Reworked the parsing at npc.c.
  1835. - Fixes npc.c discarding the '}' at the end of file, when there is no
  1836. newline. (uncovered as a side-effect of r11487)
  1837. * Empty script functions always have code now (won't report as missing
  1838. when you try to call them).
  1839. * Changed userfunc_db to not limit the name to 50 characters. [FlavioJS]
  1840. * Ground skill now can trigger every 20ms [Playtester]
  1841. - Firewall, Fire Formation and Heat now can do 50 hits a second
  1842. - this was proven to be official behavior, but it will raise CPU usage
  1843. * small timer.c cleaning
  1844. - removed "with less than 4 values, it's speedier to use a simple loop"
  1845. as this case will never occur (premature optimization from r1284)
  1846. 2007/10/16
  1847. * Venom Splasher fixes according to bugreport:230
  1848. - added passive skillv*30% bonus from Poison React
  1849. - added official splash damage calculation - damage gets split by the
  1850. number of targets at range 1, then applied to all targets in range 2
  1851. - reverted some very old code - clif_calc_delay() - that was preventing
  1852. skills from displaying properly, by erroneously assuming that
  1853. if the target has ddelay 0, it has endure effect activated
  1854. * Fixed displaying of several splash skills (see bugreport:238)
  1855. - added flag SD_PREAMBLE for skills that need the 'magic' packet
  1856. (fixes Grimtooth / Cart Revolution displaying out of sync)
  1857. - hacked together Venom Splasher's "no animation for central mob"
  1858. - hacked in a custom packet to make Dragonfear display semi-correctly
  1859. * Made Venom Splasher a splash attack that distributes damage
  1860. * Commented out clif_skill_damage2() as it is not used anymore
  1861. * Fixed a copy-paste mistake in disguise code (from r5833) [ultramage]
  1862. * Tweaked the loop in parse_script to better handle when the outer
  1863. brackets aren't checked.
  1864. * Fixed a typo in skip_space that stopped skipping characters when it
  1865. encountered a '*' or '/' in a block comment. [FlavioJS]
  1866. 2007/10/15
  1867. * Fixed NPC_CRITICALWOUND to reduce heal by 20% per level [Playtester]
  1868. * Fixing TK Mission asigning non spawning mobs. [Zephyrus]
  1869. * Updated the item price/sell reading code to enable 'null' values. The
  1870. difference between a blank value and 0 is that when the value is blank, it
  1871. should automatically take half/double the other value. The previous
  1872. behaviour did this automatically and didn't let you specify, for example,
  1873. if you wanted a given item to sell for 0.
  1874. * Also added a warning when an item in the db has an exploitable price
  1875. (through overcharge/discount). [Skotlex]
  1876. 2007/10/14
  1877. * Rev. 11476 Implemented new skill "Enlarge Weight Limit R", [L0ne_W0lf]
  1878. and increased MAX_SKILL_TREE by 1.
  1879. * Fixed charsrever crashes, caused by r11410 [ultramage]
  1880. 2007/10/13
  1881. * Fixed up NPC_POWERUP and NPC_AGIUP [Playtester]
  1882. - NPC_POWERUP: 3x ATK and 2x HIT for 10+5*level seconds
  1883. - NPC_AGIUP: 2x MOVE and 2x FLEE for 10+5*level seconds
  1884. * Some further changes to the delayfix function [Playtester]
  1885. - aftercast delay is at least amotion no matter what skill
  1886. (this includes skills with cast time AND skills with skill delay!)
  1887. - aftercast delay reductions can NEVER reduce the aftercast delay below amotion
  1888. (this includes Bragi and Soul Links)
  1889. * Again modified the delayfix function to reflect the current skill delay
  1890. knowledge. Skills with 0 delay use amotion always (regardless of cast
  1891. times) [Skotlex]
  1892. 2007/10/12
  1893. * Further updates to skill_delayfix function [Playtester]
  1894. - aftercast delay can never be lower than amotion
  1895. - please report if this broke any skills
  1896. * Fixed wrong index calculation in TXT char creation code (ref: r11410)
  1897. * Fixed SQL itemdb loading crash on NULL column (ref: 11398) [ultramage]
  1898. * Updated the skill_delayfix function to behave as recently discovered by
  1899. Tharis: Skills with no delay set will use amotion ONLY if the skill was
  1900. instant-casted. [Skotlex]
  1901. * Fixed Bragi's aftercast delay reduction [Playtester]
  1902. 2007/10/10
  1903. * Fixed itemdb_read_sqldb blowing up the server with segmentation faults.
  1904. * Added an option for parse_script to ignore the checks for the set of
  1905. brackets around the script. [FlavioJS]
  1906. * Implemented more official Warp Portal behavior
  1907. - the transition from active to waiting mode is now done as a simple
  1908. appearance change instead of deleting one and creating the other
  1909. - due to the above, an opening warp is now properly accompanied by
  1910. the log-in like sound effect
  1911. - Removed the check that prevented Warp Portal from opening after you
  1912. picked the destination, if there was someone blocking the cell
  1913. * Re-enabled packet 0x1ac to be sent when something gets ankle-snared
  1914. * Partially removed the usage of 'flags' to direct the execution path
  1915. in skill unit code (some people seem to really like flags >_>)
  1916. - wiped out r8478 and its multiple levels of useless flag propagation
  1917. - skill_unit_onlimit (expiration) no longer executes in skill_delunit
  1918. - added skill_unit_ondelete for proper handling of this event
  1919. * Removed 'into_abyss' effect on traps; tests show that it works ONLY
  1920. for Gemstones (tho' iRO website claims otherwise) - bugreport:171
  1921. - corrected code that was exploiting the flag as an 'expired' trap flag
  1922. (replaced it with a more jAthena-ish approach)
  1923. * Fixed a messup in r11347 causing skill units to expire, trigger
  1924. or not trigger, completely randomly
  1925. 2007/10/09
  1926. * Added upgrade_svn11388.sql to correct some log column widths
  1927. * Corrected string lengths according to bugreport:198 [ultramage]
  1928. - CHATBOX_SIZE: 70 -> 70+1
  1929. - removed some too aggressive checks in clif_parse_globalmessage()
  1930. - removed CHAT_SIZE define as it actually doesn't apply anywhere
  1931. - added CHAT_SIZE_MAX to serve as a custom limit to input string lengths
  1932. 2007/10/08
  1933. * Delayed the check for required items when a skill is cast to when they
  1934. are consumed. Now skills only fail due to lack of items after being cast.
  1935. - Please make a bug report if you know of any skill that doesn't work
  1936. like this in official.
  1937. * Fixed hp of other party members not being sent when you join a party.
  1938. * Removed unused global array names_id and renamed some structures that
  1939. are used with variables of the same name. [FlavioJS]
  1940. 2007/10/07
  1941. * Fixed a bug on sql char server not checking the namelength of a new
  1942. character. Bug ID #184: Char Creation With An Empty Name [Zephyrus]
  1943. 2007/10/06
  1944. * the mapserver won't exit when no mapcache is found, with use_grf: yes
  1945. * Fixed some \r uses, now looks better; /thx to Ai4rei (topic:165952)
  1946. * Removed that ridiculous spinner that displays during map/npc loading
  1947. - and added a more informative progress indicator (idea from jA/eapp)
  1948. * Removed loads of code that supported these functions
  1949. - -230b per npc => -3MB of wasted memory
  1950. * Fixed related npcs that erroneously used 'stoptimer'
  1951. * Checked/fixed/removed some old script and npc commands
  1952. + cmdothernpc
  1953. - a specialized 'donpcevent' with the event specified as two arguments
  1954. + enablearena/disablearena
  1955. - completely equivalent to enablewaitingroomevent & co.
  1956. - do we need these 'synonyms' ?
  1957. + inittimer/stoptimer
  1958. - removed since its logic was incompatible with the code it depended on
  1959. 2007/10/05
  1960. * REALLY fixed emblem not displaying when a char logs in
  1961. (compromise between r10624 and r11033 that hopefully works)
  1962. * Fixed 'Wink of Charm' - shouldn't work on boss mobs (topic:166115)
  1963. * Removed a broken remnant of code from old gospel code (r4349) that's
  1964. _supposed_ to clear the gospel status (no item use?) when you step
  1965. out of its zone; 1) the constant UNT_GOSPEL was used in a switch()
  1966. instead of PA_GOSPEL (thus actually ending 'NPC_STUNATTACK' status),
  1967. and 2) this code path is never taken, because Gospel is not recorded
  1968. in skill_unit_temp[] (it has a periodic timer and is not DUALMODE)
  1969. * Now the first empty spot in the 'skill_unit_temp' array will be used
  1970. when tracking movement between land skills; reduced its length to 20
  1971. * Fixed the skill unit mechanism that is supposed to track whether
  1972. you're still standing in a certain land skill's AoE or not, which
  1973. was not working correctly since the time it was added (r3133)
  1974. - solves the nasty problem of Loki, Quagmire, ... status not ending
  1975. even after stepping out of it in some cases, if there was another
  1976. song overlapping the skill's area (fixes bugreport:34) [ultramage]
  1977. 2007/10/04
  1978. * Completed the SC_LIFEINSURANCE status and it's status icon. [Zephyrus]
  1979. - Updated Item_db.txt.
  1980. * Added SC_EXPBOOST (Field Manual), SC_ITEMBOOST (Bubble Gum) to const.txt.
  1981. Allready working [Zephyrus]
  1982. - Added SC_LIFEINSURANCE and SC_BOSSMAPINFO (not implemented)
  1983. - Updated Field Manual and Bubble Gum in the itemdb.txt file.
  1984. - As L0ne Wolf reported to me and based on Doddler information, the Bubble Gum
  1985. only do a second try of the item drop, and it don't increase the drop rates.
  1986. * Fixed a mistake in r10919 messing up logged values (bugreport:167)
  1987. * Added code that compacts the vending list after a purchase; fixes
  1988. the problem with empty positions appearing in the list (bugreport:168)
  1989. * Corrected Icewall skill to be closer to official behavior
  1990. - now works on occupied squares (previously it disappeared)
  1991. - now you can walk out of an icewall square (removed code that blocked
  1992. pathfinding if the origin cell was of a nonwalkable type)
  1993. - added back the hack where mapcell changes are broadcast to whole map
  1994. (prevents client from leaving the cells non-walkable if you warp away)
  1995. * Removed integer mob skill state/target definition support (unused)
  1996. * Added script source error reporting to countitem() (topic:167165)
  1997. * Fixed a compile problem when hotkey saving is disabled (topic:167265)
  1998. * Added MAX_HOTKEYS to supplement the HOTKEY_SAVING define [ultramage]
  1999. 2007/10/03
  2000. * Added the code for Bubble Gum (SC_BONUSDROP) and Field Manual
  2001. (SC_BONUSEXP). items updated as it supose to work. [zephyrus]
  2002. * Cleaned up parts of skill.c related to skill units [ultramage]
  2003. - removed some nonsense code in skill_dance_switch() (from r8876)
  2004. - removed 'security system to prevent forgetting timer removal' (r1213)
  2005. - renamed some skill-related data structs (had same name as variables)
  2006. - commented out custom Venom Splasher countdown messaging code
  2007. * Bosses now can use teleport on Land Protector [Playtester]
  2008. - Moved the homunculus shuffle code to mercenary.c, fixing the bug in the
  2009. atcommand not using the bonus evolution stats for homunculus.
  2010. - Adding a new script command "homshuffle" to fix homunculus using NPCs.
  2011. 2007/10/01
  2012. * Fixed various trading/vending glitches [ultramage]
  2013. - fixed vending_tax not working at all (integer division in r10182)
  2014. - undid change from r8273 where pc_getzeny() treated zeny overflow as
  2015. an error condition; officially, the value is just bounded to MAX_ZENY
  2016. (this fixes stuff like shops that you can't buy items from).
  2017. - fixed stupid code that, instead of properly checking and filtering
  2018. invalid items during shop setup, opted to 'hide' these items from
  2019. the vending list instead...
  2020. - removed some custom error message packets related to vending
  2021. - fixed a glitch where the server would open a shop with no items
  2022. when all entered items were tagged as invalid
  2023. - split zeny handling from trade_tradeadditem() into a separate func
  2024. - removed loads of redundant code from vending.c
  2025. 2007/09/30
  2026. * Removed redundant 'subnet' s_subnet structure variable. [ultramage]
  2027. 2007/09/28
  2028. * Changed back the query to get the friends of a character to a LEFT JOIN.
  2029. * Setting the item script variables to NULL when they are freed. (bugreport:142 ?)
  2030. (a double @reloaditemdb might result in a double free) [FlavioJS]
  2031. * Rev. 11325 Corrected Summer Outfit not included as a PC class. (Zephyrus_CR) [L0ne_W0lf]
  2032. * Rev. 11321 Implemented Summer Outfit care of Zephyrus_CR. [L0ne_W0lf]
  2033. - Increased MAX_GUILDCASTLE in mmo.h to 29 for future implementation
  2034. of the 12.1 Guild Castles.
  2035. * Fixed sql target not including the save target in the Makefile, needed
  2036. by the map server for save/mapreg.txt. (bugreport:131) [FlavioJS]
  2037. 2007/09/27
  2038. * Loot code using charid's instead of id's in pick priority.
  2039. * configure script using svn:eol-style LF and require mysql/pcre when
  2040. --with-mysql/pcre is used.
  2041. * Reimplemented mmo_char_fromsql using sql statements. (fixes bugreport:93)
  2042. * Fixed buildin_gethominfo not being included in the script engine. (bugreport:124)
  2043. * homunculus_evolution -> homevolution in script_commands.txt.
  2044. * Deleted item DEFAULT from item_db.txt and regenerated item_db.sql. (bugreport:103)
  2045. * Skip empty lines and give more feedback (for invalid lines) when reading
  2046. item_db.txt/item_db2.txt. [FlavioJS]
  2047. 2007/09/26
  2048. * Rev. 11307 Implemented Token of Siegfried effect care of Zephyrus_CR. [L0ne_W0lf]
  2049. 2007/09/25
  2050. * Modified a bit the hard/lazy ai triggers to match aegis (you can alter
  2051. these changing the defines near the beginning of mob.c):
  2052. - Mobs go into active AI when they are 2 cells from entering a player's
  2053. view (ACTIVE_AI_RANGE)
  2054. - Mobs in passive AI no longer use skills.
  2055. - Mobs in passive AI do not random walk UNLESS they have entered active AI
  2056. before (random walk frequency is not lost during passive AI).
  2057. * Added an additional check to prevent support skills from being blocked if
  2058. the target has an armor element that blocks it. [Skotlex]
  2059. * Fixed the double free's caused by r11290 (wrong option in the database
  2060. constructors). [FlavioJS]
  2061. * Corrected being able to cast multiple Gravitation Fields before the
  2062. previous one is cancelled. [Skotlex]
  2063. * Disabled tick cache (to enable it: define TICK_CACHE to the number of
  2064. calls that should be cached).
  2065. * Added a charid2sd database for fast charid searches.
  2066. * Reworked the nick cache to only contain offline characters. [FlavioJS]
  2067. 2007/09/24
  2068. * Ignore %MDef bonuses now only reduce target's base MDEF, not MDEF2.
  2069. * Updated the 'skills that cause no damage are blocked now if the skill
  2070. element is blocked by the target' to only apply if the skill has a status
  2071. change associated (fixes Resurrection/Heal being blocked).
  2072. * Added a warning to prevent loading mobs with IDs that belong to the clone
  2073. range. [Skotlex]
  2074. * Limited manual detection of data truncation to string/enum/blob columns.
  2075. * Renamed conf-tmpl to conf. [FlavioJS]
  2076. 2007/09/23
  2077. * Added flag svn:executable to the configure script.
  2078. * Added code for MySQL versions (below 5.0) that don't have
  2079. MYSQL_DATA_TRUNCATED.
  2080. * map_addflooritem and struct item_drop_list using id's instead of
  2081. struct map_session_data's (fixes bugreport:36).
  2082. * Fixed buildin_escape_sql not properly escaping in sql servers. [FlavioJS]
  2083. 2007/09/22
  2084. * Fixed a severe bug in inventory saving code (caused by r11192)
  2085. * Applied changes to clif_parse_globalmessage() from my WiP code
  2086. - clearer processing of the individual packet components
  2087. - proper code ordering, some more integrity checks
  2088. - fixes to some poorly chosen ShowWarning() format strings
  2089. - global chat logging no longer logs the entire string (w/ player name)
  2090. * Fixed global chat logging always crashing on a null pointer
  2091. * Added 'safestrnlen' to prevent null pointer crashes [ultramage]
  2092. * Updated sql files [Playtester]
  2093. * Added a sanity check for MAX_ZENY (doesn't compile if too big).
  2094. * Redid the buildin_query_sql function. (fixes bugreport:81). [FlavioJS]
  2095. 2007/09/21
  2096. * itemdb.c/h using a static array of 32k struct item_data* entries (faster
  2097. itemdb loockup and a first step to remove map_session_data->inventory_data).
  2098. * Fixed a typo in the configure script that replaced CFLAGS with CPPFLAGS
  2099. when -Wno-pointer-sign is supported by the compiler. [FlavioJS]
  2100. * Fixed a typo in the status-change saving code (wrong variable used)
  2101. * Fixed a case of bad sql code conversion breaking homun skill loading
  2102. * Corrected skill Charge Attack as described in bugreport:67 [ultramage]
  2103. - cast time is between 100% and 300% (+ infinite waiting fixed)
  2104. - damage is also between 100% and 300% (doesn't increase past range 9)
  2105. - added knockback that's equal to the distance to target
  2106. - no longer causes teleportation on WoE grounds
  2107. - if target runs behind an obstacle, the skill will still teleport you,
  2108. but will not perform the attack or do knockback
  2109. - this should be official behavior, so enjoy the weirdness!
  2110. * Makefile deleting .svn in save folder.
  2111. * Limited the number of packets parsed per cycle to 3.
  2112. * Fixed sql login throwing an out-of-place debug message and escaping too
  2113. much of the name string when creating a new login with _M/F.
  2114. * Configure script detects 64bit distributions of MySQL.
  2115. * Generated the configure script with cygwin's autoconf. [FlavioJS]
  2116. 2007/09/20
  2117. * Merged the tmpsql branch: [FlavioJS]
  2118. - Abstraction for the sql code (sql.c/h).
  2119. - New configure script and makefiles.
  2120. - Restored txt zeny logging code. (r10814)
  2121. - Rewrote mapserver's sql code - itemdb, mobdb, mapreg, logs. (r10814)
  2122. - Fixed a precedence issue (&& and ) in char_sql/char.c. (r10833)
  2123. - Improved db reading code a bit for consistency. (r11077)
  2124. - Added separate atcommand for mail deletion. (r11077)
  2125. - Corrected a few messages that said "new" instead of "unread". (r11077)
  2126. - Broadcast (*) messages now use "*" as the target's name (not ""). (r11077)
  2127. - Moved StringBuf code from utils.c/h to strlib.c/h. (r11084 r11117)
  2128. - Some misc login server cleanups (reformatting etc). (r11136)
  2129. - Corrected/modified some header entries. (r11141 r11147 11148)
  2130. - Adjusted VS project files. (r11147)
  2131. - Adjusted the way the sql charserver does item saving. (r11192)
  2132. - Corrected usage of reserved keyword 'friend' in mmo.h. (r11192)
  2133. 2007/09/17
  2134. * Several skills with a splash area (except ground based ones) will now hit
  2135. Ice-walls when casted by mobs.
  2136. * Cleaned up and fixed monster_ai&0x40 (chase through warps). It works
  2137. correctly now regardless of the number of players on the source/destination
  2138. maps.
  2139. * Updated sql files [Playtester]
  2140. * Applied various crash-protections to script commands that deal with the
  2141. equip-position array.
  2142. * Corrected and simplified the skill_magic_reflect function. Fixed damage
  2143. reflection being based on the caster rather than the target.
  2144. * Potions are now usable inside Gospel by the casting Paladin (as per Aegis
  2145. tests done by AuronX)
  2146. 2007/09/14
  2147. * Some changes brought up by AuronX (see topics 160295 and 149176):
  2148. * Gravitional Field is now a MISC type of attack.
  2149. * Magic reflection now effectively switches the caster/target (after damage
  2150. has been calculated). Moved magic return and Magic Mirror code together
  2151. with Kaite.
  2152. * Now when GTB completely blocks a spell, the spell animation will still
  2153. come off, but with a single bolt and MISS damage.
  2154. * Removed hom_setting&0x2 since Homunculus can be hit by land spells.
  2155. * Monster Property now gives a Skill Failed message when attempted on
  2156. players.
  2157. 2007/09/13
  2158. * Corrected SG Miracle to trigger per attack, not per walked tile. Trigger
  2159. rate is now 0.02%
  2160. * Corrected the warmth skills not clearing up correctly the previous field
  2161. when you place another one down.
  2162. * Corrected vit not affecting the HP bonus that Super Novices, Ninjas and
  2163. Gunslingers get. [Skotlex]
  2164. 2007/09/12
  2165. * Fixed a typo in r11179 causing party invitation to fail
  2166. * Added SI_STEELBODY properly (value from packet capture) [ultramage]
  2167. 2007/09/10
  2168. * Corrected /invite letting you invite people even if you are not the party
  2169. leader.
  2170. * Added some reply messages when you try /invite and a. the character is
  2171. not found or b. you are not the party leader.
  2172. * Added a check so that the 'save on crash' routine won't get stuck if it
  2173. happens to crash while attempting to save characters.
  2174. * People in chat-rooms no longer receive @main messages. [Skotlex]
  2175. 2007/09/10
  2176. * Added a safeguard to skill_get_unit_layout() against incorrectly
  2177. defined layout ids (will give weird results but won't crash at least)
  2178. * Fixed Firewall/Icewall being oriented backwards (no real difference..)
  2179. * Removed some junk Landprotector/Graffiti code
  2180. - Graffiti doesn't get placed randomly anymore
  2181. * Icewall can now be cast on yourself
  2182. - TODO: for some reason, the cell on yourself immediately expires...
  2183. * Merged together functions clif_set0192() and clif_changemapcell()
  2184. - also removed its "send to whole map" mode which is just plain wrong
  2185. (although aegis actually does use it to 'inform' caster about changes)
  2186. * Added config option to adjust exp gained by 'getexp' [ultramage]
  2187. 2007/09/09
  2188. * Removed bonus bAddEffWhenHitShort as it is unneeded and unused.
  2189. * Corrected getpetinfo so it actually returns "null" when there's no pet
  2190. and you request the name (the docs state it so).
  2191. * Added gethominfo (which behaves in the same way as getpetinfo).
  2192. * Corrected bonus3 bAutoSpell(WhenHit) to select target enemy (rather than
  2193. self) for skills with inf self and inf2 'don't target self' (aka:
  2194. auto-select target skills).
  2195. * Corrected map_foreachinpath to do a wall check for targets beyond the
  2196. initially selected tile.
  2197. 2007/09/09
  2198. * Modified bonus3 bAddEff/bAddEffWhenHit so that the last parameter is now
  2199. passed directly as "trigger" flag. The possible trigger values are
  2200. ATF_LONG, ATF_SHORT, ATF_TARGET, ATF_SELF. Explanation added to
  2201. doc/item_bonus.txt [Skotlex]
  2202. * Updated sql files [Playtester]
  2203. 2007/09/08
  2204. * Adjusted a spot that still blocked GL's skills on login [ultramage]
  2205. 2007/09/07
  2206. * Added support for the new party invite/reply packets from the latest
  2207. client version.
  2208. * Added auto-rejecting party/guild invites when the target is disconnected
  2209. from the server.
  2210. * Changed the default @Main format to prevent crashes in the newer
  2211. clients.
  2212. 2007/09/04
  2213. * bonus3 autospell (and autospell when hit) will now select for spell
  2214. target self when the skill is tagged a support skill.
  2215. * Increased the amount of autospells that can be held at a time from 10 to
  2216. 15
  2217. * Changed the "autocasted strip skills don't have a duration" to apply only
  2218. to Full Strip.
  2219. * Magic Mirror's duration now is reduced /15 when used on players.
  2220. * Removed bonus bAddDamageByClass since it is not needed, and implemented
  2221. bAddDefClass which can be used for the same purpose (but previously was
  2222. doing nothing).
  2223. 2007/09/03
  2224. * Added bonuses bSPRegenRate, bHPRegenRate. They behave like the opposite
  2225. of bHPLossRate/bSPLossRate, making you gain x Hp/Sp every y ms.
  2226. * Added bonus bIgnoreMdefRate, used to ignore a % of the target's mdef when
  2227. using magic attacks (bonus2 will ignore part of the mdef of all targets,
  2228. bonus3 receives a race argument)
  2229. * You can now use bonus2 bCastRate to adjust the cast rate of a single
  2230. skill.
  2231. * Cleaned the code for bleeding (hp-loss) and extended it to handle regen
  2232. as well.
  2233. * Some small cleanups in the pc_bonus functions.
  2234. * Removed bonus3 bHpLossRate since it was doing nothing and is not used.
  2235. * Corrected bGetZeny bonus to be like in Aegis. The amount received is from
  2236. 1 to the given amount, you can use negative zeny values to use an amount
  2237. dependant on mob's level (amount*lv).
  2238. * Updated doc/item_bonus.txt with all these changes.
  2239. * Anti-Magic/Stone-Skin now increase/decrease def/mdef only and in an
  2240. absolute mode (+20*lv rather than +20%*lv). Also the duration is greatly
  2241. decreased (x/15) when used on players.
  2242. * Now when a player uses a strip skill without having it in the skill tree
  2243. (auto-casted) the duration will be 0, the equipment will be stripped
  2244. without causing the status change that blocks reequipping.
  2245. 2007/09/02
  2246. * Added @whereis command (displays normal spawn maps for given mobs).
  2247. Defaults to a lv10 command. [Skotlex]
  2248. * Updated Refined Sakkat Box to give only 1 Sakkat instead of 10. [Paradox924X]
  2249. 2007/08/31
  2250. * Added some comments to clif_changechatowner()
  2251. - totally broken, see the code + topic:163829
  2252. * Implemented the chatroom display packet properly
  2253. - now has 4 types: public, private, npc and non-clickable npc chatroom
  2254. * Implemented the chatroom leave packet properly
  2255. - now utilizes the 'kicked' flag when the user was forced to leave
  2256. - TODO: banlist support to prevent re-entry, see jAthena code
  2257. * Documented/cleaned up chatroom code and packetry [ultramage]
  2258. 2007/08/30
  2259. * Updated sql files [Playtester]
  2260. 2007/08/29
  2261. * Added bonus bSkillHeal to distinguish offensive skill damage increases
  2262. from healing power boosts.
  2263. * Moved battle_skillatk_bonus to pc.c, cleaned up the related skillatk
  2264. bonus code to consider the skillheal bonus option. [Skotlex]
  2265. 2007/08/23
  2266. * Updated athena-start & start to Shazeya's hack. Please test them! [DracoRPG]
  2267. - Simplest way is to run ./start that is equivalent to Windows runserver_sql.bat
  2268. - To run TXT instead, edit the beginning of athena-start with proper filenames
  2269. 2007/08/22
  2270. * Fixed Dragon Fear's status change selection and duration.
  2271. * Fixed Metamorphosis not displaying a speed-change update on the client.
  2272. * Status changes that were blocked by element are no longer blocked,
  2273. instead, now no-damage skills are blocked if they have an element which is
  2274. absorbed by the target (This is the behaviour that Tharis believes is
  2275. correct). [Skotlex]
  2276. 2007/08/19
  2277. * Set proper limits to drop rates, prevents int overflow during calc
  2278. * Cleaned/clarified some #include relationships between headers
  2279. - TODO: pc_read_gm_account() still accessses the RFIFO directly!
  2280. * Again removed the IG_ list from itemdb.h (see r10100 and r10113)
  2281. 2007/08/18
  2282. * Fixed a deallocation mistake and some buffer overflows in npc_chat.c
  2283. after doing rtfm@pcre.txt (all caused by incorrect usage of pcre api)
  2284. * Removed underscores in npc_chat.c's variable names (easier to read)
  2285. * Moved npc pcre-data deallocation from npc_remove_map to npc_unload
  2286. 2007/08/17
  2287. * Implemented the official dual-wield aspd equation [ultramage]
  2288. - using 0.7 instead of 0.66 as modifier (so aspd will be lower now)
  2289. - see topic:151132 for details
  2290. 2007/08/16
  2291. * Fixed eAthena's wrong interpretation of the respawn times [Playtester]
  2292. * Added icons for NPC_CRITICALWOUND and NPC_SLOWCAST [Playtester]
  2293. * Fixed npc chatrooms not being deleted on npc unload/reload (crash)
  2294. * Modified chat code a bit for more clarity [ultramage]
  2295. - replaced double-indirection on 'owner' with a normal pointer
  2296. - separated some common functionality to 'chat_createchat()'
  2297. 2007/08/15
  2298. * Merged and completed Latio's work on server-side hot-key saving
  2299. (http://www.eathena.ws/board/index.php?s=&showtopic=159388&view=findpost&p=884453):
  2300. Now hotkeys are stored server-side (table hotkey in SQL servers, file
  2301. save/hotkeys.txt for TXT servers). You can disable this behaviour by
  2302. commenting out the 'HOTKEY_SAVING' define in mmo.h
  2303. * Apply upgrade_svn11018.sql to create the hotkey table. [Skotlex]
  2304. * Some serious code cleanups
  2305. - adjusted @reloadbattleconf to not depend on variable ordering
  2306. - changed all battle vars to 'int' (removes pointless duplicit coding)
  2307. - added min, max and default columns to battle config data structure
  2308. - added properly bounded values for these columns (or at least tried to)
  2309. - battle-conf loading will now complain if it finds unknown settings,
  2310. and will reject values that are outside of the allowed range
  2311. - added CHATROOM_TITLE_SIZE and CHATROOM_PASS_SIZE
  2312. - partially cleaned up chatroom manipulation code
  2313. 2007/08/13
  2314. * Modified map_foreachinrange so that you can also specify the max length
  2315. of the path to use. The max_count field in the skill_db is used to specify
  2316. this range for path-type skills (Sharpshooting, Kamaitachi and the NPC
  2317. Breath skills.
  2318. * Implemented the 'new' NPC skills described here:
  2319. http://ro.doddlercon.com/wiki/index.php?title=Monster_Skills . It is mostly
  2320. complete, but the new status changes (slow cast, critical wounds, etc)
  2321. don't have any visual effects yet (icon or opt changes? I don't know if
  2322. they should have). Also I could not find the unit_id for Evil Land, so it
  2323. looks just like Sanctuary for now. Apart from those, the only skills which
  2324. I couldn't get to display properly are the Breath skills (with the
  2325. exception of Fire Breath).
  2326. * Corrected gtb_sc_immunity setting not taking effect if your block value was
  2327. the same (that is, if the config said 30%, then you would only get status
  2328. change immunity at 31%, nor 30%) [Skotlex]
  2329. * Fixed a small error in the script_commands documentation about getpartyleader. [Paradox924X]
  2330. * Corrected skill-based hp/sp regen, expect slight increase [ultramage]
  2331. 2007/08/10
  2332. * Updated item_db.sql [Playtester]
  2333. 2007/08/09
  2334. * The new functions now clear junk from the output buffer [ultramage]
  2335. 2007/08/08
  2336. * Moved damage logging to mob_log_damage, now non-damage targetted (or
  2337. splash) skills also get logged into the monster's 'damage history' which
  2338. affects the exp-bonus per attacker setting.
  2339. * Implemented the evolution stat growth bonuses for homunculus.
  2340. * Updated the @homstats command to show evolution bonuses
  2341. * Corrected initial intimacy of a newly created homunculus (should be
  2342. 21/1000) [Skotlex]
  2343. * Cleaned up junk left in the code by the mapcache/mapindex update
  2344. - Added mapindex_getmapname(_ext) to help with ".gat" adding/removing
  2345. - Moved related processing to the interface (prevents duplicity)
  2346. 2007/08/07
  2347. * Expanded isloggedin script command to support an optional argument (char id)
  2348. * Expanded warpparty command to accept target "Leader", this will warp the
  2349. party to the leader.
  2350. * Added a summon structure to handle non-dead-branch mob-groups since the
  2351. current implementation totally fails for mob groups that don't have MANY
  2352. integrants.
  2353. * Fixed mobs not attempting an IDLE skill right before unlocking a target.
  2354. [Skotlex]
  2355. 2007/08/06
  2356. * Slightly deobfuscated the max-hp calculation functionality
  2357. - fixed hp/sp calc code adding extra few points from item bonuses
  2358. * Added a null-pointer check to skill_initunit() to prevent a crash
  2359. * Added a while() loop to the client packet processor (for performance)
  2360. * Added support for kRO 2007-05-14aSakexe langtype 0 login packet 0x2b0
  2361. 2007/08/04
  2362. * Removed weird mvp reward item drop behavior (see topic:160077)
  2363. * Fixed Cart Revolution not transferring status effects on attack,
  2364. and Cart Termination doing it when it shouldn't (see topic:156745)
  2365. * Fixed #refine not accepting names with spaces in them
  2366. * Fixed disguises not doing sit-down properly (missing self packet)
  2367. broken since r6299 stable / r5833 trunk [ultramage]
  2368. 2007/07/30
  2369. * Updated sql files [Playtester]
  2370. * Corrected pet taming code; items are consumed immediately and only 1x
  2371. - TODO: add proper code for people who want delayed consumption
  2372. 2007/07/28
  2373. * Removed ridiculous refine_posword config switch
  2374. - TODO: remove getequipname() func, it can be fully replaced by editing
  2375. a few scripts, plus it doesn't do what the docs say it should do
  2376. * Fixed a silly mistake in the main script engine loop ('pos' variable)
  2377. * Fixed monter -> monster typos
  2378. * Compacted some script function code (fewer LoC -> faster trac ^^)
  2379. 2007/07/27
  2380. * Simplified exp gain equations (now more FPU-friendly and precise)
  2381. - also fixes the uninitialized variable problem... sorry 'bout that >.>
  2382. * Changed the way hit bonus is applied.
  2383. http://www.eathena.ws/board/index.php?showtopic=157438 [Vicious]
  2384. * Cleaned up mob drop code, crashfix is still needed though...
  2385. * Reduced ignore-list length to 20, added proper reply packet
  2386. * Cleaned up some very poorly written pm-ignore code (see r141)
  2387. * Fixed a typo in Warp Portal code displaying an incorrect map name
  2388. 2007/07/25
  2389. * Fixed a missing homunculus info packet when doing @refresh
  2390. * Added support for character rename packet (only dummy code for now)
  2391. * Added support for langtype-12 char deletion packet (tested, works)
  2392. * Synchronized txt/sql charserver code a bit
  2393. * Adjusted motd.txt to not crash new clients
  2394. * Removed some dead code from the charserver (see r352)
  2395. 2007/07/24
  2396. * Fixes on Venom Splasher and the like (see topic:152975) [DracoRPG]
  2397. - VS / Envenom / Throw Venom Knife poison chance raised to 10+4*lv %
  2398. - Removed chance to be poisoned when hit if you're a VS time-bomb
  2399. - Adjusted bomb timer to correct values (5.5+0.5*lv sec)
  2400. - Removed damage boost from Poison React
  2401. - Now ignores EDP damage boost
  2402. - Prevented use on bosses
  2403. - Fixes still needed for recast restriction and splash damage
  2404. * Removed Emperium-damaging ability from Gloria Domini [DracoRPG]
  2405. 2007/07/23
  2406. * Changed the restricting mapflag for @jump from nowarp/nowarpto
  2407. to noteleport. Adjust your scripts if you were using it this way.
  2408. 2007/07/20
  2409. * Corrected packet_db.txt. See topic:158382 for details.
  2410. As a side-effect, the latest packet version is now 22 instead of 21.
  2411. * Added a charserver config option for the character renaming flag,
  2412. along with a detailed comment on what it's supposed to be. This
  2413. eliminates all that "change PACKETVER to 8 and recompile" mess.
  2414. * Moved PACKETVER back to clif.h, cleaned the related code a bit.
  2415. 2007/07/18
  2416. * Added delay_dependon_agi since people actually use and need it...
  2417. * Small update to the effects list (new exe's effects by Au{R}oN)
  2418. * No sending of the pet_equip packet when pet has no equip (thx2Skotlex)
  2419. * Added back exp gain limiting for old formula to stop exploits (see r8177)
  2420. * Now a message is printed when the packet_ver filter rejects someone
  2421. * Renamed two structs using same name as variables (MSVC debugger issue)
  2422. 2007/07/13
  2423. * Fixed yet another script engine typo, this time in 'copyarray' [ultramage]
  2424. 2007/07/09
  2425. * Rev. 10872 Removed a comment I had placed on line 6879 in Skill.c. [L0ne_W0lf]
  2426. * Rev. 10870 Alchemist skill "AM_CANNIBALIZE" ("Summon_Flora") now [L0ne_W0lf]
  2427. summons the proper monsters.
  2428. 2007/07/07
  2429. * Fixed typo in 'deletearray' messing up the script engine
  2430. * Added a check to pc_skill() to prevent crashes on unknown skill ids
  2431. 2007/07/06
  2432. * Cleaned up some nasty code related to skill_blown
  2433. - split 'direction' value from flags
  2434. - moved (almost) entire direction calculating code to the outside
  2435. - bowling bash now has the 'suck-in' effect (knockback is now done
  2436. in the direction you were last facing, not in your-target direction)
  2437. 2007/07/05
  2438. * Fixed pet equip and pet hairstyle packet sends [ultramage]
  2439. * Fixed NPC_STOP's visual effect not clearing when the status ends
  2440. * Corrected @homshuffle making the skill tree be lost.
  2441. * Corrected homunculus skills being unusable if the master was sitting or
  2442. inflicted by a disabling status (eg: petrify, stun)
  2443. * Some fixes to the cell no stacking mod (mainly mobs would just get stuck
  2444. behind each other and not properly surround you). [Skotlex]
  2445. 2007/07/04
  2446. * Fixed a copy-paste typo messing up script variables pretty bad D:
  2447. 2007/07/03
  2448. * Fixed a typo in script engine erroring when working with char params
  2449. * Made Homun Resurrection only fail on cast-end (see topic:155223)
  2450. * Re-coded 'soundeffectall'; removed the third parameter ('coverage')
  2451. - adjust your scripts if you use this command [ultramage]
  2452. * Defined out a problematic piece code in conv_num.
  2453. * Added reporting of constant and param script data.
  2454. * Fixed an incorrect check in menu script command. [FlavioJS]
  2455. 2007/07/02
  2456. * Undid the change from r10298, frozen status again modifies def/mdef
  2457. 2007/07/01
  2458. * TXT->SQL converter fixup [ultramage]
  2459. - Added missing char_id insert which totally messed up the conversion
  2460. - Fixed login converter ignoring many columns (although it had the data)
  2461. - Pointed out that Login-stored account variable conversion is MISSING!
  2462. - Pointed out that Status, Homunculus and Mapreg conversion is MISSING!
  2463. - Blocked the config functions from exiting server when file not found
  2464. - Finally added VS8 project files for this thing
  2465. 2007/06/28
  2466. * Added a missing line to enable @displayskill atcommand [DracoRPG]
  2467. 2007/06/26
  2468. * Changed the string hash of the script engine to SDBM.
  2469. * Reporting information about script data when an error occurs.
  2470. * More work on ticket #41 (array functions). [FlavioJS]
  2471. 2007/06/22
  2472. * Changed behavior of some guild-related code (according to X.4 tests):
  2473. - removed code that prevented Homunculus Resurrection during WoE
  2474. - logging in doesn't activate the 5 minute guild skill block anymore
  2475. - non-Urgent guild skills can now only be cast on WoE grounds during WoE
  2476. - all guild skills now have no cast delay (previously was 1 second)
  2477. - casting guild skills will now block FreeCast sages from walking
  2478. - Battle Orders and Regeneration are now instacast
  2479. - Restoration now has a 10 second cast time, reducible only by dex
  2480. - Urgent Call's cast cannot be reduced anymore (not even by items)
  2481. 2007/06/15
  2482. * Fixed script command sc_end not supporting the extra argument as stated
  2483. in script_commands.txt.
  2484. * Script command getarg supports an extra argument with a default value
  2485. that is returned if the requested argument doesn't exist. [FlavioJS]
  2486. 2007/06/11
  2487. * Fixed NPC_PROVOCATION (now the casting mob doesn't keep attacking)
  2488. * accumulated clif.c fixes [ultramage]
  2489. - Fixed pet equip not displaying correctly at all
  2490. - Removed old fixpos packet (the 'new' one is way smaller)
  2491. - Fixed some major logical typos in the code, cleaned up many places
  2492. 2007/06/10
  2493. * Rev. 10745 Updated itemdb.h with the two new item group values.
  2494. (38 and 39) Why are they static anyway? [L0ne_W0lf]
  2495. 2007/06/09
  2496. * Added 'nosave' mapflag to que_bingo for Bingo system purposes. [SinSloth]
  2497. 2007/06/04
  2498. * Fixed the compilation problem from r10668
  2499. 2007/06/03
  2500. * Fixed a bad copy-paste from r10028 letting players escape jail
  2501. (char was dead on login, so statuses (SC_JAILED) couln't be applied)
  2502. * Fixed missing client update when 'return to savepoint' fails [ultramage]
  2503. 2007/06/02
  2504. * Displaying op names instead of numbers in script engine errors.
  2505. * Fixed a bug introduced in the last rework of the fame ranking.
  2506. * Created safestrncpy that ensures the string is nul-terminated. [FlavioJS]
  2507. 2007/06/01
  2508. * Updated sql files [Playtester]
  2509. * Fixed ircbot not processing new users
  2510. 2007/05/29
  2511. * Hopefully fixed the vsnprintf incompatibility
  2512. 2007/05/28
  2513. * Fixed an infinite char-server loop on the map connection [ultramage]
  2514. * RFIFOREST returns 0 when the session is eof (input data is implicitly
  2515. discarted).
  2516. * Reworked the player fame update: [FlavioJS]
  2517. - would crash if an invalid pos was received
  2518. - the wrong player could be updated on certain conditions
  2519. 2007/05/26
  2520. * Identified several more glitches, too tired to fix these...
  2521. * Fixed server not removing member minimap dot when you leave a guild
  2522. * Fixed server not sending party/guild info when you enter a map
  2523. * Fixed guild emblem not showing when you log in (caused by r5359)
  2524. 2007/05/25
  2525. * Fixed @statall giving you +99 stats instead of setting them to 99
  2526. * Fixed npctalk and @npctalk displaying the # part of the name
  2527. (client filters these when you request the name of the npc, btw...)
  2528. 2007/05/23
  2529. * Added new flag to skill_castnodex.txt, to allow per-skill tweaking
  2530. of cast time and delay reducibility by item scripts (cards and such)
  2531. * Fixed Martyr's Reckoning never triggering for gms with all skills
  2532. * Added MO_TRIPLEATTACK and RG_SNATCHER to @skillall's skill filter
  2533. * Made gm_skill_unconditional bypass skill blocking (guild timer, etc)
  2534. * Reverted the weird delay_dependon_agi thing (r8923, r9055, r9059)
  2535. * Changed a few memsets to strncpy (reading past buffer is a bad idea)
  2536. * Sped up some memset operations (multiples of 4 are faster)
  2537. * Fixed a typo in Chase Walk code, /thx to zephyrus_cr [ultramage]
  2538. 2007/05/22
  2539. * Updated sql files [Playtester]
  2540. 2007/05/21
  2541. * Since the fifohead mess is gone, fixed leftover bad code structuring
  2542. * Removed the TURBO socket mechanism - it was in fact just using a
  2543. variable to cache a few arithmetic operations (premature optimization)
  2544. 2007/05/20
  2545. * Fixed Chase Walk having a deactivation cast time (should be instant)
  2546. * Changed status calc to allow value 0 stats; aegis allows
  2547. negative values, but eA is unsigned in this regard, so ...
  2548. * Added positional music effect to Battle Chant / Gospel
  2549. - see r10588 on how to disable it if it annoys you ^^;
  2550. 2007/05/19
  2551. * Added Global chat and Main chat logging
  2552. - lowered the priority of the 'logging off during gw' filter
  2553. * Fixed server crashes when you use long hostnames (/thx to Ancyker)
  2554. * Removed the wtf-y mmo_char_fromsql_short() from r2527 [ultramage]
  2555. * Fixed drops of Thanatos Dolor & Thanatos Odium regarding the quest. [SinSloth]
  2556. * SQL files fixup
  2557. - extended convert_engine_myisam and added innodb version
  2558. - changed the max. email length to 39 (to match value in source code)
  2559. - added comment for storage/guild storage picklog entries
  2560. - changed SETs to ENUMs, which is the proper data type in logs
  2561. - fixed incorrect defaults, shortened mapname lengths to 11
  2562. - use upgrade_svn10575_*.sql to apply changes
  2563. * Removed the vsnprintf->_vsnprintf define for VS9 [ultramage]
  2564. * Corrected the problem with countitem2 [ultramage]
  2565. 2007/05/14
  2566. * Updated sql files [Toms]
  2567. 2007/05/11
  2568. * Updated the effect list a bit, changes by Au{R}oN
  2569. * Re-phrased the attacker flee/def penalty config descs [ultramage]
  2570. Ref: http://www.eathena.ws/board/index.php?showtopic=150918
  2571. * Attempt to fix unwanted teleporting of immobile mobs [Playtester]
  2572. 2007/05/10
  2573. * Adapted the shortlist to use a static array instead of a linked list and
  2574. enabled it.
  2575. * Added Buuyo-Tama's shortlist for send/eof sockets (defined out for now).
  2576. * Replaced toupper/tolower in ladmin by TOUPPER/TOLOWER defines. [FlavioJS]
  2577. 2007/05/07
  2578. * Fixed warpwaitingpc not working (bug introduced in r10471). [FlavioJS]
  2579. * Added a check to login_sql against too long db-stored emails [ultramage]
  2580. * Removed an unused variable in script.c [Toms]
  2581. * Fixed Converters not overwriting each other [Playtester]
  2582. - thanks to scerez for the fix
  2583. 2007/05/06
  2584. * Removed the dependency on winsock.h for definitions, it's all winsock2.h now.
  2585. * Minor documentation/re-coding in chat.c.
  2586. * More work on ticket #41. [FLavioJS]
  2587. * Fixed Red Pouch overriding nobranch mapflag [Playtester]
  2588. * Attempt to fix Kyrie Eleison not castable on enemy players [Playtester]
  2589. - please test, I can't double client to test it in pvp
  2590. - don't forget to recompile before testing
  2591. 2007/05/04
  2592. * Added an optional read-from-GRF/GAT map loading system back in.
  2593. - It can be turned on with the use_grf flag in map_athena.conf.
  2594. - The conf/grf-files.txt becomes relevant again. [blackhole89]
  2595. * Removed the cyclic map.h<->status.h dependency, which allowed me to
  2596. also remove the annoying/memory-wasting MAX_STATUSCHANGE define
  2597. 2007/04/30
  2598. * Ladmin fixes
  2599. - Added vs8 project file for ladmin
  2600. - Replaced all occurences of printf in ladmin.c with ShowMessage
  2601. - Fixed ladmin working with ips using the wrong byte orer
  2602. * Fixed @jumpto displaying the incorrect player name
  2603. * Added more safeguards to socket.c against socket ids out of range
  2604. TODO: session[] array isn't explicitly zeroed; is that a good thing?
  2605. 2007/04/29
  2606. * Fixed login_sql ipbans not working
  2607. * login server will now bind only after finishing the init phase
  2608. * Tried and fixed md5 password encryption [ultramage]
  2609. - login_sql was doing stupid things like re-using one pre-generated
  2610. key for all connections, and escaping binary md5 data (destroying it)
  2611. - added missing code to login_txt when creating new accounts, showing
  2612. that storing passwords as md5 hashes never really worked for txt
  2613. - removed PASSWORDENC's conditional compilation effect, now just a flag
  2614. - greatly simplified md5 password checking code, credits to eapp
  2615. * Internal changes to the script engine: [FlavioJS]
  2616. - modulus division detects division by 0.
  2617. dividing by zero stops the script and gives an error
  2618. - underflow/overflow messages differentiated (warnings)
  2619. - when a script function doesn't return a value, a C_NOP value is pushed
  2620. instead (avoids stack corruption)
  2621. - op_add merged with op_2+op_2num/op2_str
  2622. - better type checking in the operators, int/string is never assumed.
  2623. The script ends when an invalid type is found.
  2624. - other minor code cleanups
  2625. 2007/04/26
  2626. * Corrected High Jump so it works on Guild Castles when WoE is off.
  2627. * Moonlit petals now always knocks to the back of the character rather than
  2628. pushing the character away from it's center.
  2629. 2007/04/25
  2630. * Modified the mob ai think time update after using skills from
  2631. adelay/amotion to 100ms since the previous method adds a large delay before
  2632. the AI activates again (which screws up with the timing of idle/walk
  2633. skills)
  2634. * NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in
  2635. the sense that every normal attack afterwards becomes a Magical Attack. The
  2636. skill duration is 15 secs. [Skotlex]
  2637. * Added missing Rachel quest map [Playtester]
  2638. * Ganbantein now deletes individual skill cells instead of the whole skill
  2639. in the area it is casted.
  2640. * Modified the mob total damage code to prevent overflows when mobs receive
  2641. over 2kM damage. [Skotlex]
  2642. * Spider Web / Fiber Lock status cannot be dispelled now [ultramage]
  2643. 2007/04/24
  2644. * All mob casted skills have a fixed range of 9 now.
  2645. * Pressure no longer vaporizes plants.
  2646. 2007/04/23
  2647. * Fixed bug which totally broke item group bonuses.
  2648. * Added warnings when setting a pvp/gvg flag removes the other flags on the
  2649. same map (gvg and pvp can't coexist on the same map)
  2650. * Removed the check that prevented you from casting soul-collect when you
  2651. already have 5 spirits.
  2652. * Corrected Magic Rod so it doesn't displays any skill-use animation until
  2653. it triggers.
  2654. * Corrected Steel Body's icon (it actually belongs to AutoBerserk)
  2655. * Debuff on logout&2 is again set to default, instead of removing food
  2656. bonuses now it removes Maximize Power, Maximum Overthrust and Steel Body.
  2657. [Skotlex]
  2658. * Extended the functionality of StringBuf - length and appending a string.
  2659. * menu/select/prompt script functions support grouped and empty options.
  2660. The selected option number is consistent with them.
  2661. * More work on ticket #41. [FlavioJS]
  2662. 2007/04/22
  2663. * Corrected crash if itemskill is used without an attached player.
  2664. * Removed range checks for autospells as per UltraMage Aegis tests.
  2665. * Added chatID skill fail check to skill_check_condition
  2666. * Corrected @refresh not re-displaying your spirit spheres nor re-setting
  2667. your cloth dye.
  2668. * Now the "number of attackers" in mob_dead is counted only from online
  2669. characters on the same map.
  2670. * Updated the autospell bonus scripts so you don't have to specify all the
  2671. attack type criteria. If neither of BF_LONG/BF_SHORT is specified, the
  2672. spell will trigger on both. If neither of BF_WEAPON/BF_MAGIC/BF_MISC is
  2673. specified, the spell will trigger on BF_WEAPON, if neither of
  2674. BF_NORMAL/BF_SKILL is specified, BF_SKILL is used if the trigger is
  2675. BF_MAGIC/BF_MISC and BF_NORMAL is used if the attack is BF_WEAPON. This way
  2676. the default when nothing is specified is
  2677. BF_NORMAL|BF_WEAPON|BF_SHORT|BF_LONG. [Skotlex]
  2678. 2007/04/21
  2679. * Removed the +25% mdef, -50% def effect from Freeze status
  2680. * Changed autocast skills, they now only work with normal attacks!
  2681. Ref: http://www.eathena.ws/board/index.php?showtopic=138159
  2682. * Fixed a few spots where attack_type was getting truncated
  2683. * Hopefully fixed the cygwin + size_t problem (using stddef.h as source)
  2684. * Added ntows() to properly handle that client port number deficiency
  2685. * Adjusted the packet_db array for a more consistent look [ultramage]
  2686. 2007/04/20
  2687. * Cleaned up the doc folder. Removed outdated, untranslated, useless files
  2688. and began normalizing a bit other ones~ [DracoRPG]
  2689. 2007/04/18
  2690. * Added MEXP overflow checks. [LuzZza]
  2691. * Added bonus5 bAutoSpell/bAutoSpellWhenHit. The new parameter is used to
  2692. specify when the spell should trigger (melee/range + weapon/magic/misc
  2693. attack), see doc/item_bonus.txt for details. [Skotlex]
  2694. * Changed some %lu to %u in login_sql/login.c because uint32 is now
  2695. an unsigned int [Toms]
  2696. * Discarded extra deflate function needed for afm reading [ultramage]
  2697. - as a result, discarded the whole chain of support functions, .c files
  2698. and includes needed to make that one function run
  2699. - also removed zlib compile/link dependencies where they are not needed
  2700. - reduced the whole zlib package into two core include files
  2701. - adjusted makefiles / project files to reflect this change
  2702. 2007/04/17
  2703. * Massive at+charcommand cleanup, big thanks to HiddenDragon [DracoRPG]
  2704. * Partially deobfuscated the grfio module
  2705. * Finally fixed mingw problems, managed to build both TXT and SQL
  2706. * Fixed the uint32 platform problem (Microsoft failed so I removed it :)
  2707. * Removed the cbasetypes.h dependency from the mapcache generator
  2708. * Removed some random compilation warnings [ultramage]
  2709. * Small bugfixes and enhancements to the map cache generator [DracoRPG]
  2710. 2007/04/15
  2711. * Fixed 'randomtarget' picking dead characters.
  2712. * Adjusted Spiral Pierce, Shield Boomerang and Shield Chain to use atk2
  2713. instead of weight when used by non-players.
  2714. * Adjusted skills blindAttack, SilenceAttack, StunAttack, PetrifyAttack,
  2715. CurseAttack, SleepAttack, Lex Divina and Dispell to be area effect skills,
  2716. if the used skill level has a splash-range different from 0.
  2717. * Mob used Meteor Assault is able to hit icewalls now. [Skotlex]
  2718. 2007/04/15
  2719. * Fixed TXT char creation blocking characters with nonstandard names
  2720. 2007/04/13
  2721. * Committing some accumulated stuff [ultramage]
  2722. - makefile typo, maps_athena typo, svn:eol-style native for some files
  2723. * Changed the meaning of inf2=0x1000. Now it is used to "disable usage on
  2724. enemies", which only works for non-aggressive (inf!=1) skills.
  2725. * If a skill is party/guild only (inf2 0x400/0x800) it will also be
  2726. castable on enemies if the skill's inf is 1 (offensive target)
  2727. * Corrected the mob behaviour when it locks into an enemy it can't chase.
  2728. Previously it would get stuck on a lock->unlock->lock loop, with each
  2729. unlock resetting the "random walk" timer, causing the mob to just idle in
  2730. place. Now they will attempt idle skills and no longer reset the "random
  2731. walk" timer, so they behave as if they were in Idle state properly.
  2732. * Now the bonus bAtkEle will be transferred directly to the weapon when the
  2733. script is in the ammunition, and you are wielding a weapon that consumes
  2734. ammo per atttack.
  2735. 2007/04/12
  2736. * Trade-requests now fail if the target is in a NPC.
  2737. * Some cleaning of the castend_map code to prevent the menuskill variable
  2738. from not being cleared if you made a choice but the skill was not triggered
  2739. (due to silence, stun or whatever)
  2740. * Cleaned up a bit the Charge Attack casttime equation, should prevent
  2741. infinite casttime when the distance is 0.
  2742. 2007/04/11
  2743. * Now when an object changes speed, the old move-packet will be used on the
  2744. next movement, which should update the object's speed from that point and
  2745. on-wards. This is done since there appears to be no way to tell the client
  2746. a given object's speed has changed.
  2747. * Modified spirit of Wizard so that the consumption of 'Fragments' when
  2748. blocking bounced spells will only consume 1 Fragment per skill casted,
  2749. regardless of how many hits were reflected.
  2750. * Modified status_get_sc_def to handle both rate and tick reductions. This
  2751. way it can take care of the fact that curse rate/duration reductions are
  2752. not reduced by the same stats. Curse duration is now reduced by vit.
  2753. [Skotlex]
  2754. * Removed an ugly cast in socket.c
  2755. * Fixed Makefile (-Wno-unused-parameter was added twice with gcc4) [Toms]
  2756. 2007/04/10
  2757. * Recoded and renamed the trim function in strlib to normalize_name.
  2758. * Added a proper trim function to strlib.
  2759. * Cleanups at npc source file adding/removing.
  2760. * Changed db key from 'unsigned char*' to 'const char*'.
  2761. * Defined out the dump function in util.h/c. [FlavioJS]
  2762. * As an experiment Corrected many /W4 warnings on the txt login server
  2763. * Played around with MinGW a bit today... [ultramage]
  2764. - adjusted code so that it handles mingw-specific compatibility problems
  2765. - adjusted the makefile, mingw is not a subset of cygwin
  2766. 2007/04/09
  2767. * Now when saving a character, only the cart/peco/falcon 'option' states
  2768. are saved, the rest should be handled by the status change load/save
  2769. functions. This saves 'permanent' cloaking/hiding and other such oddities
  2770. if the server is unable to save your status changes on logout.
  2771. * Updated some Guild WoE rules to behave as explained here:
  2772. http://www.eathena.ws/board/index.php?showtopic=146581 [Skotlex]
  2773. 2007/04/08
  2774. * Fixed the platform-specific stricmp compilation problem
  2775. * Fixed inverted vending tax equation (!) and made it more precise
  2776. * Moved e_mail_check() and config_switch() to strlib.h
  2777. * Synchronized the login servers a bit
  2778. 2007/04/07
  2779. * Disabled the exception handler on windows debug builds
  2780. * Fixed Devotion using WE_BABY's status icon (now uses no icon);
  2781. if you have a way to determine the correct number, give feedback
  2782. * Updated the server's PCRE components to 7.0
  2783. - dll, library, header
  2784. - cleaned the only existing example and moved it to /samples
  2785. - changed the interface, now $@ is used instead of $ to store the result
  2786. - /!\ adjust your scripts if you are using npc regexp parsing /!\
  2787. * Fixed the start_point setting smashing t3h stack in some situations
  2788. * Fixed some over/under-dimensioned arrays (defines already cover the '\0')
  2789. * Fixed an unupdated define making Warp Portal fail with an error [ultramage]
  2790. * Final touches to the whole map crap [DracoRPG]
  2791. - changed MAP_NAME_LENGTH to 12, now there's MAP_NAME_LENGTH_EXT at 16 for
  2792. uses where there is / may be the .gat extension, code adjusted accordingly
  2793. - moved map_normalize_name to mapindex_normalize_name so that everything
  2794. handling map names uses the same extension-removing function
  2795. - greatly enhanced the map cache generator, complete documentation on the
  2796. tool and the map cache format can be found in doc/
  2797. - the map cache format changed a bit as a consequence, but of course a new
  2798. valid one is included (contains latest Nameless Island maps)
  2799. - and I'm sorry for the number of times I've moved around and renamed files,
  2800. now the final structure should have been reached
  2801. * Capped clif_heal's heal field (the argument received is int, but the
  2802. packet field is short, meaning that if the heal is high enough, the client
  2803. would receive a negative heal amount). [Skotlex]
  2804. 2007/04/06
  2805. * Made a crazy attempt to at least partially synchronize login&char code
  2806. * Major edit to the way the servers handle ip addresses, making them obey
  2807. the "host byte order inside, network byte order outside" rule [ultramage]
  2808. - hopefully covered all entry- and exit-points for IP address data
  2809. - discovered several places where Gravity's client breaks the convention,
  2810. will need to come up with a suitable countermeasure for that
  2811. - other than that, the code should be portable, except for printing and
  2812. ipban mask testing (those still assume a specific byte order)
  2813. - tested both txt and sql in all usual situations; tested single- and
  2814. multi-server setups, all seems to work (but watch out for hidden bugs!)
  2815. 2007/04/05
  2816. * Cleaned @whogm. It will display the name of all gms online. If their GM
  2817. level is above your own, it will only display their name, otherwise level,
  2818. position, and party/guild info is displayed. GM's using gm-hide will not
  2819. appear on this list.
  2820. * Corrected song/dances/encores reducing SP at the incorrect intervals
  2821. (either never, or every second).
  2822. 2007/04/04
  2823. * Corrected Longing for Freedom, it should triple SP cost rather than
  2824. modifying SP cost to 1/sec
  2825. * SC_ENCHANTARMS will no longer fail to start if it's already running with
  2826. a "higher elemental level".
  2827. * When trying to trade an untradeable item, the add-item-fail packet will
  2828. be sent so the client does not gets stuck. [Skotlex]
  2829. 2007/04/03
  2830. * Some spring-cleaning in sql-files, only left SVN 8k+ files [DracoRPG]
  2831. * Updated sql files [Playtester]
  2832. * Fixed char-server crash on @changegm use.
  2833. * Cleaned up mmo_auth, this function wasn't only poorly coded, it also had
  2834. a SQL-related memory leak in it!
  2835. * Corrected the attack_attr_none check being backwards (ie: this config was
  2836. working backwards!)
  2837. * All pets can now move regardless of their Mob counter part setting.
  2838. [Skotlex]
  2839. * Some source code cleaning
  2840. - Fixed the badly worded messages during mapserver startup
  2841. - Cleaned up socket config reading
  2842. - Split resolve_hostbyname() into 2 separate functions for clarity
  2843. - Moved the probably obsolete LOWER/UPPER macros to db.c (TODO: remove)
  2844. - Moved the badly placed compare_item() function to storage.c (see r779)
  2845. * Fully removed the msvcr80.dll dependency from the vs8 project files
  2846. 2007/04/02
  2847. * Removed some overly verbose item group messages & code
  2848. * re-added the item_group_list for consistency's sake, moved to itemdb.h
  2849. (after some hacking to remove the ugly map.h dependency)
  2850. * Fixed the server crashing on a timer-queued disguise / undisguise
  2851. * Fixed the server crashing on startup due to bad define [ultramage]
  2852. * Removed bonus 'bAspdAddRate'. bAspdRate now behaves on a stackable
  2853. matter, so it's no longer needed.
  2854. * Reimplemented the bonus 'bAspd' (raw Aspd increase) [Skotlex]
  2855. 2007/03/31
  2856. * Added all the missing defines for ctype.h functions and converted all
  2857. the direct uses to the defines. [FlavioJS]
  2858. 2007/03/30
  2859. * Added "do_abort" function to the core. It is invoked when the server has
  2860. received a Segmentation Fault or Floating Point Exception signal. Currently
  2861. the only one that uses it is the map-server, which then attempts to save
  2862. all online characters before aborting. Note that due to the current
  2863. coding of the sig plugin, do_abort will not be invoked if you use it!
  2864. This plugin needs to be updated... [Skotlex]
  2865. * Continued script.c cleanup [Toms]
  2866. 2007/03/29
  2867. * Corrected OPTION_XMAS since 2007 clients have split it up from
  2868. OPTION_FLYING (on previous clients both were the same option value).
  2869. * Corrected statp array not being long enough to actually hold the status
  2870. points of ALL levels up to and including MAX_LEVEL. Fixes reaching final
  2871. level and resetting giving you an unpredictable amount of status points.
  2872. 2007/03/28
  2873. * Negative aspd rate bonuses will be handled as aspd add rate since the
  2874. default non-stackable bonus is useless on penalty bonuses.
  2875. * Added check to prevent the client from using passive skills. [Skotlex]
  2876. * Updated sql-files [Playtester]
  2877. * Removed a missing file reference in the athena-start script
  2878. * Fixed a #error "<malloc.h> has been replaced by <stdlib.h>" problem
  2879. * Fixed the msg_silent setting not being announced every time [ultramage]
  2880. 2007/03/27
  2881. * Cleaned up some the mob skill use code. The skill re-use delay is set at
  2882. the time the skill is used rather than when it finishes casting. The
  2883. invalid target check was also moved to the mob skill db reading function.
  2884. * Skills can be used now when the autoskill menu is open (since there's no
  2885. packet sent by the client when you hit on cancel). [Skotlex]
  2886. * Added some svn:ignore properties [Toms]
  2887. * Solved console plugins compilation error [Toms]
  2888. * Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB.
  2889. - !!!WARNING!!! If your server uses higher levels, be sure to adjust
  2890. this appropriately! (the define can be found in /src/map/map.h)
  2891. * Corrected SC_COMA's success chance (X.4 says it's unconditional 100%)
  2892. * Changed the vs8 used crt library to static linking [ultramage]
  2893. 2007/03/26
  2894. * Coma now reduces SP to 0 (with the exception of Dark Blessing) [Skotlex]
  2895. * Corrected "format '%lu' expects type 'long unsigned int', but argument 4
  2896. has type 'unsigned int'" warning on login.sql [Toms]
  2897. 2007/03/24
  2898. * Corrected change r10051 which prevented Ice Pick from working [ultramage]
  2899. - the 'ignore_' variables are bitflags and therefore need enough bits
  2900. to store all info; 8 bits wasn't enough in this case
  2901. 2007/03/23
  2902. * Major reconfiguration of the vs7 project files (+vs8 while I was at it)
  2903. - added definitions _DEBUG and NDEBUG to tune system-specific stuff
  2904. - reduced the build requirements (Pentium 4 was a bit too much)
  2905. - changed build settings and project structure to match the vs8 projects
  2906. - corrected some vs8 inconsistencies
  2907. * Some generic typo fixes [ultramage]
  2908. * Corrected Ankle Snare/Spider Web having a 1% chance to trap rather than
  2909. 100%
  2910. * Food boosts are now dispelled on death only.
  2911. 2007/03/22
  2912. * Corrected setitemscript not correctly updating the item's script.
  2913. * Added define MAX_CHARS so you can easily mod the server to support a
  2914. different amount of characters per account (however, there is still the
  2915. issue of hexing the client to support this change)
  2916. * Updated msg_athena.conf so it no longer uses broken english on several
  2917. entries. Thanks to Scerez for the updated file.
  2918. 2007/03/21
  2919. * getpetinfo 5 will now return the pet's rename flag.
  2920. * Autoloot will now only work on items dropped a certain distance from the
  2921. player. The distance is defined by AUTOLOOT_DISTANCE in atcommand.h and
  2922. defaults to AREA_SIZE.
  2923. * Removed Magic Rod's cast bar.
  2924. * Gravitation no longer causes damage flinch. [Skotlex]
  2925. 2007/03/20
  2926. * Increased MAX_STATUSCHANGE to 300 to make room for new statuses [DracoRPG]
  2927. * Reverted mapindex reading from map_list.txt for the map-server [DracoRPG]
  2928. * Patched the MAX_STATUSCHANGE startup error [ultramage
  2929. * Removed the last argument from script command skillitem.
  2930. * Added skill ITEM_ENCHANTARMS, this is what weapon enchanting items should
  2931. use.
  2932. * Added support for specifying different elements per skill level in the
  2933. skill_db
  2934. * Added bonus bNoKnockback.
  2935. * Corrected login sql server not reseting your account state to 0 when the
  2936. banuntil duration expires.
  2937. * Made the skillatk bonus it's own function, it can now be used to boost
  2938. Heal/Sanctuary/Potion Pitcher and Slim Pitcher as well.
  2939. * Corrected Teleport's save map entry being sent without the .gat
  2940. extension.
  2941. * Corrected Warp Portal not sending the map names with the .gat extension.
  2942. * Probably corrected Disarm's strip animation.
  2943. 2007/03/19
  2944. * Rewrote the jail logic to always use a status change. This means that the
  2945. character's save point is not changed when jailed, and the char is always
  2946. warped back to the point where it was before being jailed on unjail.
  2947. * Modified @adjcmdlvl so you can't set a command to require higher level
  2948. than yourself, and so you can't edit the level of a command which is higher
  2949. than your own.
  2950. * Corrected attack_attr_none setting disabling elemental resist cards.
  2951. * Corrected Dispell removing Jailed status.
  2952. * Corrected being able to revive with 0 hp.
  2953. * Modified the "Restart" code so that it makes you stand on spot when
  2954. pc_setpos fails to move you back to your originating location. [Skotlex]
  2955. * Fixed some wrong sql login logic
  2956. * Fixed some compiler warnings, cleaned up mapserver sql-related vars
  2957. * Removed the old 'mapserver charsave' mechanism [ultramage]
  2958. * Globalised use of script_pushint and script_getdata in script.c
  2959. If someone need them, the regexp used was :
  2960. sed -i "s/& *(st->stack->stack_data\[st->start *+ *\([^]]*\)\])/script_getdata(st,\1)/g" script.c
  2961. sed -i "s/push_val(st->stack, *C_INT *, *\([^)]*\))/script_pushint(st,\1)/g" script.c
  2962. * Little clean of unused variables in script.c [Toms]
  2963. * Script engine:
  2964. - calling functions without using the return value doesn't generate warnings
  2965. - more work on Ticket #41
  2966. * Took care of two warnings and a minor change to the makefile. [FlavioJS]
  2967. 2007/03/18
  2968. * Added missing VC++ 7.1 project files for mapcache. [Lance]
  2969. * A followup to the login_sql server changes:
  2970. Due to a missing 'else' in the case_sensitive config setting loading
  2971. code (see r483 and r3316), the option was always being set to 'off'.
  2972. Now that I have corrected it, make sure to set it exactly how you
  2973. want it to behave (usually case-insensitive)!
  2974. Failure to do so can result in half the server spamming you with
  2975. messages about how they are getting 'unregistered id' errors.
  2976. 2007/03/17
  2977. * committing my work on the login server (mostly SQL) [ultramage]
  2978. - removed the check_ip_flag from login&char (there since r1)
  2979. - removed the CMP_AUTHFIFO_IP and CMP_AUTHFIFO_LOGIN2 defines (also r1)
  2980. - removed dynamic_account_ban, gm_db settings, weren't doing anything at all
  2981. - modified the date_format setting to take the format string directly
  2982. - removed overly verbose config loading messages
  2983. - removed/simplified many more useless actions
  2984. - renamed the dynamic_pass_failure_ban_ settings to make more sense
  2985. - collected relevant config settings into a login_config structure
  2986. and documented their purpose
  2987. - allowed usage of yes/no instead of the user-unfriendly 1/0 method
  2988. in config settings (and added 1/0 as a possible option)
  2989. - fixed dnsbl which was always taking only the first entry into account
  2990. 2007/03/16
  2991. * Corrected the structure and added info on the skill fail packet (0x110).
  2992. * Added packet 0x223 as clif_upgrademessage (not used yet).
  2993. * More work on Ticket #41. [FlavioJS]
  2994. 2007/03/15
  2995. * Added SC_CHANGEUNDEAD to differentiate it from the other elemental change
  2996. skills. It now fails on Undead/Dark elemental targets.
  2997. * Corrected party item share settings not being properly updated on logon.
  2998. * Corrected battle_attr_none setting applying to elemental attacks instead
  2999. of neutral ones. [Skotlex]
  3000. 2007/03/14
  3001. * Finished polishing the new mapcache system [DracoRPG]
  3002. - common/grfio.* now empty except zipping functions (to read mapcache)
  3003. - servers do not use .gat internally anymore
  3004. => YOU CAN (and should) STOP USING .gat IN YOUR SCRIPTS
  3005. - moved files for the mapcache builder to db/ for now
  3006. - the char-server now uses the same index list as the mapcache builder
  3007. => poring_c01, poring_c02 and ng_quest mapindex have changed, beware
  3008. * Updated sql files [Playtester]
  3009. * Adjusted @pvpoff, @gvgoff, @killer, @killable to make characters stop
  3010. attacking when used.
  3011. * Dispell no longer removes food boosts.
  3012. * Players will stop attacking when they change their look.
  3013. * Applied Alydis's fix to the mvp item logs logging mvp items even if the
  3014. player couldn't get the item.
  3015. 2007/03/13
  3016. * Corrected the new packet version entries for skilluseposinfo
  3017. * Corrected item reloading not unsetting the "delay consume" flag if the
  3018. item had changed it's type.
  3019. * the Attack_Type variable in skill_attack now inherits the damage.flag
  3020. properties, this fixes ranged status effects not triggering.
  3021. 2007/03/12
  3022. * Added player not attached crash prevention to countitem/countitem2.
  3023. * Probably corrected delitem not deleting pet eggs at all.
  3024. * Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites.
  3025. * Mob skill state "anytarget" no longer triggers when the mob has an
  3026. item-target (looting).
  3027. * @storage/@gstorage will no longer work if you have a trade or a storage
  3028. opened already.
  3029. * Corrected script command movenpc so it properly moves the ontouch npc
  3030. cells as well.
  3031. * Changed the unit-walk packet to be 0x86 as pointed out by FlavioJS. This
  3032. new packet is much smaller, and should greatly decrease bandwidth usage.
  3033. The only drawback is that the character will not display at all if the
  3034. client didn't know of it's existance previously, but eA should always be
  3035. sending a spawn packet when an object gets into/out of sight anyway, so
  3036. it should work correctly.
  3037. * Modified the guild master change ack packet to return the aid/cid of the
  3038. new guild master instead of the index where it was, the previous method
  3039. could cause problems in situations where the order of guild members would
  3040. not match exactly between char/map servers.
  3041. * Updated the Soul Linker's Rogue Spirit Stealth's speed bonus to +60%,
  3042. according to forum infor from ragnagate. [Skotlex]
  3043. 2007/03/09
  3044. * Mapcache can run on system with any endianness.
  3045. The generated file contains data in little endian.
  3046. * Added info on packet 0x86 (simple move packet). Not usable until a clear
  3047. separation between entering sight/leaving sight/walking in sight is done.
  3048. * Propagating const char* from the script engine.
  3049. * ".gat" is appended to the map name before sending the changemapserver
  3050. packet to the client. [FlavioJS]
  3051. * Normalized the mapname in guild get/set castle data, should fix guild
  3052. flags.
  3053. * Added log options 0x800/0x1000 to log storage moves ('R') and guild
  3054. storage moves ('G')
  3055. * Added upgrade_svn9976.sql to include 'R'/'G' on the picklog type column
  3056. set.
  3057. * Updated the logs_athena description to include the letter of each type
  3058. (512 - M, 32 - N, etc)
  3059. 2007/03/08
  3060. * Corrected the pet/homunc data not being free'd if the player logs out
  3061. before being authed.
  3062. * Initialized player's speed on pc_setnewpc to prevent homunculus copying a
  3063. speed of 0.
  3064. * Corrected ranged add-status only triggering if the attack is arrow
  3065. based.
  3066. * Updated counter add-status so they trigger on ranged attacks instead of
  3067. using "arrow_atk" state. [Skotlex]
  3068. * Here comes the new mapcache system! [DracoRPG]
  3069. - The last and only big "feature" (kind of cleanup in fact) you'll see
  3070. - Totally removes GRF/GAT handling from map-server that only reads from cache
  3071. - The cache now also contains map indexes, and is mostly zipped (1.5MB atm)
  3072. - It is shipped with eA => 100% client-independant, no more missing maps
  3073. - If you want to add custom maps, the mapcache builder is available, doc
  3074. and Unix Makefile coming as soon as possible (VC8 project only ATM :/)
  3075. - Removed now useless AFM/AF2 support, as well as the startup screen notice
  3076. 2007/03/07
  3077. * Corrected the define for NK no cardfix (def).
  3078. * Fixed the char sql server not escaping the server name before inserting
  3079. it on the ragsrvinfo table.
  3080. * Corrected @lvup not doing the party even share check.
  3081. * Corrected breaker's misc part not ignoring element.
  3082. 2007/03/06
  3083. * Added NK value 0x80: ignore target's cards (0x8 will now only ignore
  3084. attacker's cards).
  3085. * Corrected Soul Breaker ignoring target's cards instead of the caster's.
  3086. [Skotlex]
  3087. * Fixed an infinite loop if script name contains a single ':' [Toms]
  3088. * Simplified the Utsusemi/Bunsinjyutsu check to only block weapon skills
  3089. that do not ignore offensive cards. [Skotlex]
  3090. * Added support for the 2 new packet versions. [Zephiris]
  3091. * Fixed the loginlog's `user` column length (use upgrade_svn9957.sql)
  3092. 2007/03/05
  3093. * More tweaks to socket.c to simplify the code [ultramage]
  3094. - many generic cleanups - reformatting, useless code removal, etc
  3095. - made the mode_neg setting a compile-time decision, not a run-time one
  3096. - removed the silly frame_size setting (there since r1)
  3097. - added some TODOs to http://www.eathena.ws/board/index.php?showtopic=127988
  3098. * Added the +20hit that were missing the NPC elemental attack skills.
  3099. * Added support for autospells using "a random skill level". The last value
  3100. of bonus4 bAutoSpell is used for determining this as well as the target. &1
  3101. is to cast on target (otherwise cast on self), and &2 is to use a random
  3102. level UP to the level specified in the script (otherwise always cast the
  3103. specified level)
  3104. * Updated item_bonus.txt with the documentation for the
  3105. bAutoSpell/bAutoSpellWhenHit changes.
  3106. * Corrected @refresh not reupdating the basic stat bonuses.
  3107. 2007/03/03
  3108. * Modified a bit the storm gust counter code to see if it fixes storm gusts
  3109. sometimes freezing on first hit.
  3110. 2007/03/02
  3111. * Tatami Gaeshi state (proyectile blocking) now ends when you move.
  3112. * SG Union will consume now SP if you use it while not soul linked.
  3113. * Added variable "skip" to the mob spawn data, to know how many mobs to
  3114. skip when spawning because they were not removed due to the
  3115. "mob_remove_damaged" setting.
  3116. * Corrected the Hp/Sp regen formulas from Hp/Sp/Spirit Recovery and
  3117. Happy/Peaceful break according to recent forums discussions (formula is
  3118. changed from x*lv +max*lv/500 to lv*(x+max/500). [Skotlex]
  3119. * Added new script function: setiteminfo. Now you can make custom items [Lupus]
  3120. - Updated script function setitemscript(itemID,script,WhichScript)
  3121. now u can set one of 3 item scripts: use/update, equip, unequip
  3122. But it works only if the original item had 3 non empty scriptsin ITEM_DB
  3123. can't fix this issue yet
  3124. 1201,Knife,Knife,4,50,,400,17,,1,3,0xFE9F7EEF,7,2,2,1,1,1,1,{dispbottom "1";},{dispbottom "2";},{dispbottom "3";}
  3125. and... if u've used this function, later @reloaditemdb may crush the map server ^_-
  3126. - Check npc/sample/npc_test_setitemx.txt as example of setiteminfo & setitemscript
  3127. 2007/03/01
  3128. * Corrected raid not doing the "can hit?" check on splash area targets.
  3129. * Fixed the definition of warpwaitingpc so that it allows an optional
  3130. argument (number of people to warp).
  3131. * Modified the Palm Strike packet so the initial hit animation does not
  3132. displays "Miss".
  3133. * Added a check to prevent trades from being commited if either character
  3134. is in final-save state.
  3135. * Checked and cleaned up the online_check code in the char-server. Further
  3136. connections to the char-server are rejected when the account already has a
  3137. connection (previously this would happen only if there was already another
  3138. character IN game, not just waiting on the char-select screen). [Skotlex]
  3139. 2007/02/28
  3140. * Added the source and VC8 project for my experimental mapcache generator;
  3141. it is NOT compatible with eA's current mapcache but uses a brand new format
  3142. that I still have to embed into the map-server [DracoRPG]
  3143. 2007/02/27
  3144. * NPC_AGIUP now boosts flee by 100% and duration is 5+5*lv secs, as stated
  3145. on the Ragnarok Bible.
  3146. * Fixed Soul Breaker's misc part not ignoring flee.
  3147. * Fixed misc attack's flee check being backwards (the less hit%, the more
  3148. chance you had to connect)
  3149. * Corrected the range check in vending.c [Skotlex]
  3150. * Added map & distance check to vending to prevent WPE hacks. [Lupus]
  3151. E.g. buying items from WoE castle
  3152. * Fixed a compiler warning in char_sql\login.c
  3153. * Minor source documentation/cleanup. [FlavioJS]
  3154. 2007/02/26
  3155. * You are allowed to expel guild mates that are not online now.
  3156. * Corrected damage of BloodDrain
  3157. * Moved the "already connected" checks to pc_authok, since a dual login
  3158. doesn't needs to be checked until the new connection is accepted.
  3159. * You are allowed to attack/use skills now when your cloaking level is
  3160. below 3.
  3161. * Small change to Stone Curse that may fix the permanent "semi-stone"
  3162. status.
  3163. * Corrected "taming monster" having your skill-use be stuck if you cancel
  3164. the target selection process.
  3165. * config setting party_show_share_picker now displays the jname of the item
  3166. picked as well.
  3167. * Corrected some typos and small details
  3168. (forgotten bInfiniteEndure [r6487], mysterious '1' in help file, etc)
  3169. 2007/02/25
  3170. * Added Krade's makefile fix for 64bit compilers [ultramage]
  3171. - ref: http://www.eathena.ws/board/index.php?showtopic=136622
  3172. * Minor cleanup/documentation on the script engine. [FlavioJS]
  3173. 2007/02/24
  3174. * Fixed the mob_override_name setting not working on summoned mobs.
  3175. * The server now prints an error message when it the produce_db reaches the
  3176. max number of allowed produce recipes.
  3177. * The NK value of the skill_db has been made a hexadecimal value, and
  3178. expanded to include more information about a skill's damage properties: 0x8
  3179. ignore caster's cards, 0x10 ignore element adjustments, 0x20 ignore
  3180. target's defense, 0x40 ignore target's flee. Note that magic attacks
  3181. always ignore flee, and misc attacks always ignore defense.
  3182. * Autoguard will no longer work on skills that don't take in card
  3183. adjustments
  3184. * utsusemi & bunsinjyutsu no longer work on skills that don't take in card
  3185. adjustments.
  3186. * Corrected damage of the NPC elemental attack skills, Blood Drain and
  3187. Energy Drain
  3188. * Adjusted menu-based skills so you can't reuse the same skill until you've
  3189. dealt with the menu.
  3190. * Adjust autospells so that removing an autospell works when the script of
  3191. the card that removes the autospell is triggered before the script that
  3192. adds the spell.
  3193. * The "requested name of gm-hidden char" warning will not be displayed when
  3194. the object in question is an NPC (since you can use Intravision to do
  3195. this).
  3196. * Venom Knife no longer takes into accounts cards or EDP.
  3197. 2007/02/23
  3198. * Guild expulsion now will fail when the character to be kicked is in a
  3199. guild castle (rather than checking for the character doing the expulsion)
  3200. * pk damage reduction settings now will take effect only on Player VS
  3201. player damage.
  3202. * Fixed produce_db2.txt entries overwriting produce_db.txt ones.
  3203. * Fixed item-granted/plagiarized skills unlocking skill trees when only
  3204. your real learned level should. [Skotlex]
  3205. 2007/02/21
  3206. * Applied a consistent look to all header files (copyright, ifdefs)
  3207. * Minor stuff (typos, socket.c, junk in login reply packet) [ultramage]
  3208. 2007/02/19
  3209. * Fixed @cartlist info message typo [Lupus]
  3210. 2007/02/17
  3211. * Fixed a typo from r9778, allowing non-gm chars to use /kill [ultramage]
  3212. 2007/02/16
  3213. * Fixed the structure of packet 0x6d (new char info). It's the same as the
  3214. one used for packet 0x6b (chars info). [FlavioJS]
  3215. * Updated script commands startnpctimer, stopnpctimer, initnpctimer so you
  3216. can attach a player to them, this is done because the attach/detach
  3217. functions can't be used to attach to a different script than the one
  3218. currently running.
  3219. * Updated the script_command reference with the new flag values of
  3220. [start/stop/init]npctimer.
  3221. * Modified the "guardian" spawn script command, it no longer receives a
  3222. "amount" argument (since that only leads to trouble), if the class is
  3223. negative, it'll pick a random class the same way the monster spawn script
  3224. command does, and if you pass a spawn position with coordinates equal or
  3225. less to 0, a random spot in the map will be taken. However you can't use
  3226. "this" as a map name anymore since these script commands do not need an
  3227. attached player.
  3228. * Guardian spawning will now fail if you attempt to spawn a guardian that
  3229. already exists on the same position.
  3230. * Miracle of the Sun, Moon and Stars can now retrigger to lenghten it's
  3231. effect, and it is cancelled on warp/map-change. [Skotlex]
  3232. 2007/02/15
  3233. * Reverted some of my mobdb code
  3234. * Cleaned up clif_party_info a bit
  3235. * Cleaned up set_reg (the same procedure as get_val) [ultramage]
  3236. * The default packet version is now 8. Clients from November2006 and before
  3237. can no longer get past the char-server unless you change it back to 7.
  3238. * Fixed Storm Gust counter freezing on fourth hit instead of third.
  3239. * Fixed @homstats not taking into consideration that the stat growth
  3240. decimals get discarded on level up (so the real minimum/maximum displayed
  3241. was off).
  3242. 2007/02/13
  3243. * Applied Rayce's dangling pointer fix when returning a temporary npc
  3244. string variable (those starting with .@)
  3245. * Required Weapon, ammo, and skill state are now only checked on begin
  3246. casting, instead of both on begin and end casting.
  3247. 2007/02/12
  3248. * Fixed Resurrect Homunculus and Wedding skills failing. [Skotlex]
  3249. * A bit more work on Ticket #41.
  3250. * Added 'r' (variable reference) to the script argument definitions.
  3251. * Added a simple define for suspitious actions. (empty at the moment)
  3252. * Added clif_clearcart and moved sending cart packets to pc_setoption.
  3253. * clif_parse_ChangeCart checking the player level. [FlavioJS]
  3254. * Fixed clif_parse_GMmessage cutting off messages randomly [ultramage]
  3255. (due to a typo in revision r9778)
  3256. * Fixed Wand of Hermod
  3257. * Corrected Spider Web casting around caster instead of target's position.
  3258. * Corrected a possible crash during login due to checking for the incorrect
  3259. variable (lets pc_calc_status be invoked when it shouldn't)
  3260. * Added bounds checking to map_foreachincell.
  3261. * Opt2 values (poison, blind, and so on) are now resent on warp/map-change.
  3262. * Corrected description of isloggedin script command. [Skotlex]
  3263. 2007/02/11
  3264. * Fixed the inverted behavior of display_skill_fail, caused by r9823
  3265. * Fixed @loadnpc not updating the script_event[] array
  3266. 2007/02/10
  3267. * Fixed clif_party_message using an incorrect buffer length [ultramage]
  3268. * Cosmetic changes to the buildin section of script.c (use defines for
  3269. function names/definitions). [FlavioJS]
  3270. 2007/02/09
  3271. * Updated the 'unit walk' to functions so they stop your attack if it's
  3272. possible to walk.
  3273. * Fixed char server SQL not sending the guild info update to other map
  3274. servers when a new member is added.
  3275. 2007/02/08
  3276. * Modified Spider Web so it can instantly retrap a target, rather than
  3277. idling on the ground waiting for a new target.
  3278. * Cleaned up some the rude-attacked code, being attacked while under spider
  3279. web now triggers rude-attacked. [Skotlex]
  3280. * Added code for SQL that will automatically detect the ping interval
  3281. at startup, and copy-pasted it around the code; removed the conf setting
  3282. * Added a missing null pointer check in clif_parse_globalmessage
  3283. * Fixed the new socket code, which was triggering the inactivity timeout
  3284. on the servers' listening sockets
  3285. * Fixed the TURBO code not working since r4468 (parse func never called)
  3286. 2007/02/07
  3287. * More aggressive cleaning up of the socket code [ultramage]
  3288. - removed unused session_data2 entry in sd
  3289. - added a new create_session() function, helps keep things cleaner
  3290. (although it's ad-hoc and not perfect, since this is C)
  3291. - undid r4978 since it was getting in the way (re-add it if you need it)
  3292. - added defines for the recv, send and parse func pointers
  3293. - added null functions for the three actions, and made create_session()
  3294. calls use those instead of NULL pointers; insignificant penalty and now:
  3295. - since all three funcs are always initialized, removed all those NULL checks
  3296. - removed the efd set, since as the people from the developernet forums
  3297. pointed out, it's only for out-of-band data and NOT for error checking
  3298. (in fact, select() bails out without giving any info if it errors out)
  3299. - reorganized the randomly placed socket.c contents somewhat
  3300. - it'll be a miracle if this works like it should ^^;
  3301. * Modified spider web so that the skill_unit_db flag restrictions may take
  3302. place. [Skotlex]
  3303. * Cleaning up of the socket code [ultramage]
  3304. - Shuffled includes around for files that were leeching off of socket.h
  3305. - Added code that enforces standard shutdown behavior for sockets
  3306. - Wiped out the poorly written parse code from r2211
  3307. * Removed old script bonuses bMatk, bMatk1, bMatk2.
  3308. * Fixed char-server not sending online notification when a party member
  3309. logs in.
  3310. * When skill range by distance is set, the distance checked for is now 5
  3311. cells rather than 3.
  3312. * Fixed bMatkRate bonuses not applying to status earned modifications to
  3313. int/matk. [Skotlex]
  3314. * Removed deprecated console code.
  3315. * Moved CHAT_SIZE back to map.h because log_atcommand uses it on sql
  3316. builds. (moved to clif.c in r9811) [FlavioJS]
  3317. 2007/02/06
  3318. * Cleaned up the script engine's get_val() function [ultramage]
  3319. - changed the long if-spaghetti into a compact switch statement
  3320. - changed its behavior so that it exits if !sd and it requires one
  3321. - upon exiting, it will now ensure that meaningful values get returned
  3322. (the old code had no qualms about returning random junk from memory
  3323. for integer queries, and crashing for string queries)
  3324. - removed many !sd checks since they are done at the beginning now
  3325. * Fixed #lvup having the gm level check backwards.
  3326. * Fixed the stormgust freeze counter going up even if the attack is
  3327. blocked/cancelled.
  3328. * Cleaned up homunc attack request parsing. Homunculus no longer goes into
  3329. auto-attack (ctrl+click) mode since the client does every attack request
  3330. individually.
  3331. * Fixed char-server not sending party status update when a member logs
  3332. on/off.
  3333. * Fixed crash when parsing guild member information change from the
  3334. char-server if the specified character is not found in the guild.
  3335. * Fixed MvP mobs giving exp when killed even if they shouldn't.
  3336. 2007/02/05
  3337. * Fixed @lvup, #lvup not doing a stat reset and lowering your status points
  3338. if you had 0 status points at that time.
  3339. * Fixed MvP exp and item rewards being given even when the mob_dead flag
  3340. specifies you should not receive exp or items.
  3341. * Updated the code so that now a range of a skill is determined by the
  3342. skill's range in the db. Now only skills with less than 5 cells of range
  3343. are melee.
  3344. * The inf2 parameter of the skill_db is now red as an hexadecimal.
  3345. * The super novice self-revive angel will now trigger only once per
  3346. session, if you relog you can have it trigger again. [Skotlex]
  3347. * Fixed the skill tree not always updating when using @allskill
  3348. * Probably fixed the target-change on melee attack setting not working.
  3349. * Moved the deletion of the invincible timer when using skills so that it
  3350. is not deleted for skills such as Ashura (when just selecting a target)
  3351. [Skotlex]
  3352. 2007/02/03
  3353. * Continuing the checking of script buildin functions and stop the script
  3354. execution when an attached player is required but not found.
  3355. This task will be referenced as Ticket #41 from now on. [FlavioJS]
  3356. * Updated the TXT login server's account id checker
  3357. (it was still saying the minimum is 700000 instead of 2000000)
  3358. * Changed the 'getpartyleader' script command so that it returns a map
  3359. name instead of the useless mapindex number. Also fixed it so that it
  3360. doesn't throw a 'args of aFree is not valid pointer' error.
  3361. (although I'm not at all sure that the fix is correct)
  3362. Ref: http://www.eathena.ws/board/index.php?showtopic=137274
  3363. * Removed the silly and misleading 'firewall detected' message
  3364. * Added missing vc6 project file
  3365. * Corrected a lie in the script documentation [ultramage]
  3366. 2007/02/02
  3367. * Fixed the flag parameter not working on npcshopattach.
  3368. * Updated the walk delay code so that it parses homunculus as well as
  3369. players. What this means is that a homunculus walk request won't go ignored
  3370. if it's issued during the 'can't walk delay' after being hit.
  3371. * Added a possible crash protection in clif_skillfail when the player is
  3372. without a connection. [Skotlex]
  3373. * Fine-tuned the global message processing function [ultramage]
  3374. - now detects access-out-of-rfifo attempts (idea from eA++)
  3375. - uses the new CHAT_SIZE define to restrict message lengths
  3376. - detects Frost Joke/Dazzler and gives them more freedom (from Freya)
  3377. - more strict non-conformant message detection
  3378. - logging every problem to the mapserver console
  3379. * Resetting skills will now automatically remove peco, falcon, cart and
  3380. homunculus (vaporize).
  3381. * Fixed random mob picking choosing clones.
  3382. * Fixed critical spots that could be exploited [Skotlex]
  3383. - The define MESSAGE_SIZE was wrong! It is only used for input boxes.
  3384. Therefore now it is only used for Vending, Talkie box and Graffiti
  3385. - Added new define CHAT_SIZE which holds the max length that a client
  3386. can send from the chat buffer
  3387. - Added define msg_len_check which crops incoming client text if it's
  3388. longer than CHAT_SIZE. Added cropping to all incoming messages except
  3389. normal chatting which is already accounted for.
  3390. - Removed variable talkie_mes, this is now handled by sd->message
  3391. - Cleaned up parser functions for /b /lb, gm kick, /shift, /recall
  3392. - Added crash protection to the logging functions when they receive
  3393. a too long string.
  3394. 2007/02/01
  3395. * Restricted global messages to 255 characters (client shows only ~80 anyway,
  3396. wanted to use 127 but frost joke's lines are longer than that ...)
  3397. - prevented using a ~22+kB long message to crash everyone on screen
  3398. - prevented faking the message length to cause an out-of-bounds access crash
  3399. - removed the unneccessary 'buf'ffer (inspiration from jAthena)
  3400. - Ref: http://www.eathena.ws/board/index.php?showtopic=137770
  3401. * Corrected the chat system to allow 8-letter passwords
  3402. * Minor details (pdb file location, improved debug, npc typo) [ultramage]
  3403. * Cleaned up the npcshop(add/del)item script commands, fixed a possible
  3404. dangling pointer crash caused by their improper use of realloc. They no
  3405. longer automatically attach the script to the shop, and they will return
  3406. true/false based on whether the shop was found or not.
  3407. * Added script command npcshopattach to enable attaching/detaching your
  3408. script from any npc shop.
  3409. * Updated doc/script_commands.txt with entries for npcshopitem,
  3410. npcshopadditem, npcshopdelitem and npcshopattach [Skotlex]
  3411. * A followup to r9761, a header include that somehow didn't commit [ultramage]
  3412. * Item search is now a bit smarter. When no item is found with the same
  3413. 'aegis name', then the 'normal' name is used instead.
  3414. * Updated the @/# commands that take an item name so that you can use
  3415. quotes when specifying item names with spaces in them. For example, @item
  3416. "poring card" 1 will work now. Note that only the commands that work on ONE
  3417. item have been updated, those that do an item list need to be updated as
  3418. well. [Skotlex]
  3419. * Updated the old vs6 files to latest, thanks to k3dt for contributing them
  3420. * Reorganized the vs6 project files (update will follow)
  3421. * Fixed an accidental change in r9758 (edit&continue) [ultramage]
  3422. * Added support for mob skill target 'randomtarget', when specified, it
  3423. will pick a random enemy from within the skill's cast range. [Skotlex]
  3424. * Added string function strnlen [ultramage]
  3425. - This thing is useful for removing potential out-of-bounds crashes.
  3426. Had to #ifdef it because some systems implement it, some don't provide
  3427. the header, and some don't have it at all. Adjust/improve as neccessary.
  3428. * Corrected homunculus's aspd being halved after using some aspd adjusting
  3429. skill.
  3430. * Removed the log info message 'created homunc...', and the 'loaded homunc'
  3431. message will only show if the save_log is enabled.
  3432. * When when a party-member levels up, the level change is sent to the
  3433. char-server to update the even-share range values.
  3434. * When joining a gvg_dungeon, the pvp packet will be sent to signal
  3435. versus. With this gvg dungeons should be working correctly now. [Skotlex]
  3436. 2007/01/31
  3437. * Changes in the VS8 project files: [FlavioJS]
  3438. - synchronized the settings between the projects
  3439. - joined all .h and .cpp files and grouped them based on the src subfolder
  3440. - added Debug/Release build targets that build txt/sql only
  3441. - other minor changes
  3442. * Removed graph, httpd and webserver
  3443. * Wiped out the old night code (use svn if you want it) [ultramage]
  3444. 2007/01/30
  3445. * 'Long Range Attacked' mob skill conditions will no longer trigger on
  3446. magic attacks.
  3447. * Corrected char deletion not working (column is called homun_id, not
  3448. hom_id...)
  3449. * Collapsed config settings produce_item_name_input,
  3450. produce_potion_name_input, making_arrow_name_input, holywater_name_input,
  3451. cdp_name_input into a single config produce_item_name_input which uses
  3452. bitmasks to determine what it affects.
  3453. * Updated arrow_decrement to have 3 possible values: Disabled, Enabled, and
  3454. Enabled + Autoguess (gives arrow consumption as appropiate to
  3455. plagiarized/acquired skills).
  3456. 2007/01/29
  3457. * Corrected the homunculus deletion functions so that the homunculus is
  3458. deleted together with the character.
  3459. * Added npc_check_areanpc so that Wand of Hermod will correctly check for
  3460. nearby warps.
  3461. * Emergency avoid now stacks with other speed boost statuses
  3462. * Item skills and skills that bring up a menu now are cleared on death.
  3463. [Skotlex]
  3464. * Added a nasty hack to prevent multilanguage clients from breaking guild notices
  3465. 2007/01/27
  3466. * Made @reloadscript wipe ALL previous mobs that the script engine spawned
  3467. - this way it is manageable via global vars; the other way doesn't allow that
  3468. * Some misc cleanups (typos, formatting, forgotten changelog entry etc)
  3469. * Reformatted and translated atcommand.c
  3470. - in the process improved @marry, allowing spaces after the first comma
  3471. * Simple cleanup
  3472. - removed atcommands @w, @server_date/time, @red, @happyhappyjoyjoy, @shuffle
  3473. - synced gm level of @jailfor, @charjailtime, @npcmove, @chardropall,
  3474. @charstoreall, @send, @mute, @changelook, @exp and @nuke
  3475. - added conf entries for @whozeny, @kamic, @tonpc, @petid, @identify, @adopt,
  3476. @trade, @changelook, @send
  3477. - reorganized the atcommand_athena.conf file a bit
  3478. * Corrected indentation of the atcommand table (editor compatibility)
  3479. * BEGIN atcommand cleanup process
  3480. (according to http://www.eathena.ws/board/index.php?showtopic=111996)
  3481. * Fixed a C language restriction preventing compilation [ultramage]
  3482. 2007/01/26
  3483. * Removed all those useless read-from-GRF features noone would ever use,
  3484. also removed cutincard script command as a consequence [DracoRPG]
  3485. - this is only the beginning of full grfio disparition from map-server
  3486. * Now assassins can equip arrows, and status arrows trigger on any ranged
  3487. physical attack: mimics Grimtooth + status arrow "Aegis bug" [DracoRPG]
  3488. * Added some random Storage Password packets thingies [DracoRPG]
  3489. * Kaite and Assumptio no longer stack. One will remove the other in the
  3490. same way Assumptio and Kyrie do.
  3491. * Made homunculus renaming go through the char-server so it can be
  3492. validated against the allowed characters setting.
  3493. * Added battle config hom_rename so you can enable renaming multiple times
  3494. your homunc.
  3495. * Fixed the normalizing function not sending first classes back to novice
  3496. if they do not have basic skill maxed.
  3497. * Added a wrapper to delete_timer so it prints out from where the
  3498. invocation was done.
  3499. * Fixed Splash attacks consuming 2 ammo on each attack. [Skotlex]
  3500. * Added some more freedom for the txt log paths since 32 wasn't enough
  3501. * Removed log_uptime that was accidentally introduced in r1208 [ultramage]
  3502. 2007/01/24
  3503. * Cleaned up some more the Joint Beat implementation, so the status don't
  3504. take effect until the attack connects. [Skotlex]
  3505. 2007/01/23
  3506. * Fixed int/dex foods using an incorrect icon for their status [ultramage]
  3507. * Changed the night status from 149 to 160, which seems to work so much
  3508. better, and also enabled simplifying the night code.
  3509. * A skill's walk delay will also delay your can-attack time when the skill
  3510. connects, since this is the behaviour of Sonic Blows as described by
  3511. Tharis.
  3512. * Added view_data support to mercenary.*, so that the Homunculus entries
  3513. are no longer required on the mob_db.
  3514. * Added the status icon to NPC_CHANGEUNDEAD and the Flee/Hit foods.
  3515. * Corrected the check that lets you walk when vending/chatting/etc.
  3516. 2007/01/22
  3517. * Reverted the battle_calc_return_damage code as the previous one was
  3518. correct, ninja self-targetted skills CAN be reflected. [Skotlex]
  3519. 2007/01/21
  3520. * Fixed while statements not "reserving" the curly before parsing the test
  3521. expression. [FlavioJS]
  3522. 2007/01/20
  3523. * Fixed some joker's code trying to dereference a null pointer
  3524. * Fixed the server not reacting properly to atcommands/charcommands when using
  3525. langtype 10/11 (the |XY codepage indicator wasn't being trimmed) [ultramage]
  3526. * Updated @homshuffle so that the skill tree and current skill points are
  3527. not messed up.
  3528. 2007/01/19
  3529. * Fixed the label dup code, it now works correctly with const.txt switch
  3530. labels.
  3531. * Reverted the dup-label check code since it has a bug that needs to be
  3532. fixed first (it fails to recognize const.txt values) [Skotlex]
  3533. * Fixed a client crash during SQL char selection if you for some reason had
  3534. more than 9 characters in your account (thanks to Daegaladh) [ultramage]
  3535. - note that the TXT version already guards against this since long ago
  3536. * Merged Rayce's cleanups of the script engine that account for duplicate
  3537. labels, non-numeric labels and makes the engine case-insensitive towards
  3538. keywords like if/case/switch/etc/
  3539. * Added the icons for the Food boosts (need packet version 8 to get them,
  3540. as these icons will just display Gloria, or crash you, when used on older
  3541. clients).
  3542. 2007/01/18
  3543. * Modified the Storm Gust freeze counter code. It now takes into
  3544. consideration the ID of the skill before increasing the counter, which
  3545. should effectively yield the closest aproximation to official (even though
  3546. the counter will reset if you step out of a SG and into another one, we do
  3547. not know yet what should happen in such a case).
  3548. * Added @homshuffle. It recalculates the homunculus stats, as if the homunc
  3549. was sent back to level 1, and then releveled. This command is mean to help
  3550. fix those previously created Homunculus that are much stronger than they
  3551. should be.
  3552. * Fixed overflow on the mob delay adjustment setting.
  3553. * Fixed characters being unable to trade again if you attempt a trade on
  3554. someone who is on storage/npc when you accept the trade. [Skotlex]
  3555. * Fixed a crash when a castle from [0..MAX-1] wasn't in the db [ultramage]
  3556. 2007/01/17
  3557. * Corrected atcommand @homstats so it shows the correct minimum/maximum
  3558. possible values.
  3559. * Simplified the hom level up function, now decimal stats are no longer
  3560. stored. This should correct eA's homunculus on average being much stronger
  3561. than Aegis's.
  3562. * Cleaned up pc_allskillup, @allskills should work correctly now.
  3563. 2007/01/16
  3564. * Added atcommand @homstats so you can check your homunculus stats and
  3565. compare them to the minimum/maximum values that you could have at your
  3566. current level. This command is meant to help figure out if homuncs are
  3567. indeed getting a faster stat growth than they should have.
  3568. * Fixed the next invoked skill after AbraCadabra not having requirements
  3569. even when it is a different skill than the one chosen by AbraCadabra.
  3570. * Implemented Intravision as it should be. Thanks to HelloKitty2 for the
  3571. captured packets.
  3572. * Some cleaning on the mob_ai to enable mobs to run away from their current
  3573. target when they are rude-attacked by them.
  3574. 2007/01/15
  3575. * The NPC elemental attacks will display a skill animation again.
  3576. * Mob instant cast skills will use their adelay now.
  3577. * Spirit of Wizard won't work on Ganbantein
  3578. * The pc normalize job function will consider you as novice if you don't
  3579. have maxed out basic skill.
  3580. * Cleaned up pc_calc_skilltree and related functions so that the id is left
  3581. as 0 when you can't raise the skill even if you meet the prerequisites.
  3582. This is to prevent raising quest/soul/marriage skills through packets.
  3583. * Slaves should lock unto their master's target even if they are not
  3584. attacking yet (eg: in chase mode)
  3585. * Updated the Summon Slave skill to use the slave distance define as valid
  3586. distance to spawn from master.
  3587. * Fixed Joint Beat's speed penalty.
  3588. * Added a pc_authok check to prevent the case in which somehow another
  3589. character of the same account manages to log in as well.
  3590. * The pc normalize job function will now recognize you as a novice if you
  3591. don't have NV_BASIC maxed.
  3592. * Accessories will now by default go into the rigth-side rather than the
  3593. left-side of the equip window.
  3594. * Added a check in the mob_ai_subhard function to make mobs unlock targets
  3595. which have their invincible timer set.
  3596. * Probably fixed the registration flood protection code being broken.
  3597. * Joint Break should only re-start the bleeding timer when it currently IS
  3598. the one that causes bleeding. [Skotlex]
  3599. 2007/01/12
  3600. * Cleaned up the ip rules/DDoS section of the code. (the allow,deny and
  3601. deny,allow cases were switched)
  3602. * Fixed autotrading characters not being able to reconnect. Seams like I
  3603. misunderstood how id_db and pc_db are used. [FlavioJS]
  3604. 2007/01/11
  3605. * Fixed the script engine not parsing strings in multibyte charsets
  3606. correctly (should have been done in r9532).
  3607. * Console plugin working when built as Windows native. [FlavioJS]
  3608. 2007/01/10
  3609. * Combined most of the txt/sql mobdb reading code [ultramage]
  3610. - mob.c is now some 10kB less redundant (now using a common function)
  3611. - automatically filled in some missing parts of the txt part
  3612. (view_range_rate, chase_range_rate, line counting, etc)
  3613. - also cleaned it up significantly
  3614. 2007/01/09
  3615. * Changes to script buildin functions: [FlavioJS]
  3616. - functions checking if a player is attached as soon as possible.
  3617. - functions that required a player attached and would crash if none was
  3618. there terminate the script now. (others keep the current behaviour to
  3619. maintain full backward compatibility)
  3620. - removed the unused flag argument in guildskill.
  3621. - bonus,bonus2,bonus3,bonus4 use the same function now (remains the same
  3622. script-wise)
  3623. - added an optional parameter to setcart,setfalcon,setriding so it's
  3624. possible to remove the cart/falcon/mount or select a specific cart
  3625. - other cleanups
  3626. 2007/01/08
  3627. * Hotfix: Freeing of freed pointer when replacing script functions. [Lance]
  3628. * Unimportant cleanups
  3629. * Moved the plugin.def file to the plugins dir and added console.def
  3630. * Found the reason why the console didn't want to run on windows
  3631. (Microsoft uses !0 and unix uses 0 in pipe_create)
  3632. * Commented out a login_log call (sql doesn't implement that function!)
  3633. * Fixed an old debug message displaying %d instead of a number
  3634. * Silenced the plugin export messages during startup [ultramage]
  3635. * Added a precompiler error when the shutdown defines are not found.
  3636. * Added parse_console to the plugin API.
  3637. * Added plugin for parsing the console. (working with cygwin)
  3638. * Copied the parse_console code form login txt to login sql and char.
  3639. * Added proper plugin version compatibility tests.
  3640. * Better output when a plugin fails to load. [FlavioJS]
  3641. 2007/01/07
  3642. * Fixed the sleep timers not being removed when the an npc was being
  3643. unloaded and when reloading scripts. [FlavioJS]
  3644. * Updated the documentation to match the agitcheck() behavior
  3645. * Undid the memset->malloc_set replacement
  3646. (let's be compatible and leave such optimizations to system devs, ok?)
  3647. * Small reformatting of conf-tmpl
  3648. * Renamed atcommand_sub to is_atcommand_sub (charcommand too)
  3649. * Re-added the duplicit nj/gs name messages in msg_athena [ultramage]
  3650. (the code was using those and they look better in that position)
  3651. 2007/01/06
  3652. * Now winsock 2 is required.
  3653. * Cleaned up do_close and socket_init a bit.
  3654. * Fixed the weight icon dissapearing and reappearing when attacking.
  3655. (introduced by me at r9600, fix based on ultramage's code) [FlavioJS]
  3656. 2007/01/05
  3657. * Also discarded some veeery old utils code that has got equivalents
  3658. in the std libs (and therefore is silently causing a nasty collision).
  3659. * Major reconfiguration of the VS8 project files. [ultramage]
  3660. - Removed the migration binding to a VS71 template.
  3661. - Disabled the setting that defines char -> unsigned char (non-conformant).
  3662. - Switched all projects to use the common C runtime library DLL
  3663. instead of linking the static version to each exe.
  3664. - Enabled edit&continue on the TXT version (SQL already had it).
  3665. - Reconfigured the linker to use only the really required dependencies.
  3666. - Enabled full optimization and whole program optimization,
  3667. with additional speed-improving settings for the release build.
  3668. - Set the compiler/linker to produce detailed debug information even for release builds
  3669. (no performance penalty because the debug info is stored in a separate .pdb file!).
  3670. - I tested all 4 build combinations and it works for me, and it should work for you.
  3671. - There is still one very useful thing missing - setting the working dir to '..'.
  3672. I don't know how to do that, tho' since VS stores it in a separate user file.
  3673. 2007/01/04
  3674. * Fixed old @go bug (it ignored einbech) [Lupus]
  3675. * Added Au{R}oN's updated version of the effect list.
  3676. * Completed adding of the new cities to @go.
  3677. > that function is ugly and needs a complete rewrite, asap.
  3678. * Updated thor volcano warps.
  3679. * Updated /doc from jAthena. [ultramage]
  3680. 2007/01/03
  3681. * Added Rachel and Veins to the list of @go destinations.
  3682. * Added a first approximation of warps for the new maps (by $ephiroth).
  3683. * Now the server will by default perform symmetric adding of friends. [ultramage]
  3684. > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749)
  3685. * Fixed TURBO FIFO defines.
  3686. * Moved refusal of a known packet versions to clif_parse_WantToConnection
  3687. and made it check for non-player object with that id.
  3688. * JK_JOINTBEAT as described in:
  3689. http://www.ragnainfo.net/wiki/index.php/Vital_Strike
  3690. Although not clear, it's being assumed that the 2x damage is only for the
  3691. break neck ailment. [FlavioJS]
  3692. * Modified the useless error message in atcommand_effect.
  3693. * Silenced the debug message in socket.c that's been freaking people out.
  3694. * Added support for text/comments at the end of monster spawn lines (<tab> required)
  3695. * Added the official behavior of monsters regaining full hp when they morph.
  3696. > info at http://www.eathena.ws/board/index.php?showtopic=130103
  3697. * Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements for soullinked skills.
  3698. > TODOs at http://www.eathena.ws/board/index.php?showtopic=130788
  3699. * Re-applied change r9593 that got accidentally reverted by r9595. [ultramage]
  3700. 2007/01/02
  3701. * Fixed SC_JOINTBEAT not doing crit damage for the Neck Break ailment.
  3702. * Gospel sends the buff message to the affected player. [FlavioJS]
  3703. 2006/12/31
  3704. * Made HSCR bypass both Guard and Shield Reflect using the dirty way [DracoRPG]
  3705. > cleaner way would need to rethink the whole skill's implementation
  3706. * Added more info when npc_scriptcont tries to continue a different script.
  3707. * Refer to http://www.eathena.ws/board/index.php?showtopic=130285
  3708. - Renamed pc_checkweighticon to pc_updateweightstatus and cleaned it.
  3709. - Updated pc_is50overweight to use battle_config.natural_heal_weight_rate.
  3710. - Added 90% weight check when attacking.
  3711. * Updated getitem and guardian entries in script_commands.txt.
  3712. * Fixed getitem trying to get <character ID> from the wrong argument.
  3713. * Now getitem can be run on scripts without a player attached if
  3714. <character ID> is specified.
  3715. * Now the two last arguments of guardian are optional and independant of
  3716. each other ("<event label>" and <guardian index>). This way the previous
  3717. implementation and script_commands definition are still valid code.
  3718. * Now buildin function names and argument definitions are checked for
  3719. validity before adding the function to the script engine.
  3720. Argument definitions follow the pattern: (v|s|i|l)*\?*\*? [FlavioJS]
  3721. 2006/12/30
  3722. * Reverted the packet structure changes to mmo_char_send006b in r9588 (was
  3723. using the wrong exe for the final tests) except for the bug that I was
  3724. originally fixing. [FlavioJS]
  3725. 2006/12/29
  3726. * Skill use is now cancelled when you use it while cloaking, and the
  3727. uncloaking process warps you. [Skotlex]
  3728. 2006/12/28
  3729. * Reapplied Skotlex's socket.c changes from r9587 and r9582. :S
  3730. * Part 3 of TheUltraMage's socket cleanup.
  3731. * Fixed the packet structure in mmo_char_send006b for PACKETVER 8.
  3732. * Removed search_str from add_str (add_str already searches for the
  3733. string).
  3734. * Native script words like do,while,for,... are case insensitive now.
  3735. * Changed SCRIPT_HASH_SIZE to 1021 (prime hash sizes give better
  3736. distributions).
  3737. * Added alternative hash implementations to the script engine (to try out
  3738. later). [FlavioJS]
  3739. * Added a func_parse invocation when an invalid socket is found, so that
  3740. the underlying code (char/map/login) can handle it and free any related
  3741. resources.
  3742. * Added some skill effect packets so it displays a generic effect for
  3743. unknown targetted skills.
  3744. * Some cleaning in do_sendrecv, added error messages when handling an
  3745. incorrect socket. [Skotlex]
  3746. 2006/12/27
  3747. * Fixed Super Novice 99%+ invincibility triggering when
  3748. the character dies in a GvG area. [blackhole89]
  3749. * Updated SQL Files [Toms]
  3750. * Fixed a bug which makes the group heal bonus be applied as many times as
  3751. the item is in that group.
  3752. * Applied Rayce's suggestion to improve the script hash size usage. eA now
  3753. uses a hash of 1024.
  3754. * Full Buster's auto-blind chance is now reducable by stats/items.
  3755. 2006/12/26
  3756. * Updated Charge Attack's damage equation as per the only source I've seen
  3757. of it so far.
  3758. * Now Guardians/Emperium can't hit /be hit if their current map isn't a
  3759. gvg_castle or woe is off. This enables "localized" WoE by removing/setting
  3760. the mapflag gvg_castle on the castles where you want WoE to take effect
  3761. (note that even though normal players can't be hit on non gvg_castle maps,
  3762. normal mobs can still be killed in such maps, you'd still need to modify
  3763. the WoE scripts to use this kind of feature)
  3764. * TK_MISSION will now pick any mob from the DB as long as it is not a boss
  3765. type and it gives base exp.
  3766. * Fixed the double-stone issue when hitting a petrified character.
  3767. [Skotlex]
  3768. 2006/12/25
  3769. * Fixed buildin_getscrate, thanks Trancid.
  3770. * Applied part 1 of TheUltraMage's socket cleanup.
  3771. "Basically what I did was perform simple one-liner substitutions for
  3772. ugly repetitive blocks of code. The most apparent are the send/recv
  3773. code and the other basic socket calls."
  3774. * flush_fifo is non-blocking now. I guess best effort is good enough...
  3775. * Copied header files from vcproj-7.1 files to vcproj-8 files.
  3776. * Applied the rest of Rayce's suggestions and fixes
  3777. (http://www.eathena.ws/board/index.php?showtopic=129185)
  3778. * warn_cmd_no_comma, warn_func_no_comma, warn_cmd_mismatch_paramnum are
  3779. now warn_func_mismatch_paramnum and it only prevents showing the error,
  3780. as it was probably intended in the first place. (correct me if i'm wrong)
  3781. * Merged the parsing of function calls in the script engine, removing the
  3782. parse_cmd hackery, and made "heal (.@val+rand(0xff))&0xff,0;" valid
  3783. again. [FlavioJS]
  3784. 2006/12/24
  3785. * Small fix for changeset 9539 (support for PACKETVER above 7) [KarLaeda]
  3786. 2006/12/23
  3787. * Fallback for parenthesis argument lists in the script engine.
  3788. "func (exp) , ..." is valid again.
  3789. * Moved "#include <limits.h>" to cbasetypes.h to ensure it's included
  3790. before checking if UINT_MAX has been defined.
  3791. * Minor changes in pc_readdb related to max_level being unsigned.
  3792. [FlavioJS]
  3793. 2006/12/22
  3794. * Simplified function agitcheck so it isn't crash prone. Now it takes no
  3795. arguments, and will return whether WoE is on or not.
  3796. * Now when you specify a max level beyond what the exp table has, the last
  3797. entry of the exp table will be duplicated to fill in the remaining levels.
  3798. [Skotlex]
  3799. * Change strncpy to memcpy when parsing switches in the script engine
  3800. since it's guaranteed to be a word of that size (skip_word).
  3801. * Made scriptlabel_db duplicate the key. When str_buf is reallocated, the
  3802. keys in scriptlabel_db could become invalid, causing a crash in
  3803. npc_convertlabel_db.
  3804. * Now npc_convertlabel_db clears scriptlabel_db after using it.
  3805. * parse_script has an extra parameter options. At the moment it only
  3806. indicates if scriptlabel_db should be used or not.
  3807. * Fixed "UINT_MAX undeclared" on systems that don't declare it in limits.h
  3808. [FlavioJS]
  3809. 2006/12/21
  3810. * Applied Rayce's suggestions and fixes to the script engine
  3811. (http://www.eathena.ws/board/index.php?showtopic=129185)
  3812. * Some cleaning to the character deletion code.
  3813. * Changed a certain snprintf to strncpy, which should fix the problems with
  3814. parsing switches in the script engine.
  3815. * Added back cropping the attack delay to attack motion for those weird mobs
  3816. that have a aDelay less than their aMotion time. [Skotlex]
  3817. * Added a 1-node cache to db. Removed party_cache and guild_cache since
  3818. now the database has a cache.
  3819. * Fixed "warning: comparison is always false due to limited range of data type"
  3820. by restricting script words to ASCII characters only.
  3821. * Moved md5calc to common. [FlavioJS]
  3822. 2006/12/20
  3823. * Fixed ISSPACE and ISALPHA casting their returned value to a char, which
  3824. can really mess up the scripting engine when the returned value is true,
  3825. yet casted to false.
  3826. * Moved the strip unequip code to before deleting the timer, this fixes
  3827. trying to "re-strip" someone causing the skill to fail and on top of that
  3828. terminate their current strip effect.
  3829. * Reading of TK Mission variables will now happen if you are a TK-class
  3830. character regardless of whether you know TK_MISSION or not. Should fix
  3831. being able to reset skills to reset your Mission data.
  3832. * Added an ugly work around to the issue of skills with additional effect
  3833. causing opt1 status when they have just terminated them (in short, you
  3834. shouldn't be able to hit someone with, say, sleep, and then have the same
  3835. skill cause them stun, since both are opt1 values). [Skotlex]
  3836. * Now root script functions calls can have parenthesis (will take any
  3837. parenthesis after the function as the start of the argument list).
  3838. - This means "func (exp),exp;" isn't valid anymore.
  3839. * Replaced our fix for "mes ();" crashing by jA's version.
  3840. * Merged the fix for & having the same precedence as << and >> from jA.
  3841. * Merged the C_OP3 operator from jA: test ? if_true : if_false
  3842. * Changed the script source from unsigned char* to const char*.
  3843. * Updated plugins Makefile. [FlavioJS]
  3844. 2006/12/19
  3845. * Reverted the mob ThinkTime update, that field is again aDelay as it
  3846. apparently should be. [Skotlex]
  3847. * Cleanups or minor changes.
  3848. * Now addtick_timer invokes settick_timer, so keep an eye for whatever
  3849. timer issues it's supposed to have.
  3850. * Removed the flush_fifo from clif_parse_TickSend until the socket
  3851. problems are fixed. [FlavioJS]
  3852. 2006/12/18
  3853. * Updated POS2 macros. The 6th byte is subx0 and suby0. [FlavioJS]
  3854. * Added hom_setting to specify which homunculus 'quirks' are in effect. The
  3855. default activates all of them, if you set them to 0 then homuncs will not
  3856. be treated in any special matter, pretty much like standard mobs. if I
  3857. missed any 'quirky' homunc behaviour from it, report it so it can be added
  3858. to the list.
  3859. * Made flooritem_lifetime a int so you can specify much longer life times
  3860. (the default of 60k was already very close to the max of 65k)
  3861. * Removed monster_ai 0x80 since it's now handled by hom_setting.
  3862. * When walking into a Guild Dungeon your pvp_points will be set to 5 so you
  3863. have to die twice before being warped out.
  3864. * If jobchanging while disguised, the disguise will be removed, since it
  3865. can't be kept and still calculate correctly the new job class to use.
  3866. * Fuuma shurikens are now unbreakable code-wise (like all maces, books,
  3867. etc)
  3868. * Applied Meruru's patch to increase speed of easy path seeks. [Skotlex]
  3869. * Cosmetic changes to db.
  3870. * Fixed the unused MAPINDEX_AUTOADD section in mapindex.c (mapindex.h
  3871. wasn't being included) [FlavioJS]
  3872. 2006/12/16
  3873. * Moved packet_len_table values to packet_db[SERVER].
  3874. * When an invalid packet_ver is found, all it's entries are discarted
  3875. intead of just stopping the parsing.
  3876. * Increased MAX_PACKET_DB to 0x300 and added a warning for when packet ids
  3877. greater than MAX_PACKET_DB are found. [FlavioJS]
  3878. 2006/12/15
  3879. * There will be now warnings printed when a shop sells an item which's buy
  3880. price is 20z, since those usually are "rare" items with no buyying price
  3881. set. Note that this reports one fake, and that is the selling of a certain
  3882. shuriken that indeed costs 20z.
  3883. * Most likely fixed client crash when xmas/wedding status runs out.
  3884. 2006/12/14
  3885. * Removed "mobs being enemies of each other all the time" because, even
  3886. though mobs can hit each other as they should, they will refuse to use
  3887. support skills on enemies, which breaks several of their skills. Mobs can't
  3888. both help and attack someone tagged as enemy!
  3889. (I guess eA is just too smart to emulate Aegis's sloppy coding)
  3890. * Cleaned up the strip code (GS_DISARM, rogue skills).
  3891. * Cleaned some the MD_DETECTOR code.
  3892. 2006/12/13
  3893. * Additional damage bonuses (True Sight, EDP, Assassin Link, Crusader Link,
  3894. Card skill damage bonuses) are now applied independently of each other,
  3895. which lets them stack. [Skotlex]
  3896. * Modified flush_fifo so the code do what is written in the comment [Toms]
  3897. * Modified flush_fifo so you can decide whether to block the current thread
  3898. or not until the data is sent. The server-tick reply no longer blocks the
  3899. current thread.
  3900. * Fixed mobs being unable to attack anything...
  3901. 2006/12/12
  3902. * Reverted the knockback update since it isn't working right with all
  3903. skills.
  3904. * Mobs now by default are "everyone's" enemy, so mobs are able to hit each another.
  3905. * Moved "unsetting" the angry mode from the mob_ai to the mob_damage
  3906. function, where it'll work regardless of who hits the mob.
  3907. * Modifed a bit the clif_change_look function, it should fix crashes with
  3908. the Xmas sprite when changing maps.
  3909. * Fixed skills displaying a 32k damage when used while disguised. [Skotlex]
  3910. * Minor changes to ers.
  3911. * Removed unused/hardly used cbasetypes typedefs.
  3912. * Updated txt-converter's makefile to include utils.o [FlavioJS]
  3913. * Updated npc_event_dequeue to free up your current npc information, and
  3914. not just the npc_id.
  3915. * Modified the skill damage packet and the knockback packets to mimic aegis
  3916. sent packets for such skills.
  3917. * Removed CART_MASK as OPTION_CART can take care of that.
  3918. * Moved the OPTION_MASK define to status.h
  3919. * Reverted the knockback implementation to use clif_slide instead of
  3920. clif_fixpos [Skotlex]
  3921. 2006/12/11
  3922. * Added various missing checks when parsing several guild actions.
  3923. * made @hominfo display the six basic stats.
  3924. * Simplified the MD_DETECTOR checks, since now all insects/demons have it
  3925. set, and it's no longer needed to check for the race. [Skotlex]
  3926. * Updated sql files [Playtester]
  3927. * Spirit of Sin and Enchant Deadly Poison now stack.
  3928. * Fixed skill damage card bonuses not working on magic skills.
  3929. * Moved the setting of sd->npc_id = 0 in npc_dequeue to the beginning,
  3930. since this function is called when a script is cancelled
  3931. * Made homunc's speed be recalculated when you respawn it from rest state.
  3932. [Skotlex]
  3933. * Fixed @revive not reviving the good char [Toms]
  3934. 2006/12/10
  3935. * Added more helpful messages when packet_ver=-1.
  3936. * Joined normal and MINICORE's main function.
  3937. * Put malloc_init() first and malloc_final() last as it's needed for Show*
  3938. in display_title(). [FlavioJS]
  3939. 2006/12/09
  3940. * Reversed revision #9415 (messages with server_tick field being sent as
  3941. soon as possible) since it didn't fix the client synchronization issue.
  3942. * clif_parse_TickSend is sent immediately so the client gets accurate
  3943. "pings". [FlavioJS]
  3944. 2006/12/08
  3945. * Now you can request a trade regardless of the state of the target trader.
  3946. [Skotlex]
  3947. * The trade will now fail when you accept it and either character is
  3948. speaking with an npc, vending or has the storage open. [Skotlex]
  3949. * Fixed crash when looters became full. [Skotlex]
  3950. * Autospell delay time is now the skill's full delay. [Skotlex]
  3951. 2006/12/07
  3952. * Fixed ladmin's linux compilation and moved some platform specific
  3953. defines to cbasetypes.h [FlavioJS]
  3954. * Cleaned up implementation of NPC_EMOTION/NPC_EMOTION_ON. Now val0 is the
  3955. emotion, val1 sets the mode, val2 adds to the mode, val3 removes from the
  3956. mode. val4 asks to remove the previous mode change, otherwise it will stack
  3957. with the changes from the previous skill call. [Skotlex]
  3958. * Updated the mob skill reading code so it accepts hexadecimals in the
  3959. 'val' fields. Also, it will optimize the NPC values so that when you set a
  3960. mob's mode to their db mode, it will just remove the previous mode.
  3961. [Skotlex]
  3962. * NPC_EMOTION_ON will now automatically move it's new mode to val2 since it
  3963. should add a mode, and if this mode doesn't has the aggressive bit, it will
  3964. remove it. See this "ancient" hypothesis on how NPC_EMOTION_ON should work
  3965. for the details: [Skotlex]
  3966. http://www.eathena.ws/board/index.php?showtopic=63606
  3967. * Fixed npc commands atcommand & charcommand not working with a custom
  3968. command_symbol [Toms]
  3969. 2006/12/06
  3970. * Changed the order of view-change packets for SC xmas/wedding, should fix
  3971. crashing if you change into xmas suit while in fighting stance. [Skotlex]
  3972. * Renamed the mob mode Cast-Sensor Melee to Cast-Sensor idle since these
  3973. mobs really should only be cast-sensing when they are not after another
  3974. target. [Skotlex]
  3975. * Added a Aegis Mob Type -> eA Mode table conversion to the mob modes doc.
  3976. [Skotlex]
  3977. * Updated sql-files [Playtester]
  3978. * Gave a minimum think time to the dummy mob and to clones. [Skotlex]
  3979. * Moved setting a mob's chase/attack states from the mob_ai to unit_attack
  3980. and unit_walktobl for better state-handling precision. [Skotlex]
  3981. * Cleaned the change-target/cast-sensor code to account for the new mob
  3982. modes. [Skotlex]
  3983. * Updated the doc explaining mob modes. [Skotlex]
  3984. * When GM skill unconditional is set, the arrow state of the skill will be
  3985. calculated, this fixes all skills getting stuck on arrow-type after you
  3986. attack normally. [Skotlex]
  3987. * Alchemist famous potions get their 50% bonus on top of the natural
  3988. bonuses as a 1.5x type of bonus. In other words, now alchemist potions
  3989. will really heal 50% more than when you use the non-famous potion
  3990. version.
  3991. [Skotlex]
  3992. * Messages with server_tick field are sent as soon as possible now.
  3993. This might fix client synchronization issues.
  3994. * Added StringBuf_Vprintf to utils.c and changed the showmsg.c buffer.
  3995. Now it uses a static buffer and a StringBuf when needed (a debug message
  3996. indicating the static buffer needs to be increased is shown). [FlavioJS]
  3997. 2006/12/05
  3998. * The can log value now is "reset" when you die allowing you to
  3999. respawn/quit instantly after death. [Skotlex]
  4000. * Fixed sc data load failing when using charsave_method: 1 [Skotlex]
  4001. * Fixed the interserver link reserve size being 8 times instead of 1/8th
  4002. the default size. Changed it to be 1/4th as well. [Skotlex]
  4003. * Found the position of emblem_id in packet 1b6.
  4004. * Moved START_ACCOUNT_NUM and END_ACCOUNT_NUM from login.h to mmo.h and
  4005. changed clif_guess_PacketVer to use that.
  4006. * Made the script engine big-endian compatible.
  4007. * Commented out the remnants of ladmin packet parsing in map-server.
  4008. * Added a warning when a player has an invalid packet version (shouldn't
  4009. happen). [FlavioJS]
  4010. 2006/12/04
  4011. * Fixed HVAN_INSTRUCT int bonuses. [Skotlex]
  4012. * Renamed mob_db's "adelay" column to ThinkTime and made the mob.c code use
  4013. it instead of MIN_MOBTHINKTIME. The adelay of mobs will also be equal to
  4014. their thinktime unless their thinktime is less than their attack motion.
  4015. [Skotlex]
  4016. * Added a static +100 Hp to ninjas and gunslingers since it's required for
  4017. the best approximated hp growth algorythm. [Skotlex]
  4018. * Knockback will again use the fixpos packet instead of the slide packet
  4019. (slide was introduced with high jump) since Aegis captures say that packet
  4020. is still used for knockbacks. [Skotlex]
  4021. * Repairing items via scripts no longer displays "item has been repaired"
  4022. [Skotlex]
  4023. * Status Recovery again makes mobs unlock their current target. [Skotlex]
  4024. * Moved requesting party/guilds from the char-server from pc_authok to
  4025. pc_reg_received, since map_nick2sd and map_getallsd won't work until the
  4026. characters are authentified. Also removed the guild master setting from
  4027. clif_parse_LoadEndAck to pc_reg_received since guild master setting will
  4028. work there. [Skotlex]
  4029. * Fixed homun hunger timer being started on login even when hom is
  4030. vaporized/dead. [Skotlex]
  4031. * Fixed mvp exp attacker bonus applying incorrectly. [Skotlex]
  4032. * Removed duplicate msg_athena.conf entries 619 and 620 for
  4033. Ninja/Gunslinger.[Skotlex]
  4034. * Fixed the txt->sql converter not escaping character names before saving
  4035. them. [Skotlex]
  4036. * Fixed a pet's level not resetting to their db level when you enable pet
  4037. leveling and later on decide to turn it off. [Skotlex]
  4038. * Fixed restricted equipment not updating your view info after they are
  4039. unequipped. [Skotlex]
  4040. * Removed a bunch of extra text/checks when ignoring characters (/ex) when
  4041. Aegis does none of these checks. /inall now wipes your ignore list (it does
  4042. this on Aegis, too). [Skotlex]
  4043. 2006/12/03
  4044. * If somehow a player logs out and it's saved with 0 hp, on login his state
  4045. will be set to dead as well so he can respawn (otherwise that leads to a
  4046. stuck char) [Skotlex]
  4047. * Fixed even share exp flutuating as described in:
  4048. http://www.eathena.ws/board/index.php?showtopic=126139
  4049. thanks to TheUltraMague for the fix.
  4050. * Made ers double frees report as missing entries on destruction.
  4051. * Only one swap function (in cbasetypes.h) is used. [FlavioJS]
  4052. 2006/12/02
  4053. * Added buildin_checkvending and buildin_checkchatting. [Lance]
  4054. * Enabled atcommand parsing for clients with Korean langtype and version. [Lance]
  4055. * Added missing min/max definitions to cbasetypes.h, needed for the @send change.
  4056. * Replaced @send with the version I use for testing packets.
  4057. Can display the packet length. Supports dynamic packets, quoted strings
  4058. with escaped characters and fixed/variable length, and normal/hex
  4059. byte/word/long data types. The number of fields is not limited, but it
  4060. automatically stops parsing when the packet is full. [FlavioJS]
  4061. 2006/12/01
  4062. * Fixed passive mobs becoming increasingly unlikely to retaliate to attacks
  4063. after they got inflicted by a disabling status change. [Skotlex]
  4064. * Changed the "is_boss" define to check for mode MD_BOSS instead of giving
  4065. mvp exp. [Skotlex]
  4066. * Updated sql files [Playtester]
  4067. * Fixed txt-converter compilation. [Skotlex]
  4068. * STRECOVERYno longer makes a mob unlock it's target like Cure does.
  4069. [Skotlex]
  4070. * Fixed GS_GROUNDDRIFT consuming ammo when it's time expires (so it was
  4071. consuming 2 grenades instead of one). Also added a "explosion effect" when
  4072. their time runs out. [Skotlex]
  4073. * gvg_dungeon mapflag won't set pvp related mapflags anymore, pc_dead will
  4074. force pvp ranking gain/loss on gvg_dungeon maps now. [Skotlex]
  4075. * Now when coming out of hiding land-effects will trigger on the character.
  4076. [Skotlex]
  4077. * Fixed land effects not taking effect inmediately on map-load when the
  4078. invincible timer is disabled. [Skotlex]
  4079. 2006/11/29
  4080. * Probably fixed the Segmentation Faults we've been having.
  4081. Description: A player quits and it's session is freed and set to NULL,
  4082. but the char server already sent a packet with player information
  4083. (registers, storage, ...). If a message is sent in consequence of
  4084. updating that info, a segmentation fault happens because
  4085. session[sd->fd] is already NULL.
  4086. Fix: make shure the session of the target player is valid before
  4087. processing the rest of the char server's message.
  4088. * Some minor cleanups. [FlavioJS]
  4089. * Fixed the new npc parsing code not accounting for windows-style line
  4090. terminators, which as a side effect messed up mapflag parsing if the file
  4091. had windows-style terminators, which coincidentally was the case for the
  4092. nopvp file, which unfortunately meant that all towns became pvp! [Skotlex]
  4093. * HT_PHANTASMIC no longer knocks back even when it misses. [Skotlex]
  4094. * Earned exp by dead homuns will now be lost (same treatment as earned exp
  4095. from players that died) [Skotlex]
  4096. * Now gvg_dungeon mapflag will activate the other mapflags which are
  4097. required: pvp, pvp_nocalcrank and pvp_noparty/pvp_noguild (they are forced
  4098. to off if gvg_dungeon is on and viceversa) [Skotlex]
  4099. * Cleaned the pvp ranking code so that it takes effect even if
  4100. pvp_nocalcrank is active WHEN the map is a gvg_dungeon one. [Skotlex]
  4101. * Now homuncs and their masters are the only ones who can use support
  4102. skills on them. [Skotlex]
  4103. * Some cleaning on the homunc speed calculating code, so that it correctly
  4104. uses the default walk speed if the player has no speed yet. [Skotlex]
  4105. 2006/11/28
  4106. * Fixed a typo which made the wedding_ignore_palette setting not work when
  4107. you log on with them equipped [Skotlex]
  4108. * Applied The Ultra Mage's patch to use strict npc header formatting
  4109. parsing. Updated the relevant stock scripts/mapflags that didn't conform to
  4110. the standard. [Skotlex]
  4111. * Moved the blocking of casting supportive skills on homunculus from
  4112. battle_check_target to status_check_skilluse as bct is not invoked unless
  4113. the skill is offensive (or party/guild only) [Skotlex]
  4114. * Cleaned up status_calc_bl_sub_hom, fixed recasting dex/str/vit/int
  4115. bonuses skills making their atk/def/mdef stack with itself over and over.
  4116. [Skotlex]
  4117. * Updated sql files [Playtester]
  4118. * Changing setting the Guild Master from pc_authok to clif_parse_LoadEndAck
  4119. so that it will not fail to set the gmaster flag when the first person of a
  4120. guild to log on is the guild master. [Skotlex]
  4121. * Modified the way Storm Gust freeze's counter works. Now it checks for the
  4122. caster of the Storm Gust, if it's the same as the previous hit, the counter
  4123. is increased, otherwise, the ID is updated and the counter is changed to 1.
  4124. [Skotlex]
  4125. * Fixed always receiving at least 1 bexp/jexp even when the mob gives no
  4126. exp at all. [Skotlex]
  4127. * Changed write to send as suggested by TheUltraMage in:
  4128. http://www.eathena.ws/board/index.php?showtopic=105417
  4129. Hopefully that will take care of the SIGPIPE problem in Debian and cygwin.
  4130. * Server name in core.c skipping '\\' characters.
  4131. * Memory allocation functions using file,line,func from the invoking functions.
  4132. * Other minor malloc changes. [FlavioJS]
  4133. 2006/11/27
  4134. * Now when a player's "attack once" request fails due to range, the client
  4135. is told to move to the target to attack it. This sort of fixes the problem
  4136. of the client SPAMMING the server with attack requests from afar without
  4137. even approaching the icewall. [Skotlex]
  4138. * Updated the status change field "option" to an int rather than short.
  4139. This fixes the option values for xmas/sightblaster not getting set, which
  4140. could explain why some people crash when equipping weapons while in xmas
  4141. suit. [Skotlex]
  4142. * Fixed the Homunculus hungry timer not starting on login. [Skotlex]
  4143. * Added logging for standard GM commands (/mm /b /kick etc) [KarLaeda]
  4144. * Some cleanups on the trade_additem function. When specifying a qty of 0,
  4145. an ack will be returned to the client so it doesn't gets stuck. [Skotlex]
  4146. * Update sql files [Toms]
  4147. * Corrected the skill animation for Absorb Spirits [Skotlex]
  4148. * Cleaned up a bit the implementation of how Gravity Field blocks the
  4149. caster from moving. [Skotlex]
  4150. * Mob class-changing will fail if the new class is the same as the previous
  4151. one. [Skotlex]
  4152. 2006/11/24
  4153. * Homunc's min matk is now always equal to max matk [Skotlex]
  4154. * Fixed EDP's damage being 100% more than it should (should be 4x, not 5x
  4155. on normal attacks) [Skotlex]
  4156. * Self Destruction will only hit everyone and not just enemies when used by
  4157. mobs (non marine spheres) unless the map is a versus map. [Skotlex]
  4158. * Spider Web's duration is now halved on players (before it was halved in
  4159. pvp maps only) [Skotlex]
  4160. * Likely fixed Homunculus not disappearing the second their intimacy hit 0.
  4161. [Skotlex]
  4162. * Fixed uninitialized variable fd being used in WFIFOHEAD in a few clif
  4163. functions. [Skotlex]
  4164. * Fixed the fact that the TURBO code breaks when you attempt to handle more
  4165. than one connection at a time within the same function. However this broke
  4166. map-server compilation, therefore, don't use TURBO yet! [Skotlex]
  4167. * While at it, cleaned a few packet implementations in the char/login
  4168. servers which were not only ugly, but had some really stupid flaws within.
  4169. [Skotlex]
  4170. 2006/11/23
  4171. * Completed Reddozen's hanging mapwarp code to support party and old syntax. [Lance]
  4172. * Updated sql files [Playtester]
  4173. * Made WFIFOHEAD() check for available buffer size remaining on the
  4174. connection, and when there's not enough space, it will increase it.
  4175. [Skotlex]
  4176. * Added define TURBO to the Makefile. It enables MouseJstr's socket access
  4177. optimization which should speed up the code when accessing the write/read
  4178. buffers repeatedly within a function. [Skotlex]
  4179. * Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used
  4180. incorrectly (prevents TURBO enabled compilations from finishing) [Skotlex]
  4181. 2006/11/22
  4182. * Modified slaves_inherit_speed and slaves_inherit_mode so you get better
  4183. control of when to copy/remove modes/speed. See the conf changelog for
  4184. details. [Skotlex]
  4185. * Reenabled usage of mode MD_CHANGETARGET, so mobs with mode 0x200 will be
  4186. able to switch targets while attacking. [Skotlex]
  4187. * Some cleanups around usage of session[] in the map server, hoping that it
  4188. may fix some not very likely crashes. [Skotlex]
  4189. * Rewrote a few messy @ commands. [Skotlex]
  4190. * Fixed the homunc hungry timer being started when the homun data is
  4191. received from the char-server and the homunc is NOT 'active'. [Skotlex]
  4192. 2006/11/21
  4193. * Fixed the Auto-Berserk giving you back defense when it triggers during
  4194. berserk's HP penalty. [Skotlex]
  4195. * Some small changes in the pet ai to make it more responsive. [Skotlex]
  4196. * Rewrote the pet looting behaviour (taken from the mob's), pets are much
  4197. more smarter now when looting from multiple possible items. [Skotlex]
  4198. * Fixed pets/homunc trying to be deleted twice when they had 0 intimacy and
  4199. their master logs out. [Skotlex]
  4200. * Added support for specifying ammo type = 99 in the skill_require_db file,
  4201. it can be used to specify that any kind of ammo can be used with the skill,
  4202. but you NEED to have ammo equipped. [Skotlex]
  4203. * Corrected GS_DISARM, it is now a normal attack, which, when it connects,
  4204. has a chance to do strip weapon at a 3*lv% rate (modified by dex) [Skotlex]
  4205. * Fixed GS_PIERCINGSHOT, it should ignore defense [Skotlex]
  4206. * Corrected Gatling Fever costing SP when trying to turn it off. Also,
  4207. speed increases bonuses won't take effect while it's active. [Skotlex]
  4208. * Updated the main makefile with a new OPT line. It is commented by default
  4209. since it only works with GCC 4.X, when unset, it will hide away a huge
  4210. amount of warnings that have to do with stuff that is not gonna be
  4211. corrected in eA anyway. [Skotlex]
  4212. * Corrected TripleAction's damage. It should do 150%*3 instead of 100*3%
  4213. damage. [Skotlex]
  4214. * Updated GS_CRACKER's stun chance using Doddler's info as reference.
  4215. [Skotlex]
  4216. * GS_FLING won't reduce armor defense when used on players. [Skotlex]
  4217. * Moved ignoreAll to state.ignoreAll so it saves some space. [Skotlex]
  4218. * Cleaned up clif_parse_Wis to prevent crashes from forged packets
  4219. [Skotlex]
  4220. * Cleaned up the implementation of the ignore list so it's more efficient.
  4221. [Skotlex]
  4222. 2006/11/20
  4223. * Implemented NPC_DEFENDER. Reduces ranged Physical+Misc damage by 80%
  4224. [Skotlex]
  4225. * Improved the battle config reader so it accepts hexadecimal values.
  4226. Updated the monster_ai description to make use of this [Skotlex]
  4227. * Added monster_ai&0x200. When set, mob skill delays are shared. That is,
  4228. if the mob has several lines with the same skill, when the skill is used,
  4229. the delay will be set to all of them, not just the one entry used.
  4230. [Skotlex]
  4231. * Corrected NPC_BARRIER so it grants 100 def/mdef (and not just mdef)
  4232. [Skotlex]
  4233. * Weapon ATK bonuses will now only apply to watk and NOT watk2 on players
  4234. (on players watk2 is refine bonus) [Skotlex]
  4235. * Corrected NPC_KEEPING. it should give 90 def, not 100 [Skotlex]
  4236. * You now can't use other skills while a skill-induced "window" is up
  4237. (teleport, refining, etc). However, be warned that we aren't quite sure how
  4238. the server will clear this out if you decide to hit cancel on the window,
  4239. so skill-blockage is likely to happen (temporary solution: whenever you
  4240. change maps or warp the state is reset server-side). [Skotlex]
  4241. * Fixed itemskill variable being cleared before parsing the skill, this
  4242. causes auto-casted teleport to fail to skip the skill menu. It is now
  4243. cleared on castend_pos/id directly. [Skotlex]
  4244. * Skills with state 'move_enable' will now do a "walk path" check between
  4245. target cell/object and caster instead of a "shoot path" check, this would
  4246. fix skills like snap or charge from letting you "teleport" across pits.
  4247. [Skotlex]
  4248. * Raised the amount of skills that can stack on a single cell before the
  4249. "in-area/out-area" detection code breaks to 24 (from 8) [Skotlex]
  4250. * Fixed a crash in clif_SkillInfoBlock if the passed player already
  4251. disconnected. [Skotlex]
  4252. * Added limiting drop rate to 100% from item-bonuses that depend on the
  4253. mob's level so that "@autoloot 100" will catch them. [Skotlex]
  4254. 2006/11/19
  4255. * Removed security check since source level patch is applied.
  4256. * Reverted select(), created prompt().
  4257. * Hack protection from packet monkeys in clif_parse_NpcSelectMenu. [Lance]
  4258. * Added 'cancel' button parsing in buildin_select menu system. Now scripts will continue
  4259. to load if 'cancel' is pressed and 255 will be returned. [Lance]
  4260. 2006/11/17
  4261. * Corrected use of the party invitation reply packet, thanks to FlavioJS.
  4262. [Skotlex]
  4263. * Fixed potential hack by modifying packet of whispers. [Lance]
  4264. * Fixed potential crash in IRC processing message with '%' using *printf. [Lance]
  4265. * Fixed memory leaking caused by homun_data not freed when removed. [Lance]
  4266. * Fixed client not validating the chat-kick-request packet, which can cause
  4267. crashes. [Skotlex]
  4268. * Updated map_quit to handle removing of players who are not even
  4269. authenticated yet. [Skotlex]
  4270. * New connection requests are now also blocked when there's a player
  4271. already online but hasn't finished loading yet. [Skotlex]
  4272. * Because of these changes, the friendlist notification when people join
  4273. has been moved to LoadEndAck from pc_authok [Skotlex]
  4274. 2006/11/16
  4275. * Updated sql files [Toms]
  4276. * For the sake of avoiding confusion, all script events are named with prefix 'On'
  4277. from now on. [Lance]
  4278. * Edited atcommand and charcommand syntax. Now it doesn't need the useless
  4279. character name and ":". [Lance]
  4280. * Shadow Jump and Kirikage won't "move" you if you use them in GvG grounds.
  4281. Fixed Kirikage so it first warps you, and then you unhide. [Skotlex]
  4282. * Corrected Zeny Nage so the Zeny spent on the attack is always the exact
  4283. same value as the damage you are dealing. Also corrected it so it does half
  4284. damage when used on players. [Skotlex]
  4285. * Overlapping song/dances will now cause dissonance/ugly-dance level 1
  4286. instead of retaining the level of their song/dance. [Skotlex]
  4287. * Fixed wrong check in @petrename, thanks to The Ultra Mage.[Skotlex]
  4288. 2006/11/14
  4289. * Early Christmas present. 3 new "features" which were very easy to code,
  4290. and should help scripters tremendously. Eapp is quite a way from being
  4291. ready, so these can't hurt:
  4292. * Implemented Karma: It turns out that when someone has karma, the client
  4293. believes this character is "evil", and will give you a cursor sword on top
  4294. of them automatically. So now the code will let characters with karma to
  4295. fight each other. This enables duels and other types of restricted pvp
  4296. where only the characters with karma can hit each others, and the rest of
  4297. players with neutral karma cannot be affected. Note that Karma cannot be
  4298. negative, and it can have any value between 0 and 256 (any non-zero value
  4299. makes them appear evil on the client). For now, characters with karma can
  4300. hit each other regardless of karma value, but perhaps it may be better to
  4301. let them to hit each other ONLY if they have the same karma (the whole
  4302. duel implementation COULD be cleaned up using Karma instead!)
  4303. * Added mapflags partylock and guildlock, which lock the state of the
  4304. parties/guilds on said maps:
  4305. partylock: blocks user party requests to create/invite/leave/kick
  4306. guildlock: blocks user guild requests to create/invite/leave/expel/
  4307. make alliance/make opposition/delete alliance/delete opposition/
  4308. break guild
  4309. 2006/11/13
  4310. * Fixed a bug where the char-txt server was incorrectly saving memos,
  4311. causing character data to be lost on restart. [Skotlex]
  4312. * HP Conversion will fail when used at max SP. It should not display any
  4313. errors to the client. [Skotlex]
  4314. * Modified yet again the login procedure to enable character variables to
  4315. work on item scripts. It SHOULD work crashless now. Please report any
  4316. problems it may cause.
  4317. * Volcano/Deluge/Violent Gale are now interchangeable, in the sense that
  4318. as long as one of these is out, casting any of the three will not consume
  4319. gems, and will use the remaining time of the previous one. In turn, Land
  4320. Protector will now always consume gems on every cast. [Skotlex]
  4321. * Small cleanup in the Land protector code which may fix it not blocking
  4322. AoE skills. [Skotlex]
  4323. * Fixed the interpretation of "head_dir". Removed setting head_dir to match
  4324. character direction in the whole code. Now it is only reset to 0 (look
  4325. forward) when unit_setpos is invoked, or when a character begins walking.
  4326. Thanks to FlavioJS for figuring out how the client parses the head
  4327. direction. [Skotlex]
  4328. * Moved status_calc_pc back to pc_authok. [Lance]
  4329. 2006/11/11
  4330. * Fixed debug message in login_sql [KarLaeda]
  4331. 2006/11/10
  4332. * Deluge/Violent Gale/Volcano tiles will now fail to be placed on cells
  4333. that are already ocuppied by anything else. [Skotlex]
  4334. * status_is_immune will now return 0 or the amount of immunity of the
  4335. target. In which cases it returns 100 for WoH and the GTB bonus when they
  4336. have passed the gtb_sc_immunity setting. This enables targetted spells to
  4337. not "fail silently" unless GTB's magic reduction is 100. [Skotlex]
  4338. * Fixed Homunculus being spawned as soon as they arrive from the
  4339. char-server even if the Master has not spawned on the map yet. [Skotlex]
  4340. * AL_TELEPORT now fails when used on top of Land Protector. [Skotlex]
  4341. * Some minor cleanings in pc_setpos, it may (or not) help fix that
  4342. homunc-caused "map_addblock" error message. [Skotlex]
  4343. * Corrected fog of wall, so that the deleted/doubled-duration effects are
  4344. calculated on a cell-by-cell basis. [Skotlex]
  4345. * Updated Land Protector: It will now delete/block effects of ALL ground
  4346. skills EXCEPT: Song/Dances/Traps (encores are still blocked). Land skills
  4347. blocked/deleted by LP also can't be casted on top of an existing LP. The
  4348. code uses the inf2 value of the skill to determine if it is a
  4349. song/dance/trap. [Skotlex]
  4350. * Ganbantein, mimicking LP, will now also remove ensembles. [Skotlex]
  4351. * Fog of Wall will fail when casted on top of a Volcano/Violent Gale
  4352. [Skotlex]
  4353. * Applied FlavioJS's fix to the npc whisper system. [Skotlex]
  4354. 2006/11/09
  4355. * Fixed status-change loading not working. [Skotlex]
  4356. * Fixed permanent mob-spawn script-events not working. [Skotlex]
  4357. * AL_CURE won't confuse undead players. [Skotlex]
  4358. * Corrected the Fog of Wall check so that it lasts 2x when it is placed on
  4359. TOP of a suiton/deluge, not when the caster is on top of them. [Skotlex]
  4360. * Updated status_check_skilluse so that when the caster has a disabling
  4361. status change (stun/petrify/etc) it will block the skill in all cases
  4362. EXCEPT on cast-end when the skill is ground-targetted. [Skotlex]
  4363. * Fixed Health Conversion skill formula bug. [Lupus]
  4364. 2006/11/08
  4365. * Fixed Desperado's hit-rate, now it behaves as it should. [Skotlex]
  4366. * The GVG map-packet will now also be sent for guild dungeon maps.
  4367. [Skotlex]
  4368. * Added clif_gospel_info which displays info about the buffs you are
  4369. receiving. Thanks to Rayce for the packet information. [Skotlex]
  4370. * Fixed Spider Web not ending when hit by a fireelemental attack. [Skotlex]
  4371. * Cast-time reductions from status changes will not be executed until right
  4372. before casting, to prevent status changes from ending when attempting to
  4373. cast and the attempt fails (invalid cells, not enough sp, wrong target,
  4374. etc, etc) [Skotlex]
  4375. * Added check to prevent Wand of Hermod from seeking for a partner to
  4376. encore, since the partner is supposed to be the warp. [Skotlex]
  4377. * Corrected the mob spawn reading code so that the event-name can be up to
  4378. 50 characters long (which is the actual event length) and so that it can
  4379. read spaces within them, it will also strip the leading/trailing quotes if
  4380. you use them so that the event is actually found on mob-death (so you can
  4381. do stuff like "My NPC::OnDead" as a valid event). [Skotlex]
  4382. * Moved the homunc inherit speed from the master from status_calc_pc to
  4383. LoadEndAck, since the hom's speed matches that of the master each time the
  4384. master changes maps. [Skotlex]
  4385. 2006/11/07
  4386. * Applied FlavioJs's patch which enables colored console output for Windows
  4387. systems. It also includes a config setting called
  4388. "stdout_with_ansisequence" with which you can turn off the color codes (in
  4389. case you are logging all output) [Skotlex]
  4390. * Added error reporting when the max number of ground unit cells has been
  4391. reached (this may be the reason why sometimes it fails to recognize when
  4392. you step out of a song/dance/encore) [Skotlex]
  4393. * Added passing the Endure effect to other devoted people. Note that the
  4394. "hit count" is individual for each character, and only when it ends on the
  4395. Crusader himself will that force it to end on everyone else. It also will
  4396. not transfer on gvg grounds, but it does transfer in pvp. [Skotlex]
  4397. * Fixed Reflect-Shield triggering Auto-Guard instead on devoted chars.
  4398. [Skotlex]
  4399. * Added a check to prevent casting ground skills on a target and vice-versa
  4400. when said skill use packets are received. It really shouldn't be
  4401. exploitable, but doing that certainly makes the server print a lot of
  4402. "unknown skill used!" messages. [Skotlex]
  4403. * Fixed map_foreachiddb and map_foreachpc so they don't encapsulate the
  4404. variable arguments into a double va_arg list. Thanks to the Ultra Mage for
  4405. the tip. [Skotlex]
  4406. * Cleaned up the clif_hate/mob_info functions with the correct fields/usage
  4407. as explained by Rayce. [Skotlex]
  4408. * Implemented clif_feel_hate_reset packet to properly display the Angel of
  4409. the Sun/Moon/Stars, thanks again to Rayce for the relevant information.
  4410. [Skotlex]
  4411. * LP will again block all land-stuff from being placed down on top of it
  4412. for the exception of Song/Dance/Encores. [Skotlex]
  4413. 2006/11/06
  4414. * Reapplied 'fix equipment scripts which are based on character variables not
  4415. working.' [Lance]
  4416. * Multiple Gunslinger skill corrections, refer to
  4417. http://ro.doddlercon.com/guides/gunslinger.html for information source:
  4418. [Skotlex]
  4419. - Corrected Ground Drift. Splash range of 3x3, stackable and placeable
  4420. underneath others, cast time is 2 secs. It's considered ranged, and it's
  4421. bonus damage increase is defense ignoring, always neutral.
  4422. - Corrected Bull's Eye implementation, it should deal normal damage against
  4423. non brute/demi-human targets.
  4424. - GS_DUST is now considered a short-range attack.
  4425. - Implemented Desperado's hit rate based on distance to caster as it's
  4426. believed to behave.
  4427. - GS_TRACKING's range is no longer affected by Snake Eye.
  4428. - GS_FLING's defense reduction is now 5*lv%
  4429. * Suiton's Speed/Agi penalty will affect everyone when used in versus maps.
  4430. * Corrected Kaupe so it doesn't ends on the first part of Soul Destroyer.
  4431. [Skotlex]
  4432. * Applied some cleaning to the way Tatami Gaeshi knocks back. [Skotlex]
  4433. * Cleaned up the way mobskill_use checks for the correct event. It should
  4434. fix unlimited mob-skill-casting issues. [Skotlex]
  4435. * Removed the return code entry when logging GM reload-GM requests
  4436. (login-sql),it'll just be stored as zero. [Skotlex]
  4437. * Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP.
  4438. [Skotlex]
  4439. * Applied the correction on maprespawnguildid so that it parses ALL players
  4440. and not just those on a map. [Skotlex]
  4441. * TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched
  4442. ones) and Preserve will be unable to block this. [Skotlex]
  4443. * Soul Linkers are now immune to SA_DISPEL [Skotlex]
  4444. * You can now place everything (except magic skills) on top of LPs.
  4445. [Skotlex]
  4446. * Corrected Ganbantein to not touch song/dance/ensembles. [Skotlex]
  4447. * Status_calc_pc will refuse to execute if the player is still tagged as a
  4448. "new connection" and the invocation is not meant to be the first one.
  4449. [Skotlex]
  4450. * Swapped the order of checks in status_isimmune so that Wand of Hermod
  4451. skill blocking takes precedence over GTB's [Skotlex]
  4452. * Client packets will all be ignored while a player is not on a map until
  4453. the LoadEndAck packet is received. [Skotlex]
  4454. * Reverted changes, moved status_calc_pc(sd,1) back to pc_authok
  4455. since it causes problems. [Lance]
  4456. * Temperory fixed stability issue caused by initial status_calc_pc
  4457. being placed AFTER another status_calc_pc. [Lance]
  4458. 2006/11/05
  4459. * Updated sql files [Toms]
  4460. * Updated perl files acording to rev 9135 [Toms]
  4461. 2006/11/04
  4462. * Readded duel code in map_quit. Why it has been removed!? [LuzZza]
  4463. * Converted itemdb tables to use smallint. Credits to ALZ. [Lance]
  4464. 2006/11/01
  4465. * Reverted LK_Berserk HP requirement, as everything, including kRO X.2 and
  4466. pRO X.3, points that way. [Vicious]
  4467. 2006/10/31
  4468. * Fixed song/dance/encore cells not being placed down when casted on top of
  4469. a land Protector. [Skotlex]
  4470. * Update homunc's speed when master's speed changes, should avoid homunc's
  4471. speed = 0 on login (homunc's stats are calculated before master's stats) [Toms]
  4472. * When Kaizel (or super novice rebirth skill) triggers, you get debuffed
  4473. now. [Skotlex]
  4474. * Modified the player_cloak_check_type and monster_cloak_check_type
  4475. settings. 1 makes it check for walls, 2 makes cloaking NOT end on normal
  4476. attacks, and 4 makes cloaking NOT end when using skills. The default
  4477. setting for players is still 1, but for mobs the default has been changed
  4478. to 4. [Skotlex]
  4479. * Non-players can now use all skills while hidden. [Skotlex]
  4480. * Added a check to prevent adding negative damage to the total accumulated
  4481. damage in mob_damage. It could fix some exploits, even though mob_damage
  4482. should never be invoked with negative damage anyway. [Skotlex]
  4483. * Implemented the property where the first attacker get's double exp-share
  4484. than the others. Due to the way exp calculation is done, this bonus will
  4485. not apply when you use exp_calc_type 1 (damage/max_hp) instead of the
  4486. default (damage/total-damage). For now this bonus is done after calculating
  4487. who is the MVP character instead of before. [Skotlex]
  4488. 2006/10/30
  4489. * Fixed a little bug in event enqueue code [Toms]
  4490. * Updated the code so mobs can use ChainAction as a targetted skill.
  4491. [Skotlex]
  4492. * Added GroundDrift effects for Wind (Stun) and Fire (knockback). The
  4493. knockback value is unknown, so 3 is used for now. [Skotlex]
  4494. * Cleaned up some more the steal code, now you can't steal the last slot
  4495. regardless of skill level used. [Skotlex]
  4496. * Added consideration of Chain Action when cloning GunSlingers. [Skotlex]
  4497. * Modified battle_calc_return_damage to take the skill id as well, now
  4498. magic damage return will not work on skills tagged as ground or self
  4499. targetted. [Skotlex]
  4500. * Fixed Gank not working at all with the default max steal tries setting.
  4501. [Skotlex]
  4502. * Soul Drain won't work with skills tagged as self-targetted. [Skotlex]
  4503. * Improved the Suiton code so that the walk/agi penalty only applies to
  4504. enemies of whoever casted the skill. [Skotlex]
  4505. * Moved the initial status_calc_pc call to when you finish loading the map,
  4506. should fix equipment scripts which are based on character variables not
  4507. working. [Skotlex]
  4508. * Fixed getcharid according to samples and docs. [Lupus]
  4509. Thanks to joshuaali for pointing it out. eAPP has no such bug
  4510. 2006/10/27
  4511. * Fixed mob-skill event "skillused" not triggering at all. [Skotlex]
  4512. * Summoned mobs will only be removed from a map if their master is also
  4513. removed (dynamic mobs) [Skotlex]
  4514. 2006/10/26
  4515. * Updated sql files [Playtester]
  4516. * Experimental tweak to npc_parse_function - Overwrite existing functions. [Lance]
  4517. 2006/10/25
  4518. * Cleaned up some more the event dequeue code, it will no longer clear out
  4519. the npc_id if there's no events waiting to be executed (why does it clears
  4520. the npc_id anyway?) [Skotlex]
  4521. * Because of possible conflicts with this change and the on-login script,
  4522. now the on-login script is executed when the player has finished loading
  4523. into their start-up map rather than as soon as receiving the registry
  4524. variables from the char-server. [Skotlex]
  4525. * Some cleaning of the pc_eventtimer and pc enqueue code, it should fix
  4526. some memory leaks when the event counter does not matches with the actual
  4527. number of queued timers during logout. [Skotlex]
  4528. * Fixed "skill_sp_override_grffile: yes" causing crashes when parsing
  4529. Homuncuus/Guild skills. [Skotlex]
  4530. * Made the exp bonus settings be adjustable: [Skotlex]
  4531. - exp_bonus_attacker: Indicates how much additional exp a mob gives per
  4532. additional attacker (eg: 10 -> +10%*attacker)
  4533. - exp_bonus_max_attacker: Indicates at which number of attackers the bonus
  4534. is capped (eg: 5 -> 5 attackers, so a mob yield the same exp whether 5 or
  4535. 10 people attack it)
  4536. - Changed the way the party_even_share_bonus setting works. It now uses a
  4537. simple linear bonus increase (eg: 10 -> +10%*party member)
  4538. - The defaults are as explained by Tharis: +25%/attacker, capped at 12
  4539. attackers, no party bonus. The first two can be found in exp.conf, the last
  4540. one was left in party.conf
  4541. * MG_STONECURSE and NPC_PETRIFYATTACK now use time1 to specify the
  4542. "petrifying time". This value has been set to 5 seconds. [Skotlex]
  4543. * Now when SC_STONE is triggered from status-change cards, it's petrifying
  4544. duration will be passed as 0, causing the minimum (1 sec) to be used.
  4545. [Skotlex]
  4546. * Got rid of clones in src: old Novice Grounds map -> new_zone0? [Lupus]
  4547. 2006/10/24
  4548. * Removed again your mdef reducing "petrifying" time as apparently it can't
  4549. be reduced by mdef. [Skotlex]
  4550. * Cleaned up the "show_steal_in_party" setting so it only takes effect when
  4551. the item was successfully stolen (there was no point in telling you the
  4552. item couldn't be stolen due to being overweight) [Skotlex]
  4553. * Cleaned up the pc_steal_item implementation (again). It now uses a more
  4554. random, simple approach in each steal attempt. [Skotlex]
  4555. * Changed the way the skill_steal_max_tries work. Now it actually MEANS the
  4556. max number of steal tries, use 0 to disable (unlimited tries). [Skotlex]
  4557. 2006/10/23
  4558. * Added a bunch of important indexes when dealing with the log tables.
  4559. Added upgrade_svn9050.sql which adds these indexes as well. [Skotlex]
  4560. * Expanded the family check to work as it should, exp-share-range is
  4561. respected, and the child is not considered for it (thanks to TheUltraMage
  4562. for the investigation) [Skotlex]
  4563. * Double Casting will no longer fail when used. [Skotlex]
  4564. * Modified SC_STONE so that the duration of the "petrifying" time is 5 secs
  4565. reduced by your natural resistance to petrify (which is mdef%) [Skotlex]
  4566. * Modified the meaning of the third column in the skill_require_db. Instead
  4567. of MaxHP, this is now called MaxHPTrigger. This column (which was
  4568. previously unused by all skills) signals the limit HP% that you can have to
  4569. be able to use the skill. For example, setting it to 20 means the skill is
  4570. unusable if you have more than 20% life (note that this is merely a
  4571. threshold setting, it won't actually substract HP when used!) [Skotlex]
  4572. * Adjusted LK_BERSERK so you can only use it when you have 20% or less
  4573. life. [Skotlex]
  4574. * Removed NJ_TOBIDOUGU adding damage to W_HUUMA weapons which somehow got
  4575. readded. [Skotlex]
  4576. * When nonplayers use Cloaking, it will be forced to level 10 since mobs
  4577. shouldn't have movement/attack restrictions while walking cloaked.
  4578. [Skotlex]
  4579. 2006/10/20
  4580. * Made HAMI_CASTLE use clif_slide rather than clif_fixpos. This should
  4581. fix clientside problems when castling between two positions the (client)
  4582. path finding can't find a walkable bath between anymore. [blackhole89]
  4583. * Fixed the Homunc not spawning next to you after receiving it's data from
  4584. the char-server. [Skotlex]
  4585. * Fixed Charge Atk being able to go through chasm/pits. [Skotlex]
  4586. * Moved the homunculus DB information from the player structure to the
  4587. homun structure. Modified the homunculus creation packets to hold this
  4588. information during creation, also, all initial values are handled by the
  4589. map-server, the char server only assigns it a homun ID. [Skotlex]
  4590. WARNING: This is yet untested! It's very possible something could had
  4591. broken after changing the format/size of the homunc creation packets.
  4592. * Added config setting "summon_flora_setting", which it you can decide now
  4593. two things: a. Whether or not players can harm your floras outside versus
  4594. grounds, and b. Whether or not you can summon out and mix different types
  4595. of plants at the same time. [Skotlex]
  4596. * Likely fixed pc_steal_item always failing to steal (it was attempting to
  4597. steal random item IDs...) [Skotlex]
  4598. * Cleaned up a bit the mob on-death event so that when the killer is a
  4599. homunculus, it's master will be taken. Also, the variable killerrid will be
  4600. set before running the script to specify who delivered the final blow. If
  4601. the killerrid matches with the script attached player, you can be sure your
  4602. player did the final blow to the mob, otherwise, the attached player is who
  4603. did the most damage to the mob. [Skotlex]
  4604. 2006/10/19
  4605. * Cleaned up the log.c file. [Skotlex]
  4606. * Fixed log_chat not recording anything if the server is compiled in SQL
  4607. mode and sql_logs is turned off (it should then record to a plain txt file)
  4608. [Skotlex]
  4609. * Fixed SG_FRIEND, it should be triggering when Monks do Combo Finish (not
  4610. triple blows), and the trigger rate increase should be based on your known
  4611. level of SG_FRIEND, not TK_COUNTER. [Skotlex]
  4612. * Phantasmic arrow now knockbacks even if it misses. [Skotlex]
  4613. * Adjusted the way Monk combo times work. The combo time is now always
  4614. 300ms (adjusted by combo_delay_rate) which takes effect inmediately AFTER
  4615. your current skill's canact-delay (which is why the particular skill delays
  4616. were moved to skillcast_db) [Skotlex]
  4617. * Modified skill_delayfix so it performs the can-act reduction from agi/dex
  4618. for combos there. [Skotlex]
  4619. * Modified pc_steal_item so that it behaves more closely to the way it does
  4620. on Aegis. [Skotlex]
  4621. 2006/10/18
  4622. * Added a overflow check when calculating party exp share. [Skotlex]
  4623. 2006/10/16
  4624. * Adjusted UTSUSEMI/BUNSINJYUTSU so that they block range/melee weapon
  4625. attacks and only melee misc attacks. This isn't 100% correct, but it's a
  4626. better approximation to the way these skills behave. [Skotlex]
  4627. * Emergency call &16 (disable skill from nowarpto maps) will now NOT block
  4628. Emergency Call if that map is also a gvg-castle map. Makes it safe to turn
  4629. on this option to prevent usage from special maps (like Lhz3) without
  4630. crippling the skill during WoE. [Skotlex]
  4631. * Applied most of Mpeg's work on Ninja Skills. For information see:
  4632. http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt [Skotlex]
  4633. * When reinvoking a combo-time, the previous combo time will be terminated.
  4634. This could fix the ongoing difficulties pulling off Monk combos. [Skotlex]
  4635. * Fixed Esma-state not ending after casting it. [Skotlex]
  4636. * Fixed @hominfo displaying intimacy on a 1/10k scale. [Skotlex]
  4637. 2006/10/14
  4638. * Homun info window to show crit value. As default, homun does NOT crit,
  4639. as monsters do not crit. This is purely for display purpose for players
  4640. to identify their homon's luk value. [Vicious]
  4641. 2006/10/13
  4642. * Base attack for non players is now calculated as str + [str/10]^2 (it
  4643. does not has +dex/5+luk/5 which players do have) [Skotlex]
  4644. * Fixed the char-sql server trying to read the gms off a "gm_db" config
  4645. setting stead of "login_db" [Skotlex]
  4646. * Corrected Throw Arrow/Musical Strike's damage formula [Skotlex]
  4647. * Altered Trick Dead. It doesn't prevents skills from being casted on you
  4648. now, but damage-based skills will do no damage. [Skotlex]
  4649. * Made the battle_config.attack_attr_none apply to pets when using the
  4650. "fixed damage" pet skill scripts. [Skotlex]
  4651. 2006/10/12
  4652. * made @killmonster make the mobs drop items again. [Skotlex]
  4653. * Added a temporary message when Angel of the Sun, Moon and Stars trigger
  4654. so you know it triggered. [Skotlex]
  4655. * When slaves_inherit_speed is set (which is also the default), homun will
  4656. have the same speed of their master when spawned. [Skotlex]
  4657. * When using Hatred and you already have a hate target, your current hate
  4658. target is displayed now. [Skotlex]
  4659. 2006/10/11
  4660. * Cleaned up the char-server code when the last point of a player is not
  4661. found. First it'll check if there's any mapserver online, and then, if
  4662. there is, it'll look for the major cities. If this fails, then the player
  4663. will be told server is closed instead of trying to send him to a "random
  4664. map". Will fix the char-server printing the misleading message "map
  4665. server not found, sending to major city" when in reality there just
  4666. aren't any map servers connected. [Skotlex]
  4667. * Corrected the mob damagelog structure so that you can't exploit it by
  4668. switching characters. [Skotlex]
  4669. 2006/10/09
  4670. * Fixed crash when char-server sends to a "random" map-server online on
  4671. connect. Thanks to TheUltraMage for pointing it out. [Skotlex]
  4672. * Should have fixed being petrified not reducing your defense and
  4673. increaseing your mdef. [Skotlex]
  4674. * Fixed SC_NOCHAT printing the "skills are now available" message twice on
  4675. natural expiration. [Skotlex]
  4676. 2006/10/08
  4677. * Updated sql files [Playtester]
  4678. 2006/10/06
  4679. * Updated Land Protector to block absolutely every land-based skills with
  4680. the exception of Encores/Dances. [Skotlex]
  4681. * Disabling status abnormalities will now reset a mob's target. [Skotlex]
  4682. * Mob morphing also resets their target now. [Skotlex]
  4683. * Monk combos no longer can ignore skill delay (delay skill for all their
  4684. combo-related skills is ASPD) [Skotlex]
  4685. * Now you can trade while in a chatroom. [Skotlex]
  4686. * Fixed homun-txt reading when the file has DOS line-type delimiters (\r\n)
  4687. [Skotlex]
  4688. 2006/10/05
  4689. * skill_blown will now trigger on-touch npcs on the landing tile. [Skotlex]
  4690. * Max trade distance has been reduced from 5 to 2. [Skotlex]
  4691. * Undisguising will now resend the cart-contents. [Skotlex]
  4692. * Added function npc_unload_duplicates(), it unloads all npcs that are a
  4693. duplicate of the passed one. For use with @unloadnpc to prevent crashes
  4694. when you unload the npc that has duplicates. [Skotlex]
  4695. 2006/10/04
  4696. * Bowling bash now always hits twice regardless of situation. [Skotlex]
  4697. * Added an underflow check to prevent sending to the client negative mdef2
  4698. value (for Frenzy'ed characters) [Skotlex]
  4699. * Modified pc_jobchange so that it automatically removes
  4700. peco/falcon/cart/homun if the new job you are changing to does not possess
  4701. the required skill for them. [Skotlex]
  4702. 2006/10/03
  4703. * Fixed a possible crash with @reloadmobdb due to pet loot timers.
  4704. [Skotlex]
  4705. * Fixed a possible crash and a memory leak on the login-SQL server when
  4706. parsing unban requests. [Skotlex]
  4707. * Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of
  4708. skills is reduced now (when enabled) by AGI instead of DEX, which makes a
  4709. lot more sense than DEX. [Skotlex]
  4710. 2006/10/02
  4711. * Modified item-granded status resistance reduction to behave as explained
  4712. by Vicious (Ragnarok Monthly magazine) [Skotlex]
  4713. * Added the opt3 values to Eske [Skotlex]
  4714. * Fixed the txt->sql converter only saving the very first character
  4715. permanent variable. [Skotlex]
  4716. * Fixed the txt->sql converter saving account-wide variables as
  4717. character-wide ones. [Skotlex]
  4718. * Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn
  4719. on/off both noexppenalty and nozenypenalty now. [Skotlex]
  4720. 2006/10/01
  4721. * Removed the speed adjustment per level of Increase/Decrease Agility
  4722. [Skotlex]
  4723. * Fixed humunculi skill exploit, thanks to mr.rkit [Lupus]
  4724. 2006/09/30
  4725. * Rewrote the txt->sql converter. It now links directly to the char server
  4726. files so that it should get auto-updated with any code changes in the
  4727. later. [Skotlex]
  4728. * The converter will now also convert: account-wide variables, parties,
  4729. guilds, guild storage and guild castles. At this point the only two things
  4730. not converted are login-server-wide account variables (##, they belong to
  4731. the login converter) and homunculus (the SQL save function is messy and
  4732. doesn't lends itself to be integrated with the converter the way all the
  4733. other functions are). [Skotlex]
  4734. * misceffect2 will no longer cause the effect on top of the source object
  4735. when it is the fake npc. [Skotlex]
  4736. * Added check so that Frost Nova doesn't hides hitting animation on
  4737. targets. [Skotlex]
  4738. * Added the missing brackets around the trade logs condition check, thanks
  4739. to Coltaro. [Skotlex]
  4740. 2006/09/29
  4741. * Spurt state will now trigger on Soul Linkers as well. [Skotlex]
  4742. * Added a check un unit_run when unit_walktoxy fails. Should fix running
  4743. getting you stuck sometimes when running on diagonals near obstacles.
  4744. [Skotlex]
  4745. 2006/09/28
  4746. * Merged the necessary changes to make the script engine support negative
  4747. constants (db/const.txt). Thanks to Rayce (from jA) for the code. [Skotlex]
  4748. * Cleaned up the skill.c code to take into account when skill_unitsetting
  4749. returns null (skill failed), fixes a possible crash with Wand of Hermode
  4750. [Skotlex]
  4751. 2006/09/27
  4752. * Cleaned up status_get_party/guild_id, it should also fix a possible crash
  4753. when invoking such a functio on a masterless pet. [Skotlex]
  4754. * Sharp-Shooting will now display a skill animation. [Skotlex]
  4755. * The no_spawn_on_player setting will now also work for static mobs, but
  4756. only if the setting is set to 100 or higher. [Skotlex]
  4757. 2006/09/26
  4758. * Yet again messed with the packet sent during a splash attack, but this
  4759. time taking into account the packets that eA was using some many revisions
  4760. ago. Tests are needed to see if Magnum Break/Grimtooth don't spam the skill
  4761. animation anymore, and to see if GrandCross didn't break it's animation as
  4762. well. [Skotlex]
  4763. * Added function skill_dance_switch which handles converting overlapping
  4764. song/dances to dissonance/ugly dance. It should make the overlapping area
  4765. now behave completely like the mentioned song/dances (taking into account
  4766. interval and target type changes). [Skotlex]
  4767. * Updated battle_check_target so that non-offensive skills cannot be used
  4768. on a homun except for the homun and it's master. [Skotlex]
  4769. * Steal zeny won't work on treasure chests now. [Skotlex]
  4770. 2006/09/25
  4771. * Added an ugly check so that Heal will display 0 when healing a berserked
  4772. character (and it will again display full heal amount when healing a player
  4773. who's at full life) [Skotlex]
  4774. * Disabled again client-self-muting since it's causing too much trouble.
  4775. [Skotlex]
  4776. * Merged FlavioJS's script patch which should fix stuff like "mes ();"
  4777. causing crashes. [Skotlex]
  4778. * Item group reading will now complain when a line doesn't has enough
  4779. fields. [Skotlex]
  4780. * Fixed #baselevelup adding instead of substracting status points when used
  4781. with negative levels. Also made it reset your stats if there wasn't enough
  4782. to substract from. [Skotlex]
  4783. * Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the
  4784. direction. This had the side effect of fixing the direction missing from
  4785. the mob spawn packet, which explains why all npcs face north when you are
  4786. within sight while doing a @reloadscript. [Skotlex]
  4787. * Changed the order of packets in TK_HIGHJUMP, may fix the reports of
  4788. getting stuck when jumping into a warp. [Skotlex]
  4789. * Changed a bit the code of marionette control, where a redefined local
  4790. variable may be the cause of mob-targetted Marionette Control stacking
  4791. stats up. [Skotlex]
  4792. 2006/09/24
  4793. * When the code auto-guesses that a skill should require ammo, it will
  4794. accept any type of ammo for using it instead of only arrows. Fixes Magnum
  4795. Break usage on Gunslingers. [Skotlex]
  4796. 2006/09/22
  4797. * Probably fixed a signed/unsigned mismatch warning on the new socket code.
  4798. [Skotlex]
  4799. * Fixed the "map server claims to have char online, but this other map
  4800. server also has it tagged as online" message triggering in some cases where
  4801. it shouldn't. [Skotlex]
  4802. * Fixed some maps in db/mapindex.txt being under the wrong id and added comments
  4803. so this will not happen again. [Zephiris]
  4804. --- ATTENTION! ---
  4805. People running TXT servers will have to tell their players to redo their /memo
  4806. points since the map ids of the old file were wrong.
  4807. 2006/09/21
  4808. * Fixed a bug on "select" when skipping empty entries when the selected
  4809. entry is the last. [Skotlex]
  4810. * Improved a bit RFIFOFLUSH as suggested by Harbin. [Skotlex]
  4811. 2006/09/20
  4812. * A mob's HP is set temporarily to 0 before invoking it's on-death script,
  4813. prevents said scripts being able to "rekill" the mob indefinitely (if stuff
  4814. like killmonster is used within) [Skotlex]
  4815. * Some small cleanups in chat.c [Skotlex]
  4816. * Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting
  4817. was disabled. [Skotlex]
  4818. * Enabled Star Gladiators and Soul Linkers to do /doridori [Skotlex]
  4819. 2006/09/19
  4820. * Fixed nocommand mapflag causing the "you can't use commands on this map"
  4821. message to trigger one very single chat, instead of only for actual @/#
  4822. command invocation. [Skotlex]
  4823. * Added support for skipping empty string menu entries for the select()
  4824. command (just as `menu` has it already) [Skotlex]
  4825. * Fixed pc_set_hate_mob letting you place mobs on any of the three
  4826. positions regardless of size [Skotlex]
  4827. * The double continuation error will now display both scripts that
  4828. triggered it. [Skotlex]
  4829. * Loading the storage from the char-server will fail if player is already
  4830. tagged in final save state. [Skotlex]
  4831. * Removed setting ban_spoof_namer, sending invalid global-talk packets will
  4832. now just kick the player out of the server. [Skotlex]
  4833. * Added echoing messages back to self when using @/# commands on whispers
  4834. and party/guild messages, to prevent the client from muting yourself.
  4835. [Skotlex]
  4836. * Fixed some gcc4 warnings [Toms]
  4837. 2006/09/18
  4838. * Fixed Spider Web fire damage bonus. [Skotlex]
  4839. * Made Global chat always reply back to you even on @/# commands, this
  4840. prevents the client from muting yourself due to "hack". However, this same
  4841. fix isn't easily applicable to @ commands invoked from whispers or
  4842. party/guild messages, those are still pending. [Skotlex]
  4843. * Merged Meruru's update to socket.c, which includes a rewritten parse
  4844. function, which should hopefully be more efficient than the previous code.
  4845. [Skotlex]
  4846. * The new code includes support for two config settings
  4847. (packet_athena.txt): frame_size, which can be used to alter the logic
  4848. packet-size allowed by the code, and mode_neg, which when set to yes, sets
  4849. TCP_NODELAY on all connections (defaults to yes). [Skotlex]
  4850. * High-Jump is usable everywhere now, except that on maps where it
  4851. previously failed, now will just make you jump in place. [Skotlex]
  4852. * Fixed TK_RUN as per packets provided by AuronX. [Skotlex]
  4853. * Moved the equipment/card resistances to status ailments outside of
  4854. status_get_sc_def, so that they are applied only to rate, not duration.
  4855. [Skotlex]
  4856. * Modified the Asura code (again), hopefully movement sprite issues are
  4857. fixed now [Skotlex]
  4858. * @reloadscript scripts will no longer eliminate mobs with no respawn data.
  4859. But watch out for possible bugs (I think someone mentioned 1 extra
  4860. treasure box will spawn when you use it? This needs testing!) [Skotlex]
  4861. * Made speed_add_rate a linearly stacking increase. [Skotlex]
  4862. * Corrected a possible overflow when using show_mob_info to display the
  4863. mob's up as a percent. [Skotlex]
  4864. * Corrected the documentation for checkoption/checkoption1/checkoption2
  4865. [Skotlex]
  4866. * Reenabled client requesting to self mute, as the whole knockback packet
  4867. issues of the past which were causing players to mute themselves when being
  4868. knockback is no longer there. [Skotlex]
  4869. 2006/09/17
  4870. * Fixed NPC_INVISIBLE's cloak ending after attacking once. [Skotlex]
  4871. * Fixed SG_FUSION being castable without Soul Link state. [Skotlex]
  4872. * Moved the item-use restriction SC checks from clif.c to pc_use_item,
  4873. fixed Gravitation blocking potion usage on it's area of effect. [Skotlex]
  4874. * Sphere Marines and Summoned Flora are now immune to class-changing.
  4875. [Skotlex]
  4876. 2006/09/16
  4877. * Added monster_ai&256. When set, a monster will pick a random starting
  4878. position to begin checking versus it's skills, otherwise, it will always
  4879. begin checking from the beginning. [Skotlex]
  4880. * Fixed the status change duration reduction equation was was totally
  4881. wrong, thanks to k3dt [Skotlex]
  4882. 2006/09/15
  4883. * Now mobs won't do a distance check to lose their target on every ai
  4884. iteration, but only when they finish walking (unless you set monster_ai&1)
  4885. [Skotlex]
  4886. * The chase distance before a mob gives up following a player has been
  4887. increased from view-size (range2) to min-chase (range3). [Skotlex]
  4888. * Reverted the Summon Flora change where all plants were being summoned in
  4889. one go. [Skotlex]
  4890. * Moved the weapon repair effect to where it belongs (after successfully
  4891. repairing an item) [Skotlex]
  4892. * Added config setting "friend_auto_add" (battle/player.conf), if set, when
  4893. you accept someone as your friend, both characters will show up on each
  4894. other's friend list. [Skotlex]
  4895. 2006/09/14
  4896. * Changed Extremity Fist's code to make you actually walk past your target,
  4897. which displays a much more correct "animation" for the skill. Thanks to
  4898. HiddenDragon for the information and code. [Skotlex]
  4899. * Updated the item_db search functions so that when returning the
  4900. dummy-item, it first updates the nameid to match the requested one, this
  4901. prevents pc_additem later on giving you an item with ID 500 instead of the
  4902. ID requested. [Skotlex]
  4903. * Added a clif_skill_nodamage packet when using Repair Weapon, just to see
  4904. what happens. [Skotlex]
  4905. * Likely fixed "half" of the alliance being saved, which ends up in guilds
  4906. that can attack another, but not viceversa. [Skotlex]
  4907. * Added deleting of saved Status changes on character delete for the
  4908. Char-TXT server. [Skotlex]
  4909. * Fixed the can-act delay never being checked when requesting to use
  4910. Homunculus Skills. [Skotlex]
  4911. * Fixed warmth skills draining SP of the target, not the caster. [Skotlex]
  4912. * When TK_DODGE triggers, it will no longer delay your attack or movement.
  4913. [Skotlex]
  4914. * Estimation /Sense/ whatever will no longer hide the vit bonus to mdef2,
  4915. as reported by Playtester. [Skotlex]
  4916. * Updated Summon Flora to summon the max number of possible plants on one
  4917. cast. It will consume as many bottles as monsters summoned. Also cleaned up
  4918. the function to be usable by non players. [Skotlex]
  4919. * Shadow Jump no longer goes over walls. [Skotlex]
  4920. * battle_calc_gvg_damage will be invoked in gvg maps regardless of woe
  4921. time. [Skotlex]
  4922. * NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis.
  4923. [Skotlex]
  4924. * md->class_ will be changed on mob-class-change to fix all class-change
  4925. related bugs. On respawn, the spawn data will be used to revert to the
  4926. original class. [Skotlex]
  4927. * Improved the pet skillbonus timer for "eternal bonuses" cases where the
  4928. bonus delay is 0. [Skotlex]
  4929. 2006/09/13
  4930. * SC_CHANGE cannot override itself anymore. This fixes being able to
  4931. "recast" the skill while it's still active to lengthen the duration AND
  4932. reheal the target. [Skotlex]
  4933. * Changed a bit the dnsbl lookup in the login servers to make it faster.
  4934. [Skotlex]
  4935. * Moved the pc rate modifiers from items
  4936. (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from
  4937. status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and
  4938. also fixes Osiris card not applying to said bonuses. [Skotlex]
  4939. * Fixed pc_damage_delay_rate not working, thanks to Orn. [Skotlex]
  4940. * Modified the nocommand mapflag so you can specify the GM range that is
  4941. blocked from using commands (eg: "prontera.gat mapflag nocommand 40"
  4942. disables commands to characters in the GM range 0~39) [Skotlex]
  4943. * Modified the char-server TXT whisper system to use the online_db to know
  4944. to which map server forward whispers, instead of just sending the whisper
  4945. to every map server. [Skotlex]
  4946. * Readded the setting TCP_NODELAY on socket.c to see if it fixes the
  4947. walk-lag issue. [Skotlex]
  4948. 2006/09/12
  4949. * Modified the login SQL server so that case insensitive lookups use "where
  4950. name = BINARY 'name'" instead of "where BINARY name = 'name'", since this
  4951. way the name index should be used, and performance will no longer be
  4952. heavily affected. [Skotlex]
  4953. * Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on
  4954. the tables memo/friends, and online/name on the char table. Added
  4955. upgrade_svn8728.sql to add these indexes to already existing tables.
  4956. [Skotlex]
  4957. * Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible
  4958. with Mysql 4 installations. [Skotlex]
  4959. * Moved the morph restrictions from skill_additional_effect to
  4960. mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or
  4961. treasure boxes. [Skotlex]
  4962. * Fixed 'range' might be used uninitialized warning [Toms]
  4963. * Added Jaguar's sql script to convert all tables to MyISAM. It's located
  4964. in sql-files/convert_engine.sql WARNING: Using MyISAM is much faster than
  4965. InnoDB, but you are strongly recommended to backup your database before
  4966. switching engines since we don't know if eA is fully coded to work
  4967. correctly with MyISAM yet. [Skotlex]
  4968. * Added manual deletion of sc_data entries when deleting a character
  4969. (char-SQL) [Skotlex]
  4970. * Updated main.sql to use pure MyISAM tables, removed all foreign keys.
  4971. [Skotlex]
  4972. * Updated battle_switch to use strncmpi instead of strcmpi, it makes it so
  4973. using "yessir" will match "yes", this is actually needed because if you set
  4974. a config setting to "yes " (notice the trailing space), then the map config
  4975. engine fails to read it right, and will set the config setting to 0 (no).
  4976. [Skotlex]
  4977. * Some corrections to hate_mob cleanup when triggering the Angel stuff. [Skotlex]
  4978. * Updated the show_mob_info setting to add another space to the separating
  4979. pipes, so that each field is separated by " | " instead of " |". [Skotlex]
  4980. * Homunculus intimacy will go back to 500 on evolution. [Skotlex]
  4981. * Baphomet splash damage will now hit nearby enemies regardless of flee
  4982. (but the initial attack still has to connect for the splash to trigger)
  4983. [Skotlex]
  4984. 2006/09/11
  4985. * Modified set_nonblocking and setsocketoptions in socket.c, using eApp's
  4986. code as reference. Hopefully should improve performance somewhat. [Skotlex]
  4987. * Added a comment explaining what a comment is to login/char/map config
  4988. files, as well as the main script config file. [Skotlex]
  4989. * Modified SG_FEEL so that it works the same way that in Aegis
  4990. (packet-wise) [Skotlex]
  4991. * Added a comment to explain how to "remove" a string variable from the
  4992. msg_athena entries. [Skotlex]
  4993. * Summoned and slave mobs won't show up on @showmobs anymore. [Skotlex]
  4994. * Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix,
  4995. so that damage will be doubled based on the actual attack element.
  4996. [Skotlex]
  4997. * Adjusted autospell cards to trigger only on physical weapon attacks.
  4998. [Skotlex]
  4999. * Adjusted a bit the heal code, it should now show either the full heal
  5000. amount, or 0, depending on whether the target was healed at all or not
  5001. (this also means it shows 0 if you try to heal a full-life character.. but
  5002. it's the closest I've gotten to make it display 0 on Berserked chars)
  5003. [Skotlex]
  5004. * Memorize will be consumed even on instant cast spells now. [Skotlex]
  5005. * Berserk will end now if hit and remaining hp is less or equal to 100.
  5006. [Skotlex]
  5007. * Guild Aura will be removed on sc-load to prevent Guild Masters from
  5008. getting that bonus from the old implementation. [Skotlex]
  5009. * Added D-Kalck's fix of the TXT -> SQL converter [Playtester]
  5010. 2006/09/10
  5011. * Thanks to KarLaeda, added missing function in @showmobs [Lupus]
  5012. - Script function 'query_sql': In the TXT version it doesn't fill the array
  5013. and always return -1. Added for scripts compatibility. Your scripts
  5014. won't crash in TXT version. They can work it around.
  5015. I suggest we need a function getversion()
  5016. * Updated item_db.sql and mob_db.sql [Playtester]
  5017. 2006/09/09
  5018. * Added a crash protection in case mapfreeblock unlock tries to free a null
  5019. pointer. [Skotlex]
  5020. * Moved perfect_hiding from state to special_state, so that it clears out
  5021. when you remove your pet. [Skotlex]
  5022. * Probably fixed the Taekwon Rest skills. [Skotlex]
  5023. * Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy:
  5024. X entries missing, continuing destruction. Manager for entries of size
  5025. 16.") [Skotlex]
  5026. 2006/09/08
  5027. * Unified the rest and ganster paradise code into a single function.
  5028. [Skotlex]
  5029. * Moved the Happy State trigger to the regen function, it now triggers at
  5030. the same time SPTIME does. [Skotlex]
  5031. * Cleaned up SG_HATE, hope it works now. [Skotlex]
  5032. * Removed sg_miracle_skill_duration, replaced it with
  5033. sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify
  5034. a range for the duration of the skill. [Skotlex]
  5035. * Added upgrade_svn8675.sql in case, for some reason, your guild table
  5036. still has the emblem_data field as a 'blob' with "NOT NULL" specified.
  5037. [Skotlex]
  5038. * Fixed alliance/opposition making not cancelling out map-server-side when
  5039. the guild already had max number of alliances/oppositions (thanks to k3dt)
  5040. [Skotlex]
  5041. 2006/09/07
  5042. * Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg:
  5043. wand of hermod) [Skotlex]
  5044. * Cleaned up the doridori parse clif function. [Skotlex]
  5045. * Merged some of mpeg's work on NJ skills [Skotlex]
  5046. * Removed the Warmth "stacking" code. [Skotlex]
  5047. * Added back the effect of /doridori to skill-SP regen [Skotlex]
  5048. * Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low
  5049. chance of triggering on doridori-boosted SP-regen events. However, it has
  5050. no client-side messages yet (need to add these in) [Skotlex]
  5051. * Added sg_angel_skill_ratio to specify rate at which the Angel skill
  5052. triggers. [Skotlex]
  5053. * Added unit_cancel_combo which takes care of ending a combo time and
  5054. resuming normal attack 'inmediately' [Skotlex]
  5055. * Cleaned up some the SG_HATE code, you can't change hate targets anymore.
  5056. [Skotlex]
  5057. 2006/09/06
  5058. * Fixed the memset in status_calc_pc, corrects some mysterious bugs such as
  5059. item-drop bonuses suddenly not working anymore. [Skotlex]
  5060. * Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
  5061. [Skotlex]
  5062. * Fixed Aex Aeterna ending on Soul Breaker's first half. [Skotlex]
  5063. * Applied Orn's modification on speed increases/reductions with increase/
  5064. decrease agi [Toms]
  5065. 2006/09/05
  5066. * Removed setting mob_show_hp, it's been replaced now by mob_show_info,
  5067. which can be used to specify what kind of info should be displayed from a
  5068. mob. Current options are two different formats for Hp display, and current
  5069. level (monster.conf). [Skotlex]
  5070. * Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%
  5071. [Skotlex]
  5072. * Applied the Ultra Mage's suggestion to have the map server strip trailing
  5073. spaces/comments from the config files. It will also now print out when an
  5074. unknown config setting is found. [Skotlex]
  5075. * Fixed status change resistance not being invoked at all for pretty much
  5076. all cases. [Skotlex]
  5077. * Corrected SC_INTRAVISION not starting. [Skotlex]
  5078. * Fixed crash when attempting to read a Label as a string on a script
  5079. (thanks to End of Exam) [Skotlex]
  5080. * Fixed possible crash when changing a chat-room's owner (thanks to End of
  5081. Exam) [Skotlex]
  5082. * Fixed dispell removing SC_NOCHAT [Skotlex]
  5083. * Small fix which should correct skill_attack damaging hidden characters
  5084. when it shouldn't. [Skotlex]
  5085. * Fixed connect_until field being a smallint rather than int in the login
  5086. table (upgrade with upgrade_svn8630.sql) [Skotlex]
  5087. 2006/09/04
  5088. * Fixed crash when using Adaptation during an Encore. [Skotlex]
  5089. * Should have fixed manner being reset to 0 on logout while muted.
  5090. [Skotlex]
  5091. * Removed status_get_sc_tick, duration and chance are now both handled by
  5092. status_get_sc_def (this means status change duration and success rate
  5093. both will always follow the very same formula) [Skotlex]
  5094. * Fixed mob-kill experience getting screwed up when characters who did
  5095. damage die/logout at the moment the mob dies. [Skotlex]
  5096. * Should have fixed "sleep", thanks to Lance for figuring out the error.
  5097. [Skotlex]
  5098. * SC_REFLECTSHIELD will now be passed to devoted characters at cast-time.
  5099. [Skotlex]
  5100. * Added a check to make a mob's level 1 if the read level from the db is
  5101. less than it. [Skotlex]
  5102. * status_calc_misc will now be invoked in status_calc_bl even on the first
  5103. call, since status could have gone up due to skill bonuses. [Skotlex]
  5104. * Moved max HP/SP calculations to before invoking status_calc_misc
  5105. [Skotlex]
  5106. * Simplified distance and check_distance to use "aegis" methods (greater of
  5107. dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when
  5108. set, the previous method is used, and "for each in range" calls will also
  5109. check for distances, making most ground skills and battle system use real
  5110. circles instead of squares. [Skotlex]
  5111. 2006/09/03
  5112. * Fixed SC_BERSERK's no regen penalty lasting pretty much forever.
  5113. [Skotlex]
  5114. 2006/09/02
  5115. * SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather
  5116. than blocking all types of regen. [Skotlex]
  5117. * LK_BERSERK will now only block natural regen on state-end. [Skotlex]
  5118. * SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural
  5119. sp regen and not skill regen [Skotlex]
  5120. * SC_REGENERATION blocking will be cancelled on logout now. [Skotlex]
  5121. * Corrected SCB_LUK not updating SCB_BATK as well. [Skotlex]
  5122. 2006/09/01
  5123. * Corrected script_commands description of getequipid, it returns -1, not 0
  5124. on fail. [Skotlex]
  5125. * Fixed the mob-id check during pet_db loading, it will also now print when
  5126. a pet is not loaded due to having an invalid mob class specified. [Skotlex]
  5127. * The "delete_timer error/no such timer" report will now print the related function [Toms]
  5128. * The Clearing unused stack report will now print the related NPC [Toms]
  5129. * The duplicate npc report will now print the related file name [Toms]
  5130. * Added config setting "partial_name_scan", which specifies whether @ given
  5131. names should use a partial string lookup or absolute name lookup. Defaults
  5132. to no (gm.conf) [Skotlex]
  5133. * Expanded status_calc_misc so it may also calculate the batk of characters
  5134. as well as their regen data (if they have it) [Skotlex]
  5135. * Fixed a memory leak when using charsave_method:1 [Skotlex]
  5136. * Soul Breaker will now be affected by Lex Aeterna on both parts of the
  5137. attack. [Skotlex]
  5138. * Status changes with no skill and no SCB* data will now go through if they
  5139. have an SI* icon. This should fix SC_MIRACLE [Skotlex]
  5140. * Reverted switching a mob's adelay/amotion when the later is longer than
  5141. the former, now both get updated to amotion. [Skotlex]
  5142. 2006/08/31
  5143. * Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to
  5144. skill_counter_additional_effect [Skotlex]
  5145. * Simplified skillnotok_hom by using an invocation to skillnotok [Skotlex]
  5146. * Hopefully fixed BD_ADAPTATION [Skotlex]
  5147. * Homun won't lose any intimacy on death now. [Skotlex]
  5148. * Homun will be saved together with the master now (as long as the homun is
  5149. active) [Skotlex]
  5150. * Modified the error reporting in map_freeblock_unlock so that when there's
  5151. an error, the reported line number is the file's linenumber plus the
  5152. object's type *10000. This is for debug information to help track down the
  5153. already-freed error. [Skotlex]
  5154. * pc_adopt will now preserve the kid's job/job-level/experience. This means
  5155. that if you adopt a Swordman level 45, it will become a baby-swordman level
  5156. 45, with the exact same exp as before. [Skotlex]
  5157. * Fixed new mob's name not sent to the client when the mob is morphed [Toms]
  5158. * Added setting attack_walk_delay which specifies whether a character
  5159. should (or not) be able to move inmediately after starting a normal attack
  5160. (battle.conf). Defaults to 0 since that's what Aegis uses. [Skotlex]
  5161. * Fixed @summon's delete timer being screwed up. [Skotlex]
  5162. * Cleaned up a bit the summon script command. [Skotlex]
  5163. * Fixed the clone script command's delete-timer being screwed up. [Skotlex]
  5164. 2006/08/30
  5165. * Skill required-state will now only be checked on cast-begin, not
  5166. cast-end. [Skotlex]
  5167. * Added a check in status_calc_pc to prevent player rate adjustments from
  5168. from going below 0. [Skotlex]
  5169. * Removed sending normal-damage packets instead of skill packets for
  5170. splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
  5171. * Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
  5172. vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
  5173. minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]
  5174. * Fixed up char-sql compilation. [Skotlex]
  5175. * Added a message to @clearweather stating when climate changes will
  5176. dispel. [Skotlex]
  5177. * Corrected @hidenpc saying that it's command name was "@npcoff" [Skotlex]
  5178. * Updated itemdb reading on the char-sql server so that it reads both
  5179. item_db and item_db2 files (totally untested yet) [Skotlex]
  5180. 2006/08/29
  5181. * Added printing out whenever the irc-module attempts to connect, to debug
  5182. whether the map-server lag is due to this or not. [Skotlex]
  5183. * Mobs will now always chase players using hard-path seeks. [Skotlex]
  5184. * monster_ai&1 now only signals whether mobs should update their target
  5185. cell while chasing more frequently (rather than being state-driven like
  5186. Aegis) [Skotlex]
  5187. * Changed the defaults of view_range_rate and chase_range_rate to 120 to
  5188. aproximate better Aegis's view ranges (which are square areas and not
  5189. circles) [Skotlex]
  5190. * Applied Mpeg's work on GS [Toms]
  5191. ( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
  5192. * Fixed a syntax error in @showmobs [Toms]
  5193. * Added @showmobs. It shows selected mobs on your mini-map (excluding
  5194. mini-bosses & MVP) thanks to KarLaeda for the command [Lupus]
  5195. 2006/08/28
  5196. * Modified the dancing code and Moonlit Petals in particular, so that it is
  5197. treated as an ensemble like any other, it will just knockback people when
  5198. they step into it. [Skotlex]
  5199. * The memory leak reports will now print out in the logs also the revision
  5200. they belong to. [Skotlex]
  5201. * Cleaned up the scriptable npc-shop code, it should be crash-proof now.
  5202. [Skotlex]
  5203. * Added TK level-up buffs to SG too, and extended them to 10 min [DracoRPG]
  5204. * Added "Barefeet Mastery" effect to TK_RUN (thanks Tharis for both) [DracoRPG]
  5205. * Changed the produce_db format, now there's a skill-lv column right after
  5206. the skill-id column to specify required skill-level to craft this item.
  5207. [Skotlex]
  5208. * Modified the skill produce_db code to take into account the new skill-lv
  5209. requirement. [Skotlex]
  5210. * Fixed exp bonuses applying twice for the job-exp [Skotlex]
  5211. * @reloadbattleconf will now also update the ragsrvinfo table on the
  5212. char-server. [Skotlex]
  5213. * Fixed homun hp/sp growth rates stacking with HP/SP passive increasing
  5214. skills. [Skotlex]
  5215. 2006/08/27
  5216. * Fixed undefined reference to 'malloc_set' in log.c [Toms]
  5217. * Updated svn-revision reading, now it can read the new svn file system [Toms]
  5218. * Fixed a bug with homunc which could spawn on a non-walkable cell [Toms]
  5219. 2006/08/26
  5220. * Optional macro MEMSET_TURBO for faster low-level memory initializations. [Lance]
  5221. * Small bug fix in read_homunculus_expdb (a warning was always displayed) [Toms]
  5222. * Small adjustment on the mob_ai code which could fix mobs not chasing you
  5223. if you hit them from the maximum possible diagonal distance. [Skotlex]
  5224. 2006/08/25
  5225. * Cleaned some the skill unit removal added flag so that it signals whether
  5226. the skill is being force-removed, or it has "naturally expired". [Skotlex]
  5227. * The following skills will display a normal attack animation now:
  5228. NPC_WATERATTACK, NPC_GROUNDATTACK, NPC_FIREATTACK, NPC_WINDATTACK,
  5229. NPC_POISONATTACK, NPC_HOLYATTACK, NPC_DARKNESSATTACK,
  5230. NPC_TELEKINESISATTACK, NPC_SPLASHATTACK
  5231. * Skills that require a weapon and consume spirit spheres will no longer be
  5232. auto-tagged to require ammo. [Skotlex]
  5233. * Now MISC skills with delay 0 will also use the attack delay (if the skill
  5234. is tagged to do damage) [Skotlex]
  5235. * Added script commands roclass/eaclass to enable scripts to access eA's
  5236. job format. Read script_commands.txt and ea_job_system.txt for a more
  5237. complete explanation of how this job system works. [Skotlex]
  5238. * Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.
  5239. If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in
  5240. UNT_WARP_WAITING and will destroy it. [Toms]
  5241. ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102
  5242. when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE )
  5243. 2006/08/24
  5244. * Little cleanup on homunc's code [Toms]
  5245. * Modified @reloadmobdb & @reloadskilldb to reload homunc's db too [Toms]
  5246. * Now when a mob's adelay is set to be less than the amotion, both values
  5247. will be swapped (this is an attempt to understand how those mobs actually
  5248. work on aegis) [Skotlex]
  5249. * script command "isrefine" will no longer return always false for equip
  5250. positions above 6 (this has not been needed since the addition of the
  5251. refine column to tbe item_db many months ago) [Skotlex]
  5252. * Added NPC_CRITICALSLASH to the list of skills that display as a normal
  5253. attack. [Skotlex]
  5254. * Reverted the previous change, changed the pet capture code to try to
  5255. capture a mob based on their view class rather than actual class.
  5256. [Skotlex]
  5257. * Fixed the md->class_ variable not being updated when a mob's class is
  5258. changed. [Skotlex]
  5259. * Added setting clear_skills_on_warp to specify when a character's
  5260. land-based skills are deleted when the caster changes maps. Defaults to all
  5261. types. [Skotlex]
  5262. * Should have fixed Brandish Spear not passing the flag to skill_attack,
  5263. causing it to do miserable damage. [Skotlex]
  5264. * Warp Portal will no longer be removed when caster steps through it (this
  5265. is left to the new clear_skills_on_warp setting) [Skotlex]
  5266. * Cleaned up status_percent_change to switch equations when the target has
  5267. high hp to prevent overflows, also it will directly take hp/maxhp when a
  5268. rate of 100 or higher is passed to prevent calculations. [Skotlex]
  5269. * Traps and Land Elemental fields are no longer automatically removed on
  5270. map change (handled now by clear_skills_on_warp) [Skotlex]
  5271. * traps_setting &2 no longer does anything (handled now by blah blah)
  5272. [Skotlex]
  5273. * Applied some change from mpeg on Ninja Skills [Toms]
  5274. * Put HVAN_Explosion based on max_hp instead of current hp [Toms]
  5275. 2006/08/23
  5276. * Fixed mob_clone_spawn completely ignoring the mode variable. [Skotlex]
  5277. * Fixed Energy Coat reducing and consuming more than it should when you
  5278. have 100% SP [Skotlex]
  5279. * Cleaned up getmapxy script function, also added support for type 4 so
  5280. that it returns a player's homunculus position if such exists. [Skotlex]
  5281. * SC_ARMOR_ELEMENT looks like gone away from status_change_start since ... rev 6791.
  5282. Try to reimplement it. [Toms]
  5283. * Fixed HVAN_EXPLOSION [Skotlex]
  5284. * Frost Nova won't display a nodamage skill packet (still need to sort out
  5285. a way to fix the splash damaged packets) [Skotlex]
  5286. * Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknown [Toms]
  5287. * Added debug on "Inifity loop" to know which script is making this loop [Toms]
  5288. 2006/08/22
  5289. * More fixes to the splash code. Kamaitachi and Sharpshooting should
  5290. display correctly now. [Skotlex]
  5291. * Fixed a crash on the mobspawn script command. [Skotlex]
  5292. * Made SC_FLEET increase batk as well as watk. [Skotlex]
  5293. * Fixed gcc warning [Toms]
  5294. * Fixed AM_REST not closing the homunc status window [Toms]
  5295. * Fixed SC_NEN according to Mpeg [Toms]
  5296. * Added a ShowStatus("Terminating...\n") on login-server_sql [Toms]
  5297. * Some corrections to make Tatami Gaeshi work correctly. [Skotlex]
  5298. * Fixed SBR44 doing 100% more damage than it should. [Skotlex]
  5299. * Some more work on the splash skill code. Now splash-damaged enemies
  5300. should show no animation at all, just the damage-number, while only the
  5301. targetted character should still display the full skill animation.
  5302. [Skotlex]
  5303. * Modified the homun-txt file-save format to separate the name from the
  5304. rest of fields with tabs (like character saving does), this may fix homun
  5305. save/loading when using non-latin characters on the name, but be warned
  5306. that it also means the previous homun-data files are lost! (unless you
  5307. replace the comma before the start of a name with a tab) [Skotlex]
  5308. * getnameditem will now also work on stackable items [Skotlex]
  5309. * Corrected battle_calc_weapon_attack so that all skills ignore your
  5310. left-hand weapon, and that the Katar's double-attack damage bonus for the
  5311. offhand damage applies ONLY on normal attacks. [Skotlex]
  5312. * Fixed Resurrect Homunculus's % to 20*lv% [Skotlex]
  5313. * Added SQL update which should remove \' from guild names [Toms]
  5314. * Added option to disable character deletion of certain levels [Lupus]
  5315. check char_athena.conf for this option format
  5316. 2006/08/21
  5317. * Some more cleaning up of the splash skill code. Now the passed hit value
  5318. for the splash targetted mobs is 9 instead of 5, this allows multi-hitting
  5319. splash skills to display the number of hits correctly. [Skotlex]
  5320. * Fixed call homunc bug when the homunc was vapo and the master has change
  5321. of map [Toms]
  5322. * Fixed SQL-Guild Creation, guild name was escaped 2 times [Toms]
  5323. * Some cleaning of the splash skills. Updated skill-attack to enable again
  5324. passing of flag 0xF000 which signals that the skill level sent to the
  5325. client should be -1 (no skill name shouted). Should (hopefully) clear/clean
  5326. up a bunch of splash damage skill animation-related packets. [Skotlex]
  5327. * Homun saving won't cap hp/sp to max hp/sp since a homun can have higher
  5328. hp/sp than the one stated in the db (due to skill bonuses or status
  5329. changes) [Skotlex]
  5330. * Cleaned up some more the regen_data structure, so that
  5331. skill/sitting-skill related data is optional (since only players have it).
  5332. [Skotlex]
  5333. * Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values [Toms]
  5334. * Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID [Toms]
  5335. * Adjusted Glittering's success rate to 20+10*lv% [Skotlex]
  5336. * Corrected isequipped() so that cards will not be tagged as "used up"
  5337. unless all the specified items were found. [Skotlex]
  5338. * Fixed a confusion in skill_attack using the src instead of dsrc for some
  5339. calls, which was causing some problems with the KAITE check from AoE
  5340. spells. [Skotlex]
  5341. * Fixed ASC_BREAKER's misc damage part not having the ignore-element flag
  5342. set. [Skotlex]
  5343. * Moved homunc battle conf from misc.conf to homunc.conf [Toms]
  5344. * Some cleaning in skill.c in regard to homun skills. [Skotlex]
  5345. * Madness Canceller now stacks with other aspd bonuses, just like Berserk
  5346. does. [Skotlex]
  5347. * Removed config setting "muting_players", and expanded the manner_system
  5348. config to specify how having negative manner (mute) affects a player (see
  5349. battle/misc.conf). [Skotlex]
  5350. * Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode,
  5351. if 2 is used, it makes killing players give you a loss of 5 manner points.
  5352. [Skotlex]
  5353. * Fixed WS_WEAPONREFINE always failing when at less than job 50. [Skotlex]
  5354. * Fixed the Autosave routine not working when there's only one player
  5355. online. [Skotlex]
  5356. * Disabled command @rain since the client no longer supports it anyway.
  5357. [Skotlex]
  5358. * Fixed delitem not checking for the first slot's card, also optimized it
  5359. so that it doesn't checks on the other slots. [Skotlex]
  5360. 2006/08/20
  5361. * Added a check during mob_db loading so that the six basic stats, max hp
  5362. and max sp are never below 1, as this could cause crashes when using
  5363. certain skills. [Skotlex]
  5364. * Gravitation now only blocks the caster from using potions. [Skotlex]
  5365. * Corrected Madness Canceller letting you walk while the effect lasts.
  5366. [Skotlex]
  5367. * Splitted yet again ASC_BREAKER into a two-part attack. This time the
  5368. int-based damage is a MISC type attack, and gets reduced by skills as such.
  5369. [Skotlex]
  5370. * Fixed "int format, long unsigned int arg" warning [Toms]
  5371. * Fixed a warning when using cap_value(x, 0, x) on an unsigned value [Toms]
  5372. * Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos [Toms]
  5373. * Fixed homunc skill 8016 not considered as homunc skill [Toms]
  5374. * @useskill will now cause your homun to use the skill instead of you if
  5375. the skill is a Homun skill and you have an active homunculus. [Skotlex]
  5376. * Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me
  5377. that Vicious told him the chance was much lower like that) [Skotlex]
  5378. * Fixed some Homunc issues with HR servers (capping some values) [Toms]
  5379. * Added @hominfo command to obtain real values (not capped ones) [Toms]
  5380. 2006/08/19
  5381. * Fixed @homlvup bug [Toms]
  5382. * Fixed AM_REST & AM_RESU consumming SP if they fail [Toms]
  5383. * Fixed homunc spawning bug (they was spawned after an AM_REST + master warp for example)[Toms]
  5384. * Fixed GS_GROUNDDRIFT [Skotlex]
  5385. * Increased chance of GS_DESPERADO connecting to 20% [Skotlex]
  5386. * Fixed battle_calc_base_damage being called for the left hand even for
  5387. non-dual-wielding attacks. left-hand damage was being set to 0 later
  5388. anyway, so no exploit existed. [Skotlex]
  5389. * Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll
  5390. apply correctly when dual-wielding different types of weapons. [Skotlex]
  5391. * Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the
  5392. items (0x80000 should be for them and 0x100000 should be currently unused)
  5393. [Skotlex]
  5394. * Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
  5395. * Fixed HAMI_CASTLE [Toms]
  5396. * Fixed HLIF_CHANGE [Toms]
  5397. * Updated HLIF_BRAIN skill [Toms]
  5398. * Fixed homunculus intimacy on feeding [Toms]
  5399. * Added homunculus_friendly_rate battle config [Toms]
  5400. * Some compilation warnings fixed [Toms]
  5401. * Added skill's required item check on homunc skills [Toms]
  5402. * Add Condensed Red Potion as a required item for HLIF_HEAL [Toms]
  5403. 2006/08/18
  5404. * Little code cleanup on last fix [Toms]
  5405. * Fixed HLIF_HEAL healing the homunc instead of the master [Toms]
  5406. * Fixed HLIF_AVOID not increasing walk speed of master [Toms]
  5407. * Fixed the atk_rate (Turtle General Card) bonus not working on
  5408. dual-wielders. [Skotlex]
  5409. * Made HLIF_HEAL a self skill that auto-selects target to caster's master.
  5410. [Skotlex]
  5411. * Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE [Skotlex]
  5412. * Applied a correction to HVAN_EXPLOSION [Skotlex]
  5413. * Fixed Homun ASPD calculation being able to underflow and give you min
  5414. speed. [Skotlex]
  5415. * Added monster_ai&128 to make aggressive mobs ignore that behaviour of
  5416. always picking Homun targets above player targets regardless of who is
  5417. closer. [Skotlex]
  5418. * Fixed homun info packet being unable to display HP/SP correctly once the
  5419. values are above 32k. [Skotlex]
  5420. * Applied Mpeg's work on ninja [Toms]
  5421. * Fixed @homlvup [Toms]
  5422. * Added guild_aura (skill.conf) setting so you can specify when it works
  5423. and if it works on the guild-master itself. Defaults to working all the
  5424. time on everyone except GM. [Skotlex]
  5425. * Little code cleanup [Toms]
  5426. * Cleaned merc_hom_evolution to avoid free'ing/realloc'ing [Toms]
  5427. * Fixed "args of aFree is freed pointer" on Homunc deletion [Toms]
  5428. * Changed unit_free so that it receives which cleartype should be used when
  5429. the character is still on a map. Used this on status_damage so that mobs
  5430. that do not respawn when killed will properly display the death animation.
  5431. [Skotlex]
  5432. * Fixed Energy Coat consuming 10x less SP per hit than it should.
  5433. * Fixed signed/unsigned comparison issues with natural heal system [Toms]
  5434. 2006/08/17
  5435. * Vaporize will no fail when the homun is dead. [Skotlex]
  5436. * Corrected thhe double free issue that occurs when a homun dies and has no
  5437. intimacy left. [Skotlex]
  5438. * Fixed the charsave_method:1 saving/loading exp as signed ints rather than
  5439. unsigned. [Skotlex]
  5440. * Applied use of structure regen_data for a unified regen module. Natural
  5441. and skill-heal is handled by this structure, while sitting-skill-heal is
  5442. still player dependant (mostly because the other object types can't sit)
  5443. [Skotlex]
  5444. * Cleaned up the status calc code for homun by moving it from
  5445. status_calc_bl_sub_homun to status_calc_homun (where it should had always
  5446. been) [Skotlex]
  5447. * Updated SQL files [Playtester]
  5448. * Corrected map_random_dir algorithm [Toms]
  5449. * Fixed homunc natural heal and little code cleanup [Toms]
  5450. * Changed AM_CALLHOMUN Skill to spawn the homunc at 1 cell from his master [Toms]
  5451. 2006/08/16
  5452. * Fixed being unable to recast Adrenaline Rush to reset the duration
  5453. timers. [Skotlex]
  5454. * Cleaned up skill_get_range2 so that using range 0 for non-self skills
  5455. uses the caster's attack range. [Skotlex]
  5456. * Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized
  5457. homun. [Skotlex]
  5458. * Spirit of Wizard will now consume an item 7321 each time it blocks
  5459. reflected magic. [Skotlex]
  5460. * Added script command jobname, retrieves a given's class name as per the
  5461. appropiate msg_athena.txt entry (this command should had been added years
  5462. ago) [Skotlex]
  5463. * Fixed null-pointer crash on Evolving a homunculus. [Skotlex]
  5464. * @produce now can make any kind of equipment [Skotlex]
  5465. * Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster
  5466. and target. [Skotlex]
  5467. * AM_REST shouldn't be checking for a range now (since it's a self skill)
  5468. [Skotlex]
  5469. * Updated mob_ai so that mobs will use their rude-attacked skill when they
  5470. can't reach their current target. [Skotlex]
  5471. * Fixed the default txt config making pets be saved to the homun file
  5472. instead of to the pet file. [Skotlex]
  5473. * Now arrow-consuming skills where your main weapon is a whip or musical
  5474. instrument WILL count as arrow-type attacks, using the atk of the arrow and
  5475. all related bonuses. [Skotlex]
  5476. * Fixed some homun timer initialization code. [Skotlex]
  5477. 2006/08/15
  5478. * Applied multiple fixes which should take care of making homun save/load
  5479. work on TXT now. [Skotlex]
  5480. * Added Gatling Fever's batk bonus. [Skotlex]
  5481. * Some cleaning in status_damage which should prevent trying to free
  5482. already free'd pointers when unit_remove_map invokes unit_free (when
  5483. status_damage was going to invoke unit_free anyway) [Skotlex]
  5484. * Delete homunc's skills from sql when the homunc is destroyed [Toms]
  5485. * Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu [Toms]
  5486. * Updated vc-project files to compile with the new int_homun files.
  5487. [Skotlex]
  5488. * Hopefully fixed the crash when using charsave_method = 1 [Skotlex]
  5489. * Moved s_pet structure from map_session_data to pet_data, this enabled the
  5490. removal of a few redundant values in the pet_data structure (name, class,
  5491. equip) [Skotlex]
  5492. * Cleaned up some of the pet related @/# commands, same for some script
  5493. commands. [Skotlex]
  5494. * Pet offensive skills who's inf value is self will be casted on the pet
  5495. now (for stuff like Grand Cross) [Skotlex]
  5496. * Added homun saving/loading support to char-TXT. Note that this is
  5497. completely untested, so it may be as good as broken. [Skotlex]
  5498. * Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun
  5499. has no master (need to clean up this function later) [Skotlex]
  5500. * Tested char-txt load/save, it seems to be working fine, but you should
  5501. STILL backup, as I only launched the server (read old character format),
  5502. closed it down (saved into the new format) and relaunch it (read the new
  5503. format) and it didn't give problems (but there's still the possibility of
  5504. some field being read in the incorrect offset or such). [Skotlex]
  5505. * Updated the char save structure for char-TXT servers so that the homun id
  5506. will be saved, now also the map info (last point, save point, memo maps)
  5507. are now saved using the mapindex rather than the string. BACKUP BEFORE
  5508. UPDATING since this code isn't yet tested. [Skotlex]
  5509. * Cleaned up a bit the char-saving code, added overflow crash prevention in
  5510. case there are more memos than the max-allowed saved. [Skotlex]
  5511. * AM_CALLHOMUN can now be used to recall vaporized homuns. [Skotlex]
  5512. * AM_RESURRECTHOMUN will now fail when the homun is vaporized. [Skotlex]
  5513. * Added SCB_DYE which marks which status-changes need a forced cloth dye
  5514. change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status
  5515. uses it. [Skotlex]
  5516. * Asura Strike now moves you to the target on fail always (unless the
  5517. target does not exists or is in another map or there's a obstacle on the
  5518. way) [Skotlex]
  5519. * Corrected skill_attack_area hitting dead characters on it's splash range.
  5520. [Skotlex]
  5521. * Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable
  5522. SG to show the fly animation again, even if sometimes others will see him
  5523. as Santa. As for xmas cloth, it shouldn't make much of a difference since
  5524. the view class is changed to christmas anyway. [Skotlex]
  5525. * Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where
  5526. they automatically pick a spot around you. [Skotlex]
  5527. * Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now.
  5528. [Skotlex]
  5529. * Cleaned up some the hom evolution code. [Skotlex]
  5530. * Fixed SIGSEGV with homunc save [Toms]
  5531. 2006/08/14
  5532. * Removed support for negative autosave intervals, instead added a
  5533. minsave_interval setting which specifies which is the minimum time between
  5534. character saves. Default to 100ms (map_athena.conf). [Skotlex]
  5535. * Sacrifice no longer shows damage to self. [Skotlex]
  5536. * When Asura fails, the skill display will still come off. [Skotlex]
  5537. * Lots of cleaning of the Homun-code. Perhaps the crashes as of late will
  5538. be fixed now (reusing AM_CALLHOMUN seems to be the cause of them)
  5539. [Skotlex]
  5540. * Increased Run's walk speed bonus to 25->50% [Skotlex]
  5541. * Modified emergency_call setting to allow for more specific configuration
  5542. (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see
  5543. skill.conf for details. [Skotlex]
  5544. * Fixed script engine allowing scripts to set a player's zeny to negative
  5545. values. [Skotlex]
  5546. * Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
  5547. [Skotlex]
  5548. * When readjusting the fame-list, the last entry's id is also reset (may
  5549. fix characters appearing more than once on it?) [Skotlex]
  5550. 2006/08/13
  5551. * Removed @itemcheck as it was totally pointless. [Skotlex]
  5552. * Corrected states killer/killable being easily dispellable. [Skotlex]
  5553. * Fixed the totally wrong text messages being used for @killer/@killable
  5554. related atcommands, added appropiate entries to msg_athena [Skotlex]
  5555. * Magic and Misc attacks will now get type "flee" when they do less than 1
  5556. damage, this blocks them from causing additional status effects when they
  5557. are blocked. [Skotlex]
  5558. * Cleaned up a bit the Basilica code, it should now properly end when you
  5559. walk. [Skotlex]
  5560. * Fixed some logs not working when you enabled all logs. [Skotlex]
  5561. * Corrected unmute being a level 60 command by default (should be 80)
  5562. [Skotlex]
  5563. * Corrected the mapif_parse_PartyChangeMap function to correctly update
  5564. level-range when someone logs on/off, fixes being unable to set even-share
  5565. on once it's been broken even when the characters out of range logoff.
  5566. [Skotlex]
  5567. 2006/08/11
  5568. * Fixed Kagebunshin no Jutsu crashing for dyes > 0; though this solution
  5569. might seem hackish (changing clothes colour to 0 when it starts while
  5570. storing original colour back in val4, restoring original dye upon
  5571. end), I believe this is the best way there currently is to solve
  5572. the issue. [blackhole89]
  5573. * Fixed Dancers/Bards being able to use normal attacks while performing.
  5574. [Skotlex]
  5575. 2006/08/10
  5576. * Fixed the item group bonus not working. [Skotlex]
  5577. * Fixed songs/dances always being considered overlapped with themselves.
  5578. [Skotlex]
  5579. * Added some additional song/dance overlap code that should correctly
  5580. change the effect of songs/dances when they overlap. [Skotlex]
  5581. * Added a check so that the status-change packet is always send to self
  5582. when the inflicted char is a player disguised. [Skotlex]
  5583. * Code cleanup on homunc, they stay in memory until player disconnect or
  5584. homunc destruction [Toms]
  5585. * Corrected Advanced Jobs HP bonus from 30% -> 25% [Skotlex]
  5586. * Hopefully fixed family-party-even-share not breaking when a member logs
  5587. out. [Skotlex]
  5588. * Should have fixed the login-sql crash when passed user-name's length is
  5589. beyond the limit. [Skotlex]
  5590. * Changed setting attack_attr_none to affect all neutral-element attacks.
  5591. Basicly, this setting is now used to determine who can hit for full damage
  5592. always when using neutral-attacks (defaults to non-players) [Skotlex]
  5593. * Fixed two instances in the login-sql server where the ip in the log-login
  5594. table was being stored backwards. [Skotlex]
  5595. * Now when a skill's range is 0 and the skill is NOT casted on self, it
  5596. will take the basic weapon's range (without Vulture/Snake Eye bonus).
  5597. [Skotlex]
  5598. * Now when a duration is not specified, sc_start/sc_start2/sc_start4 will
  5599. try to guess the duration by extracting it from the skill_db (it uses
  5600. skill_get_time on whatever skill is associated to the status-change using
  5601. val1 as skill-level) [Skotlex]
  5602. * Some cleanups on trade_tradeaccept to prevent packets being resent when
  5603. they shouldn't. [Skotlex]
  5604. * Fixed syntax error in 'guild' create table statement [Toms]
  5605. 2006/08/09
  5606. * Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
  5607. * Fixed homunc skill up bug [Toms]
  5608. * Adjusted some the dance/song/encore code so that the source of an
  5609. ensemble will always get checked, so that walking out of an ensemble skill
  5610. should make it end now. However, it's likely this is not completely solved
  5611. yet and will require further tweaking. [Skotlex]
  5612. * Added crash protection to the mob_db txt reading when the mob_db file has
  5613. lines with insufficient number of columns. [Skotlex]
  5614. * Moved the class-change code from battle_calc_weapon_attack to
  5615. skill_additional_effect. Alchemist summons now also have a chance of
  5616. triggering polymorphing. [Skotlex]
  5617. * Removed the code which was auto-setting attacks that do no damage to type
  5618. FLEE, since that was disabling status-effects which should incur even when
  5619. the damage was blocked. [Skotlex]
  5620. * Trade requests will now fail when either character is unable to act
  5621. (character in storage, vending, interacting with an npc, petrified, etc)
  5622. [Skotlex]
  5623. * Heard skotlex voice, changed all msg_table[] into msg_txt() in atcommand.c [Toms]
  5624. 2006/08/08
  5625. * Fixed the char-server not invoking the party_calc_state function when the
  5626. third party-member is added to a party, hence failing to check for families
  5627. and disabling even share from them unless all three relog first (state is
  5628. correctly calculated when party is first loaded). [Skotlex]
  5629. * Crash-protections in the mail-checking function. [Skotlex]
  5630. * Some additional parenthesis on equipment check in pc_equipitem, seems to
  5631. have fixed the mid/lower headgear-sprites not showing up. [Skotlex]
  5632. * Added back missing state set to prevent Ankle-Snare from being retrieved
  5633. after the target dies. [Skotlex]
  5634. * Fixed compilation warning [Toms]
  5635. * Added a check to handle Spider Web as a targetted skill. If there's more
  5636. than one character on the targetted cell, a different one may get trapped,
  5637. but it will mostly do as it is now. [Skotlex]
  5638. * Added check to Asura so that it will move you to the target when it fails
  5639. ONLY when you can cast the skill on the target (not stunned, asleep, target
  5640. not hidden, etc) [Skotlex]
  5641. * Changed the map_freeblock_unlock code so that when there's an "already
  5642. free'd pointer" error, the memory manager will print out the invoking
  5643. function rather than map_freeblock_unlock, this should help fix it up next
  5644. time it happens and is reported. [Skotlex]
  5645. * Casting Kaensin will clear out Suiton and viceversa now. [Skotlex]
  5646. * Fixed drop-rates (@whodrops) getting duplicates when you use @reloadmobdb
  5647. [Skotlex]
  5648. * Fixed unjailing not sending characters to Prontera. [Skotlex]
  5649. * Fixed yet again AS_SPLASHER doing full damage on all characters. Now you
  5650. can use the NK split damage value in the skill_db if you want damage
  5651. divided by the amount of targets rather than by 2. [Skotlex]
  5652. * Fixed crash on the battle_drain functions. [Skotlex]
  5653. * Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by
  5654. other types of objects other than Homunculus. [Skotlex]
  5655. * Cleaned up the Asura Strike code so that the SP/Spheres/States is not
  5656. consumed when the skill fails due to Fog of Wall. [Skotlex]
  5657. * When a negative delay for a skill is specified, this delay is now added
  5658. on top of the character's amotion rather than adelay [Skotlex]
  5659. * Modified main.sql to make the guild table allow NULL on the emblem data.
  5660. [Skotlex]
  5661. * Added file conf-tmpl/Changelog.txt to log config changes. [Skotlex]
  5662. 2006/08/07
  5663. * Fixed the login-sql server replying to the change-sex packet with the
  5664. wrong gender, causing the char-server to screw-up job-change updates.
  5665. [Skotlex]
  5666. * Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD work as
  5667. described on the docs now, this should also fix adopting not correctly
  5668. giving the family-related skills. The flag value of skill should be: 0 to
  5669. set the skill (if skill level is 0, this removes a learned skill), 1 grants
  5670. the skill as an item bonus which is temporary, and 2 will add a skill bonus
  5671. like 1, except the skill level adds up to whatever level already known of
  5672. that skill. [Skotlex]
  5673. * Fixed EQP_WEAPON related code messing up with both weapon AND shield.
  5674. [Skotlex]
  5675. * Cleaned up the Asura code so that when the skill fails your
  5676. SP/Spheres/Fury are all taken away always, as well as moving you next to
  5677. the target (as long as the target still exists within a reachable path from
  5678. your position) [Skotlex]
  5679. * SC_GUILDAURA is now removed on logout. [Skotlex]
  5680. * Fixed Venom Splasher doing half-damage instead of full-damage to the
  5681. "exploding" character. [Skotlex]
  5682. * Hopefully fixed the party_even_share cast-overflow bug as reported by
  5683. Adobe. [Skotlex]
  5684. * Standarized the autosave interval setting to be always in seconds
  5685. regardless of type. [Skotlex]
  5686. * Moved the "bosses can't be knockback" logic from battle_calc_* functions
  5687. and placed it on skill_blown. [Skotlex]
  5688. * Some parenthesis cleanup before invoking battle_calc_base_damage, could
  5689. be fixing the current issue with arrow attacks not adding the arrow damage.
  5690. [Skotlex]
  5691. * Fixed the map_search_freecell error which was making mobs fail to
  5692. respawn. [Skotlex]
  5693. * Added in Lupus's suggestion of not making multi-slot headgears set all
  5694. slot view-ids, which supposedly causes the client to re-draw the headgear
  5695. multiple times on characters. [Skotlex]
  5696. * Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
  5697. [Skotlex]
  5698. * Simplified the Tatami Gaeshi code. [Skotlex]
  5699. * Fixed AS_SPLASHER doing full damage on everyone except targetted char
  5700. instead of the other way around. [Skotlex]
  5701. * Fixed KAENSIN clearing out SUITON cells and viceversa. [Skotlex]
  5702. * The spawn area is now seen as range rather than absolute for mob spawn
  5703. lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around
  5704. the given x,y point. [Skotlex]
  5705. * Some clean up of the mob-spawn code. Now you can specify negative areas,
  5706. so that a spawn location such as 100,150,0,-1 will spawn a mob always on
  5707. x=100, but any Y value of the current map. [Skotlex]
  5708. * Reflected damage will now also have a chance of draining hp/sp. [Skotlex]
  5709. * Adjusted the order in which option/sc change packets are sent to match
  5710. Aegis's [Skotlex]
  5711. * Added script command getpartyleader through which you can retrieve
  5712. various information of a party's leader. See doc/script_commands.txt for
  5713. further information. [Skotlex]
  5714. * mpeg's Ninja work [Vicious]
  5715. * Adjusted Battle_check_target so that alchemist summoned mobs are
  5716. targetted by everyone as long as 1. The top-level master is a player and 2.
  5717. the actual attacker is not a mob-type. [Skotlex]
  5718. * Added config force_random_spawn which overrides the spawn-files defined
  5719. coordinates to make all mobs always spawn randomly on the map. [Skotlex]
  5720. * SC_SPEEDUP0 is no longer dispellable by SA_DISPEL [Skotlex]
  5721. 2006/08/06
  5722. * Updated item_db.sql & mob_db.sql to latest. [Toms]
  5723. * Little fixes on homunc (hp/sp are now saved and init stats changed) [Toms]
  5724. 2006/08/04
  5725. * Added a commented piece of code at the end of clif_parse_LoadEndAck which
  5726. will update your direction to wherever you were facing before warping.
  5727. Should this be the default? Nearby people DO see you facing on the same
  5728. direction before warping, it's only your client that will always see you
  5729. facing north on spawn (the spawn packet does contain direction
  5730. information). [Skotlex]
  5731. * Updated @mobinfo to display slots in the drop information. [Skotlex]
  5732. * Fixed flag.elefix not being respected in battle_calc_misc_damage.
  5733. [Skotlex]
  5734. * Some code cleanups in battle_calc_damage. [Skotlex]
  5735. * Modified bAddItemHealRate so it can receive both item-id and item-group
  5736. values (since the first item-id is +500, there's no risk of mixing them
  5737. up). [Skotlex]
  5738. * Removed settings enemy_critical_rate, homun_critical_rate. Added settings
  5739. enable_critical (defaults to specify only players), mob_critical_rate and
  5740. critical_rate. The last applies to all non-mobs and non-players
  5741. (battle/battle.conf) [Skotlex]
  5742. * Removed settings mob_npc_warp, mob_warpportal. Replaced with setting
  5743. mob_warp which specifies which types of warp can a mob step into
  5744. (battle/monster.conf) [Skotlex]
  5745. * Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out
  5746. of the mastery function so that it may apply to all skills except Soul
  5747. Breaker. [Skotlex]
  5748. * Changed name of the setting log_pick to log_filter since that's what it
  5749. does now. [Skotlex]
  5750. * Modified enable_logs so that instead of a 0/1 setting, you can specify
  5751. which kind of events to log (so you can use a combination), see log_athena
  5752. for the bitmask configuration. [Skotlex]
  5753. * Cleaned a bit the contents of log_athena.conf
  5754. * Hide/Chasewalk will again stop screaming skill name. [Skotlex]
  5755. * Soul Breaker will no longer receive Mastery damage. [Skotlex]
  5756. * Fixed warning:'type' might be used uninitialized in this function [Toms]
  5757. 2006/08/03
  5758. * Added a check to skip the experience share of characters who are dead or
  5759. on another map. [Skotlex]
  5760. * Reverted the previous change, chasewalk has no icon, only the str-bonus
  5761. has that fist icon now. [Skotlex]
  5762. * Allowed chase-walk to display a skill animation when using it. [Skotlex]
  5763. * Readjusted the Chasewalk icon to be as it should be. [Skotlex]
  5764. * GS_DESPERADO is now a short-range attack skill. [Skotlex]
  5765. * Changed the Battle-Orders icon to be the Strength Up icon (for
  5766. Chasewalk's str bonus). [Skotlex]
  5767. * Fixed using the right-hand weapon's size modifiers regardless of which
  5768. weapon's damage was being calculated in regards to. [Skotlex]
  5769. * Simplified the ignore-size check by making the Weapon Perfection check be
  5770. done when specifying the flag, also moved the size-fix property of riding
  5771. spear-knights to status_calc_pc. [Skotlex]
  5772. * Changed SI_CHASEWALK value to 119 as concluded by LoneWolf [Skotlex]
  5773. * Corrected clif.c sending the raw mdef2 value to the client instead of
  5774. first substracting the "secret vit/2" bonus from it. [Skotlex]
  5775. * Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent
  5776. overflows. It is not capped to INT_MAX because damage increasing skills
  5777. would cause it to still overflow afterwards. [Skotlex]
  5778. * Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the
  5779. code. [Skotlex]
  5780. * Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks
  5781. should happen before a mob uses the rude-attacked skill. Value has been set
  5782. to 2 for now. [Skotlex]
  5783. * Now when a mob changes target (to someone they can hit) their
  5784. rude-attacked count won't be reset, but instead will be reduced by one.
  5785. [Skotlex]
  5786. * SC_SPEEDUP0 can now stack with the other speed raising buffs. [Skotlex]
  5787. * Some adjustments so that the last-skill-used will be correctly cleared
  5788. when your combo-time ends. [Skotlex]
  5789. * Fix a bug in atcommand_charspeed [Toms]
  5790. * Fixed a logic error preventing from cooking anything [DracoRPG]
  5791. * Cleaned up the last NJ update code. [Skotlex]
  5792. * Added @ command `charspeed` [Skotlex]
  5793. * Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL [Skotlex]
  5794. * Removed case for GS_SPREADATTACK on damage packets to see if the skill
  5795. displays correctly now. [Skotlex]
  5796. * Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are
  5797. removed, NOT the ones who were already placed. [Skotlex]
  5798. * Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix
  5799. icon-confusion when both are enabled at a time. [Skotlex]
  5800. * Mob rude-attacked count is not reset now on picking a new char (gotta
  5801. investigate this further) [Skotlex]
  5802. * Changed atoi to strtoul for guild-experience's field [Toms]
  5803. * Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
  5804. 2006/08/02
  5805. * Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
  5806. Silence now ONLY blocks skills from being used, it will not stop on-going
  5807. casts. [Skotlex]
  5808. * Updated status_cast_cancel to also include silence (so the cast bar is
  5809. cancelled if you are silenced during it) [Skotlex]
  5810. * Updated the way SC_SILENCE works. From what I remember (from previous
  5811. forum discussions) it: 1- Always blocks skills from being used. 2- Will
  5812. only block a skill when the cast-bar ends IF the skill is targetted. If
  5813. anyone wants to debate to get this changed, make an appropiate forum topic
  5814. in the svn development area to discuss. [Skotlex]
  5815. * Added a check in the walking code when triggering skills.
  5816. NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend
  5817. the walk packet, this effectively causes the mob to start walking
  5818. (clientside) while the cast-bar is showing. [Skotlex]
  5819. * Fixed a logic error on battle_get_master which was causing infinite
  5820. loops.. [Skotlex]
  5821. * Fixed homunculus error message [Toms]
  5822. * Rewrote pc_payzeny to not use doubles, it may more accurately prevent
  5823. charging a player more zeny than they can withhold. [Skotlex]
  5824. * Fixed failing to create Deadly Poison Bottles damaging 50% of your max
  5825. life instead of 25% [Skotlex]
  5826. * Added the missing status-change flags to SC_FREEZE to signal it should
  5827. modify def and magic def [Skotlex]
  5828. * Little add on NJ_HUUMA [Toms]
  5829. * Merged Mpeg's work on Ninja skills [Toms]
  5830. * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex]
  5831. * Now you can teleport in Thanatos Boss room, but you can't respawn there [Playtester]
  5832. * Fixed Defender Raising Walk speed instead of diminishing it. [Skotlex]
  5833. * Added a check on status-change load to prevent loading speed-affecting
  5834. status when their speed adjustment is 0 (prevents division by zero)
  5835. [Skotlex]
  5836. * Code cleanup & optimization on guild part of char-server [Toms]
  5837. * Fixed script code data not being free'd if a player quits in the middle
  5838. of a script. [Skotlex]
  5839. * Modified run_script so that when there are leaks, it will report the
  5840. place where run_script was called from as source rather than the inner code
  5841. of run_script (for debugging purposes) [Skotlex]
  5842. * Made recursive master check the default (otherwise it messes skill -> pet
  5843. -> player kind of herarchies) and cleaned up some the battle_get_master
  5844. code to prevent infinite loops in the weird case someone specifies that
  5845. their master is itself. [Skotlex]
  5846. * Recoded the GuildAura code to use val3 & val4, allowing much greater stat
  5847. bonuses (in case someone wants to get Guild Skill level 20 or something
  5848. crazy like that) [Skotlex]
  5849. * Updated battle_check_target so that all alchemist summoned mobs can be
  5850. target by everyone. [Skotlex]
  5851. * Cleaned up skill_check_condition_mob_master_sub, it will now count both
  5852. total number of summoned mobs and amount that belong to the same type.
  5853. [Skotlex]
  5854. * Corrected AM_CANNIBALIZE so it will fail if you already have plants of
  5855. another type out. [Skotlex]
  5856. * Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
  5857. [Skotlex]
  5858. * Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now
  5859. Volcano/Deluge/V. Gale will get that funky icon instead. [Skotlex]
  5860. * Changed clif_hominfo to receive both sd and hd as parameters
  5861. * Some redundancy cleaning in mercenary.c [Skotlex]
  5862. * Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
  5863. [Skotlex]
  5864. 2006/08/01
  5865. * Miscellanous fixes which make the Marine Sphere self destruction work as
  5866. best as I can. It only has one flaw: It self-destructs instantly after
  5867. walking because if I make it use self-destruction with a cast-bar,
  5868. client-side the object stops moving inmediately... [Skotlex]
  5869. * Modified unit_walktoxy and NPC_RUN to enable running even when the caster
  5870. does not has the MD_CANMOVE bit on. [Skotlex]
  5871. * PF_MINDBREAKER will now silently fail if you try to use it on someone who
  5872. already has the status active. [Skotlex]
  5873. * Cleaned up yet again skill_landprotector, now new cells of
  5874. Deluge/Volcano/V.Gale will delete previous cells when they are recasted on
  5875. top of each other. [Skotlex]
  5876. * Summoned Marine Spheres no longer get the MD_CANMOVE bit. [Skotlex]
  5877. * Cleaned up some more the SC_JAILED code [Skotlex]
  5878. * merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru
  5879. and Coltaro for the code. [Skotlex]
  5880. * Cleaned the code of atcommands jail and unjail [Skotlex]
  5881. * Be warned that the code MAY contain bugs as I adjusted it to save the
  5882. character's position before jailing, allowing the automatic unjailing to
  5883. warp you back to the exact spot you were at before being jailed. [Skotlex]
  5884. * Should have fixed the cooking sets not displaying all cooking available
  5885. items. [Skotlex]
  5886. * Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
  5887. really working. Thanks to Mpeg for noting it out. [Skotlex]
  5888. * Modified Self Destruction, so that Marine Spheres in non-versus maps will
  5889. hurt only enemies, while in all other situations this skill will hurt
  5890. everyone around them. [Skotlex]
  5891. * Expanded setting debuff_on_logout so that &1 removes negative buffs and
  5892. &2 removes positive buffs. [Skotlex]
  5893. * Food status boosts will no longer end on death, but they will end when
  5894. you respawn or logout. [Skotlex]
  5895. * Added battle config file status.conf, moved some settings from skill.conf
  5896. and battle.conf to it since they are entirely Status-Change related.
  5897. [Skotlex]
  5898. * Added the missing lines to enable script command "kickwaitingroomall"
  5899. [Skotlex]
  5900. * Magic Rod's can-act delay will no longer be applied when you absorb a
  5901. spell. [Skotlex]
  5902. * Fixed Don't Forget Me increasing speed instead of decreasing it. [Skotlex]
  5903. * Modified setlabel so that the script engine barks when you are trying to
  5904. use the same label name as a constant or variable name. [Skotlex]
  5905. 2006/07/31
  5906. * Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame
  5907. rankings. [Skotlex]
  5908. * Updated Poison React chance to counter and number of counters as per
  5909. skill description updates. [Skotlex]
  5910. * Fixed Sharpshooting being counted as a magic attack, and hence, using
  5911. your MATK as base damage. [Skotlex]
  5912. * Fixed NPC_STOP id value in skill_cast_db [Skotlex]
  5913. * Bladestop will no longer stop when you push either of the characters
  5914. around. [Skotlex]
  5915. * Fixed Enchant Poison having a near 100% chance of poisoning target on
  5916. attack. [Skotlex]
  5917. * Little fix on duel [Toms]
  5918. * Added possibility to restrict duel usage to same map [Toms]
  5919. * Merged mpeg's fix on ninja skills [Toms]
  5920. * Corrected a status_get_race call which should be status_get_race2 in misc
  5921. attacks. [Skotlex]
  5922. * Moved the Devotion code to the top of the SC list in status_damage,
  5923. meaning that now stuff like being asleep or confused won't end if you are
  5924. hit, but the damage is absorbed by devotion. [Skotlex]
  5925. * Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no
  5926. information of how much the bonus should be, it currently is a conservative
  5927. 10%. [Skotlex]
  5928. * Fixed a possible crash in the main script engine when restoring previous
  5929. script. [Skotlex]
  5930. * Fixed sleep.tick not being set back to 0 before resuming execution, which
  5931. leads to scripts that are continously executed even when they already ended
  5932. (they do nothing but waste resources) [Skotlex]
  5933. * Fixed a pair of free -> aFree used on stacks, which would lead to memory
  5934. manager reporting leaks where there aren't. [Skotlex]
  5935. * Removed incorrect "Waterball range+1 when standing on suiton" feature.
  5936. [Skotlex]
  5937. * Corrected the Speed update code to prevent sending "walk to xy" packets
  5938. twice when the affected character is a player. [Skotlex]
  5939. * Expanded mob can't move warning to print out where this mob was stuck at
  5940. (map, x,y) [Skotlex]
  5941. * Fixed segmentation fault in status_change_end, vd wasn't initialized [Toms]
  5942. 2006/07/30
  5943. * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
  5944. level, so that at level 1 they can attack, use skills and receive no
  5945. walking penalty. [Skotlex]
  5946. * Mob casted Sanctuary will no longer always heal it's targets regardless
  5947. of element/race [Skotlex]
  5948. * Status change packets will now use as criteria for sending the actual
  5949. view_class instead of player/not-player. This will fix status-changes
  5950. displaying improperly on clones, and also possible crashes with disguised
  5951. players. [Skotlex]
  5952. * Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE [Toms]
  5953. * Added bNoMiscDamage setting so you can specify misc-damage blocking from
  5954. skills. Modified battle_calc_damage so that even Pressure and similar
  5955. skills will be affected by this setting. [Skotlex]
  5956. * GS skill updates/fixes [Vicious]
  5957. * Force all users offline in sql when char-server starts [Toms]
  5958. 2006/07/29
  5959. * Removed ugly struct cast in login.c [Toms]
  5960. * New version of buildin_query_sql which accept more than one column and
  5961. can return the number of rows. See script_commands.txt for more details. [Toms]
  5962. * Fixed nullpo in merc_hom_skillup [Toms]
  5963. * Added a return value to buildin_rid2name if rid is invalid [Toms]
  5964. * Made the SQL ping interval default to 7 hours. [Skotlex]
  5965. * Made skill_unitsetting remove the group when no unit-cells were placed
  5966. down. basicly this means that if landprotector blocks all tiles, the group
  5967. will be removed from memory, preventing said group from counting to the
  5968. total number of skills you can set. [Skotlex]
  5969. * Fixed segmentation fault in script engine when calling something which is not a function [Toms]
  5970. * Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
  5971. 2006/07/28
  5972. * Added Ishizu's code to check ammo type on attack. No more using Grenade
  5973. rounds with Guns. [Skotlex]
  5974. * offensive heal/sanctuary will only happen when the source of the heal is
  5975. a player, mob/pet casted heal will now always heal regardless of target.
  5976. [Skotlex]
  5977. * Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
  5978. [Skotlex]
  5979. * Self destruction will now hit all characters in range, not just enemies.
  5980. [Skotlex]
  5981. * Cleaned up the NJ update code: [Skotlex]
  5982. - Restored code which was removed (stuff like SC_SKA)
  5983. - Fixed possible crashes on some NJ skills if used by non-players.
  5984. - Fixed most NJ magic spells doing more damage than they should.
  5985. - Fixed ZenyNage being able to do more damage than zeny you have.
  5986. - Cleaned up skill setting code for Suiton and Kaensin
  5987. * Some cleaning of battle_drain, Evil Druid card should work now. [Skotlex]
  5988. * Made status_damage allow damaging of objects not on a map, this should
  5989. fix pet-catching making the mob never respawn again. [Skotlex]
  5990. * Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same :) [Toms]
  5991. * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
  5992. * Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
  5993. * Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
  5994. * Fixed sign warnings in login/login.c [Toms]
  5995. * Fixed "conversion from 'double' to 'int', possible loss of data" [Toms]
  5996. * Fixed "warning: redefinition of [ushort/uint/ulong]" [Toms]
  5997. * Fixed duplicate case value on NJ_SUITON [Toms]
  5998. 2006/07/27
  5999. * Fixed a memory leak when there exists more than one user function with
  6000. the same name, added the appropiate warning when this happens. [Skotlex]
  6001. * Added reporting source file when an npc shops item's price is
  6002. exploitable. [Skotlex]
  6003. * The picklog will now record negative values for items sold to npcs.
  6004. [Skotlex]
  6005. * Added inmediate position and hp-bar update when a character joins a
  6006. party. [Skotlex]
  6007. * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
  6008. * Added config setting party_update_interval so you can specify how often
  6009. the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]
  6010. * Removed a bunch of broken comments in skill.c [Skotlex]
  6011. * Synced the script.c file with as much data as possible from jA's:
  6012. [Skotlex]
  6013. - A lot of functions were moved around, a bunch of indentation and
  6014. space-usage changes were done to make it easier to diff against their
  6015. files.
  6016. - Miscellanous addition and corrections were applied.
  6017. - Largest one is likely a restructuring of run_script_main, which hopes to
  6018. solve the memory leaks.
  6019. - script engine now uses the setjmp functions to restore memory state when
  6020. there's an error parsing scripts, which means that script errors won't
  6021. cause the map-server to inmediately bail out anymore.
  6022. - NOTE that the amount of changes is pretty extensive, so DON'T USE THIS on
  6023. a live server. Update only to help test and debug to see if the script
  6024. engine memory leaks are gone.
  6025. * Added a cleanup routine on shutdown to remove all characters from memory
  6026. for whom the save ack has not returned from the char-server yet. [Skotlex]
  6027. * Now when you set the guardian's HP, if the guardian is spawned, it's HP
  6028. will be updated accordingly (and if you set it to 0, the guardian is
  6029. killed) [Skotlex]
  6030. * Added functions status_set_hp/status_set_sp to set hp/sp to a given
  6031. value. Applied usage of these on the Berserk and Soul Change code.
  6032. [Skotlex]
  6033. * Added config setting "party_hp_mode" (battle/party.conf) which determines
  6034. method to use to update party-mate hp bars. Aegis style is to update HP
  6035. bars whenever HP changes, while eAthena style is to update it together with
  6036. the map party dots. Defaults to aegis style. [Skotlex]
  6037. * Fixed packet 0x22a having the manner and opt3 packets in inverted
  6038. offsets. [Skotlex]
  6039. * Readded the check which prevents Cloaking from activating when your
  6040. learned level is less than 3 and you aren't next to a wall. [Skotlex]
  6041. * Some cleanups to the Frenzy/Berserk status change, it should probably
  6042. work correctly now. [Skotlex]
  6043. * Removed a redeclared variable i in the parsing of the fame list (char-sql
  6044. server) which seems to be the cause of the random memory corruptions.
  6045. [Skotlex]
  6046. * Updated item_db.sql to latest. [Toms]
  6047. * Fix homunc & code cleanup [Toms]
  6048. - Timer problems on delete_timer
  6049. - Intimacy problem (overflow & new values)
  6050. - Homunc deleted if intimacy < 0
  6051. - base exp is now given to master
  6052. - Homunc sometimes not saved
  6053. 2006/07/26
  6054. * Fixed a memory leak when reading the item_db txt. [Skotlex]
  6055. * Applied the necessary changes to make @partyoption reflect it's changes
  6056. on the alt+p window. [Skotlex]
  6057. * Modified party_item_share_type config setting so that using 1 disables
  6058. item-sharing from non-mob loot (player dropped items or pet loot) and 2
  6059. enables round-robin instead of random sharing. Using 3 obviously is
  6060. enabling both 1 and 2. [Skotlex]
  6061. * Added battle_get_master which returns the master bl of a given object.
  6062. [Skotlex]
  6063. * Recoded battle_check_target to use battle_get_master, the src/target
  6064. switch has been split into two, so that actual target and master target are
  6065. seperately treated (same for source). [Skotlex]
  6066. * Added support for "sc_end -1" which will clear all status changes. Added
  6067. the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
  6068. [Skotlex]
  6069. * @pettalk will now fail when muted. [Skotlex]
  6070. * Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
  6071. 2006/07/25
  6072. * Cleaned up run_script_main to properly free previous stack-data when
  6073. running scripts. Note that scripts may still leak memory when run by
  6074. non-players and they don't reach the "END" state, however I am not sure how
  6075. this case should be handled, so it's left as it is for now. [Skotlex]
  6076. * Added a missing ntohl call in the loginlog code. [Skotlex]
  6077. * Added a check when buying from npcs to allow buying of item_avail items.
  6078. [Skotlex]
  6079. * Fixed duel accept invite sending the packet before the duel data is set
  6080. (resulting in a packet that noone receives). Thanks to Toms for finding it
  6081. out. [Skotlex]
  6082. * Fixed a possible crash when you dual-wield and the total damage is 0.
  6083. [Skotlex]
  6084. * Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
  6085. they convert the txt databases into sql. [Skotlex]
  6086. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
  6087. * Updated the sql files since now it's quick [Skotlex]
  6088. 2006/07/24
  6089. * Re-updated the mob_db.sql to latest. [Skotlex]
  6090. * Cleaned up the skill_landprotector function to correctly block only magic
  6091. skills from being placed on land protectors. [Skotlex]
  6092. * Corrected itemdb_group so that it will not return the random item givers
  6093. (should give priority to actual item groups, so that the item heal bonuses
  6094. work correctly) [Skotlex]
  6095. * Cleaned up the Mistress Card related code so that the no-gemstone bonus
  6096. reduces item requirements by one rather than totally skip them. [Skotlex]
  6097. * Cleaned up the logs "can log"function to use the IT constants. Also
  6098. corrected the "only log large amounts" setting not working on negative
  6099. values (trades). [Skotlex]
  6100. * Adjusted skill_castfix_sc so that Suffragium will get consumed even on
  6101. instant cast skills, but Memorize won't. [Skotlex]
  6102. * BladeStop will now end when either of the characters is moved (knocked
  6103. out?) around. [Skotlex]
  6104. * Moved the Zeny penalty code from respawn to pc_dead. [Skotlex]
  6105. * Added a check to prevent Deluge/Volcano/Violent Gale from being placed on
  6106. top of each other. Reverted the previous 'fix' where atk was being
  6107. increased based on armor element rather than element of attack. [Skotlex]
  6108. * Removed the noreturn mapflag check from script command warp. [Skotlex]
  6109. * Homuculus cleanup [DracoRPG]
  6110. - Replaced nullpo's in parse functions by silent checks
  6111. - Removed server-side effect for menu option 0 (view status window...
  6112. why does the client send us the packet since we don't care? -_-)
  6113. - Rewrote intimacy underflow checks so they are really effective (no
  6114. need to check if an unsigned is < 0, it won't work... check before!)
  6115. * fixed unban unblocking players as well. [Skotlex]
  6116. * Fixed Volcano/Deluge/Violent Gale increasing damage based on element of
  6117. attack instead of defense element of attacker. [Skotlex]
  6118. * Cleaned up the code of Magic Rod, fixed it not giving SP. [Skotlex]
  6119. * Moved the code of Hermod and Basilica to castend_pos2 so it should work
  6120. now. [Skotlex]
  6121. * Modified the code of Ankle Snare so the status ends on unit's time-limit
  6122. rather than when the snared object moves away. [Skotlex]
  6123. * Re-worded the water check of ST_WATER skills. [Skotlex]
  6124. * Allowed sc-cast reductions to be processed even when cast-time is instant
  6125. (to let suffragium end even on instant-cast skills) [Skotlex]
  6126. 2006/07/23
  6127. * Modified setting skillrange_by_weapon (skill.conf) to be a
  6128. per-object-type setting instead of yes/no. The default now is that
  6129. weapon-based skills will take the attacker's range for non-players.
  6130. [Skotlex]
  6131. * Changed the default of skillrange_by_distance to include homunculus.
  6132. [Skotlex]
  6133. * Fixed buildin_isequip not working correctly with non-cards. [Skotlex]
  6134. 2006/07/22
  6135. * Updated mob_db.sql to latest. [Skotlex]
  6136. * Applied Toms's suggested corrections to homun code. [Skotlex]
  6137. * Corrected Cannibalize/Marine Sphere ignoring the selected summon spot.
  6138. [Skotlex]
  6139. * Fixed looting pets ignoring the item pick-up priority of other players.
  6140. [Skotlex]
  6141. * Should have fixed a signess warning in login txt. [Skotlex]
  6142. 2006/07/21
  6143. * Added blocking of @me when muted or in berserk status. [Skotlex]
  6144. * Corrected the @follow timer not being deleted on logout. [Skotlex]
  6145. * Applied the homunculus code fixes provided by Toms. [Skotlex]
  6146. * battle_check_target will now tag homunculus as invalid target when the
  6147. source is a skill-type object. [Skotlex]
  6148. * Added a check on pc_equipitem so that when the client specifies to equip
  6149. a weapon on the right hand when the left hand is available, the weapon will
  6150. be sent to the left hand instead (when dual-wielding is possible,
  6151. obviously). Same for the left/right accessories. [Skotlex]
  6152. * Added the necessary checks so that Suiton makes Fogwall have double
  6153. duration, and to make water-requiring skills to consume their cells.
  6154. [Skotlex]
  6155. * Corrected the loadmap event description to specify that the mapflag
  6156. required is actually "loadevent", NOT "loadmap"! [Skotlex]
  6157. * Now when the char-txt server does not finds a requested party, it will
  6158. clear out said party id of all characters (will help prevent massive
  6159. spamming/overhead when for some reason the party file needs to be deleted).
  6160. [Skotlex]
  6161. * Combo skills (inf = self, inf2 = no target self) no longer check range if
  6162. you use them while your attack-timer is still active. [Skotlex]
  6163. * Added back a map_freeblock call in skill_delunitgroup which caused a
  6164. memory leak when removed... [Skotlex]
  6165. * Added a check to prevent Blind from ending while standing on a fog of
  6166. wall. [Skotlex]
  6167. * The mob Slave ai will be executed now even when the slave has a target.
  6168. This will allow for "instant" warping to the master when it changes maps or
  6169. teleports. if the slave has a target already, it won't unlock it and chase
  6170. back to the master or anything like that. [Skotlex]
  6171. * Removed a couple of checks that prevents item ids above 20000. However,
  6172. remember that the max id is still ~32k or the client is the one who's gonna
  6173. crash! [Skotlex]
  6174. 2006/07/20
  6175. * Added source reporting when you do an invalid int&str or str&int
  6176. operation on a script. [Skotlex]
  6177. * Fixed the intif party creation packet having the incorrect size sent,
  6178. hence causing the leader's level to be read as garbage (which caused the
  6179. "impossible to even share" bug). [Skotlex]
  6180. * Added pc_check_weapontype to do a proper skill weapon check that takes
  6181. into account dual-wielding. That is, if a skill can be used with
  6182. daggers/axes, you'll be able to use the skill when dual-wielding them.
  6183. [Skotlex]
  6184. * Corrected Cloaking level 1-2 not letting you move across walls. [Skotlex]
  6185. * updated cloaking code so that when you set "enable cloaking without
  6186. walls", the code will consider you as "always next to a wall", thus you get
  6187. the wall-speed bonus always. [Skotlex]
  6188. * Applied the fix to homunculus name saving... [Skotlex]
  6189. * Added battle config settings agi_penalty_target and vit_penalty_target,
  6190. they define which object types will get vit/flee reductions when
  6191. multi-targetted and defaults to only players (battle/battle.conf) [Skotlex]
  6192. * Added the dummy intravision case for the changeoption packet 0x229
  6193. [Skotlex]
  6194. * Corrected Fog of Wall so that all targetted offensive skills (not only
  6195. those who do damage) will fail on cast-end 75% of the time. [Skotlex]
  6196. * corrected @homlevel up and one entry in the homun exp table as reported
  6197. on the forums by Albator. [Skotlex]
  6198. * Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
  6199. * Added a status_check_skilluse on skill_attack_area call to prevent splash
  6200. damage skills from hitting hidden/trickdead/etc characters. [Skotlex]
  6201. * Corrected fog of wall to behave as best known currently: [Skotlex]
  6202. - Only takes effect when targetting a character inside it
  6203. - -50hit/-75% damage when using normal-ranged attacks
  6204. - -25% damage from all damage skills
  6205. - 75% chance of all targetted damage skills of failing.
  6206. * Should have fixed @refine applying multiple times to equipment that uses
  6207. multiple equip slots. [Skotlex]
  6208. 2006/07/19
  6209. * Fixed the inf code update breakage which was blocking all offensive
  6210. skills. [Skotlex]
  6211. * Added battle setting homun_critical_rate (defaults to 0) [Skotlex]
  6212. * Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
  6213. enable_perfect_flee which specifies which objects can have perfect flee and
  6214. enable_baseatk which specifies which objects can have a base attack value
  6215. (both in battle.conf) [Skotlex]
  6216. * Modified the targetted skill logic to enable offensive skills to be
  6217. targetted at party/guild members if the appropiate inf2 value is set.
  6218. [Skotlex]
  6219. * Added checks to make adding items to inventory/cart fail when a char is
  6220. in finalsave state. [Skotlex]
  6221. * Fixed parse_names on irc.c crashing when receiving a null argument.
  6222. [Skotlex]
  6223. * Modified the parsing of the names line, since some servers will send @
  6224. instead of = when separating the information. [Skotlex]
  6225. * Fixed the homun creation sql statement. Why noone else did so before?
  6226. [Skotlex]
  6227. * When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it
  6228. will use clearchar and spawn packets instead of changeoption. Thanks to
  6229. Toms for the fix. [Skotlex]
  6230. * Corrected Trim chars to block 'enter', as explained by the Ultra mage.
  6231. [Skotlex]
  6232. * When the client passes account version 0, the login server will set it to
  6233. 1 now. [Skotlex]
  6234. * Corrected the HP bar scaling when HP is above Short Max. It should
  6235. display fine for any HP value now. [Skotlex]
  6236. * Added a check when the mob's adelay is shorter than the amotion, in which
  6237. case the adelay will be changed to the amotion value. [Skotlex]
  6238. * Some minor mapflag changes. [MasterOfMuppets]
  6239. 2006/07/18
  6240. * Added atcommand @partyoption, lets you alter the party item-distribution
  6241. type on the go. Usage is "@partyoption <pickup share> <item distribution>",
  6242. where both arguments can be 0/1, yes/no, etc. [Skotlex]
  6243. * Updated @changeleader and @partyoption to use msg_Athena entries.
  6244. [Skotlex]
  6245. * Added character 013 (enter) to the list of characters that are always
  6246. removed from new character names. [Skotlex]
  6247. * Fixed a crash when trying to extend TK's infinite combo feature. [Skotlex]
  6248. * Corrected Poison React to counter regardless of distance, and to use the
  6249. skill's 50+5*lv% counter chance (instead of 100%). [Skotlex]
  6250. * Corrected Venom splasher's splash damage [Skotlex]
  6251. * You now can't move/attack/use-skills when using Cloaking of a level less
  6252. than 3 [Skotlex]
  6253. * Fixed compilation of mercenary.c [Skotlex]
  6254. * Corrected Fog of Wall's "targetted spells fail 75% of the time" feature
  6255. by making it behave like GTB, that is, you just get a skill-failed on
  6256. cast-end, no skill-animation at all. [Skotlex]
  6257. * Added a proper check to make aggressive mobs never override homun targets
  6258. regardless of distance. [Skotlex]
  6259. * Removed a bunch of homun-related variables that are not needed at all.
  6260. The alive condition is removed, now the code checks for the hp value to
  6261. know if the homun is alive or not. [Skotlex]
  6262. * Cleaned up a bit the skill-id function, homun skill checks (such as delay
  6263. and skill-lv learned) should be correct now. [Skotlex]
  6264. * Added a proper check to make aggressive mobs never override homun targets
  6265. regardless of distance. [Skotlex]
  6266. * Fixed giving the 100% damage bonus when no-splash-targets are found in
  6267. the blown path to Grandcross instead of Bowling Bash. Bowling Bash damage
  6268. equation becomes then +50*lv% rather than +40*lv% when there's no
  6269. splash-damage (the 50*lv% figure is custom, all we know is that level 10
  6270. does 600% instead of 500% damage). [Skotlex]
  6271. 2006/07/17
  6272. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  6273. * The char-server will allow off-line character saves when said char is
  6274. tagged for final-save (this is the scenario when the char-map reconnect).
  6275. [Skotlex]
  6276. * Should have fixed the Cart Termination damage code to be scaled correctly
  6277. when you change the max cart weight. Thanks to The Ultra Mage for the error
  6278. clarification. [Skotlex]
  6279. * Implemented Grandcross weird property where if there's noone on the path
  6280. it'll hit twice for the skill's reported damage, and when there is (or you
  6281. can't knockback the target) it'll do a splash attack that hits twice for
  6282. 500% to all affected targets. [Skotlex]
  6283. * Some cleaning of the combo code. TK Rankers will now get their combo-time
  6284. extended each time they trigger a kick, enabling them to do "unlimited
  6285. combos". [Skotlex]
  6286. * Modified the autosave function to use a sweep across the player db
  6287. instead of across connected clients. This will cause non-connected players
  6288. (like autotraders) to also be saved on a regular interval, may help with
  6289. possible data-loss from said characters on unclean shutdowns. [Skotlex]
  6290. * Removed the code that forces aggressive mobs to go after a Homun instead
  6291. of their master (no reason why there should be such a condition). [Skotlex]
  6292. * Some sign quest map flag updates [MasterOfMuppets]
  6293. * atcommand_follow is now more verbose. [Adam]
  6294. * Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
  6295. * Orn's fix to the very critical skill level up bug [DracoRPG]
  6296. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  6297. * Added Orn's lil fix on homun [Vicious]
  6298. * Added Homunculus system, enjoy! [orn aka Nylou]
  6299. - WARNING: This currently only works with the SQL version, as the TXT char-server
  6300. has no code for it at the moment. You TXT server won't break, but the char-server
  6301. will complain of an unknown packet if you try to get an Homunculus
  6302. * Updated nomemo mapflags based on info from http://ro.doddlercon.com/images/memo.jpg [Poki#3]
  6303. 2006/07/15
  6304. * Small change in conf/battle/player.conf to say that 199 is max aspd allowed
  6305. (Haplo says that there are many reports of having over 200 is giving errors) [Evera]
  6306. 2006/07/13
  6307. * Kaahi no longer shows the heal effect to everyone. [Skotlex]
  6308. * Eska no will cause defense to change randomly every second. [Skotlex]
  6309. * Tuned up some more NJ_KAENSIN based on Tharis's information. [Skotlex]
  6310. * Corrected NJ_KAENSIN as per description. [Skotlex]
  6311. * Fixed a leaking map_freeblocklock on skill_del_unitgroup. [Skotlex]
  6312. * Changed the default save interval to 5 minutes. Added support for
  6313. specifying fixed save-intervals by using negative values. [Skotlex] EG:
  6314. - Save interval set to 300 (5 minutes): all characters will be saved in
  6315. equal time-slots, so that everyone is saved every 5 minutes regardless of
  6316. number of players online.
  6317. - Save interval set to -1000 (1000 ms): One character will be saved every
  6318. second, regardless of amount of characters online.
  6319. The new fixed-time-slots method is meant for larger servers, so that they
  6320. can control the saving-induced stressed on the char-server.
  6321. * Fixed @storeall and @charstoreall failing when the target character
  6322. already had the storage open. [Skotlex]
  6323. * Reverted temporarily the Cart Termination equation until it can be
  6324. fixed... [Skotlex]
  6325. * Fixed script command "recovery". [Skotlex]
  6326. 2006/07/12
  6327. * Fixed a small typo in my code [Zido]
  6328. * Added negative value in bonus exploit fix for more stat bonuses [Zido]
  6329. * Fixed exploit in pc_bonus there are no checks that check that the value being
  6330. added onto a status don't make it go below zero, which means if you have a mineral
  6331. card and reset stats it reduces your base attack to lower than zero, making it
  6332. go up to 64000. Fixed by adding a check for SP_BASE_ATK, although i recommend
  6333. doing it for other status bonuses also [Zido]
  6334. * Recoded NJ_BAKUENRYU to behave as I understand it best from the
  6335. skill-description (since Haplo told me this skill doesn't really has video
  6336. information or anything...) [Skotlex]
  6337. * Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path"
  6338. calls. The skill should be working correctly now, except for the fact that
  6339. the correct "unit id" is missing (this is what would give the ground tile
  6340. it's correct display). Temporarily it is using 0xba until the correct value
  6341. is found. [Skotlex]
  6342. * Added back the undead check to turn undead/resurrection to prevent
  6343. damaging non-undead targets, removed it from the battle damage section.
  6344. [Skotlex]
  6345. * Resurrection will now silently fail when used on non-undead + not-dead
  6346. characters. [Skotlex]
  6347. * Poem of bragi/magic String's base delay reduction at level 10 (or above)
  6348. is now 50% instead of 3*lv%. [Skotlex]
  6349. * status_damage will no longer fail when the target is not on a map AND the
  6350. flag is 2 (charge rather than damage). Fixes SP-draining status changes
  6351. ending suddenly when in-between maps. [Skotlex]
  6352. * Fixed the IP value being apparently incorrectly casted before inserting
  6353. into the loginlog table on "connect success" events. [Skotlex]
  6354. * Fixed Cart Termination's damage. [Skotlex]
  6355. * Added the missing check to remove character from memory when logging out
  6356. and using the charsave_method which saves character map-server-side.
  6357. [Skotlex]
  6358. 2006/07/11
  6359. * Fixed inverted check which was preventing you from buying more than 1
  6360. from any stackable item.... [Skotlex]
  6361. * Should have fixed the crash in intif gm message... [Skotlex]
  6362. * Fixed GTB card only working while you had a status-change active.
  6363. [Skotlex]
  6364. * Fixed being unable to compound cards in armor. [Skotlex]
  6365. * Made @monsterignore be an universal ignore. Means you cannot be targetted
  6366. as an enemy by anything. Also added alias "@battleignore" which does the
  6367. same as monsterignore. [Skotlex]
  6368. * Fixed magic power setting your min matk as max-matk. [Skotlex]
  6369. * Modified the packets involved in @fakename in hopes it'll refresh
  6370. correctly on nearby clients now. [Skotlex]
  6371. * Fixed clif_parse not checking for func_parse before sending data to the
  6372. connected clients. This in turn required various code-rewrites in: [Skotlex]
  6373. - duel related messaging functions (added clif targets DUEL/DUEL_WOS).
  6374. - intif whisper to gm function
  6375. - day/night timers
  6376. - Rewrote the parse_console function to stop allocating/deallocating memory
  6377. on every call.
  6378. - Modified chrif_charselectreq to receive the player's ip among the data.
  6379. * Added function clif_disp_message, which is the same as
  6380. clif_disp_onlyself, except you can specify the targets (it sends a
  6381. guild-chat packet) [Skotlex]
  6382. * Fixed the subele bonus (elemental reduction) being applied to the element
  6383. of the attacker instead of the element of the attack. [Skotlex]
  6384. * mob skills now won't trigger on unit_stopwalking calls. [Skotlex]
  6385. * Coded @reset. [Skotlex]
  6386. * Reenabled @changesex [Skotlex]
  6387. * Added function pet_create_egg which handles creating pet eggs correctly
  6388. (when passed item id is indeed a valid petegg). Applied this on @createitem
  6389. and getitem. [Skotlex]
  6390. * Cleaned up code of @item [Skotlex]
  6391. * Cleaned up the itemdb_isequip functions. itemdb_isequip will now return
  6392. if the item is equipable by players, itemdb_isstackable returns if the item
  6393. can be stacked, and itemdb_isidentified returns if the item should drop
  6394. identified. [Skotlex]
  6395. * Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given
  6396. item has "invalid" cards, added define function itemdb_isspecial to
  6397. simplify this check. [Skotlex]
  6398. * Removed itemdb.c considering item ids above 20000 as invalid. [Skotlex]
  6399. * Cleaned up script commands getitem and card-counting related ones.
  6400. [Skotlex]
  6401. * Cleaned up a bit more pc_isequip [Skotlex]
  6402. * Added script function warpportal(x,y,targetmap$,targetx,targety).
  6403. This creates warp portals as in the skill unit as a volatile alternative
  6404. to static warp portals. [blackhole89]
  6405. * Modified the login-sql server to do the ip-ban check only on the
  6406. auth-packets instead of on every packet. [Skotlex]
  6407. 2006/07/10
  6408. * Corrected Warp Portal being unable to warp people who are standing on it
  6409. on the moment it triggers. [Skotlex]
  6410. * Fixed @follow stopping the moment you are warped. [Skotlex]
  6411. * Fixed pc_additem messing with the equip field of the passed item data.
  6412. Fixes the famous "equip stuff on your arrow slot" bug. [Skotlex]
  6413. * Fixed cart-termination crashing the server if you used level 16 of it.
  6414. [Skotlex]
  6415. * Fixed check_connect_login_server check in char-sql server. Fixes
  6416. char-server not reconnecting to the login server. [Skotlex]
  6417. * Login-sql server will no longer change an account's state to "7" when
  6418. banning a player. This should fix being able to use @ban to clear out a
  6419. @blocked player. Players will now be identified as banned only through the
  6420. banned-until timestamp. [Skotlex]
  6421. * Fixed a crash when using Gospel... [Skotlex]
  6422. * The on-place function won't be invoked on setting ground skills if the
  6423. group's tick is greater than the current tick. As Buuyo pointed out, this
  6424. should fix Sanctuary and Gospel taking effect inmediately instead of after
  6425. "x" amount of ms as they should. [Skotlex]
  6426. * Added login-char packet 0x2737. Sets all characters offline (login-server
  6427. side). [Skotlex]
  6428. * Cleaned up char server "set all offline" implementation to remove only
  6429. characters from the map-server from which the packet was invoked. It will
  6430. also now correctly kick/set-character offline from the map-server if they
  6431. are connected. [Skotlex]
  6432. * Cleaned up the char-sql reconnect code. It no longer sets everyone to
  6433. offline. [Skotlex]
  6434. * Removed setting "kick_on_disconnect", servers will no longer kick
  6435. characters out when there's a disconnection. Instead, it'll use the most
  6436. logical approach: Set characters into a "lost" state when there's a
  6437. disconnection, on reconnect, resent the list of online-characters, do a
  6438. sync, and let the difference be characters to be removed. Also, the
  6439. map-server won't release character data until it's saved and the ack
  6440. returns from the char-server to prevent data loss (all this data is resent
  6441. on reconnect for saving anyway). [Skotlex]
  6442. * Added a check in pc_equipitem so that when switching weapons and you have
  6443. the skill_range_by_weapon setting active, the skill info block (which
  6444. includes range) will be resent when the new weapon to equip has a range
  6445. different than the previous one. [Skotlex]
  6446. * One closer inspection, removed that clear in itemdb_reload for a foreach
  6447. call again. And modified itemdb_load to scrap the dummy item entry from the
  6448. item_db and replace it with proper data for the item. [Skotlex]
  6449. * itemdb_reload will clear the itemdb before reloading info instead of only
  6450. clearing the scripts now. [Skotlex]
  6451. * Some cleaning of skill_castend_pos2, fixed Gospel, and a
  6452. map_freeblock_unlock misplacement. [Skotlex]
  6453. * Sense/Estimation will now display the mob info window to all party
  6454. members in the same map. [Skotlex]
  6455. 2006/07/08
  6456. * Fixed the new addeff structure not working well with SC_STONE (because
  6457. SC_STONE is 0, which was by default not handled as a valid value).
  6458. [Skotlex]
  6459. * Added back the TF_MISS walking speed bonus to assassin type classes (how
  6460. did that got lost?) [Skotlex]
  6461. * Fixed mobinfo displaying exp as signed ints rather than unsigned.
  6462. [Skotlex]
  6463. * Added status_check_visibility to check if an object is within range of
  6464. view of another. Nothing more, nothing less. It's used by unit movement to
  6465. check whether you can continue chasing your target or not when the "chase
  6466. target" directive is given. [Skotlex]
  6467. * Fixed the char table having party/guild_id as smallint when they need int
  6468. there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
  6469. [Skotlex]
  6470. * Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
  6471. [Skotlex]
  6472. * Fixed endow skills calling the skill no damage packet twice. [Skotlex]
  6473. * Fixed a crash on warpwaitingpc when the chat-room is empty. [Skotlex]
  6474. 2006/07/07
  6475. * Fixed the Warm Skills [Skotlex]
  6476. * Removed the debug message when a player logs out and is removed from
  6477. memory, it is working fine (tested normal logging off and autotrade). [Skotlex]
  6478. * Corrected the pet-armor field of the pet not being updated on
  6479. equip/unequip of accessories, making them not show up inmediately. [Skotlex]
  6480. * Status_calc_bl will no longer stop you from attacking/walking when the
  6481. mode is changed unless the new mode no longer includes
  6482. "can-attack"/"can-move" respectively. [Skotlex]
  6483. * Should have fixed clif_item_sub to properly store pet egg/armor data.
  6484. There should be no more "random refine levels" bugs related to these.
  6485. [Skotlex]
  6486. * itemdb_exists will now return NULL for item_id 0. [Skotlex]
  6487. * Added a check to free a character from memory when changing map servers.
  6488. [Skotlex]
  6489. * Okay, added a chrif_save_ack packet to the char-server so now the map
  6490. server will know once a character was "final saved", and only then the
  6491. character will be removed from memory. On char-server reconnection, all
  6492. chars that are in final-save state are resent to save (if they are still in
  6493. memory, it's because the ack hasn't gotten here from the char-server). This
  6494. should effectively block all dupe problems due to heavy inter-server lag,
  6495. however as it's untested, it currently prints some debug messages when
  6496. people are saved and then removed from memory. Need testers so this can be
  6497. debugged and merged to stable! [Skotlex]
  6498. * Now, when the login-char connection is cut, the char-server won't set
  6499. everyone offline on reconnect, instead it will send the list of online
  6500. accounts to the login server. [Skotlex]
  6501. * Modified the error on the char-sql server to set chars online when it
  6502. receives a save packet from a character tagged as offline (until it can be
  6503. figured out why this is happening) [Skotlex]
  6504. * Fixed signed/unsigned comparison issues in the char txt/sql server.
  6505. [Skotlex]
  6506. * Fixed the cooking success chances. Thanks to Ishizu Chan. [Skotlex]
  6507. * Added a temporary band-aid to prevent executing the script of non-arrows
  6508. when they are equipped on the arrow-slot (until the actual cause of why
  6509. pc_unequipitem is not working correctly is discovered/fixed) [Skotlex]
  6510. 2006/07/06
  6511. * Modified the party_data structure on the map server to remove some
  6512. redundant data. Added a party_data structure on the char-server to hold a
  6513. more complete set of information about parties. Added to the party_member
  6514. structure the class of each member so that the map server can do the
  6515. appropiate checks even if the character is on another mapserver/offline.
  6516. Due to the format changes in the party structure, txt servers will have to
  6517. wipe their party file... (sql save format has not been changed) [Skotlex]
  6518. * Added function char_family to check if there's a family state given the
  6519. three character ids, instead of doing individual checks all the time.
  6520. [Skotlex]
  6521. * Rewrote all the item restriction functions so that they will take into
  6522. account slotted card restrictions as well. [Skotlex]
  6523. * Added no_skill_delay setting, when set, affected object types will have
  6524. the minimum skill delay for all skills. Defaults to mobs, since they
  6525. don't have skill delays. [Skotlex]
  6526. * Cleaned up pc_equipitem. When dual wielding or equipping accessories, if
  6527. the client actually specifies one of the two positions, it will be taken
  6528. into account (now, does the client actually does this?) [Skotlex]
  6529. * Fixed GrandCross and similar skills. [Skotlex]
  6530. * FogWall will now also affect the caster. [Skotlex]
  6531. 2006/07/05
  6532. * Updated NJ_KAENSIN by Saycyber21 [Vicious]
  6533. * Updated @refine to take account of MAX_REFINE, thanks to Omega... GM
  6534. Designer. [Skotlex]
  6535. - Also optimized the @refine loop for better performance.
  6536. 2006/07/04
  6537. * Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
  6538. * Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
  6539. * Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
  6540. 12*(cooking set-lv)%. Exception: When using the legendary cooking set,
  6541. success chance is 100% regardless of dish. [Skotlex]
  6542. * Added battle config setting emergency_recall, specifies behaviour of that
  6543. skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 -
  6544. Can be used everywhere. [Skotlex]
  6545. * Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can
  6546. come out or not is entirely decided by the abra db file now. [Skotlex]
  6547. * Added structure s_addeffect to handle status change additions. Cleaned up
  6548. relevant code. It is now possible to specify ANY status change, not just
  6549. the basic ones. NOTE that the code is proof-read, but untested! [Skotlex]
  6550. * Added support for bonus3 bAddEff/bAddEffWhenHit as follows: [Skotlex]
  6551. bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  6552. Target flag is 0: Self. 1: Enemy. 2: Both.
  6553. * Added these descriptions to doc/item_bonus.txt [Skotlex]
  6554. * Added a check when joining a chat to make sure the target object is of
  6555. type BL_CHAT. [Skotlex]
  6556. 2006/07/03
  6557. * Cleared up the bAutoSpellWhenHit description in doc/item_bonus.txt
  6558. [Skotelx]
  6559. * Fixed Phantasmic Arrow and Magical Bullet not being correctly tagged as a
  6560. ranged arrow-type attack. [Skotlex]
  6561. * Updated help.txt and help2.txt, thanks to Inuyasha for providing the
  6562. updated files. [Skotlex]
  6563. * Char-server SQL won't perform the reconnect cleanup routines when
  6564. kick_on_disconnect is disabled. [Skotlex]
  6565. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  6566. setting now only makes the attacks of the slaves trigger the autospells of
  6567. the master (as it should be). [Skotlex]
  6568. * Corrected code capping no_spawn_on_player to 50 when the max should be
  6569. 100. [Skotlex]
  6570. * Warmth will dispel when warping now (or else the effect is left on the
  6571. ground) [Skotlex]
  6572. * Fixed reading of the refine_db not working right when MAX_REFINE is
  6573. increased from 10. [Skotlex]
  6574. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  6575. * Fixed a compile warning in login sql/txt [Skotlex]
  6576. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  6577. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  6578. [Skotlex]
  6579. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  6580. [Skotlex]
  6581. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  6582. skills. [Skotlex]
  6583. 2006/06/30
  6584. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  6585. * Added a check to prevent equipped items from being traded. [Skotlex]
  6586. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  6587. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  6588. cells. Beware of potential bugs as it's untested. [Skotlex]
  6589. * Added mapflag "nochat" to prevent chatting rooms from being created.
  6590. [Skotlex]
  6591. * Corrected some of the sleep checks when the char id does not matches with
  6592. the char-id expected by the script engine. [Skotlex]
  6593. * Cleanup in itemheal related code, fixed the item heal group bonus not
  6594. working on Groups beyond 7. [Skotlex]
  6595. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  6596. 2006/06/29
  6597. * Made the map server send list of characters online to the char-server on
  6598. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  6599. temporary disconnection would make the char-server tag all characters
  6600. offline and refuse to save them afterwards. [Skotlex]
  6601. * Fixed guild storage being "eternally in use" if you quit/logout before
  6602. closing it. [Skotlex]
  6603. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  6604. [Skotlex]
  6605. * [Fixed]
  6606. - Scripting system screwing up script position after mixing timers with menus.
  6607. - NPC attached AI mobs display as alive when dead.
  6608. - View data not updating after buildin_unitdeadsit.
  6609. [Improved]
  6610. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  6611. - Simplified scripting system. sd will now use pointer to the script state itself.
  6612. [Lance]
  6613. 2006/06/28
  6614. * changed:
  6615. dynamic_pass_failure_ban_how_many:from 3 to 7
  6616. dynamic_pass_failure_ban_how_long:from 60 to 5
  6617. as in official servers. [Musashiden]
  6618. * Added a check in script command "set_option" so that invoking
  6619. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  6620. * Added trade-range check on trade start. [Skotlex]
  6621. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  6622. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  6623. to be used on enemies. [Skotlex]
  6624. * Cleaned up a bit the code for @item [Skotlex]
  6625. * Fixed character/storage being sent to be saved TWICE when you logged out
  6626. while the storage is opened. [Skotlex]
  6627. * Added save_settings map config. Specifies after which events do
  6628. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  6629. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  6630. [Skotlex]
  6631. * Changed the mob drop rate adjust function to receive a signed int
  6632. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  6633. * Corrected Musical Strike having a different damage equation from Throw
  6634. Arrow. [Skotlex]
  6635. * Added state rewarp to players. It gets set when a pc_setpos call is
  6636. triggered while the player is changing maps so that when the player finish
  6637. loading the map, it is inmediately rewarped to where it has been
  6638. rewarped/recalled to. [Skotlex]
  6639. 2006/06/27
  6640. * Map server will now resent the whole list of online characters to
  6641. char-server on reconnect when the kick_on_disconnect setting is active.
  6642. [Skotlex]
  6643. * Cleaned up and optimized the IP sync code. New login_athena config
  6644. setting sync_ip_interval specifies how often to sync the ip. The default is
  6645. 0 (disabled). [Skotlex]
  6646. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  6647. on maps with this mapflag on, rather than every map. [Skotlex]
  6648. * High Jump can now be used in all versus maps. [Skotlex]
  6649. * Added Kaite's opt3 value, taken from jA [Skotlex]
  6650. * Added state dirty == 2 to storages. Signals when a storage was sent for
  6651. final saving. Said storage is removed from memory after the ack from the
  6652. char-server, and they are sent to save if the map/char servers reconnect
  6653. before the ack arrives. In short: they are guaranteed to be saved after a
  6654. char logs out. [Skotlex]
  6655. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  6656. 2006/06/26
  6657. * Corrected the element of hunter traps. [Skotlex]
  6658. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  6659. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  6660. [Skotlex]
  6661. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  6662. * Rough implementation of Ground Drift according to description and jA
  6663. info. [Skotlex]
  6664. * Implemented Tatami Gaeshi using skill description and jA implementation
  6665. for reference. [Skotlex]
  6666. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  6667. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  6668. Meruru for pointing out they aren't being used anymore. [Skotlex]
  6669. * Autospells will now again check for the skill's nk value, so that skills
  6670. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  6671. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  6672. equipment (fixes them showing up "broken" and with random refine levels)
  6673. [Skotlex]
  6674. * [Added]:
  6675. - buildin_unitkill just for kicks. [Lance]
  6676. 2006/06/23
  6677. * [Optimized]:
  6678. - Setting of variables with defined scope in some frequently executed script
  6679. events.
  6680. [Added]:
  6681. - Missing script_require_trigger flags for some power hungry events.
  6682. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  6683. * Modified pc_setoption so that it will correctly update sprite AND clothes
  6684. color when mounting/unmounting changing into/from xmas/wedding sprites.
  6685. [Skotlex]
  6686. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  6687. to be sold, traded, dropped, etc. [Skotlex]
  6688. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  6689. and before card reductions. The skill now completely disregards left
  6690. hand weapon. [Skotlex]
  6691. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  6692. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  6693. * Cleared up the comment on what item_check does and how it works.
  6694. [Skotlex]
  6695. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  6696. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  6697. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  6698. to forbid skills from common maps. [Skotlex]
  6699. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  6700. * The map search free cell will now use the size of the map # of tries
  6701. before giving up when the spawn area is the whole map. Added a check to
  6702. inmediately give up when the number of spawn retries has reached the max
  6703. specified (no_spawn_onplayer = 100). [Skotlex]
  6704. * Cleaned up a bit the clone code to account for the unit flags
  6705. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  6706. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  6707. * Added pc_bonus_autospell_del, gives support for removing autospell
  6708. effects. When a negative rate is specified, it will decrease the chance of
  6709. casting (eg: You have two different cards with autospell Heal +20% each,
  6710. then do autospell -30. The second card will be cancelled, and the first one
  6711. will become Heal +10%) [Skotlex]
  6712. * npc_timers now will not restore the previous timer data when there's no
  6713. players attached (when it's strictly an npc timer). This should reenable
  6714. the old behaviour of getnpctimer returning the total ellapsed time since
  6715. "startnpctimer" even after the last label has been reached. However, this
  6716. behaviour won't apply to player-attached timers. [Skotlex]
  6717. * [Fixed]:
  6718. - MAPREGSQL overloading SQL table with temperory map registries.
  6719. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  6720. 2006/06/22
  6721. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  6722. This should complete the required packets for PACKETVER 7. [Skotlex]
  6723. * Added support for the PACKETVER 7 packets in the "dummy" current
  6724. intravision implementation. [Skotlex]
  6725. * Fixed @autoloot being off by 0.01% when entering a manual value.
  6726. [Skotlex]
  6727. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  6728. each target is hit N times (where N is the number of mobs in the splash
  6729. area at the moment of triggering). [Skotlex]
  6730. * Updated the tools/stackdump script to also handle sig-plugin generated
  6731. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  6732. the end or not. Help me test it as I want this script on stable NOW :X
  6733. [Skotlex]
  6734. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  6735. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  6736. stackdump as before. [Skotlex]
  6737. * Corrected autoloot so that you can specify rate with decimal precision
  6738. ("@autoloot 0.01" should work) [Skotlex]
  6739. 2006/06/21
  6740. * [Removed]:
  6741. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  6742. * [Fixed]:
  6743. - Compilation warnings and errors.
  6744. [Improved]:
  6745. - Changed and moved IP sync status messages to elaborate more. [Lance]
  6746. * Tested and fixed resolve_hostbyname. Applied said function around most of
  6747. the code where needed. Removed includes for the OS/network system pretty
  6748. much from every file (our socket.c file should handle this) [Skotlex]
  6749. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  6750. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  6751. [Skotlex]
  6752. * status_percent_change will now account for when the target's max hp/sp is
  6753. above INT_MAX. [Skotlex]
  6754. * [Added]:
  6755. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  6756. 2006/06/20
  6757. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  6758. really ARE the same value clientside! (totally stupid), therefore I've
  6759. opted from removing the flying animation since it really just displays as
  6760. Xmas for others (and the correct fix involves adding a bunch of
  6761. class-change packets...) [Skotlex]
  6762. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  6763. Fling. [Skotlex]
  6764. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  6765. in skill_check_condition, fixed the skill so that it's damage is based on
  6766. whatever zeny is specified in skill_require_db. [Skotlex]
  6767. * Can-act delay will not be reset when warping now. [Skotlex]
  6768. * Fixed Quagmire not altering walking-speed. [Skotlex]
  6769. * Silence now blocks skills both on begin/end casting. [Skotlex]
  6770. * Updated status_calc_bl so that when walking speed changes, the character
  6771. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  6772. 2006/06/19
  6773. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  6774. * Combo-used Skills with State "move_enable" will now override the "can't
  6775. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  6776. * Some more cleanups of battle_calc_damage to account for absorbed damage
  6777. reductions. [Skotlex]
  6778. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  6779. Now we are back to where the skill animation does not shows, but you DO
  6780. get SP T.T' [Skotlex]
  6781. * Some cleanups and corrections in battle.c to account for negative
  6782. (absorbed) damage. [Skotlex]
  6783. * Fixed fame-list updating crashing char-sql server when the given char-id
  6784. just got into ranking. [Skotlex]
  6785. * Added missing Arunafeltz maps with information from NLZ [Evera]
  6786. 2006/06/18
  6787. * [Fixed]:
  6788. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  6789. filling the SkillStatusChangeTableArray with junk data.
  6790. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  6791. - Typo in parse_frommap. [Lance]
  6792. * [Fixed]:
  6793. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  6794. * [Temperory Fixed]:
  6795. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  6796. * [Removed]:
  6797. - Large part of scripted mob control commands are removed.
  6798. - Large part of scripted player control commands are removed.
  6799. - Scripted mob slaves changing master ID.
  6800. [Added]:
  6801. - Unit control commands.
  6802. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  6803. - Macro RECURSIVE_MASTER_CHECK in battle.c
  6804. [Modified]:
  6805. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  6806. and buildin_unitskillusepos.
  6807. - md->callback_flag to short (double word). [Lance]
  6808. 2006/06/17
  6809. * Devotion absorbed damage will now appear to come from oneself (instead of
  6810. the original attacker changing directions towards the Crusader) [Skotlex]
  6811. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  6812. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  6813. someone logs out <.< [Skotlex]
  6814. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  6815. * [Added]:
  6816. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  6817. [Improved]:
  6818. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  6819. - mob_script_callback to return sucess value [Lance]
  6820. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  6821. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  6822. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  6823. 2006/06/16
  6824. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  6825. lost) [Skotlex]
  6826. * Corrected @speed to alter your base speed instead of battle one. Means
  6827. the change remains for much longer (until status_calc_pc is invoked, which
  6828. could be due to equipping/unequipping stuff) [Skotlex]
  6829. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  6830. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  6831. damage be reduced by half. This bonus stack, so two cards with
  6832. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  6833. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  6834. specifies the threshold before the bNoMagicDamage starts blocking support
  6835. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  6836. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  6837. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  6838. * Removed db_tables.sql as it's no longer used. [Skotlex]
  6839. * the mvp_sd is removed when the mob is the emperium and there's no
  6840. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  6841. event from triggering and giving the castle to whoever damaged the most the
  6842. emperium without destroying it. [Skotlex]
  6843. * [Added]:
  6844. - Custom slave mobs to inherit the callback_flag.
  6845. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  6846. * [Improved]:
  6847. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  6848. 2006/06/15
  6849. * [Fixed]:
  6850. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  6851. [Lance]
  6852. * Added indexes for loginlog and ipbanlist as they did not have any.
  6853. (note, someone already put the index on loginlog on trunk.) [Euph]
  6854. * Merged Adam's patch to let the char-server handle validation of
  6855. pet-name-change requests through the allowed char letters config. [Skotlex]
  6856. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  6857. gear already equipped. [Skotlex]
  6858. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  6859. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  6860. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  6861. options. [Skotlex]
  6862. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  6863. * Corrected chrif_save so that the player is not set offline on map-change.
  6864. [Skotlex]
  6865. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  6866. [Skotlex]
  6867. * Fixed clif_parse_RemoveOption removing all options instead of just
  6868. Falcon/Cart/Peco [Skotlex]
  6869. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  6870. source is not on the map yet. [Skotlex]
  6871. * Fixed and cleaned up script command 'equip' [Skotlex]
  6872. * Fixed 'autoequip' items. [Skotlex]
  6873. * Fixed Aspd not being updated in your status window after Agi/Dex
  6874. increasing statuses take effect. [Skotlex]
  6875. 2006/06/14
  6876. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  6877. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  6878. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  6879. vit; resist += (max - resist)*luk/300; [Skotlex]
  6880. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  6881. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  6882. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  6883. array to fill in. [blackhole89]
  6884. * Blocked again skill usage during marionette. [Skotlex]
  6885. * Fixed main.sql adding a key on char_id rather than account_id for the
  6886. char table. [Skotlex]
  6887. * Cleaned up character saving in char-sql, it no longer needs to query the
  6888. database to see if the player exists on each char-save, instead it checks
  6889. the received data against the online-players db. No such fix is required
  6890. for char-txt. [Skotlex]
  6891. * Added an error message on the char-server when the received player data
  6892. size does not matches with the expected size (should avoid the crash that
  6893. happens on such a memcpy). [Skotlex]
  6894. * [Improved]:
  6895. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  6896. queries. [Lance]
  6897. 2006/06/13
  6898. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  6899. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  6900. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  6901. * Marionette and Devotion will now check raw distance and ignore obstacles
  6902. and the like. [Skotlex]
  6903. * Added irc_channel_pass setting and prevent crashing when irc server
  6904. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  6905. * [Fixed]:
  6906. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  6907. [Lance]
  6908. * Added support for reading correctly status change data from Guild and
  6909. Homun skills. [Skotlex]
  6910. * Added support for reading Homun skill data (which means the HM skills are
  6911. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  6912. * Oppositions can't be made during WoE now. [Skotlex]
  6913. * Fixed a few compiler warnings from VC [Skotlex]
  6914. * Commented out the Homunculus Skills<->Status Change link which was
  6915. causing some memory corruptions. [Skotlex]
  6916. 2006/06/12
  6917. * [Fixed]:
  6918. - buildin_npcshopitem not allocating extra 1 block of terminator.
  6919. [Added]:
  6920. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  6921. [Lance]
  6922. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  6923. to the player's buffer. [Skotlex]
  6924. * Updated @noask to also tell the user what he has just rejected (added
  6925. msg_athena entries for each of the different requests). Also updated it to
  6926. use clif_disp_onlyself. [Skotlex]
  6927. * Fixed a pair of missing initializers in the clif storage functions.
  6928. [Skotlex]
  6929. * @heal no longer displays a healing animation. Fixes the client believing
  6930. you couldn't be healed more than 32K. [Skotlex]
  6931. * Now you can use any skills (except encore/dancing ones) while under
  6932. Longing for Freeding. [Skotlex]
  6933. * Now you can use any skills while under Marionette Control. [Skotlex]
  6934. * Fixed npc_checknear's distance check returning the opposite of what it
  6935. should (false when the range is correct and viceversa) [Skotlex]
  6936. * Added a warning on item loading when an item is of equippable type but
  6937. has no equippable position. [Skotlex]
  6938. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  6939. * Slaves can summon other mobs now. The only ones who can't do this are
  6940. player summoned mobs. [Skotlex]
  6941. * Merged the following functions for faster processing of items: [Skotlex]
  6942. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  6943. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  6944. clif_itemlist + clif_equiplist = clif_inventorylist
  6945. Note that the changes are a bit substantial and need proper testing!
  6946. * Increased max knockback value support to 25. [Skotlex]
  6947. * [Optimized]:
  6948. - buildin_npcshopitem memory allocation to calculate before reallocating.
  6949. [Lance]
  6950. * Made guild member exp an unsigned int. [Skotlex]
  6951. * Various cleanups to the npc clicking related functions. Should fix quite
  6952. some possible crashes from crafted packets. [Skotlex]
  6953. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  6954. * Added missing update of INT after a buf. [Skotlex]
  6955. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  6956. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  6957. of on the party members. [Skotlex]
  6958. * Modified clif_parse_NpcClicked to handle the different situations with
  6959. different bl-objects (attack on players/mobs, click on npcs or mobs with
  6960. npc attached) [Skotlex]
  6961. 2006/06/09
  6962. * [Fixed]
  6963. - Compilation warnings on guild.c and int_guild.c [Lance]
  6964. * Added structure party_data and party_member_data to the map server to
  6965. hold party-specific required information about parties including
  6966. Monk/TK/SG/SN states and party member count. Family information is still
  6967. missing, and handling of the state should probably be done by the
  6968. char-server, too... [Skotlex]
  6969. * party Hp updates are no longer done each time the Hp is modified, but
  6970. together with the party xy timer. It means HP-bars will be a bit delayed
  6971. before being updated, but packet consumption should be much less during
  6972. heated battles. [Skotlex]
  6973. * Fixed MoM's typo [Vicious]
  6974. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  6975. * [Improved]:
  6976. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  6977. [Lance]
  6978. * [Fixed]:
  6979. - Execution of sleep/sleep2 more than once will hang the script_state.
  6980. [Lance]
  6981. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  6982. back to your last savepoint. [Skotlex]
  6983. * Moved guild_exp_rate from a mapserver battle config setting to a char
  6984. server config. It no longer modifies the total taxed exp as seen on the
  6985. guild information window, but directly modifies the exp that the guild
  6986. earns. [Skotlex]
  6987. * Added an error report and correction when the map server receives a guild
  6988. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  6989. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  6990. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  6991. 2006/06/08
  6992. * Modified guild exp to be an unsigned int rather than a signed one.
  6993. [Skotlex]
  6994. * Fixed @skilltree printing out Unknown job for most targets used.
  6995. [Skotlex]
  6996. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  6997. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  6998. characters. [Skotlex]
  6999. * Modified map_freeblock_unlock so that aFree errors will report the
  7000. file/line that INVOKED the function rather than the function itself.
  7001. [Skotlex]
  7002. NOTE: Do NOT disable the memory manager as that will break this change.
  7003. This change is to be temporarily set until the afree'd error can be
  7004. resolved.
  7005. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  7006. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  7007. [Skotlex]
  7008. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  7009. to hold the speed adjustment value rather than speed penalty (eg: 125
  7010. instead of 25). [Skotlex]
  7011. * Cleaned up status_calc_speed so that speed penalties are correctly
  7012. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  7013. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  7014. 2006/06/07
  7015. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  7016. * Fixed item-skills not showing up on login. [Skotlex]
  7017. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  7018. only on first-login and which ones are required on all map-changes.
  7019. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  7020. sent on map-change (items, cart data and zeny still need to be sent one
  7021. very map-change). [Skotlex]
  7022. * Fixed the mob state not being set to Berserk/Angry correctly after the
  7023. mob reaches the target's location. [Skotlex]
  7024. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  7025. warped between maps when stepping on a npc-warp. [Skotlex]
  7026. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  7027. npc-warp when their current target has switched maps. [Skotlex]
  7028. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  7029. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  7030. * pc_gain_exp now also receives the source of the exp, when said source
  7031. exists, bonuses are applicated as needed. [Skotlex]
  7032. * Added status_kill when capturing a mob, should take care of the mob not
  7033. respawning after caputed. [Skotlex]
  7034. * Fixed item info not displaying the found item id [Skotlex]
  7035. * Fixed item info not displaying the weight value properly. [Skotlex]
  7036. * Adjusted status resistances and durations taking as base Viccious's info
  7037. from the kro guidebook. [Skotlex]
  7038. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  7039. should display the skill animation correctly now. [Skotlex]
  7040. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  7041. [Skotlex]
  7042. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  7043. * Removed char_nick2id from char-sql server as it's no longer needed.
  7044. [Skotlex]
  7045. * Fixed quitting the map server not properly saving the storage before
  7046. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  7047. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  7048. function. [Skotlex]
  7049. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  7050. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  7051. has a 300% base chance reduced by mdef and the like as explained out by
  7052. Tharis. [Skotlex]
  7053. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  7054. target's int. [Skotlex]
  7055. * [Improved]:
  7056. - mob_dead not to remove script controlled monsters with player sprites.
  7057. [Added]:
  7058. - buildin_mobdeadsit :D [Lance]
  7059. * [Fixed]:
  7060. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  7061. mob_damage. Thanks to seahorsix. [Lance]
  7062. * [Fixed]:
  7063. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  7064. * [Optimized]:
  7065. - list and size not being initialized (size get intialized in default: switch case)
  7066. Eliminated default case and initialized list and size at the beginning. [Lance]
  7067. 2006/06/06
  7068. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  7069. to the mobs level up setting. [Skotlex]
  7070. * Removed a piece of code that should no longer be needed due to the
  7071. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  7072. self-skills from being used on others (pets/mobs should be allowed to do
  7073. that) [Skotlex]
  7074. * Added a status_check_skilluse call in Sightblaster to prevent it from
  7075. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  7076. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  7077. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  7078. * The monsters can level up setting will not take effect when the mob's
  7079. level is LESS than their db counter-part (should prevent under-leveling
  7080. causing underflows and semi-immortal mobs) [Skotlex]
  7081. * Fixed mvp-exp calculations being messed up with more than one attacker.
  7082. [Skotlex]
  7083. * Changed the mob exp race bonus so that each player gets their own bonus,
  7084. rather than the killer's bonus applying to everyone. Still not the
  7085. "correct" way, but one step closer to it. [Skotlex]
  7086. * [Fixed]:
  7087. - Allocation of event_list in guild_npc_request_info to aCalloc so
  7088. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  7089. 2006/06/05
  7090. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  7091. * Hopefully fixed changing a mob's class causing them to get all sort of
  7092. stat bonuses due to the mobs-level-up setting. [Skotlex]
  7093. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  7094. to signed char to correctly account for cards with penalties in said stats.
  7095. [Skotlex]
  7096. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  7097. * Added clif_fixpos packets before attacking for the first time to clear
  7098. any position sync issues with the client. [Skotlex]
  7099. * Fixed skill_unitsetting using layout->count for the for instead of
  7100. group->count [Skotlex]
  7101. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  7102. increase dex/agi by 40% per level. [Skotlex]
  7103. * Fixed char-sql server not deleting character variables when deleting a
  7104. char. [Skotlex]
  7105. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  7106. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  7107. overflows/underflows. [Skotlex]
  7108. 2006/06/03
  7109. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  7110. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  7111. you relogged. Thanks to Euph for the fix.
  7112. * Added variable other_mapserver_count to chrif.c which holds total count
  7113. of connected map-servers. By using this we prevent sending unnecessary
  7114. packets to the char-server when there's no more map-servers connected.
  7115. [Skotlex]
  7116. - Affected packets are whispers, announces, party messages, guild messages.
  7117. 2006/06/02
  7118. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  7119. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  7120. target is near obstacles. [Skotlex]
  7121. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  7122. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  7123. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  7124. fails. Fixes cases where the client gets "stuck" and refuses to let you
  7125. pick any items. [Skotlex]
  7126. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  7127. to 1 tile to make it act more like in the official servers.
  7128. * Some cleaning of the mob slave ai. [Skotlex]
  7129. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  7130. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  7131. skill levels above 10 (meant for boss casted skills) [Skotlex]
  7132. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  7133. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  7134. [Skotlex]
  7135. * [Fixed]
  7136. - Yet another compilation warning. [Lance]
  7137. 2006/06/01
  7138. * Altered status_calc_pc so that equipment scripts are ran before
  7139. card-scripts. [Skotlex]
  7140. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  7141. [Skotlex]
  7142. - These two together, should fix Tao Gunka Card.
  7143. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  7144. [Skotlex]
  7145. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  7146. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  7147. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  7148. without removing it when the skill level is greater than one. [Skotlex]
  7149. * Added SC_DANCING declaration in the Status Change tables to signal it
  7150. modifies Walk speed. [Skotlex]
  7151. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  7152. (eg: poison, berserk) [Skotlex]
  7153. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  7154. affected by Quagmire/Forget-me-not. [Skotlex]
  7155. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  7156. [Skotlex]
  7157. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  7158. cart. [Skotlex]
  7159. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  7160. * Fixed Autoblitz taking into account target's luck rather than attacker's
  7161. [Skotlex]
  7162. * Fixed slaves warping endlessly to their master when the master-slave
  7163. distance exceeds 30. [Skotlex]
  7164. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  7165. [Skotlex]
  7166. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  7167. incorrect range variable. [Skotlex]
  7168. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  7169. 2006/05/31
  7170. * Fixed Soul Drain not really giving you SP [Skotlex]
  7171. * [Fixed]:
  7172. - Suppressed compilation warning in chrif.c [Lance]
  7173. * [Fixed]:
  7174. - Guys can't go across map-servers :( [Lance]
  7175. * [Fixed]:
  7176. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  7177. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  7178. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  7179. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  7180. delay. [Skotlex]
  7181. * Made the char_name_option char_athena.conf setting apply to parties and
  7182. guilds as well. It cannot be applied to pets yet without adding a
  7183. change-name-request interserver packet. [Skotlex]
  7184. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  7185. [Skotlex]
  7186. * Added function char_read_fame_list for famelist reading. Invoked it on
  7187. init, and made it be sent automatically to connecting map servers.
  7188. [Skotlex]
  7189. * Some cleaning of the fame-list reading code. [Skotlex]
  7190. * Some cleaning of the fame-update code, fixed a logic bug which made the
  7191. ranking list fail to display the correct ranker names. [Skotlex]
  7192. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  7193. [Skotlex]
  7194. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  7195. status_calc_bl. [Skotlex]
  7196. * [Fixed]:
  7197. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  7198. * [Improved]:
  7199. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  7200. * [Fixed]:
  7201. - nullpo in pet.c caused by equipping without checking if the pet is available.
  7202. [Lance]
  7203. * [Fixed]:
  7204. - Latest client support completed! [Lance]
  7205. * [Fixed]:
  7206. - Missing #include for cbasetypes.h in login server SQL.
  7207. - Logic errors in run_script [Lance]
  7208. * [Added]:
  7209. - Partial support for latest login packet. But it seems to have a new security
  7210. module. [Lance]
  7211. 2006/05/30
  7212. * [Improved]:
  7213. - Fake NPC interface to use real NPCs.
  7214. - Scripting interface to restore and save sd->npc_id. [Lance]
  7215. * Added function pc_check_skilltree for checking if you unlocked new
  7216. tree-skills when raising non-passive skills. [Skotlex]
  7217. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  7218. the base status. [Skotlex]
  7219. * [Fixed]:
  7220. - Compatibility problems in login.c [Lance]
  7221. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  7222. * [Added]:
  7223. - Mercenary.c in VS.NET 2005 project files
  7224. [Improved]:
  7225. - loginlog using unsigned long `ip` field.
  7226. (Please check for compatibility problems). [Lance]
  7227. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  7228. bonuses (like effect-on-hit) to stack. [Skotlex]
  7229. * slaves inherit speed setting will now work regardless of whether the
  7230. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  7231. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  7232. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  7233. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  7234. attacks. [Skotlex]
  7235. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  7236. * Fixed the pcbonus2 warnings using the wrong value before printing the
  7237. invalid Element error. [Skotlex]
  7238. * Fixed underflow issues when calculating dmotion. [Skotlex]
  7239. * Fixed Absorb Spirit Spheres [Skotlex]
  7240. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  7241. specifies in ms what is the min delay between player sent chats
  7242. (whisper/global/party/guild). Messages that exceed this threshold are
  7243. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  7244. player?) [Skotlex]
  7245. * [Fixed]:
  7246. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  7247. * Rewrote/cleaned up @petfriendly. [Skotlex]
  7248. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  7249. * Updated attr_fix_table reading code to account for ELE_MAX (will
  7250. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  7251. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  7252. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  7253. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  7254. * Added error messages in pc_bonus* functions when an invalid element is
  7255. passed to the relevant bonuses. [Skotlex]
  7256. * [Optimized]:
  7257. - clif_specialeffect to use the enums.
  7258. [Improved]:
  7259. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  7260. definition. [Lance]
  7261. * [Added]:
  7262. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  7263. * Removed the on-die specific code from unit_remove_map and placed it on
  7264. the corresponding *_dead functions. unit_remove_map should never assume the
  7265. char died, it is just a "remove from map" function. [Skotlex]
  7266. * Updated status_damage to handle the general death code (clearing status
  7267. changes, clearing skill related data, sending death packet, etc). The
  7268. return value from the *_dead functions will tell it what to do or not with
  7269. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  7270. * Cleaned up pc_dead to take advantage of the fact that status changes are
  7271. not ended until after the function. [Skotlex]
  7272. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  7273. [Skotlex]
  7274. * Updated/adapted current Homun code to use the status_data update.
  7275. [Skotlex]
  7276. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  7277. * [Fixed]:
  7278. - Pets attacking even master is dead. [Lance]
  7279. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  7280. (negative values should be allowed when attack is absorbed by target's
  7281. element) [Skotlex]
  7282. 2006/05/29
  7283. * [Fixed]:
  7284. - Missing ';' in item #4358 [Lance]
  7285. * [Fixed]:
  7286. - Missing maps in map index database. [Lance]
  7287. * [Fixed]:
  7288. - Battle mechanics in battle_check_target [Lance]
  7289. * [Fixed]:
  7290. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  7291. [Lance]
  7292. * Cleaned up friend list saving and fixed loading of friends.txt file
  7293. (char-txt) [Skotlex]
  7294. * Added the Arunafeltz maps, not tested yet [Playtester]
  7295. - someone with an up-to-date client should test them
  7296. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  7297. [Skotlex]
  7298. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  7299. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  7300. instead of BL_PC and BL_MOB [Skotlex]
  7301. * [Fixed]:
  7302. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  7303. * Removed Undead being immune to poison status. [Skotlex]
  7304. * Removed speed penalty from SC_SKA [Skotlex]
  7305. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  7306. * SC_DODGE won't be dispelled on death now. [Skotlex]
  7307. * [Fixed]:
  7308. - pc_follow_timer possible triggering crash.
  7309. - pc_reg_received to use battle_status.hp instead of status.hp
  7310. [Added]:
  7311. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  7312. * Added a division by zero check in mob_dead to prevent the (impossible)
  7313. case where a mob dies with received damage of zero. [Skotlex]
  7314. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  7315. Non-Players. This usually signals Self skills, and mobs/pets should be able
  7316. to use them in other characters. [Skotlex]
  7317. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  7318. * Fixed draining when the amount drained is negative (invoke zap rather
  7319. than heal) [Skotlex]
  7320. * Implemented GS_FLING as per the current skill description. [Skotlex]
  7321. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  7322. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  7323. * Added some missing SC_* entries on the initial listing (potion related
  7324. and speed up ones) [Skotlex]
  7325. * Fixed function declaration of map_getcellp() [Skotlex]
  7326. * [Fixed]:
  7327. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  7328. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  7329. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  7330. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  7331. * [Optimized]:
  7332. - Removed unused variable (account_id) in storage_guild_storagesaved.
  7333. * [Optimized]:
  7334. - Removed unused checks for unsigned data type and possible logic error for
  7335. char type (gcc treats char as unsigned). [Lance]
  7336. * [Fixed]:
  7337. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  7338. 2006/05/28
  7339. * Added functions status_revive, pc_revive and mob_revive to handle revival
  7340. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  7341. [Skotlex]
  7342. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  7343. Bladestop causing an unknown status change message). [Skotlex]
  7344. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  7345. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  7346. * [Fixed]:
  7347. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  7348. * [Protected]:
  7349. - clif_parse_LGMmessage from possible hacks [Lance]
  7350. * Fixed unable to store n items into storage unless n was the total amount
  7351. of items you had. [Skotlex]
  7352. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  7353. 2006/05/27
  7354. * Added structure status_data which holds status-related information (str,
  7355. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  7356. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  7357. to be used by all combat structures (TODO: Homun needs to be updated to use
  7358. it). This in change involves a LOT of changes throughout the code and many
  7359. optimizations were done as well. Partial list (see svn changelog for complete
  7360. changes): [Skotlex]
  7361. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  7362. skills I changed the most, but it is possible there are unnoticed bugs
  7363. remaining to fix!
  7364. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  7365. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  7366. - Added status functions to deal with damage and healing (status_damage,
  7367. status_heal, status_percent_change) and a bunch of defines for easier
  7368. handling of them (status_percent_heal, status_percent_damage,
  7369. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  7370. THIS, pc_damage/mob_damage most no longer be directly invoked!
  7371. - Rewrote and cleaned up battle_calc_misc_attack
  7372. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  7373. pet_attack_attr_none into attack_attr_none (type 4)
  7374. - Removed config options player_defense_type, monster_defense_type,
  7375. pet_defense_type in favor of weapon_defense_type
  7376. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  7377. - Modified Slim Pitcher so it will work when casted by non-players. Will
  7378. now also work with SP-healing items.
  7379. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  7380. switch adelay/speed when cast begins/ends.
  7381. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  7382. easier updating when used in conjunction with ground skills.
  7383. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  7384. - Added status_calc_bl which does status-change related calculations using
  7385. as base the base_status of the bl object and the SCB_* flag passed. This is
  7386. invoked on status changes, and status_calc_pc will no longer be invoked
  7387. (which results on much faster status-change calculations).
  7388. - pc_clean_skilltree will now also remove item-granted skills.
  7389. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  7390. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  7391. packets and functions ONCE regardless of skill-levls earned.
  7392. - Cleaned up pc_ regen related functions.
  7393. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  7394. - Clones will copy a player's base status rather than battle status (so
  7395. status-change alterations are not cloned)
  7396. 2006/05/26
  7397. * Part B of the homunculus code. [blackhole89]
  7398. While most of the homunculus handling functions are in now, it still lacks
  7399. code required for players to create it.
  7400. Given I haven't screwed up, you could master yourself one through the DB though.
  7401. * Fixed crashing in mob.c [Lance]
  7402. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  7403. * Mob control engine tested 99% working so far. [Lance]
  7404. * Change scripting engine's NPC scope vars to dot (.) style.
  7405. * Improved and (should be fully) fixed the mob control engine. [Lance]
  7406. * Fixed typos in char.c [Lance]
  7407. * Rewrote fame rank lists system to reduce char-server load, as requested by
  7408. Skotlex: now it has a copy of those lists, and updates only the proper one
  7409. when needed instead of rebuilding all from saves everytime (which required
  7410. to always save the character before rebuilding the lists) [DracoRPG]
  7411. - Note it hasn't been compiled nor tested with SQL, please do it for me
  7412. 2006/05/25
  7413. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  7414. int-based damage component (which is added right before elemental
  7415. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  7416. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  7417. Fixed atcommand @request MSG numbers accordinly.
  7418. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  7419. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  7420. * Increased capacity for Account Variables to 64 [Skotlex]
  7421. * Reverted Intravision implementation to that of stable's. [Skotlex]
  7422. * Corrected Login Server taking it's first argument as both login config
  7423. and lan config. [Skotlex]
  7424. * Fixed mob control commands.
  7425. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  7426. 2006/05/24
  7427. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  7428. * Item sharing now shares the same rules as exp sharing (no sharing when
  7429. dead, or idle, etc) [Skotlex]
  7430. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  7431. aren't supposed to be able to call minions) [Skotlex]
  7432. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  7433. skill was successful. May fix the client-position lag. [Skotlex]
  7434. * Merged item_db.sql from stable (the one from stable was more recent than
  7435. the one of trunk...) [Skotlex]
  7436. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  7437. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  7438. ban request packet. [Skotlex]
  7439. 2006/05/23
  7440. * Corrected mob angry mode, now it only "restores" itself after being hit
  7441. when the mob has no target within their range of sight rather than on
  7442. picking a new target. [Skotlex]
  7443. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  7444. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  7445. * the charname request hack message has been downgraded to only include
  7446. GM-invisible characters. [Skotlex]
  7447. * corrected clif_charnameack to send negative ID when a disguised player
  7448. asks for it's own disguised name. [Skotlex]
  7449. * Cleaned up the disguised target-id checks taking into considering that
  7450. the only character that sees a negative ID is the same disguised character.
  7451. [Skotlex]
  7452. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  7453. defense), Investigate and Icepick will now use the final def/vit-def values
  7454. rather than the base ones. [Skotlex]
  7455. * The move-enable condition checks for skills are now checked for only when
  7456. on skill use, not at cast-end time. [Skotlex]
  7457. * Corrected clif parse name request failing on disguised characters [Skotlex]
  7458. * Corrected Soul Drain draining from all non-ground-based skills including
  7459. non-magic attacks. [Skotlex]
  7460. * Corrected pc_setoption to change the option and then change class.
  7461. changing option-wedding will automatically convert the view-class as well.
  7462. [Skotlex]
  7463. * Corrected the 15% drop rate increase when killing higher level mobs in
  7464. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  7465. Vayu. [Skotlex]
  7466. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  7467. db each time o_o [Lance]
  7468. * Fixed sleep command. [Lance]
  7469. * Added 'setd' support for local NPC scope (') variables. [Lance]
  7470. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  7471. 2006/05/22
  7472. * Updated skill_delayfix to return 0 for mobs since they have no skill
  7473. delay other than the one specified in mob_skill_db [Skotlex]
  7474. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  7475. Vayu for pointing it out. [Skotlex]
  7476. * status_get_sc_tick will now use directly Stun's formula rather than
  7477. invoking the status sc chance once. [Skotlex]
  7478. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  7479. * Modified Investigate to take into consideration final def/vit-def rather
  7480. than base values for damage adjustment. [Skotlex]
  7481. * WARNING: New scripting system contains memory leak
  7482. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  7483. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  7484. * Fixed compilation errors.
  7485. Tidy up jobmaster for easy debugging. [Lance]
  7486. 2006/05/21
  7487. * Part A of the Homunculus code.
  7488. This only features the structures, status_* and clif_* (packets) and is
  7489. not functional yet in any conventional way, but doesn't interfere
  7490. with present functionality either.
  7491. Main purpose is helping me to keep my work organized. [blackhole89]
  7492. * Fixed the "fake" mute status bug. [Zido]
  7493. * Speed up array size calculation and deletion. [Lance]
  7494. * Player must learn the skill before doing auto-spell [Lance]
  7495. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  7496. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  7497. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  7498. 2006/05/20
  7499. * grfio_final moved back if any of GRF overriding is enabled so servers
  7500. with such configuration will not have different values after reloading. [Lance]
  7501. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  7502. * Abit of alterations to login-server. [Lance]
  7503. 2006/05/19
  7504. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  7505. * Small change in pc_additem that could be fixing the current bug with new
  7506. items not getting added. [Skotlex]
  7507. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  7508. * Likely fixed the mob-skill random picking behaviour causing infinite
  7509. loops sometimes. [Skotlex]
  7510. * Modified mobskill_use behaviour to pick a random starting point and check
  7511. skills from that, rather than always checking from first to last. Fixes
  7512. skills with high priority blocking skills lower down in the list from
  7513. triggering. [Skotlex]
  7514. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  7515. current target cannot be reached for melee fighting. [Skotlex]
  7516. 2006/05/18
  7517. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  7518. [Skotlex]
  7519. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  7520. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  7521. * Optimized pc_additem comparisons to account for items with more than four
  7522. slots. [Skotlex]
  7523. * Updated clif.c to enable retrieval of items from cart/storage while
  7524. trading. Exception is retrieving items from the cart while vending.
  7525. [Skotlex]
  7526. - The reasoning is that an ongoing trade will not get "corrupted" if you
  7527. earn items before it is commited (only if you lose items from your
  7528. inventory), and it is an annoyance when you realize the stuff you want to
  7529. trade is on the cart/storage.
  7530. * skill reiteration code now does not checks for the trigger-area of the
  7531. skill in the case of non-players, which means mobs can now place traps in
  7532. cells adjacent to each other. [Skotlex]
  7533. * Applied an experimental weather code that should lower bandwidth usage to
  7534. near-none, which's only disadvantage should be the weather not clearing out
  7535. until moving to another map (even when the mapflag is removed from the
  7536. current map). Please test and report if there's any anomalies with it.
  7537. [Skotlex]
  7538. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  7539. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  7540. * MO_BODYRELOCATION will send the slide packet with the actual src's
  7541. coordinates rather than selected tile. [Skotlex]
  7542. 2006/05/17
  7543. * Modified mob_can_changetarget to return true always when the new target
  7544. is the provoked-by character. Fixes provoke not making the mob change
  7545. target when it already is locked on another player. [Skotlex]
  7546. * Added check to clear previous skill when combo time ends. Should fix TK
  7547. Rankers being unable to initiate a combo with the same kick their previous
  7548. combo was finished with. [Skotlex]
  7549. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  7550. 2006/05/16
  7551. * Modified "hide woe damage" to send the number of hits rather than 1 as
  7552. damage Because when the damage is less than the number of hits, the client
  7553. will display MISS. [Skotlex]
  7554. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  7555. [Skotlex]
  7556. * Blood Drain always hits now. [Skotlex]
  7557. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  7558. delay useless) [Skotlex]
  7559. * Search free cell will now skip picking the center-tile as target
  7560. location. Will prevent slaves from walking on top of their master, or mobs
  7561. placing stuff right under themselves with the "around" target conditions
  7562. among other things. [Skotlex]
  7563. 2006/05/15
  7564. * Small changes to the skill.conf
  7565. - Monsters now can place ground skills on top of each other by default
  7566. - Land_Skill_Limit format changed and set to "Only Players" by default
  7567. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  7568. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  7569. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  7570. skill level is above 10. [Skotlex]
  7571. * Sorted out the item_data structure, getiteminfo should work correctly
  7572. now. [Skotlex]
  7573. * KA* skills can now be casted on other Soul Linkers as well without the
  7574. Spirit requirement. [Skotlex]
  7575. * Soul Drain will now show the SP drained regardless of drain display
  7576. settings. [Skotlex]
  7577. * SC_COMBO state will now end in skill_attack rather than
  7578. skill_check_condition (as it is required there to apply damage bonuses
  7579. based on combo-casted skills) [Skotlex]
  7580. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  7581. [Skotlex]
  7582. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  7583. servers. [Skotlex]
  7584. * When removing a castle's owning guild, the char servers will erase the
  7585. guardian data now. [Skotlex]
  7586. * Changed the behaviour of immobile mobs when they can't chase their
  7587. target. Rather than using a longrange skill and then unlocking, they will
  7588. use an attack/angry state skill and then unlock. [Skotlex]
  7589. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  7590. * Fixed clif_GlobalMessage being the exact same function as clif_message
  7591. (the first should send to ALL_CLIENT and the later should send to
  7592. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  7593. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  7594. * Characters in vending are now always considered "idle" if the
  7595. idle_no_share setting is active. [Skotlex]
  7596. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  7597. * Remaining fixes for item scripts. [Lance]
  7598. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  7599. 2006/05/12
  7600. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  7601. * Bugfix on fake npc [Lance]
  7602. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  7603. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  7604. the target is a nonplayer (rather than always) [Skotlex]
  7605. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  7606. player" while 0,0 are random around the whole map (regardless of whether
  7607. there's a player attached or not) [Skotlex]
  7608. * Knockback will no longer work on traps during woe. [Skotlex]
  7609. 2006/05/11
  7610. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  7611. [Skotlex]
  7612. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  7613. of 40% per level. [Skotlex]
  7614. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  7615. [Skotlex]
  7616. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  7617. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  7618. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  7619. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  7620. [Skotlex]
  7621. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  7622. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  7623. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  7624. Tanaous [Skotlex]
  7625. * Added back the missing code that substracts arrows when normal-attacking.
  7626. [Skotlex]
  7627. 2006/05/10
  7628. * Changed the state of Asura back to explosionspirits, added a hardcoded
  7629. move_enable check when invoking Asura and NOT while in BladeStop or a
  7630. Combo. [Skotlex]
  7631. * Added back SC_XMAS to status.c, it got lost sometime during all the
  7632. previous reworkings. [Skotlex]
  7633. * Changed wedding costumes to use setoption rather than changebase.
  7634. [Skotlex]
  7635. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  7636. removes it. [Skotlex]
  7637. * Updated script_commands with the new behaviour. [Skotlex]
  7638. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  7639. than 15. [Skotlex]
  7640. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  7641. 2006/05/09
  7642. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  7643. [Skotlex]
  7644. * Added @request commands, sends a request to all connected GMs of
  7645. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  7646. users (UNTESTED). [Skotlex]
  7647. * Modified @commands to use Meruru's code which is faster and does a fair
  7648. attempt at tabulating the commands presented. [Skotlex]
  7649. * Updated SKA to return a random value between 0 and 99 each time
  7650. status_get_def is invoked. [Skotlex]
  7651. * Updated Making Arrow to not include unidentified items in the list.
  7652. [Skotlex]
  7653. * Reduced drop slots from 15 to 10. [Skotlex]
  7654. * Updated mob_db.sql with the current data. [Skotlex]
  7655. * Updated setoption script command to receive a second (optional) argument
  7656. flag. If the flag is 1, the option is added to what the player currently
  7657. has; likewise using flag 2 removes only that option. No flag (or any other
  7658. value) is the older behaviour of removing all other options and setting
  7659. specificly what is passed. [Skotlex]
  7660. * Updated script_commands information for setoption due to this change.
  7661. [Skotlex]
  7662. * Small fix in npc-created chat rooms to properly include the terminating 0
  7663. on the chat's event. [Skotlex]
  7664. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  7665. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  7666. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  7667. move and the attacker is out of it's attack range. [Skotlex]
  7668. * Added missing icon for Joint Beat [Skotlex]
  7669. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  7670. * Treasure chests will now be excluded from the mob-drop listings
  7671. (@whodrops) [Skotlex]
  7672. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  7673. for the same skill. [Skotlex]
  7674. * Updated main.sql's loginlog table structure. [Skotlex]
  7675. * Added svn_update6533.sql to update the loginlog structure as suggested by
  7676. theultramage. [Skotlex]
  7677. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  7678. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  7679. when crafted for non-players. [Skotlex]
  7680. * Script commands sc_start, sc_start2 and sc_start4 will now start
  7681. regardless of sc defense of the target player (that is, they cannot be
  7682. avoided/blocked) [Skotlex]
  7683. * Fixed a possible counter overflow in attacked_count, changed the var size
  7684. to unsigned char since the code can handle the overflow now. [Skotlex]
  7685. * Multiple targets again reduces armor defense, as reported by Tharis.
  7686. [Skotlex]
  7687. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  7688. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  7689. 2006/05/08
  7690. * Reverted the change that was making ES skills stun the caster always.
  7691. [Skotlex]
  7692. * Removed the fixpos packet which is sent whenever you are hit while moving
  7693. as Aegis doesn't sends this packet neither. [Skotlex]
  7694. * ES magic will now put the caster on stun for 0.5 secs regardless of
  7695. whether the skill-target is a mob or not. [Skotlex]
  7696. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  7697. party-member joins. This packet (as redundant info as it has) should also
  7698. contain the field for "adoptability", but that needs to be coded in yet.
  7699. [Skotlex]
  7700. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  7701. checks and the reply packets still need to be coded in. [Skotlex]
  7702. * Happy State and TK stances won't dispel on death now. [Skotlex]
  7703. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  7704. skill_check_condition now. [Skotlex]
  7705. * Modified TK-ranker infinite combos to behave as described by AuronX.
  7706. Refer to his thread in the development section for details. [Skotlex]
  7707. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  7708. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  7709. (guessed, but better than 100% for all levels) [Skotlex]
  7710. * Changed max level of NPC status effect skills to 5 [Skotlex]
  7711. * Increased max number of tries to find a random spot in maps to 1000 since
  7712. some maps have so many non-walkable tiles it's hard to find one in just 100
  7713. tries. [Skotlex]
  7714. * status_set_viewdata will remove the Wedding Option status when you set a
  7715. class that is not wedding. [Skotlex]
  7716. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  7717. * idletime will now be updated on attack-request, not on sit/standup
  7718. [Skotlex]
  7719. * Party members sitting will no longer be considered idle. [Skotlex]
  7720. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  7721. with the disguise/undisguise script commands instead). [Skotlex]
  7722. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  7723. the other skill that can show critical as well) [Skotlex]
  7724. * Corrected some fields in the standing still packet (guild emblem being
  7725. stored as a Long when it should be Short) [Skotlex]
  7726. * Modified most fields of view_data to be unsigned shorts rather than
  7727. signed ones. [Skotlex]
  7728. * On-Touch NPCs will now make you stop walking when you trigger them.
  7729. [Skotlex]
  7730. * ShadowJump/JumpKick will make you land on the target's cell now.
  7731. [Skotlex]
  7732. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  7733. 2006/05/07
  7734. * Fixed readme/changelog.html [KillerBox]
  7735. * Removed old logs. [Lupus]
  7736. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  7737. 2006/05/05
  7738. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  7739. before sending one (as it's not required to send twice).
  7740. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  7741. players and still continues execution to work). [Lance]
  7742. * Updated item_db.sql to current. [Skotlex]
  7743. * Fixed a bug in @commands, most likely the reason some people were still
  7744. getting crashes. [Skotlex]
  7745. * Fixed @commands not showing the last available commands (unless the total
  7746. amount of commands is divisible by ten) [Skotlex]
  7747. * Added a npc-script-event cache to avoid looking up event-scripts every
  7748. time they need to be executed. Events cached are all those defined in
  7749. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  7750. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  7751. the related NPCs or you'll get dangling pointer crashes. However,
  7752. @reloadscript will work fine.
  7753. - Set the etc_log to on to see a summary of npcs/events loaded for script
  7754. execution on startup.
  7755. * The Rest bonus activated by using /doridori while in rest should now
  7756. trigger with all the class tree (TK/SL/SG) [Skotlex]
  7757. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  7758. player rather than the one attacking... [Skotlex]
  7759. * /doridori now won't double the HP/SP regen of TKs, it only activates
  7760. their "happy" state. [Skotlex]
  7761. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  7762. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  7763. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  7764. (even if there's no other TK around). [Skotlex]
  7765. * Added battle config settings view_range_rate and chase_range_rate to
  7766. adjust the view-range and chase-range (range2/range3) of the mob_db without
  7767. having to manually change them (battle/monster.conf) [Skotlex]
  7768. * Kaupe now will only block all skills of players, for non-players, only
  7769. normal attacks can be missed. [Skotlex]
  7770. * Moved the Kaite spell-reflect code after the damage calculation function,
  7771. so the reflected damage is exactly the damage the original target would
  7772. have received. Will only trigger if the damage to be reflected is above 0.
  7773. [Skotlex]
  7774. * OnEquip scripts will now trigger on log-on. [Skotlex]
  7775. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  7776. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  7777. start/end infinite endure. [Skotlex]
  7778. * Fixed Kaahi's SP cost per heal. [Skotlex]
  7779. * Now when walkdelay is set to 0, characters will stop walking when hit,
  7780. but will not have any walk delay. (previously setting walk delay to 0 would
  7781. not even stop characters from walking when hit) [Skotlex]
  7782. 2006/05/04
  7783. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  7784. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  7785. * Some clean-ups in the mob_ai [Skotlex]
  7786. * Improved atcommand autoloot, now displays droprate in percents and notices
  7787. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  7788. commited by erKURITA
  7789. * Added one grace range in the mob_loot search function which should fix
  7790. mob_can_reach failing when invoked with the same distance that distance_bl
  7791. returned. [Skotlex]
  7792. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  7793. * Eska is now usable on bosses. [Skotlex]
  7794. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  7795. * clif_skill_failed will print out a debug line with the skill_id (since
  7796. the current null_po does not helps at all to fix it) [Skotlex]
  7797. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  7798. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  7799. damage accumulates in the time2 interval (500ms by default) after being
  7800. hit. [Skotlex]
  7801. * Changed skill_unit_move_unit_group to enable moving of all types of
  7802. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  7803. 2006/05/03
  7804. * Kaahi now triggers every 500ms rather than on every hit (but it only
  7805. heals if in those 500ms an attack that would previously trigger Kaahi has
  7806. taken effect). In other words, it works just like before, except damage
  7807. gets "buffered" into 500ms slots. [Skotlex]
  7808. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  7809. * Knowledge will now only trigger if you logon to the memorized map, not
  7810. walk into it. [Skotlex]
  7811. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  7812. [Skotlex]
  7813. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  7814. and not fix the pet issue, but I doubt it'll cause any problems that won't
  7815. be fixed by making the pet move. [Skotlex]
  7816. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  7817. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  7818. 2006/05/02
  7819. * Fixed standing up not really standing you up. [Skotlex]
  7820. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  7821. skill_castend_nodamage_id and skill_castend_pos2 rather than
  7822. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  7823. state is active and a ground skill was not invoked. It should fix all
  7824. issues with splash/ground skills consuming ammo per target rather than once
  7825. per skill use. [Skotlex]
  7826. * Added structure state to the ground skills, their fields are magic_power,
  7827. into_abyss and ammo_consume to indicate the states that were previously
  7828. stored in val3. [Skotlex]
  7829. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  7830. not showing up though, I'll need some logged packets to see what's missing.
  7831. [Skotlex]
  7832. * Removed the unit_can_move checks in skill cast-end, they should be
  7833. performed in skill_check_require when the skill's state is move_enabled.
  7834. [Skotlex]
  7835. * Changed extremity fist's state to move_enabled, the explosion spirits
  7836. check is now hardcoded. [Skotlex]
  7837. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  7838. Haplo. [Skotlex]
  7839. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  7840. impossible to steal unless you have at least 100% steal-rate (where steal
  7841. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  7842. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  7843. shops, interacting with npcs, etc. [Skotlex]
  7844. * Kaite now works against all types of spells. [Skotlex]
  7845. * Kaupe now works against all skills. [Skotlex]
  7846. * Sanctuary now won't damage non-enemies. [Skotlex]
  7847. * Blessing now will always give you bonus stats even if you are wearing
  7848. undead armor. [Skotlex]
  7849. * Modified how Rogue's treasure works so that you get +1% to your steal
  7850. rate rather than +0.01% to the final rate. [Skotlex]
  7851. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  7852. officials (implementation is not quite the same, but it should yield the
  7853. same effects while consuming less bandwidth). "Stacking", as it's called,
  7854. is possible now, but limited to eA's minimum timer skill interval (100ms).
  7855. [Skotlex]
  7856. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  7857. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  7858. behaves). [Skotlex]
  7859. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  7860. * SC_FUSION won't end when you die now. [Skotlex]
  7861. 2006/05/01
  7862. * Added knockback when you run into a wall during running. However
  7863. position is not being refreshed on the client yet... [Skotlex]
  7864. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  7865. * Corrected a crash when sd is null in npc_event [Skotlex]
  7866. * After testing to make sure it works properly, I'm including
  7867. new battle conf options to limit MVP drops. [Reddozen]
  7868. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  7869. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  7870. since it has a visual effect to use. [Skotlex]
  7871. * Corrected the value of OPTION_FLYING [Skotlex]
  7872. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  7873. * status_setviewdata will set your option accordingly when the previous/new
  7874. view-class is wedding or xmas suit. [Skotlex]
  7875. * Added function map_foreachinshootrange, behaves the same way as
  7876. map_foreachinrange, but it also performs a "shoot-path" check before
  7877. invoking the function. Used in the skill subtimer function if
  7878. skill_wall_check is defined. [Skotlex]
  7879. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  7880. all memo points used up. [Skotlex]
  7881. * Fixed alive_count not being reset on skill unitsetting, which leads to
  7882. some groups not being cleared once all their units expire. [Skotlex]
  7883. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  7884. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  7885. * SKA no longer blocks skills. [Skotlex]
  7886. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]