Changelog-Trunk.txt 497 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638
  1. Date Added
  2. 2010/12/09
  3. * Removed some of the duplicate, storage-related packet code. [Ai4rei]
  4. - Removed clif_guildstoragelist and adjusted clif_storagelist to be able to handle any kind of storage.
  5. - Removed clif_guildstorageitemadded in favor of clif_storageitemadded.
  6. - This also fixes clif_guildstorageitemadded sending old update packet for clients prior 20090603, although packet 0x1c4 (ZC_ADD_ITEM_TO_STORE2) was added before PACKETVER 5 (before 2003-11-03aSakexe, exact addition date unknown) (since r14286).
  7. 2010/12/08
  8. * Applied some script command documentation updates and fixes as already done inside the wiki. [Ai4rei]
  9. - Updated description for 'next', 'return', 'attachrid', 'detachrid', 'itemskill', 'openstorage', 'skilleffect', 'donpcevent', 'day', 'night', 'atoi' and 'axtoi' to resolve inaccuracies, missing information or unverified behavior.
  10. - Clarified the purpose of the 'jump_zero' and 'getelementofarray' script commands.
  11. - Fixed 'changebase' stating, that it only works in item scripts (since r2402).
  12. - Fixed 'kickwaitingroomall' stating, that it is not properly linked into the script engine, thus not working (since r13732).
  13. - Updated the description for 'cutin' so that it does not give the impression, that the client is able to display multiple illustrations at once, and being less confusing about the maximum size of illustrations.
  14. 2010/12/07
  15. * Fixed txt-converter-login was no longer compilable with supplied project/make files, due to missing reference to function exists in utils.c (bugreport:4626, since r14528). [Ai4rei]
  16. * Applied svn:eol-style to VS2010 project files (follow up to r14562). [Ai4rei]
  17. * Reverted r14563, due to multiple issues which render the source malfunctioning or uncompilable. To be redone later (bugreport:4627). [Ai4rei]
  18. * Removed unnecessary reference operator from scanf calls passing character strings as arguments in adduser tool. [Paradox924X]
  19. * Revert of r14564. The value wasn't an arbitrary account id but rather the file format version. Added comment specifying this. [Paradox924X]
  20. * Removed arbitrary account id from atop account.txt (Since r13000). [Paradox924X]
  21. * Changed almost all instances of sprintf() to snprintf(). [Paradox924X]
  22. * Further corrections to doc/item_bonus.txt (bugreport:4624). [Ai4rei]
  23. - Added documentation for bUnbreakableGarment, bUnbreakableWeapon, bUnbreakableArmor, bUnbreakableHelm, bUnbreakableShield, bUnbreakableShoes, bBreakWeaponRate and bBreakArmorRate (follow up to r485, r915, r1116, r13819).
  24. - Fixed bIgnoreDefEle having race constants listed instead of element constants (since r12804).
  25. - Fixed bUnstripable* not mentioning, that the bonus parameter is meaningless (follow up to r1382).
  26. 2010/12/06
  27. * Corrected description for bonuses bHealPower and bHealPower2 stating skill names being supported, although the bonus does not accept 'skill' as parameter (bugreport:4619, since r13821). [Ai4rei]
  28. 2010/12/05
  29. * Rev. 14559 Added support for bonus bAddItemHealRate, which works for all healing items care of Epoque. [L0ne_W0lf]
  30. 2010/12/04
  31. * Fixed party booking search increasing result counter, even when no results were found, causing crashes from r14516 onwards (bugreport:4615, since r14412). [Ai4rei]
  32. 2010/12/03
  33. * Fixed soul linkers not receiving taekwon angel buffs upon level up (bugreport:3585, since r3657 and r3660, related r6294). [Ai4rei]
  34. * Corrected 'chance' in description for bonuses bAddMonsterDropItem and bAddMonsterDropItemGroup (bugreport:4063, partially since r1572). [Ai4rei]
  35. * Removed leftovers of the item_value_db.txt feature (bugreport:2031, since athena-dev-2.1.1-mod377, followup to pre-svn 2004/05/29). [Ai4rei]
  36. 2010/12/02
  37. * Various code tweaks and updates related to item types. [Ai4rei]
  38. - Replaced item type literals with their appropriate constants.
  39. - Added itemdb_typename to replace the ugly "BUG!" filled array in @iteminfo (since r1741, follow up to r14550).
  40. - Made the item database parser verify item type for validity.
  41. - Added item type constants to const.txt for use in scripts (getiteminfo).
  42. * Added support for IT_CASH to @iteminfo, logging filters and item drop rate adjustment. Added 'show_picker.item_type'-specific IT_CASH value to it's description (follow up to r14549). [Ai4rei]
  43. * Rev. 14549 Added item type IT_CASH (item type 18) Requires user confirmation before using/generating item(s). [L0ne_W0lf]
  44. * Fixed mapflags not getting initialized upon @reloadscript (bugreport:2247, since r1275). [Ai4rei]
  45. * Removed redundant check in food vs. cash food status change overriding code, partially suggested by xazax (related r14437 and r14510). [Ai4rei]
  46. * Added an error message when a client connection exceeds the socket write buffer, so that it does not appear to be closed for no apparent reason (follow up to r13469). [Ai4rei]
  47. * Random clif.c fixes and cleanups. [Ai4rei]
  48. - Fixed clif_homskillup using sd before nullpo check (since r9297 and r9307).
  49. - Merged code responsible for disabling pets in GvG and spawning them as per TODO (related r12002).
  50. - Fixed base and job exp not being sent to the client for new connections (follow to r14505).
  51. - Fixed Magnifier (item) and Identify (skill) attempting to identify an item, even when cancel is pressed, causing skill failed message.
  52. * Added defines for guild notice sizes (MAX_GUILDMES1 and MAX_GUILDMES2). [Ai4rei]
  53. * Added clif_starskill (packet 0x20e, ZC_STARSKILL) to host the packet previously implemented by clif_feel_info, clif_hate_info, clif_mission_info and clif_feel_hate_reset (related r4352, r4375 and r9162). [Ai4rei]
  54. - This also fixes sd->bl.id being sometimes supplied for monster_id in this packet.
  55. * Various additions and updates to the comments and documentation of packets in clif. [Ai4rei]
  56. - Renamed clif_01ac to clif_skillunit_update to make it look less 'mysterious'.
  57. * Removed clif_weather_sub and clif_misceffect2 in favor of clif_specialeffect_single and clif_specialeffect (all of them are ZC_NOTIFY_EFFECT2). [Ai4rei]
  58. * Rev. 14540 Monsters spawned with mob-generating items now have MD_ANGRY applied to them. [L0ne_W0lf]
  59. 2010/12/01
  60. * Added packet 0x1b1 (ZC_SHOWDIGIT). [Ai4rei]
  61. * Confirmed packet 0x291 (ZC_MSG) to be general-purpose msgstringtable.txt packet and updated all functions using it (related r12245 and r13126). [Ai4rei]
  62. * Fixed using main chat nick longer than 15 characters would cause a buffer overflow (bugreport:2671, since r5013). [Ai4rei]
  63. * Fixed bAutoSpellOnSkill bonuses could not be chained (bugreport:4421, since r13596). [Ai4rei]
  64. * Fixed NPC_TALK message being displayed with EOL character attached (bugreport:4596, since r14270). [Ai4rei]
  65. * Reverted change from r14533 and restored the 3rd field of mob_avail.txt being optional (bugreport:4599, since r14532). [Ai4rei]
  66. * Monster database reading now utilizes sv_readdb. [Ai4rei]
  67. 2010/11/30
  68. * Fixed out-of-bound access to percentrefinery array causing refine bonuses stop working (bugreport:4598, since r14526). [Ai4rei]
  69. * Fixed class being used instead of idx in status_readdb_job2 (bugreport:4597, since r14526). [Ai4rei]
  70. * Moved function 'exists' (file presense check) to utils.c, so that it is available to code outside of lock.c [Ai4rei]
  71. - Fixed associated F_OK and R_OK defines causing 'already defined' warnings on MinGW (since r1361).
  72. * Resolved missing script documentation (bugreport:4578). [Ai4rei]
  73. - Added documentation for bonus bAutoSpellOnSkill (follow up to r13596).
  74. - Added documentation for script command progressbar (follow up to r14024).
  75. * Made job_db1.txt, job_db2.txt, size_fix.txt and refine_db.txt reading use sv_readdb. [Ai4rei]
  76. - NOTE: Any MAX_LEVEL (map.h) increase requires at least same increase of SV_READDB_MAX_FIELDS (strlib.c) as well.
  77. * Added SV_READDB_MAX_FIELDS define for configuration of the sv_readdb limit. [Ai4rei]
  78. * Made skill_tree.txt reading use sv_readdb. [Ai4rei]
  79. - Added define for skill entry requirements.
  80. - Reports duplicate skills within same job class.
  81. * Added a define for star gladiator feel/hate info array length (follow up to r8721 and r11840). [Ai4rei]
  82. * Fixed script command getusers causing 'player not attached' errors when asking for character count in entire server (bugreport:4591, since r14495). [Ai4rei]
  83. 2010/11/29
  84. * Resolved issues with item delay system. [Ai4rei]
  85. - Fixed random crashes caused by map_session_data corruption due to out-of-bounds access to item_delay array (bugreport:4568, since r14455).
  86. - Fixed item delay database not being compatible with @reloaditemdb. Item delays are now reset upon reloading, much like a restart would do (bugreport:4589).
  87. - Fixed trailing commented lines in db/item_delay.txt could cause 'too many entries' error to be displayed.
  88. - Fixed last entity of a cash food item not being recognized as cash food, thus not receiving use delay, due to access to deleted inventory slot (since r14426).
  89. - These changes also fix a warning regarding variable 'i' in pc_useitem being potentionally uninitialized (bugreport:4559).
  90. 2010/11/28
  91. * Added an option to re-roll the /dice emotion server-side, to prevent cheats during events (bugreport:4194). [Ai4rei]
  92. * Added emotion_type enumeration for clif_emotion constants. [Ai4rei]
  93. - Made clif_parse_Emotion use clif_emotion, rather than having it's code inlined.
  94. * Added clr_type enumeration for vanish effect constants. [Ai4rei]
  95. * Resolved multiple issues with the party booking system (bugreport:4573, since r14412). [Ai4rei]
  96. - Fixed recruitments were limited to party leaders.
  97. - Fixed recruitment index was party id instead of an auto-increment value, causing sorting by age not working.
  98. - Fixed search result packet being sent on recruitment creation (probably to work-around next problem).
  99. - Fixed packet 0x0805 not getting sent, because of commented entries in packet_db.txt (packet ver. restriction of clif_send).
  100. - Fixed recruitment creation notice being sent to the recruiter only.
  101. * Removed 'negative clrtype is used for skipping unauthed objects from saving' introduced in r9975, as it is no longer required/used (follow up to r12223). [Ai4rei]
  102. * Made the party booking search pass results as array of pointers, rather than array of indexes, which require further lookup. [Ai4rei]
  103. * Replaced literal constants related to the party booking system with defines. [Ai4rei]
  104. * Fixed pets derived from immobile monsters not being able to walk (bugreport:3377, since r13789). [Ai4rei]
  105. - This also fixes pets using original monster walk speed, instead of the one defined in pet db.
  106. - Fixed pets not being able to attack (pet_attack_support and pet_damage_support) when derived from a monster, which is not able to attack.
  107. 2010/11/27
  108. * Fixed a crash uncovered with r14501, caused by outdated local variables when a script is about to suspend or terminate (bugreport:4577). [Ai4rei]
  109. * Fixed a crash when using food status bonuses with cash food status bonuses (bugreport:4582, since r14437). [Ai4rei]
  110. 2010/11/26
  111. * Fixed description of bCriticalAddRace having 'race' and 'crit' parameters interchanged (bugreport:4383, since r1116 and r1382, related r12804). [Ai4rei]
  112. * Changed 'killerrid' and 'killedrid' from player vars to player params (bugreport:3249) [ultramage]
  113. - Now stored in player session data, so they don't get saved on logout anymore.
  114. - Added sql upgrade script 'upgrade_svn14507.sql' to remove the now unused player variables.
  115. * Some updates and fixes to script command documentation. [Ai4rei]
  116. - Fixed small inaccuracy in description for homevolution (bugreport:125).
  117. - Added ~AnnieRuru~'s fixes to item scripts, variables, and commands addtimer and addnpctimer (bugreport:373).
  118. - Fixed documentation for function command in regard of passed arguments and return value. (bugreport:373).
  119. - Simplified description for getusers, by hiding internal mechanics of the command, which are irrelevant to a scripter (bugreport:2545).
  120. - Added description for setfont and mercenary-related commands (bugreport:3034).
  121. - Added documentation for ?: operator and "global" labels provided by Gepard (bugreport:3650).
  122. - Added documentation for operators -, ~ and ! (bugreport:3650).
  123. * Fixed base and job exp not getting reset on (de)leveling through commands (bugreport:85). [Ai4rei]
  124. - Fixed level up related functions not updating client-side exp information, causing the exp percent value display random values.
  125. - Fixed party system not getting notified of level-ups through parameter changes.
  126. * Fixed auto-generated statpoint table missing 3 status points (since r1107). [Ai4rei]
  127. 2010/11/25
  128. * Too large client packets, which would otherwise cause the client to crash, are now dropped and reported (bugreport:4391). [Ai4rei]
  129. * Fixed a crash when an unknown map is encountered during parsing a 'script' npc and the script has mismatched curly braces (bugreport:4423, since r11502). [Ai4rei]
  130. * Fixed script commands attachrid and detachrid not updating the attached character's information about currently running script, causing errors with dialog-based scripts or preventing characters from walking (bugreport:4571). [Ai4rei]
  131. 2010/11/24
  132. * Fixed party booking search not interpreting level 0 as 'all levels' and using level as upper rather than lower bound (bugreport:4537, since r14412). [Ai4rei]
  133. * Display a message showing the user where to change MAX_ITEMDELAYS when they have too many entries in the item_delays db. Follow-up to r14455. [Paradox924X]
  134. * Fixed pets with player sprites causing the client to crash while looking for non-existing resources (topic:260895, follow up to r14488). [Ai4rei]
  135. * Fixed calls to pc_delautobonus assuming map_session_data::autobonus2 and map_session_data::autobonus3 arrays having the same size as map_session_data::autobonus (since r13915). [Ai4rei]
  136. 2010/11/23
  137. * Added script command pushpc, which is required by newer scripts. [Ai4rei]
  138. - Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code.
  139. * Various small cleanups. [Ai4rei]
  140. - Fixed truncation warnings in @statuspoint, @skillpoint and @str/@agi/@vit/@int/@dex/@luk (since r14436).
  141. - Fixed data type inconsistency in @statuspoint and @skillpoint (since r5762, related r13541).
  142. - Silenced truncation warnings in CR_ACIDDEMONSTRATION damage calculation and cardfix application (since r13700).
  143. - Reformatted unit_blown to make it look cleaner (follow up to r14492).
  144. * Labels longer than 23 characters will no longer cause the server to exit immediately (bugreport:4563, since r1213). [Ai4rei]
  145. * Fixed script command getusers causing map server to crash when called with type 0 without attached character (bugreport:4565). [Ai4rei]
  146. - Lack of character is now reported like other script commands do. Additionally invalid types are reported as well.
  147. 2010/11/22
  148. * mail_deliveryfail no longer attempts to log (since r12910) and give items (since r11855), when there is no item attached to the mail (bugreport:3239). [Ai4rei]
  149. * Fixed a crash when shutting down char-server (TXT only), after it failed to load storage save data (since r1275). [Ai4rei]
  150. * Batch files (Windows) now detect whether the server crashed, aborted or shutdown cleanly (Ctrl+C or @mapexit) and print appropriate message, instead of always assuming, that the server crashed (bugreport:3476, since r1818). [Ai4rei]
  151. * Fixed map server getting notified of hair, hair color, gender, class and level changes from a char server (TXT only) twice (since r2986). [Ai4rei]
  152. * Fixed saving/loading errors with compilers (such as VC6, MinGW), which do not recognize %ll format (since r14242). [Ai4rei]
  153. - This also fixes guild leader name being displayed and saved as "(null)" in the guild member list.
  154. * Fixed guild and guild member exp truncation issue (bugreport:4130, since r14242). [Ai4rei]
  155. - Fixed guild member position, hair, hair color, gender, class and level could potentially become corrupted due to shorts being read as ints (partially since r2986).
  156. * Fixed disguising as player clone causing the client to crash while looking for non-existing NPC sprites (bugreport:4428, since r14387, related r14383). [Ai4rei]
  157. * Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442). [Ai4rei]
  158. * Fixed map-server displaying 'PK Mode' notice only for pk_mode 1 (since r8402). [Ai4rei]
  159. 2010/11/21
  160. * Added msinttypes (rev. 26, http://msinttypes.googlecode.com/svn/trunk/) portability framework for Visual C++ compilers (related bugreport:4059). [Ai4rei]
  161. * Added 64-bit variants of the socket and buffer I/O macros. [Ai4rei]
  162. * Added enumeration RC2_* for mob data 'race2' (bugreport:4561). [Ai4rei]
  163. - Fixed race2-related bonus arrays using RC_MAX, rather than race2 maximum (since r6221, related r1277).
  164. - Fixed bSubRace2 lacking bounds check (since r1257).
  165. 2010/11/20
  166. * Fixed @doom and @doommap spamming packets for the visual effect on invoker unnecessarily over whole map and server respectively. The effect is now displayed on each killed character (bugreport:871, since r311). [Ai4rei]
  167. * Fixed login-server account engine initialization not getting checked, whether it succeeds or not (bugreport:4361, since r12700, related r13000). [Ai4rei]
  168. - Failure to retrieve account engine and initializing it is now considered fatal and causes the server to exit immediately.
  169. - Fixed two data type inconsistencies, while being at it.
  170. * Made atcommand declarations use ACMD_FUNC macro (bugreport:4252, related r11607). [Ai4rei]
  171. 2010/11/19
  172. * Various VC6-related fixes and tweaks. [Ai4rei]
  173. - Fixed a typo in VC6 project files, that prevented login-server from compiling (bugreport:4061, since r12727).
  174. - Fixed usage of 'long long' in Sql_P_BindSqlDataType preventing SQL VC6 projects from compiling (bugreport:1741, since r10779).
  175. - Fixed usage of 'long long' in strtoull preventing VC6 projects from compiling (bugreport:4059, follow up to r14245).
  176. - Made strtoull default to base 10 and actually process base 8, to match the normal behavior of this function (bugreport:4059, follow up to r14245).
  177. - Fixed functions in db.c not being returned as pointer, causing warnings on VC6.
  178. * Fixed plug-in version getting checked against itself and a wrong operator being used for the check (bugreport:3952, since r9631). [Ai4rei]
  179. * Fixed WFIFOL being used instead of WFIFOW for a short field of packet 0x2710 (bugreport:2819). [Ai4rei]
  180. * Made script command getmapxy print a warning, if an invalid type is supplied (related r69, r8459). [Ai4rei]
  181. * Fixed pc_marriage not checking spouse character job for baby class. [Ai4rei]
  182. * Removed ; from INTPTR_* defines (since r13449). [Ai4rei]
  183. * Fixed a crash when SqlStmt_ShowDebug is given NULL pointer as statement handle (since r10753, related r10818). [Ai4rei]
  184. 2010/11/16
  185. * Added a missing argument to a warning containing a format specifier. [Paradox924X]
  186. 2010/11/15
  187. * Follow-up to r14456. Default initialize atk_rate to 0 instead of 100 to match new effect of bonus bAtkRate. [Paradox924X]
  188. 2010/11/14
  189. * Rev. 14463 Updated quest_read_db. [L0ne_W0lf]
  190. - Reports entries when read by server at start up like other DBs.
  191. - Will now skip blank lines instead of reporting false errors.
  192. - Will report when entries are > MAX_QUEST_DB.
  193. 2010/11/10
  194. * Made bAtkRate add the rate rather than setting it. (bugreport:4499) [Paradox924X]
  195. * Added an item_delay database usable for item-specific use delays. [Paradox924X]
  196. 2010/11/09
  197. * Use packet 0xe7 instead of 0x1f5 within clif_tradestart() when there is no trade_partner (or an invalid one) specified even for PACKETVER >= 6. (bugreport:4544) [Paradox924X]
  198. * Follow-up to r14368. Load last_map from SQL on char load so the information is available during char select for PACKETVER > 20100721. Patch based on Ai4rei's. (bugreport:4429) [Paradox924X]
  199. 2010/11/08
  200. * Notify players involved in a trade that it has been canceled when one player changes maps/logs out or otherwise becomes unable to participate in the trade. [Paradox924X]
  201. * Send the actual level of the person you're trading with rather than limiting it by the max_lv/aura_lv settings. [Paradox924X]
  202. 2010/11/07
  203. * 'Exp gained' packets are now sent regardless of @showexp. @showexp can be enabled regardless of PACKETVER. [Gepard]
  204. * Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459) [Gepard]
  205. 2010/11/02
  206. * Fixed an issue where two ushorts were being strcmp'd. Follow-up to r14442. (bugreport:4523) [Paradox924X]
  207. * Ensured character data is saved even when last map is the only value that has changed during save time. (bugreport:2218) [Paradox924X]
  208. * Applied fix by Ai4rei to reintroduce mapName within charinfo packet when PACKETVER >= 20100803. Follow-up to r14432. (bugreport:4413) [Paradox924X]
  209. * Updated script doc to appropriately describe the effects of close/close2 when used without a window on screen. (bugreport:898) [Paradox924X]
  210. * Applied patch by xazax to clean up various bits of code across mapserver code. (bugreport:4512) [Paradox924X]
  211. 2010/11/01
  212. * Changed Normal and Cash Food statuses so they do not stack and overwrite the other if the level (val1) is the same or higher. (bugreport:4519) [Paradox924X]
  213. * Modified certain atcommands to use 64 bit arithmetic before capping a value to correct boundary logic for overflowing values. [Paradox924X]
  214. 2010/10/21
  215. * Removed unused 'indoors' mapflag. [Gepard]
  216. 2010/10/17
  217. * Fixed wrong char info packet size for clients after 2010-07-27. (bugreport:4413) [Gepard]
  218. 2010/10/13
  219. * Prevented direct transformation into dummy jobs via @jobchange command. (bugreport:4227) [Paradox924X]
  220. * Prevented @stpoint and @skpoint from causing overflows. [Paradox924X]
  221. 2010/10/11
  222. * Implemented official cash food behavior, including use delay, not being dispelled (including on death),
  223. distinct status effects and icons from the ordinary food types. (bugreport:2560) [Paradox924X]
  224. * Applied ultramage's fix to prevent a segfault when a mob dead event triggered by a land-based skill causes the player to warp. (bugreport:4426) [Paradox924X]
  225. 2010/10/10
  226. * Applied Ai4rei's patch to prevent an invalid rid from being attached to the execution of a script. (bugreport:4470) [Paradox924X]
  227. * Added NULL initialization to info variable in map_readfromcache() to satiate compiler. (bugreport:4399) [Paradox924X]
  228. * Applied Ai4rei's patch to eliminate unnecessary and redundant castle data saving. (bugreport:4471) [Paradox924X]
  229. * Added a missing const qualifier to a variable. (bugreport:4472) [Paradox924X]
  230. * Rev. 14418 Follow up from r14413, should take care of the errors from bugreport:4472. [L0ne_W0lf]
  231. * Pull `name` from character table instead of using `master` from guild table when loading guild data. [Paradox924X]
  232. * Use `char_id` rather than `master` when checking if a guild needs to be deleted during character deletion. [Paradox924X]
  233. 2010/10/06
  234. * Rev. 14413 Touched up the party booking patch, seems I forgot some lines in clif.c...and managed to duplicate a line in map.c. [L0ne_W0lf]
  235. 2010/10/05
  236. * Rev. 14412 Added Spira's Party Booking System implementation [L0ne_W0lf]
  237. 2010/09/20
  238. * Fixed when devoter is killed by the redirected damage, devotee takes the whole damage. (follow up to r14406)[Inkfish]
  239. 2010/09/18
  240. * Rev. 14409 Added bard/dancer songs and duets to the nodispell list. (bugreport:4411) [L0ne_w0lf]
  241. * Applied Ai4rei's patch for the skill WE_CALLPARTNER (bugreport:4437)
  242. 2010/09/12
  243. * All direct damages such as reflected damage or Tarot Card damage should not be redirected. (follow up to r14400)[Inkfish]
  244. 2010/09/08
  245. * All mobs whose display sprites are those of a job id will now appropriately be identified to the client as players, not mobs. [Paradox924X]
  246. * Updated License from GNU GPLv2 to GNU GPLv3. [Paradox924X]
  247. 2010/09/07
  248. * Added MD_TARGETWEAK to list of modes not to give a player when calculating player data.
  249. - This makes evilclones aggressive towards players. (bugreport:3280) [Paradox924X]
  250. * Ensure a pointer is valid within map_readfromcache() before attempting to access its members. [Paradox924X]
  251. 2010/09/06
  252. * Rev. 14400 Implemented Icescope's fix for devotion, reflect damage is no longer absorbed by the devoter. (bugreport:3189) [L0ne_W0lf]
  253. * As a folow up to r14301, increased MAX_REG_NUM to 256, to prevent possible data loss.
  254. 2010/08/28
  255. * Force a map_quit() call on the session data after a block/ban/changesex/acc deletion to remove leftovers of a player's session
  256. caused by when the fd has already been set to eof (player is not connected) but session data is kept (e.g. autotrading). [Paradox924X]
  257. * Replaced a map_moveblock() call with a call to unit_movepos() to prevent an exploit. [Paradox924X]
  258. 2010/08/26
  259. * Rev. 14395 instance_npcname will now error if the NPC being looked up is not found, care of ramsey. [L0ne_W0lf]
  260. * delitem/2 will now send the close button when failing to find all neccecary items to delete.
  261. - Still do to, items should not be deleted as-found, and should be deleted once counted
  262. and in the event of delitem failure, nothing should be consumed. This is a design flaw
  263. in eathena, and should be fixed as soon as possible.
  264. 2010/08/21
  265. * Rev. 14393 Follow up to r14392, forgot to remove the old snprintf. [L0ne_W0lf]
  266. * Rev. 14392 Mob chat now strips "#unique" names off monsters, curtosy of Daegaladh. [L0ne_W0lf]
  267. 2010/08/20
  268. * Rev. 14390 Commented out code from r14388, as this breaks NPCs that rely on running global events in duplicates. (IE: WoE scripts) [L0ne_W0lf]
  269. * Removed processing for undocumented and unused event 'OnCharIfInit' which is essentially an alias for event 'OnInterIfInit'. [Paradox924X]
  270. * Made it so global events don't get executed in duplicates to prevent unnecessary reprocessing of events that only need to be run once.
  271. This potentially reduces the total number of global events by hundreds, even thousands. [Paradox924X]
  272. * Added a few missing updates to the last packet update to properly support player clones and disguising. [Skotlex]
  273. 2010/08/19
  274. * Rev. 14384 Follow up to r14383, changed use of clif_font_area to clif_font, seems Skotlex forgot them. [L0ne_W0lf]
  275. * Added support for packets 0x7fa, 0x7f7, 0x7f8, 0x7f9. These are for renewal
  276. clients and fixes deletion of ammo/displaying of Homunculus HP/SP bars on recent RE clients. [Skotlex]
  277. 2010/08/18
  278. * Rev. 14381 Added bonus3 bAdd/SubEle, which allows you to specify a battle flag as well! Dun dun dun! [L0ne_W0lf]
  279. - The bonuses are addititive to existing bAdd/SubEles, as that's how it appears to work.
  280. 2010/08/16
  281. * Fixed an exploit where unauthorized GMs can give zeny through auction. [Inkfish]
  282. * Rev. 14378 Attempting to tackle, and fix some simple errors in skills. [L0ne_W0lf]
  283. - Stormgust hit counter no longer resets under new casts of stormgust.
  284. - RG_STEALCOIN will now cause the monster to aggro player on success. (bugreport:3547)
  285. - SL_WIZARD will now consume one crystal fragment per reflected hit. (bugreport:3603)
  286. - WZ_FROSTNOVA will now ignore targets in area that are already frozen. (bugreport:3980)
  287. - SL_KAAHI will no longer use SP if player has full health already. (bugreport:3918)
  288. - CG_TAROTCARD "The Lovers" will heal source player instead of target. (bugreport:4171)
  289. * Merged Shinryo's patch which speeds up map-cache loading (with a few changes, see eA forum thread #253218 for details) [Skotlex]
  290. 2010/08/14
  291. * Rev. 14373 Quest log kill count now updated properly. (Added from topic 253813) [L0ne_W0lf]
  292. 2010/08/11
  293. * Documented Battleground commands with as much information as I've got. [L0ne_W0lf]
  294. 2010/08/03
  295. * Merged quite a bit of the RagexeRE eA Compatibility patch (eA topic 222623) to support the more recent clients. [Skotlex]
  296. 2010/07/27
  297. * Rev. 14367 Implemented three new mercenary skills. [L0ne_W0lf]
  298. 2010/07/27
  299. * Rev. 14365 Updated npc_randomattack, it now does 100*skillevel percent damage. [L0ne_W0lf]
  300. * Added patch from Paradox to allow a skill to use a random element for damage. See skill DB for info.
  301. 2010/06/27
  302. * Rev. 14358 Follow up to r14357. Moved where sd is checked for existance in specialeffect2. [L0ne_W0lf]
  303. * Rev. 14357 Updated specialeffect2 to accept player names. (follow up to r14353) [L0ne_W0lf]
  304. * Bascilica now allows boss-flagged monsters to knock you back as per official.
  305. 2010/06/27
  306. * Rev. 14356 Follow up to r13895, added a battle.conf setting to control if ranges should be checked with autocasts. [L0ne_W0lf]
  307. 'autospell_check_range', by default is set to no, as this is official behavior. This also affects autospellwhenhit.
  308. * Sonic Blow autocast now stops players attacking when it triggers. It's possible there is more depth to this
  309. on official servers, and should 'stop' attacking on regular casts as well. It appears so far that this is the
  310. only skill that behaves this way.
  311. * Modified the default value for homunculus_auto_vapor in source to 1.
  312. * pvp_points are no longer calculated in the gvg_dungeon flagged maps.
  313. 2010/06/22
  314. * Rev. 14353 Added support for NPC names in the 'specialeffect' script command, go go copy/paste! [L0ne_W0lf]
  315. 2010/06/20
  316. * Fixed codepage indicators being included in NPCs' whispervars. [Gepard]
  317. 2010/06/18
  318. * Added support for NPC/PC names in 'emotion' script command. [Gepard]
  319. 2010/06/14
  320. * Rev. 13442 Blocked being able to use the skill CR_DEVOTION on players under the status SC_HELLPOWER. [L0ne_W0lf]
  321. - Additionally, users afflicted by the status can also no longer use Token of Siegfried to self-res.
  322. * Added Manuk, Splendide and SC_HELLPOWER statuses to the status effects that can't be dispelled.
  323. * Changed SC_SPEEDUP0 to use the correct status icon SI_MOVHASTE_HORSE.
  324. * Changed SI_SPEEDUP1 to use the correct status icon SI_SPEEDPOTION1.
  325. 2010/06/13
  326. * 'clif_hpmeter' shouldn't send the packet to the player himself. [Inkfish]
  327. 2010/06/10
  328. * Rev. 14336 Updated SC_ITEMBOOST to work similar to how it used to in r11351. [L0ne_W0lf]
  329. - Will not boost drop rates past 90%, but ignores those already greater than.
  330. - Now uses val2 in the sc_start as the drop rate modifier, see item_db for example.
  331. 2010/06/09
  332. * Added support for packet 0x7fe which changes the bgm temporarily for a single player [Rikter/Yommy]
  333. * Added 2 script commands, playBGM and playBGMall, documented use in doc/script_commands.txt [Rikter/Yommy]
  334. 2010/06/01
  335. * Rev. 14329 Corrected warnings (and errors on some compilers) from r14327. [L0ne_W0lf]
  336. * Rev. 14327 Implemented the Manuk and Splendide item status effects, thanks to Epoque. [L0ne_W0lf]
  337. 2010/05/31
  338. * Added support for using 'town', 'autotrade', 'allowks', 'monster_noteleport', 'pvp_nocalcrank' and 'battleground' mapflags in scripts (bugreport:4226). [Paradox924X]
  339. * Replaced all occurrences of 'leaved' with 'withdraw'. [Paradox924X]
  340. * Rewrote and optimized clif_hpmeter to employ map_foreachinarea() rather than an iteration over every session (bugreport:3956). [Paradox924X]
  341. * Rewrote and reorganized checks in @autotrade to check and display most useful information first (bugreport:4253). [Paradox924X]
  342. 2010/05/30
  343. * Damaged reflected from skills will now be shown as multiple hits if the skill used was multi-hit. [Paradox924X]
  344. 2010/05/29
  345. * Rev. 14313 Added a pc_isdead check to warpparty. Only warp and mapwarp (moveto, warpallpcinthemap, and warpwaitingpc aegis script equivilents) should revive players when placing them on new maps. [L0ne_W0lf]
  346. * Rewrote/optimized script command warpparty. [Paradox924X]
  347. - Added support for an optional extra parameter "from_mapname" to restrict effect of warpparty to only those on a specific map.
  348. 2010/05/28
  349. * Rev. 14310 Fixed it so you can't add opositions during woe se. [L0ne_W0lf]
  350. 2010/05/20
  351. * Rev. 14301 Increased gobal_reg_value to 256 from 96. [L0ne_W0lf]
  352. * Upped the max quest db entries allowed to 1500.
  353. * Added remaining status icons to status.h (mostly 3rd job icons.)
  354. 2010/04/28
  355. * Fixed OnTouch doesn't trigger on hiding character. (bugreport:4208) [Inkfish]
  356. 2010/04/23
  357. * Merged a few updates for supporting renewal clients (thanks to Diablo): [Skotlex]
  358. - Updated packets for char-select screen, trade item add, guild storage item add, vending list.
  359. - Allow client to change item-share party settings
  360. 2010/04/12
  361. * Fixed SuccessRemoveCards removing Armor Enchant. (bugreport:4014) [Inkfish]
  362. 2010/03/31
  363. * Rev. 14277 Moved /npc/sample/ to /doc/sample. These are examples, not actual npcs. [L0ne_W0lf]
  364. 2010/03/23
  365. * Rev. 14270 Implemented NPC_TALK (Credit to SnakeDrak and Daegaladh) [L0ne_W0lf]
  366. - Also added in the ability to use '@npctalkc' as a GM command.
  367. 2010/03/21
  368. * Added missing checks to stop an infinite free cash point exploit. (bugreport:4139) [ultramage]
  369. 2010/03/02
  370. * Fixed an exploit where the buyer can end the auction himself. [Inkfish]
  371. 2010/02/27
  372. * Fixed Posion Status killing monsters with low max hp(like plants). [Inkfish]
  373. 2010/02/19
  374. * Fixed racial bonuses for RC_NONDEMIHUMAN applying to right cardfix value (cardfix) instead of left cardfix value (cardfix_) in the case of melee attacks where left_cardfix_to_right is set to 'no'. [Paradox924X]
  375. * Fixed NPC_INVINCIBLE can be dispelled. (bugreport:4046) [Inkfish]
  376. * Fixed a compliation warning. [Inkfish]
  377. 2010/02/09
  378. * Expanded range for cached and stored-in-db guild member exp (devotion) from uint32 to uint64. (bugreport:3983) [Paradox924X]
  379. * Capped value when sending to client to INT_MAX to prevent confusion. [Paradox924X]
  380. 2010/02/07
  381. * Bleeding doesn't kill non-player characters. [Inkfish]
  382. 2010/02/06
  383. * Added official packet to display received expirience. [Inkfish]
  384. 2010/01/30
  385. * Added support for PACKETVER 20100105, which updates the vending related packets on this and later clients. [Skotlex]
  386. 2010/01/28
  387. * Rev. 14232 SN_SHARPSHOOTING is no longer affected by AC_VULTURE. (Bugreport:3909) [L0ne_W0lf]
  388. - Removed the mercenary version from there as well, as it's not needed.
  389. * Fixed target skill doesn't autocast on hit when hit by AoE. [Inkfish]
  390. 2010/01/24
  391. * Prevented the changing of alliances to oppositions during WoE. (bugreport:3923) [Paradox924X]
  392. 2010/01/23
  393. * Prevented pc_skill with a value of 2 for 'flag' from granting a skill level that surpasses MAX_SKILL_LEVEL. (bugreport:4022) [Paradox924X]
  394. 2010/01/19
  395. * Snatch should warp you anyway even if the target died. [Inkfish]
  396. * Snatch now checks the distance between source and target in case it kills the target and then warps the respawned one. [Inkfish]
  397. 2010/01/16
  398. * Fixed items don't grant skill if you had this skill before and then changed your job. [Inkfish]
  399. 2010/01/14
  400. * Fixed change cart packet doesn't check for skill. [Inkfish]
  401. * Added new packets for Plagiarism. [Inkfish]
  402. 2009/12/27
  403. * Fixed Meteor Assault and Spread Attack have twice the chance to trigger AutoSpellOnSkill. [Inkfish]
  404. 2009/12/03
  405. * Prevented online user count from going negative. (bugreport:3913) [Paradox924X]
  406. 2009/12/02
  407. * Rev. 14183 Semi-revert of 14182, moved ALL_WEWISH up under SA_GRAVITY instead, as I hadn't noticed it does exactly what the new case did. [L0ne_W0lf]
  408. * Rev. 14182 Added skill ALL_WEWISH. This skill in older clients plays a song, however in current clients it does not. The effect (AL_ANGELUS) still shows. [L0ne_W0lf]
  409. 2009/11/26
  410. * Moved log_sql_init() call up in map-server-init to after after map_sql_init() call to prevent unnecessary processing before a potential quit. [Paradox924X]
  411. * NPC event code cleanups. [Inkfish]
  412. - removed the 'OnMyMobDead' dead code. It's never supported though documented.
  413. - removed the 'feature' that events only trigger when the player is in the OnTouch area IF it's specified.
  414. It's never documented and breaks official scripts.
  415. - some cleanups and bug fixes to OnTouch_.
  416. * Fixed warping in OnPCDieEvent revives people with 0 hp.
  417. 2009/11/25
  418. * Fixed strnpcinfo(1) returning blank strings when NPC names did not have a hidden portion of the display name. (bugreport:3758) [Paradox924X]
  419. 2009/11/23
  420. * Fixed player keeps bleeding when dead. [Inkfish]
  421. - If battle_config.invincible_nodamage is true, reflected damage to targets in invincible status is now 1.
  422. 2009/11/22
  423. * Added 'ipban_cleanup_interval' option which determines how often expired IP bans are cleaned from the database. (bugreport:3734) [Paradox924X]
  424. * Modified ipban_check() to only include ipbans that haven't already expired. (bugreport:3734) [Paradox924X]
  425. 2009/11/20
  426. * Cleaned up mapreg dirty-marking code to only mark the mapreg as dirty when it actually is. (bugreport:3735) [Paradox924X]
  427. 2009/11/19
  428. * Applied the renewal client support patch from Diablo (eA forum topic 222623).
  429. By default eA still supports sakexe/ragexe clients. In order to support the
  430. renewal clients you must:
  431. - 1: Change the default packet version to "default" in db/packet_db.txt
  432. - 2: Change the supported PACKETVER in src/common/mmo.h to the most recent one
  433. - 3: recompile. [Skotlex]
  434. * Added support for strcharinfo(3) to retrieve the player's map, as getmapxy
  435. can be a bit unwieldy when you just want this information. [Skotlex]
  436. * Added script command "searchitem" which enables scripts to do item searches
  437. based on name (can be useful for creating query NPCs). [Skotlex]
  438. 09/11/09
  439. * Fixed mob is removed from map right after his rebirth. [Inkfish]
  440. * Fixed dead event does not trigger when a mob has rebirth skill and dies for the second time. [Inkfish]
  441. 09/11/08
  442. * Added a flag to indicate if the script of an autobonus was parsed for the sake of resourse saving. [Inkfish]
  443. 09/11/04
  444. * All Songs/Dances now create a 3 second delay before Adaption can be used. [Inkfish]
  445. * Fixed unit still not being able to move when fiberlock is removed by Magnetic Earth. [Inkfish]
  446. 09/11/02
  447. * Rev. 14119 Added battle_config.mob_slave_keep_target config option (monster.conf) [L0ne_W0lf]
  448. - When yes (default) MVP slaves will always keep their prior targets.
  449. - When no the old behavior of switching to the closest target is enabled.
  450. * Updated MAX_MOB_DB to 4000 (Monsters are starting to appear in the 2k ranges)
  451. * Changed default respawn time (when 0) to 500 from 5000.
  452. * Quick fix to char command checking gm level of the target player instead of the command user (bugreport:3255). [Inkfish]
  453. * Disalbed @jump/@jumpto usage when dead. [Inkfish]
  454. 09/11/01
  455. * Rev. 14115 Implemented the fix for Slim Pitcher working on WoESE objects (bugreport:3618). [L0ne_W0lf]
  456. * Added SC_SPIRIT to the list of buffs that are dispelled when the player logs out.
  457. 09/10/27
  458. * Fixed quest will never get erased when it's the only quest you have. [Inkfish]
  459. * Cast time of Emergency Call is doubled if you master of High Jump. [Inkfish]
  460. * High Jump can't be used on PvP maps. [Inkfish]
  461. 09/10/26
  462. * Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN. [Inkfish]
  463. 09/10/25
  464. * Rev. 14101 The status SC_INVINCIBLE now reduces all damage to 1. [L0ne_W0lf]
  465. - Official behavior, and allows players to cancel NPC_ALLHEAL casts.
  466. - If battle_config.invincible_nodamage is true, reflected damage is still 0.
  467. 09/10/25
  468. * Implemented the official version of 'OnTouch' named as 'OnTouch_' and it can be defined in script_athena.conf. [Inkfish]
  469. * Adapted 'map_foreachinarea' to 'map_forsomeinarea' so that it allows you to specify the count of bl you wanna operate on. [Inkfish]
  470. 09/10/24
  471. * Reverted the previous change to OnTouch not triggering for invisible chars [ultramage]
  472. * 'OnTouch' script shouldn't trigger when you are invisible.(same as warps) [Inkfish]
  473. * Fixed character doesn't stop walking when walking into OnTouch area of an NPC who doesn't have an OnTouch label. [Inkfish]
  474. 09/10/18
  475. * Removed the char_rename setting in favor of a PACKETVER define [ultramage]
  476. * Inverted the way renames are counted: '0' now means 'no renames left' (the default)
  477. * Please make sure your database matches this new behavior before starting the server.
  478. 09/10/10
  479. * Added character rename function. [Inkfish]
  480. * NPCs' names should only be 24 characters long including EOS. [Inkfish]
  481. 09/10/06
  482. * Fixed rental items can be moved into guild storage from cart. [Inkfish]
  483. 09/10/04
  484. * Implemented new packets for rental items (from Jobbie and Natz and fixed by me). [zephyrus]
  485. * Rental items now can be moved to storage and cart. [zephyrus]
  486. * Autotrade cannot be used when user is dead, and it's not dispelled if user dies to prevent abuse. [zephyrus]
  487. * Fixed pc_checkitem to do a proper item check and remove. [zephyrus]
  488. 09/10/02
  489. * Fixed a damage underflow.(bugreport:3624) [Inkfish]
  490. * Marionette Control now has an infinite duration.(bugreport:2542) [Inkfish]
  491. 09/09/23
  492. * Added supports for Soul Bound. [Inkfish]
  493. 09/09/21
  494. * Disabled ip checking during auth, since it lead to a lot of confusion. [ultramage]
  495. 09/09/17
  496. * Duration of SC_STONE is not reduced by MDEF. [Inkfish]
  497. * LexAeterna is allowed to be used on petrifying targets. [Inkfish]
  498. * Mobs won't attack back if StoneCurse fails. [Inkfish]
  499. 09/09/13
  500. * Progressbar aborts when player is attacked. [Inkfish]
  501. * Do not stand if damage is from yourself or has no source.(bugreport:3582) [Inkfish]
  502. * Any mobs killed by party members within view range are taken into account in questlog. [Inkfish]
  503. * 'unit_walktobl' now uses at least 1 as the range since 'unit_can_reach_bl' always sets the target coordinates 1 cell away from the target block. [Inkfish]
  504. 09/09/12
  505. * Clarified the names of some questlog functions and eventually implemented kill counts updating. [Inkfish]
  506. 09/09/04
  507. * QuestLog Fix. [Inkfish]
  508. - mob id no longer stores in sql.
  509. - counts won't increase if you have killed sufficient mobs.
  510. 09/08/25
  511. * Implemented Progress Bar.(topic:207933) [Inkfish]
  512. 09/08/21
  513. * Fixed Teleport through Hocus-Pocus skips menu. (bugreport:3513) [Inkfish]
  514. 09/08/20
  515. * Added bMagicHPGainValue and bMagicSPGainValue. [Inkfish]
  516. * Fixed the wrong packet length makes client choke when add_quest packets are sent. [Inkfish]
  517. 09/08/18
  518. * Some fixes for Heat [Inkfish]
  519. - Heat and other ground skills' activation won't cancel combo wait. (bugreport:3228)
  520. - Heat should work with hp/sp drain bonus. (bugreport:3507)
  521. - Heat consumes 10 sp if the attack doesn't connect. (bugreport:3038)
  522. 09/08/17
  523. * Equipment DEF penalty shouldn't be applied to players in Mental Strength. (bugreport:3454) [Inkfish]
  524. 09/08/14
  525. * Fixed self skills affecting target unit when used within combo delay for Asura and Flying Kick. (bugreport:3495) [Inkfish]
  526. 09/08/11
  527. * Fixed changequest behavior(before: completequest+setquest, now: erasequest+setquest) [Inkfish]
  528. 09/08/10
  529. * Fixed autospell and autobonus will still trigger even if the chance is 0. [Inkfish]
  530. * Disabled "show_party_share_picker" functioning on client older than 20071002 to prevent from disconnection. (bugreport:3457) [Inkfish]
  531. * Fixed units other than players and mercenaries using Devotion will cause crashes. (bugreport:3475) [Inkfish]
  532. 09/08/01
  533. * Questlog code cleanup. [Inkfish]
  534. * Fixed range check on autospell and autospell2. [Inkfish]
  535. * Implemented official behavior of party_show_share_picker. [Inkfish]
  536. * Fixed a typo on reading no_equip list. [Inkfish]
  537. 09/07/28
  538. * Kaahi heals no matter if attack connects. (bugreport:2440) [Inkfish]
  539. * Fixed a typo causing skillitem always resets skill delay. (bugreport:3431) [Inkfish]
  540. * Fixed damage_level is not calculated properly on normal attack. [Inkfish]
  541. * Kaahi is supposed to be canceled on logout. [Inkfish]
  542. 09/07/25
  543. * Rewrote Quest Log system. [Inkfish]
  544. * Fixed message display for FullStrip and SelfProvoke. (bugreport: 3011, bugreport: 3415) [Inkfish]
  545. 09/07/21
  546. * Added proper bounds of INT_MIN to INT_MAX for hp/sp when being sent to/from status_damage/status_heal for negative values because of INT_MAX being (-INT_MIN - 1). [Paradox924X]
  547. 09/07/17
  548. * Dead branches no longer check for players' level. (bugreport:3378) [Inkfish]
  549. * The Lovers Card won't teleport anyone on PVP/WoE/BG maps. (bugreport:3371) [Inkfish]
  550. 09/07/11
  551. * Some updates for range check. (bugreport:3339) [Inkfish]
  552. - Monsters shouldn't use skills if the target is within its attack range but is out of the skill range.
  553. - Monsters' skill range is no longer 9 by default.
  554. - Range for players' attacks and skills should always have a circular check.
  555. 09/07/07
  556. * Skills with multiple hits should do 1 damage per hit to plants. [Inkfish]
  557. 09/07/04
  558. * TK_POWER shouldn't count the player him/herself for the skill. [Inkfish]
  559. * Fixed a wrong check of Intimidate on hp. (bugreport:3305)[Inkfish]
  560. * Extended ATF_SKILL to ATF_MAGIC and ATF_MISC. [Inkfish]
  561. 09/07/03
  562. * Martyr's Reckoning can be perfect dodged. [Inkfish]
  563. * Casting Flying Kick while running and in the spurt status doubles the damage dealt without spurt status. (bugreport:1898) [Inkfish]
  564. - TODO: bonus on running is still not correct.
  565. 09/07/02
  566. * Updated autobonus [Inkfish]
  567. - added documentation for autobonus.
  568. - invoke status_calc_pc after execution so that client display gets refreshed if neccessary.
  569. 09/06/30
  570. * Fixed when dynamic_mobs is active, reloading script right after the last player having left a map leads to permanet mobs not spawning on that map. [Inkfish]
  571. 09/06/29
  572. * Fixed attack not counted as connect when dodged and got damage from skill bonus like Weaponry Research. [Inkfish]
  573. 09/06/28
  574. * Implemented script command "autobonus". [Inkfish]
  575. - "autobonus" is similar to "bonusautoscript", however it has a timer of its own.
  576. - Updated itemdb changing items bonus using "bonusautoscript + sc_start" mode to "autobonus + bonus" mode.
  577. - Remove bonusautoscript and status changes that was needed by bonusautoscript and is no longer in use.
  578. 09/06/23
  579. * Minor update to atcommand_jailfor and atcommand_char_ban's modif_p var incrementation for minute-based bans/jails. [Paradox924X]
  580. 09/06/20
  581. * Changed Asura Strike/Jump Kick to target skill to get rid of the "target delay". (bugreport:2174) [Inkfish]
  582. 09/06/19
  583. * Implemented script command "areamobuseskill" and skill NPC_INVINCIBLE and NPC_INVINCIBLEOFF. (topic:217330) [Inkfish]
  584. * Using items no longer cancels invincibility(but using target and ground skills through items does). (bugreport:3259) [Inkfish]
  585. * Fixed Butterfly Wings not working during GVG. (bugreport:3264) [Inkfish]
  586. 09/06/16
  587. * Fixed an exploit that makes guild skill get higher level than the max defined in guild_skill_tree. (bugreport:3241) [Inkfish]
  588. * Turn Undead won't apply aftercast delay when casted on a "living" entity. (bugreport:1740) [Inkfish]
  589. * Autocasts should always fail if the target is outside the skill range or an obstacle is in between. (bugreport:3201) [Inkfish]
  590. * The Lovers should affect the target instead of the caster. (bugreport:3252)[Inkfish]
  591. 09/06/15
  592. * Skill through items will not be blocked when 90% overweight. (bugreport:3246) [Inkfish]
  593. * Now you can drop items when hiding. [Inkfish]
  594. * Now you can't logout when hiding, cloaking or chase walking. [Inkfish]
  595. 09/06/14
  596. * Fixed a crash due to group being redeleted when players are performing an ensemble and one of the partner's sp run out. [Inkfish]
  597. 09/06/13
  598. * If both Double Attack and critical attack have chance to trigger within one attack, Double Attack takes priority. (bugreport:3231) [Inkfish]
  599. * Fixed Butterfly Wings not working on maps blocking Teleport. (bugreport:3236) [Inkfish]
  600. 09/06/12
  601. * Fixed "arrow_atk" flag never being reset results in arrow consumption on itemskills and autocasts. (bugreport:3233) [Inkfish]
  602. * Fixed itemskill not bypassing Silence, SteelBody, Berserk and the like. (bugreport:3232) [Inkfish]
  603. * Fury and Asura no longer disable SP regen on any other classes than Monk/Champion.(bugreport:3200) [Inkfish]
  604. 09/06/11
  605. * Fixed TaTaMiGaEShi(Improvised Defense) not working. [Inkfish]
  606. * Implemented new cooking success formula. Now cooking experience starts at 0.(bugreport:2439) [Inkfish]
  607. 09/06/09
  608. * Fixed applying autocasts with negative rate before the positive one made it fail to remove the autocast. [Inkfish]
  609. 09/06/08
  610. * Rev. 13869 Follow up to r13867, corrected the newly added MD_TARGETWEAK. Monsters with this mode will now only target players five level LOWER than itself. [L0ne_W0lf]
  611. 09/06/08
  612. * Fixed bHPGainValue and bSPGainValue worked on all types of attacks and was only activated on mob's death.(bugreport:3193) [Inkfish]
  613. * Added a configuration for whether damage of EarthQuake with single target can be reflected. [Inkfish]
  614. * Fixed Wizard Spirit can block reflected magical damage other than Kaite's.(bugreport:3161) [Inkfish]
  615. * Fixed Kaite works against bosses.(follow up to r13857) [Inkfish]
  616. 09/06/07
  617. * Magical damage reflection now works against boss monsters and only on target skill(but EarthQuake with one target is an exception). [Inkfish]
  618. * Changed hardcoded "5" to MAX_ARROW_RESOURCE in skill_arrow_create preventing proper usage. (bugreport:3025) [Paradox924X]
  619. * Implemented "cooking exp" that increases the success chance of cooking by 0.05% per try and the max bonus is 20%. [Inkfish]
  620. 09/06/05
  621. * Job_Battle_Manual and Battle_Manual can be used simultaneously. [Inkfish]
  622. * Fixed "sleep" after "attachrid" (a different rid) halts the script. [Inkfish]
  623. 09/06/04
  624. * Fixed turning off a skill needed to meet the requirements. [Inkfish]
  625. * Skills used through items which don't have aftercast delay or cast time now don't overwrite the former canact_tick. [Inkfish]
  626. * Multiple autoscripts now can trigger at once. [Inkfish]
  627. * Applied a temp fix for autoscripts crashing server. [Inkfish]
  628. * Implemented SC_JEXPBOOST (thanks to GMJobbie for the diff) and SC_IGNOREDEF. [Inkfish]
  629. * SC_DEFRATIOATK won't affect boss monsters. [Inkfish]
  630. * Fixed skip_teleport_lv1_menu made lv2 skip menu as well. [Inkfish]
  631. * Rev. 13843 Updates to ST_PRESERVE and a few other minor details! [L0ne_W0lf]
  632. - Recasting Preserve no longer toggles the skill off while active.
  633. - Preserve is no longer saved on log-out or mapserver changes.
  634. * Added SC_CRITICALWOUND and SC_SLOWCAST to negative statuses not saved with battle_config.debuff_on_logout&1
  635. * Implemented the skills NPC_HELLPOWER and NPC_WIDEHELLDIGNITY, as per my personal experiences with the skill on iRO.
  636. * Increased MAX_MOBSKILL to 50, as Satan Morroc has over 40 active skills now.
  637. 09/06/03
  638. * Some clean ups on autocast and itemskill code. (see topic:220921 for some info) [Inkfish]
  639. - Autocasted Teleport now skips the menu.
  640. - Fixed nullpo info when defensive autocasts are triggered. (follow up to r13815)
  641. - Fixed Warp portal used in item script never worked.
  642. - Item skills now bypass skill delay check.
  643. - Implemented SM_SELFPROVOKE.
  644. - Updated item db using 'itemskill' for some items.
  645. * Basic skills will never be reset. [Inkfish]
  646. 09/06/02
  647. * Rev. 13840 Implemented the Party Buff cash skills. [L0ne_W0lf]
  648. * Fixed Mystical Amplification having unlimited duration [Playtester]
  649. * Fixed skills used through items and Hocus-pocus consume requirements if you have them. (bugreport:3164) [Inkfish]
  650. 09/06/01
  651. * Fixed Fiberlock sometimes fails due to the long interval of skill_unit_timer. It may never fail now, though this may not be official. (bugreport:3136) [Inkfish]
  652. 09/05/30
  653. * Fixed gemstones are still required when players equipped Mistress Card. (bugreport:3147, follow up to: r13815) [Inkfish]
  654. * Fiberlock only catches targets the moment its casted. [Inkfish]
  655. * Multiple autocasts can go off at a time now. [Inkfish]
  656. * Splash damage doesn't get modified by percentual modifier now. [Inkfish]
  657. * Monster's Spiral Pierce is again...elemental. [Inkfish]
  658. * Fixed Hocus-pocus always fails. (bugreport:3143, follow up to: r13815) [Inkfish]
  659. 09/05/29
  660. * Added new bonuses bHealPower and bHealPower2. [Inkfish]
  661. * Heal skills code clean up. [Inkfish]
  662. - bSkillHeal can affect offensive heal now.
  663. - bSkillHeal2 can affect AppleIdun and SlimPitcher now.
  664. * Added new bonuses bUnbreakableGarment and bUnbreakableShoes. [Inkfish]
  665. * Some more fixes to skill condition issues. [Inkfish]
  666. - Fixed skills fail when MAX_INVENTORY reached.
  667. - Fixed spiritballs not being removed correctly in some situation.
  668. 09/05/28
  669. * Fixed some skill condition issues. [Inkfish]
  670. - HP is now checked at the end of cast.
  671. - Lv 6-10 StoneCurse doesn't consume gems when it fails.
  672. - Tarotcard's aftercast delay will still be applied if it fails.
  673. 09/05/26
  674. * skill_check_condition clean up (bugreport:2770, bugreport:2957, bugreport:3010) [Inkfish]
  675. - Weapon, SP, HP and state are checked at the beginning of cast.
  676. - Required items and ammos are checked at the end of cast.
  677. - SP and status change required are removed at the end of cast without checking again.
  678. - Required items are removed only if the skill is successfully used.
  679. - Autocasts won't check for requirements but will remove them if you have them(except for SP/HP).
  680. 09/05/25
  681. * Fixed losing skill list after base change. (bugreport:3106) [Inkfish]
  682. * Now we can use 'boss_monster' to summon whatever monsters that need to be radared by Convex Mirror. (bugreport:2653) [Inkfish]
  683. 09/05/24
  684. * Taro Card can now break shoes and garment and won't affect dead target. (bugreport:2513) [Inkfish]
  685. 09/05/23
  686. * Splash attacks do cause additional effects except for autocasts. (bugreport:2661) [Inkfish]
  687. 09/05/22
  688. * Fixed some behaviors of additional effects (bugreport:3100,bugreport:2661) [Inkfish]
  689. - Coma can now be blocked by such skills as SafetyWall, Pneuma and Basilica.
  690. - Equipment breaking behaves exactly like coma.
  691. - Skill's self damage may now causes coma, equipment breaking and autospell/autoscript.
  692. - GrandCross now allows you to drain hp/sp.
  693. - Splash attack doesn't cause any status effects or autocasts any more.
  694. * The delay icon doesn't appear during casting now.
  695. * Status icon of ASPD potions doesn't overriding each other now.
  696. * NPC_STOP now stops both sides and will be canceled if either side teleports or dies.(bugreport:3099)
  697. 09/05/20
  698. * Now fiberlocking a fiberlocked target doesn't renew the timer but instead increases its fireweakness [Inkfish]
  699. - This makes doublecasting firebolts on a double fiberlocked target having double damage from both 2 bolts possible = =(bugreport:3061)
  700. 09/05/19
  701. * Added missing packet 0x2c9 and fixed 0x2da's length error. [Inkfish]
  702. * Fiberlock now can trap multiple enemies on the same cell and its triggering area was reduced to 1x1. [Inkfish]
  703. * Miracle should only be dispelled on map change. [Inkfish]
  704. * Fixed the three hits of EarthQuake not being calculated seperately. [Inkfish]
  705. 09/05/18
  706. * Item-bonuses now use the official default durations for status changes [Playtester]
  707. * status calc code cleanup [ultramage]
  708. - Inverted the status calc code order, so that status_calc_bl optionally invokes status_calc_pc/mob/whatever instead of every status_calc_* calling status_calc_bl.
  709. - Inlined functions status_calc_bl_sub_pc, status_calc_bl_sub_hom and status_calc_bl_sub_mer into status_calc_bl.
  710. - Restructured status_calc_bl to require as little bl type-specific branching as possible.
  711. - Split status_calc_bl into two layers - the inner does the battle status calculations, while the outer deals with running appropriate base status calculations, remembering old values and handling client updates.
  712. - The status_calc_bl function is now the single entry-point for all status calculations.
  713. - status_calc_bl will now trigger a client update only on attributes that actually changed.
  714. - If hp or sp changes during status_calc_bl, it will now properly refresh on the client.
  715. - Removed SCB_PC, now SCB_ALL should be used instead.
  716. - Revived the unused status calc flag SCB_BASE to indicate that a base status recalculation should be done first (that's what the status_calc_* functions are for).
  717. - Defined a new symbolic bitmask SCB_BATTLE (SCB_ALL - SCB_BASE) in case someone needs to only calculate the battle status (currently unused).
  718. 09/05/17
  719. * Monocell, Instant Death and Class Change will now fail on bosses (bugreport:2907) [Playtester]
  720. * Eske and Eska now affect friendly guardians and slaves. (bugreport:2131) [Inkfish]
  721. 09/05/15
  722. * AutoSpellWhenHit now triggers on normal+skill by default (bugreport:1652) [Playtester]
  723. * Removed the undocumented custom level feature from monster spawn lines (bugreport:3076) [ultramage]
  724. 09/05/13
  725. * Fixed combo wait was not canceled when TK's Kick skill was successfully used. (bugreport:1345) [Inkfish]
  726. * PNEUMA, BASILICA and SAFETYWALL no longer protect you from such negative status changes as COMA, STUN, FREEZE and etc. (bugreport:1346) [Inkfish]
  727. 09/05/12
  728. * Fixed Aid Potion can heal the Emperium (bugreport:164) [Inkfish]
  729. 09/05/11
  730. * Fixed a crash when mob uses self-destruct skill (bugreport:2874) [Inkfish]
  731. 09/05/10
  732. * Magnetic Earth will never stack (bugreport:2568) [Inkfish]
  733. * Fixed Joint Beat incorrect DEF reduction (bugreport:3051) [Inkfish]
  734. 09/05/09
  735. * Fixed GX's skill level modifier is missing [Inkfish]
  736. * Fixed some known and unknown player attached NPC timer problems [Inkfish]
  737. - Attached timer now can be stopped properly.
  738. - Attached timer will now stop if the NPC is unloaded. (bugreport:2510)
  739. 09/05/07
  740. * Fixed up the base success rate of normal strip skills [Playtester]
  741. - normal strip skills: 5% + 5%*level
  742. - Full Strip: 5% + 2%*level
  743. * Fixed splash damage from Baphomet Card might miss. [Inkfish]
  744. * Check if group unit is expired before processing it. (bugreport:3054) [Inkfish]
  745. * Fixed Grand Corss outdated behavior (bugreport:1590) [Inkfish]
  746. - use new damage formula
  747. - DEF is reduced to 2/3 during cast time
  748. - block shields switching within attack duration
  749. - monsters don't damage themselves any more
  750. - intervals between hits are 300ms
  751. * Added check on stackable items to 'checkweight' (bugreport:1569, bugreport:2756, bugreport:2994) [Inkfish]
  752. * Fixed flee penalty wasn't applied for battleground and wouldn't be restored on map change [Inkfish]
  753. * Fixed players can pull water from ME cell (follow up to r13730) [Inkfish]
  754. 2009/05/04
  755. * Added the md5() script command. [brianluau]
  756. * Now if a dead player is moved for whatever reason, he'll be alive with 1 HP. (bugreport:70) [Inkfish]
  757. * Players now are allowed to copy the skills the level which is beyond the skill_db max. [Inkfish]
  758. * Fixed some behaviors for Waterball (bugreport:3024) [Inkfish]
  759. - High level Waterball used by players doesn't increase the number of balls.
  760. - Monsters can't pull water from cells with Magnetic Earth.
  761. 2009/05/03
  762. * Updated item_db.sql and mob_db.sql from recent changes to both. Thanks to Peter once again! [Jguy]
  763. * Do not log damage if it's done by mob itself (bugreport:2933) [Inkfish]
  764. * Fix 'awake' not working (bugreport:2580) [Inkfish]
  765. * Fix several npctimer issues (bugreport:1619, bugreport:1730) [Inkfish]
  766. * Players now cannot be revived during pvp respawn delay [Inkfish]
  767. * Block equipments switching for some skills (bugreport:2900) [Inkfish]
  768. - cannot change equipments during Arrow Vulcan's cast time
  769. - cannot change equipments within Desperado's attack duration
  770. 2009/05/02
  771. * Spirit of Bard and Dancer now only works for mastered skills (bugreport:3037) [Playtester]
  772. - also fixed an outdated comment in the source code
  773. 2009/04/27
  774. * Fixed break equipment debuff working on bosses (bugreport:3023) [Playtester]
  775. 2009/04/25
  776. * Fixed Monster Spiral Pierce not being reduced by Ghostring Card (bugreport:3013) [Playtester]
  777. - it is forced neutral as its a MISC skill for monsters and doesn't take weapon element
  778. * First attempt to fix up the strip skills, please make sure these fixes work (bugreport:3011) [Playtester]
  779. - the minimum rate of strip skills is now 5% for all levels
  780. - duration of strip skills depends on the dex difference between target and caster and can be reduced to 0
  781. - strip skills can now affect bosses (if duration doesn't get reduced to 0 due to their high dex)
  782. - strip skills do a fixed -25% ATK, -15% DEF, -40% VIT or -40% INT independant of skill level
  783. - autocasting Full Strip has a duration now (if dex is high enough)
  784. 2009/04/20
  785. * Fixed safestrncpy trashing the memory before dst when n == 0. (since r10667) [FlavioJS]
  786. 2009/04/15
  787. * Monster Spiral Pierce is now a ranged misc attack [Playtester]
  788. - it always gets blocked by Pneuma, but never by Safety Wall
  789. - Defender doesn't reduce its damage
  790. - Range-Def item bonuses reduce its damage
  791. 2009/04/14
  792. * Cooking success chance is now affected by DEX and LUK [Playtester]
  793. - "cooking exp" still needs to be implemented
  794. - also fixed a small issue when whispering to someone in autotrade
  795. 2009/04/01
  796. * Removed online_check config options. (always active now) [FlavioJS]
  797. * Clarified char_maintenance config option.
  798. * Changed packet 0x2712. (added request_id)
  799. * Changed packet 0x2713. (added sex, request_id, version, clienttype; removed email, expiration time, gmlevel)
  800. * Delayed user count check and mmo_char_send006b to when the account data arrives.
  801. * Created auxiliary function MD5_Salt.
  802. 2009/03/31
  803. * Gunslinger Tracking can be canceled if you get hit.
  804. * Gunslinger Disarm always shows skill animation.
  805. * Removed custom firetrap effect from Gunslinger mines. [ultramage]
  806. 2009/03/27
  807. * Fixed a problem that blockskill timer failed when there was more than one on a skill [Playtester]
  808. - please test this, now Asura should be blocked 2 seconds after EVERY Snap
  809. 2009/03/26
  810. * Fixed Spirit of Assassin not reducing the aftercast delay of Sonic Blow [Playtester]
  811. * Assumptio can neither be cast nor dispelled on monsters anymore [Playtester]
  812. 2009/03/23
  813. * Added support for new status change packet, uses new setting display_status_timers in client.conf. [Sara]
  814. 2009/03/18
  815. * Updated item_db.sql with the perl script [Playtester]
  816. 2009/03/08
  817. * Fixed a couple bugs with marionette control [Brainstorm]
  818. - Reduces caster max hp by 1000.
  819. - Job and Equipment bonuses counts toward the 99 limit.
  820. - Fixed stat overflow on baby targets with stats over 80 (bugreport:2232).
  821. - Fixed clowns being able to cast it on another bard/clown (same for gypsy/dancer) (bugreport:166).
  822. - Caster is no longer blocked from using items.
  823. * Added several mail id checks to prevent a map server crash (bugreport:2837)
  824. 2009/03/02
  825. * Blade Stop status no longer prevents item use and equip changing.
  826. * Against non-players, Blade Stop skill will now only activate if the attacker is at most 2 cells away (1 if barehanded).
  827. 2009/03/01
  828. * Fixes from 2008/10/13 bugreport:2077 (Only commiting because nobody did until now and those bugs would get lost)
  829. * Fixed monster's Spiral Pierce, now it is always blocked by Pneuma.
  830. * Fixed Monk Absorb Spirits mana recovery per spirit absorbed, 7, not 10.
  831. * Fixed Monk spirit balls not being removed on death (like happens with gunslingers).
  832. * Fixed Swordman Auto-Berserk sp cost, 1, not 5. Should be 0, but eA wont allow the skill to work.
  833. 2009/03/01
  834. * Ankle Snare cannot be knocked back anymore (bugreport:2804) [ultramage]
  835. 2009/02/25
  836. * Wrong variable being used in StringBuf_Vprintf. (follow up to r13386, fixes bugreport:2798) [FlavioJS]
  837. 2009/02/23
  838. * Made mob_delayspawn check the spawn_timer in the mob. [FlavioJS]
  839. * Added missing delete_timer's every time spawn_timer is being set. (except when allocating)
  840. * Made mob_timer_delete check the deletetimer in the mob.
  841. * Added missing delete_timer's every time deletetimer is being set. (except when allocating)
  842. * Consolidated is_atcommand() and is_atcommand_sub() [SketchyPhoenix]
  843. - replaced gmlvl arg with a flag arg for internal/player generated checks. (dummy sds that used this arg are given gm levels)
  844. - each command check runs through is_atcommand() and is checked for its origin (internal or player generated)
  845. - charcommands are also parsed in this function.
  846. - script atcommand/charcommand function calls to is_atcommand() have been updated
  847. - also updated some clif/map functions calls to is_atcommand()
  848. * charcommands should now log properly with the target of the command included.
  849. 2009/02/20
  850. * Increased variable size for status/skill points to remove the 65k cap (bugreport:1579) [ultramage]
  851. * Modified WFIFOSET to trigger a fatal error when trying to send a packet that is too big. [FlavioJS]
  852. 2009/02/19
  853. * Fixed improper filling of w4 in npc_parsesrcfile when there are less than 4 fields. (bugreport:1063) [FlavioJS]
  854. * Simplified atcommand_spiritball. (deprecated msg_txt 204 and 205)
  855. 2009/02/06
  856. * Follow up to r13485. (bugreport:2741) [FlavioJS]
  857. - @spiritball creates spiritballs without timer (limited to the array size instead of 500)
  858. 2009/01/25
  859. * Changes to the configure script: [FlavioJS]
  860. - added option --enable-profiler (supports gprof)
  861. - added option --enable-64bit (don't force 32bit)
  862. 2009/01/24
  863. * Changed pc_spiritball_timer and pc_addspiritball: (bugreport:2705)
  864. - don't make assumptions about the calling order of timers
  865. - ensure that sd->spirit_timer is ordered by expiration time
  866. * Changed the variables of the mapcache structs to fixed size equivalents.
  867. * Changed all uses of struct skill_unit_group* to group_id in status_change_entry's. [FlavioJS]
  868. 2009/01/23
  869. * Changed npc_get_new_npc_id to ensure that it never returns invalid/used ids. [FlavioJS]
  870. - npc_get_new_npc_id is used to generate ids for npcs/mobs/homunculus/mercenaries/pets.
  871. If the server runs for long enough (years to months or less, depending on settings),
  872. the auxiliary variable npc_id will eventually overflow and go negative, then go
  873. through the range of object ids, then through the range of account ids.
  874. This can lead to all sorts of random crashes and memory leaks.
  875. 2009/01/22
  876. * Changed val4 of SC_BLADESTOP from a block_list pointer to an id. [FlavioJS]
  877. 2009/01/21
  878. * Added a limit of 1MB of pending data in the write fifo for non-server sockets.
  879. Connections that go over the limit are closed.
  880. * Replaced the fake timer heap (sorted array) with a real heap. (improves performance) [FlavioJS]
  881. 2009/01/20
  882. * Added a generic binary heap implementation based on defines. [FlavioJS]
  883. * Fixed pc_statusup2 to correctly update the client's stat window [ultramage]
  884. 2009/01/15
  885. * Updated script_commands.txt with the book reading command. [SketchyPhoenix]
  886. * Added/reworded/removed comments out of r13450
  887. 2009/01/14
  888. * Added client login packets 0x01fa and 0x027c. [FlavioJS]
  889. * Other minor cleanups.
  890. * #commands used by nonGM players now appear in the chat like normal rather
  891. than being processed and ultimately failed, printing out failed command messages
  892. that should be visible to only GMs.
  893. 2009/01/13
  894. * Cleaned up command @users/#users: [FlavioJS]
  895. - displays everything on the target user (self for @users)
  896. - uses a static array instead of a temporary DBMap
  897. - displays percentages with precision of 0.01%
  898. - uses safesnprintf instead of sprintf
  899. 2009/01/12
  900. * Mobs with nonzero spawn time can now be cached as well (bugreport:1197)
  901. * Fixed dynamic mobs being unloaded without stopping their respawn timer
  902. * Added regen_db to reduce hp/sp processing delays (bugreport:2256) [ultramage]
  903. * #command parsing cleaned up. [SketchyPhoenix]
  904. - Fixed charname reading problems from r13441
  905. - Corrected agitend typo to agitend2 (bugreport:2654)
  906. 2009/01/05
  907. * Fixed @mobsearch and @showmobs (bugreport:2481) [ultramage]
  908. - now only search for mobs on the same map as the caller
  909. - now properly distinguish between dead and alive mobs
  910. * Added @charcommands to return a list of available charcommands (bugreport:2630) [SketchyPhoenix]
  911. 2008/12/31
  912. * Changes to the script engine: [FlavioJS]
  913. - new stack datatype script_retinfo for C_RETINFO to hold all the return state info
  914. that was being stored in the stack. (the script engine in 64bit-ready now)
  915. - pop_stack is responsible for adjusting all the stack pointers.
  916. - push_* returns the created script_data.
  917. - 'return' only converts to value scope variables of the current scope.
  918. 2008/12/30
  919. * Changes to the script engine: [FlavioJS]
  920. - script ends when run_func can't find the buildin command. (script engine error)
  921. - run_script_main doesn't change RERUNLINE to RUN automatically,
  922. the buildin command that set it is responsible for that now.
  923. The buildin command can use this to detect a rerun.
  924. - created functions to alloc/free a script_state.
  925. 2008/12/28
  926. * Added missing command #delitem. [SketchyPhoenix]
  927. * Fixed charcommand behavior where those that can accept a name with no additional parameters
  928. being able to execute under said player's name with the name as a parameter. (bugreport:2601)
  929. 2008/12/25
  930. * Extended sv_escape_c to escape '\a','\b','\t','\v','\f','\?' characters
  931. to their respective representations instead of octal. [FlavioJS]
  932. 2008/12/22
  933. * Added a few missing atcommands. [SketchyPhoenix]
  934. * Added more commands to configurations (bugreport:2565)
  935. * Added a missing charcommand symbol config to atcommand configs.
  936. * GM command configs under the old format will have a warning printed back to the console as being deprecated.
  937. * Other fixes/cleaning partially resolving bugreport:2549
  938. 2008/12/20
  939. * Extended how duplicates work: (based on Orcao's work in bugreport:2361) [FlavioJS]
  940. - you can duplicate warps/shops/cashshops/npcs (before only npcs could be duplicated)
  941. - warp duplicates inherit the target location
  942. - shop/cashshop duplicates inherit the item list
  943. - npc duplicates inherit the script code (backward compatible behaviour)
  944. - updated script_commands.txt with the information
  945. 2008/12/17
  946. * Removed charcommand code and allowed atcommand code to support its functionality. [SketchyPhoenix]
  947. - Charcommands still retain their '#' symbol but now looks for a character name as the first parameter instead of last.
  948. - Atcommand configs now support charcommand level configurations by comma seperation (e.g. 60,99).
  949. - As a result of this, all atcommands that don't affect multiple users already (@kickall, @doom, @mapexit) are capable of remote usage.
  950. 2008/12/01
  951. * Fixed rare crash when using Flying Kick on clones (bugreport:2506) [ultramage]
  952. * Corrected Flying Kick's debuff rules to match official servers
  953. - only works on players
  954. - soul linkers and stalkers with Preserve active are immune
  955. - only removes Berserk Potion, Kaahi, Kaite, 1HQ, AAR and Soul Links
  956. 2008/11/27
  957. * Fixed a memory leak when returning a string variable in the script engine. [FlavioJS]
  958. (since r9864/r9865, fixes bugreport:2488)
  959. 2008/11/24
  960. * Fixed a va_end using the wrong variable. (from r13383, fixes bugreport:2483) [FlavioJS]
  961. 2008/11/22
  962. * Readded code that was removed from atcommand_showmobs by mistake in the previous commit. (r13383)
  963. * Hunted down improper uses of va_list variables.
  964. * Hunted down the simpler 64bit pointer truncations. [FlavioJS]
  965. 2008/11/18
  966. * Rev. 13375 Autotrade characters will no longer get caught by Urgent Recall. (bugreport:2447) [L0ne_W0lf]
  967. 2008/11/11
  968. * Updated script_commands.txt [FlavioJS]
  969. * Made scripts terminate with an error: (fixes bugreport:2429)
  970. - when getitem/getitem2 tries to delete more items than the player has
  971. - when trying to set Zeny to a negative number.
  972. 2008/11/09
  973. * 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]
  974. 2008/11/07
  975. * Rev. 13358 Changed how mobcount works since it wasn't counting last mob death. (bugreport:2419) [L0ne_W0lf]
  976. 2008/11/06
  977. * Fixed 'Char creation denied' message not being sent properly. [FlavioJS]
  978. - Number 2 didn't exist in old clients so it used the default message,
  979. now it exists so the wrong message is displayed.
  980. - Changed 2 to 0xFF to get the default message.
  981. 2008/11/05
  982. * Fixed issue preventing you from changing to the original cart when using Change Cart. (bugreport:2383) [Sara]
  983. 2008/10/29
  984. * Novice skill, Trick Dead, will no longer be granted to classes upon reset (save for Novice and Baby) (bugreport:2312) [SketchyPhoenix]
  985. 2008/10/28
  986. * Made script command "unequip" call status_calc_pc. Thanks to Orcao. (bugreport:2368). [Paradox924X]
  987. 2008/10/27
  988. * Fixed all overflow checks and made the code a bit cleaner from r13322. [Paradox924X]
  989. * Removed leftovers of "bLoseSPWhenUnequip" and "bDamageWhenUnequip". [Paradox924X]
  990. 2008/10/24
  991. * Added protection from segfault by int overflow in charcommand heal and fixed a typo in atcommand heal. (Follow-up to r13321) [Paradox924X]
  992. * Added protection from segfault by int overflow in atcommand heal. (bugreport:1886) [Paradox924X]
  993. * Commented out unused function clif_marriage_process. [Paradox924X]
  994. 2008/10/21
  995. * Added a check to make sure a player wasn't in a guild when they accepted a guild invitation. [Paradox924X]
  996. 2008/10/18
  997. * Corrected a target checking problem brought about with Kaizel/Osiris combination. [SketchyPhoenix]
  998. 2008/10/16
  999. * Added missing char_sql/int_mercenary files to txt-converter's Makefile.in. [FlavioJS]
  1000. 2008/10/15
  1001. * Fixed ipban sql connecting to the sql server when disabled. [FlavioJS]
  1002. 2008/10/11
  1003. * Using Kaizel in conjunction with Osiris Card should now work. (bugreport:2251) [SketchyPhoenix]
  1004. * #monsterignore should turn off now. (bugreport:2306) [SketchyPhoenix]
  1005. 2008/10/09
  1006. * Rev. 13272 Updated NPC_REBIRTH. Has it's own values, and no longer leeches off SL_KAIZEL. [L0ne_W0lf]
  1007. 2008/10/06
  1008. * Rev. 13264 Damage count on rebirthed mobs is now reset. (Valaris) [L0ne_W0lf]
  1009. * Rev. 13263 voided out clif_blown as per Valaris' instruction. [L0ne_W0lf]
  1010. * Rev. 13262 SC_WEIGHT50 and 90 are no longer removed on death. (bugreport:2316) [L0ne_W0lf]
  1011. 2008/10/04
  1012. * Delete ST_LOGIN auth in chrif_disconnectplayer (followup to r13256, bugreport:2292) [FlavioJS]
  1013. 2008/10/03
  1014. * Fix for "yet another online check bypass technique". (bugreport:2292) [FlavioJS]
  1015. 2008/10/01
  1016. * Rev. 13252 Kaupe will now trigger from mobs, homuns and mercenaries, as well. (bugreport:2297) [L0ne_W0lf]
  1017. * Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225. [L0ne_W0lf]
  1018. * Kaahi will now override override higher existing levels previously casted. (bugreport:2296)
  1019. 2008/09/27
  1020. * Fixed clif_changelook betraying the presence of gm-hidden players (bugreport:2283) [ultramage]
  1021. 2008/09/11
  1022. * Rev. 13226 Corrected Lex Divina not showing animation on fail. (bugreport:1740) [L0ne_W0lf]
  1023. * Rev. 13225 Corrected Offensive Res using Turn Undead cast time. (bugreport:1704) [L0ne_W0lf]
  1024. 2008/09/11
  1025. * Rev. 13204 Made the mail check on login read from msg_athena.conf. [L0ne_W0lf]
  1026. 2008/09/09
  1027. * Rev. 13202 Added commands related to WoE SE, allowing it to run independantly of WoE. [L0ne_W0lf]
  1028. - Added: @agitstart2, @agitend2, agitstart2, agitend2, and agitcheck2.
  1029. 2008/09/05
  1030. * Rev. 13192 Updated mmo.h, increased merc max count to 36. [L0ne_W0lf]
  1031. * Fixed save crash related to non-guilded mercenaries.
  1032. 2008/09/01
  1033. * Removed hardcoded equip position names from getequipname (bugreport:2156)
  1034. - now it's the npc's responsibility to store and display the names
  1035. 2008/08/28
  1036. * Fixed @cash/@points not handling negative values properly (bugreport:2132) [ultramage]
  1037. 2008/08/26
  1038. * Fixed @agjgmlvl bug preventing its use on other players. (bugreport:2124) [SketchyPhoenix]
  1039. * pc_isGM() checks in gm_cant_party config checks will now check against being lower or higher than lowest_gm_level config.
  1040. 2008/08/25
  1041. * Fixed homun sp regen bug introduced on r12953 bugreport:2071 [Brain]
  1042. * Fixed: several compiler warnings [akrus]
  1043. 2008/08/20
  1044. * Rev. 13098 Implemented Brainstorm's and SketchyPhoenix's fixes for Flying side kick. [L0ne_W0lf]
  1045. - Skill will now remove KA-type statuses and not remove stalker's link while preserved.
  1046. 2008/08/19
  1047. * Fixed a storage saving issue with txt charserver (bugreport:2084) [ultramage]
  1048. - caused by incorrect idb_ensure -> idb_get change (see r12950)
  1049. - removed redundant account_id variable from storage data
  1050. - cleaned up the very messy txt storage handling code
  1051. * Added global sql settings 'sql.*' to inter_athena.conf.
  1052. * Made account, ipban and loginlog use the global sql settings when the hostname is empty.
  1053. * Commented 'ipban.sql.*' and 'account.sql.*' so they default to the global settings.
  1054. * Removed deprecated settings 'case_sensitive' and 'add_to_unlimited_account' from in login_athena.conf.
  1055. * Made inter_athena.conf be imported from login_athena.conf instead of being handled separate.
  1056. * Changed ipban to get the failed login attempts of an ip from loginlog
  1057. (respects if loginlog is enabled or not). [FlavioJS]
  1058. 2008/08/16
  1059. * Added a mapreg txt->sql converter script to /tools, because the sql
  1060. mapserver doesn't read the txt mapreg savefile anymore and people
  1061. will most likely want to preserve their global variables.
  1062. - script is php-based and requires the php_mysql module
  1063. - script produces a series of INSERT statements, ready to be imported
  1064. 2008/08/15
  1065. * Split off mapreg code from script.c [ultramage]
  1066. - new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c
  1067. - removed MAPREGSQL from project files / makefiles
  1068. - mapreg storage engine is now fully dependent on the server type
  1069. - added config settings mapreg_txt and mapreg_db to inter config
  1070. - added get_str() function to complement add_str()
  1071. - fixed txt mapreg code allowing too long variable names
  1072. * Removed gm_cant_party_max_lv. It now uses gm_cant_party_min_lv as the threshold. (bugreport:2051) [SketchyPhoenix]
  1073. 2008/08/11
  1074. * Fixed right-click npc unload not unloading duplicates (bugreport:2014)
  1075. 2008/08/09
  1076. * Fixed @noks leaking internal buffer contents (bugreport:1528)
  1077. * Now Novices without lvl5 basic skill can be partied (bugreport:1131)
  1078. * Fixed login printing raw passwdenc passwords to console (bugreport:826) [ultramage]
  1079. - added strlib function bin2hex()
  1080. - cleaned up the md5calc interface a bit
  1081. 2008/08/07
  1082. * Added another GM trust config for party invitations (bugreport:2004) [SketchyPhoenix]
  1083. 2008/08/04
  1084. * Added configs for quest table name adjustment (bugreport:1778)
  1085. 2008/08/02
  1086. * Player shops will not close on death anymore (bugreport:1955)
  1087. 2008/08/01
  1088. * Removed unused guardian hp columns from the castles table in main.sql.
  1089. * Corrected incorrect use of the datetime column in the `login` table. [ultramage]
  1090. * Quagmire now will affect boss monsters, but more info is required to code the debuff exceptions properly. [Brainstorm]
  1091. 2008/07/31
  1092. * Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus]
  1093. - added sql file upgrade_svn13025_log.sql
  1094. * Improved: added --enable-debug=gdb option in configure script to use gdb optimized debug mode [akrus]
  1095. * Removed the mob controller system, now a customization (see topic:194375) [ultramage]
  1096. * Fixed: commented out loginlog in convert engine sql tables (loginlog table is in logs database now) [akrus]
  1097. 2008/07/30
  1098. * Fixed TXT storage code handling storage incorrectly (bugreport:1928)
  1099. * AccountDB_TXT will now correctly read inconsistent EOLs (bugreport:1934)
  1100. * Removed the IRC bot system, now a customization (see topic:194306)
  1101. 2008/07/29
  1102. * Renamed struct 'skill' to 's_skill' to remove naming collisions.
  1103. * Added defines for mercenary skill ranges.
  1104. * Added a mapping of mercenary skills to the skill db (700-799 atm).
  1105. * Fixed Sql object not initializing default values properly.
  1106. Fixed Sql_Free producing timer deallocation errors when called
  1107. without first establishing a database connection.
  1108. * Corrected upgrade_svn12975_view.sql not assigning default values
  1109. to the two dummy columns; please drop the view and re-run the script.
  1110. 2008/07/27
  1111. * Fixed md5 passwords not working
  1112. * Possibly corrected a guild saving problem (bugreport:1908)
  1113. * Removed some leftover code that shouldn't have been merged [ultramage]
  1114. * Fixed a memory leak in mmo_auth_tosql (extra sql statement being allocated).
  1115. * Added missing option 'log_db_db' to loginlog_config_read(loginlog_sql.c).
  1116. * Fixed a memory leak in account_db_sql_destroy. [FlavioJS]
  1117. * Changed the way GM levels are handled
  1118. - removed conf/gm_account.txt
  1119. - added the gm level column to the txt savefile (after 'email' column)
  1120. - gm level information is now transferred along with account data
  1121. * Merged the /loginmerge branch [ultramage]
  1122. - the login server storage, ipban and logging systems have been abstracted
  1123. and now provide a common interface; the rest has been merged into a
  1124. single login server core (no more login/login_sql duplicity)
  1125. - storage systems are now added via compiler options (WITH_SQL / WITH_TXT)
  1126. - multiple storage engines can be compiled in at the same time,
  1127. and the config option account.engine defines which one will be used.
  1128. - due to MySQL autoincrement limitations, accounts with id '0' will not
  1129. be supported; account IDs from this point on should start from '1'.
  1130. - login_log() functions now again record IP addresses in dotted format,
  1131. not as 4-byte integers (undo from r6868).
  1132. - removed config options that defined column names in the login table
  1133. - removed `memo` and `error message` columns from login db/savefile
  1134. - moved `loginlog` table to the logs database
  1135. - added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql
  1136. - due to changes to the login table layout, I added an !optional! sql
  1137. file (upgrade_svn12975_view.sql) that will provide a certain degree
  1138. of backwards compatibility with existing software;
  1139. read the instructions inside carefully!
  1140. - moved third-party includes/libs to a separate directory
  1141. - updated project files / makefiles
  1142. 2008/07/20
  1143. * Simplified the search in pop_timer_heap and added more debug info to help
  1144. determine the source condition of timer errors. (bugreport:1860)
  1145. * Fixed crash in skill_castend_id. (bugreport:1860) [FlavioJS]
  1146. * Corrected #storagelist target typo (bugreport:1873) [SketchyPhoenix]
  1147. 2008/07/16
  1148. * Added a check to make sure only released timers are acquired from the free list.
  1149. * Changed TIMER_MAX_INTERVAL to 1 second (was set to 1 minute by mistake). [FlavioJS]
  1150. * Fixed TK_JUMPKICK, should not jump over objects and cliffs.
  1151. - This also might fix them being able to jump barricades on WoESE. [Brainstorm]
  1152. 2008/07/15
  1153. * Updated WoE Time Explanation for Sunday. [Paradox924X]
  1154. * Corrected wrong data loading order in txt storage code [ultramage]
  1155. * Fixed pop_timer_heap using max heap comparisons instead of min heap comparisons
  1156. and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841) [FlavioJS]
  1157. 2008/07/14
  1158. * Made homunculi have doubled regen rates (they regen twice as fast) defined on battle configs. [Brainstorm]
  1159. * Corrected compiler warning and error made from r12952 and r12953, respectively. [SketchyPhoenix]
  1160. 2008/07/13
  1161. * Modified storage data loading (bugreport:1425) [ultramage]
  1162. - storage is now loaded/saved along with character status
  1163. - as a consequence, a lot of storage handling code was removed
  1164. - there is no more locking done within storage data
  1165. - mapservers no longer cache the data (solves muiltimapserver exploit)
  1166. - loading storage on char select may decrease charserver performance
  1167. * Added missing picklog case [Konard]
  1168. 2008/07/12
  1169. * Fixed a bad check on NPC_EVILLAND, actually healing players instead of doing damage. [Brainstorm]
  1170. 2008/07/10
  1171. * Users can't click floating npcs directly. (quick fix for bugreport:1814) [FlavioJS]
  1172. 2008/07/09
  1173. * Fixed SG_FUSION hp penalty (0.5% to 2%), bugreport:1805 [Brainstorm]
  1174. * Added const to the return value of get_timer.
  1175. * Added a maximum timer interval. Avoids server shutdowns being delayed
  1176. for ~10 seconds under some circumstances on windows.
  1177. * Replaced the fake timer heap (ordered array) with a binary min heap. [FlavioJS]
  1178. 2008/07/07
  1179. * First attempt at implementing the official walk speed system
  1180. - separated speed modifiers into bonuses, penalties and other statuses
  1181. - no bonuses stack, instead the maximum is taken
  1182. - no penalties stack, instead the maximum is taken
  1183. - Union, Riding and Pushcart are the only other statuses that stack
  1184. - both bonuses and penalties are linear modifiers of the base walk speed
  1185. - 'other' statuses are applied after bonuses and penalties
  1186. * Changed many equations to match official walk speed system
  1187. - Steel Body now sets a fixed walk speed of 200 (bypassing everything else)
  1188. - Defender now caps the walk speed to a minimum of 200
  1189. - Slow Grace now uses official equation for aspd/walk speed decrease
  1190. - Pushcart's speed penalty is now halved
  1191. - Free Cast now changes walk speed to a fixed value, bypassing bonuses and penalties
  1192. - Wedding clothes now have a penalty of +100%, not +200%
  1193. - rogue's Tunnel Drive and stalker's Chasewalk ignore all penalties
  1194. - taekwon's Running is now 5% faster
  1195. - Frenzy is now 5% faster
  1196. - Gospel's offensive slowdown is now +75% instead of +33%
  1197. - Quagmire now slows down by +50% instead of +100%
  1198. - Gatling Fever now slows down by +100% instead of +33%
  1199. - Cloaking modifier is now a bonus/penalty, depending on presence of wall
  1200. - Longing for Freedom overrides the song/dance penalty (bugreport:416)
  1201. - Bard/Dancer Spriit now properly affects song/dance penalty (bugreport:1019)
  1202. - item-granted speedup no longer stacks with speed bonuses (topic:145019)
  1203. - removed some status code that pre-calculated speed bonuses/penalties,
  1204. to make calculations more localized and less messy (see song/dance code)
  1205. * Removed stop/slowdown effect from Grimtooth (bugreport:1806)
  1206. * Players autotrading will not be able to receive whispers (bugreport:1804) [SketchyPhoenix]
  1207. 2008/07/06
  1208. * Slight cleanup of item-based walk speed bonuses [ultramage]
  1209. - removed bSpeed bonus code (was just disabled until now)
  1210. - changed speed_rate to use base value 0% instead of 100%
  1211. 2008/07/05
  1212. * Moved the mob killmonster flag to a more appropriate area. (bugreport:1795) [SketchyPhoenix]
  1213. 2008/07/04
  1214. * Fixed AM_PHARMACY produce chances based on info gathered by flaviojs, aegis zone ep 11.2, of 20070629 [Brain/FlavioJS]
  1215. * Rev. 12912 Homunculus will no longer auto-vaporize on master death. [L0ne_W0lf]
  1216. - Added config option to allow for this to be turned on or off.
  1217. * Added missing 'E' logs to mail system [Lupus]
  1218. 2008/07/03
  1219. * Removed aspd penalty from Free Cast since tests show it's not there,
  1220. even though RO sites claim it is
  1221. * Adjusted Free Cast code so that its walk penalty gets calculated in
  1222. status_calc_speed and nowhere else [ultramage]
  1223. * Fixes regarding bugreport:1727 (undead element/race skill behaviors) follow up on revisions r12820 r12821 and r12822 [Brainstorm]
  1224. 2008/06/24
  1225. * Rev. 12891 Increased Item group limit for new item groups. [L0ne_W0lf]
  1226. 2008/06/23
  1227. * Fixed: replaced TYPEs with ENGINEs in SQL files (for better compatibility, TYPE is a synonym) [akrus]
  1228. 2008/06/22
  1229. * Extended script command 'set' to return the variable reference (topic:190602). [FlavioJS]
  1230. * Fixed a bug where the "OnMyMobDead" event wouldn't trigger if the mob was killed and never attacked. (bugreport:1725) [SketchyPhoenix]
  1231. * Reworded a comment in can_copy to make more sense.
  1232. * 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)
  1233. 2008/06/19
  1234. * Added Sirius_White's fix for sense working on emperium. (bugreport: 1679) [SketchyPhoenix]
  1235. * Fixed SC_CHANGEUNDEAD behavior: Blessing and Increase AGI deals 1 damage and does not apply buffs to those inflicted by it.
  1236. 2008/06/18
  1237. * Added a fix for refresh properly displaying dead and sitting players. [SketchyPhoenix]
  1238. * Fixed basilica behavior not knocking back monsters 2 cells should one attempt to enter the field.
  1239. * Fixed cash shop not using points to make up the cash difference when purchasing an item.
  1240. 2008/06/17
  1241. * Forgot to commit source modification from r12833 (Updated Novice grounds.) [L0ne_W0lf]
  1242. 2008/06/16
  1243. * Made the socket limit not be set in cygwin, which has bogus behavior. (bugreport:1684) [FlavioJS]
  1244. * Made the socket limit be set to the maximum allowed value when setting to FD_SETSIZE fails.
  1245. 2008/06/14
  1246. * Fixed Icewall not restoring the original cell type [ultramage]
  1247. * Fixed PF_FOGWALL working on Boss monsters. [Brainstorm]
  1248. 2008/06/13
  1249. * Fixed Evil Land working versus undead element instead of undead race.
  1250. * Fixed Grandcross and darkgrandcross, should only cause blind against undead race.
  1251. Also confirmed that ME, evil land, sanctuary, grandcross/DGC and status recovery are versus element, not race.
  1252. * Removed confusion effect part from AL_CURE, it doesnt work on official anymore.
  1253. * Partial revert of signum crucis modification, it doesnt work against players, but work on ELEMENT undead monsters.
  1254. * Corrected dc_serviceforyou bonus values based on irowiki (better have fansite info than 100% guessed info).
  1255. * Fixed dc_humming only recieving half the bonus from dancing lessons.
  1256. * Fixed some skills working on undead element when they were supposed to work on undead race. [Brainstorm]
  1257. Skills Fixed: Cure, Signum Crusis, Blessing, Demons Bane, Divine Protection.
  1258. Skills needing confirmation: Magnus Exorcismus, Evil Land, Sanctuary, Status Recovery, GrandCross, Dark GrandCross, Head Crush
  1259. 2008/06/12
  1260. * Added check to prevent crashing on logmes with no player attached
  1261. (bugreport:1648) [ultramage]
  1262. * Added support for skill names to script commands: [FlavioJS]
  1263. - skill, addtoskill, guildskill, getskilllv, getgdskilllv, itemskill,
  1264. petskillattack, petskillattack2, petskillsupport, skilleffect,
  1265. npcskilleffect, unitskilluseid, unitskillusepos
  1266. - bonus/bonus2/bonus3/bonus4/bonus5 for bonuses bAutoSpell, bSkillAtk,
  1267. bSkillHeal, bAutoSpellWhenHit, bAddSkillBlow, bCastrate
  1268. 2008/06/11
  1269. * Added partylock/guildlock checking for @changeleader/@changegm
  1270. (bugreport:72) [ultramage]
  1271. 2008/06/10
  1272. * Fixed double attack working with unarmed attacks, as reported by Lone Wolf. [Brainstorm]
  1273. * Added experimental code to set the socket limit at runtime. [FlavioJS]
  1274. 2008/06/09
  1275. * Fixed SN_SHARPSHOOTING doing 100% atk less damage than it should, bugreport:1654
  1276. * Fixed Active Guild skills not working when WoE is OFF, follow up on r12770, bugreport:1653 and bugreport:1637
  1277. * Fixed Fire Pillar (and any future splash damage magical trap) not working on Land Protector.
  1278. * Fixed reject sword having a infinite duration, bugreport:695 [Brainstorm]
  1279. 2008/06/08
  1280. * Implemented the two-handed staff/rod type
  1281. * Corrected definition of 'delitem' and 'delitem2', which prevented the
  1282. optional accountid parameter from working (bugreport:1512) [ultramage]
  1283. * Fixed SA_DISPELL removing SC_CRITICALWOUND. [Brainstorm]
  1284. 2008/06/07
  1285. * Swapped the W_SHOTGUN and W_GATLING weapon type IDs [ultramage]
  1286. * Fixed GD_EMERGENCYCALL not working inside gvg castles when WoE is off, bugreport:1637 fix by Meyraw [Brainstorm]
  1287. * Kaite should not work against high-level mobs (bugreport:1623)
  1288. * Fixed 'soundeffectall' not reading its params correctly [ultramage]
  1289. * Fixed PF_DOUBLECASTING casting % bugreport:140
  1290. * Fixed a few properties of NPC_CHANGEUNDEAD bugreport:79 [Brainstorm]
  1291. 2008/06/01
  1292. * Added Ai4rei's "gm can view all players' equips" feature [ultramage]
  1293. 2008/05/31
  1294. * Crashfix to attach/detach timers, thanks to Konard (fixed recent crashes) [Lupus]
  1295. 2008/05/28
  1296. * Updated Ankle Snare duration (bugreport:1438) [Playtester]
  1297. - agi now has only half the effect on the duration (100 agi reduces it by 50%)
  1298. - minimum duration is 5 seconds no matter what
  1299. * Fixed stat values displaying incorrectly when increasing them
  1300. past 255 (wraparound, ack packet only has 1 byte) [ultramage]
  1301. 2008/05/26
  1302. * Updating configure script: [FlavioJS]
  1303. - fixed memory manager using the argument of the last enable/disable option (any option)
  1304. - other minor changes
  1305. * Increased the allowed packet size for chat messages [ultramage]
  1306. - changed the capacity of the message column in chatlog (see sql update)
  1307. 2008/05/25
  1308. * Increased storage space to 600 [Playtester]
  1309. 2008/05/24
  1310. * Updated sql files to latest [Toms]
  1311. 2008/05/16
  1312. * Fixed 64bit timestamps messing up auction/storage (bugreport:1454)
  1313. * Added sd state to track party creation/invitation (bugreport:1180)
  1314. 2008/05/13
  1315. * Fixed a mistake in r11344 that caused the 'my shop' window to display
  1316. info about cards slotted in items incorrectly (bugreport:1502)
  1317. 2008/05/12
  1318. * Fixed a script engine problem where warping away while having a menu
  1319. window open and talking to an another npc with a menu would produce
  1320. menu option count mismatch errors (bugreport:1208)
  1321. 2008/05/10
  1322. * Fixed @showmobs not working (bugreport:1487)
  1323. 2008/05/09
  1324. * Added correct extended info packets for items that are being moved
  1325. into storage or cart. This caused items to visually lose their
  1326. properties once they have been moved from inventory (bugreport:250).
  1327. The modification is mostly copypaste but it works nicely [ultramage]
  1328. 2008/05/07
  1329. * Corrected default guild positions not being saved during guild creation.
  1330. * Did some cleanup of the splash code, the NPC_WIDE* skills now send the
  1331. 'preamble' packet, which for the most part correct their skill animation
  1332. display.
  1333. * Fixed Sense messing up with Spiderweb.
  1334. * Added Throw tomahawk to the list of items that do not trigger the
  1335. equipment breaking code.
  1336. * Probably fixed Moonlight petals pushing back the casters.
  1337. * Infinite Endure won't be passed on to devoted characters.
  1338. * Infinite Endure is no longer saved on logout.
  1339. * Added check to avoid gms opening vending shops if they don't have the
  1340. required level.
  1341. * Fixed the flee penalty not applying when you walk into a gvg map. [Skotlex]
  1342. 2008/05/03
  1343. * NPC_GUIDEDATTACK is not supposed to bypass pneuma/safetywall [ultramage]
  1344. 2008/05/02
  1345. * Fixed missing iterator destruction in the map_foreach* functions (followup to r12684).
  1346. * Added backward compatible handling of PACKETVER 8 and 9. (followup to r12539)
  1347. * Changes to map_foreach* functions: [FlavioJS]
  1348. - removed the unecessary use of va_copy in map_foreachpc
  1349. - applied the same function pattern to map_foreachmob and map_foreachiddb
  1350. - created map_foreachnpc
  1351. - extended the behaviour of map_foreach* functions to stop iterating when func returns -1
  1352. * Replaced the very ineffective clif_foreachclient() with map_foreachpc() since they essentially do the same thing (bugreport:1174).
  1353. * Rewrote map_foreachpc() so that its callback function signature now uses a more natural 'sd' instead of a DBKey/void* pair.
  1354. * Rewrote atcommand_users() to use a single function, instead of depending on two helper functions and global objects.
  1355. * Added a custom implementation of the va_copy macro for systems that don't provide it.
  1356. * Fixed varargs not being used correctly in foreach() calls in db.c (bugreport:551).
  1357. * Replaced the integers+checking approach in r12679 with usage of floating point arithmetic.
  1358. * Applied search&replace to use the new name of the function.
  1359. * Implemented get_percentage() for compact and safe calculation of percentual values.
  1360. * Fixed integer arithmetic overflows that were occuring in several supernovice checks (bugreport:1135). [ultramage]
  1361. 2008/05/01
  1362. * Updated mob_db.sql to latest [Toms]
  1363. 2008/04/30
  1364. * Rev. 12676 Corrected several effect descriptions. [L0ne_W0lf]
  1365. 2008/04/28
  1366. * Cleaned up char server set online/offline/char select functions. (r12670) [Kevin]
  1367. 2008/04/27
  1368. * Fixing some timestamp type difference warnings...
  1369. * Removed the calc_times() no-op (bugreport:1289).
  1370. * Corrected r12662 where a guild break would trigger the OnGuildBreak event for all castles (even of other guilds).
  1371. * Corrected some x64 compilation warnings in ers/malloc files.
  1372. * Cleaned up a case of bad variable reuse.
  1373. * Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, r12662, r12663): [ultramage]
  1374. - the player data inventory-itemdb index is now refreshed using pc_setinventorydata()
  1375. - mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload
  1376. - the clif_buylist() function once again hides invalid npc shop items
  1377. - it is no longer possible to purchase nonexistent items from a npc shop
  1378. - npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it
  1379. 2008/04/26
  1380. * Added script function hasquest. [Kevin]
  1381. * Fixed OnGuildBreak. [Kevin]
  1382. * Cleaned up auth system after change back to map server request.
  1383. - Created function set_char_charselect to get rid of some of the "special case" variables.
  1384. - Removed code that involved the char server sending auth data at char select.
  1385. - Changed char select code to update the instance of the char data in the DB
  1386. to fix map/sex info not being propagated to auth request. [Kevin]
  1387. * Rev. 12657 Added WoE SE castles to castles.txt in save-tmpl. [L0ne_W0lf]
  1388. 2008/04/25
  1389. * Updated item_db.sql to latest
  1390. * Fixed bugreport:1223 (Invalid Items In Shops Are Processed Incorrectly)
  1391. * Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 (optional
  1392. account_id parameter) bugreport:1035
  1393. * Modified doc in consequence [Toms]
  1394. 2008/04/23
  1395. * Fixed script strings not being handled properly (only skipped the \).
  1396. * Added skip_escaped_c to strlib.c/h.
  1397. * Fixed sv_unescape_c not handling hex/octal escapes properly.
  1398. * Script parse errors displayed with one ShowError instead of several ShowMessage's. [FlavioJS]
  1399. 2008/04/22
  1400. * Changed itemdb_reload to clear the database before reloading, so it is possible
  1401. can remove an item from the DB without restarting the server (bugreport:1348) (r12635). [Kevin]
  1402. * Fixed a "bug" in sv_readdb under windows and cygwin configured as "Unix/binary" for text
  1403. files ('\r' is read and empty lines are not skipped) bugreport:1382 bugreport:1401 [Toms]
  1404. 2008/04/21
  1405. * Changed the data field of timers from int to intptr.
  1406. * Added intptr/uintptr to cbasetypes.h (integers with the same size as a pointer). [FlavioJS]
  1407. * Rev. 12631 Changed Sacrifice status to end on caster's death, not at 25% HP. [L0ne_W0lf]
  1408. - Should also fix over-flow damage returning to sacrificed targets. Partially fixes bugreport:1332
  1409. * Updated sql files to latest [Toms]
  1410. 2008/04/19
  1411. * Made some cleanup in changesex [Toms]
  1412. * Fixed a bug in (init/start/stop)npctimer [Toms]
  1413. 2008/04/18
  1414. * Fixed a bug when unloading a npc near a shop.
  1415. * Fixed npc_buylist not giving/checking the good item when it was an
  1416. item_avail in the shop (the real one was added in inventory).
  1417. * Implemented config setting 'vending_over_max', to let people configure
  1418. the behavior of vending items over the MAX_ZENY limit [ultramage]
  1419. * Fixed mapserv crash, thanks to Konard [Lupus]
  1420. 2008/04/17
  1421. * Modified sv_readdb to be able to process non-native line terminators (bugreport:1382) [ultramage]
  1422. 2008/04/16
  1423. * 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.
  1424. * Merged some recent changes from SQL to TXT, as someone didn't bother to do it.
  1425. * Ifdefed the quest data request code as SQL-only (this was causing server disconnects whenver someone logged in). [ultramage]
  1426. 2008/04/15
  1427. * Use the same code for script commands getitem & getitem2 as @item to avoid
  1428. bug in bugreport:1324 (non-stackable items are stacked) [Toms]
  1429. * Removed all _ in the second name in item_db.txt and updated item_db.sql [Toms]
  1430. * Added a forward declaration of the struct quest instead of including mmo.h [Toms]
  1431. * Corrected some invalid syntax in skill_db.txt (wrong usage of commas)
  1432. * Renamed BA_FROSTJOKE to BA_FROSTJOKER (aegis server-side name)
  1433. * Implemented a generic framework for parsing delimited db files
  1434. - allows specifying min/max column ranges and max number of rows to read
  1435. * Cleaned up pc.c a bit [ultramage]
  1436. * Updated item_db.sql to latest [Toms]
  1437. 2008/04/14
  1438. * Fixed a possible crash in char_sql. (since r12575, later modified in r12590). [FlavioJS]
  1439. * Fixed a memory leak in mapif_quests_fromsql [Toms]
  1440. * Fixed a typo in char_sql/char.c [Toms]
  1441. * Fixed a bug in the disconnection part char-server (not sending you offline) [Toms]
  1442. * Changes to the configure script: [FlavioJS]
  1443. - added options --with-MYSQL_CFLAGS and --with-MYSQL_LIBS to allow manual setting of those variables
  1444. 2008/04/13
  1445. * More major updates to the quest log system. [Kevin]
  1446. * Followup to r12579 (all other players appeared as female on sql branch). [FlavioJS]
  1447. * Some major updates to the quest system, beginning to move it
  1448. over to the inter server instead of char server. (r12581) [Kevin]
  1449. * Added an include in clif.h to avoid a complaint of gcc [Toms]
  1450. * Quick&dirty reversal of the inter-server behaviour introduced in r3255/r3256:
  1451. - the behaviour enabled a desynch between the char-server and the map-server
  1452. - now the map-server asks the char-server to authenticate the auth info
  1453. (the char-server doesn't send the auth info immediatelly)
  1454. * Changes to the configure script: [FlavioJS]
  1455. - clarified how --with-zlib is used
  1456. - added --enable-packetver to set the PACKETVER define (used often enough
  1457. to get it's own option, but unnecessary since it can be set with CFLAGS)
  1458. - added -g compiler option to --enable-debug
  1459. * Changed LOG_ALL definition to really log everything [Toms]
  1460. 2008/04/12
  1461. * Login will no longer set character offline when going from map
  1462. to character select. (r12575) [Kevin]
  1463. 2008/04/11
  1464. * The max_account_id packetver detection mechanism will never cause any connection problems ever again. (bugreport:388)
  1465. * Reverted the `login` table changes from r12464 [ultramage]
  1466. * Finished most of the quest log code, still bits here and there
  1467. but it's ready for testing. (r12558) [Kevin]
  1468. 2008/04/10
  1469. * More quest log code. [Kevin]
  1470. * Client not marked online until map receives auth request from the client
  1471. - and is approved. Also added some online/offline sets to the auth system
  1472. - that were being skipped.(r12552) [Kevin]
  1473. * Modified the charservers to use a DBMap instead of a cyclic array for auth data.
  1474. * Merged the auth fix from r12473 to TXT as well.
  1475. * Removed the no-op from r12547. [ultramage]
  1476. * Rev. 12550 Reverted the change to MAX_SQUARE_LAYOUT. [L0ne_W0lf]
  1477. * Rev. 12548 Updated NPC skill "Evil Land". More gravity wtfage. [L0ne_W0lf]
  1478. - Based on visual observation, and experience with it on iRO Sakray.
  1479. 2008/04/09
  1480. * Clif functions and basic data structures for questlog system. (r12544) [Kevin]
  1481. 2008/04/08
  1482. * Fixed party invitation ack messages not displaying (bugreport:1308)
  1483. * Modified PACKETVER for recent clients to use a YYYYMMDD date format
  1484. instead of a simple sequence number (allows adding versions inbetween)
  1485. * Small party/guild creation cleanup. Added packet comments. Removed fake reply packet usage. [ultramage]
  1486. 2008/04/07
  1487. * Rev. 12529 Updated MAX_GUARDIANS to support an insane amount of guardians. [L0ne_W0lf]
  1488. * Immunity to magic now makes you immune to the SC effect as well. (r12527) [Kevin]
  1489. * Made script command 'flagemblem' and guild_emblem_change send an update
  1490. of the emblem_id to the players in the area.
  1491. - known bug: ui components that are displaying the emblem at the time
  1492. (emblem in flag npc and emblem over head in gvg maps) are not updated,
  1493. but putting the mouse over the target shows the new emblem
  1494. * Modified script command 'guardian':
  1495. - returns the id of the guardian
  1496. - if guardian index isn't supplied, it generates a temporary guardian
  1497. * Implemented support for temporary guardians (not saved with castle).
  1498. * Added missing includes from r12520. [FlavioJS]
  1499. * Party/guild names can no longer be less then 2 characters long. (r12521) [Kevin]
  1500. * Removed the 'wait close' timer that closed a session's socket after 5 seconds.
  1501. This was causing random disconnects when logging in. (bugreport:1330)
  1502. * Improved the Mental Sensing fix from r12507 to not start the status at all, instead of starting it and ignoring it later on. [ultramage]
  1503. 2008/04/06
  1504. * Fixed a case where a dangling pointer was formed when a person was
  1505. - invited to a party immediately after creating their own. (r12518) [Kevin]
  1506. * Sight rasher now affects the wizard's own and other's icewalls. (r12516) [Kevin]
  1507. * Sight rasher, sight blaster, and arrow shower are now the only
  1508. - three skills that will affect traps. (r12516) [Kevin]
  1509. * NPC earthquake now divides the atk2 bonus between players. (r12514) [Kevin]
  1510. * Changed guild skills restore, regen, and battle order to only affect BL_PC. (r12513) [Kevin]
  1511. * Reverted one of the changes in dynamic mobs that may
  1512. - be causing the spawning problems. (r12512) [Kevin]
  1513. * Equip speed buffs no longer stack with speed consumables. (r12509) [Kevin]
  1514. - (Speed potion not included).
  1515. * Sprint, Fusion, and Increase AGI now stack independently.
  1516. - The others still don't take affect if you have any of these three. (r12508) [Kevin]
  1517. * Mental Sensing no longer gives an xp bonus on bosses. (r12507) [Kevin]
  1518. * Changed Union/Increase AGI stack fix (it should work now). (r12506) [Kevin]
  1519. * Fixed seven wind not allowing ghost/shadow. (r12505) [Kevin]
  1520. * Added Moscovia to the list of @go destinations [Toms]
  1521. 2008/04/05
  1522. * Unequip should no longer remove any buff from seven wind. (r12503) [Kevin]
  1523. * Union and Increase AGI now stack. (r12502) [Kevin]
  1524. * Union now consumes sp when not soul linked. (r12499) [Kevin]
  1525. * Running into a wall/npc/pc/mob no longer enables spurt. (r12498) [Kevin]
  1526. * Fixed unable to move after using a skill to break out of sprint. (r12497) [Kevin]
  1527. * DMG no longer stops running. (r12488) [Kevin]
  1528. 2008/04/04
  1529. * PCs/Mobs/NPCs now block Leap(TK_HIGHJUMP) and sprint(TK_RUN). (r12485) [Kevin]
  1530. * Disconnect user when receive select egg packet with no menu open. (r12484) [Kevin]
  1531. * Fixed @rura between maps on more then one map server. (r12483) [Kevin]
  1532. * Update to Auth Glitch fix: moved unit_free_pc back to where it was
  1533. - and updated it so unit_free_pc just tells the script to end
  1534. - (not hard delete). (r12481) [Kevin]
  1535. * Updated mob_db.sql to latest.
  1536. * Fixed a little bug in Kevin's commit (r12473) [Toms]
  1537. * Bug fixes for Auth Glitch and Map server crash through script warp when
  1538. - changing map servers.
  1539. * When char receives the request to go back to char selection it sets
  1540. - the character as "at char select" in the online_char_db, and
  1541. - set_char_offline now deletes the entry in the online_char_db unless
  1542. - the user is at the character screen (to prevent unecessary callocs/frees.
  1543. * Script warp was just a simple misplacement of a free statement, freeing the
  1544. - users session data before the scripting subsystem was finished with it. [Kevin]
  1545. 2008/04/03
  1546. * More login server work
  1547. - Renamed 'connect_until_time' to 'expiration_time'
  1548. - Renamed 'ban_until_time' to 'unban_time'
  1549. - this also applies to login table columns (see upgrade_svn12464.sql)
  1550. 2008/04/02
  1551. * Rev. 12462 Updated MAX_GUILDCASTLE to support new castles. [L0ne_W0lf]
  1552. * Added SV_KEEP_TERMINATOR option to not split the line terminator.
  1553. * Added sv_split to strlib.c/h (similar to sv_parse). [FlavioJS]
  1554. 2008/03/31
  1555. * Fixed ACIDDEMO crash, thanks to Kaato&Konard [Lupus]
  1556. * Added latest version of dbghelp.dll (from microsoft debugger package), to prevent Windows from loading other, outdated versions.
  1557. This caused the dbghelpplug plugin to omit information about structures when producing a backtrace. [ultramage]
  1558. 2008/03/30
  1559. * yet more login server stuff
  1560. - jA data structure compatibility renaming / adjustments
  1561. - mmo_account -> login_session_data, auth_data -> mmo_account
  1562. - made gender variable usage consistent for the entire login server
  1563. - rewrote TXT's new account creation procedure to match SQL's
  1564. 2008/03/28
  1565. * Some more txt/sql login server synchronization [ultramage]
  1566. - removed the option to specify multiple IPs/subnets for 'ladminallowip'
  1567. - removed the @gm command and all associated management code
  1568. - removed the 'save unknown packets' code
  1569. - removed the lengthy TXT ipban code (which was essentially a copy of
  1570. what's already handled by the socket layer/packet_athena.conf)
  1571. - implemented 'start_limited_time' in SQL (expiration for new accounts)
  1572. - applied some missing TXT changes from the last update
  1573. 2008/03/27
  1574. * Updated SQL Files (item & mobs) [Toms]
  1575. * Partial rewrite of the login server's auth system.
  1576. - replaced the cyclic, size-limited auth_fifo data structure with the
  1577. more appropriate DBMap-based alternative (stops some erratic behavior)
  1578. - added code to simulate the pseudo-status "online on login server"
  1579. - auth data will now expire after 30 seconds instead of persisting
  1580. - better-than-aegis handling of login cancellation (the server will wipe
  1581. all previous auth data instead of making you wait for it to expire)
  1582. - proper status message - no more generic "rejected from server", now
  1583. you'll get "the server still recognizes your last connection"
  1584. - fixed a typo in r10110 which caused disconnect timer removal to fail
  1585. - split off some parsing code to login_auth_ok() and login_auth_failed()
  1586. - extended the auth confirmation packet so that the login_id1/2 values
  1587. are sent along with the associated account id (stops charserver from
  1588. making wrong choices if two incoming sessions have the same acc_id)
  1589. - fixed a bug in the disconnect part of the main charserver parsing
  1590. loop, where a non-authed client would erase the online db entry for
  1591. a client that's already online, thus bypassing any dual-login checks
  1592. - added code to stop the waiting_disconnect timer when the associated
  1593. online entry is removed right away, instead of doing checks later
  1594. - removed code that would periodically wipe the online status of clients
  1595. that are in the auth process (producing yet more erratic behavior)
  1596. - commented out some TXT-only reconnect prevention code (bugreport:1281)
  1597. * merged the charserver acc modification code cleanup to TXT (r11324)
  1598. * changed trunk's default server->client PACKETVER to 9
  1599. 2008/03/26
  1600. * Adjusted eAthena code to compile cleanly in C++ mode.
  1601. 2008/03/25
  1602. * Added proper checks to adoption processing (followup to r12428).
  1603. * Cleaned up some code / fixed some typos. [ultramage]
  1604. 2008/03/24
  1605. * Reorganized the contents of the mapserver's header files.
  1606. - map.h is no longer a generic dumping spot of all the shared structs,
  1607. and instead, each such structure now resides in its logical component
  1608. - map.h now only holds mostly map-related things (needs more cleaning)
  1609. * Fixed a problem in the new trade window implementation (from r11830) where no trade acknowledgement messages would get sent (bugreport:1217). [ultramage]
  1610. 2008/03/22
  1611. * Cart Termination now bypasses Parrying and Energy Coat (bugreport:476).
  1612. * Mobs with no respawn information which don't have a master will not get unloaded by the dynamic mobs system.
  1613. This prevents script-spawned mobs (bio MVPs, Emperium/Guardians, ...) and dead-branched mobs from disappearing (bugreport:1246).
  1614. * Added a missing null-pointer check to the timed player pvp/gvg respawn function (mistake in r12232) [ultramage]
  1615. 2008/03/21
  1616. * Added VS9 project files. Thanks to Konard [Lupus]
  1617. - removed redundant map_getallusers() function
  1618. 2008/03/19
  1619. * Changed the dynamic mobs system to also unload mobs that have respawn
  1620. time but are already spawned - 22M less mem usage (bugreport:1197)
  1621. - also added a check to not respawn mobs on maps with no players
  1622. (potentially unsafe operation, needs further inspection)
  1623. 2008/03/18
  1624. * Fixed invited party members not displaying correctly (bugreport:1199)
  1625. * Fixed OnPCLoginEvent not working correctly (bugreport:1182) [ultramage]
  1626. * Added missing WorkingDirectory value to vcproj-7.1, vcproj-8 projects.
  1627. Now you can flawlessly run your compiled server with RUN button in
  1628. the correct directory. Thanks to Konard [Lupus]
  1629. - Reverted changes from the project files, due to incompatibility [Lupus]
  1630. 2008/03/14
  1631. * Fixed spawned mob count not being counted properly, causing yet more respawn problems.
  1632. * 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)
  1633. * removed a strange (and undocumented) event name check for "GM_MONSTER" in the npc event execution code
  1634. * added effects from recent sakexes to effects list
  1635. * removed ladmin from vs8 sql builds
  1636. * added int_auction.c/.h to vs6 and vs7 project files
  1637. * some small cleanups
  1638. * Fixed one condition incorrectly modified in r12358, which caused dynamically unloaded mobs to never spawn once they've been unloaded once (bugreport:1178) [ultramage]
  1639. 2008/03/13
  1640. * Replaced some foreach-based functions by their inlined iterator equivalents.
  1641. * 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.
  1642. * Cleaned up related parts of the source code.
  1643. * Fixed one forgotten mob spawning function call causing mobs to duplicate when respawning (followup to r12350) (bugreport:1173) [ultramage]
  1644. 2008/03/12
  1645. * Removed one mob data variable related to dynamic mobs that I found to be redundant.
  1646. * Changed MAX_MOBSKILL (max. amount of different skill entries per mob) from 50 to 40 to reduce memory consumption a bit more. [ultramage]
  1647. 2008/03/11
  1648. * Replaced one incorrect nullpo check in chat_deletenpcchat().
  1649. * Replaced clif_countusers() with a more efficient alternative (thanks to the fact that pc_db now only holds fully authed players only). [ultramage]
  1650. 2008/03/10
  1651. * Added missing check to only allow the leader of a party to modify
  1652. its exp share settings (bugreport:12) [ultramage]
  1653. 2008/03/09
  1654. * Modified attack_walk_delay so it behaves on a 'per-object' basis, and
  1655. changed the default to 15 (all types).
  1656. * Modified battle_delay_damage so damage is not delayed more than one
  1657. second for non-player attacks.
  1658. * Modified party_member_added with a hack so that the clif functions will
  1659. send the info of the new member since party_recv_info has not yet arrived.
  1660. * Updated clif_calc_delay so the type sent to the client is based on the
  1661. number of hits of the skill (as Aegis packets reveal) [Skotlex]
  1662. * Cleaned up and corrected some more land skill code [ultramage]
  1663. - removed redundant skill_ganbatein() function
  1664. - Added flag UF_PATHCHECK from jAthena which affects whether a skill's
  1665. cells will be affected by the surrounding terrain. Adjusted existing
  1666. flags so that they closely match jA's (for easier comparisons).
  1667. - Fixed code that allowed placing of skill unit cells on 'gaps'.
  1668. - Fixed code that prevented successful casting of land skills on 'gaps'
  1669. (officially it's possible, even though they will not deploy entirely).
  1670. 2008/03/07
  1671. * Script induced status changes can now be reduced by stats/cards (but
  1672. only trigger rate is reduced, not duration).
  1673. * Battle delay timers will now check if the target player has the
  1674. invincible timer active or not.
  1675. * Adjusted clif_damage and clif_skill_damage to set the endure type value
  1676. based on dmotion and damage, rather than hardchecking for SC_ENDURE.
  1677. 2008/03/06
  1678. * Fixed song/dance cells to appear even on top of walls and pits.
  1679. * Fixed non-chatroom owners being able to kick others from the chatroom.
  1680. [Skotlex]
  1681. * Fixed a crash when a homun kills a mvp and the char that did
  1682. the most damage is unable to carry the mvp reward (bugreport:1114)
  1683. 2008/03/05
  1684. * Added code to clear the Illusionary Shadow effect (followup to r12293)
  1685. * Added some trim() calls into mapflag code (followup to r12238)
  1686. * Fixed mvp exp reward packet not working right for big values
  1687. * Added dbghelpplug plugin entry to the plugins configuration file
  1688. * Added conf setting for auction table name (see r12287) [ultramage]
  1689. * Implemented Firepillar's 'target cannot move for 0.2 sec x hit' property.
  1690. * Corrected Earthquake so it behaves as explained in the development topics.
  1691. * Added a missing line to actually unequip unallowed compounded cards when
  1692. changing maps.
  1693. 2008/03/04
  1694. * Updated the firepillar code so it behaves like the other traps.
  1695. * Additional status changes now only get triggered if the attack did
  1696. damage, not if they get absorbed.
  1697. * Properly set the opt3 value for Moonlight, Changeundead and Soul Link.
  1698. * Fixed the "no equip" flag of cards not being properly applied when
  1699. attemting to equip items.
  1700. * Some corections to the new auth db system. [Skotlex]
  1701. 2008/03/02
  1702. * New optimizations for mail system and adjust to use it on Auctions. [Zephyrus]
  1703. - Added a Sql patch to clear all deleted mails. (There is no need to keep that data)
  1704. - Added more code for Auctions. Not implemented but just for study.
  1705. 2008/02/29
  1706. * Rev. 12268 Added documentation for Cash shop NPC heading. [L0ne_W0lf]
  1707. 2008/02/28
  1708. * Added cash shop support [Zephyrus]
  1709. 2008/02/27
  1710. * Fixed 'cleararray' not able to erase array entry 127 (bugreport:864)
  1711. * Fixed @reloadmobdb producing memory leaks in pet db (bugreport:1030)
  1712. * Patched an unresolved case where knocking back a bard/dancer would
  1713. cause the mapserver to crash (bugreport:1043)
  1714. * Fixed Apple of Idun not checking for bard soul link (bugreport:1028)
  1715. * Fixed Advanced Adrenaline Rush not working barehanded (bugreport:1049)
  1716. * Disabled idle_no_autoloot setting (bugreport:1051)
  1717. * Removed NODAMAGE and ICEWALL cell types (mem usage back to normal)
  1718. - Icewall now uses basic cell type 5 (nonwalkable, shootable)
  1719. - as a consequence, you can now warp to a nonwalkable cell - but only
  1720. via gm command or scripted warp bug (hopefully :)
  1721. * Added missing option changes for Illusionary Shadow and Soul Link
  1722. that disappeared when you left the screen (bugreport:1053)
  1723. * Added support for the "view player equip" feature (see topic:174461)
  1724. 2008/02/26
  1725. * Added new settings for Autotrade. [Zephyrus]
  1726. 2008/02/23
  1727. * Now the server will print an error message if an invalid mapflag is
  1728. found during script loading (see bugreport:980 for the motivation)
  1729. - removed one extra space that broke jail's noreturn mapflag loading
  1730. 2008/02/22
  1731. * Removed code in socket.c that tries to avoid send buffer overloading,
  1732. as there is a scenario (many players and charserver disconnect) where
  1733. mass char saving produces huge ammounts of data to send (see r11503)
  1734. * Cleaned up player respawning code (bugreport:1022)
  1735. * Increased the max amount of different autocast skills from 5 to 10
  1736. * Fixed @whomap not unlocking the player db (bug in r12204) [ultramage]
  1737. * Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs
  1738. directly to all sub make files. How to use:
  1739. make CUSTOM_CFLAGS='-DSOME_DEF' sql [Lupus]
  1740. * Fixed 2 problems in r12223 - incorrect variable used (bugreport:1031) and a missing global function declaration. [ultramage]
  1741. 2008/02/21
  1742. * Added status_calc_life to properly calculate hp/max_hp as a ratio taking
  1743. into accounts overflows (and for now also avoids divisions by 0). Applied
  1744. this function around clif.c, mob.c and pet.c
  1745. * Implemented the correct walk-speed bonus from the Bard/Dancer spirit.
  1746. * Fixed logarithmic drops turning 0% drop rates into 100%.
  1747. * Restructured the login mechanism of the map-server. The goal was to make
  1748. sure players are not found in the different dbs of the map while the
  1749. player has not yet been fully authed or while it is quitting, to avoid the
  1750. rest of the code from accessing and modifying it. It is a rather extensive
  1751. change, and I only had time to test the basic functionality, so if use with
  1752. care and report any bugs found.
  1753. * Replaced player states auth, waiting_disconnect, finalsave with active,
  1754. and removed states party_sent/guild_sent.
  1755. * Removed several of the old login methods/constants/player states which
  1756. are no longer needed due to this cleanup. [Skotlex]
  1757. 2008/02/19
  1758. * Rev. 12219 Fixed a typo in /map/clif.c (acount_id -> account_id) [L0ne_W0lf]
  1759. * Forgotten update to the definition of script command 'input'.
  1760. * Enabled DEBUG_MEMMGR only in DEBUG mode.
  1761. * Made autotrading characters be kicked instead of reporting double login.
  1762. * Made create_session initialize session_data to NULL.
  1763. * Fixed db_obj_get not handling deleted nodes correctly. (bugreport:999) [FlavioJS]
  1764. 2008/02/17
  1765. * corrected login_fd/char_fd being uninitialized in the char servers.
  1766. * Added a check to prevent using consume-delay items when you cannot use
  1767. skills, since that opens an exploit if the item also has non-skill-casting
  1768. components to its script. [Skotlex]
  1769. 2008/02/14
  1770. * Removed/replaced all calls to map_getallusers (followup to r12195)
  1771. * Trashed @whozeny (from r269) [ultramage]
  1772. * Added some changes to @noks. Now it uses a SC and not vars in mob_data [Zephyrus]
  1773. - Added support to Self|Party|Guild to @noks (default is Party)
  1774. 2008/02/13
  1775. * Changes to memory manager: [FlavioJS]
  1776. - fixed blocks that are fully used not being detected (and not freed) in
  1777. memmgr_final (unfill_prev is NULL for unused blocks and full blocks)
  1778. - fixed memmgr_final giving the wrong address to _mfree (for small blocks)
  1779. - added the pointer address to most error messages (and log)
  1780. - made it append to the log file instead of rewriting it
  1781. - implemented a function to verify if a memory location is active
  1782. - other minor changes
  1783. * Merged memory manager updates from old jA revisions (bugreport:663) [ultramage]
  1784. - less overhead and better overflow detection (caution, experimental!)
  1785. * Added some security checks in mail system [Zephyrus]
  1786. - This supose to fix a bug reported in 622 to limit to MAX_ZENY.
  1787. - Also add more checks to free space in your inventory to receive items.
  1788. * Added some new config settings: [Zephyrus]
  1789. - homunculus_autoloot, idle_no_autoloot, max_guild_alliance.
  1790. - Added a code to activate a Kill Steal protection and the required mapflags.
  1791. 2008/02/11
  1792. * 'Forget me Not' no longer blocks ASPD bonuses from working or prevents
  1793. their re-casting, they are simply dispelled when the effect takes place.
  1794. * Fixed a possible crash when a player logs out before their create-party
  1795. request is accepted. [Skotlex]
  1796. * Expanded the script command 'input': (bugreport:811) [FlavioJS]
  1797. - two new optional arguments 'min' and 'max'
  1798. - return value indicating if it's in the correct range
  1799. - config variables for the default value of the arguments:
  1800. 'input_min_value' and 'input_max_value' in script_athena.conf
  1801. 2008/02/10
  1802. * Added two missing opt2 values, for Angelus and Bleeding status
  1803. * Fixed Warp Portal code sometimes producing errors/crashes in the case
  1804. where a priest enters his/her own warp (bugreport:270)
  1805. 2008/02/08
  1806. * Fixed wrong message in item group loading code (bugreport:936)
  1807. * Fixed 'charisalpha' not working for the first char (bugreport:940)
  1808. * Disabled signed/unsigned warnings for visual studio 2005 [ultramage]
  1809. 2008/02/07
  1810. * Fixed the disguise commands using the wrong variable when attempting to
  1811. disguise as an npc.
  1812. * Corrected and optimized npc_remove_map's npc array cleanup (Fixes
  1813. @reloadscripts reporting 'too many npcs per map' and related dangling
  1814. pointer crashes).
  1815. * HP loss item scripts can no longer kill you.
  1816. * Corrected the item-drop-rate check to avoid duplicate entries in
  1817. @whodrops after a @reloadmobdb. [Skotlex]
  1818. 2008/02/04
  1819. * Some code cleanups. [Zephyrus]
  1820. - Added new Cell types (NoChat and NoDamage)
  1821. - Added JobChangeLevel and FreeSKPoints to #stats
  1822. - Added a Crash protection in clif_send with invalid fd values.
  1823. - Merged a missing update in TK Mission.
  1824. - Added script command 'getmapflag'
  1825. 2008/02/03
  1826. * Fixes to Devotion (see topic:153345) [ultramage]
  1827. - removed totally fake Devotion packet from Marionette Control code
  1828. - fixed one devoted chars array management code bug which caused chars
  1829. to be included in the array multiple times, producing various problems
  1830. - the link will now re-display when coming into view range
  1831. - the link will no longer break if the devotee walks away, but instead,
  1832. if he receives damage while being out of range of Devotion
  1833. * Added an iterator to map.h/c. [FlavioJS]
  1834. Will be used instead of map_getallusers, which has problems with
  1835. dangling pointers (returned array isn't updated).
  1836. 2008/02/01
  1837. * Fixed sql charserver crashing sometimes (bugreport:870) [ultramage]
  1838. 2008/01/29
  1839. * Plagiarize can no longer copy skill levels beyond their max skill_db
  1840. value.
  1841. * Modified pc_dead so that the src is passed on to the master when it is a
  1842. pet or homunculus. [Skotlex]
  1843. 2008/01/26
  1844. * Small update to the dgbhelpplug plugin: [FlavioJS]
  1845. - fixed only half of wide character strings being printed
  1846. - fixed the memory validity check in Dhp__PrintDataValue being optimized
  1847. out in release mode
  1848. 2008/01/25
  1849. * Updated conversion tools for mob_db & item_db
  1850. * Updated SQL Files (item & mobs) [Toms]
  1851. 2008/01/21
  1852. * Fixed battle config loading not applying the side-effects of
  1853. battle_adjust_conf() side-effect if an import: operation fails.
  1854. This is what caused the odd slowdown reported in bugreport:260.
  1855. 2008/01/20
  1856. * Fixed item searches not working on exact "jname" matches.
  1857. * Fixed hom_setting&0x2 conflicting with the 'view-range' limit check.
  1858. * Merged the SA_MONOCELL and SA_CLASSCHANGE code. After changing class all
  1859. the status changes that cannot be triggered on bosses are dispelled.
  1860. * SA_CLASSCHANGE now uses the bloody branch list to pick a target MVP
  1861. class. [Skotlex]
  1862. 2008/01/19
  1863. * Added plugin dbghelpplug to generate more extensive crash reports in windows. [FlavioJS]
  1864. - see header of src/plugins/dbghelpplug.c to know it's capabilities
  1865. - VS8 project file supplied at vcproj-8/dbghelpplug.vcproj
  1866. - a dll compiled in release mode is supplied at plugins/dbghelpplug.dll
  1867. 2008/01/17
  1868. * Made battle_check_range fail whenever the distance between src/target is
  1869. greater than the viewing range. [Skotlex]
  1870. * Icewalls can no longer be knocked back (see bugreport:38)
  1871. 2008/01/15
  1872. * Manner system fixing [ultramage]
  1873. - better-than-aegis 'red bubble' packet updates; now it shows correctly
  1874. - added support for /rc, which is basically mute for 60 minutes
  1875. - fixed typo in r12076 making gm-mute start on the gm instead of target
  1876. - fixed @mute not ending the status properly when using negative values
  1877. - adde missing clif_manner_message(), sends info about manner updates
  1878. 2008/01/14
  1879. * Fixed missing mob_spawn call, which was making CR_CULTIVATION not
  1880. actually spawn the plant. [Skotlex]
  1881. * Client packet corrections
  1882. - 0x01df is not 'gmreqnochatcount', but for requesting a player's
  1883. account name via right-click menu (which currently can't be done)
  1884. - added /remove and /recall, aliases to /shift and /summon
  1885. - added /changemaptype, which alters a single cell's gat type
  1886. - gm kick will no longer exit the client (now it goes to the login screen)
  1887. - removed the quicksort invocation in /ignore code
  1888. * Fixed card removal script functions' 'extra card' bug (bugreport:786)
  1889. * Removed the hardcoded limit for numeric npc input boxes (bugreport:811)
  1890. * Applied a temp patch to make some npc-executed atcommands work again
  1891. * Added support for right-click-gm-menu kicking NPC objects [ultramage]
  1892. * Fixed dangling pointer crashes when bleeding or Deadly poison kills a
  1893. spawn-once monster.
  1894. * Fixed a possible ERS entry corruption when Deadly Poison kills a target
  1895. that has kaizel active.
  1896. 2008/01/13
  1897. * Fixed a possible ers_entry corruption if you die from bleeding while
  1898. under the effects of kaizel.
  1899. * Updated Safety wall so it does not blocks melee magic. [Skotlex]
  1900. 2008/01/12
  1901. * Another possible fix to ers/status_change crashing.
  1902. - same logic as r12058 but in status_change_timer.
  1903. - look out for this error: "[Error]: status_change_timer: Unexpected NULL status change id: ### data: ###"
  1904. getting it means that a crash was avoided and the culprit found.
  1905. * Modified npc_parsesrcfile to read the file as binary and let sv_parse handle LF/CRLF line endings.
  1906. * Possible fix to ers/status_change crashing. [FlavioJS]
  1907. - this patch is untested. Didn't find anyone willing to test it and I can't
  1908. reproduce the crash so can't test the patch.
  1909. symptom:
  1910. status_change_entry.timer is being modified after the entry is freed.
  1911. ers uses that memory location as a pointer when the entry is freed,
  1912. it crashes when accessing the contents when it points to an invalid location.
  1913. assumption:
  1914. status_change_start starts an already existing status.
  1915. as a consequence of something called inside status_change_start the status is ended.
  1916. when the sce is finally being modified, it's modifying a freed entry.
  1917. 2008/01/11
  1918. * Implemented the extra damage bonus to TK_JUMPKICK when it is used while
  1919. running (however what the bonus's equation is has been lost to time, so
  1920. someone else correct it).
  1921. * Corrected CR_CULTIVATION to cause summoned plants to expire after 5
  1922. minutes.
  1923. 2008/01/10
  1924. * Fixed getmonsterinfo to return "null" when returning the name of a
  1925. non-existing mob instead of -1.
  1926. * Corrected CR_CULTIVATION to fail when the target cell has some BL_CHAR on
  1927. it already.
  1928. * Script command percentheal will no longer kill the player if the
  1929. specified amount is negative (and not -100).
  1930. * Fixed Abracadabra unable to cast non-targeted skills (bugreport:186)
  1931. * Another round of login server cleaning [ultramage]
  1932. - fixed passwordencrypt on SQL not behaving correctly (since r10753)
  1933. - corrected some column lengths in the login db (username, password,...)
  1934. - fixed some places which used wfifo without first reallocating it
  1935. - removed interserver packet 0x7532 (Request to end connection), as
  1936. there was no code that actually sent this packet
  1937. - moved RFIFOSKIP actions to execute as soon as possible
  1938. * Corrected @slaveclone/@clone behaving as @evilclone when you change the @
  1939. symbol.
  1940. * Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they
  1941. were card granted bonuses.
  1942. * fixed a SA_DISPELL crash when casted on an object with no status changes.
  1943. 2008/01/09
  1944. * Script command warpportal now places a warp in its initial state (as if a
  1945. real warp portal was casted).
  1946. * Updated dispell to also not remove the following effects: Hindsight, Inc
  1947. Hit/Atk Rate (NPC_POWERUP), Nen, TK stances and tumble, warm and speedup1
  1948. (the other speed potion).
  1949. * Chase-walking characters can now loot.
  1950. * Hiding characters can't drop items now. [Skotlex]
  1951. 2008/01/08
  1952. * Added missing session auth checks to charserver. [ultramage]
  1953. Packets from non-authed clients will now be discarded.
  1954. * Fixed Wand of Hermod not starting the SC_HERMOD status change (which
  1955. blocks spells)
  1956. * Fixed additional def/mdef from vit/int bonuses being lost when a status
  1957. change that affects def/mdef triggers (for homunculus) [Skotlex]
  1958. * Added missing code to log main chat messages sent by whispering
  1959. to main_chat_nick (bugreport:424) [ultramage]
  1960. 2008/01/07
  1961. * Small change to potion pitcher to allow potion healing rate item effects
  1962. to be included in potion pitcher's heal rate. [Reddozen]
  1963. * Changed the code in status_change_timer so that a null pointer no longer
  1964. causes a crash but prints an error instead.
  1965. * Corrected clones not copying over a player's skills properly. [Skotlex]
  1966. 2008/01/06
  1967. * Extended the id range for npcs, now [400,700) will also be treated
  1968. as NPC objects (see topic:170845 and bugreport:727) [ultramage]
  1969. * Fixed a visual itemdupple bug on mail system. [Zephyrus]
  1970. - Fixed Overthrush status cannot being recalled at same skill lvl.
  1971. 2008/01/04
  1972. * Fixed a mistake in r11991 that let knockback work through walls
  1973. * Modified the map_setcell() code to to use a boolean flag instead of
  1974. needing SET_ / CLR_ pairs of defines (topic:174323) [ultramage].
  1975. Also removed script object 'setcell', added script function 'setcell'
  1976. - Now you can manipulate cell information without needing @loadnpc
  1977. - You can also manipulate the terrain ('gat') type itself, using the
  1978. new cell_walkable, cell_shootable and cell_water constants
  1979. (currently the implementation uses bit flags too, so to get the type
  1980. you want, you need to adjust the flags one by one)
  1981. - This breaks current scripts, so please adjust places that use setcell
  1982. (also be sure to _only_ use predefined constants, not direct numbers)
  1983. - Details can be found in the script reference.
  1984. * Fixed Music Lesson's effect on Assassin Cross of Sunset.
  1985. * Fixed a possible crash in status_change_timer when debug mode is
  1986. disabled. [Skotlex]
  1987. 2008/01/03
  1988. * Changes to reduce the number of map cell types
  1989. - Pneuma now again works via status change (see r3969)
  1990. - removed unused CELL_SAFETYWALL
  1991. - removed custom CELL_REGEN, it just increased regen rate (r1192, r1518)
  1992. * Fixed npc unloading not clearing NPC touch cells (bugreport:595)
  1993. * Map cell mechanism rewrite (bugreport:426)
  1994. - defined a data structure for map cells (replaces 3 various cell arrays)
  1995. - both terrain (gat) and dynamic (cell) information is now stored as
  1996. C-style bit flags instead of #defines and bitmasks
  1997. - added map_gat2cell() and map_cell2gat() for terrain type conversions
  1998. - changing terrain information via 'setcell' is temporarily disabled
  1999. - mapserver startup now takes longer, as it needs to adapt mapcache data
  2000. to internal representation, cell by cell (new mapcache format anyone?)
  2001. * Moved extra junk from map_addblock/map_delblock to where it logically
  2002. belongs (loadendack/unit_remove_map), removed flags and _sub macros
  2003. * Removed map_data's block_count, as (quote Yor/ja2160),
  2004. "Perhaps useful for debug, but uses memory AND CPU for nothing."
  2005. (block lists are linked lists, they don't need count tracking) [ultramage]
  2006. 2007/12/31
  2007. * Fixed a crash in txt char-servers that the memory manager was hiding.
  2008. online_char_db being used after being destroyed (since r4026)
  2009. * Added code to reject double logins in clif_parse_WantToConnection and
  2010. added debug messages to detect possible double logins that escaped.
  2011. * Isolated accounts that are waiting for the quit ack. The rest of the
  2012. game logic no longer has access to them though the id2sd/charid2sd dbs.
  2013. 2007/12/30
  2014. * Fixed get_val2 not using the stack, which automatically frees the data,
  2015. causing memory leaks for string variables since r11976.
  2016. (bugreport:723 , part of bugreport:714 and part of bugreport:708)
  2017. * Trully fixed the previous commits. (missing cast and incomplete size)
  2018. * Made the memory manager set allocated memory to 0xCD and freed memory
  2019. to 0xDD. The memory manager no longer 'hides' uses of freed memory.
  2020. 2007/12/29
  2021. * Fixed two missing @LDFLAGS@ in src/plugins/Makefile.in. [FlavioJS]
  2022. * Implemented THE official Steal skill equation and game mechanics
  2023. (basically version from /stable plus a few tweaks) (see topic:116540)
  2024. * Added missing bAddStealRate reference to doc/item_bonus.txt
  2025. * Removed skill_steal_rate, as it was never used in the code (see r231)
  2026. * Removed skill_steal_type, it's just a one-liner source mod (see r231)
  2027. * Knockback now works through cells where there is a diagonal path, but
  2028. no horizontal+vertical (two 90` icewalls with a gap where they 'join')
  2029. * Some dead code removal in path.c [ultramage]
  2030. 2007/12/28
  2031. * Fixed a memory leak in memitemdata_to_sql.
  2032. * Reverted a bad modification in clif_produceeffect from r11290. [FlavioJS]
  2033. 2007/12/27
  2034. * Removed an incorrect range check and fixed a copypaste typo which
  2035. caused script engine errors / crashes (see r11984)
  2036. * Re-added a missing mob last_thinktime timer initialization when a mob
  2037. spawns, causing mob AI to freeze (mistake in r11964) [ultramage]
  2038. * Changed the configure script:
  2039. - refined the mysql test (wasn't detecting 64 libraries compiled without -m64)
  2040. - added a test for clock_gettime in -lrt (required for Debian)
  2041. * Corrected description of scope and npc variables in script_commands.txt.
  2042. * Made temporary character string variables not have a limited length.
  2043. (now all temporary string variables don't have limited length)
  2044. * Made temporary character variables reuse free positions.
  2045. * Tweeked the declaration and initialization defines for vectors.
  2046. * Made do_sockets leave the for loop as soon as the readable number of
  2047. sockets returned by select is found.
  2048. * Made all posix compliant systems that support it and FreeBSD >= 5.1
  2049. (implements it but doesn't have the posix defines) use the precise and
  2050. consistent tick() implementation.
  2051. * Minor tweek to HEAP_SEARCH (same variable can be used in from and to).
  2052. * Fixed the map server not exiting when make_listen_bind fails and
  2053. returns -1. [FlavioJS]
  2054. 2007/12/26
  2055. * Fixed the incorrect interpretation of the map-cell height information
  2056. stored in .gat files; this was causing an overall of 20000 cells to
  2057. be treated as water when officially they aren't [ultramage]
  2058. * Fixed string variables dereferencing directly to the value instead of
  2059. dereferencing to a copy of the value. (fixes bugreport:684 bugreport:641) [FlavioJS]
  2060. 2007/12/23
  2061. * Added a generic vector implementation (dynamic array) based on defines. [FlavioJS]
  2062. * Fixed horrible handling of skill_abra_db which leads to memory corruption
  2063. (depending on the contents of yor abra_db.txt file) [Skotlex]
  2064. 2007/12/22
  2065. * Fixed droprate overflows when going over rate 2000x [ultramage]
  2066. * Corrected mob spawn utilization of the delay1/delay2 values (one is
  2067. respawn delay base, the second is random variance added on top of it).
  2068. Cleaned up related code. [Skotlex]
  2069. 2007/12/19
  2070. * Fixed yet another buffer overflow, in @adopt [ultramage]
  2071. * Changes to the configure script. [FlavioJS]
  2072. - fixed the 'pointers can be stored in ints' test not working
  2073. - fixed the linker trying to build 64 bit executables with 32 bit code on
  2074. x86_64 (missing -m32 flag in LDFLAGS)
  2075. - made MYSQL_CFLAGS be built from the --include option to be more portable
  2076. - made --with-mysql check if the optional argument is an executable file
  2077. - make --with-pcre check if the optional argument is a directory
  2078. - other minor changes
  2079. * Corrected SC_MIRACLE to trigger Bless of the Stars on all defeated mobs.
  2080. [Skotlex]
  2081. 2007/12/18
  2082. * Fixed a possible buffer overflow in @partyoption [ultramage]
  2083. * Updated respawn time interpretation according to latest kRO update [Playtester]
  2084. - this first time is the "min respawn time"
  2085. - the second time is the "variance" which is added to the "min respawn time"
  2086. * Corrected skill_db reading to properly trim the skill name/descs.
  2087. * Added a mobid_db in map.c to handle mob lookups faster. [Skotlex]
  2088. 2007/12/17
  2089. * Added flag.server to indicate interserver sockets
  2090. - replaces the previous way (setting 'client_addr' to 0)
  2091. 2007/12/14
  2092. * Guardian hp handling code removal (see bugreport:342)
  2093. - removed guardian hp from the castle data structure, database,
  2094. savefiles and various script functions (use upgrade_svn11915.sql)
  2095. - removed guardian hp calculation and manipulation from the castle
  2096. manager npc, now the hp values are updated by the server itself
  2097. (glitch: when castle defense changes, all guardians are healed to full)
  2098. - tweaked script function 'guardianinfo' to provide some data needed
  2099. by the manager npc (currently available are hp, maxhp and visibility);
  2100. also, it doesn't need a player attached to execute
  2101. * Added a precise and consistent tick() function for freebsd [ultramage]
  2102. * Wand of Hermode now dispells buffs only of allies.
  2103. * Fixed some null pointer checks in status_change_end.
  2104. * Corrected a crashy Warning message. [Skotlex]
  2105. 2007/12/13
  2106. * Fixed possible segmentation faults in the script engine.
  2107. - some strings that can be freed outside the script engine were being
  2108. pushed into the stack as constant strings
  2109. * Disabled ers until recent crashes are fixed.
  2110. - ers entries are being corrupted, probably by modifying them after they
  2111. are released or by releasing something else
  2112. * Abstracted the windows socket code so that all fd's are in the range
  2113. [1,FD_SETSIZE[. (bugreport:604)
  2114. - The socket of a fd is forgotten when executing sClose, so things that
  2115. depend on the socket (like sFD_CLR) must be executed before closing.
  2116. * Replaced the fd_set of the short list with a custom implementation
  2117. (works like the linux fd_set). [FlavioJS]
  2118. 2007/12/12
  2119. * Some preparations for the guild script update [ultramage]
  2120. - cleaned up npc event execution code
  2121. - cleaned up guild data loading/saving code; to be improved later
  2122. - removed dummy 'account name' expulsion list management code
  2123. - removed columns 'rsv1' and 'rsv2' from guild member data
  2124. - removed columns 'rsv1' 'rsv2' 'rsv3' and 'acc' from guild expulsion data
  2125. 2007/12/11
  2126. * Added query_logsql script command to perform sql commands using the log
  2127. db connection.
  2128. * Added some new cashitems and headgears.
  2129. 2007/12/10
  2130. * Cleaned up clif_setdisguise and fixed it for PACKETVER>=9.
  2131. * Added missing range/skill-mask info to reflected damage (fixes autospells
  2132. not triggering on it) [Skotlex]
  2133. 2007/12/09
  2134. * Modified npc_parsesrcfile to parse the line as a 'tab-separated values'
  2135. string and added data truncation warnings.
  2136. - enforces a stricter adherence to the format (no multiple tabs)
  2137. - avoids sscanf matching spaces, new lines and carriage returns when '\t'
  2138. is used in the format string
  2139. * Added a generic 'delimiter-separated values' string parser to strlib.c/h. [FlavioJS]
  2140. 2007/12/07
  2141. * Fixed ensembles skills.
  2142. * removed the timer heap correction code when the timers overflow since
  2143. Flavio points out that it is not needed.
  2144. * Modified a bit the changesex code so you get saved and quit before
  2145. changing your sex rather than afterwards.
  2146. * Cleaned up #changesex
  2147. * Signum Crucis now works on bosses. [Skotlex]
  2148. 2007/12/06
  2149. * Removed the attempts to recover from invalid syntax in npc_parsesrcfile
  2150. since they can produce incorrect results (spaces in sscanf can match
  2151. \n's and company).
  2152. * Made script_rid2sd report the script source directly and changed related
  2153. return 1's to return 0's to avoid double script source reports.
  2154. * Added missing return 0's after script_rid2sd is used and an extra error
  2155. message in buildin_set/buildin_setd. [FlavioJS]
  2156. * The default event script behaviour is to trigger on labels rather than
  2157. NPCs now.
  2158. * Removed several script config options which break NPC compatibility when
  2159. you mess with them (event_script_type, event_requires_trigger,
  2160. die_event_name, kill_pc_event_name, kill_mob_event_name, logout_event_name,
  2161. login_event_name, loadmap_event_name, baselvup_event_name,
  2162. joblvup_event_name)
  2163. * LoadMap events no longer set the variable "@maploaded$" to the name of
  2164. the new map. [Skotlex]
  2165. 2007/12/03
  2166. * Fixed a bug on Mail System. Removed the possibility to lost the attachment on
  2167. a Map - Char server disconnection. [Zephyrus]
  2168. 2007/11/29
  2169. * pc_setoption no longer does view_data changes while disguised (as this
  2170. breaks things) [Skotlex]
  2171. * Random cleanup/documentation.
  2172. * Made common/Makefile get the svn version from the src directory, not src/common.
  2173. * Added a warning message to the install and uninstall targets.
  2174. * Renamed all obj directories to obj_all, obj_txt or obj_sql in the
  2175. makefiles (if an obj/ directory exists, BSD make enters it before
  2176. reading the makefile) [FlavioJS]
  2177. * Allowed disguising while riding a peco-peco (this does not seem to cause
  2178. problems anymore).
  2179. * The pvp rank packet is no longer sent to other players when disguised, as
  2180. this leads to crashes when you die.
  2181. * Probably fixed splash damage.
  2182. * Reflected spells no longer cause knockback.
  2183. * SG Blessing skills now grant the extra experience to everyone when the SG
  2184. killed the mob.
  2185. 2007/11/28
  2186. * Applied the required changes to handle def as a signed char (allows for
  2187. negative def)
  2188. * Corrected skill_check_condition to not delete items right away for
  2189. certain skills that do the deletion themselves. Fixes several skills
  2190. consuming items twice.
  2191. * Dispel's success rate is no longer affected by MDEF
  2192. * You are no longer blocked from being warped when standing in a warp while
  2193. in a duel.
  2194. * Duels are now automatically ended when you warp out of the map you are
  2195. in. [Skotlex]
  2196. * Fixed reflected spells bypassing WoE no-knockback restriction, because
  2197. the code allowed that when cast on self; not anymore (bugreport:231)
  2198. * Reverted the position of the max_hp/max_sp basic setting, modified the
  2199. max_hp/max_sp bonuses to use casting in order to work correctly with
  2200. negative bonuses. [Skotlex]
  2201. * Reconstructed a list of all PACKETVER types, by reverse-engineering
  2202. it from places in the code where the define is used [ultramage]
  2203. - recovered PACKETVER 6 which was added in r51, but overwritten by r141,
  2204. one of the dumbest commits that I have seen so far
  2205. - since 6 was the 'new trade window' update, it and its corresponding
  2206. reply packet will now be used from now on instead the old version
  2207. 2007/11/27
  2208. * Added safesnprintf to strlib.c/h (bugreport:372) [FlavioJS]
  2209. * removed login/char server_fd[] arrays, added server[].fd instead
  2210. * TXT/SQL login server code synchronization [ultramage]
  2211. - exported several core structures to login.h
  2212. - split off ladmin communication code from the TXT login server
  2213. - removed all occurences of login_log(); a unified function should be
  2214. added when SQL's loginlog_db logging code gets synced with TXT
  2215. - removed conf setting login_log_filename
  2216. - fixed ladmin getting timeouts since the ping system was changed
  2217. * Moved basic max HP/SP calculation to before parsing equipment, fixes
  2218. negative absolute HP/SP bonuses not working.
  2219. * Corrected the online_data_cleanup routine setting offline characters that
  2220. are still connected to the char-server.
  2221. * Added a check in script command sc_end to properly end infinte endure
  2222. * ASC_BREAKER no longer triggers status effect cards. [Skotlex]
  2223. * Fixed fake_nd not being exported correctly and being unloaded when
  2224. reloading scripts. (probably fixes bugreport:444) [FlavioJS]
  2225. 2007/11/26
  2226. * Normalized makefiles:
  2227. - 3 sections: variables, public targets, private/support targets
  2228. - object files always in a *_OBJ variable
  2229. - header files always in a *_H variable
  2230. - object files always generated to an obj* subfolder
  2231. - all Makefiles can be executed individually, calling other makefiles if necessary
  2232. - generic object targets when possible
  2233. * Fixed buildin_query_sql using Sql_Query instead of Sql_QueryStr,
  2234. wrongly processing all %f,%d,... (fixes bureport:218) [FlavioJS]
  2235. * Fixed guild expulsion not working correctly [ultramage]
  2236. * Fixed a memory leak in mail_savemessage (src\char_sql\int_mail.c). [FlavioJS]
  2237. 2007/11/25
  2238. * Rev. 11804 Giant Fly Wings are now blocked on noteleport maps and duels. [L0ne_W0lf]
  2239. 2007/11/24
  2240. * Fixed a crash when Slim Pitcher is cast
  2241. * Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483)
  2242. * Added support for latest official client/server packet changes [ultramage]
  2243. - enable by setting PACKETVER to 9; note that this breaks older clients
  2244. 2007/11/23
  2245. * Changed the status_change structure to use dynamic rather than static
  2246. memory to hold the individual status changes, this should have a noticeable
  2247. impact on the server's memory consumption. However, since this is a pretty
  2248. large update (and I am unable to fully test all possible situations
  2249. relating to status changes), watch out for any bugs. [Skotlex]
  2250. 2007/11/22
  2251. * Moved the reset of references to after the empty script checks in
  2252. parse_script. (fixes bugreport:222 and bugreport:449)
  2253. * Renamed fakenpcname to setnpcdisplay, fixed and extended it. [FlavioJS]
  2254. - See doc/script_commands.txt for information on how to use it
  2255. * Modified mapserver login procedure to make clients from may 2007
  2256. and newer not crash when entering mapserver (bugreport:468) [ultramage]
  2257. - this changes PACKETVER to 8, causing incompatibility with old clients
  2258. - this makes the "Login" hex obsolete; please stop using it as it
  2259. causes a conflict with this update and may have negative sideeffects
  2260. 2007/11/21
  2261. * Fixed Sql_SetEncoding not setting the encoding of the connection
  2262. properly. (fixes bugreport:30)
  2263. * Added backward compatible target 'conf' to the Makefile. [FlavioJS]
  2264. * Changed Lif's Emergency Avoid to just get a normal skill delay
  2265. (blocks all skills, cancelled by mapchange / re-summon) instead of
  2266. getting a persistent block on only this one skill (bugreport:13)
  2267. * Homunculi now reset their can-act delay on call/resurrect/mapchange
  2268. (allows bypassing delays by doing rest/call instead of relog) [ultramage]
  2269. 2007/11/20
  2270. * Implemented SL_SUPERNOVICE erasing the death record 1% of the casts.
  2271. * Implemented current exp being capped to the exp required to level up from
  2272. the previous level when we are at max level (required for some S. Novice
  2273. buffs) [Skotlex]
  2274. 2007/11/19
  2275. * Nullpo's disabled on release builds.
  2276. * Added timestamps to the log of memory leaks.
  2277. * Moved definition of __func__ to cbasetypes.h.
  2278. * Configure script updated:
  2279. - added option to select the memory manager
  2280. - added option to enable MAPREGSQL
  2281. - added option to enable DEBUG
  2282. * common's Makefile deleting svnversion.h on 'clean' target. [FlavioJS]
  2283. 2007/11/18
  2284. * Implemented a small change that was long overdue: Displaying the
  2285. char-select screen now uses a single SQL query instead of up to 9.
  2286. [Skotlex]
  2287. * Replaced jA's way of allocating npc shop data with a simple dynamic
  2288. array that gets allocated during loading and freed on unload
  2289. - automatically fixes bugreport:404, which would otherwise require
  2290. manipulating the npcname_db (the original author didn't, hence the bug)
  2291. - now a supporting variable 'count' is used for tracking the length
  2292. instead of an extra dummy entry at the end of the shop list
  2293. - partially removed the MAX_SHOPITEM restriction (if this was written
  2294. properly, the system could support an unlimited amount of entries)
  2295. 2007/11/17
  2296. * Removed battle_config.error_log as console_silent already handles this
  2297. * Made OnTouch zone dimensions be stored as radius instead of diameter
  2298. - cleaned up some overly complicated area calculations [ultramage]
  2299. 2007/11/16
  2300. * Added 2 new status changes for Life and Regeneration Potions [Zephyrus]
  2301. - Fixed some items boxes giving wrong tamings.
  2302. - Fixed another item giving 48 gladius[3]
  2303. * Added error messages when trying to place objects on invalid map coords
  2304. * Fixed Divine Protection working against players (bugreport:410)
  2305. 2007/11/15
  2306. * Fixed some homunculus skill offset calculation mistakes (bugreport:363)
  2307. 2007/11/14
  2308. * Fixed skill_castnodex_db.txt not being parsed correctly
  2309. * Fixed a search&replace typo in skill_db.txt
  2310. * Added error reporting for invalid rows in skill db files
  2311. * Added error reporting to buildin_warp when it fails [ultramage]
  2312. 2007/11/13
  2313. * Fixed homunculus skills having unlimited range instead of being
  2314. capped to view_distance+1 (for details see bugreport:376) [ultramage]
  2315. * Fixed @addwarp crashing the map server (bugreport:390). [FlavioJS]
  2316. * The Forget-me-not status now behaves like Decrease AGI [ultramage]
  2317. - doesn't cancel Impressive Riff, Wind Walker, True Sight (bugreport:187)
  2318. - additionally, it doesn't cancel Cart Boost
  2319. * Fixed some bugs on mail system. [Zephyrus]
  2320. - Added the pc_candrop check (bugreport:305)
  2321. - Added picklog to mail.
  2322. - Added INCMDEFRATE status for Mdef potion.
  2323. 2007/11/12
  2324. * Now when job changing to another class tree, status changes from skills
  2325. that belong to your previous class are cleared. [Skotlex]
  2326. * Applied Rayce's improvements to the npc script parser [ultramage]
  2327. * Made on-touch areas work with walking npcs (is somewhat process
  2328. intensive, but people do not really care about that, do they?) [Skotlex]
  2329. * Fixed a bug in r11384 letting you bypass requirements for some skills
  2330. 2007/11/09
  2331. * Expanded weapon_type enum with dual-wield constants (bugreport:384)
  2332. * Replaced several 'int' variables with enums that they represent
  2333. * Re-worked the login-char-map packet spam mechanism
  2334. - mapserver no longer sends entire user list to charserver every
  2335. 10 seconds; similar change done to the char-login connection
  2336. - user count updates are only sent when the value actually changes
  2337. instead of servers polling each other every few seconds
  2338. - the servers now prevent interserver connection timeout explicitly by
  2339. sending ping/ack packet pairs instead of relying on the usercount
  2340. polling to do so; keepalive is sent every 'stall_time'-2 seconds
  2341. * Fixed socket.c checking time() incorrectly (bugreport:394) [ultramage]
  2342. * Added a database iterator to db.c/db.h. [FlavioJS]
  2343. 2007/11/08
  2344. * Changed EXIT_SUCCESS back to 0 in console.c to avoid an unnecessary include.
  2345. * Fixed gm_account_db not being deallocated in login-converter.c.
  2346. * Refactoring names and documentation in db.h/db.c: [FlavioJS]
  2347. - changed 'struct dbt' to 'struct DBMap' and 'DB' to 'DBMap*'
  2348. - changed 'struct db' to 'struct DBMap_impl' and 'DB_impl' to 'DBMap_impl*'
  2349. - changed COUNT to DB_COUNTSTAT and made it's existence not depend on DB_ENABLE_STATS
  2350. - removed some @see links and corrected small typos in the documentation
  2351. * Fixed a glitch where all packets immediately after the map->char
  2352. login packet would get discarded and the mapserver disconnected
  2353. * Synced charserver char creation creation code [ultramage]
  2354. - removed most of the creation failure messages printed to console
  2355. - fixed sql charserver letting you use control chars in char names
  2356. - new chars will not start with the 'Knife' and 'Cotton Shirt' equipped
  2357. anymore (charserver blindly placed magic values into the equip field)
  2358. * Updated configure script: [FlavioJS]
  2359. - small correction to the help text of --with-mysql and --with-pcre
  2360. - added the -Wno-switch compiler option to suppress the
  2361. "enumeration value '%s' not handled in switch" warnings
  2362. * Added a new setting 'guild_skill_relog_delay' to activate the guild skills delay
  2363. on Guild Master relog. [Zephyrus]
  2364. 2007/11/07
  2365. * Some updates on the mail system packets [Zephyrus]
  2366. - Corrected the mail database structure on main.sql
  2367. - Added separated packets for get and set attachment on mail system.
  2368. 2007/11/06
  2369. * Fixed a crash caused by a mistake in the previous change
  2370. 2007/11/05
  2371. * Changed skill db loading code to work similarly to how itemdb/mobdb
  2372. is loaded (generic file loader + specialized function to process rows)
  2373. - all skill db files are now checked for inconsistencies the same way
  2374. * Corrected the max. allowed skill name length, and optimized code that
  2375. works with skill names according to latest changes [ultramage]
  2376. * Reverted official drop rate estimation [Playtester]
  2377. - although it really exists we don't have enough information about it
  2378. - if server owners really want it they can implement it themselves
  2379. (it's just a one-line fix anyways)
  2380. * Cleaned up skill db lookup code
  2381. - added some well-behaved functions to replace macros (skill_get_index)
  2382. - used skill_get_index() to replace often occuring blocks of code
  2383. that did the skill_id -> skilldb_index calculation in-line
  2384. * Corrected skill db loading code which was using a totally wrong
  2385. column count in sevreal cases (or didn't do any checks at all)
  2386. * Changed the skill_db.txt skill names in comments into actual columns,
  2387. now the server reads these instead of a hardcoded array [ultramage]
  2388. 2007/11/04
  2389. * Implemented official drop rate estimation [Playtester]
  2390. - estimation is rounded on 2 positions after decimal point
  2391. - this will effectively raise drop rates below 10% by 0.01%
  2392. 2007/11/03
  2393. * Added jA script function 'strnpcinfo', for increased npc awareness
  2394. 2007/11/02
  2395. * Fixed one wrong return value in buildin_getcharid (bugreport:33)
  2396. * Removed the big list of BUILDIN_FUNC() declarations in script.c,
  2397. as they are not needed anymore and no code utilizes them
  2398. * Moved the BUILDIN_DEF() block to the end of script.c [ultramage]
  2399. * Modified trap related code so it behaves as explained by Playtester:
  2400. Traps trigger on everyone in their 'effect range' (skill_db's splash) for
  2401. every target that lies within its trigger range at trigger time (range and
  2402. interval in the skill_unit_db). [Skotlex]
  2403. 2007/11/01
  2404. * Removed code that queues OnAgitEliminate after the Emperium is broken,
  2405. this is now done properly by the gvg script instead [ultramage]
  2406. - if you have any extra castles, update your scripts accordingly
  2407. 2007/10/31
  2408. * Added names to the SC_ and SI_ enums, now they can be used to properly
  2409. indicate where such values are to be used (replaces usage of 'int')
  2410. * removed MIN_/MAX_PORTAL_MEMO, set MAX_MEMOPOINTS from 10 to 3
  2411. * removed support for @go-ing to your memo points
  2412. * simplified the overly verbose @memo command; now re-uses pc_memo()
  2413. * cleaned up pc_memo(), now uses semi-correct packet replies
  2414. * Minor code cleaning/formatting [ultramage]
  2415. * Updated several mapflags - 'nomemo' 'noteleport' 'nosave' 'nowarpto'
  2416. 'restricted' - due to Izlude Battle Arena release. [SinSloth]
  2417. - Updated 'item_noequip' and 'skill_nocast_db' to match with 'restricted' mapflags.
  2418. 2007/10/29
  2419. * Updated the mail db structure on main.sql [Zephyrus]
  2420. * Makefile creating the conf/import forder. [FlavioJS]
  2421. * command code cleaning (refer to topic:169759) [ultramage]
  2422. - separated the execution part of command code into interface part
  2423. and internal part to better see which checks are done and when
  2424. (fixes problem where 'nocommand' mapflag blocked server npcs)
  2425. - moved the internal commands list (array) to the end of the file,
  2426. this let me discard that long block of ACMD_FUNC() declarations
  2427. - removed enum AtCommandType from command headers and commands array;
  2428. its purpose was perhaps to identify aliased commands, but apparently
  2429. it was never finished because the rest of the code doesn't use it
  2430. (also doing aliases like this is not a very good idea)
  2431. - internally, commands are now referenced to using their function name
  2432. - removed the @/# symbols from the command lists; all lookup functions
  2433. will now properly deal with strings with- and without a command symbol
  2434. (commands interface still requires the symbol tho', so TODO for later)
  2435. - removed several unneeded commands (*id2 code, dmalloc debug commands)
  2436. - reverted atcommand config from alphabetically-sorted to how it was
  2437. before (with additional fixes; see /conf changelog)
  2438. - added missing code for #dropall / #storeall
  2439. - added a warning when trying to set gm level of an undefined command
  2440. * The structure of the commands table has changed, please adjust
  2441. docs/guides to match the new format (sorry for the inconvenience)
  2442. 2007/10/28
  2443. * Minor adjustment to take into account the end of line.
  2444. * Fixed the line count in the new error message of npc_parse_function.
  2445. * Restricted more the parsing of npc code. (fixes bugreport:317) [FlavioJS]
  2446. * Fixed a bug sending on the attachment message [Zephyrus]
  2447. 2007/10/27
  2448. * Fixed a typo in r11505 messing up the 'npcmove' command
  2449. * Removed 'petid', a command from r284 to look up pet ids by name
  2450. * Fixed TXT charserver doing periodic random-sized alloc (bugreport:312)
  2451. * Set 'Create Converter's produce success rate to 100% (bugreport:302)
  2452. * Added check that verifies weapon/ammo/state requirements also when
  2453. casting finishes (might have unwanted side-effects!) (bugreport:228)
  2454. * Fixed Firewall knocking back undead/fire element mobs (bug in r11578)
  2455. * Added dummy 'openmail' to txt server to fix a script error message
  2456. * Improvements/fixes to the mail system improvements :) [ultramage]
  2457. * Improvements to the mail system. Need Testing, [Zephyrus]
  2458. 2007/10/26
  2459. * Moved the new novending cell check from the internal code to the
  2460. client-server interface (allows server to force-open shop if needed)
  2461. * Removed confusing map_nick2sd_nocase(), let the charserver handle it
  2462. * Added correct packet for attachment retrieval failure when overweight
  2463. * Fixed one more mistake in r11571 (Sql->SqlStmt) [ultramage]
  2464. * Removed the config setting firewall_hits_on_undead setting, Firewall and
  2465. kaensin now automatically calculate the number of hits they should do per
  2466. iteration based on the skill trigger frequency (you may want to raise that
  2467. delay of 1ms in the db, though). [Skotlex]
  2468. 2007/10/24
  2469. * Corrected a fex misshaps from r11571:
  2470. - disabling the memory manager
  2471. - using the wrong length for the title and body in mail_savemessage
  2472. * Removed the quick-fix in the npc duplicate check and the impossible condition
  2473. that is generating the warning. [FlavioJS]
  2474. * @/#jobchange no longer strips your equipment since pc_jobchange removes
  2475. any unequippables already.
  2476. * Removed the wasteful define MAX_PC_CLASS and replaced it by the
  2477. CLASS_COUNT define + pc_class2idx function. This should save a bunch of
  2478. memory from the map server.
  2479. * Merged the CELL_NOVENDING code (see topic #129209) [Skotlex]
  2480. * Increased the max. send buffer size to 5M since 1M is not enough
  2481. * Updated vs7 and vs6 project files
  2482. * Added upgrade_svn11548.sql to convert the mail table to new format
  2483. * Cleaned up the mail code, no more pointless dynamic allocation
  2484. * Cleaned up some messy guild code (more to come) [ultramage]
  2485. 2007/10/23
  2486. * Fixed a compilation bug on linux (FALSE -> false) [Zephyrus]
  2487. 2007/10/22
  2488. * Heat isn't supposed to consume SP when used against players [Playtester]
  2489. - please report if it still consumes SP in pvp
  2490. * Added the new mail system implementation (Requires more test and
  2491. optimizations) [Zephyrus]
  2492. - Updated the mail DB structure.
  2493. * Removed some mail config settings and atcommands not required anymore.
  2494. - Added documentation for script commands: openmail and homshuffle.
  2495. 2007/10/21
  2496. * Fixed a small mistake in r11503 causing a fatal error&exit on unix
  2497. when you try to do a graceful exit (by ctrl+c for example) [ultramage]
  2498. * Removed SC_INCAGIRATE/SC_INCDEXRATE as they are not used anymore.
  2499. * Added SC_INCASPDRATE, SC_INCFLEE2, SC_INCCRI, SC_INCDEF, SC_INCBASEATK
  2500. and SC_FASTCAST as these are required by the newer items. [Skotlex]
  2501. 2007/10/20
  2502. * Fixed 'unequip' removing items in the wrong position (bugreport:252)
  2503. * Fixed #refine unequpping the caller's item by mistake (bugreport:265)
  2504. * Fixed a nasty bug from r11410 which let people create chars with
  2505. already taken char names, and (in TXT's case) even cause a crash.
  2506. - Bug was a variable name collision between the total number of chars
  2507. and a char's slot number (both were called 'char_num'). [ultramage]
  2508. * Some more updates to the skill unit code [Playtester]
  2509. - renamed SKILLUNITTIMER_INVERVAL to SKILLUNITTIMER_INTERVAL
  2510. - Heat now depends on the interval settings rather than firewall_hits_on_undead
  2511. - Icewall doesn't break anymore when the SKILLUNITTIMER_INTERVAL gets changed
  2512. 2007/10/19
  2513. * Added bonusautoscript and bonusautoscript2. These are used to attach a
  2514. script to a player which gets executed on attack (or when attacked). This
  2515. is very similar to the autospell bonuses, except that a script is executed
  2516. instead of a spell. See doc/script_commands for indepth description and
  2517. usage. NOTE that I am unable to test ingame, and even though I proofread
  2518. the code it could have bugs. Feel free to test and report. [Skotlex]
  2519. * Applied some cleanups that should correct "Infinite Endure" ending
  2520. sometimes. [Skotlex]
  2521. 2007/10/18
  2522. * Rev. 11516 Uncommented the showwarning and showdebug from 11508. [L0ne_W0lf]
  2523. * Fixed the incorrect map names on the debug messages (mapid->mapindex
  2524. mishap from r11508).
  2525. * Fixed the incorrect reporting of npc names being too long when the the
  2526. length is 24 (from r11508). [FlavioJS]
  2527. * Rev. 11511 Commented out ShowWarning and ShowDebug messages added [L0ne_W0lf]
  2528. in revision 11508. Aside from the ShowDebug being faulty, they
  2529. are both fare too annoying for public use for the time being.
  2530. If/when I get the NPC names fixed, we can add it back.
  2531. * Further optimization of the skill unit code [Playtester]
  2532. - removed code for Crimson Fire Formation it now uses the same code as Fire Wall
  2533. - added same knockback behavior as Fire Wall for Fire Formation
  2534. - Heat now does 50 hits a second in pvp too
  2535. - please let me know of any bugs that might appear
  2536. * Optimized the skill unit code [Playtester]
  2537. - reverted the unit timer interval to 100ms to save CPU usage
  2538. - rewrote the unit code of Fire Wall, Fire Formation and Heat so that they hit
  2539. every 20ms if the target wasn't knocked back despite of the unit timer interval
  2540. - Heat now does 15 SP damage to players instead of 60 per hit
  2541. - optimized memory usage
  2542. - TODO: Renaming or removing firewall_hits_on_undead config
  2543. * Clarified how npc names work in script_commands.txt.
  2544. * Fixed a forgotten "return 0;" that stopped the parsing of the file
  2545. after the first "script" of the file is parsed sucessfully (caused by r11502).
  2546. * Applied the same parsing and restrictions of npc names to warps, duplicates
  2547. and shops (other code expects unique names for them too). [FlavioJS]
  2548. * Applied the new checking function to clif code, this fixes various
  2549. length mismatches caused by incomplete code in r11386
  2550. * Added clif_process_message(), an unified way to validate all four
  2551. types of player message packets and retrieve their components
  2552. * Removed the requirement to provide a character name in the message
  2553. string when calling is_atcommand() (needed for the previous fix)
  2554. - currently both ways work, but old will be removed in the upcoming
  2555. command cleanup so please adjust your custom code if you use this!
  2556. * Merged improved/cleaned up (WiP) code for clif_parse_WisMessage
  2557. * Removed commented-out code for check_fake_id() [ultramage]
  2558. 2007/10/17
  2559. * Removed outdated copyright and version number from startup logo
  2560. * Removed socket code that attempts to cope with code bugs at runtime
  2561. * client_addr will now be properly set to 0 for server connections
  2562. * Fixed subnet check message displaying incorrect ip addresses
  2563. * Merged do_sendrecv() and do_parse() into do_sockets() [ultramage]
  2564. * Reworked the parsing at npc.c.
  2565. - Fixes npc.c discarding the '}' at the end of file, when there is no
  2566. newline. (uncovered as a side-effect of r11487)
  2567. * Empty script functions always have code now (won't report as missing
  2568. when you try to call them).
  2569. * Changed userfunc_db to not limit the name to 50 characters. [FlavioJS]
  2570. * Ground skill now can trigger every 20ms [Playtester]
  2571. - Firewall, Fire Formation and Heat now can do 50 hits a second
  2572. - this was proven to be official behavior, but it will raise CPU usage
  2573. * small timer.c cleaning
  2574. - removed "with less than 4 values, it's speedier to use a simple loop"
  2575. as this case will never occur (premature optimization from r1284)
  2576. 2007/10/16
  2577. * Venom Splasher fixes according to bugreport:230
  2578. - added passive skillv*30% bonus from Poison React
  2579. - added official splash damage calculation - damage gets split by the
  2580. number of targets at range 1, then applied to all targets in range 2
  2581. - reverted some very old code - clif_calc_delay() - that was preventing
  2582. skills from displaying properly, by erroneously assuming that
  2583. if the target has ddelay 0, it has endure effect activated
  2584. * Fixed displaying of several splash skills (see bugreport:238)
  2585. - added flag SD_PREAMBLE for skills that need the 'magic' packet
  2586. (fixes Grimtooth / Cart Revolution displaying out of sync)
  2587. - hacked together Venom Splasher's "no animation for central mob"
  2588. - hacked in a custom packet to make Dragonfear display semi-correctly
  2589. * Made Venom Splasher a splash attack that distributes damage
  2590. * Commented out clif_skill_damage2() as it is not used anymore
  2591. * Fixed a copy-paste mistake in disguise code (from r5833) [ultramage]
  2592. * Tweaked the loop in parse_script to better handle when the outer
  2593. brackets aren't checked.
  2594. * Fixed a typo in skip_space that stopped skipping characters when it
  2595. encountered a '*' or '/' in a block comment. [FlavioJS]
  2596. 2007/10/15
  2597. * Fixed NPC_CRITICALWOUND to reduce heal by 20% per level [Playtester]
  2598. * Fixing TK Mission asigning non spawning mobs. [Zephyrus]
  2599. * Updated the item price/sell reading code to enable 'null' values. The
  2600. difference between a blank value and 0 is that when the value is blank, it
  2601. should automatically take half/double the other value. The previous
  2602. behaviour did this automatically and didn't let you specify, for example,
  2603. if you wanted a given item to sell for 0.
  2604. * Also added a warning when an item in the db has an exploitable price
  2605. (through overcharge/discount). [Skotlex]
  2606. 2007/10/14
  2607. * Rev. 11476 Implemented new skill "Enlarge Weight Limit R", [L0ne_W0lf]
  2608. and increased MAX_SKILL_TREE by 1.
  2609. * Fixed charsrever crashes, caused by r11410 [ultramage]
  2610. 2007/10/13
  2611. * Fixed up NPC_POWERUP and NPC_AGIUP [Playtester]
  2612. - NPC_POWERUP: 3x ATK and 2x HIT for 10+5*level seconds
  2613. - NPC_AGIUP: 2x MOVE and 2x FLEE for 10+5*level seconds
  2614. * Some further changes to the delayfix function [Playtester]
  2615. - aftercast delay is at least amotion no matter what skill
  2616. (this includes skills with cast time AND skills with skill delay!)
  2617. - aftercast delay reductions can NEVER reduce the aftercast delay below amotion
  2618. (this includes Bragi and Soul Links)
  2619. * Again modified the delayfix function to reflect the current skill delay
  2620. knowledge. Skills with 0 delay use amotion always (regardless of cast
  2621. times) [Skotlex]
  2622. 2007/10/12
  2623. * Further updates to skill_delayfix function [Playtester]
  2624. - aftercast delay can never be lower than amotion
  2625. - please report if this broke any skills
  2626. * Fixed wrong index calculation in TXT char creation code (ref: r11410)
  2627. * Fixed SQL itemdb loading crash on NULL column (ref: 11398) [ultramage]
  2628. * Updated the skill_delayfix function to behave as recently discovered by
  2629. Tharis: Skills with no delay set will use amotion ONLY if the skill was
  2630. instant-casted. [Skotlex]
  2631. * Fixed Bragi's aftercast delay reduction [Playtester]
  2632. 2007/10/10
  2633. * Fixed itemdb_read_sqldb blowing up the server with segmentation faults.
  2634. * Added an option for parse_script to ignore the checks for the set of
  2635. brackets around the script. [FlavioJS]
  2636. * Implemented more official Warp Portal behavior
  2637. - the transition from active to waiting mode is now done as a simple
  2638. appearance change instead of deleting one and creating the other
  2639. - due to the above, an opening warp is now properly accompanied by
  2640. the log-in like sound effect
  2641. - Removed the check that prevented Warp Portal from opening after you
  2642. picked the destination, if there was someone blocking the cell
  2643. * Re-enabled packet 0x1ac to be sent when something gets ankle-snared
  2644. * Partially removed the usage of 'flags' to direct the execution path
  2645. in skill unit code (some people seem to really like flags >_>)
  2646. - wiped out r8478 and its multiple levels of useless flag propagation
  2647. - skill_unit_onlimit (expiration) no longer executes in skill_delunit
  2648. - added skill_unit_ondelete for proper handling of this event
  2649. * Removed 'into_abyss' effect on traps; tests show that it works ONLY
  2650. for Gemstones (tho' iRO website claims otherwise) - bugreport:171
  2651. - corrected code that was exploiting the flag as an 'expired' trap flag
  2652. (replaced it with a more jAthena-ish approach)
  2653. * Fixed a messup in r11347 causing skill units to expire, trigger
  2654. or not trigger, completely randomly
  2655. 2007/10/09
  2656. * Added upgrade_svn11388.sql to correct some log column widths
  2657. * Corrected string lengths according to bugreport:198 [ultramage]
  2658. - CHATBOX_SIZE: 70 -> 70+1
  2659. - removed some too aggressive checks in clif_parse_globalmessage()
  2660. - removed CHAT_SIZE define as it actually doesn't apply anywhere
  2661. - added CHAT_SIZE_MAX to serve as a custom limit to input string lengths
  2662. 2007/10/08
  2663. * Delayed the check for required items when a skill is cast to when they
  2664. are consumed. Now skills only fail due to lack of items after being cast.
  2665. - Please make a bug report if you know of any skill that doesn't work
  2666. like this in official.
  2667. * Fixed hp of other party members not being sent when you join a party.
  2668. * Removed unused global array names_id and renamed some structures that
  2669. are used with variables of the same name. [FlavioJS]
  2670. 2007/10/07
  2671. * Fixed a bug on sql char server not checking the namelength of a new
  2672. character. Bug ID #184: Char Creation With An Empty Name [Zephyrus]
  2673. 2007/10/06
  2674. * the mapserver won't exit when no mapcache is found, with use_grf: yes
  2675. * Fixed some \r uses, now looks better; /thx to Ai4rei (topic:165952)
  2676. * Removed that ridiculous spinner that displays during map/npc loading
  2677. - and added a more informative progress indicator (idea from jA/eapp)
  2678. * Removed loads of code that supported these functions
  2679. - -230b per npc => -3MB of wasted memory
  2680. * Fixed related npcs that erroneously used 'stoptimer'
  2681. * Checked/fixed/removed some old script and npc commands
  2682. + cmdothernpc
  2683. - a specialized 'donpcevent' with the event specified as two arguments
  2684. + enablearena/disablearena
  2685. - completely equivalent to enablewaitingroomevent & co.
  2686. - do we need these 'synonyms' ?
  2687. + inittimer/stoptimer
  2688. - removed since its logic was incompatible with the code it depended on
  2689. 2007/10/05
  2690. * REALLY fixed emblem not displaying when a char logs in
  2691. (compromise between r10624 and r11033 that hopefully works)
  2692. * Fixed 'Wink of Charm' - shouldn't work on boss mobs (topic:166115)
  2693. * Removed a broken remnant of code from old gospel code (r4349) that's
  2694. _supposed_ to clear the gospel status (no item use?) when you step
  2695. out of its zone; 1) the constant UNT_GOSPEL was used in a switch()
  2696. instead of PA_GOSPEL (thus actually ending 'NPC_STUNATTACK' status),
  2697. and 2) this code path is never taken, because Gospel is not recorded
  2698. in skill_unit_temp[] (it has a periodic timer and is not DUALMODE)
  2699. * Now the first empty spot in the 'skill_unit_temp' array will be used
  2700. when tracking movement between land skills; reduced its length to 20
  2701. * Fixed the skill unit mechanism that is supposed to track whether
  2702. you're still standing in a certain land skill's AoE or not, which
  2703. was not working correctly since the time it was added (r3133)
  2704. - solves the nasty problem of Loki, Quagmire, ... status not ending
  2705. even after stepping out of it in some cases, if there was another
  2706. song overlapping the skill's area (fixes bugreport:34) [ultramage]
  2707. 2007/10/04
  2708. * Completed the SC_LIFEINSURANCE status and it's status icon. [Zephyrus]
  2709. - Updated Item_db.txt.
  2710. * Added SC_EXPBOOST (Field Manual), SC_ITEMBOOST (Bubble Gum) to const.txt.
  2711. Allready working [Zephyrus]
  2712. - Added SC_LIFEINSURANCE and SC_BOSSMAPINFO (not implemented)
  2713. - Updated Field Manual and Bubble Gum in the itemdb.txt file.
  2714. - As L0ne Wolf reported to me and based on Doddler information, the Bubble Gum
  2715. only do a second try of the item drop, and it don't increase the drop rates.
  2716. * Fixed a mistake in r10919 messing up logged values (bugreport:167)
  2717. * Added code that compacts the vending list after a purchase; fixes
  2718. the problem with empty positions appearing in the list (bugreport:168)
  2719. * Corrected Icewall skill to be closer to official behavior
  2720. - now works on occupied squares (previously it disappeared)
  2721. - now you can walk out of an icewall square (removed code that blocked
  2722. pathfinding if the origin cell was of a nonwalkable type)
  2723. - added back the hack where mapcell changes are broadcast to whole map
  2724. (prevents client from leaving the cells non-walkable if you warp away)
  2725. * Removed integer mob skill state/target definition support (unused)
  2726. * Added script source error reporting to countitem() (topic:167165)
  2727. * Fixed a compile problem when hotkey saving is disabled (topic:167265)
  2728. * Added MAX_HOTKEYS to supplement the HOTKEY_SAVING define [ultramage]
  2729. 2007/10/03
  2730. * Added the code for Bubble Gum (SC_BONUSDROP) and Field Manual
  2731. (SC_BONUSEXP). items updated as it supose to work. [zephyrus]
  2732. * Cleaned up parts of skill.c related to skill units [ultramage]
  2733. - removed some nonsense code in skill_dance_switch() (from r8876)
  2734. - removed 'security system to prevent forgetting timer removal' (r1213)
  2735. - renamed some skill-related data structs (had same name as variables)
  2736. - commented out custom Venom Splasher countdown messaging code
  2737. * Bosses now can use teleport on Land Protector [Playtester]
  2738. - Moved the homunculus shuffle code to mercenary.c, fixing the bug in the
  2739. atcommand not using the bonus evolution stats for homunculus.
  2740. - Adding a new script command "homshuffle" to fix homunculus using NPCs.
  2741. 2007/10/01
  2742. * Fixed various trading/vending glitches [ultramage]
  2743. - fixed vending_tax not working at all (integer division in r10182)
  2744. - undid change from r8273 where pc_getzeny() treated zeny overflow as
  2745. an error condition; officially, the value is just bounded to MAX_ZENY
  2746. (this fixes stuff like shops that you can't buy items from).
  2747. - fixed stupid code that, instead of properly checking and filtering
  2748. invalid items during shop setup, opted to 'hide' these items from
  2749. the vending list instead...
  2750. - removed some custom error message packets related to vending
  2751. - fixed a glitch where the server would open a shop with no items
  2752. when all entered items were tagged as invalid
  2753. - split zeny handling from trade_tradeadditem() into a separate func
  2754. - removed loads of redundant code from vending.c
  2755. 2007/09/30
  2756. * Removed redundant 'subnet' s_subnet structure variable. [ultramage]
  2757. 2007/09/28
  2758. * Changed back the query to get the friends of a character to a LEFT JOIN.
  2759. * Setting the item script variables to NULL when they are freed. (bugreport:142 ?)
  2760. (a double @reloaditemdb might result in a double free) [FlavioJS]
  2761. * Rev. 11325 Corrected Summer Outfit not included as a PC class. (Zephyrus_CR) [L0ne_W0lf]
  2762. * Rev. 11321 Implemented Summer Outfit care of Zephyrus_CR. [L0ne_W0lf]
  2763. - Increased MAX_GUILDCASTLE in mmo.h to 29 for future implementation
  2764. of the 12.1 Guild Castles.
  2765. * Fixed sql target not including the save target in the Makefile, needed
  2766. by the map server for save/mapreg.txt. (bugreport:131) [FlavioJS]
  2767. 2007/09/27
  2768. * Loot code using charid's instead of id's in pick priority.
  2769. * configure script using svn:eol-style LF and require mysql/pcre when
  2770. --with-mysql/pcre is used.
  2771. * Reimplemented mmo_char_fromsql using sql statements. (fixes bugreport:93)
  2772. * Fixed buildin_gethominfo not being included in the script engine. (bugreport:124)
  2773. * homunculus_evolution -> homevolution in script_commands.txt.
  2774. * Deleted item DEFAULT from item_db.txt and regenerated item_db.sql. (bugreport:103)
  2775. * Skip empty lines and give more feedback (for invalid lines) when reading
  2776. item_db.txt/item_db2.txt. [FlavioJS]
  2777. 2007/09/26
  2778. * Rev. 11307 Implemented Token of Siegfried effect care of Zephyrus_CR. [L0ne_W0lf]
  2779. 2007/09/25
  2780. * Modified a bit the hard/lazy ai triggers to match aegis (you can alter
  2781. these changing the defines near the beginning of mob.c):
  2782. - Mobs go into active AI when they are 2 cells from entering a player's
  2783. view (ACTIVE_AI_RANGE)
  2784. - Mobs in passive AI no longer use skills.
  2785. - Mobs in passive AI do not random walk UNLESS they have entered active AI
  2786. before (random walk frequency is not lost during passive AI).
  2787. * Added an additional check to prevent support skills from being blocked if
  2788. the target has an armor element that blocks it. [Skotlex]
  2789. * Fixed the double free's caused by r11290 (wrong option in the database
  2790. constructors). [FlavioJS]
  2791. * Corrected being able to cast multiple Gravitation Fields before the
  2792. previous one is cancelled. [Skotlex]
  2793. * Disabled tick cache (to enable it: define TICK_CACHE to the number of
  2794. calls that should be cached).
  2795. * Added a charid2sd database for fast charid searches.
  2796. * Reworked the nick cache to only contain offline characters. [FlavioJS]
  2797. 2007/09/24
  2798. * Ignore %MDef bonuses now only reduce target's base MDEF, not MDEF2.
  2799. * Updated the 'skills that cause no damage are blocked now if the skill
  2800. element is blocked by the target' to only apply if the skill has a status
  2801. change associated (fixes Resurrection/Heal being blocked).
  2802. * Added a warning to prevent loading mobs with IDs that belong to the clone
  2803. range. [Skotlex]
  2804. * Limited manual detection of data truncation to string/enum/blob columns.
  2805. * Renamed conf-tmpl to conf. [FlavioJS]
  2806. 2007/09/23
  2807. * Added flag svn:executable to the configure script.
  2808. * Added code for MySQL versions (below 5.0) that don't have
  2809. MYSQL_DATA_TRUNCATED.
  2810. * map_addflooritem and struct item_drop_list using id's instead of
  2811. struct map_session_data's (fixes bugreport:36).
  2812. * Fixed buildin_escape_sql not properly escaping in sql servers. [FlavioJS]
  2813. 2007/09/22
  2814. * Fixed a severe bug in inventory saving code (caused by r11192)
  2815. * Applied changes to clif_parse_globalmessage() from my WiP code
  2816. - clearer processing of the individual packet components
  2817. - proper code ordering, some more integrity checks
  2818. - fixes to some poorly chosen ShowWarning() format strings
  2819. - global chat logging no longer logs the entire string (w/ player name)
  2820. * Fixed global chat logging always crashing on a null pointer
  2821. * Added 'safestrnlen' to prevent null pointer crashes [ultramage]
  2822. * Updated sql files [Playtester]
  2823. * Added a sanity check for MAX_ZENY (doesn't compile if too big).
  2824. * Redid the buildin_query_sql function. (fixes bugreport:81). [FlavioJS]
  2825. 2007/09/21
  2826. * itemdb.c/h using a static array of 32k struct item_data* entries (faster
  2827. itemdb loockup and a first step to remove map_session_data->inventory_data).
  2828. * Fixed a typo in the configure script that replaced CFLAGS with CPPFLAGS
  2829. when -Wno-pointer-sign is supported by the compiler. [FlavioJS]
  2830. * Fixed a typo in the status-change saving code (wrong variable used)
  2831. * Fixed a case of bad sql code conversion breaking homun skill loading
  2832. * Corrected skill Charge Attack as described in bugreport:67 [ultramage]
  2833. - cast time is between 100% and 300% (+ infinite waiting fixed)
  2834. - damage is also between 100% and 300% (doesn't increase past range 9)
  2835. - added knockback that's equal to the distance to target
  2836. - no longer causes teleportation on WoE grounds
  2837. - if target runs behind an obstacle, the skill will still teleport you,
  2838. but will not perform the attack or do knockback
  2839. - this should be official behavior, so enjoy the weirdness!
  2840. * Makefile deleting .svn in save folder.
  2841. * Limited the number of packets parsed per cycle to 3.
  2842. * Fixed sql login throwing an out-of-place debug message and escaping too
  2843. much of the name string when creating a new login with _M/F.
  2844. * Configure script detects 64bit distributions of MySQL.
  2845. * Generated the configure script with cygwin's autoconf. [FlavioJS]
  2846. 2007/09/20
  2847. * Merged the tmpsql branch: [FlavioJS]
  2848. - Abstraction for the sql code (sql.c/h).
  2849. - New configure script and makefiles.
  2850. - Restored txt zeny logging code. (r10814)
  2851. - Rewrote mapserver's sql code - itemdb, mobdb, mapreg, logs. (r10814)
  2852. - Fixed a precedence issue (&& and ) in char_sql/char.c. (r10833)
  2853. - Improved db reading code a bit for consistency. (r11077)
  2854. - Added separate atcommand for mail deletion. (r11077)
  2855. - Corrected a few messages that said "new" instead of "unread". (r11077)
  2856. - Broadcast (*) messages now use "*" as the target's name (not ""). (r11077)
  2857. - Moved StringBuf code from utils.c/h to strlib.c/h. (r11084 r11117)
  2858. - Some misc login server cleanups (reformatting etc). (r11136)
  2859. - Corrected/modified some header entries. (r11141 r11147 11148)
  2860. - Adjusted VS project files. (r11147)
  2861. - Adjusted the way the sql charserver does item saving. (r11192)
  2862. - Corrected usage of reserved keyword 'friend' in mmo.h. (r11192)
  2863. 2007/09/17
  2864. * Several skills with a splash area (except ground based ones) will now hit
  2865. Ice-walls when casted by mobs.
  2866. * Cleaned up and fixed monster_ai&0x40 (chase through warps). It works
  2867. correctly now regardless of the number of players on the source/destination
  2868. maps.
  2869. * Updated sql files [Playtester]
  2870. * Applied various crash-protections to script commands that deal with the
  2871. equip-position array.
  2872. * Corrected and simplified the skill_magic_reflect function. Fixed damage
  2873. reflection being based on the caster rather than the target.
  2874. * Potions are now usable inside Gospel by the casting Paladin (as per Aegis
  2875. tests done by AuronX)
  2876. 2007/09/14
  2877. * Some changes brought up by AuronX (see topics 160295 and 149176):
  2878. * Gravitional Field is now a MISC type of attack.
  2879. * Magic reflection now effectively switches the caster/target (after damage
  2880. has been calculated). Moved magic return and Magic Mirror code together
  2881. with Kaite.
  2882. * Now when GTB completely blocks a spell, the spell animation will still
  2883. come off, but with a single bolt and MISS damage.
  2884. * Removed hom_setting&0x2 since Homunculus can be hit by land spells.
  2885. * Monster Property now gives a Skill Failed message when attempted on
  2886. players.
  2887. 2007/09/13
  2888. * Corrected SG Miracle to trigger per attack, not per walked tile. Trigger
  2889. rate is now 0.02%
  2890. * Corrected the warmth skills not clearing up correctly the previous field
  2891. when you place another one down.
  2892. * Corrected vit not affecting the HP bonus that Super Novices, Ninjas and
  2893. Gunslingers get. [Skotlex]
  2894. 2007/09/12
  2895. * Fixed a typo in r11179 causing party invitation to fail
  2896. * Added SI_STEELBODY properly (value from packet capture) [ultramage]
  2897. 2007/09/10
  2898. * Corrected /invite letting you invite people even if you are not the party
  2899. leader.
  2900. * Added some reply messages when you try /invite and a. the character is
  2901. not found or b. you are not the party leader.
  2902. * Added a check so that the 'save on crash' routine won't get stuck if it
  2903. happens to crash while attempting to save characters.
  2904. * People in chat-rooms no longer receive @main messages. [Skotlex]
  2905. 2007/09/10
  2906. * Added a safeguard to skill_get_unit_layout() against incorrectly
  2907. defined layout ids (will give weird results but won't crash at least)
  2908. * Fixed Firewall/Icewall being oriented backwards (no real difference..)
  2909. * Removed some junk Landprotector/Graffiti code
  2910. - Graffiti doesn't get placed randomly anymore
  2911. * Icewall can now be cast on yourself
  2912. - TODO: for some reason, the cell on yourself immediately expires...
  2913. * Merged together functions clif_set0192() and clif_changemapcell()
  2914. - also removed its "send to whole map" mode which is just plain wrong
  2915. (although aegis actually does use it to 'inform' caster about changes)
  2916. * Added config option to adjust exp gained by 'getexp' [ultramage]
  2917. 2007/09/09
  2918. * Removed bonus bAddEffWhenHitShort as it is unneeded and unused.
  2919. * Corrected getpetinfo so it actually returns "null" when there's no pet
  2920. and you request the name (the docs state it so).
  2921. * Added gethominfo (which behaves in the same way as getpetinfo).
  2922. * Corrected bonus3 bAutoSpell(WhenHit) to select target enemy (rather than
  2923. self) for skills with inf self and inf2 'don't target self' (aka:
  2924. auto-select target skills).
  2925. * Corrected map_foreachinpath to do a wall check for targets beyond the
  2926. initially selected tile.
  2927. 2007/09/09
  2928. * Modified bonus3 bAddEff/bAddEffWhenHit so that the last parameter is now
  2929. passed directly as "trigger" flag. The possible trigger values are
  2930. ATF_LONG, ATF_SHORT, ATF_TARGET, ATF_SELF. Explanation added to
  2931. doc/item_bonus.txt [Skotlex]
  2932. * Updated sql files [Playtester]
  2933. 2007/09/08
  2934. * Adjusted a spot that still blocked GL's skills on login [ultramage]
  2935. 2007/09/07
  2936. * Added support for the new party invite/reply packets from the latest
  2937. client version.
  2938. * Added auto-rejecting party/guild invites when the target is disconnected
  2939. from the server.
  2940. * Changed the default @Main format to prevent crashes in the newer
  2941. clients.
  2942. 2007/09/04
  2943. * bonus3 autospell (and autospell when hit) will now select for spell
  2944. target self when the skill is tagged a support skill.
  2945. * Increased the amount of autospells that can be held at a time from 10 to
  2946. 15
  2947. * Changed the "autocasted strip skills don't have a duration" to apply only
  2948. to Full Strip.
  2949. * Magic Mirror's duration now is reduced /15 when used on players.
  2950. * Removed bonus bAddDamageByClass since it is not needed, and implemented
  2951. bAddDefClass which can be used for the same purpose (but previously was
  2952. doing nothing).
  2953. 2007/09/03
  2954. * Added bonuses bSPRegenRate, bHPRegenRate. They behave like the opposite
  2955. of bHPLossRate/bSPLossRate, making you gain x Hp/Sp every y ms.
  2956. * Added bonus bIgnoreMdefRate, used to ignore a % of the target's mdef when
  2957. using magic attacks (bonus2 will ignore part of the mdef of all targets,
  2958. bonus3 receives a race argument)
  2959. * You can now use bonus2 bCastRate to adjust the cast rate of a single
  2960. skill.
  2961. * Cleaned the code for bleeding (hp-loss) and extended it to handle regen
  2962. as well.
  2963. * Some small cleanups in the pc_bonus functions.
  2964. * Removed bonus3 bHpLossRate since it was doing nothing and is not used.
  2965. * Corrected bGetZeny bonus to be like in Aegis. The amount received is from
  2966. 1 to the given amount, you can use negative zeny values to use an amount
  2967. dependant on mob's level (amount*lv).
  2968. * Updated doc/item_bonus.txt with all these changes.
  2969. * Anti-Magic/Stone-Skin now increase/decrease def/mdef only and in an
  2970. absolute mode (+20*lv rather than +20%*lv). Also the duration is greatly
  2971. decreased (x/15) when used on players.
  2972. * Now when a player uses a strip skill without having it in the skill tree
  2973. (auto-casted) the duration will be 0, the equipment will be stripped
  2974. without causing the status change that blocks reequipping.
  2975. 2007/09/02
  2976. * Added @whereis command (displays normal spawn maps for given mobs).
  2977. Defaults to a lv10 command. [Skotlex]
  2978. * Updated Refined Sakkat Box to give only 1 Sakkat instead of 10. [Paradox924X]
  2979. 2007/08/31
  2980. * Added some comments to clif_changechatowner()
  2981. - totally broken, see the code + topic:163829
  2982. * Implemented the chatroom display packet properly
  2983. - now has 4 types: public, private, npc and non-clickable npc chatroom
  2984. * Implemented the chatroom leave packet properly
  2985. - now utilizes the 'kicked' flag when the user was forced to leave
  2986. - TODO: banlist support to prevent re-entry, see jAthena code
  2987. * Documented/cleaned up chatroom code and packetry [ultramage]
  2988. 2007/08/30
  2989. * Updated sql files [Playtester]
  2990. 2007/08/29
  2991. * Added bonus bSkillHeal to distinguish offensive skill damage increases
  2992. from healing power boosts.
  2993. * Moved battle_skillatk_bonus to pc.c, cleaned up the related skillatk
  2994. bonus code to consider the skillheal bonus option. [Skotlex]
  2995. 2007/08/23
  2996. * Updated athena-start & start to Shazeya's hack. Please test them! [DracoRPG]
  2997. - Simplest way is to run ./start that is equivalent to Windows runserver_sql.bat
  2998. - To run TXT instead, edit the beginning of athena-start with proper filenames
  2999. 2007/08/22
  3000. * Fixed Dragon Fear's status change selection and duration.
  3001. * Fixed Metamorphosis not displaying a speed-change update on the client.
  3002. * Status changes that were blocked by element are no longer blocked,
  3003. instead, now no-damage skills are blocked if they have an element which is
  3004. absorbed by the target (This is the behaviour that Tharis believes is
  3005. correct). [Skotlex]
  3006. 2007/08/19
  3007. * Set proper limits to drop rates, prevents int overflow during calc
  3008. * Cleaned/clarified some #include relationships between headers
  3009. - TODO: pc_read_gm_account() still accessses the RFIFO directly!
  3010. * Again removed the IG_ list from itemdb.h (see r10100 and r10113)
  3011. 2007/08/18
  3012. * Fixed a deallocation mistake and some buffer overflows in npc_chat.c
  3013. after doing rtfm@pcre.txt (all caused by incorrect usage of pcre api)
  3014. * Removed underscores in npc_chat.c's variable names (easier to read)
  3015. * Moved npc pcre-data deallocation from npc_remove_map to npc_unload
  3016. 2007/08/17
  3017. * Implemented the official dual-wield aspd equation [ultramage]
  3018. - using 0.7 instead of 0.66 as modifier (so aspd will be lower now)
  3019. - see topic:151132 for details
  3020. 2007/08/16
  3021. * Fixed eAthena's wrong interpretation of the respawn times [Playtester]
  3022. * Added icons for NPC_CRITICALWOUND and NPC_SLOWCAST [Playtester]
  3023. * Fixed npc chatrooms not being deleted on npc unload/reload (crash)
  3024. * Modified chat code a bit for more clarity [ultramage]
  3025. - replaced double-indirection on 'owner' with a normal pointer
  3026. - separated some common functionality to 'chat_createchat()'
  3027. 2007/08/15
  3028. * Merged and completed Latio's work on server-side hot-key saving
  3029. (http://www.eathena.ws/board/index.php?s=&showtopic=159388&view=findpost&p=884453):
  3030. Now hotkeys are stored server-side (table hotkey in SQL servers, file
  3031. save/hotkeys.txt for TXT servers). You can disable this behaviour by
  3032. commenting out the 'HOTKEY_SAVING' define in mmo.h
  3033. * Apply upgrade_svn11018.sql to create the hotkey table. [Skotlex]
  3034. * Some serious code cleanups
  3035. - adjusted @reloadbattleconf to not depend on variable ordering
  3036. - changed all battle vars to 'int' (removes pointless duplicit coding)
  3037. - added min, max and default columns to battle config data structure
  3038. - added properly bounded values for these columns (or at least tried to)
  3039. - battle-conf loading will now complain if it finds unknown settings,
  3040. and will reject values that are outside of the allowed range
  3041. - added CHATROOM_TITLE_SIZE and CHATROOM_PASS_SIZE
  3042. - partially cleaned up chatroom manipulation code
  3043. 2007/08/13
  3044. * Modified map_foreachinrange so that you can also specify the max length
  3045. of the path to use. The max_count field in the skill_db is used to specify
  3046. this range for path-type skills (Sharpshooting, Kamaitachi and the NPC
  3047. Breath skills.
  3048. * Implemented the 'new' NPC skills described here:
  3049. http://ro.doddlercon.com/wiki/index.php?title=Monster_Skills . It is mostly
  3050. complete, but the new status changes (slow cast, critical wounds, etc)
  3051. don't have any visual effects yet (icon or opt changes? I don't know if
  3052. they should have). Also I could not find the unit_id for Evil Land, so it
  3053. looks just like Sanctuary for now. Apart from those, the only skills which
  3054. I couldn't get to display properly are the Breath skills (with the
  3055. exception of Fire Breath).
  3056. * Corrected gtb_sc_immunity setting not taking effect if your block value was
  3057. the same (that is, if the config said 30%, then you would only get status
  3058. change immunity at 31%, nor 30%) [Skotlex]
  3059. * Fixed a small error in the script_commands documentation about getpartyleader. [Paradox924X]
  3060. * Corrected skill-based hp/sp regen, expect slight increase [ultramage]
  3061. 2007/08/10
  3062. * Updated item_db.sql [Playtester]
  3063. 2007/08/09
  3064. * The new functions now clear junk from the output buffer [ultramage]
  3065. 2007/08/08
  3066. * Moved damage logging to mob_log_damage, now non-damage targetted (or
  3067. splash) skills also get logged into the monster's 'damage history' which
  3068. affects the exp-bonus per attacker setting.
  3069. * Implemented the evolution stat growth bonuses for homunculus.
  3070. * Updated the @homstats command to show evolution bonuses
  3071. * Corrected initial intimacy of a newly created homunculus (should be
  3072. 21/1000) [Skotlex]
  3073. * Cleaned up junk left in the code by the mapcache/mapindex update
  3074. - Added mapindex_getmapname(_ext) to help with ".gat" adding/removing
  3075. - Moved related processing to the interface (prevents duplicity)
  3076. 2007/08/07
  3077. * Expanded isloggedin script command to support an optional argument (char id)
  3078. * Expanded warpparty command to accept target "Leader", this will warp the
  3079. party to the leader.
  3080. * Added a summon structure to handle non-dead-branch mob-groups since the
  3081. current implementation totally fails for mob groups that don't have MANY
  3082. integrants.
  3083. * Fixed mobs not attempting an IDLE skill right before unlocking a target.
  3084. [Skotlex]
  3085. 2007/08/06
  3086. * Slightly deobfuscated the max-hp calculation functionality
  3087. - fixed hp/sp calc code adding extra few points from item bonuses
  3088. * Added a null-pointer check to skill_initunit() to prevent a crash
  3089. * Added a while() loop to the client packet processor (for performance)
  3090. * Added support for kRO 2007-05-14aSakexe langtype 0 login packet 0x2b0
  3091. 2007/08/04
  3092. * Removed weird mvp reward item drop behavior (see topic:160077)
  3093. * Fixed Cart Revolution not transferring status effects on attack,
  3094. and Cart Termination doing it when it shouldn't (see topic:156745)
  3095. * Fixed #refine not accepting names with spaces in them
  3096. * Fixed disguises not doing sit-down properly (missing self packet)
  3097. broken since r6299 stable / r5833 trunk [ultramage]
  3098. 2007/07/30
  3099. * Updated sql files [Playtester]
  3100. * Corrected pet taming code; items are consumed immediately and only 1x
  3101. - TODO: add proper code for people who want delayed consumption
  3102. 2007/07/28
  3103. * Removed ridiculous refine_posword config switch
  3104. - TODO: remove getequipname() func, it can be fully replaced by editing
  3105. a few scripts, plus it doesn't do what the docs say it should do
  3106. * Fixed a silly mistake in the main script engine loop ('pos' variable)
  3107. * Fixed monter -> monster typos
  3108. * Compacted some script function code (fewer LoC -> faster trac ^^)
  3109. 2007/07/27
  3110. * Simplified exp gain equations (now more FPU-friendly and precise)
  3111. - also fixes the uninitialized variable problem... sorry 'bout that >.>
  3112. * Changed the way hit bonus is applied.
  3113. http://www.eathena.ws/board/index.php?showtopic=157438 [Vicious]
  3114. * Cleaned up mob drop code, crashfix is still needed though...
  3115. * Reduced ignore-list length to 20, added proper reply packet
  3116. * Cleaned up some very poorly written pm-ignore code (see r141)
  3117. * Fixed a typo in Warp Portal code displaying an incorrect map name
  3118. 2007/07/25
  3119. * Fixed a missing homunculus info packet when doing @refresh
  3120. * Added support for character rename packet (only dummy code for now)
  3121. * Added support for langtype-12 char deletion packet (tested, works)
  3122. * Synchronized txt/sql charserver code a bit
  3123. * Adjusted motd.txt to not crash new clients
  3124. * Removed some dead code from the charserver (see r352)
  3125. 2007/07/24
  3126. * Fixes on Venom Splasher and the like (see topic:152975) [DracoRPG]
  3127. - VS / Envenom / Throw Venom Knife poison chance raised to 10+4*lv %
  3128. - Removed chance to be poisoned when hit if you're a VS time-bomb
  3129. - Adjusted bomb timer to correct values (5.5+0.5*lv sec)
  3130. - Removed damage boost from Poison React
  3131. - Now ignores EDP damage boost
  3132. - Prevented use on bosses
  3133. - Fixes still needed for recast restriction and splash damage
  3134. * Removed Emperium-damaging ability from Gloria Domini [DracoRPG]
  3135. 2007/07/23
  3136. * Changed the restricting mapflag for @jump from nowarp/nowarpto
  3137. to noteleport. Adjust your scripts if you were using it this way.
  3138. 2007/07/20
  3139. * Corrected packet_db.txt. See topic:158382 for details.
  3140. As a side-effect, the latest packet version is now 22 instead of 21.
  3141. * Added a charserver config option for the character renaming flag,
  3142. along with a detailed comment on what it's supposed to be. This
  3143. eliminates all that "change PACKETVER to 8 and recompile" mess.
  3144. * Moved PACKETVER back to clif.h, cleaned the related code a bit.
  3145. 2007/07/18
  3146. * Added delay_dependon_agi since people actually use and need it...
  3147. * Small update to the effects list (new exe's effects by Au{R}oN)
  3148. * No sending of the pet_equip packet when pet has no equip (thx2Skotlex)
  3149. * Added back exp gain limiting for old formula to stop exploits (see r8177)
  3150. * Now a message is printed when the packet_ver filter rejects someone
  3151. * Renamed two structs using same name as variables (MSVC debugger issue)
  3152. 2007/07/13
  3153. * Fixed yet another script engine typo, this time in 'copyarray' [ultramage]
  3154. 2007/07/09
  3155. * Rev. 10872 Removed a comment I had placed on line 6879 in Skill.c. [L0ne_W0lf]
  3156. * Rev. 10870 Alchemist skill "AM_CANNIBALIZE" ("Summon_Flora") now [L0ne_W0lf]
  3157. summons the proper monsters.
  3158. 2007/07/07
  3159. * Fixed typo in 'deletearray' messing up the script engine
  3160. * Added a check to pc_skill() to prevent crashes on unknown skill ids
  3161. 2007/07/06
  3162. * Cleaned up some nasty code related to skill_blown
  3163. - split 'direction' value from flags
  3164. - moved (almost) entire direction calculating code to the outside
  3165. - bowling bash now has the 'suck-in' effect (knockback is now done
  3166. in the direction you were last facing, not in your-target direction)
  3167. 2007/07/05
  3168. * Fixed pet equip and pet hairstyle packet sends [ultramage]
  3169. * Fixed NPC_STOP's visual effect not clearing when the status ends
  3170. * Corrected @homshuffle making the skill tree be lost.
  3171. * Corrected homunculus skills being unusable if the master was sitting or
  3172. inflicted by a disabling status (eg: petrify, stun)
  3173. * Some fixes to the cell no stacking mod (mainly mobs would just get stuck
  3174. behind each other and not properly surround you). [Skotlex]
  3175. 2007/07/04
  3176. * Fixed a copy-paste typo messing up script variables pretty bad D:
  3177. 2007/07/03
  3178. * Fixed a typo in script engine erroring when working with char params
  3179. * Made Homun Resurrection only fail on cast-end (see topic:155223)
  3180. * Re-coded 'soundeffectall'; removed the third parameter ('coverage')
  3181. - adjust your scripts if you use this command [ultramage]
  3182. * Defined out a problematic piece code in conv_num.
  3183. * Added reporting of constant and param script data.
  3184. * Fixed an incorrect check in menu script command. [FlavioJS]
  3185. 2007/07/02
  3186. * Undid the change from r10298, frozen status again modifies def/mdef
  3187. 2007/07/01
  3188. * TXT->SQL converter fixup [ultramage]
  3189. - Added missing char_id insert which totally messed up the conversion
  3190. - Fixed login converter ignoring many columns (although it had the data)
  3191. - Pointed out that Login-stored account variable conversion is MISSING!
  3192. - Pointed out that Status, Homunculus and Mapreg conversion is MISSING!
  3193. - Blocked the config functions from exiting server when file not found
  3194. - Finally added VS8 project files for this thing
  3195. 2007/06/28
  3196. * Added a missing line to enable @displayskill atcommand [DracoRPG]
  3197. 2007/06/26
  3198. * Changed the string hash of the script engine to SDBM.
  3199. * Reporting information about script data when an error occurs.
  3200. * More work on ticket #41 (array functions). [FlavioJS]
  3201. 2007/06/22
  3202. * Changed behavior of some guild-related code (according to X.4 tests):
  3203. - removed code that prevented Homunculus Resurrection during WoE
  3204. - logging in doesn't activate the 5 minute guild skill block anymore
  3205. - non-Urgent guild skills can now only be cast on WoE grounds during WoE
  3206. - all guild skills now have no cast delay (previously was 1 second)
  3207. - casting guild skills will now block FreeCast sages from walking
  3208. - Battle Orders and Regeneration are now instacast
  3209. - Restoration now has a 10 second cast time, reducible only by dex
  3210. - Urgent Call's cast cannot be reduced anymore (not even by items)
  3211. 2007/06/15
  3212. * Fixed script command sc_end not supporting the extra argument as stated
  3213. in script_commands.txt.
  3214. * Script command getarg supports an extra argument with a default value
  3215. that is returned if the requested argument doesn't exist. [FlavioJS]
  3216. 2007/06/11
  3217. * Fixed NPC_PROVOCATION (now the casting mob doesn't keep attacking)
  3218. * accumulated clif.c fixes [ultramage]
  3219. - Fixed pet equip not displaying correctly at all
  3220. - Removed old fixpos packet (the 'new' one is way smaller)
  3221. - Fixed some major logical typos in the code, cleaned up many places
  3222. 2007/06/10
  3223. * Rev. 10745 Updated itemdb.h with the two new item group values.
  3224. (38 and 39) Why are they static anyway? [L0ne_W0lf]
  3225. 2007/06/09
  3226. * Added 'nosave' mapflag to que_bingo for Bingo system purposes. [SinSloth]
  3227. 2007/06/04
  3228. * Fixed the compilation problem from r10668
  3229. 2007/06/03
  3230. * Fixed a bad copy-paste from r10028 letting players escape jail
  3231. (char was dead on login, so statuses (SC_JAILED) couln't be applied)
  3232. * Fixed missing client update when 'return to savepoint' fails [ultramage]
  3233. 2007/06/02
  3234. * Displaying op names instead of numbers in script engine errors.
  3235. * Fixed a bug introduced in the last rework of the fame ranking.
  3236. * Created safestrncpy that ensures the string is nul-terminated. [FlavioJS]
  3237. 2007/06/01
  3238. * Updated sql files [Playtester]
  3239. * Fixed ircbot not processing new users
  3240. 2007/05/29
  3241. * Hopefully fixed the vsnprintf incompatibility
  3242. 2007/05/28
  3243. * Fixed an infinite char-server loop on the map connection [ultramage]
  3244. * RFIFOREST returns 0 when the session is eof (input data is implicitly
  3245. discarted).
  3246. * Reworked the player fame update: [FlavioJS]
  3247. - would crash if an invalid pos was received
  3248. - the wrong player could be updated on certain conditions
  3249. 2007/05/26
  3250. * Identified several more glitches, too tired to fix these...
  3251. * Fixed server not removing member minimap dot when you leave a guild
  3252. * Fixed server not sending party/guild info when you enter a map
  3253. * Fixed guild emblem not showing when you log in (caused by r5359)
  3254. 2007/05/25
  3255. * Fixed @statall giving you +99 stats instead of setting them to 99
  3256. * Fixed npctalk and @npctalk displaying the # part of the name
  3257. (client filters these when you request the name of the npc, btw...)
  3258. 2007/05/23
  3259. * Added new flag to skill_castnodex.txt, to allow per-skill tweaking
  3260. of cast time and delay reducibility by item scripts (cards and such)
  3261. * Fixed Martyr's Reckoning never triggering for gms with all skills
  3262. * Added MO_TRIPLEATTACK and RG_SNATCHER to @skillall's skill filter
  3263. * Made gm_skill_unconditional bypass skill blocking (guild timer, etc)
  3264. * Reverted the weird delay_dependon_agi thing (r8923, r9055, r9059)
  3265. * Changed a few memsets to strncpy (reading past buffer is a bad idea)
  3266. * Sped up some memset operations (multiples of 4 are faster)
  3267. * Fixed a typo in Chase Walk code, /thx to zephyrus_cr [ultramage]
  3268. 2007/05/22
  3269. * Updated sql files [Playtester]
  3270. 2007/05/21
  3271. * Since the fifohead mess is gone, fixed leftover bad code structuring
  3272. * Removed the TURBO socket mechanism - it was in fact just using a
  3273. variable to cache a few arithmetic operations (premature optimization)
  3274. 2007/05/20
  3275. * Fixed Chase Walk having a deactivation cast time (should be instant)
  3276. * Changed status calc to allow value 0 stats; aegis allows
  3277. negative values, but eA is unsigned in this regard, so ...
  3278. * Added positional music effect to Battle Chant / Gospel
  3279. - see r10588 on how to disable it if it annoys you ^^;
  3280. 2007/05/19
  3281. * Added Global chat and Main chat logging
  3282. - lowered the priority of the 'logging off during gw' filter
  3283. * Fixed server crashes when you use long hostnames (/thx to Ancyker)
  3284. * Removed the wtf-y mmo_char_fromsql_short() from r2527 [ultramage]
  3285. * Fixed drops of Thanatos Dolor & Thanatos Odium regarding the quest. [SinSloth]
  3286. * SQL files fixup
  3287. - extended convert_engine_myisam and added innodb version
  3288. - changed the max. email length to 39 (to match value in source code)
  3289. - added comment for storage/guild storage picklog entries
  3290. - changed SETs to ENUMs, which is the proper data type in logs
  3291. - fixed incorrect defaults, shortened mapname lengths to 11
  3292. - use upgrade_svn10575_*.sql to apply changes
  3293. * Removed the vsnprintf->_vsnprintf define for VS9 [ultramage]
  3294. * Corrected the problem with countitem2 [ultramage]
  3295. 2007/05/14
  3296. * Updated sql files [Toms]
  3297. 2007/05/11
  3298. * Updated the effect list a bit, changes by Au{R}oN
  3299. * Re-phrased the attacker flee/def penalty config descs [ultramage]
  3300. Ref: http://www.eathena.ws/board/index.php?showtopic=150918
  3301. * Attempt to fix unwanted teleporting of immobile mobs [Playtester]
  3302. 2007/05/10
  3303. * Adapted the shortlist to use a static array instead of a linked list and
  3304. enabled it.
  3305. * Added Buuyo-Tama's shortlist for send/eof sockets (defined out for now).
  3306. * Replaced toupper/tolower in ladmin by TOUPPER/TOLOWER defines. [FlavioJS]
  3307. 2007/05/07
  3308. * Fixed warpwaitingpc not working (bug introduced in r10471). [FlavioJS]
  3309. * Added a check to login_sql against too long db-stored emails [ultramage]
  3310. * Removed an unused variable in script.c [Toms]
  3311. * Fixed Converters not overwriting each other [Playtester]
  3312. - thanks to scerez for the fix
  3313. 2007/05/06
  3314. * Removed the dependency on winsock.h for definitions, it's all winsock2.h now.
  3315. * Minor documentation/re-coding in chat.c.
  3316. * More work on ticket #41. [FLavioJS]
  3317. * Fixed Red Pouch overriding nobranch mapflag [Playtester]
  3318. * Attempt to fix Kyrie Eleison not castable on enemy players [Playtester]
  3319. - please test, I can't double client to test it in pvp
  3320. - don't forget to recompile before testing
  3321. 2007/05/04
  3322. * Added an optional read-from-GRF/GAT map loading system back in.
  3323. - It can be turned on with the use_grf flag in map_athena.conf.
  3324. - The conf/grf-files.txt becomes relevant again. [blackhole89]
  3325. * Removed the cyclic map.h<->status.h dependency, which allowed me to
  3326. also remove the annoying/memory-wasting MAX_STATUSCHANGE define
  3327. 2007/04/30
  3328. * Ladmin fixes
  3329. - Added vs8 project file for ladmin
  3330. - Replaced all occurences of printf in ladmin.c with ShowMessage
  3331. - Fixed ladmin working with ips using the wrong byte orer
  3332. * Fixed @jumpto displaying the incorrect player name
  3333. * Added more safeguards to socket.c against socket ids out of range
  3334. TODO: session[] array isn't explicitly zeroed; is that a good thing?
  3335. 2007/04/29
  3336. * Fixed login_sql ipbans not working
  3337. * login server will now bind only after finishing the init phase
  3338. * Tried and fixed md5 password encryption [ultramage]
  3339. - login_sql was doing stupid things like re-using one pre-generated
  3340. key for all connections, and escaping binary md5 data (destroying it)
  3341. - added missing code to login_txt when creating new accounts, showing
  3342. that storing passwords as md5 hashes never really worked for txt
  3343. - removed PASSWORDENC's conditional compilation effect, now just a flag
  3344. - greatly simplified md5 password checking code, credits to eapp
  3345. * Internal changes to the script engine: [FlavioJS]
  3346. - modulus division detects division by 0.
  3347. dividing by zero stops the script and gives an error
  3348. - underflow/overflow messages differentiated (warnings)
  3349. - when a script function doesn't return a value, a C_NOP value is pushed
  3350. instead (avoids stack corruption)
  3351. - op_add merged with op_2+op_2num/op2_str
  3352. - better type checking in the operators, int/string is never assumed.
  3353. The script ends when an invalid type is found.
  3354. - other minor code cleanups
  3355. 2007/04/26
  3356. * Corrected High Jump so it works on Guild Castles when WoE is off.
  3357. * Moonlit petals now always knocks to the back of the character rather than
  3358. pushing the character away from it's center.
  3359. 2007/04/25
  3360. * Modified the mob ai think time update after using skills from
  3361. adelay/amotion to 100ms since the previous method adds a large delay before
  3362. the AI activates again (which screws up with the timing of idle/walk
  3363. skills)
  3364. * NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in
  3365. the sense that every normal attack afterwards becomes a Magical Attack. The
  3366. skill duration is 15 secs. [Skotlex]
  3367. * Added missing Rachel quest map [Playtester]
  3368. * Ganbantein now deletes individual skill cells instead of the whole skill
  3369. in the area it is casted.
  3370. * Modified the mob total damage code to prevent overflows when mobs receive
  3371. over 2kM damage. [Skotlex]
  3372. * Spider Web / Fiber Lock status cannot be dispelled now [ultramage]
  3373. 2007/04/24
  3374. * All mob casted skills have a fixed range of 9 now.
  3375. * Pressure no longer vaporizes plants.
  3376. 2007/04/23
  3377. * Fixed bug which totally broke item group bonuses.
  3378. * Added warnings when setting a pvp/gvg flag removes the other flags on the
  3379. same map (gvg and pvp can't coexist on the same map)
  3380. * Removed the check that prevented you from casting soul-collect when you
  3381. already have 5 spirits.
  3382. * Corrected Magic Rod so it doesn't displays any skill-use animation until
  3383. it triggers.
  3384. * Corrected Steel Body's icon (it actually belongs to AutoBerserk)
  3385. * Debuff on logout&2 is again set to default, instead of removing food
  3386. bonuses now it removes Maximize Power, Maximum Overthrust and Steel Body.
  3387. [Skotlex]
  3388. * Extended the functionality of StringBuf - length and appending a string.
  3389. * menu/select/prompt script functions support grouped and empty options.
  3390. The selected option number is consistent with them.
  3391. * More work on ticket #41. [FlavioJS]
  3392. 2007/04/22
  3393. * Corrected crash if itemskill is used without an attached player.
  3394. * Removed range checks for autospells as per UltraMage Aegis tests.
  3395. * Added chatID skill fail check to skill_check_condition
  3396. * Corrected @refresh not re-displaying your spirit spheres nor re-setting
  3397. your cloth dye.
  3398. * Now the "number of attackers" in mob_dead is counted only from online
  3399. characters on the same map.
  3400. * Updated the autospell bonus scripts so you don't have to specify all the
  3401. attack type criteria. If neither of BF_LONG/BF_SHORT is specified, the
  3402. spell will trigger on both. If neither of BF_WEAPON/BF_MAGIC/BF_MISC is
  3403. specified, the spell will trigger on BF_WEAPON, if neither of
  3404. BF_NORMAL/BF_SKILL is specified, BF_SKILL is used if the trigger is
  3405. BF_MAGIC/BF_MISC and BF_NORMAL is used if the attack is BF_WEAPON. This way
  3406. the default when nothing is specified is
  3407. BF_NORMAL|BF_WEAPON|BF_SHORT|BF_LONG. [Skotlex]
  3408. 2007/04/21
  3409. * Removed the +25% mdef, -50% def effect from Freeze status
  3410. * Changed autocast skills, they now only work with normal attacks!
  3411. Ref: http://www.eathena.ws/board/index.php?showtopic=138159
  3412. * Fixed a few spots where attack_type was getting truncated
  3413. * Hopefully fixed the cygwin + size_t problem (using stddef.h as source)
  3414. * Added ntows() to properly handle that client port number deficiency
  3415. * Adjusted the packet_db array for a more consistent look [ultramage]
  3416. 2007/04/20
  3417. * Cleaned up the doc folder. Removed outdated, untranslated, useless files
  3418. and began normalizing a bit other ones~ [DracoRPG]
  3419. 2007/04/18
  3420. * Added MEXP overflow checks. [LuzZza]
  3421. * Added bonus5 bAutoSpell/bAutoSpellWhenHit. The new parameter is used to
  3422. specify when the spell should trigger (melee/range + weapon/magic/misc
  3423. attack), see doc/item_bonus.txt for details. [Skotlex]
  3424. * Changed some %lu to %u in login_sql/login.c because uint32 is now
  3425. an unsigned int [Toms]
  3426. * Discarded extra deflate function needed for afm reading [ultramage]
  3427. - as a result, discarded the whole chain of support functions, .c files
  3428. and includes needed to make that one function run
  3429. - also removed zlib compile/link dependencies where they are not needed
  3430. - reduced the whole zlib package into two core include files
  3431. - adjusted makefiles / project files to reflect this change
  3432. 2007/04/17
  3433. * Massive at+charcommand cleanup, big thanks to HiddenDragon [DracoRPG]
  3434. * Partially deobfuscated the grfio module
  3435. * Finally fixed mingw problems, managed to build both TXT and SQL
  3436. * Fixed the uint32 platform problem (Microsoft failed so I removed it :)
  3437. * Removed the cbasetypes.h dependency from the mapcache generator
  3438. * Removed some random compilation warnings [ultramage]
  3439. * Small bugfixes and enhancements to the map cache generator [DracoRPG]
  3440. 2007/04/15
  3441. * Fixed 'randomtarget' picking dead characters.
  3442. * Adjusted Spiral Pierce, Shield Boomerang and Shield Chain to use atk2
  3443. instead of weight when used by non-players.
  3444. * Adjusted skills blindAttack, SilenceAttack, StunAttack, PetrifyAttack,
  3445. CurseAttack, SleepAttack, Lex Divina and Dispell to be area effect skills,
  3446. if the used skill level has a splash-range different from 0.
  3447. * Mob used Meteor Assault is able to hit icewalls now. [Skotlex]
  3448. 2007/04/15
  3449. * Fixed TXT char creation blocking characters with nonstandard names
  3450. 2007/04/13
  3451. * Committing some accumulated stuff [ultramage]
  3452. - makefile typo, maps_athena typo, svn:eol-style native for some files
  3453. * Changed the meaning of inf2=0x1000. Now it is used to "disable usage on
  3454. enemies", which only works for non-aggressive (inf!=1) skills.
  3455. * If a skill is party/guild only (inf2 0x400/0x800) it will also be
  3456. castable on enemies if the skill's inf is 1 (offensive target)
  3457. * Corrected the mob behaviour when it locks into an enemy it can't chase.
  3458. Previously it would get stuck on a lock->unlock->lock loop, with each
  3459. unlock resetting the "random walk" timer, causing the mob to just idle in
  3460. place. Now they will attempt idle skills and no longer reset the "random
  3461. walk" timer, so they behave as if they were in Idle state properly.
  3462. * Now the bonus bAtkEle will be transferred directly to the weapon when the
  3463. script is in the ammunition, and you are wielding a weapon that consumes
  3464. ammo per atttack.
  3465. 2007/04/12
  3466. * Trade-requests now fail if the target is in a NPC.
  3467. * Some cleaning of the castend_map code to prevent the menuskill variable
  3468. from not being cleared if you made a choice but the skill was not triggered
  3469. (due to silence, stun or whatever)
  3470. * Cleaned up a bit the Charge Attack casttime equation, should prevent
  3471. infinite casttime when the distance is 0.
  3472. 2007/04/11
  3473. * Now when an object changes speed, the old move-packet will be used on the
  3474. next movement, which should update the object's speed from that point and
  3475. on-wards. This is done since there appears to be no way to tell the client
  3476. a given object's speed has changed.
  3477. * Modified spirit of Wizard so that the consumption of 'Fragments' when
  3478. blocking bounced spells will only consume 1 Fragment per skill casted,
  3479. regardless of how many hits were reflected.
  3480. * Modified status_get_sc_def to handle both rate and tick reductions. This
  3481. way it can take care of the fact that curse rate/duration reductions are
  3482. not reduced by the same stats. Curse duration is now reduced by vit.
  3483. [Skotlex]
  3484. * Removed an ugly cast in socket.c
  3485. * Fixed Makefile (-Wno-unused-parameter was added twice with gcc4) [Toms]
  3486. 2007/04/10
  3487. * Recoded and renamed the trim function in strlib to normalize_name.
  3488. * Added a proper trim function to strlib.
  3489. * Cleanups at npc source file adding/removing.
  3490. * Changed db key from 'unsigned char*' to 'const char*'.
  3491. * Defined out the dump function in util.h/c. [FlavioJS]
  3492. * As an experiment Corrected many /W4 warnings on the txt login server
  3493. * Played around with MinGW a bit today... [ultramage]
  3494. - adjusted code so that it handles mingw-specific compatibility problems
  3495. - adjusted the makefile, mingw is not a subset of cygwin
  3496. 2007/04/09
  3497. * Now when saving a character, only the cart/peco/falcon 'option' states
  3498. are saved, the rest should be handled by the status change load/save
  3499. functions. This saves 'permanent' cloaking/hiding and other such oddities
  3500. if the server is unable to save your status changes on logout.
  3501. * Updated some Guild WoE rules to behave as explained here:
  3502. http://www.eathena.ws/board/index.php?showtopic=146581 [Skotlex]
  3503. 2007/04/08
  3504. * Fixed the platform-specific stricmp compilation problem
  3505. * Fixed inverted vending tax equation (!) and made it more precise
  3506. * Moved e_mail_check() and config_switch() to strlib.h
  3507. * Synchronized the login servers a bit
  3508. 2007/04/07
  3509. * Disabled the exception handler on windows debug builds
  3510. * Fixed Devotion using WE_BABY's status icon (now uses no icon);
  3511. if you have a way to determine the correct number, give feedback
  3512. * Updated the server's PCRE components to 7.0
  3513. - dll, library, header
  3514. - cleaned the only existing example and moved it to /samples
  3515. - changed the interface, now $@ is used instead of $ to store the result
  3516. - /!\ adjust your scripts if you are using npc regexp parsing /!\
  3517. * Fixed the start_point setting smashing t3h stack in some situations
  3518. * Fixed some over/under-dimensioned arrays (defines already cover the '\0')
  3519. * Fixed an unupdated define making Warp Portal fail with an error [ultramage]
  3520. * Final touches to the whole map crap [DracoRPG]
  3521. - changed MAP_NAME_LENGTH to 12, now there's MAP_NAME_LENGTH_EXT at 16 for
  3522. uses where there is / may be the .gat extension, code adjusted accordingly
  3523. - moved map_normalize_name to mapindex_normalize_name so that everything
  3524. handling map names uses the same extension-removing function
  3525. - greatly enhanced the map cache generator, complete documentation on the
  3526. tool and the map cache format can be found in doc/
  3527. - the map cache format changed a bit as a consequence, but of course a new
  3528. valid one is included (contains latest Nameless Island maps)
  3529. - and I'm sorry for the number of times I've moved around and renamed files,
  3530. now the final structure should have been reached
  3531. * Capped clif_heal's heal field (the argument received is int, but the
  3532. packet field is short, meaning that if the heal is high enough, the client
  3533. would receive a negative heal amount). [Skotlex]
  3534. 2007/04/06
  3535. * Made a crazy attempt to at least partially synchronize login&char code
  3536. * Major edit to the way the servers handle ip addresses, making them obey
  3537. the "host byte order inside, network byte order outside" rule [ultramage]
  3538. - hopefully covered all entry- and exit-points for IP address data
  3539. - discovered several places where Gravity's client breaks the convention,
  3540. will need to come up with a suitable countermeasure for that
  3541. - other than that, the code should be portable, except for printing and
  3542. ipban mask testing (those still assume a specific byte order)
  3543. - tested both txt and sql in all usual situations; tested single- and
  3544. multi-server setups, all seems to work (but watch out for hidden bugs!)
  3545. 2007/04/05
  3546. * Cleaned @whogm. It will display the name of all gms online. If their GM
  3547. level is above your own, it will only display their name, otherwise level,
  3548. position, and party/guild info is displayed. GM's using gm-hide will not
  3549. appear on this list.
  3550. * Corrected song/dances/encores reducing SP at the incorrect intervals
  3551. (either never, or every second).
  3552. 2007/04/04
  3553. * Corrected Longing for Freedom, it should triple SP cost rather than
  3554. modifying SP cost to 1/sec
  3555. * SC_ENCHANTARMS will no longer fail to start if it's already running with
  3556. a "higher elemental level".
  3557. * When trying to trade an untradeable item, the add-item-fail packet will
  3558. be sent so the client does not gets stuck. [Skotlex]
  3559. 2007/04/03
  3560. * Some spring-cleaning in sql-files, only left SVN 8k+ files [DracoRPG]
  3561. * Updated sql files [Playtester]
  3562. * Fixed char-server crash on @changegm use.
  3563. * Cleaned up mmo_auth, this function wasn't only poorly coded, it also had
  3564. a SQL-related memory leak in it!
  3565. * Corrected the attack_attr_none check being backwards (ie: this config was
  3566. working backwards!)
  3567. * All pets can now move regardless of their Mob counter part setting.
  3568. [Skotlex]
  3569. * Some source code cleaning
  3570. - Fixed the badly worded messages during mapserver startup
  3571. - Cleaned up socket config reading
  3572. - Split resolve_hostbyname() into 2 separate functions for clarity
  3573. - Moved the probably obsolete LOWER/UPPER macros to db.c (TODO: remove)
  3574. - Moved the badly placed compare_item() function to storage.c (see r779)
  3575. * Fully removed the msvcr80.dll dependency from the vs8 project files
  3576. 2007/04/02
  3577. * Removed some overly verbose item group messages & code
  3578. * re-added the item_group_list for consistency's sake, moved to itemdb.h
  3579. (after some hacking to remove the ugly map.h dependency)
  3580. * Fixed the server crashing on a timer-queued disguise / undisguise
  3581. * Fixed the server crashing on startup due to bad define [ultramage]
  3582. * Removed bonus 'bAspdAddRate'. bAspdRate now behaves on a stackable
  3583. matter, so it's no longer needed.
  3584. * Reimplemented the bonus 'bAspd' (raw Aspd increase) [Skotlex]
  3585. 2007/03/31
  3586. * Added all the missing defines for ctype.h functions and converted all
  3587. the direct uses to the defines. [FlavioJS]
  3588. 2007/03/30
  3589. * Added "do_abort" function to the core. It is invoked when the server has
  3590. received a Segmentation Fault or Floating Point Exception signal. Currently
  3591. the only one that uses it is the map-server, which then attempts to save
  3592. all online characters before aborting. Note that due to the current
  3593. coding of the sig plugin, do_abort will not be invoked if you use it!
  3594. This plugin needs to be updated... [Skotlex]
  3595. * Continued script.c cleanup [Toms]
  3596. 2007/03/29
  3597. * Corrected OPTION_XMAS since 2007 clients have split it up from
  3598. OPTION_FLYING (on previous clients both were the same option value).
  3599. * Corrected statp array not being long enough to actually hold the status
  3600. points of ALL levels up to and including MAX_LEVEL. Fixes reaching final
  3601. level and resetting giving you an unpredictable amount of status points.
  3602. 2007/03/28
  3603. * Negative aspd rate bonuses will be handled as aspd add rate since the
  3604. default non-stackable bonus is useless on penalty bonuses.
  3605. * Added check to prevent the client from using passive skills. [Skotlex]
  3606. * Updated sql-files [Playtester]
  3607. * Removed a missing file reference in the athena-start script
  3608. * Fixed a #error "<malloc.h> has been replaced by <stdlib.h>" problem
  3609. * Fixed the msg_silent setting not being announced every time [ultramage]
  3610. 2007/03/27
  3611. * Cleaned up some the mob skill use code. The skill re-use delay is set at
  3612. the time the skill is used rather than when it finishes casting. The
  3613. invalid target check was also moved to the mob skill db reading function.
  3614. * Skills can be used now when the autoskill menu is open (since there's no
  3615. packet sent by the client when you hit on cancel). [Skotlex]
  3616. * Added some svn:ignore properties [Toms]
  3617. * Solved console plugins compilation error [Toms]
  3618. * Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB.
  3619. - !!!WARNING!!! If your server uses higher levels, be sure to adjust
  3620. this appropriately! (the define can be found in /src/map/map.h)
  3621. * Corrected SC_COMA's success chance (X.4 says it's unconditional 100%)
  3622. * Changed the vs8 used crt library to static linking [ultramage]
  3623. 2007/03/26
  3624. * Coma now reduces SP to 0 (with the exception of Dark Blessing) [Skotlex]
  3625. * Corrected "format '%lu' expects type 'long unsigned int', but argument 4
  3626. has type 'unsigned int'" warning on login.sql [Toms]
  3627. 2007/03/24
  3628. * Corrected change r10051 which prevented Ice Pick from working [ultramage]
  3629. - the 'ignore_' variables are bitflags and therefore need enough bits
  3630. to store all info; 8 bits wasn't enough in this case
  3631. 2007/03/23
  3632. * Major reconfiguration of the vs7 project files (+vs8 while I was at it)
  3633. - added definitions _DEBUG and NDEBUG to tune system-specific stuff
  3634. - reduced the build requirements (Pentium 4 was a bit too much)
  3635. - changed build settings and project structure to match the vs8 projects
  3636. - corrected some vs8 inconsistencies
  3637. * Some generic typo fixes [ultramage]
  3638. * Corrected Ankle Snare/Spider Web having a 1% chance to trap rather than
  3639. 100%
  3640. * Food boosts are now dispelled on death only.
  3641. 2007/03/22
  3642. * Corrected setitemscript not correctly updating the item's script.
  3643. * Added define MAX_CHARS so you can easily mod the server to support a
  3644. different amount of characters per account (however, there is still the
  3645. issue of hexing the client to support this change)
  3646. * Updated msg_athena.conf so it no longer uses broken english on several
  3647. entries. Thanks to Scerez for the updated file.
  3648. 2007/03/21
  3649. * getpetinfo 5 will now return the pet's rename flag.
  3650. * Autoloot will now only work on items dropped a certain distance from the
  3651. player. The distance is defined by AUTOLOOT_DISTANCE in atcommand.h and
  3652. defaults to AREA_SIZE.
  3653. * Removed Magic Rod's cast bar.
  3654. * Gravitation no longer causes damage flinch. [Skotlex]
  3655. 2007/03/20
  3656. * Increased MAX_STATUSCHANGE to 300 to make room for new statuses [DracoRPG]
  3657. * Reverted mapindex reading from map_list.txt for the map-server [DracoRPG]
  3658. * Patched the MAX_STATUSCHANGE startup error [ultramage
  3659. * Removed the last argument from script command skillitem.
  3660. * Added skill ITEM_ENCHANTARMS, this is what weapon enchanting items should
  3661. use.
  3662. * Added support for specifying different elements per skill level in the
  3663. skill_db
  3664. * Added bonus bNoKnockback.
  3665. * Corrected login sql server not reseting your account state to 0 when the
  3666. banuntil duration expires.
  3667. * Made the skillatk bonus it's own function, it can now be used to boost
  3668. Heal/Sanctuary/Potion Pitcher and Slim Pitcher as well.
  3669. * Corrected Teleport's save map entry being sent without the .gat
  3670. extension.
  3671. * Corrected Warp Portal not sending the map names with the .gat extension.
  3672. * Probably corrected Disarm's strip animation.
  3673. 2007/03/19
  3674. * Rewrote the jail logic to always use a status change. This means that the
  3675. character's save point is not changed when jailed, and the char is always
  3676. warped back to the point where it was before being jailed on unjail.
  3677. * Modified @adjcmdlvl so you can't set a command to require higher level
  3678. than yourself, and so you can't edit the level of a command which is higher
  3679. than your own.
  3680. * Corrected attack_attr_none setting disabling elemental resist cards.
  3681. * Corrected Dispell removing Jailed status.
  3682. * Corrected being able to revive with 0 hp.
  3683. * Modified the "Restart" code so that it makes you stand on spot when
  3684. pc_setpos fails to move you back to your originating location. [Skotlex]
  3685. * Fixed some wrong sql login logic
  3686. * Fixed some compiler warnings, cleaned up mapserver sql-related vars
  3687. * Removed the old 'mapserver charsave' mechanism [ultramage]
  3688. * Globalised use of script_pushint and script_getdata in script.c
  3689. If someone need them, the regexp used was :
  3690. sed -i "s/& *(st->stack->stack_data\[st->start *+ *\([^]]*\)\])/script_getdata(st,\1)/g" script.c
  3691. sed -i "s/push_val(st->stack, *C_INT *, *\([^)]*\))/script_pushint(st,\1)/g" script.c
  3692. * Little clean of unused variables in script.c [Toms]
  3693. * Script engine:
  3694. - calling functions without using the return value doesn't generate warnings
  3695. - more work on Ticket #41
  3696. * Took care of two warnings and a minor change to the makefile. [FlavioJS]
  3697. 2007/03/18
  3698. * Added missing VC++ 7.1 project files for mapcache. [Lance]
  3699. * A followup to the login_sql server changes:
  3700. Due to a missing 'else' in the case_sensitive config setting loading
  3701. code (see r483 and r3316), the option was always being set to 'off'.
  3702. Now that I have corrected it, make sure to set it exactly how you
  3703. want it to behave (usually case-insensitive)!
  3704. Failure to do so can result in half the server spamming you with
  3705. messages about how they are getting 'unregistered id' errors.
  3706. 2007/03/17
  3707. * committing my work on the login server (mostly SQL) [ultramage]
  3708. - removed the check_ip_flag from login&char (there since r1)
  3709. - removed the CMP_AUTHFIFO_IP and CMP_AUTHFIFO_LOGIN2 defines (also r1)
  3710. - removed dynamic_account_ban, gm_db settings, weren't doing anything at all
  3711. - modified the date_format setting to take the format string directly
  3712. - removed overly verbose config loading messages
  3713. - removed/simplified many more useless actions
  3714. - renamed the dynamic_pass_failure_ban_ settings to make more sense
  3715. - collected relevant config settings into a login_config structure
  3716. and documented their purpose
  3717. - allowed usage of yes/no instead of the user-unfriendly 1/0 method
  3718. in config settings (and added 1/0 as a possible option)
  3719. - fixed dnsbl which was always taking only the first entry into account
  3720. 2007/03/16
  3721. * Corrected the structure and added info on the skill fail packet (0x110).
  3722. * Added packet 0x223 as clif_upgrademessage (not used yet).
  3723. * More work on Ticket #41. [FlavioJS]
  3724. 2007/03/15
  3725. * Added SC_CHANGEUNDEAD to differentiate it from the other elemental change
  3726. skills. It now fails on Undead/Dark elemental targets.
  3727. * Corrected party item share settings not being properly updated on logon.
  3728. * Corrected battle_attr_none setting applying to elemental attacks instead
  3729. of neutral ones. [Skotlex]
  3730. 2007/03/14
  3731. * Finished polishing the new mapcache system [DracoRPG]
  3732. - common/grfio.* now empty except zipping functions (to read mapcache)
  3733. - servers do not use .gat internally anymore
  3734. => YOU CAN (and should) STOP USING .gat IN YOUR SCRIPTS
  3735. - moved files for the mapcache builder to db/ for now
  3736. - the char-server now uses the same index list as the mapcache builder
  3737. => poring_c01, poring_c02 and ng_quest mapindex have changed, beware
  3738. * Updated sql files [Playtester]
  3739. * Adjusted @pvpoff, @gvgoff, @killer, @killable to make characters stop
  3740. attacking when used.
  3741. * Dispell no longer removes food boosts.
  3742. * Players will stop attacking when they change their look.
  3743. * Applied Alydis's fix to the mvp item logs logging mvp items even if the
  3744. player couldn't get the item.
  3745. 2007/03/13
  3746. * Corrected the new packet version entries for skilluseposinfo
  3747. * Corrected item reloading not unsetting the "delay consume" flag if the
  3748. item had changed it's type.
  3749. * the Attack_Type variable in skill_attack now inherits the damage.flag
  3750. properties, this fixes ranged status effects not triggering.
  3751. 2007/03/12
  3752. * Added player not attached crash prevention to countitem/countitem2.
  3753. * Probably corrected delitem not deleting pet eggs at all.
  3754. * Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites.
  3755. * Mob skill state "anytarget" no longer triggers when the mob has an
  3756. item-target (looting).
  3757. * @storage/@gstorage will no longer work if you have a trade or a storage
  3758. opened already.
  3759. * Corrected script command movenpc so it properly moves the ontouch npc
  3760. cells as well.
  3761. * Changed the unit-walk packet to be 0x86 as pointed out by FlavioJS. This
  3762. new packet is much smaller, and should greatly decrease bandwidth usage.
  3763. The only drawback is that the character will not display at all if the
  3764. client didn't know of it's existance previously, but eA should always be
  3765. sending a spawn packet when an object gets into/out of sight anyway, so
  3766. it should work correctly.
  3767. * Modified the guild master change ack packet to return the aid/cid of the
  3768. new guild master instead of the index where it was, the previous method
  3769. could cause problems in situations where the order of guild members would
  3770. not match exactly between char/map servers.
  3771. * Updated the Soul Linker's Rogue Spirit Stealth's speed bonus to +60%,
  3772. according to forum infor from ragnagate. [Skotlex]
  3773. 2007/03/09
  3774. * Mapcache can run on system with any endianness.
  3775. The generated file contains data in little endian.
  3776. * Added info on packet 0x86 (simple move packet). Not usable until a clear
  3777. separation between entering sight/leaving sight/walking in sight is done.
  3778. * Propagating const char* from the script engine.
  3779. * ".gat" is appended to the map name before sending the changemapserver
  3780. packet to the client. [FlavioJS]
  3781. * Normalized the mapname in guild get/set castle data, should fix guild
  3782. flags.
  3783. * Added log options 0x800/0x1000 to log storage moves ('R') and guild
  3784. storage moves ('G')
  3785. * Added upgrade_svn9976.sql to include 'R'/'G' on the picklog type column
  3786. set.
  3787. * Updated the logs_athena description to include the letter of each type
  3788. (512 - M, 32 - N, etc)
  3789. 2007/03/08
  3790. * Corrected the pet/homunc data not being free'd if the player logs out
  3791. before being authed.
  3792. * Initialized player's speed on pc_setnewpc to prevent homunculus copying a
  3793. speed of 0.
  3794. * Corrected ranged add-status only triggering if the attack is arrow
  3795. based.
  3796. * Updated counter add-status so they trigger on ranged attacks instead of
  3797. using "arrow_atk" state. [Skotlex]
  3798. * Here comes the new mapcache system! [DracoRPG]
  3799. - The last and only big "feature" (kind of cleanup in fact) you'll see
  3800. - Totally removes GRF/GAT handling from map-server that only reads from cache
  3801. - The cache now also contains map indexes, and is mostly zipped (1.5MB atm)
  3802. - It is shipped with eA => 100% client-independant, no more missing maps
  3803. - If you want to add custom maps, the mapcache builder is available, doc
  3804. and Unix Makefile coming as soon as possible (VC8 project only ATM :/)
  3805. - Removed now useless AFM/AF2 support, as well as the startup screen notice
  3806. 2007/03/07
  3807. * Corrected the define for NK no cardfix (def).
  3808. * Fixed the char sql server not escaping the server name before inserting
  3809. it on the ragsrvinfo table.
  3810. * Corrected @lvup not doing the party even share check.
  3811. * Corrected breaker's misc part not ignoring element.
  3812. 2007/03/06
  3813. * Added NK value 0x80: ignore target's cards (0x8 will now only ignore
  3814. attacker's cards).
  3815. * Corrected Soul Breaker ignoring target's cards instead of the caster's.
  3816. [Skotlex]
  3817. * Fixed an infinite loop if script name contains a single ':' [Toms]
  3818. * Simplified the Utsusemi/Bunsinjyutsu check to only block weapon skills
  3819. that do not ignore offensive cards. [Skotlex]
  3820. * Added support for the 2 new packet versions. [Zephiris]
  3821. * Fixed the loginlog's `user` column length (use upgrade_svn9957.sql)
  3822. 2007/03/05
  3823. * More tweaks to socket.c to simplify the code [ultramage]
  3824. - many generic cleanups - reformatting, useless code removal, etc
  3825. - made the mode_neg setting a compile-time decision, not a run-time one
  3826. - removed the silly frame_size setting (there since r1)
  3827. - added some TODOs to http://www.eathena.ws/board/index.php?showtopic=127988
  3828. * Added the +20hit that were missing the NPC elemental attack skills.
  3829. * Added support for autospells using "a random skill level". The last value
  3830. of bonus4 bAutoSpell is used for determining this as well as the target. &1
  3831. is to cast on target (otherwise cast on self), and &2 is to use a random
  3832. level UP to the level specified in the script (otherwise always cast the
  3833. specified level)
  3834. * Updated item_bonus.txt with the documentation for the
  3835. bAutoSpell/bAutoSpellWhenHit changes.
  3836. * Corrected @refresh not reupdating the basic stat bonuses.
  3837. 2007/03/03
  3838. * Modified a bit the storm gust counter code to see if it fixes storm gusts
  3839. sometimes freezing on first hit.
  3840. 2007/03/02
  3841. * Tatami Gaeshi state (proyectile blocking) now ends when you move.
  3842. * SG Union will consume now SP if you use it while not soul linked.
  3843. * Added variable "skip" to the mob spawn data, to know how many mobs to
  3844. skip when spawning because they were not removed due to the
  3845. "mob_remove_damaged" setting.
  3846. * Corrected the Hp/Sp regen formulas from Hp/Sp/Spirit Recovery and
  3847. Happy/Peaceful break according to recent forums discussions (formula is
  3848. changed from x*lv +max*lv/500 to lv*(x+max/500). [Skotlex]
  3849. * Added new script function: setiteminfo. Now you can make custom items [Lupus]
  3850. - Updated script function setitemscript(itemID,script,WhichScript)
  3851. now u can set one of 3 item scripts: use/update, equip, unequip
  3852. But it works only if the original item had 3 non empty scriptsin ITEM_DB
  3853. can't fix this issue yet
  3854. 1201,Knife,Knife,4,50,,400,17,,1,3,0xFE9F7EEF,7,2,2,1,1,1,1,{dispbottom "1";},{dispbottom "2";},{dispbottom "3";}
  3855. and... if u've used this function, later @reloaditemdb may crush the map server ^_-
  3856. - Check npc/sample/npc_test_setitemx.txt as example of setiteminfo & setitemscript
  3857. 2007/03/01
  3858. * Corrected raid not doing the "can hit?" check on splash area targets.
  3859. * Fixed the definition of warpwaitingpc so that it allows an optional
  3860. argument (number of people to warp).
  3861. * Modified the Palm Strike packet so the initial hit animation does not
  3862. displays "Miss".
  3863. * Added a check to prevent trades from being commited if either character
  3864. is in final-save state.
  3865. * Checked and cleaned up the online_check code in the char-server. Further
  3866. connections to the char-server are rejected when the account already has a
  3867. connection (previously this would happen only if there was already another
  3868. character IN game, not just waiting on the char-select screen). [Skotlex]
  3869. 2007/02/28
  3870. * Added the source and VC8 project for my experimental mapcache generator;
  3871. it is NOT compatible with eA's current mapcache but uses a brand new format
  3872. that I still have to embed into the map-server [DracoRPG]
  3873. 2007/02/27
  3874. * NPC_AGIUP now boosts flee by 100% and duration is 5+5*lv secs, as stated
  3875. on the Ragnarok Bible.
  3876. * Fixed Soul Breaker's misc part not ignoring flee.
  3877. * Fixed misc attack's flee check being backwards (the less hit%, the more
  3878. chance you had to connect)
  3879. * Corrected the range check in vending.c [Skotlex]
  3880. * Added map & distance check to vending to prevent WPE hacks. [Lupus]
  3881. E.g. buying items from WoE castle
  3882. * Fixed a compiler warning in char_sql\login.c
  3883. * Minor source documentation/cleanup. [FlavioJS]
  3884. 2007/02/26
  3885. * You are allowed to expel guild mates that are not online now.
  3886. * Corrected damage of BloodDrain
  3887. * Moved the "already connected" checks to pc_authok, since a dual login
  3888. doesn't needs to be checked until the new connection is accepted.
  3889. * You are allowed to attack/use skills now when your cloaking level is
  3890. below 3.
  3891. * Small change to Stone Curse that may fix the permanent "semi-stone"
  3892. status.
  3893. * Corrected "taming monster" having your skill-use be stuck if you cancel
  3894. the target selection process.
  3895. * config setting party_show_share_picker now displays the jname of the item
  3896. picked as well.
  3897. * Corrected some typos and small details
  3898. (forgotten bInfiniteEndure [r6487], mysterious '1' in help file, etc)
  3899. 2007/02/25
  3900. * Added Krade's makefile fix for 64bit compilers [ultramage]
  3901. - ref: http://www.eathena.ws/board/index.php?showtopic=136622
  3902. * Minor cleanup/documentation on the script engine. [FlavioJS]
  3903. 2007/02/24
  3904. * Fixed the mob_override_name setting not working on summoned mobs.
  3905. * The server now prints an error message when it the produce_db reaches the
  3906. max number of allowed produce recipes.
  3907. * The NK value of the skill_db has been made a hexadecimal value, and
  3908. expanded to include more information about a skill's damage properties: 0x8
  3909. ignore caster's cards, 0x10 ignore element adjustments, 0x20 ignore
  3910. target's defense, 0x40 ignore target's flee. Note that magic attacks
  3911. always ignore flee, and misc attacks always ignore defense.
  3912. * Autoguard will no longer work on skills that don't take in card
  3913. adjustments
  3914. * utsusemi & bunsinjyutsu no longer work on skills that don't take in card
  3915. adjustments.
  3916. * Corrected damage of the NPC elemental attack skills, Blood Drain and
  3917. Energy Drain
  3918. * Adjusted menu-based skills so you can't reuse the same skill until you've
  3919. dealt with the menu.
  3920. * Adjust autospells so that removing an autospell works when the script of
  3921. the card that removes the autospell is triggered before the script that
  3922. adds the spell.
  3923. * The "requested name of gm-hidden char" warning will not be displayed when
  3924. the object in question is an NPC (since you can use Intravision to do
  3925. this).
  3926. * Venom Knife no longer takes into accounts cards or EDP.
  3927. 2007/02/23
  3928. * Guild expulsion now will fail when the character to be kicked is in a
  3929. guild castle (rather than checking for the character doing the expulsion)
  3930. * pk damage reduction settings now will take effect only on Player VS
  3931. player damage.
  3932. * Fixed produce_db2.txt entries overwriting produce_db.txt ones.
  3933. * Fixed item-granted/plagiarized skills unlocking skill trees when only
  3934. your real learned level should. [Skotlex]
  3935. 2007/02/21
  3936. * Applied a consistent look to all header files (copyright, ifdefs)
  3937. * Minor stuff (typos, socket.c, junk in login reply packet) [ultramage]
  3938. 2007/02/19
  3939. * Fixed @cartlist info message typo [Lupus]
  3940. 2007/02/17
  3941. * Fixed a typo from r9778, allowing non-gm chars to use /kill [ultramage]
  3942. 2007/02/16
  3943. * Fixed the structure of packet 0x6d (new char info). It's the same as the
  3944. one used for packet 0x6b (chars info). [FlavioJS]
  3945. * Updated script commands startnpctimer, stopnpctimer, initnpctimer so you
  3946. can attach a player to them, this is done because the attach/detach
  3947. functions can't be used to attach to a different script than the one
  3948. currently running.
  3949. * Updated the script_command reference with the new flag values of
  3950. [start/stop/init]npctimer.
  3951. * Modified the "guardian" spawn script command, it no longer receives a
  3952. "amount" argument (since that only leads to trouble), if the class is
  3953. negative, it'll pick a random class the same way the monster spawn script
  3954. command does, and if you pass a spawn position with coordinates equal or
  3955. less to 0, a random spot in the map will be taken. However you can't use
  3956. "this" as a map name anymore since these script commands do not need an
  3957. attached player.
  3958. * Guardian spawning will now fail if you attempt to spawn a guardian that
  3959. already exists on the same position.
  3960. * Miracle of the Sun, Moon and Stars can now retrigger to lenghten it's
  3961. effect, and it is cancelled on warp/map-change. [Skotlex]
  3962. 2007/02/15
  3963. * Reverted some of my mobdb code
  3964. * Cleaned up clif_party_info a bit
  3965. * Cleaned up set_reg (the same procedure as get_val) [ultramage]
  3966. * The default packet version is now 8. Clients from November2006 and before
  3967. can no longer get past the char-server unless you change it back to 7.
  3968. * Fixed Storm Gust counter freezing on fourth hit instead of third.
  3969. * Fixed @homstats not taking into consideration that the stat growth
  3970. decimals get discarded on level up (so the real minimum/maximum displayed
  3971. was off).
  3972. 2007/02/13
  3973. * Applied Rayce's dangling pointer fix when returning a temporary npc
  3974. string variable (those starting with .@)
  3975. * Required Weapon, ammo, and skill state are now only checked on begin
  3976. casting, instead of both on begin and end casting.
  3977. 2007/02/12
  3978. * Fixed Resurrect Homunculus and Wedding skills failing. [Skotlex]
  3979. * A bit more work on Ticket #41.
  3980. * Added 'r' (variable reference) to the script argument definitions.
  3981. * Added a simple define for suspitious actions. (empty at the moment)
  3982. * Added clif_clearcart and moved sending cart packets to pc_setoption.
  3983. * clif_parse_ChangeCart checking the player level. [FlavioJS]
  3984. * Fixed clif_parse_GMmessage cutting off messages randomly [ultramage]
  3985. (due to a typo in revision r9778)
  3986. * Fixed Wand of Hermod
  3987. * Corrected Spider Web casting around caster instead of target's position.
  3988. * Corrected a possible crash during login due to checking for the incorrect
  3989. variable (lets pc_calc_status be invoked when it shouldn't)
  3990. * Added bounds checking to map_foreachincell.
  3991. * Opt2 values (poison, blind, and so on) are now resent on warp/map-change.
  3992. * Corrected description of isloggedin script command. [Skotlex]
  3993. 2007/02/11
  3994. * Fixed the inverted behavior of display_skill_fail, caused by r9823
  3995. * Fixed @loadnpc not updating the script_event[] array
  3996. 2007/02/10
  3997. * Fixed clif_party_message using an incorrect buffer length [ultramage]
  3998. * Cosmetic changes to the buildin section of script.c (use defines for
  3999. function names/definitions). [FlavioJS]
  4000. 2007/02/09
  4001. * Updated the 'unit walk' to functions so they stop your attack if it's
  4002. possible to walk.
  4003. * Fixed char server SQL not sending the guild info update to other map
  4004. servers when a new member is added.
  4005. 2007/02/08
  4006. * Modified Spider Web so it can instantly retrap a target, rather than
  4007. idling on the ground waiting for a new target.
  4008. * Cleaned up some the rude-attacked code, being attacked while under spider
  4009. web now triggers rude-attacked. [Skotlex]
  4010. * Added code for SQL that will automatically detect the ping interval
  4011. at startup, and copy-pasted it around the code; removed the conf setting
  4012. * Added a missing null pointer check in clif_parse_globalmessage
  4013. * Fixed the new socket code, which was triggering the inactivity timeout
  4014. on the servers' listening sockets
  4015. * Fixed the TURBO code not working since r4468 (parse func never called)
  4016. 2007/02/07
  4017. * More aggressive cleaning up of the socket code [ultramage]
  4018. - removed unused session_data2 entry in sd
  4019. - added a new create_session() function, helps keep things cleaner
  4020. (although it's ad-hoc and not perfect, since this is C)
  4021. - undid r4978 since it was getting in the way (re-add it if you need it)
  4022. - added defines for the recv, send and parse func pointers
  4023. - added null functions for the three actions, and made create_session()
  4024. calls use those instead of NULL pointers; insignificant penalty and now:
  4025. - since all three funcs are always initialized, removed all those NULL checks
  4026. - removed the efd set, since as the people from the developernet forums
  4027. pointed out, it's only for out-of-band data and NOT for error checking
  4028. (in fact, select() bails out without giving any info if it errors out)
  4029. - reorganized the randomly placed socket.c contents somewhat
  4030. - it'll be a miracle if this works like it should ^^;
  4031. * Modified spider web so that the skill_unit_db flag restrictions may take
  4032. place. [Skotlex]
  4033. * Cleaning up of the socket code [ultramage]
  4034. - Shuffled includes around for files that were leeching off of socket.h
  4035. - Added code that enforces standard shutdown behavior for sockets
  4036. - Wiped out the poorly written parse code from r2211
  4037. * Removed old script bonuses bMatk, bMatk1, bMatk2.
  4038. * Fixed char-server not sending online notification when a party member
  4039. logs in.
  4040. * When skill range by distance is set, the distance checked for is now 5
  4041. cells rather than 3.
  4042. * Fixed bMatkRate bonuses not applying to status earned modifications to
  4043. int/matk. [Skotlex]
  4044. * Removed deprecated console code.
  4045. * Moved CHAT_SIZE back to map.h because log_atcommand uses it on sql
  4046. builds. (moved to clif.c in r9811) [FlavioJS]
  4047. 2007/02/06
  4048. * Cleaned up the script engine's get_val() function [ultramage]
  4049. - changed the long if-spaghetti into a compact switch statement
  4050. - changed its behavior so that it exits if !sd and it requires one
  4051. - upon exiting, it will now ensure that meaningful values get returned
  4052. (the old code had no qualms about returning random junk from memory
  4053. for integer queries, and crashing for string queries)
  4054. - removed many !sd checks since they are done at the beginning now
  4055. * Fixed #lvup having the gm level check backwards.
  4056. * Fixed the stormgust freeze counter going up even if the attack is
  4057. blocked/cancelled.
  4058. * Cleaned up homunc attack request parsing. Homunculus no longer goes into
  4059. auto-attack (ctrl+click) mode since the client does every attack request
  4060. individually.
  4061. * Fixed char-server not sending party status update when a member logs
  4062. on/off.
  4063. * Fixed crash when parsing guild member information change from the
  4064. char-server if the specified character is not found in the guild.
  4065. * Fixed MvP mobs giving exp when killed even if they shouldn't.
  4066. 2007/02/05
  4067. * Fixed @lvup, #lvup not doing a stat reset and lowering your status points
  4068. if you had 0 status points at that time.
  4069. * Fixed MvP exp and item rewards being given even when the mob_dead flag
  4070. specifies you should not receive exp or items.
  4071. * Updated the code so that now a range of a skill is determined by the
  4072. skill's range in the db. Now only skills with less than 5 cells of range
  4073. are melee.
  4074. * The inf2 parameter of the skill_db is now red as an hexadecimal.
  4075. * The super novice self-revive angel will now trigger only once per
  4076. session, if you relog you can have it trigger again. [Skotlex]
  4077. * Fixed the skill tree not always updating when using @allskill
  4078. * Probably fixed the target-change on melee attack setting not working.
  4079. * Moved the deletion of the invincible timer when using skills so that it
  4080. is not deleted for skills such as Ashura (when just selecting a target)
  4081. [Skotlex]
  4082. 2007/02/03
  4083. * Continuing the checking of script buildin functions and stop the script
  4084. execution when an attached player is required but not found.
  4085. This task will be referenced as Ticket #41 from now on. [FlavioJS]
  4086. * Updated the TXT login server's account id checker
  4087. (it was still saying the minimum is 700000 instead of 2000000)
  4088. * Changed the 'getpartyleader' script command so that it returns a map
  4089. name instead of the useless mapindex number. Also fixed it so that it
  4090. doesn't throw a 'args of aFree is not valid pointer' error.
  4091. (although I'm not at all sure that the fix is correct)
  4092. Ref: http://www.eathena.ws/board/index.php?showtopic=137274
  4093. * Removed the silly and misleading 'firewall detected' message
  4094. * Added missing vc6 project file
  4095. * Corrected a lie in the script documentation [ultramage]
  4096. 2007/02/02
  4097. * Fixed the flag parameter not working on npcshopattach.
  4098. * Updated the walk delay code so that it parses homunculus as well as
  4099. players. What this means is that a homunculus walk request won't go ignored
  4100. if it's issued during the 'can't walk delay' after being hit.
  4101. * Added a possible crash protection in clif_skillfail when the player is
  4102. without a connection. [Skotlex]
  4103. * Fine-tuned the global message processing function [ultramage]
  4104. - now detects access-out-of-rfifo attempts (idea from eA++)
  4105. - uses the new CHAT_SIZE define to restrict message lengths
  4106. - detects Frost Joke/Dazzler and gives them more freedom (from Freya)
  4107. - more strict non-conformant message detection
  4108. - logging every problem to the mapserver console
  4109. * Resetting skills will now automatically remove peco, falcon, cart and
  4110. homunculus (vaporize).
  4111. * Fixed random mob picking choosing clones.
  4112. * Fixed critical spots that could be exploited [Skotlex]
  4113. - The define MESSAGE_SIZE was wrong! It is only used for input boxes.
  4114. Therefore now it is only used for Vending, Talkie box and Graffiti
  4115. - Added new define CHAT_SIZE which holds the max length that a client
  4116. can send from the chat buffer
  4117. - Added define msg_len_check which crops incoming client text if it's
  4118. longer than CHAT_SIZE. Added cropping to all incoming messages except
  4119. normal chatting which is already accounted for.
  4120. - Removed variable talkie_mes, this is now handled by sd->message
  4121. - Cleaned up parser functions for /b /lb, gm kick, /shift, /recall
  4122. - Added crash protection to the logging functions when they receive
  4123. a too long string.
  4124. 2007/02/01
  4125. * Restricted global messages to 255 characters (client shows only ~80 anyway,
  4126. wanted to use 127 but frost joke's lines are longer than that ...)
  4127. - prevented using a ~22+kB long message to crash everyone on screen
  4128. - prevented faking the message length to cause an out-of-bounds access crash
  4129. - removed the unneccessary 'buf'ffer (inspiration from jAthena)
  4130. - Ref: http://www.eathena.ws/board/index.php?showtopic=137770
  4131. * Corrected the chat system to allow 8-letter passwords
  4132. * Minor details (pdb file location, improved debug, npc typo) [ultramage]
  4133. * Cleaned up the npcshop(add/del)item script commands, fixed a possible
  4134. dangling pointer crash caused by their improper use of realloc. They no
  4135. longer automatically attach the script to the shop, and they will return
  4136. true/false based on whether the shop was found or not.
  4137. * Added script command npcshopattach to enable attaching/detaching your
  4138. script from any npc shop.
  4139. * Updated doc/script_commands.txt with entries for npcshopitem,
  4140. npcshopadditem, npcshopdelitem and npcshopattach [Skotlex]
  4141. * A followup to r9761, a header include that somehow didn't commit [ultramage]
  4142. * Item search is now a bit smarter. When no item is found with the same
  4143. 'aegis name', then the 'normal' name is used instead.
  4144. * Updated the @/# commands that take an item name so that you can use
  4145. quotes when specifying item names with spaces in them. For example, @item
  4146. "poring card" 1 will work now. Note that only the commands that work on ONE
  4147. item have been updated, those that do an item list need to be updated as
  4148. well. [Skotlex]
  4149. * Updated the old vs6 files to latest, thanks to k3dt for contributing them
  4150. * Reorganized the vs6 project files (update will follow)
  4151. * Fixed an accidental change in r9758 (edit&continue) [ultramage]
  4152. * Added support for mob skill target 'randomtarget', when specified, it
  4153. will pick a random enemy from within the skill's cast range. [Skotlex]
  4154. * Added string function strnlen [ultramage]
  4155. - This thing is useful for removing potential out-of-bounds crashes.
  4156. Had to #ifdef it because some systems implement it, some don't provide
  4157. the header, and some don't have it at all. Adjust/improve as neccessary.
  4158. * Corrected homunculus's aspd being halved after using some aspd adjusting
  4159. skill.
  4160. * Removed the log info message 'created homunc...', and the 'loaded homunc'
  4161. message will only show if the save_log is enabled.
  4162. * When when a party-member levels up, the level change is sent to the
  4163. char-server to update the even-share range values.
  4164. * When joining a gvg_dungeon, the pvp packet will be sent to signal
  4165. versus. With this gvg dungeons should be working correctly now. [Skotlex]
  4166. 2007/01/31
  4167. * Changes in the VS8 project files: [FlavioJS]
  4168. - synchronized the settings between the projects
  4169. - joined all .h and .cpp files and grouped them based on the src subfolder
  4170. - added Debug/Release build targets that build txt/sql only
  4171. - other minor changes
  4172. * Removed graph, httpd and webserver
  4173. * Wiped out the old night code (use svn if you want it) [ultramage]
  4174. 2007/01/30
  4175. * 'Long Range Attacked' mob skill conditions will no longer trigger on
  4176. magic attacks.
  4177. * Corrected char deletion not working (column is called homun_id, not
  4178. hom_id...)
  4179. * Collapsed config settings produce_item_name_input,
  4180. produce_potion_name_input, making_arrow_name_input, holywater_name_input,
  4181. cdp_name_input into a single config produce_item_name_input which uses
  4182. bitmasks to determine what it affects.
  4183. * Updated arrow_decrement to have 3 possible values: Disabled, Enabled, and
  4184. Enabled + Autoguess (gives arrow consumption as appropiate to
  4185. plagiarized/acquired skills).
  4186. 2007/01/29
  4187. * Corrected the homunculus deletion functions so that the homunculus is
  4188. deleted together with the character.
  4189. * Added npc_check_areanpc so that Wand of Hermod will correctly check for
  4190. nearby warps.
  4191. * Emergency avoid now stacks with other speed boost statuses
  4192. * Item skills and skills that bring up a menu now are cleared on death.
  4193. [Skotlex]
  4194. * Added a nasty hack to prevent multilanguage clients from breaking guild notices
  4195. 2007/01/27
  4196. * Made @reloadscript wipe ALL previous mobs that the script engine spawned
  4197. - this way it is manageable via global vars; the other way doesn't allow that
  4198. * Some misc cleanups (typos, formatting, forgotten changelog entry etc)
  4199. * Reformatted and translated atcommand.c
  4200. - in the process improved @marry, allowing spaces after the first comma
  4201. * Simple cleanup
  4202. - removed atcommands @w, @server_date/time, @red, @happyhappyjoyjoy, @shuffle
  4203. - synced gm level of @jailfor, @charjailtime, @npcmove, @chardropall,
  4204. @charstoreall, @send, @mute, @changelook, @exp and @nuke
  4205. - added conf entries for @whozeny, @kamic, @tonpc, @petid, @identify, @adopt,
  4206. @trade, @changelook, @send
  4207. - reorganized the atcommand_athena.conf file a bit
  4208. * Corrected indentation of the atcommand table (editor compatibility)
  4209. * BEGIN atcommand cleanup process
  4210. (according to http://www.eathena.ws/board/index.php?showtopic=111996)
  4211. * Fixed a C language restriction preventing compilation [ultramage]
  4212. 2007/01/26
  4213. * Removed all those useless read-from-GRF features noone would ever use,
  4214. also removed cutincard script command as a consequence [DracoRPG]
  4215. - this is only the beginning of full grfio disparition from map-server
  4216. * Now assassins can equip arrows, and status arrows trigger on any ranged
  4217. physical attack: mimics Grimtooth + status arrow "Aegis bug" [DracoRPG]
  4218. * Added some random Storage Password packets thingies [DracoRPG]
  4219. * Kaite and Assumptio no longer stack. One will remove the other in the
  4220. same way Assumptio and Kyrie do.
  4221. * Made homunculus renaming go through the char-server so it can be
  4222. validated against the allowed characters setting.
  4223. * Added battle config hom_rename so you can enable renaming multiple times
  4224. your homunc.
  4225. * Fixed the normalizing function not sending first classes back to novice
  4226. if they do not have basic skill maxed.
  4227. * Added a wrapper to delete_timer so it prints out from where the
  4228. invocation was done.
  4229. * Fixed Splash attacks consuming 2 ammo on each attack. [Skotlex]
  4230. * Added some more freedom for the txt log paths since 32 wasn't enough
  4231. * Removed log_uptime that was accidentally introduced in r1208 [ultramage]
  4232. 2007/01/24
  4233. * Cleaned up some more the Joint Beat implementation, so the status don't
  4234. take effect until the attack connects. [Skotlex]
  4235. 2007/01/23
  4236. * Fixed int/dex foods using an incorrect icon for their status [ultramage]
  4237. * Changed the night status from 149 to 160, which seems to work so much
  4238. better, and also enabled simplifying the night code.
  4239. * A skill's walk delay will also delay your can-attack time when the skill
  4240. connects, since this is the behaviour of Sonic Blows as described by
  4241. Tharis.
  4242. * Added view_data support to mercenary.*, so that the Homunculus entries
  4243. are no longer required on the mob_db.
  4244. * Added the status icon to NPC_CHANGEUNDEAD and the Flee/Hit foods.
  4245. * Corrected the check that lets you walk when vending/chatting/etc.
  4246. 2007/01/22
  4247. * Reverted the battle_calc_return_damage code as the previous one was
  4248. correct, ninja self-targetted skills CAN be reflected. [Skotlex]
  4249. 2007/01/21
  4250. * Fixed while statements not "reserving" the curly before parsing the test
  4251. expression. [FlavioJS]
  4252. 2007/01/20
  4253. * Fixed some joker's code trying to dereference a null pointer
  4254. * Fixed the server not reacting properly to atcommands/charcommands when using
  4255. langtype 10/11 (the |XY codepage indicator wasn't being trimmed) [ultramage]
  4256. * Updated @homshuffle so that the skill tree and current skill points are
  4257. not messed up.
  4258. 2007/01/19
  4259. * Fixed the label dup code, it now works correctly with const.txt switch
  4260. labels.
  4261. * Reverted the dup-label check code since it has a bug that needs to be
  4262. fixed first (it fails to recognize const.txt values) [Skotlex]
  4263. * Fixed a client crash during SQL char selection if you for some reason had
  4264. more than 9 characters in your account (thanks to Daegaladh) [ultramage]
  4265. - note that the TXT version already guards against this since long ago
  4266. * Merged Rayce's cleanups of the script engine that account for duplicate
  4267. labels, non-numeric labels and makes the engine case-insensitive towards
  4268. keywords like if/case/switch/etc/
  4269. * Added the icons for the Food boosts (need packet version 8 to get them,
  4270. as these icons will just display Gloria, or crash you, when used on older
  4271. clients).
  4272. 2007/01/18
  4273. * Modified the Storm Gust freeze counter code. It now takes into
  4274. consideration the ID of the skill before increasing the counter, which
  4275. should effectively yield the closest aproximation to official (even though
  4276. the counter will reset if you step out of a SG and into another one, we do
  4277. not know yet what should happen in such a case).
  4278. * Added @homshuffle. It recalculates the homunculus stats, as if the homunc
  4279. was sent back to level 1, and then releveled. This command is mean to help
  4280. fix those previously created Homunculus that are much stronger than they
  4281. should be.
  4282. * Fixed overflow on the mob delay adjustment setting.
  4283. * Fixed characters being unable to trade again if you attempt a trade on
  4284. someone who is on storage/npc when you accept the trade. [Skotlex]
  4285. * Fixed a crash when a castle from [0..MAX-1] wasn't in the db [ultramage]
  4286. 2007/01/17
  4287. * Corrected atcommand @homstats so it shows the correct minimum/maximum
  4288. possible values.
  4289. * Simplified the hom level up function, now decimal stats are no longer
  4290. stored. This should correct eA's homunculus on average being much stronger
  4291. than Aegis's.
  4292. * Cleaned up pc_allskillup, @allskills should work correctly now.
  4293. 2007/01/16
  4294. * Added atcommand @homstats so you can check your homunculus stats and
  4295. compare them to the minimum/maximum values that you could have at your
  4296. current level. This command is meant to help figure out if homuncs are
  4297. indeed getting a faster stat growth than they should have.
  4298. * Fixed the next invoked skill after AbraCadabra not having requirements
  4299. even when it is a different skill than the one chosen by AbraCadabra.
  4300. * Implemented Intravision as it should be. Thanks to HelloKitty2 for the
  4301. captured packets.
  4302. * Some cleaning on the mob_ai to enable mobs to run away from their current
  4303. target when they are rude-attacked by them.
  4304. 2007/01/15
  4305. * The NPC elemental attacks will display a skill animation again.
  4306. * Mob instant cast skills will use their adelay now.
  4307. * Spirit of Wizard won't work on Ganbantein
  4308. * The pc normalize job function will consider you as novice if you don't
  4309. have maxed out basic skill.
  4310. * Cleaned up pc_calc_skilltree and related functions so that the id is left
  4311. as 0 when you can't raise the skill even if you meet the prerequisites.
  4312. This is to prevent raising quest/soul/marriage skills through packets.
  4313. * Slaves should lock unto their master's target even if they are not
  4314. attacking yet (eg: in chase mode)
  4315. * Updated the Summon Slave skill to use the slave distance define as valid
  4316. distance to spawn from master.
  4317. * Fixed Joint Beat's speed penalty.
  4318. * Added a pc_authok check to prevent the case in which somehow another
  4319. character of the same account manages to log in as well.
  4320. * The pc normalize job function will now recognize you as a novice if you
  4321. don't have NV_BASIC maxed.
  4322. * Accessories will now by default go into the rigth-side rather than the
  4323. left-side of the equip window.
  4324. * Added a check in the mob_ai_subhard function to make mobs unlock targets
  4325. which have their invincible timer set.
  4326. * Probably fixed the registration flood protection code being broken.
  4327. * Joint Break should only re-start the bleeding timer when it currently IS
  4328. the one that causes bleeding. [Skotlex]
  4329. 2007/01/12
  4330. * Cleaned up the ip rules/DDoS section of the code. (the allow,deny and
  4331. deny,allow cases were switched)
  4332. * Fixed autotrading characters not being able to reconnect. Seams like I
  4333. misunderstood how id_db and pc_db are used. [FlavioJS]
  4334. 2007/01/11
  4335. * Fixed the script engine not parsing strings in multibyte charsets
  4336. correctly (should have been done in r9532).
  4337. * Console plugin working when built as Windows native. [FlavioJS]
  4338. 2007/01/10
  4339. * Combined most of the txt/sql mobdb reading code [ultramage]
  4340. - mob.c is now some 10kB less redundant (now using a common function)
  4341. - automatically filled in some missing parts of the txt part
  4342. (view_range_rate, chase_range_rate, line counting, etc)
  4343. - also cleaned it up significantly
  4344. 2007/01/09
  4345. * Changes to script buildin functions: [FlavioJS]
  4346. - functions checking if a player is attached as soon as possible.
  4347. - functions that required a player attached and would crash if none was
  4348. there terminate the script now. (others keep the current behaviour to
  4349. maintain full backward compatibility)
  4350. - removed the unused flag argument in guildskill.
  4351. - bonus,bonus2,bonus3,bonus4 use the same function now (remains the same
  4352. script-wise)
  4353. - added an optional parameter to setcart,setfalcon,setriding so it's
  4354. possible to remove the cart/falcon/mount or select a specific cart
  4355. - other cleanups
  4356. 2007/01/08
  4357. * Hotfix: Freeing of freed pointer when replacing script functions. [Lance]
  4358. * Unimportant cleanups
  4359. * Moved the plugin.def file to the plugins dir and added console.def
  4360. * Found the reason why the console didn't want to run on windows
  4361. (Microsoft uses !0 and unix uses 0 in pipe_create)
  4362. * Commented out a login_log call (sql doesn't implement that function!)
  4363. * Fixed an old debug message displaying %d instead of a number
  4364. * Silenced the plugin export messages during startup [ultramage]
  4365. * Added a precompiler error when the shutdown defines are not found.
  4366. * Added parse_console to the plugin API.
  4367. * Added plugin for parsing the console. (working with cygwin)
  4368. * Copied the parse_console code form login txt to login sql and char.
  4369. * Added proper plugin version compatibility tests.
  4370. * Better output when a plugin fails to load. [FlavioJS]
  4371. 2007/01/07
  4372. * Fixed the sleep timers not being removed when the an npc was being
  4373. unloaded and when reloading scripts. [FlavioJS]
  4374. * Updated the documentation to match the agitcheck() behavior
  4375. * Undid the memset->malloc_set replacement
  4376. (let's be compatible and leave such optimizations to system devs, ok?)
  4377. * Small reformatting of conf-tmpl
  4378. * Renamed atcommand_sub to is_atcommand_sub (charcommand too)
  4379. * Re-added the duplicit nj/gs name messages in msg_athena [ultramage]
  4380. (the code was using those and they look better in that position)
  4381. 2007/01/06
  4382. * Now winsock 2 is required.
  4383. * Cleaned up do_close and socket_init a bit.
  4384. * Fixed the weight icon dissapearing and reappearing when attacking.
  4385. (introduced by me at r9600, fix based on ultramage's code) [FlavioJS]
  4386. 2007/01/05
  4387. * Also discarded some veeery old utils code that has got equivalents
  4388. in the std libs (and therefore is silently causing a nasty collision).
  4389. * Major reconfiguration of the VS8 project files. [ultramage]
  4390. - Removed the migration binding to a VS71 template.
  4391. - Disabled the setting that defines char -> unsigned char (non-conformant).
  4392. - Switched all projects to use the common C runtime library DLL
  4393. instead of linking the static version to each exe.
  4394. - Enabled edit&continue on the TXT version (SQL already had it).
  4395. - Reconfigured the linker to use only the really required dependencies.
  4396. - Enabled full optimization and whole program optimization,
  4397. with additional speed-improving settings for the release build.
  4398. - Set the compiler/linker to produce detailed debug information even for release builds
  4399. (no performance penalty because the debug info is stored in a separate .pdb file!).
  4400. - I tested all 4 build combinations and it works for me, and it should work for you.
  4401. - There is still one very useful thing missing - setting the working dir to '..'.
  4402. I don't know how to do that, tho' since VS stores it in a separate user file.
  4403. 2007/01/04
  4404. * Fixed old @go bug (it ignored einbech) [Lupus]
  4405. * Added Au{R}oN's updated version of the effect list.
  4406. * Completed adding of the new cities to @go.
  4407. > that function is ugly and needs a complete rewrite, asap.
  4408. * Updated thor volcano warps.
  4409. * Updated /doc from jAthena. [ultramage]
  4410. 2007/01/03
  4411. * Added Rachel and Veins to the list of @go destinations.
  4412. * Added a first approximation of warps for the new maps (by $ephiroth).
  4413. * Now the server will by default perform symmetric adding of friends. [ultramage]
  4414. > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749)
  4415. * Fixed TURBO FIFO defines.
  4416. * Moved refusal of a known packet versions to clif_parse_WantToConnection
  4417. and made it check for non-player object with that id.
  4418. * JK_JOINTBEAT as described in:
  4419. http://www.ragnainfo.net/wiki/index.php/Vital_Strike
  4420. Although not clear, it's being assumed that the 2x damage is only for the
  4421. break neck ailment. [FlavioJS]
  4422. * Modified the useless error message in atcommand_effect.
  4423. * Silenced the debug message in socket.c that's been freaking people out.
  4424. * Added support for text/comments at the end of monster spawn lines (<tab> required)
  4425. * Added the official behavior of monsters regaining full hp when they morph.
  4426. > info at http://www.eathena.ws/board/index.php?showtopic=130103
  4427. * Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements for soullinked skills.
  4428. > TODOs at http://www.eathena.ws/board/index.php?showtopic=130788
  4429. * Re-applied change r9593 that got accidentally reverted by r9595. [ultramage]
  4430. 2007/01/02
  4431. * Fixed SC_JOINTBEAT not doing crit damage for the Neck Break ailment.
  4432. * Gospel sends the buff message to the affected player. [FlavioJS]
  4433. 2006/12/31
  4434. * Made HSCR bypass both Guard and Shield Reflect using the dirty way [DracoRPG]
  4435. > cleaner way would need to rethink the whole skill's implementation
  4436. * Added more info when npc_scriptcont tries to continue a different script.
  4437. * Refer to http://www.eathena.ws/board/index.php?showtopic=130285
  4438. - Renamed pc_checkweighticon to pc_updateweightstatus and cleaned it.
  4439. - Updated pc_is50overweight to use battle_config.natural_heal_weight_rate.
  4440. - Added 90% weight check when attacking.
  4441. * Updated getitem and guardian entries in script_commands.txt.
  4442. * Fixed getitem trying to get <character ID> from the wrong argument.
  4443. * Now getitem can be run on scripts without a player attached if
  4444. <character ID> is specified.
  4445. * Now the two last arguments of guardian are optional and independant of
  4446. each other ("<event label>" and <guardian index>). This way the previous
  4447. implementation and script_commands definition are still valid code.
  4448. * Now buildin function names and argument definitions are checked for
  4449. validity before adding the function to the script engine.
  4450. Argument definitions follow the pattern: (v|s|i|l)*\?*\*? [FlavioJS]
  4451. 2006/12/30
  4452. * Reverted the packet structure changes to mmo_char_send006b in r9588 (was
  4453. using the wrong exe for the final tests) except for the bug that I was
  4454. originally fixing. [FlavioJS]
  4455. 2006/12/29
  4456. * Skill use is now cancelled when you use it while cloaking, and the
  4457. uncloaking process warps you. [Skotlex]
  4458. 2006/12/28
  4459. * Reapplied Skotlex's socket.c changes from r9587 and r9582. :S
  4460. * Part 3 of TheUltraMage's socket cleanup.
  4461. * Fixed the packet structure in mmo_char_send006b for PACKETVER 8.
  4462. * Removed search_str from add_str (add_str already searches for the
  4463. string).
  4464. * Native script words like do,while,for,... are case insensitive now.
  4465. * Changed SCRIPT_HASH_SIZE to 1021 (prime hash sizes give better
  4466. distributions).
  4467. * Added alternative hash implementations to the script engine (to try out
  4468. later). [FlavioJS]
  4469. * Added a func_parse invocation when an invalid socket is found, so that
  4470. the underlying code (char/map/login) can handle it and free any related
  4471. resources.
  4472. * Added some skill effect packets so it displays a generic effect for
  4473. unknown targetted skills.
  4474. * Some cleaning in do_sendrecv, added error messages when handling an
  4475. incorrect socket. [Skotlex]
  4476. 2006/12/27
  4477. * Fixed Super Novice 99%+ invincibility triggering when
  4478. the character dies in a GvG area. [blackhole89]
  4479. * Updated SQL Files [Toms]
  4480. * Fixed a bug which makes the group heal bonus be applied as many times as
  4481. the item is in that group.
  4482. * Applied Rayce's suggestion to improve the script hash size usage. eA now
  4483. uses a hash of 1024.
  4484. * Full Buster's auto-blind chance is now reducable by stats/items.
  4485. 2006/12/26
  4486. * Updated Charge Attack's damage equation as per the only source I've seen
  4487. of it so far.
  4488. * Now Guardians/Emperium can't hit /be hit if their current map isn't a
  4489. gvg_castle or woe is off. This enables "localized" WoE by removing/setting
  4490. the mapflag gvg_castle on the castles where you want WoE to take effect
  4491. (note that even though normal players can't be hit on non gvg_castle maps,
  4492. normal mobs can still be killed in such maps, you'd still need to modify
  4493. the WoE scripts to use this kind of feature)
  4494. * TK_MISSION will now pick any mob from the DB as long as it is not a boss
  4495. type and it gives base exp.
  4496. * Fixed the double-stone issue when hitting a petrified character.
  4497. [Skotlex]
  4498. 2006/12/25
  4499. * Fixed buildin_getscrate, thanks Trancid.
  4500. * Applied part 1 of TheUltraMage's socket cleanup.
  4501. "Basically what I did was perform simple one-liner substitutions for
  4502. ugly repetitive blocks of code. The most apparent are the send/recv
  4503. code and the other basic socket calls."
  4504. * flush_fifo is non-blocking now. I guess best effort is good enough...
  4505. * Copied header files from vcproj-7.1 files to vcproj-8 files.
  4506. * Applied the rest of Rayce's suggestions and fixes
  4507. (http://www.eathena.ws/board/index.php?showtopic=129185)
  4508. * warn_cmd_no_comma, warn_func_no_comma, warn_cmd_mismatch_paramnum are
  4509. now warn_func_mismatch_paramnum and it only prevents showing the error,
  4510. as it was probably intended in the first place. (correct me if i'm wrong)
  4511. * Merged the parsing of function calls in the script engine, removing the
  4512. parse_cmd hackery, and made "heal (.@val+rand(0xff))&0xff,0;" valid
  4513. again. [FlavioJS]
  4514. 2006/12/24
  4515. * Small fix for changeset 9539 (support for PACKETVER above 7) [KarLaeda]
  4516. 2006/12/23
  4517. * Fallback for parenthesis argument lists in the script engine.
  4518. "func (exp) , ..." is valid again.
  4519. * Moved "#include <limits.h>" to cbasetypes.h to ensure it's included
  4520. before checking if UINT_MAX has been defined.
  4521. * Minor changes in pc_readdb related to max_level being unsigned.
  4522. [FlavioJS]
  4523. 2006/12/22
  4524. * Simplified function agitcheck so it isn't crash prone. Now it takes no
  4525. arguments, and will return whether WoE is on or not.
  4526. * Now when you specify a max level beyond what the exp table has, the last
  4527. entry of the exp table will be duplicated to fill in the remaining levels.
  4528. [Skotlex]
  4529. * Change strncpy to memcpy when parsing switches in the script engine
  4530. since it's guaranteed to be a word of that size (skip_word).
  4531. * Made scriptlabel_db duplicate the key. When str_buf is reallocated, the
  4532. keys in scriptlabel_db could become invalid, causing a crash in
  4533. npc_convertlabel_db.
  4534. * Now npc_convertlabel_db clears scriptlabel_db after using it.
  4535. * parse_script has an extra parameter options. At the moment it only
  4536. indicates if scriptlabel_db should be used or not.
  4537. * Fixed "UINT_MAX undeclared" on systems that don't declare it in limits.h
  4538. [FlavioJS]
  4539. 2006/12/21
  4540. * Applied Rayce's suggestions and fixes to the script engine
  4541. (http://www.eathena.ws/board/index.php?showtopic=129185)
  4542. * Some cleaning to the character deletion code.
  4543. * Changed a certain snprintf to strncpy, which should fix the problems with
  4544. parsing switches in the script engine.
  4545. * Added back cropping the attack delay to attack motion for those weird mobs
  4546. that have a aDelay less than their aMotion time. [Skotlex]
  4547. * Added a 1-node cache to db. Removed party_cache and guild_cache since
  4548. now the database has a cache.
  4549. * Fixed "warning: comparison is always false due to limited range of data type"
  4550. by restricting script words to ASCII characters only.
  4551. * Moved md5calc to common. [FlavioJS]
  4552. 2006/12/20
  4553. * Fixed ISSPACE and ISALPHA casting their returned value to a char, which
  4554. can really mess up the scripting engine when the returned value is true,
  4555. yet casted to false.
  4556. * Moved the strip unequip code to before deleting the timer, this fixes
  4557. trying to "re-strip" someone causing the skill to fail and on top of that
  4558. terminate their current strip effect.
  4559. * Reading of TK Mission variables will now happen if you are a TK-class
  4560. character regardless of whether you know TK_MISSION or not. Should fix
  4561. being able to reset skills to reset your Mission data.
  4562. * Added an ugly work around to the issue of skills with additional effect
  4563. causing opt1 status when they have just terminated them (in short, you
  4564. shouldn't be able to hit someone with, say, sleep, and then have the same
  4565. skill cause them stun, since both are opt1 values). [Skotlex]
  4566. * Now root script functions calls can have parenthesis (will take any
  4567. parenthesis after the function as the start of the argument list).
  4568. - This means "func (exp),exp;" isn't valid anymore.
  4569. * Replaced our fix for "mes ();" crashing by jA's version.
  4570. * Merged the fix for & having the same precedence as << and >> from jA.
  4571. * Merged the C_OP3 operator from jA: test ? if_true : if_false
  4572. * Changed the script source from unsigned char* to const char*.
  4573. * Updated plugins Makefile. [FlavioJS]
  4574. 2006/12/19
  4575. * Reverted the mob ThinkTime update, that field is again aDelay as it
  4576. apparently should be. [Skotlex]
  4577. * Cleanups or minor changes.
  4578. * Now addtick_timer invokes settick_timer, so keep an eye for whatever
  4579. timer issues it's supposed to have.
  4580. * Removed the flush_fifo from clif_parse_TickSend until the socket
  4581. problems are fixed. [FlavioJS]
  4582. 2006/12/18
  4583. * Updated POS2 macros. The 6th byte is subx0 and suby0. [FlavioJS]
  4584. * Added hom_setting to specify which homunculus 'quirks' are in effect. The
  4585. default activates all of them, if you set them to 0 then homuncs will not
  4586. be treated in any special matter, pretty much like standard mobs. if I
  4587. missed any 'quirky' homunc behaviour from it, report it so it can be added
  4588. to the list.
  4589. * Made flooritem_lifetime a int so you can specify much longer life times
  4590. (the default of 60k was already very close to the max of 65k)
  4591. * Removed monster_ai 0x80 since it's now handled by hom_setting.
  4592. * When walking into a Guild Dungeon your pvp_points will be set to 5 so you
  4593. have to die twice before being warped out.
  4594. * If jobchanging while disguised, the disguise will be removed, since it
  4595. can't be kept and still calculate correctly the new job class to use.
  4596. * Fuuma shurikens are now unbreakable code-wise (like all maces, books,
  4597. etc)
  4598. * Applied Meruru's patch to increase speed of easy path seeks. [Skotlex]
  4599. * Cosmetic changes to db.
  4600. * Fixed the unused MAPINDEX_AUTOADD section in mapindex.c (mapindex.h
  4601. wasn't being included) [FlavioJS]
  4602. 2006/12/16
  4603. * Moved packet_len_table values to packet_db[SERVER].
  4604. * When an invalid packet_ver is found, all it's entries are discarted
  4605. intead of just stopping the parsing.
  4606. * Increased MAX_PACKET_DB to 0x300 and added a warning for when packet ids
  4607. greater than MAX_PACKET_DB are found. [FlavioJS]
  4608. 2006/12/15
  4609. * There will be now warnings printed when a shop sells an item which's buy
  4610. price is 20z, since those usually are "rare" items with no buyying price
  4611. set. Note that this reports one fake, and that is the selling of a certain
  4612. shuriken that indeed costs 20z.
  4613. * Most likely fixed client crash when xmas/wedding status runs out.
  4614. 2006/12/14
  4615. * Removed "mobs being enemies of each other all the time" because, even
  4616. though mobs can hit each other as they should, they will refuse to use
  4617. support skills on enemies, which breaks several of their skills. Mobs can't
  4618. both help and attack someone tagged as enemy!
  4619. (I guess eA is just too smart to emulate Aegis's sloppy coding)
  4620. * Cleaned up the strip code (GS_DISARM, rogue skills).
  4621. * Cleaned some the MD_DETECTOR code.
  4622. 2006/12/13
  4623. * Additional damage bonuses (True Sight, EDP, Assassin Link, Crusader Link,
  4624. Card skill damage bonuses) are now applied independently of each other,
  4625. which lets them stack. [Skotlex]
  4626. * Modified flush_fifo so the code do what is written in the comment [Toms]
  4627. * Modified flush_fifo so you can decide whether to block the current thread
  4628. or not until the data is sent. The server-tick reply no longer blocks the
  4629. current thread.
  4630. * Fixed mobs being unable to attack anything...
  4631. 2006/12/12
  4632. * Reverted the knockback update since it isn't working right with all
  4633. skills.
  4634. * Mobs now by default are "everyone's" enemy, so mobs are able to hit each another.
  4635. * Moved "unsetting" the angry mode from the mob_ai to the mob_damage
  4636. function, where it'll work regardless of who hits the mob.
  4637. * Modifed a bit the clif_change_look function, it should fix crashes with
  4638. the Xmas sprite when changing maps.
  4639. * Fixed skills displaying a 32k damage when used while disguised. [Skotlex]
  4640. * Minor changes to ers.
  4641. * Removed unused/hardly used cbasetypes typedefs.
  4642. * Updated txt-converter's makefile to include utils.o [FlavioJS]
  4643. * Updated npc_event_dequeue to free up your current npc information, and
  4644. not just the npc_id.
  4645. * Modified the skill damage packet and the knockback packets to mimic aegis
  4646. sent packets for such skills.
  4647. * Removed CART_MASK as OPTION_CART can take care of that.
  4648. * Moved the OPTION_MASK define to status.h
  4649. * Reverted the knockback implementation to use clif_slide instead of
  4650. clif_fixpos [Skotlex]
  4651. 2006/12/11
  4652. * Added various missing checks when parsing several guild actions.
  4653. * made @hominfo display the six basic stats.
  4654. * Simplified the MD_DETECTOR checks, since now all insects/demons have it
  4655. set, and it's no longer needed to check for the race. [Skotlex]
  4656. * Updated sql files [Playtester]
  4657. * Spirit of Sin and Enchant Deadly Poison now stack.
  4658. * Fixed skill damage card bonuses not working on magic skills.
  4659. * Moved the setting of sd->npc_id = 0 in npc_dequeue to the beginning,
  4660. since this function is called when a script is cancelled
  4661. * Made homunc's speed be recalculated when you respawn it from rest state.
  4662. [Skotlex]
  4663. * Fixed @revive not reviving the good char [Toms]
  4664. 2006/12/10
  4665. * Added more helpful messages when packet_ver=-1.
  4666. * Joined normal and MINICORE's main function.
  4667. * Put malloc_init() first and malloc_final() last as it's needed for Show*
  4668. in display_title(). [FlavioJS]
  4669. 2006/12/09
  4670. * Reversed revision #9415 (messages with server_tick field being sent as
  4671. soon as possible) since it didn't fix the client synchronization issue.
  4672. * clif_parse_TickSend is sent immediately so the client gets accurate
  4673. "pings". [FlavioJS]
  4674. 2006/12/08
  4675. * Now you can request a trade regardless of the state of the target trader.
  4676. [Skotlex]
  4677. * The trade will now fail when you accept it and either character is
  4678. speaking with an npc, vending or has the storage open. [Skotlex]
  4679. * Fixed crash when looters became full. [Skotlex]
  4680. * Autospell delay time is now the skill's full delay. [Skotlex]
  4681. 2006/12/07
  4682. * Fixed ladmin's linux compilation and moved some platform specific
  4683. defines to cbasetypes.h [FlavioJS]
  4684. * Cleaned up implementation of NPC_EMOTION/NPC_EMOTION_ON. Now val0 is the
  4685. emotion, val1 sets the mode, val2 adds to the mode, val3 removes from the
  4686. mode. val4 asks to remove the previous mode change, otherwise it will stack
  4687. with the changes from the previous skill call. [Skotlex]
  4688. * Updated the mob skill reading code so it accepts hexadecimals in the
  4689. 'val' fields. Also, it will optimize the NPC values so that when you set a
  4690. mob's mode to their db mode, it will just remove the previous mode.
  4691. [Skotlex]
  4692. * NPC_EMOTION_ON will now automatically move it's new mode to val2 since it
  4693. should add a mode, and if this mode doesn't has the aggressive bit, it will
  4694. remove it. See this "ancient" hypothesis on how NPC_EMOTION_ON should work
  4695. for the details: [Skotlex]
  4696. http://www.eathena.ws/board/index.php?showtopic=63606
  4697. * Fixed npc commands atcommand & charcommand not working with a custom
  4698. command_symbol [Toms]
  4699. 2006/12/06
  4700. * Changed the order of view-change packets for SC xmas/wedding, should fix
  4701. crashing if you change into xmas suit while in fighting stance. [Skotlex]
  4702. * Renamed the mob mode Cast-Sensor Melee to Cast-Sensor idle since these
  4703. mobs really should only be cast-sensing when they are not after another
  4704. target. [Skotlex]
  4705. * Added a Aegis Mob Type -> eA Mode table conversion to the mob modes doc.
  4706. [Skotlex]
  4707. * Updated sql-files [Playtester]
  4708. * Gave a minimum think time to the dummy mob and to clones. [Skotlex]
  4709. * Moved setting a mob's chase/attack states from the mob_ai to unit_attack
  4710. and unit_walktobl for better state-handling precision. [Skotlex]
  4711. * Cleaned the change-target/cast-sensor code to account for the new mob
  4712. modes. [Skotlex]
  4713. * Updated the doc explaining mob modes. [Skotlex]
  4714. * When GM skill unconditional is set, the arrow state of the skill will be
  4715. calculated, this fixes all skills getting stuck on arrow-type after you
  4716. attack normally. [Skotlex]
  4717. * Alchemist famous potions get their 50% bonus on top of the natural
  4718. bonuses as a 1.5x type of bonus. In other words, now alchemist potions
  4719. will really heal 50% more than when you use the non-famous potion
  4720. version.
  4721. [Skotlex]
  4722. * Messages with server_tick field are sent as soon as possible now.
  4723. This might fix client synchronization issues.
  4724. * Added StringBuf_Vprintf to utils.c and changed the showmsg.c buffer.
  4725. Now it uses a static buffer and a StringBuf when needed (a debug message
  4726. indicating the static buffer needs to be increased is shown). [FlavioJS]
  4727. 2006/12/05
  4728. * The can log value now is "reset" when you die allowing you to
  4729. respawn/quit instantly after death. [Skotlex]
  4730. * Fixed sc data load failing when using charsave_method: 1 [Skotlex]
  4731. * Fixed the interserver link reserve size being 8 times instead of 1/8th
  4732. the default size. Changed it to be 1/4th as well. [Skotlex]
  4733. * Found the position of emblem_id in packet 1b6.
  4734. * Moved START_ACCOUNT_NUM and END_ACCOUNT_NUM from login.h to mmo.h and
  4735. changed clif_guess_PacketVer to use that.
  4736. * Made the script engine big-endian compatible.
  4737. * Commented out the remnants of ladmin packet parsing in map-server.
  4738. * Added a warning when a player has an invalid packet version (shouldn't
  4739. happen). [FlavioJS]
  4740. 2006/12/04
  4741. * Fixed HVAN_INSTRUCT int bonuses. [Skotlex]
  4742. * Renamed mob_db's "adelay" column to ThinkTime and made the mob.c code use
  4743. it instead of MIN_MOBTHINKTIME. The adelay of mobs will also be equal to
  4744. their thinktime unless their thinktime is less than their attack motion.
  4745. [Skotlex]
  4746. * Added a static +100 Hp to ninjas and gunslingers since it's required for
  4747. the best approximated hp growth algorythm. [Skotlex]
  4748. * Knockback will again use the fixpos packet instead of the slide packet
  4749. (slide was introduced with high jump) since Aegis captures say that packet
  4750. is still used for knockbacks. [Skotlex]
  4751. * Repairing items via scripts no longer displays "item has been repaired"
  4752. [Skotlex]
  4753. * Status Recovery again makes mobs unlock their current target. [Skotlex]
  4754. * Moved requesting party/guilds from the char-server from pc_authok to
  4755. pc_reg_received, since map_nick2sd and map_getallsd won't work until the
  4756. characters are authentified. Also removed the guild master setting from
  4757. clif_parse_LoadEndAck to pc_reg_received since guild master setting will
  4758. work there. [Skotlex]
  4759. * Fixed homun hunger timer being started on login even when hom is
  4760. vaporized/dead. [Skotlex]
  4761. * Fixed mvp exp attacker bonus applying incorrectly. [Skotlex]
  4762. * Removed duplicate msg_athena.conf entries 619 and 620 for
  4763. Ninja/Gunslinger.[Skotlex]
  4764. * Fixed the txt->sql converter not escaping character names before saving
  4765. them. [Skotlex]
  4766. * Fixed a pet's level not resetting to their db level when you enable pet
  4767. leveling and later on decide to turn it off. [Skotlex]
  4768. * Fixed restricted equipment not updating your view info after they are
  4769. unequipped. [Skotlex]
  4770. * Removed a bunch of extra text/checks when ignoring characters (/ex) when
  4771. Aegis does none of these checks. /inall now wipes your ignore list (it does
  4772. this on Aegis, too). [Skotlex]
  4773. 2006/12/03
  4774. * If somehow a player logs out and it's saved with 0 hp, on login his state
  4775. will be set to dead as well so he can respawn (otherwise that leads to a
  4776. stuck char) [Skotlex]
  4777. * Fixed even share exp flutuating as described in:
  4778. http://www.eathena.ws/board/index.php?showtopic=126139
  4779. thanks to TheUltraMague for the fix.
  4780. * Made ers double frees report as missing entries on destruction.
  4781. * Only one swap function (in cbasetypes.h) is used. [FlavioJS]
  4782. 2006/12/02
  4783. * Added buildin_checkvending and buildin_checkchatting. [Lance]
  4784. * Enabled atcommand parsing for clients with Korean langtype and version. [Lance]
  4785. * Added missing min/max definitions to cbasetypes.h, needed for the @send change.
  4786. * Replaced @send with the version I use for testing packets.
  4787. Can display the packet length. Supports dynamic packets, quoted strings
  4788. with escaped characters and fixed/variable length, and normal/hex
  4789. byte/word/long data types. The number of fields is not limited, but it
  4790. automatically stops parsing when the packet is full. [FlavioJS]
  4791. 2006/12/01
  4792. * Fixed passive mobs becoming increasingly unlikely to retaliate to attacks
  4793. after they got inflicted by a disabling status change. [Skotlex]
  4794. * Changed the "is_boss" define to check for mode MD_BOSS instead of giving
  4795. mvp exp. [Skotlex]
  4796. * Updated sql files [Playtester]
  4797. * Fixed txt-converter compilation. [Skotlex]
  4798. * STRECOVERYno longer makes a mob unlock it's target like Cure does.
  4799. [Skotlex]
  4800. * Fixed GS_GROUNDDRIFT consuming ammo when it's time expires (so it was
  4801. consuming 2 grenades instead of one). Also added a "explosion effect" when
  4802. their time runs out. [Skotlex]
  4803. * gvg_dungeon mapflag won't set pvp related mapflags anymore, pc_dead will
  4804. force pvp ranking gain/loss on gvg_dungeon maps now. [Skotlex]
  4805. * Now when coming out of hiding land-effects will trigger on the character.
  4806. [Skotlex]
  4807. * Fixed land effects not taking effect inmediately on map-load when the
  4808. invincible timer is disabled. [Skotlex]
  4809. 2006/11/29
  4810. * Probably fixed the Segmentation Faults we've been having.
  4811. Description: A player quits and it's session is freed and set to NULL,
  4812. but the char server already sent a packet with player information
  4813. (registers, storage, ...). If a message is sent in consequence of
  4814. updating that info, a segmentation fault happens because
  4815. session[sd->fd] is already NULL.
  4816. Fix: make shure the session of the target player is valid before
  4817. processing the rest of the char server's message.
  4818. * Some minor cleanups. [FlavioJS]
  4819. * Fixed the new npc parsing code not accounting for windows-style line
  4820. terminators, which as a side effect messed up mapflag parsing if the file
  4821. had windows-style terminators, which coincidentally was the case for the
  4822. nopvp file, which unfortunately meant that all towns became pvp! [Skotlex]
  4823. * HT_PHANTASMIC no longer knocks back even when it misses. [Skotlex]
  4824. * Earned exp by dead homuns will now be lost (same treatment as earned exp
  4825. from players that died) [Skotlex]
  4826. * Now gvg_dungeon mapflag will activate the other mapflags which are
  4827. required: pvp, pvp_nocalcrank and pvp_noparty/pvp_noguild (they are forced
  4828. to off if gvg_dungeon is on and viceversa) [Skotlex]
  4829. * Cleaned the pvp ranking code so that it takes effect even if
  4830. pvp_nocalcrank is active WHEN the map is a gvg_dungeon one. [Skotlex]
  4831. * Now homuncs and their masters are the only ones who can use support
  4832. skills on them. [Skotlex]
  4833. * Some cleaning on the homunc speed calculating code, so that it correctly
  4834. uses the default walk speed if the player has no speed yet. [Skotlex]
  4835. 2006/11/28
  4836. * Fixed a typo which made the wedding_ignore_palette setting not work when
  4837. you log on with them equipped [Skotlex]
  4838. * Applied The Ultra Mage's patch to use strict npc header formatting
  4839. parsing. Updated the relevant stock scripts/mapflags that didn't conform to
  4840. the standard. [Skotlex]
  4841. * Moved the blocking of casting supportive skills on homunculus from
  4842. battle_check_target to status_check_skilluse as bct is not invoked unless
  4843. the skill is offensive (or party/guild only) [Skotlex]
  4844. * Cleaned up status_calc_bl_sub_hom, fixed recasting dex/str/vit/int
  4845. bonuses skills making their atk/def/mdef stack with itself over and over.
  4846. [Skotlex]
  4847. * Updated sql files [Playtester]
  4848. * Changing setting the Guild Master from pc_authok to clif_parse_LoadEndAck
  4849. so that it will not fail to set the gmaster flag when the first person of a
  4850. guild to log on is the guild master. [Skotlex]
  4851. * Modified the way Storm Gust freeze's counter works. Now it checks for the
  4852. caster of the Storm Gust, if it's the same as the previous hit, the counter
  4853. is increased, otherwise, the ID is updated and the counter is changed to 1.
  4854. [Skotlex]
  4855. * Fixed always receiving at least 1 bexp/jexp even when the mob gives no
  4856. exp at all. [Skotlex]
  4857. * Changed write to send as suggested by TheUltraMage in:
  4858. http://www.eathena.ws/board/index.php?showtopic=105417
  4859. Hopefully that will take care of the SIGPIPE problem in Debian and cygwin.
  4860. * Server name in core.c skipping '\\' characters.
  4861. * Memory allocation functions using file,line,func from the invoking functions.
  4862. * Other minor malloc changes. [FlavioJS]
  4863. 2006/11/27
  4864. * Now when a player's "attack once" request fails due to range, the client
  4865. is told to move to the target to attack it. This sort of fixes the problem
  4866. of the client SPAMMING the server with attack requests from afar without
  4867. even approaching the icewall. [Skotlex]
  4868. * Updated the status change field "option" to an int rather than short.
  4869. This fixes the option values for xmas/sightblaster not getting set, which
  4870. could explain why some people crash when equipping weapons while in xmas
  4871. suit. [Skotlex]
  4872. * Fixed the Homunculus hungry timer not starting on login. [Skotlex]
  4873. * Added logging for standard GM commands (/mm /b /kick etc) [KarLaeda]
  4874. * Some cleanups on the trade_additem function. When specifying a qty of 0,
  4875. an ack will be returned to the client so it doesn't gets stuck. [Skotlex]
  4876. * Update sql files [Toms]
  4877. * Corrected the skill animation for Absorb Spirits [Skotlex]
  4878. * Cleaned up a bit the implementation of how Gravity Field blocks the
  4879. caster from moving. [Skotlex]
  4880. * Mob class-changing will fail if the new class is the same as the previous
  4881. one. [Skotlex]
  4882. 2006/11/24
  4883. * Homunc's min matk is now always equal to max matk [Skotlex]
  4884. * Fixed EDP's damage being 100% more than it should (should be 4x, not 5x
  4885. on normal attacks) [Skotlex]
  4886. * Self Destruction will only hit everyone and not just enemies when used by
  4887. mobs (non marine spheres) unless the map is a versus map. [Skotlex]
  4888. * Spider Web's duration is now halved on players (before it was halved in
  4889. pvp maps only) [Skotlex]
  4890. * Likely fixed Homunculus not disappearing the second their intimacy hit 0.
  4891. [Skotlex]
  4892. * Fixed uninitialized variable fd being used in WFIFOHEAD in a few clif
  4893. functions. [Skotlex]
  4894. * Fixed the fact that the TURBO code breaks when you attempt to handle more
  4895. than one connection at a time within the same function. However this broke
  4896. map-server compilation, therefore, don't use TURBO yet! [Skotlex]
  4897. * While at it, cleaned a few packet implementations in the char/login
  4898. servers which were not only ugly, but had some really stupid flaws within.
  4899. [Skotlex]
  4900. 2006/11/23
  4901. * Completed Reddozen's hanging mapwarp code to support party and old syntax. [Lance]
  4902. * Updated sql files [Playtester]
  4903. * Made WFIFOHEAD() check for available buffer size remaining on the
  4904. connection, and when there's not enough space, it will increase it.
  4905. [Skotlex]
  4906. * Added define TURBO to the Makefile. It enables MouseJstr's socket access
  4907. optimization which should speed up the code when accessing the write/read
  4908. buffers repeatedly within a function. [Skotlex]
  4909. * Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used
  4910. incorrectly (prevents TURBO enabled compilations from finishing) [Skotlex]
  4911. 2006/11/22
  4912. * Modified slaves_inherit_speed and slaves_inherit_mode so you get better
  4913. control of when to copy/remove modes/speed. See the conf changelog for
  4914. details. [Skotlex]
  4915. * Reenabled usage of mode MD_CHANGETARGET, so mobs with mode 0x200 will be
  4916. able to switch targets while attacking. [Skotlex]
  4917. * Some cleanups around usage of session[] in the map server, hoping that it
  4918. may fix some not very likely crashes. [Skotlex]
  4919. * Rewrote a few messy @ commands. [Skotlex]
  4920. * Fixed the homunc hungry timer being started when the homun data is
  4921. received from the char-server and the homunc is NOT 'active'. [Skotlex]
  4922. 2006/11/21
  4923. * Fixed the Auto-Berserk giving you back defense when it triggers during
  4924. berserk's HP penalty. [Skotlex]
  4925. * Some small changes in the pet ai to make it more responsive. [Skotlex]
  4926. * Rewrote the pet looting behaviour (taken from the mob's), pets are much
  4927. more smarter now when looting from multiple possible items. [Skotlex]
  4928. * Fixed pets/homunc trying to be deleted twice when they had 0 intimacy and
  4929. their master logs out. [Skotlex]
  4930. * Added support for specifying ammo type = 99 in the skill_require_db file,
  4931. it can be used to specify that any kind of ammo can be used with the skill,
  4932. but you NEED to have ammo equipped. [Skotlex]
  4933. * Corrected GS_DISARM, it is now a normal attack, which, when it connects,
  4934. has a chance to do strip weapon at a 3*lv% rate (modified by dex) [Skotlex]
  4935. * Fixed GS_PIERCINGSHOT, it should ignore defense [Skotlex]
  4936. * Corrected Gatling Fever costing SP when trying to turn it off. Also,
  4937. speed increases bonuses won't take effect while it's active. [Skotlex]
  4938. * Updated the main makefile with a new OPT line. It is commented by default
  4939. since it only works with GCC 4.X, when unset, it will hide away a huge
  4940. amount of warnings that have to do with stuff that is not gonna be
  4941. corrected in eA anyway. [Skotlex]
  4942. * Corrected TripleAction's damage. It should do 150%*3 instead of 100*3%
  4943. damage. [Skotlex]
  4944. * Updated GS_CRACKER's stun chance using Doddler's info as reference.
  4945. [Skotlex]
  4946. * GS_FLING won't reduce armor defense when used on players. [Skotlex]
  4947. * Moved ignoreAll to state.ignoreAll so it saves some space. [Skotlex]
  4948. * Cleaned up clif_parse_Wis to prevent crashes from forged packets
  4949. [Skotlex]
  4950. * Cleaned up the implementation of the ignore list so it's more efficient.
  4951. [Skotlex]
  4952. 2006/11/20
  4953. * Implemented NPC_DEFENDER. Reduces ranged Physical+Misc damage by 80%
  4954. [Skotlex]
  4955. * Improved the battle config reader so it accepts hexadecimal values.
  4956. Updated the monster_ai description to make use of this [Skotlex]
  4957. * Added monster_ai&0x200. When set, mob skill delays are shared. That is,
  4958. if the mob has several lines with the same skill, when the skill is used,
  4959. the delay will be set to all of them, not just the one entry used.
  4960. [Skotlex]
  4961. * Corrected NPC_BARRIER so it grants 100 def/mdef (and not just mdef)
  4962. [Skotlex]
  4963. * Weapon ATK bonuses will now only apply to watk and NOT watk2 on players
  4964. (on players watk2 is refine bonus) [Skotlex]
  4965. * Corrected NPC_KEEPING. it should give 90 def, not 100 [Skotlex]
  4966. * You now can't use other skills while a skill-induced "window" is up
  4967. (teleport, refining, etc). However, be warned that we aren't quite sure how
  4968. the server will clear this out if you decide to hit cancel on the window,
  4969. so skill-blockage is likely to happen (temporary solution: whenever you
  4970. change maps or warp the state is reset server-side). [Skotlex]
  4971. * Fixed itemskill variable being cleared before parsing the skill, this
  4972. causes auto-casted teleport to fail to skip the skill menu. It is now
  4973. cleared on castend_pos/id directly. [Skotlex]
  4974. * Skills with state 'move_enable' will now do a "walk path" check between
  4975. target cell/object and caster instead of a "shoot path" check, this would
  4976. fix skills like snap or charge from letting you "teleport" across pits.
  4977. [Skotlex]
  4978. * Raised the amount of skills that can stack on a single cell before the
  4979. "in-area/out-area" detection code breaks to 24 (from 8) [Skotlex]
  4980. * Fixed a crash in clif_SkillInfoBlock if the passed player already
  4981. disconnected. [Skotlex]
  4982. * Added limiting drop rate to 100% from item-bonuses that depend on the
  4983. mob's level so that "@autoloot 100" will catch them. [Skotlex]
  4984. 2006/11/19
  4985. * Removed security check since source level patch is applied.
  4986. * Reverted select(), created prompt().
  4987. * Hack protection from packet monkeys in clif_parse_NpcSelectMenu. [Lance]
  4988. * Added 'cancel' button parsing in buildin_select menu system. Now scripts will continue
  4989. to load if 'cancel' is pressed and 255 will be returned. [Lance]
  4990. 2006/11/17
  4991. * Corrected use of the party invitation reply packet, thanks to FlavioJS.
  4992. [Skotlex]
  4993. * Fixed potential hack by modifying packet of whispers. [Lance]
  4994. * Fixed potential crash in IRC processing message with '%' using *printf. [Lance]
  4995. * Fixed memory leaking caused by homun_data not freed when removed. [Lance]
  4996. * Fixed client not validating the chat-kick-request packet, which can cause
  4997. crashes. [Skotlex]
  4998. * Updated map_quit to handle removing of players who are not even
  4999. authenticated yet. [Skotlex]
  5000. * New connection requests are now also blocked when there's a player
  5001. already online but hasn't finished loading yet. [Skotlex]
  5002. * Because of these changes, the friendlist notification when people join
  5003. has been moved to LoadEndAck from pc_authok [Skotlex]
  5004. 2006/11/16
  5005. * Updated sql files [Toms]
  5006. * For the sake of avoiding confusion, all script events are named with prefix 'On'
  5007. from now on. [Lance]
  5008. * Edited atcommand and charcommand syntax. Now it doesn't need the useless
  5009. character name and ":". [Lance]
  5010. * Shadow Jump and Kirikage won't "move" you if you use them in GvG grounds.
  5011. Fixed Kirikage so it first warps you, and then you unhide. [Skotlex]
  5012. * Corrected Zeny Nage so the Zeny spent on the attack is always the exact
  5013. same value as the damage you are dealing. Also corrected it so it does half
  5014. damage when used on players. [Skotlex]
  5015. * Overlapping song/dances will now cause dissonance/ugly-dance level 1
  5016. instead of retaining the level of their song/dance. [Skotlex]
  5017. * Fixed wrong check in @petrename, thanks to The Ultra Mage.[Skotlex]
  5018. 2006/11/14
  5019. * Early Christmas present. 3 new "features" which were very easy to code,
  5020. and should help scripters tremendously. Eapp is quite a way from being
  5021. ready, so these can't hurt:
  5022. * Implemented Karma: It turns out that when someone has karma, the client
  5023. believes this character is "evil", and will give you a cursor sword on top
  5024. of them automatically. So now the code will let characters with karma to
  5025. fight each other. This enables duels and other types of restricted pvp
  5026. where only the characters with karma can hit each others, and the rest of
  5027. players with neutral karma cannot be affected. Note that Karma cannot be
  5028. negative, and it can have any value between 0 and 256 (any non-zero value
  5029. makes them appear evil on the client). For now, characters with karma can
  5030. hit each other regardless of karma value, but perhaps it may be better to
  5031. let them to hit each other ONLY if they have the same karma (the whole
  5032. duel implementation COULD be cleaned up using Karma instead!)
  5033. * Added mapflags partylock and guildlock, which lock the state of the
  5034. parties/guilds on said maps:
  5035. partylock: blocks user party requests to create/invite/leave/kick
  5036. guildlock: blocks user guild requests to create/invite/leave/expel/
  5037. make alliance/make opposition/delete alliance/delete opposition/
  5038. break guild
  5039. 2006/11/13
  5040. * Fixed a bug where the char-txt server was incorrectly saving memos,
  5041. causing character data to be lost on restart. [Skotlex]
  5042. * HP Conversion will fail when used at max SP. It should not display any
  5043. errors to the client. [Skotlex]
  5044. * Modified yet again the login procedure to enable character variables to
  5045. work on item scripts. It SHOULD work crashless now. Please report any
  5046. problems it may cause.
  5047. * Volcano/Deluge/Violent Gale are now interchangeable, in the sense that
  5048. as long as one of these is out, casting any of the three will not consume
  5049. gems, and will use the remaining time of the previous one. In turn, Land
  5050. Protector will now always consume gems on every cast. [Skotlex]
  5051. * Small cleanup in the Land protector code which may fix it not blocking
  5052. AoE skills. [Skotlex]
  5053. * Fixed the interpretation of "head_dir". Removed setting head_dir to match
  5054. character direction in the whole code. Now it is only reset to 0 (look
  5055. forward) when unit_setpos is invoked, or when a character begins walking.
  5056. Thanks to FlavioJS for figuring out how the client parses the head
  5057. direction. [Skotlex]
  5058. * Moved status_calc_pc back to pc_authok. [Lance]
  5059. 2006/11/11
  5060. * Fixed debug message in login_sql [KarLaeda]
  5061. 2006/11/10
  5062. * Deluge/Violent Gale/Volcano tiles will now fail to be placed on cells
  5063. that are already ocuppied by anything else. [Skotlex]
  5064. * status_is_immune will now return 0 or the amount of immunity of the
  5065. target. In which cases it returns 100 for WoH and the GTB bonus when they
  5066. have passed the gtb_sc_immunity setting. This enables targetted spells to
  5067. not "fail silently" unless GTB's magic reduction is 100. [Skotlex]
  5068. * Fixed Homunculus being spawned as soon as they arrive from the
  5069. char-server even if the Master has not spawned on the map yet. [Skotlex]
  5070. * AL_TELEPORT now fails when used on top of Land Protector. [Skotlex]
  5071. * Some minor cleanings in pc_setpos, it may (or not) help fix that
  5072. homunc-caused "map_addblock" error message. [Skotlex]
  5073. * Corrected fog of wall, so that the deleted/doubled-duration effects are
  5074. calculated on a cell-by-cell basis. [Skotlex]
  5075. * Updated Land Protector: It will now delete/block effects of ALL ground
  5076. skills EXCEPT: Song/Dances/Traps (encores are still blocked). Land skills
  5077. blocked/deleted by LP also can't be casted on top of an existing LP. The
  5078. code uses the inf2 value of the skill to determine if it is a
  5079. song/dance/trap. [Skotlex]
  5080. * Ganbantein, mimicking LP, will now also remove ensembles. [Skotlex]
  5081. * Fog of Wall will fail when casted on top of a Volcano/Violent Gale
  5082. [Skotlex]
  5083. * Applied FlavioJS's fix to the npc whisper system. [Skotlex]
  5084. 2006/11/09
  5085. * Fixed status-change loading not working. [Skotlex]
  5086. * Fixed permanent mob-spawn script-events not working. [Skotlex]
  5087. * AL_CURE won't confuse undead players. [Skotlex]
  5088. * Corrected the Fog of Wall check so that it lasts 2x when it is placed on
  5089. TOP of a suiton/deluge, not when the caster is on top of them. [Skotlex]
  5090. * Updated status_check_skilluse so that when the caster has a disabling
  5091. status change (stun/petrify/etc) it will block the skill in all cases
  5092. EXCEPT on cast-end when the skill is ground-targetted. [Skotlex]
  5093. * Fixed Health Conversion skill formula bug. [Lupus]
  5094. 2006/11/08
  5095. * Fixed Desperado's hit-rate, now it behaves as it should. [Skotlex]
  5096. * The GVG map-packet will now also be sent for guild dungeon maps.
  5097. [Skotlex]
  5098. * Added clif_gospel_info which displays info about the buffs you are
  5099. receiving. Thanks to Rayce for the packet information. [Skotlex]
  5100. * Fixed Spider Web not ending when hit by a fireelemental attack. [Skotlex]
  5101. * Cast-time reductions from status changes will not be executed until right
  5102. before casting, to prevent status changes from ending when attempting to
  5103. cast and the attempt fails (invalid cells, not enough sp, wrong target,
  5104. etc, etc) [Skotlex]
  5105. * Added check to prevent Wand of Hermod from seeking for a partner to
  5106. encore, since the partner is supposed to be the warp. [Skotlex]
  5107. * Corrected the mob spawn reading code so that the event-name can be up to
  5108. 50 characters long (which is the actual event length) and so that it can
  5109. read spaces within them, it will also strip the leading/trailing quotes if
  5110. you use them so that the event is actually found on mob-death (so you can
  5111. do stuff like "My NPC::OnDead" as a valid event). [Skotlex]
  5112. * Moved the homunc inherit speed from the master from status_calc_pc to
  5113. LoadEndAck, since the hom's speed matches that of the master each time the
  5114. master changes maps. [Skotlex]
  5115. 2006/11/07
  5116. * Applied FlavioJs's patch which enables colored console output for Windows
  5117. systems. It also includes a config setting called
  5118. "stdout_with_ansisequence" with which you can turn off the color codes (in
  5119. case you are logging all output) [Skotlex]
  5120. * Added error reporting when the max number of ground unit cells has been
  5121. reached (this may be the reason why sometimes it fails to recognize when
  5122. you step out of a song/dance/encore) [Skotlex]
  5123. * Added passing the Endure effect to other devoted people. Note that the
  5124. "hit count" is individual for each character, and only when it ends on the
  5125. Crusader himself will that force it to end on everyone else. It also will
  5126. not transfer on gvg grounds, but it does transfer in pvp. [Skotlex]
  5127. * Fixed Reflect-Shield triggering Auto-Guard instead on devoted chars.
  5128. [Skotlex]
  5129. * Added a check to prevent casting ground skills on a target and vice-versa
  5130. when said skill use packets are received. It really shouldn't be
  5131. exploitable, but doing that certainly makes the server print a lot of
  5132. "unknown skill used!" messages. [Skotlex]
  5133. * Fixed map_foreachiddb and map_foreachpc so they don't encapsulate the
  5134. variable arguments into a double va_arg list. Thanks to the Ultra Mage for
  5135. the tip. [Skotlex]
  5136. * Cleaned up the clif_hate/mob_info functions with the correct fields/usage
  5137. as explained by Rayce. [Skotlex]
  5138. * Implemented clif_feel_hate_reset packet to properly display the Angel of
  5139. the Sun/Moon/Stars, thanks again to Rayce for the relevant information.
  5140. [Skotlex]
  5141. * LP will again block all land-stuff from being placed down on top of it
  5142. for the exception of Song/Dance/Encores. [Skotlex]
  5143. 2006/11/06
  5144. * Reapplied 'fix equipment scripts which are based on character variables not
  5145. working.' [Lance]
  5146. * Multiple Gunslinger skill corrections, refer to
  5147. http://ro.doddlercon.com/guides/gunslinger.html for information source:
  5148. [Skotlex]
  5149. - Corrected Ground Drift. Splash range of 3x3, stackable and placeable
  5150. underneath others, cast time is 2 secs. It's considered ranged, and it's
  5151. bonus damage increase is defense ignoring, always neutral.
  5152. - Corrected Bull's Eye implementation, it should deal normal damage against
  5153. non brute/demi-human targets.
  5154. - GS_DUST is now considered a short-range attack.
  5155. - Implemented Desperado's hit rate based on distance to caster as it's
  5156. believed to behave.
  5157. - GS_TRACKING's range is no longer affected by Snake Eye.
  5158. - GS_FLING's defense reduction is now 5*lv%
  5159. * Suiton's Speed/Agi penalty will affect everyone when used in versus maps.
  5160. * Corrected Kaupe so it doesn't ends on the first part of Soul Destroyer.
  5161. [Skotlex]
  5162. * Applied some cleaning to the way Tatami Gaeshi knocks back. [Skotlex]
  5163. * Cleaned up the way mobskill_use checks for the correct event. It should
  5164. fix unlimited mob-skill-casting issues. [Skotlex]
  5165. * Removed the return code entry when logging GM reload-GM requests
  5166. (login-sql),it'll just be stored as zero. [Skotlex]
  5167. * Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP.
  5168. [Skotlex]
  5169. * Applied the correction on maprespawnguildid so that it parses ALL players
  5170. and not just those on a map. [Skotlex]
  5171. * TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched
  5172. ones) and Preserve will be unable to block this. [Skotlex]
  5173. * Soul Linkers are now immune to SA_DISPEL [Skotlex]
  5174. * You can now place everything (except magic skills) on top of LPs.
  5175. [Skotlex]
  5176. * Corrected Ganbantein to not touch song/dance/ensembles. [Skotlex]
  5177. * Status_calc_pc will refuse to execute if the player is still tagged as a
  5178. "new connection" and the invocation is not meant to be the first one.
  5179. [Skotlex]
  5180. * Swapped the order of checks in status_isimmune so that Wand of Hermod
  5181. skill blocking takes precedence over GTB's [Skotlex]
  5182. * Client packets will all be ignored while a player is not on a map until
  5183. the LoadEndAck packet is received. [Skotlex]
  5184. * Reverted changes, moved status_calc_pc(sd,1) back to pc_authok
  5185. since it causes problems. [Lance]
  5186. * Temperory fixed stability issue caused by initial status_calc_pc
  5187. being placed AFTER another status_calc_pc. [Lance]
  5188. 2006/11/05
  5189. * Updated sql files [Toms]
  5190. * Updated perl files acording to rev 9135 [Toms]
  5191. 2006/11/04
  5192. * Readded duel code in map_quit. Why it has been removed!? [LuzZza]
  5193. * Converted itemdb tables to use smallint. Credits to ALZ. [Lance]
  5194. 2006/11/01
  5195. * Reverted LK_Berserk HP requirement, as everything, including kRO X.2 and
  5196. pRO X.3, points that way. [Vicious]
  5197. 2006/10/31
  5198. * Fixed song/dance/encore cells not being placed down when casted on top of
  5199. a land Protector. [Skotlex]
  5200. * Update homunc's speed when master's speed changes, should avoid homunc's
  5201. speed = 0 on login (homunc's stats are calculated before master's stats) [Toms]
  5202. * When Kaizel (or super novice rebirth skill) triggers, you get debuffed
  5203. now. [Skotlex]
  5204. * Modified the player_cloak_check_type and monster_cloak_check_type
  5205. settings. 1 makes it check for walls, 2 makes cloaking NOT end on normal
  5206. attacks, and 4 makes cloaking NOT end when using skills. The default
  5207. setting for players is still 1, but for mobs the default has been changed
  5208. to 4. [Skotlex]
  5209. * Non-players can now use all skills while hidden. [Skotlex]
  5210. * Added a check to prevent adding negative damage to the total accumulated
  5211. damage in mob_damage. It could fix some exploits, even though mob_damage
  5212. should never be invoked with negative damage anyway. [Skotlex]
  5213. * Implemented the property where the first attacker get's double exp-share
  5214. than the others. Due to the way exp calculation is done, this bonus will
  5215. not apply when you use exp_calc_type 1 (damage/max_hp) instead of the
  5216. default (damage/total-damage). For now this bonus is done after calculating
  5217. who is the MVP character instead of before. [Skotlex]
  5218. 2006/10/30
  5219. * Fixed a little bug in event enqueue code [Toms]
  5220. * Updated the code so mobs can use ChainAction as a targetted skill.
  5221. [Skotlex]
  5222. * Added GroundDrift effects for Wind (Stun) and Fire (knockback). The
  5223. knockback value is unknown, so 3 is used for now. [Skotlex]
  5224. * Cleaned up some more the steal code, now you can't steal the last slot
  5225. regardless of skill level used. [Skotlex]
  5226. * Added consideration of Chain Action when cloning GunSlingers. [Skotlex]
  5227. * Modified battle_calc_return_damage to take the skill id as well, now
  5228. magic damage return will not work on skills tagged as ground or self
  5229. targetted. [Skotlex]
  5230. * Fixed Gank not working at all with the default max steal tries setting.
  5231. [Skotlex]
  5232. * Soul Drain won't work with skills tagged as self-targetted. [Skotlex]
  5233. * Improved the Suiton code so that the walk/agi penalty only applies to
  5234. enemies of whoever casted the skill. [Skotlex]
  5235. * Moved the initial status_calc_pc call to when you finish loading the map,
  5236. should fix equipment scripts which are based on character variables not
  5237. working. [Skotlex]
  5238. * Fixed getcharid according to samples and docs. [Lupus]
  5239. Thanks to joshuaali for pointing it out. eAPP has no such bug
  5240. 2006/10/27
  5241. * Fixed mob-skill event "skillused" not triggering at all. [Skotlex]
  5242. * Summoned mobs will only be removed from a map if their master is also
  5243. removed (dynamic mobs) [Skotlex]
  5244. 2006/10/26
  5245. * Updated sql files [Playtester]
  5246. * Experimental tweak to npc_parse_function - Overwrite existing functions. [Lance]
  5247. 2006/10/25
  5248. * Cleaned up some more the event dequeue code, it will no longer clear out
  5249. the npc_id if there's no events waiting to be executed (why does it clears
  5250. the npc_id anyway?) [Skotlex]
  5251. * Because of possible conflicts with this change and the on-login script,
  5252. now the on-login script is executed when the player has finished loading
  5253. into their start-up map rather than as soon as receiving the registry
  5254. variables from the char-server. [Skotlex]
  5255. * Some cleaning of the pc_eventtimer and pc enqueue code, it should fix
  5256. some memory leaks when the event counter does not matches with the actual
  5257. number of queued timers during logout. [Skotlex]
  5258. * Fixed "skill_sp_override_grffile: yes" causing crashes when parsing
  5259. Homuncuus/Guild skills. [Skotlex]
  5260. * Made the exp bonus settings be adjustable: [Skotlex]
  5261. - exp_bonus_attacker: Indicates how much additional exp a mob gives per
  5262. additional attacker (eg: 10 -> +10%*attacker)
  5263. - exp_bonus_max_attacker: Indicates at which number of attackers the bonus
  5264. is capped (eg: 5 -> 5 attackers, so a mob yield the same exp whether 5 or
  5265. 10 people attack it)
  5266. - Changed the way the party_even_share_bonus setting works. It now uses a
  5267. simple linear bonus increase (eg: 10 -> +10%*party member)
  5268. - The defaults are as explained by Tharis: +25%/attacker, capped at 12
  5269. attackers, no party bonus. The first two can be found in exp.conf, the last
  5270. one was left in party.conf
  5271. * MG_STONECURSE and NPC_PETRIFYATTACK now use time1 to specify the
  5272. "petrifying time". This value has been set to 5 seconds. [Skotlex]
  5273. * Now when SC_STONE is triggered from status-change cards, it's petrifying
  5274. duration will be passed as 0, causing the minimum (1 sec) to be used.
  5275. [Skotlex]
  5276. * Got rid of clones in src: old Novice Grounds map -> new_zone0? [Lupus]
  5277. 2006/10/24
  5278. * Removed again your mdef reducing "petrifying" time as apparently it can't
  5279. be reduced by mdef. [Skotlex]
  5280. * Cleaned up the "show_steal_in_party" setting so it only takes effect when
  5281. the item was successfully stolen (there was no point in telling you the
  5282. item couldn't be stolen due to being overweight) [Skotlex]
  5283. * Cleaned up the pc_steal_item implementation (again). It now uses a more
  5284. random, simple approach in each steal attempt. [Skotlex]
  5285. * Changed the way the skill_steal_max_tries work. Now it actually MEANS the
  5286. max number of steal tries, use 0 to disable (unlimited tries). [Skotlex]
  5287. 2006/10/23
  5288. * Added a bunch of important indexes when dealing with the log tables.
  5289. Added upgrade_svn9050.sql which adds these indexes as well. [Skotlex]
  5290. * Expanded the family check to work as it should, exp-share-range is
  5291. respected, and the child is not considered for it (thanks to TheUltraMage
  5292. for the investigation) [Skotlex]
  5293. * Double Casting will no longer fail when used. [Skotlex]
  5294. * Modified SC_STONE so that the duration of the "petrifying" time is 5 secs
  5295. reduced by your natural resistance to petrify (which is mdef%) [Skotlex]
  5296. * Modified the meaning of the third column in the skill_require_db. Instead
  5297. of MaxHP, this is now called MaxHPTrigger. This column (which was
  5298. previously unused by all skills) signals the limit HP% that you can have to
  5299. be able to use the skill. For example, setting it to 20 means the skill is
  5300. unusable if you have more than 20% life (note that this is merely a
  5301. threshold setting, it won't actually substract HP when used!) [Skotlex]
  5302. * Adjusted LK_BERSERK so you can only use it when you have 20% or less
  5303. life. [Skotlex]
  5304. * Removed NJ_TOBIDOUGU adding damage to W_HUUMA weapons which somehow got
  5305. readded. [Skotlex]
  5306. * When nonplayers use Cloaking, it will be forced to level 10 since mobs
  5307. shouldn't have movement/attack restrictions while walking cloaked.
  5308. [Skotlex]
  5309. 2006/10/20
  5310. * Made HAMI_CASTLE use clif_slide rather than clif_fixpos. This should
  5311. fix clientside problems when castling between two positions the (client)
  5312. path finding can't find a walkable bath between anymore. [blackhole89]
  5313. * Fixed the Homunc not spawning next to you after receiving it's data from
  5314. the char-server. [Skotlex]
  5315. * Fixed Charge Atk being able to go through chasm/pits. [Skotlex]
  5316. * Moved the homunculus DB information from the player structure to the
  5317. homun structure. Modified the homunculus creation packets to hold this
  5318. information during creation, also, all initial values are handled by the
  5319. map-server, the char server only assigns it a homun ID. [Skotlex]
  5320. WARNING: This is yet untested! It's very possible something could had
  5321. broken after changing the format/size of the homunc creation packets.
  5322. * Added config setting "summon_flora_setting", which it you can decide now
  5323. two things: a. Whether or not players can harm your floras outside versus
  5324. grounds, and b. Whether or not you can summon out and mix different types
  5325. of plants at the same time. [Skotlex]
  5326. * Likely fixed pc_steal_item always failing to steal (it was attempting to
  5327. steal random item IDs...) [Skotlex]
  5328. * Cleaned up a bit the mob on-death event so that when the killer is a
  5329. homunculus, it's master will be taken. Also, the variable killerrid will be
  5330. set before running the script to specify who delivered the final blow. If
  5331. the killerrid matches with the script attached player, you can be sure your
  5332. player did the final blow to the mob, otherwise, the attached player is who
  5333. did the most damage to the mob. [Skotlex]
  5334. 2006/10/19
  5335. * Cleaned up the log.c file. [Skotlex]
  5336. * Fixed log_chat not recording anything if the server is compiled in SQL
  5337. mode and sql_logs is turned off (it should then record to a plain txt file)
  5338. [Skotlex]
  5339. * Fixed SG_FRIEND, it should be triggering when Monks do Combo Finish (not
  5340. triple blows), and the trigger rate increase should be based on your known
  5341. level of SG_FRIEND, not TK_COUNTER. [Skotlex]
  5342. * Phantasmic arrow now knockbacks even if it misses. [Skotlex]
  5343. * Adjusted the way Monk combo times work. The combo time is now always
  5344. 300ms (adjusted by combo_delay_rate) which takes effect inmediately AFTER
  5345. your current skill's canact-delay (which is why the particular skill delays
  5346. were moved to skillcast_db) [Skotlex]
  5347. * Modified skill_delayfix so it performs the can-act reduction from agi/dex
  5348. for combos there. [Skotlex]
  5349. * Modified pc_steal_item so that it behaves more closely to the way it does
  5350. on Aegis. [Skotlex]
  5351. 2006/10/18
  5352. * Added a overflow check when calculating party exp share. [Skotlex]
  5353. 2006/10/16
  5354. * Adjusted UTSUSEMI/BUNSINJYUTSU so that they block range/melee weapon
  5355. attacks and only melee misc attacks. This isn't 100% correct, but it's a
  5356. better approximation to the way these skills behave. [Skotlex]
  5357. * Emergency call &16 (disable skill from nowarpto maps) will now NOT block
  5358. Emergency Call if that map is also a gvg-castle map. Makes it safe to turn
  5359. on this option to prevent usage from special maps (like Lhz3) without
  5360. crippling the skill during WoE. [Skotlex]
  5361. * Applied most of Mpeg's work on Ninja Skills. For information see:
  5362. http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt [Skotlex]
  5363. * When reinvoking a combo-time, the previous combo time will be terminated.
  5364. This could fix the ongoing difficulties pulling off Monk combos. [Skotlex]
  5365. * Fixed Esma-state not ending after casting it. [Skotlex]
  5366. * Fixed @hominfo displaying intimacy on a 1/10k scale. [Skotlex]
  5367. 2006/10/14
  5368. * Homun info window to show crit value. As default, homun does NOT crit,
  5369. as monsters do not crit. This is purely for display purpose for players
  5370. to identify their homon's luk value. [Vicious]
  5371. 2006/10/13
  5372. * Base attack for non players is now calculated as str + [str/10]^2 (it
  5373. does not has +dex/5+luk/5 which players do have) [Skotlex]
  5374. * Fixed the char-sql server trying to read the gms off a "gm_db" config
  5375. setting stead of "login_db" [Skotlex]
  5376. * Corrected Throw Arrow/Musical Strike's damage formula [Skotlex]
  5377. * Altered Trick Dead. It doesn't prevents skills from being casted on you
  5378. now, but damage-based skills will do no damage. [Skotlex]
  5379. * Made the battle_config.attack_attr_none apply to pets when using the
  5380. "fixed damage" pet skill scripts. [Skotlex]
  5381. 2006/10/12
  5382. * made @killmonster make the mobs drop items again. [Skotlex]
  5383. * Added a temporary message when Angel of the Sun, Moon and Stars trigger
  5384. so you know it triggered. [Skotlex]
  5385. * When slaves_inherit_speed is set (which is also the default), homun will
  5386. have the same speed of their master when spawned. [Skotlex]
  5387. * When using Hatred and you already have a hate target, your current hate
  5388. target is displayed now. [Skotlex]
  5389. 2006/10/11
  5390. * Cleaned up the char-server code when the last point of a player is not
  5391. found. First it'll check if there's any mapserver online, and then, if
  5392. there is, it'll look for the major cities. If this fails, then the player
  5393. will be told server is closed instead of trying to send him to a "random
  5394. map". Will fix the char-server printing the misleading message "map
  5395. server not found, sending to major city" when in reality there just
  5396. aren't any map servers connected. [Skotlex]
  5397. * Corrected the mob damagelog structure so that you can't exploit it by
  5398. switching characters. [Skotlex]
  5399. 2006/10/09
  5400. * Fixed crash when char-server sends to a "random" map-server online on
  5401. connect. Thanks to TheUltraMage for pointing it out. [Skotlex]
  5402. * Should have fixed being petrified not reducing your defense and
  5403. increaseing your mdef. [Skotlex]
  5404. * Fixed SC_NOCHAT printing the "skills are now available" message twice on
  5405. natural expiration. [Skotlex]
  5406. 2006/10/08
  5407. * Updated sql files [Playtester]
  5408. 2006/10/06
  5409. * Updated Land Protector to block absolutely every land-based skills with
  5410. the exception of Encores/Dances. [Skotlex]
  5411. * Disabling status abnormalities will now reset a mob's target. [Skotlex]
  5412. * Mob morphing also resets their target now. [Skotlex]
  5413. * Monk combos no longer can ignore skill delay (delay skill for all their
  5414. combo-related skills is ASPD) [Skotlex]
  5415. * Now you can trade while in a chatroom. [Skotlex]
  5416. * Fixed homun-txt reading when the file has DOS line-type delimiters (\r\n)
  5417. [Skotlex]
  5418. 2006/10/05
  5419. * skill_blown will now trigger on-touch npcs on the landing tile. [Skotlex]
  5420. * Max trade distance has been reduced from 5 to 2. [Skotlex]
  5421. * Undisguising will now resend the cart-contents. [Skotlex]
  5422. * Added function npc_unload_duplicates(), it unloads all npcs that are a
  5423. duplicate of the passed one. For use with @unloadnpc to prevent crashes
  5424. when you unload the npc that has duplicates. [Skotlex]
  5425. 2006/10/04
  5426. * Bowling bash now always hits twice regardless of situation. [Skotlex]
  5427. * Added an underflow check to prevent sending to the client negative mdef2
  5428. value (for Frenzy'ed characters) [Skotlex]
  5429. * Modified pc_jobchange so that it automatically removes
  5430. peco/falcon/cart/homun if the new job you are changing to does not possess
  5431. the required skill for them. [Skotlex]
  5432. 2006/10/03
  5433. * Fixed a possible crash with @reloadmobdb due to pet loot timers.
  5434. [Skotlex]
  5435. * Fixed a possible crash and a memory leak on the login-SQL server when
  5436. parsing unban requests. [Skotlex]
  5437. * Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of
  5438. skills is reduced now (when enabled) by AGI instead of DEX, which makes a
  5439. lot more sense than DEX. [Skotlex]
  5440. 2006/10/02
  5441. * Modified item-granded status resistance reduction to behave as explained
  5442. by Vicious (Ragnarok Monthly magazine) [Skotlex]
  5443. * Added the opt3 values to Eske [Skotlex]
  5444. * Fixed the txt->sql converter only saving the very first character
  5445. permanent variable. [Skotlex]
  5446. * Fixed the txt->sql converter saving account-wide variables as
  5447. character-wide ones. [Skotlex]
  5448. * Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn
  5449. on/off both noexppenalty and nozenypenalty now. [Skotlex]
  5450. 2006/10/01
  5451. * Removed the speed adjustment per level of Increase/Decrease Agility
  5452. [Skotlex]
  5453. * Fixed humunculi skill exploit, thanks to mr.rkit [Lupus]
  5454. 2006/09/30
  5455. * Rewrote the txt->sql converter. It now links directly to the char server
  5456. files so that it should get auto-updated with any code changes in the
  5457. later. [Skotlex]
  5458. * The converter will now also convert: account-wide variables, parties,
  5459. guilds, guild storage and guild castles. At this point the only two things
  5460. not converted are login-server-wide account variables (##, they belong to
  5461. the login converter) and homunculus (the SQL save function is messy and
  5462. doesn't lends itself to be integrated with the converter the way all the
  5463. other functions are). [Skotlex]
  5464. * misceffect2 will no longer cause the effect on top of the source object
  5465. when it is the fake npc. [Skotlex]
  5466. * Added check so that Frost Nova doesn't hides hitting animation on
  5467. targets. [Skotlex]
  5468. * Added the missing brackets around the trade logs condition check, thanks
  5469. to Coltaro. [Skotlex]
  5470. 2006/09/29
  5471. * Spurt state will now trigger on Soul Linkers as well. [Skotlex]
  5472. * Added a check un unit_run when unit_walktoxy fails. Should fix running
  5473. getting you stuck sometimes when running on diagonals near obstacles.
  5474. [Skotlex]
  5475. 2006/09/28
  5476. * Merged the necessary changes to make the script engine support negative
  5477. constants (db/const.txt). Thanks to Rayce (from jA) for the code. [Skotlex]
  5478. * Cleaned up the skill.c code to take into account when skill_unitsetting
  5479. returns null (skill failed), fixes a possible crash with Wand of Hermode
  5480. [Skotlex]
  5481. 2006/09/27
  5482. * Cleaned up status_get_party/guild_id, it should also fix a possible crash
  5483. when invoking such a functio on a masterless pet. [Skotlex]
  5484. * Sharp-Shooting will now display a skill animation. [Skotlex]
  5485. * The no_spawn_on_player setting will now also work for static mobs, but
  5486. only if the setting is set to 100 or higher. [Skotlex]
  5487. 2006/09/26
  5488. * Yet again messed with the packet sent during a splash attack, but this
  5489. time taking into account the packets that eA was using some many revisions
  5490. ago. Tests are needed to see if Magnum Break/Grimtooth don't spam the skill
  5491. animation anymore, and to see if GrandCross didn't break it's animation as
  5492. well. [Skotlex]
  5493. * Added function skill_dance_switch which handles converting overlapping
  5494. song/dances to dissonance/ugly dance. It should make the overlapping area
  5495. now behave completely like the mentioned song/dances (taking into account
  5496. interval and target type changes). [Skotlex]
  5497. * Updated battle_check_target so that non-offensive skills cannot be used
  5498. on a homun except for the homun and it's master. [Skotlex]
  5499. * Steal zeny won't work on treasure chests now. [Skotlex]
  5500. 2006/09/25
  5501. * Added an ugly check so that Heal will display 0 when healing a berserked
  5502. character (and it will again display full heal amount when healing a player
  5503. who's at full life) [Skotlex]
  5504. * Disabled again client-self-muting since it's causing too much trouble.
  5505. [Skotlex]
  5506. * Merged FlavioJS's script patch which should fix stuff like "mes ();"
  5507. causing crashes. [Skotlex]
  5508. * Item group reading will now complain when a line doesn't has enough
  5509. fields. [Skotlex]
  5510. * Fixed #baselevelup adding instead of substracting status points when used
  5511. with negative levels. Also made it reset your stats if there wasn't enough
  5512. to substract from. [Skotlex]
  5513. * Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the
  5514. direction. This had the side effect of fixing the direction missing from
  5515. the mob spawn packet, which explains why all npcs face north when you are
  5516. within sight while doing a @reloadscript. [Skotlex]
  5517. * Changed the order of packets in TK_HIGHJUMP, may fix the reports of
  5518. getting stuck when jumping into a warp. [Skotlex]
  5519. * Changed a bit the code of marionette control, where a redefined local
  5520. variable may be the cause of mob-targetted Marionette Control stacking
  5521. stats up. [Skotlex]
  5522. 2006/09/24
  5523. * When the code auto-guesses that a skill should require ammo, it will
  5524. accept any type of ammo for using it instead of only arrows. Fixes Magnum
  5525. Break usage on Gunslingers. [Skotlex]
  5526. 2006/09/22
  5527. * Probably fixed a signed/unsigned mismatch warning on the new socket code.
  5528. [Skotlex]
  5529. * Fixed the "map server claims to have char online, but this other map
  5530. server also has it tagged as online" message triggering in some cases where
  5531. it shouldn't. [Skotlex]
  5532. * Fixed some maps in db/mapindex.txt being under the wrong id and added comments
  5533. so this will not happen again. [Zephiris]
  5534. --- ATTENTION! ---
  5535. People running TXT servers will have to tell their players to redo their /memo
  5536. points since the map ids of the old file were wrong.
  5537. 2006/09/21
  5538. * Fixed a bug on "select" when skipping empty entries when the selected
  5539. entry is the last. [Skotlex]
  5540. * Improved a bit RFIFOFLUSH as suggested by Harbin. [Skotlex]
  5541. 2006/09/20
  5542. * A mob's HP is set temporarily to 0 before invoking it's on-death script,
  5543. prevents said scripts being able to "rekill" the mob indefinitely (if stuff
  5544. like killmonster is used within) [Skotlex]
  5545. * Some small cleanups in chat.c [Skotlex]
  5546. * Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting
  5547. was disabled. [Skotlex]
  5548. * Enabled Star Gladiators and Soul Linkers to do /doridori [Skotlex]
  5549. 2006/09/19
  5550. * Fixed nocommand mapflag causing the "you can't use commands on this map"
  5551. message to trigger one very single chat, instead of only for actual @/#
  5552. command invocation. [Skotlex]
  5553. * Added support for skipping empty string menu entries for the select()
  5554. command (just as `menu` has it already) [Skotlex]
  5555. * Fixed pc_set_hate_mob letting you place mobs on any of the three
  5556. positions regardless of size [Skotlex]
  5557. * The double continuation error will now display both scripts that
  5558. triggered it. [Skotlex]
  5559. * Loading the storage from the char-server will fail if player is already
  5560. tagged in final save state. [Skotlex]
  5561. * Removed setting ban_spoof_namer, sending invalid global-talk packets will
  5562. now just kick the player out of the server. [Skotlex]
  5563. * Added echoing messages back to self when using @/# commands on whispers
  5564. and party/guild messages, to prevent the client from muting yourself.
  5565. [Skotlex]
  5566. * Fixed some gcc4 warnings [Toms]
  5567. 2006/09/18
  5568. * Fixed Spider Web fire damage bonus. [Skotlex]
  5569. * Made Global chat always reply back to you even on @/# commands, this
  5570. prevents the client from muting yourself due to "hack". However, this same
  5571. fix isn't easily applicable to @ commands invoked from whispers or
  5572. party/guild messages, those are still pending. [Skotlex]
  5573. * Merged Meruru's update to socket.c, which includes a rewritten parse
  5574. function, which should hopefully be more efficient than the previous code.
  5575. [Skotlex]
  5576. * The new code includes support for two config settings
  5577. (packet_athena.txt): frame_size, which can be used to alter the logic
  5578. packet-size allowed by the code, and mode_neg, which when set to yes, sets
  5579. TCP_NODELAY on all connections (defaults to yes). [Skotlex]
  5580. * High-Jump is usable everywhere now, except that on maps where it
  5581. previously failed, now will just make you jump in place. [Skotlex]
  5582. * Fixed TK_RUN as per packets provided by AuronX. [Skotlex]
  5583. * Moved the equipment/card resistances to status ailments outside of
  5584. status_get_sc_def, so that they are applied only to rate, not duration.
  5585. [Skotlex]
  5586. * Modified the Asura code (again), hopefully movement sprite issues are
  5587. fixed now [Skotlex]
  5588. * @reloadscript scripts will no longer eliminate mobs with no respawn data.
  5589. But watch out for possible bugs (I think someone mentioned 1 extra
  5590. treasure box will spawn when you use it? This needs testing!) [Skotlex]
  5591. * Made speed_add_rate a linearly stacking increase. [Skotlex]
  5592. * Corrected a possible overflow when using show_mob_info to display the
  5593. mob's up as a percent. [Skotlex]
  5594. * Corrected the documentation for checkoption/checkoption1/checkoption2
  5595. [Skotlex]
  5596. * Reenabled client requesting to self mute, as the whole knockback packet
  5597. issues of the past which were causing players to mute themselves when being
  5598. knockback is no longer there. [Skotlex]
  5599. 2006/09/17
  5600. * Fixed NPC_INVISIBLE's cloak ending after attacking once. [Skotlex]
  5601. * Fixed SG_FUSION being castable without Soul Link state. [Skotlex]
  5602. * Moved the item-use restriction SC checks from clif.c to pc_use_item,
  5603. fixed Gravitation blocking potion usage on it's area of effect. [Skotlex]
  5604. * Sphere Marines and Summoned Flora are now immune to class-changing.
  5605. [Skotlex]
  5606. 2006/09/16
  5607. * Added monster_ai&256. When set, a monster will pick a random starting
  5608. position to begin checking versus it's skills, otherwise, it will always
  5609. begin checking from the beginning. [Skotlex]
  5610. * Fixed the status change duration reduction equation was was totally
  5611. wrong, thanks to k3dt [Skotlex]
  5612. 2006/09/15
  5613. * Now mobs won't do a distance check to lose their target on every ai
  5614. iteration, but only when they finish walking (unless you set monster_ai&1)
  5615. [Skotlex]
  5616. * The chase distance before a mob gives up following a player has been
  5617. increased from view-size (range2) to min-chase (range3). [Skotlex]
  5618. * Reverted the Summon Flora change where all plants were being summoned in
  5619. one go. [Skotlex]
  5620. * Moved the weapon repair effect to where it belongs (after successfully
  5621. repairing an item) [Skotlex]
  5622. * Added config setting "friend_auto_add" (battle/player.conf), if set, when
  5623. you accept someone as your friend, both characters will show up on each
  5624. other's friend list. [Skotlex]
  5625. 2006/09/14
  5626. * Changed Extremity Fist's code to make you actually walk past your target,
  5627. which displays a much more correct "animation" for the skill. Thanks to
  5628. HiddenDragon for the information and code. [Skotlex]
  5629. * Updated the item_db search functions so that when returning the
  5630. dummy-item, it first updates the nameid to match the requested one, this
  5631. prevents pc_additem later on giving you an item with ID 500 instead of the
  5632. ID requested. [Skotlex]
  5633. * Added a clif_skill_nodamage packet when using Repair Weapon, just to see
  5634. what happens. [Skotlex]
  5635. * Likely fixed "half" of the alliance being saved, which ends up in guilds
  5636. that can attack another, but not viceversa. [Skotlex]
  5637. * Added deleting of saved Status changes on character delete for the
  5638. Char-TXT server. [Skotlex]
  5639. * Fixed the can-act delay never being checked when requesting to use
  5640. Homunculus Skills. [Skotlex]
  5641. * Fixed warmth skills draining SP of the target, not the caster. [Skotlex]
  5642. * When TK_DODGE triggers, it will no longer delay your attack or movement.
  5643. [Skotlex]
  5644. * Estimation /Sense/ whatever will no longer hide the vit bonus to mdef2,
  5645. as reported by Playtester. [Skotlex]
  5646. * Updated Summon Flora to summon the max number of possible plants on one
  5647. cast. It will consume as many bottles as monsters summoned. Also cleaned up
  5648. the function to be usable by non players. [Skotlex]
  5649. * Shadow Jump no longer goes over walls. [Skotlex]
  5650. * battle_calc_gvg_damage will be invoked in gvg maps regardless of woe
  5651. time. [Skotlex]
  5652. * NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis.
  5653. [Skotlex]
  5654. * md->class_ will be changed on mob-class-change to fix all class-change
  5655. related bugs. On respawn, the spawn data will be used to revert to the
  5656. original class. [Skotlex]
  5657. * Improved the pet skillbonus timer for "eternal bonuses" cases where the
  5658. bonus delay is 0. [Skotlex]
  5659. 2006/09/13
  5660. * SC_CHANGE cannot override itself anymore. This fixes being able to
  5661. "recast" the skill while it's still active to lengthen the duration AND
  5662. reheal the target. [Skotlex]
  5663. * Changed a bit the dnsbl lookup in the login servers to make it faster.
  5664. [Skotlex]
  5665. * Moved the pc rate modifiers from items
  5666. (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from
  5667. status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and
  5668. also fixes Osiris card not applying to said bonuses. [Skotlex]
  5669. * Fixed pc_damage_delay_rate not working, thanks to Orn. [Skotlex]
  5670. * Modified the nocommand mapflag so you can specify the GM range that is
  5671. blocked from using commands (eg: "prontera.gat mapflag nocommand 40"
  5672. disables commands to characters in the GM range 0~39) [Skotlex]
  5673. * Modified the char-server TXT whisper system to use the online_db to know
  5674. to which map server forward whispers, instead of just sending the whisper
  5675. to every map server. [Skotlex]
  5676. * Readded the setting TCP_NODELAY on socket.c to see if it fixes the
  5677. walk-lag issue. [Skotlex]
  5678. 2006/09/12
  5679. * Modified the login SQL server so that case insensitive lookups use "where
  5680. name = BINARY 'name'" instead of "where BINARY name = 'name'", since this
  5681. way the name index should be used, and performance will no longer be
  5682. heavily affected. [Skotlex]
  5683. * Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on
  5684. the tables memo/friends, and online/name on the char table. Added
  5685. upgrade_svn8728.sql to add these indexes to already existing tables.
  5686. [Skotlex]
  5687. * Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible
  5688. with Mysql 4 installations. [Skotlex]
  5689. * Moved the morph restrictions from skill_additional_effect to
  5690. mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or
  5691. treasure boxes. [Skotlex]
  5692. * Fixed 'range' might be used uninitialized warning [Toms]
  5693. * Added Jaguar's sql script to convert all tables to MyISAM. It's located
  5694. in sql-files/convert_engine.sql WARNING: Using MyISAM is much faster than
  5695. InnoDB, but you are strongly recommended to backup your database before
  5696. switching engines since we don't know if eA is fully coded to work
  5697. correctly with MyISAM yet. [Skotlex]
  5698. * Added manual deletion of sc_data entries when deleting a character
  5699. (char-SQL) [Skotlex]
  5700. * Updated main.sql to use pure MyISAM tables, removed all foreign keys.
  5701. [Skotlex]
  5702. * Updated battle_switch to use strncmpi instead of strcmpi, it makes it so
  5703. using "yessir" will match "yes", this is actually needed because if you set
  5704. a config setting to "yes " (notice the trailing space), then the map config
  5705. engine fails to read it right, and will set the config setting to 0 (no).
  5706. [Skotlex]
  5707. * Some corrections to hate_mob cleanup when triggering the Angel stuff. [Skotlex]
  5708. * Updated the show_mob_info setting to add another space to the separating
  5709. pipes, so that each field is separated by " | " instead of " |". [Skotlex]
  5710. * Homunculus intimacy will go back to 500 on evolution. [Skotlex]
  5711. * Baphomet splash damage will now hit nearby enemies regardless of flee
  5712. (but the initial attack still has to connect for the splash to trigger)
  5713. [Skotlex]
  5714. 2006/09/11
  5715. * Modified set_nonblocking and setsocketoptions in socket.c, using eApp's
  5716. code as reference. Hopefully should improve performance somewhat. [Skotlex]
  5717. * Added a comment explaining what a comment is to login/char/map config
  5718. files, as well as the main script config file. [Skotlex]
  5719. * Modified SG_FEEL so that it works the same way that in Aegis
  5720. (packet-wise) [Skotlex]
  5721. * Added a comment to explain how to "remove" a string variable from the
  5722. msg_athena entries. [Skotlex]
  5723. * Summoned and slave mobs won't show up on @showmobs anymore. [Skotlex]
  5724. * Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix,
  5725. so that damage will be doubled based on the actual attack element.
  5726. [Skotlex]
  5727. * Adjusted autospell cards to trigger only on physical weapon attacks.
  5728. [Skotlex]
  5729. * Adjusted a bit the heal code, it should now show either the full heal
  5730. amount, or 0, depending on whether the target was healed at all or not
  5731. (this also means it shows 0 if you try to heal a full-life character.. but
  5732. it's the closest I've gotten to make it display 0 on Berserked chars)
  5733. [Skotlex]
  5734. * Memorize will be consumed even on instant cast spells now. [Skotlex]
  5735. * Berserk will end now if hit and remaining hp is less or equal to 100.
  5736. [Skotlex]
  5737. * Guild Aura will be removed on sc-load to prevent Guild Masters from
  5738. getting that bonus from the old implementation. [Skotlex]
  5739. * Added D-Kalck's fix of the TXT -> SQL converter [Playtester]
  5740. 2006/09/10
  5741. * Thanks to KarLaeda, added missing function in @showmobs [Lupus]
  5742. - Script function 'query_sql': In the TXT version it doesn't fill the array
  5743. and always return -1. Added for scripts compatibility. Your scripts
  5744. won't crash in TXT version. They can work it around.
  5745. I suggest we need a function getversion()
  5746. * Updated item_db.sql and mob_db.sql [Playtester]
  5747. 2006/09/09
  5748. * Added a crash protection in case mapfreeblock unlock tries to free a null
  5749. pointer. [Skotlex]
  5750. * Moved perfect_hiding from state to special_state, so that it clears out
  5751. when you remove your pet. [Skotlex]
  5752. * Probably fixed the Taekwon Rest skills. [Skotlex]
  5753. * Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy:
  5754. X entries missing, continuing destruction. Manager for entries of size
  5755. 16.") [Skotlex]
  5756. 2006/09/08
  5757. * Unified the rest and ganster paradise code into a single function.
  5758. [Skotlex]
  5759. * Moved the Happy State trigger to the regen function, it now triggers at
  5760. the same time SPTIME does. [Skotlex]
  5761. * Cleaned up SG_HATE, hope it works now. [Skotlex]
  5762. * Removed sg_miracle_skill_duration, replaced it with
  5763. sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify
  5764. a range for the duration of the skill. [Skotlex]
  5765. * Added upgrade_svn8675.sql in case, for some reason, your guild table
  5766. still has the emblem_data field as a 'blob' with "NOT NULL" specified.
  5767. [Skotlex]
  5768. * Fixed alliance/opposition making not cancelling out map-server-side when
  5769. the guild already had max number of alliances/oppositions (thanks to k3dt)
  5770. [Skotlex]
  5771. 2006/09/07
  5772. * Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg:
  5773. wand of hermod) [Skotlex]
  5774. * Cleaned up the doridori parse clif function. [Skotlex]
  5775. * Merged some of mpeg's work on NJ skills [Skotlex]
  5776. * Removed the Warmth "stacking" code. [Skotlex]
  5777. * Added back the effect of /doridori to skill-SP regen [Skotlex]
  5778. * Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low
  5779. chance of triggering on doridori-boosted SP-regen events. However, it has
  5780. no client-side messages yet (need to add these in) [Skotlex]
  5781. * Added sg_angel_skill_ratio to specify rate at which the Angel skill
  5782. triggers. [Skotlex]
  5783. * Added unit_cancel_combo which takes care of ending a combo time and
  5784. resuming normal attack 'inmediately' [Skotlex]
  5785. * Cleaned up some the SG_HATE code, you can't change hate targets anymore.
  5786. [Skotlex]
  5787. 2006/09/06
  5788. * Fixed the memset in status_calc_pc, corrects some mysterious bugs such as
  5789. item-drop bonuses suddenly not working anymore. [Skotlex]
  5790. * Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
  5791. [Skotlex]
  5792. * Fixed Aex Aeterna ending on Soul Breaker's first half. [Skotlex]
  5793. * Applied Orn's modification on speed increases/reductions with increase/
  5794. decrease agi [Toms]
  5795. 2006/09/05
  5796. * Removed setting mob_show_hp, it's been replaced now by mob_show_info,
  5797. which can be used to specify what kind of info should be displayed from a
  5798. mob. Current options are two different formats for Hp display, and current
  5799. level (monster.conf). [Skotlex]
  5800. * Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%
  5801. [Skotlex]
  5802. * Applied the Ultra Mage's suggestion to have the map server strip trailing
  5803. spaces/comments from the config files. It will also now print out when an
  5804. unknown config setting is found. [Skotlex]
  5805. * Fixed status change resistance not being invoked at all for pretty much
  5806. all cases. [Skotlex]
  5807. * Corrected SC_INTRAVISION not starting. [Skotlex]
  5808. * Fixed crash when attempting to read a Label as a string on a script
  5809. (thanks to End of Exam) [Skotlex]
  5810. * Fixed possible crash when changing a chat-room's owner (thanks to End of
  5811. Exam) [Skotlex]
  5812. * Fixed dispell removing SC_NOCHAT [Skotlex]
  5813. * Small fix which should correct skill_attack damaging hidden characters
  5814. when it shouldn't. [Skotlex]
  5815. * Fixed connect_until field being a smallint rather than int in the login
  5816. table (upgrade with upgrade_svn8630.sql) [Skotlex]
  5817. 2006/09/04
  5818. * Fixed crash when using Adaptation during an Encore. [Skotlex]
  5819. * Should have fixed manner being reset to 0 on logout while muted.
  5820. [Skotlex]
  5821. * Removed status_get_sc_tick, duration and chance are now both handled by
  5822. status_get_sc_def (this means status change duration and success rate
  5823. both will always follow the very same formula) [Skotlex]
  5824. * Fixed mob-kill experience getting screwed up when characters who did
  5825. damage die/logout at the moment the mob dies. [Skotlex]
  5826. * Should have fixed "sleep", thanks to Lance for figuring out the error.
  5827. [Skotlex]
  5828. * SC_REFLECTSHIELD will now be passed to devoted characters at cast-time.
  5829. [Skotlex]
  5830. * Added a check to make a mob's level 1 if the read level from the db is
  5831. less than it. [Skotlex]
  5832. * status_calc_misc will now be invoked in status_calc_bl even on the first
  5833. call, since status could have gone up due to skill bonuses. [Skotlex]
  5834. * Moved max HP/SP calculations to before invoking status_calc_misc
  5835. [Skotlex]
  5836. * Simplified distance and check_distance to use "aegis" methods (greater of
  5837. dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when
  5838. set, the previous method is used, and "for each in range" calls will also
  5839. check for distances, making most ground skills and battle system use real
  5840. circles instead of squares. [Skotlex]
  5841. 2006/09/03
  5842. * Fixed SC_BERSERK's no regen penalty lasting pretty much forever.
  5843. [Skotlex]
  5844. 2006/09/02
  5845. * SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather
  5846. than blocking all types of regen. [Skotlex]
  5847. * LK_BERSERK will now only block natural regen on state-end. [Skotlex]
  5848. * SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural
  5849. sp regen and not skill regen [Skotlex]
  5850. * SC_REGENERATION blocking will be cancelled on logout now. [Skotlex]
  5851. * Corrected SCB_LUK not updating SCB_BATK as well. [Skotlex]
  5852. 2006/09/01
  5853. * Corrected script_commands description of getequipid, it returns -1, not 0
  5854. on fail. [Skotlex]
  5855. * Fixed the mob-id check during pet_db loading, it will also now print when
  5856. a pet is not loaded due to having an invalid mob class specified. [Skotlex]
  5857. * The "delete_timer error/no such timer" report will now print the related function [Toms]
  5858. * The Clearing unused stack report will now print the related NPC [Toms]
  5859. * The duplicate npc report will now print the related file name [Toms]
  5860. * Added config setting "partial_name_scan", which specifies whether @ given
  5861. names should use a partial string lookup or absolute name lookup. Defaults
  5862. to no (gm.conf) [Skotlex]
  5863. * Expanded status_calc_misc so it may also calculate the batk of characters
  5864. as well as their regen data (if they have it) [Skotlex]
  5865. * Fixed a memory leak when using charsave_method:1 [Skotlex]
  5866. * Soul Breaker will now be affected by Lex Aeterna on both parts of the
  5867. attack. [Skotlex]
  5868. * Status changes with no skill and no SCB* data will now go through if they
  5869. have an SI* icon. This should fix SC_MIRACLE [Skotlex]
  5870. * Reverted switching a mob's adelay/amotion when the later is longer than
  5871. the former, now both get updated to amotion. [Skotlex]
  5872. 2006/08/31
  5873. * Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to
  5874. skill_counter_additional_effect [Skotlex]
  5875. * Simplified skillnotok_hom by using an invocation to skillnotok [Skotlex]
  5876. * Hopefully fixed BD_ADAPTATION [Skotlex]
  5877. * Homun won't lose any intimacy on death now. [Skotlex]
  5878. * Homun will be saved together with the master now (as long as the homun is
  5879. active) [Skotlex]
  5880. * Modified the error reporting in map_freeblock_unlock so that when there's
  5881. an error, the reported line number is the file's linenumber plus the
  5882. object's type *10000. This is for debug information to help track down the
  5883. already-freed error. [Skotlex]
  5884. * pc_adopt will now preserve the kid's job/job-level/experience. This means
  5885. that if you adopt a Swordman level 45, it will become a baby-swordman level
  5886. 45, with the exact same exp as before. [Skotlex]
  5887. * Fixed new mob's name not sent to the client when the mob is morphed [Toms]
  5888. * Added setting attack_walk_delay which specifies whether a character
  5889. should (or not) be able to move inmediately after starting a normal attack
  5890. (battle.conf). Defaults to 0 since that's what Aegis uses. [Skotlex]
  5891. * Fixed @summon's delete timer being screwed up. [Skotlex]
  5892. * Cleaned up a bit the summon script command. [Skotlex]
  5893. * Fixed the clone script command's delete-timer being screwed up. [Skotlex]
  5894. 2006/08/30
  5895. * Skill required-state will now only be checked on cast-begin, not
  5896. cast-end. [Skotlex]
  5897. * Added a check in status_calc_pc to prevent player rate adjustments from
  5898. from going below 0. [Skotlex]
  5899. * Removed sending normal-damage packets instead of skill packets for
  5900. splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
  5901. * Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
  5902. vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
  5903. minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]
  5904. * Fixed up char-sql compilation. [Skotlex]
  5905. * Added a message to @clearweather stating when climate changes will
  5906. dispel. [Skotlex]
  5907. * Corrected @hidenpc saying that it's command name was "@npcoff" [Skotlex]
  5908. * Updated itemdb reading on the char-sql server so that it reads both
  5909. item_db and item_db2 files (totally untested yet) [Skotlex]
  5910. 2006/08/29
  5911. * Added printing out whenever the irc-module attempts to connect, to debug
  5912. whether the map-server lag is due to this or not. [Skotlex]
  5913. * Mobs will now always chase players using hard-path seeks. [Skotlex]
  5914. * monster_ai&1 now only signals whether mobs should update their target
  5915. cell while chasing more frequently (rather than being state-driven like
  5916. Aegis) [Skotlex]
  5917. * Changed the defaults of view_range_rate and chase_range_rate to 120 to
  5918. aproximate better Aegis's view ranges (which are square areas and not
  5919. circles) [Skotlex]
  5920. * Applied Mpeg's work on GS [Toms]
  5921. ( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
  5922. * Fixed a syntax error in @showmobs [Toms]
  5923. * Added @showmobs. It shows selected mobs on your mini-map (excluding
  5924. mini-bosses & MVP) thanks to KarLaeda for the command [Lupus]
  5925. 2006/08/28
  5926. * Modified the dancing code and Moonlit Petals in particular, so that it is
  5927. treated as an ensemble like any other, it will just knockback people when
  5928. they step into it. [Skotlex]
  5929. * The memory leak reports will now print out in the logs also the revision
  5930. they belong to. [Skotlex]
  5931. * Cleaned up the scriptable npc-shop code, it should be crash-proof now.
  5932. [Skotlex]
  5933. * Added TK level-up buffs to SG too, and extended them to 10 min [DracoRPG]
  5934. * Added "Barefeet Mastery" effect to TK_RUN (thanks Tharis for both) [DracoRPG]
  5935. * Changed the produce_db format, now there's a skill-lv column right after
  5936. the skill-id column to specify required skill-level to craft this item.
  5937. [Skotlex]
  5938. * Modified the skill produce_db code to take into account the new skill-lv
  5939. requirement. [Skotlex]
  5940. * Fixed exp bonuses applying twice for the job-exp [Skotlex]
  5941. * @reloadbattleconf will now also update the ragsrvinfo table on the
  5942. char-server. [Skotlex]
  5943. * Fixed homun hp/sp growth rates stacking with HP/SP passive increasing
  5944. skills. [Skotlex]
  5945. 2006/08/27
  5946. * Fixed undefined reference to 'malloc_set' in log.c [Toms]
  5947. * Updated svn-revision reading, now it can read the new svn file system [Toms]
  5948. * Fixed a bug with homunc which could spawn on a non-walkable cell [Toms]
  5949. 2006/08/26
  5950. * Optional macro MEMSET_TURBO for faster low-level memory initializations. [Lance]
  5951. * Small bug fix in read_homunculus_expdb (a warning was always displayed) [Toms]
  5952. * Small adjustment on the mob_ai code which could fix mobs not chasing you
  5953. if you hit them from the maximum possible diagonal distance. [Skotlex]
  5954. 2006/08/25
  5955. * Cleaned some the skill unit removal added flag so that it signals whether
  5956. the skill is being force-removed, or it has "naturally expired". [Skotlex]
  5957. * The following skills will display a normal attack animation now:
  5958. NPC_WATERATTACK, NPC_GROUNDATTACK, NPC_FIREATTACK, NPC_WINDATTACK,
  5959. NPC_POISONATTACK, NPC_HOLYATTACK, NPC_DARKNESSATTACK,
  5960. NPC_TELEKINESISATTACK, NPC_SPLASHATTACK
  5961. * Skills that require a weapon and consume spirit spheres will no longer be
  5962. auto-tagged to require ammo. [Skotlex]
  5963. * Now MISC skills with delay 0 will also use the attack delay (if the skill
  5964. is tagged to do damage) [Skotlex]
  5965. * Added script commands roclass/eaclass to enable scripts to access eA's
  5966. job format. Read script_commands.txt and ea_job_system.txt for a more
  5967. complete explanation of how this job system works. [Skotlex]
  5968. * Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.
  5969. If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in
  5970. UNT_WARP_WAITING and will destroy it. [Toms]
  5971. ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102
  5972. when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE )
  5973. 2006/08/24
  5974. * Little cleanup on homunc's code [Toms]
  5975. * Modified @reloadmobdb & @reloadskilldb to reload homunc's db too [Toms]
  5976. * Now when a mob's adelay is set to be less than the amotion, both values
  5977. will be swapped (this is an attempt to understand how those mobs actually
  5978. work on aegis) [Skotlex]
  5979. * script command "isrefine" will no longer return always false for equip
  5980. positions above 6 (this has not been needed since the addition of the
  5981. refine column to tbe item_db many months ago) [Skotlex]
  5982. * Added NPC_CRITICALSLASH to the list of skills that display as a normal
  5983. attack. [Skotlex]
  5984. * Reverted the previous change, changed the pet capture code to try to
  5985. capture a mob based on their view class rather than actual class.
  5986. [Skotlex]
  5987. * Fixed the md->class_ variable not being updated when a mob's class is
  5988. changed. [Skotlex]
  5989. * Added setting clear_skills_on_warp to specify when a character's
  5990. land-based skills are deleted when the caster changes maps. Defaults to all
  5991. types. [Skotlex]
  5992. * Should have fixed Brandish Spear not passing the flag to skill_attack,
  5993. causing it to do miserable damage. [Skotlex]
  5994. * Warp Portal will no longer be removed when caster steps through it (this
  5995. is left to the new clear_skills_on_warp setting) [Skotlex]
  5996. * Cleaned up status_percent_change to switch equations when the target has
  5997. high hp to prevent overflows, also it will directly take hp/maxhp when a
  5998. rate of 100 or higher is passed to prevent calculations. [Skotlex]
  5999. * Traps and Land Elemental fields are no longer automatically removed on
  6000. map change (handled now by clear_skills_on_warp) [Skotlex]
  6001. * traps_setting &2 no longer does anything (handled now by blah blah)
  6002. [Skotlex]
  6003. * Applied some change from mpeg on Ninja Skills [Toms]
  6004. * Put HVAN_Explosion based on max_hp instead of current hp [Toms]
  6005. 2006/08/23
  6006. * Fixed mob_clone_spawn completely ignoring the mode variable. [Skotlex]
  6007. * Fixed Energy Coat reducing and consuming more than it should when you
  6008. have 100% SP [Skotlex]
  6009. * Cleaned up getmapxy script function, also added support for type 4 so
  6010. that it returns a player's homunculus position if such exists. [Skotlex]
  6011. * SC_ARMOR_ELEMENT looks like gone away from status_change_start since ... rev 6791.
  6012. Try to reimplement it. [Toms]
  6013. * Fixed HVAN_EXPLOSION [Skotlex]
  6014. * Frost Nova won't display a nodamage skill packet (still need to sort out
  6015. a way to fix the splash damaged packets) [Skotlex]
  6016. * Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknown [Toms]
  6017. * Added debug on "Inifity loop" to know which script is making this loop [Toms]
  6018. 2006/08/22
  6019. * More fixes to the splash code. Kamaitachi and Sharpshooting should
  6020. display correctly now. [Skotlex]
  6021. * Fixed a crash on the mobspawn script command. [Skotlex]
  6022. * Made SC_FLEET increase batk as well as watk. [Skotlex]
  6023. * Fixed gcc warning [Toms]
  6024. * Fixed AM_REST not closing the homunc status window [Toms]
  6025. * Fixed SC_NEN according to Mpeg [Toms]
  6026. * Added a ShowStatus("Terminating...\n") on login-server_sql [Toms]
  6027. * Some corrections to make Tatami Gaeshi work correctly. [Skotlex]
  6028. * Fixed SBR44 doing 100% more damage than it should. [Skotlex]
  6029. * Some more work on the splash skill code. Now splash-damaged enemies
  6030. should show no animation at all, just the damage-number, while only the
  6031. targetted character should still display the full skill animation.
  6032. [Skotlex]
  6033. * Modified the homun-txt file-save format to separate the name from the
  6034. rest of fields with tabs (like character saving does), this may fix homun
  6035. save/loading when using non-latin characters on the name, but be warned
  6036. that it also means the previous homun-data files are lost! (unless you
  6037. replace the comma before the start of a name with a tab) [Skotlex]
  6038. * getnameditem will now also work on stackable items [Skotlex]
  6039. * Corrected battle_calc_weapon_attack so that all skills ignore your
  6040. left-hand weapon, and that the Katar's double-attack damage bonus for the
  6041. offhand damage applies ONLY on normal attacks. [Skotlex]
  6042. * Fixed Resurrect Homunculus's % to 20*lv% [Skotlex]
  6043. * Added SQL update which should remove \' from guild names [Toms]
  6044. * Added option to disable character deletion of certain levels [Lupus]
  6045. check char_athena.conf for this option format
  6046. 2006/08/21
  6047. * Some more cleaning up of the splash skill code. Now the passed hit value
  6048. for the splash targetted mobs is 9 instead of 5, this allows multi-hitting
  6049. splash skills to display the number of hits correctly. [Skotlex]
  6050. * Fixed call homunc bug when the homunc was vapo and the master has change
  6051. of map [Toms]
  6052. * Fixed SQL-Guild Creation, guild name was escaped 2 times [Toms]
  6053. * Some cleaning of the splash skills. Updated skill-attack to enable again
  6054. passing of flag 0xF000 which signals that the skill level sent to the
  6055. client should be -1 (no skill name shouted). Should (hopefully) clear/clean
  6056. up a bunch of splash damage skill animation-related packets. [Skotlex]
  6057. * Homun saving won't cap hp/sp to max hp/sp since a homun can have higher
  6058. hp/sp than the one stated in the db (due to skill bonuses or status
  6059. changes) [Skotlex]
  6060. * Cleaned up some more the regen_data structure, so that
  6061. skill/sitting-skill related data is optional (since only players have it).
  6062. [Skotlex]
  6063. * Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values [Toms]
  6064. * Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID [Toms]
  6065. * Adjusted Glittering's success rate to 20+10*lv% [Skotlex]
  6066. * Corrected isequipped() so that cards will not be tagged as "used up"
  6067. unless all the specified items were found. [Skotlex]
  6068. * Fixed a confusion in skill_attack using the src instead of dsrc for some
  6069. calls, which was causing some problems with the KAITE check from AoE
  6070. spells. [Skotlex]
  6071. * Fixed ASC_BREAKER's misc damage part not having the ignore-element flag
  6072. set. [Skotlex]
  6073. * Moved homunc battle conf from misc.conf to homunc.conf [Toms]
  6074. * Some cleaning in skill.c in regard to homun skills. [Skotlex]
  6075. * Madness Canceller now stacks with other aspd bonuses, just like Berserk
  6076. does. [Skotlex]
  6077. * Removed config setting "muting_players", and expanded the manner_system
  6078. config to specify how having negative manner (mute) affects a player (see
  6079. battle/misc.conf). [Skotlex]
  6080. * Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode,
  6081. if 2 is used, it makes killing players give you a loss of 5 manner points.
  6082. [Skotlex]
  6083. * Fixed WS_WEAPONREFINE always failing when at less than job 50. [Skotlex]
  6084. * Fixed the Autosave routine not working when there's only one player
  6085. online. [Skotlex]
  6086. * Disabled command @rain since the client no longer supports it anyway.
  6087. [Skotlex]
  6088. * Fixed delitem not checking for the first slot's card, also optimized it
  6089. so that it doesn't checks on the other slots. [Skotlex]
  6090. 2006/08/20
  6091. * Added a check during mob_db loading so that the six basic stats, max hp
  6092. and max sp are never below 1, as this could cause crashes when using
  6093. certain skills. [Skotlex]
  6094. * Gravitation now only blocks the caster from using potions. [Skotlex]
  6095. * Corrected Madness Canceller letting you walk while the effect lasts.
  6096. [Skotlex]
  6097. * Splitted yet again ASC_BREAKER into a two-part attack. This time the
  6098. int-based damage is a MISC type attack, and gets reduced by skills as such.
  6099. [Skotlex]
  6100. * Fixed "int format, long unsigned int arg" warning [Toms]
  6101. * Fixed a warning when using cap_value(x, 0, x) on an unsigned value [Toms]
  6102. * Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos [Toms]
  6103. * Fixed homunc skill 8016 not considered as homunc skill [Toms]
  6104. * @useskill will now cause your homun to use the skill instead of you if
  6105. the skill is a Homun skill and you have an active homunculus. [Skotlex]
  6106. * Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me
  6107. that Vicious told him the chance was much lower like that) [Skotlex]
  6108. * Fixed some Homunc issues with HR servers (capping some values) [Toms]
  6109. * Added @hominfo command to obtain real values (not capped ones) [Toms]
  6110. 2006/08/19
  6111. * Fixed @homlvup bug [Toms]
  6112. * Fixed AM_REST & AM_RESU consumming SP if they fail [Toms]
  6113. * Fixed homunc spawning bug (they was spawned after an AM_REST + master warp for example)[Toms]
  6114. * Fixed GS_GROUNDDRIFT [Skotlex]
  6115. * Increased chance of GS_DESPERADO connecting to 20% [Skotlex]
  6116. * Fixed battle_calc_base_damage being called for the left hand even for
  6117. non-dual-wielding attacks. left-hand damage was being set to 0 later
  6118. anyway, so no exploit existed. [Skotlex]
  6119. * Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll
  6120. apply correctly when dual-wielding different types of weapons. [Skotlex]
  6121. * Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the
  6122. items (0x80000 should be for them and 0x100000 should be currently unused)
  6123. [Skotlex]
  6124. * Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
  6125. * Fixed HAMI_CASTLE [Toms]
  6126. * Fixed HLIF_CHANGE [Toms]
  6127. * Updated HLIF_BRAIN skill [Toms]
  6128. * Fixed homunculus intimacy on feeding [Toms]
  6129. * Added homunculus_friendly_rate battle config [Toms]
  6130. * Some compilation warnings fixed [Toms]
  6131. * Added skill's required item check on homunc skills [Toms]
  6132. * Add Condensed Red Potion as a required item for HLIF_HEAL [Toms]
  6133. 2006/08/18
  6134. * Little code cleanup on last fix [Toms]
  6135. * Fixed HLIF_HEAL healing the homunc instead of the master [Toms]
  6136. * Fixed HLIF_AVOID not increasing walk speed of master [Toms]
  6137. * Fixed the atk_rate (Turtle General Card) bonus not working on
  6138. dual-wielders. [Skotlex]
  6139. * Made HLIF_HEAL a self skill that auto-selects target to caster's master.
  6140. [Skotlex]
  6141. * Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE [Skotlex]
  6142. * Applied a correction to HVAN_EXPLOSION [Skotlex]
  6143. * Fixed Homun ASPD calculation being able to underflow and give you min
  6144. speed. [Skotlex]
  6145. * Added monster_ai&128 to make aggressive mobs ignore that behaviour of
  6146. always picking Homun targets above player targets regardless of who is
  6147. closer. [Skotlex]
  6148. * Fixed homun info packet being unable to display HP/SP correctly once the
  6149. values are above 32k. [Skotlex]
  6150. * Applied Mpeg's work on ninja [Toms]
  6151. * Fixed @homlvup [Toms]
  6152. * Added guild_aura (skill.conf) setting so you can specify when it works
  6153. and if it works on the guild-master itself. Defaults to working all the
  6154. time on everyone except GM. [Skotlex]
  6155. * Little code cleanup [Toms]
  6156. * Cleaned merc_hom_evolution to avoid free'ing/realloc'ing [Toms]
  6157. * Fixed "args of aFree is freed pointer" on Homunc deletion [Toms]
  6158. * Changed unit_free so that it receives which cleartype should be used when
  6159. the character is still on a map. Used this on status_damage so that mobs
  6160. that do not respawn when killed will properly display the death animation.
  6161. [Skotlex]
  6162. * Fixed Energy Coat consuming 10x less SP per hit than it should.
  6163. * Fixed signed/unsigned comparison issues with natural heal system [Toms]
  6164. 2006/08/17
  6165. * Vaporize will no fail when the homun is dead. [Skotlex]
  6166. * Corrected thhe double free issue that occurs when a homun dies and has no
  6167. intimacy left. [Skotlex]
  6168. * Fixed the charsave_method:1 saving/loading exp as signed ints rather than
  6169. unsigned. [Skotlex]
  6170. * Applied use of structure regen_data for a unified regen module. Natural
  6171. and skill-heal is handled by this structure, while sitting-skill-heal is
  6172. still player dependant (mostly because the other object types can't sit)
  6173. [Skotlex]
  6174. * Cleaned up the status calc code for homun by moving it from
  6175. status_calc_bl_sub_homun to status_calc_homun (where it should had always
  6176. been) [Skotlex]
  6177. * Updated SQL files [Playtester]
  6178. * Corrected map_random_dir algorithm [Toms]
  6179. * Fixed homunc natural heal and little code cleanup [Toms]
  6180. * Changed AM_CALLHOMUN Skill to spawn the homunc at 1 cell from his master [Toms]
  6181. 2006/08/16
  6182. * Fixed being unable to recast Adrenaline Rush to reset the duration
  6183. timers. [Skotlex]
  6184. * Cleaned up skill_get_range2 so that using range 0 for non-self skills
  6185. uses the caster's attack range. [Skotlex]
  6186. * Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized
  6187. homun. [Skotlex]
  6188. * Spirit of Wizard will now consume an item 7321 each time it blocks
  6189. reflected magic. [Skotlex]
  6190. * Added script command jobname, retrieves a given's class name as per the
  6191. appropiate msg_athena.txt entry (this command should had been added years
  6192. ago) [Skotlex]
  6193. * Fixed null-pointer crash on Evolving a homunculus. [Skotlex]
  6194. * @produce now can make any kind of equipment [Skotlex]
  6195. * Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster
  6196. and target. [Skotlex]
  6197. * AM_REST shouldn't be checking for a range now (since it's a self skill)
  6198. [Skotlex]
  6199. * Updated mob_ai so that mobs will use their rude-attacked skill when they
  6200. can't reach their current target. [Skotlex]
  6201. * Fixed the default txt config making pets be saved to the homun file
  6202. instead of to the pet file. [Skotlex]
  6203. * Now arrow-consuming skills where your main weapon is a whip or musical
  6204. instrument WILL count as arrow-type attacks, using the atk of the arrow and
  6205. all related bonuses. [Skotlex]
  6206. * Fixed some homun timer initialization code. [Skotlex]
  6207. 2006/08/15
  6208. * Applied multiple fixes which should take care of making homun save/load
  6209. work on TXT now. [Skotlex]
  6210. * Added Gatling Fever's batk bonus. [Skotlex]
  6211. * Some cleaning in status_damage which should prevent trying to free
  6212. already free'd pointers when unit_remove_map invokes unit_free (when
  6213. status_damage was going to invoke unit_free anyway) [Skotlex]
  6214. * Delete homunc's skills from sql when the homunc is destroyed [Toms]
  6215. * Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu [Toms]
  6216. * Updated vc-project files to compile with the new int_homun files.
  6217. [Skotlex]
  6218. * Hopefully fixed the crash when using charsave_method = 1 [Skotlex]
  6219. * Moved s_pet structure from map_session_data to pet_data, this enabled the
  6220. removal of a few redundant values in the pet_data structure (name, class,
  6221. equip) [Skotlex]
  6222. * Cleaned up some of the pet related @/# commands, same for some script
  6223. commands. [Skotlex]
  6224. * Pet offensive skills who's inf value is self will be casted on the pet
  6225. now (for stuff like Grand Cross) [Skotlex]
  6226. * Added homun saving/loading support to char-TXT. Note that this is
  6227. completely untested, so it may be as good as broken. [Skotlex]
  6228. * Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun
  6229. has no master (need to clean up this function later) [Skotlex]
  6230. * Tested char-txt load/save, it seems to be working fine, but you should
  6231. STILL backup, as I only launched the server (read old character format),
  6232. closed it down (saved into the new format) and relaunch it (read the new
  6233. format) and it didn't give problems (but there's still the possibility of
  6234. some field being read in the incorrect offset or such). [Skotlex]
  6235. * Updated the char save structure for char-TXT servers so that the homun id
  6236. will be saved, now also the map info (last point, save point, memo maps)
  6237. are now saved using the mapindex rather than the string. BACKUP BEFORE
  6238. UPDATING since this code isn't yet tested. [Skotlex]
  6239. * Cleaned up a bit the char-saving code, added overflow crash prevention in
  6240. case there are more memos than the max-allowed saved. [Skotlex]
  6241. * AM_CALLHOMUN can now be used to recall vaporized homuns. [Skotlex]
  6242. * AM_RESURRECTHOMUN will now fail when the homun is vaporized. [Skotlex]
  6243. * Added SCB_DYE which marks which status-changes need a forced cloth dye
  6244. change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status
  6245. uses it. [Skotlex]
  6246. * Asura Strike now moves you to the target on fail always (unless the
  6247. target does not exists or is in another map or there's a obstacle on the
  6248. way) [Skotlex]
  6249. * Corrected skill_attack_area hitting dead characters on it's splash range.
  6250. [Skotlex]
  6251. * Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable
  6252. SG to show the fly animation again, even if sometimes others will see him
  6253. as Santa. As for xmas cloth, it shouldn't make much of a difference since
  6254. the view class is changed to christmas anyway. [Skotlex]
  6255. * Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where
  6256. they automatically pick a spot around you. [Skotlex]
  6257. * Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now.
  6258. [Skotlex]
  6259. * Cleaned up some the hom evolution code. [Skotlex]
  6260. * Fixed SIGSEGV with homunc save [Toms]
  6261. 2006/08/14
  6262. * Removed support for negative autosave intervals, instead added a
  6263. minsave_interval setting which specifies which is the minimum time between
  6264. character saves. Default to 100ms (map_athena.conf). [Skotlex]
  6265. * Sacrifice no longer shows damage to self. [Skotlex]
  6266. * When Asura fails, the skill display will still come off. [Skotlex]
  6267. * Lots of cleaning of the Homun-code. Perhaps the crashes as of late will
  6268. be fixed now (reusing AM_CALLHOMUN seems to be the cause of them)
  6269. [Skotlex]
  6270. * Increased Run's walk speed bonus to 25->50% [Skotlex]
  6271. * Modified emergency_call setting to allow for more specific configuration
  6272. (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see
  6273. skill.conf for details. [Skotlex]
  6274. * Fixed script engine allowing scripts to set a player's zeny to negative
  6275. values. [Skotlex]
  6276. * Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
  6277. [Skotlex]
  6278. * When readjusting the fame-list, the last entry's id is also reset (may
  6279. fix characters appearing more than once on it?) [Skotlex]
  6280. 2006/08/13
  6281. * Removed @itemcheck as it was totally pointless. [Skotlex]
  6282. * Corrected states killer/killable being easily dispellable. [Skotlex]
  6283. * Fixed the totally wrong text messages being used for @killer/@killable
  6284. related atcommands, added appropiate entries to msg_athena [Skotlex]
  6285. * Magic and Misc attacks will now get type "flee" when they do less than 1
  6286. damage, this blocks them from causing additional status effects when they
  6287. are blocked. [Skotlex]
  6288. * Cleaned up a bit the Basilica code, it should now properly end when you
  6289. walk. [Skotlex]
  6290. * Fixed some logs not working when you enabled all logs. [Skotlex]
  6291. * Corrected unmute being a level 60 command by default (should be 80)
  6292. [Skotlex]
  6293. * Corrected the mapif_parse_PartyChangeMap function to correctly update
  6294. level-range when someone logs on/off, fixes being unable to set even-share
  6295. on once it's been broken even when the characters out of range logoff.
  6296. [Skotlex]
  6297. 2006/08/11
  6298. * Fixed Kagebunshin no Jutsu crashing for dyes > 0; though this solution
  6299. might seem hackish (changing clothes colour to 0 when it starts while
  6300. storing original colour back in val4, restoring original dye upon
  6301. end), I believe this is the best way there currently is to solve
  6302. the issue. [blackhole89]
  6303. * Fixed Dancers/Bards being able to use normal attacks while performing.
  6304. [Skotlex]
  6305. 2006/08/10
  6306. * Fixed the item group bonus not working. [Skotlex]
  6307. * Fixed songs/dances always being considered overlapped with themselves.
  6308. [Skotlex]
  6309. * Added some additional song/dance overlap code that should correctly
  6310. change the effect of songs/dances when they overlap. [Skotlex]
  6311. * Added a check so that the status-change packet is always send to self
  6312. when the inflicted char is a player disguised. [Skotlex]
  6313. * Code cleanup on homunc, they stay in memory until player disconnect or
  6314. homunc destruction [Toms]
  6315. * Corrected Advanced Jobs HP bonus from 30% -> 25% [Skotlex]
  6316. * Hopefully fixed family-party-even-share not breaking when a member logs
  6317. out. [Skotlex]
  6318. * Should have fixed the login-sql crash when passed user-name's length is
  6319. beyond the limit. [Skotlex]
  6320. * Changed setting attack_attr_none to affect all neutral-element attacks.
  6321. Basicly, this setting is now used to determine who can hit for full damage
  6322. always when using neutral-attacks (defaults to non-players) [Skotlex]
  6323. * Fixed two instances in the login-sql server where the ip in the log-login
  6324. table was being stored backwards. [Skotlex]
  6325. * Now when a skill's range is 0 and the skill is NOT casted on self, it
  6326. will take the basic weapon's range (without Vulture/Snake Eye bonus).
  6327. [Skotlex]
  6328. * Now when a duration is not specified, sc_start/sc_start2/sc_start4 will
  6329. try to guess the duration by extracting it from the skill_db (it uses
  6330. skill_get_time on whatever skill is associated to the status-change using
  6331. val1 as skill-level) [Skotlex]
  6332. * Some cleanups on trade_tradeaccept to prevent packets being resent when
  6333. they shouldn't. [Skotlex]
  6334. * Fixed syntax error in 'guild' create table statement [Toms]
  6335. 2006/08/09
  6336. * Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
  6337. * Fixed homunc skill up bug [Toms]
  6338. * Adjusted some the dance/song/encore code so that the source of an
  6339. ensemble will always get checked, so that walking out of an ensemble skill
  6340. should make it end now. However, it's likely this is not completely solved
  6341. yet and will require further tweaking. [Skotlex]
  6342. * Added crash protection to the mob_db txt reading when the mob_db file has
  6343. lines with insufficient number of columns. [Skotlex]
  6344. * Moved the class-change code from battle_calc_weapon_attack to
  6345. skill_additional_effect. Alchemist summons now also have a chance of
  6346. triggering polymorphing. [Skotlex]
  6347. * Removed the code which was auto-setting attacks that do no damage to type
  6348. FLEE, since that was disabling status-effects which should incur even when
  6349. the damage was blocked. [Skotlex]
  6350. * Trade requests will now fail when either character is unable to act
  6351. (character in storage, vending, interacting with an npc, petrified, etc)
  6352. [Skotlex]
  6353. * Heard skotlex voice, changed all msg_table[] into msg_txt() in atcommand.c [Toms]
  6354. 2006/08/08
  6355. * Fixed the char-server not invoking the party_calc_state function when the
  6356. third party-member is added to a party, hence failing to check for families
  6357. and disabling even share from them unless all three relog first (state is
  6358. correctly calculated when party is first loaded). [Skotlex]
  6359. * Crash-protections in the mail-checking function. [Skotlex]
  6360. * Some additional parenthesis on equipment check in pc_equipitem, seems to
  6361. have fixed the mid/lower headgear-sprites not showing up. [Skotlex]
  6362. * Added back missing state set to prevent Ankle-Snare from being retrieved
  6363. after the target dies. [Skotlex]
  6364. * Fixed compilation warning [Toms]
  6365. * Added a check to handle Spider Web as a targetted skill. If there's more
  6366. than one character on the targetted cell, a different one may get trapped,
  6367. but it will mostly do as it is now. [Skotlex]
  6368. * Added check to Asura so that it will move you to the target when it fails
  6369. ONLY when you can cast the skill on the target (not stunned, asleep, target
  6370. not hidden, etc) [Skotlex]
  6371. * Changed the map_freeblock_unlock code so that when there's an "already
  6372. free'd pointer" error, the memory manager will print out the invoking
  6373. function rather than map_freeblock_unlock, this should help fix it up next
  6374. time it happens and is reported. [Skotlex]
  6375. * Casting Kaensin will clear out Suiton and viceversa now. [Skotlex]
  6376. * Fixed drop-rates (@whodrops) getting duplicates when you use @reloadmobdb
  6377. [Skotlex]
  6378. * Fixed unjailing not sending characters to Prontera. [Skotlex]
  6379. * Fixed yet again AS_SPLASHER doing full damage on all characters. Now you
  6380. can use the NK split damage value in the skill_db if you want damage
  6381. divided by the amount of targets rather than by 2. [Skotlex]
  6382. * Fixed crash on the battle_drain functions. [Skotlex]
  6383. * Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by
  6384. other types of objects other than Homunculus. [Skotlex]
  6385. * Cleaned up the Asura Strike code so that the SP/Spheres/States is not
  6386. consumed when the skill fails due to Fog of Wall. [Skotlex]
  6387. * When a negative delay for a skill is specified, this delay is now added
  6388. on top of the character's amotion rather than adelay [Skotlex]
  6389. * Modified main.sql to make the guild table allow NULL on the emblem data.
  6390. [Skotlex]
  6391. * Added file conf-tmpl/Changelog.txt to log config changes. [Skotlex]
  6392. 2006/08/07
  6393. * Fixed the login-sql server replying to the change-sex packet with the
  6394. wrong gender, causing the char-server to screw-up job-change updates.
  6395. [Skotlex]
  6396. * Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD work as
  6397. described on the docs now, this should also fix adopting not correctly
  6398. giving the family-related skills. The flag value of skill should be: 0 to
  6399. set the skill (if skill level is 0, this removes a learned skill), 1 grants
  6400. the skill as an item bonus which is temporary, and 2 will add a skill bonus
  6401. like 1, except the skill level adds up to whatever level already known of
  6402. that skill. [Skotlex]
  6403. * Fixed EQP_WEAPON related code messing up with both weapon AND shield.
  6404. [Skotlex]
  6405. * Cleaned up the Asura code so that when the skill fails your
  6406. SP/Spheres/Fury are all taken away always, as well as moving you next to
  6407. the target (as long as the target still exists within a reachable path from
  6408. your position) [Skotlex]
  6409. * SC_GUILDAURA is now removed on logout. [Skotlex]
  6410. * Fixed Venom Splasher doing half-damage instead of full-damage to the
  6411. "exploding" character. [Skotlex]
  6412. * Hopefully fixed the party_even_share cast-overflow bug as reported by
  6413. Adobe. [Skotlex]
  6414. * Standarized the autosave interval setting to be always in seconds
  6415. regardless of type. [Skotlex]
  6416. * Moved the "bosses can't be knockback" logic from battle_calc_* functions
  6417. and placed it on skill_blown. [Skotlex]
  6418. * Some parenthesis cleanup before invoking battle_calc_base_damage, could
  6419. be fixing the current issue with arrow attacks not adding the arrow damage.
  6420. [Skotlex]
  6421. * Fixed the map_search_freecell error which was making mobs fail to
  6422. respawn. [Skotlex]
  6423. * Added in Lupus's suggestion of not making multi-slot headgears set all
  6424. slot view-ids, which supposedly causes the client to re-draw the headgear
  6425. multiple times on characters. [Skotlex]
  6426. * Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
  6427. [Skotlex]
  6428. * Simplified the Tatami Gaeshi code. [Skotlex]
  6429. * Fixed AS_SPLASHER doing full damage on everyone except targetted char
  6430. instead of the other way around. [Skotlex]
  6431. * Fixed KAENSIN clearing out SUITON cells and viceversa. [Skotlex]
  6432. * The spawn area is now seen as range rather than absolute for mob spawn
  6433. lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around
  6434. the given x,y point. [Skotlex]
  6435. * Some clean up of the mob-spawn code. Now you can specify negative areas,
  6436. so that a spawn location such as 100,150,0,-1 will spawn a mob always on
  6437. x=100, but any Y value of the current map. [Skotlex]
  6438. * Reflected damage will now also have a chance of draining hp/sp. [Skotlex]
  6439. * Adjusted the order in which option/sc change packets are sent to match
  6440. Aegis's [Skotlex]
  6441. * Added script command getpartyleader through which you can retrieve
  6442. various information of a party's leader. See doc/script_commands.txt for
  6443. further information. [Skotlex]
  6444. * mpeg's Ninja work [Vicious]
  6445. * Adjusted Battle_check_target so that alchemist summoned mobs are
  6446. targetted by everyone as long as 1. The top-level master is a player and 2.
  6447. the actual attacker is not a mob-type. [Skotlex]
  6448. * Added config force_random_spawn which overrides the spawn-files defined
  6449. coordinates to make all mobs always spawn randomly on the map. [Skotlex]
  6450. * SC_SPEEDUP0 is no longer dispellable by SA_DISPEL [Skotlex]
  6451. 2006/08/06
  6452. * Updated item_db.sql & mob_db.sql to latest. [Toms]
  6453. * Little fixes on homunc (hp/sp are now saved and init stats changed) [Toms]
  6454. 2006/08/04
  6455. * Added a commented piece of code at the end of clif_parse_LoadEndAck which
  6456. will update your direction to wherever you were facing before warping.
  6457. Should this be the default? Nearby people DO see you facing on the same
  6458. direction before warping, it's only your client that will always see you
  6459. facing north on spawn (the spawn packet does contain direction
  6460. information). [Skotlex]
  6461. * Updated @mobinfo to display slots in the drop information. [Skotlex]
  6462. * Fixed flag.elefix not being respected in battle_calc_misc_damage.
  6463. [Skotlex]
  6464. * Some code cleanups in battle_calc_damage. [Skotlex]
  6465. * Modified bAddItemHealRate so it can receive both item-id and item-group
  6466. values (since the first item-id is +500, there's no risk of mixing them
  6467. up). [Skotlex]
  6468. * Removed settings enemy_critical_rate, homun_critical_rate. Added settings
  6469. enable_critical (defaults to specify only players), mob_critical_rate and
  6470. critical_rate. The last applies to all non-mobs and non-players
  6471. (battle/battle.conf) [Skotlex]
  6472. * Removed settings mob_npc_warp, mob_warpportal. Replaced with setting
  6473. mob_warp which specifies which types of warp can a mob step into
  6474. (battle/monster.conf) [Skotlex]
  6475. * Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out
  6476. of the mastery function so that it may apply to all skills except Soul
  6477. Breaker. [Skotlex]
  6478. * Changed name of the setting log_pick to log_filter since that's what it
  6479. does now. [Skotlex]
  6480. * Modified enable_logs so that instead of a 0/1 setting, you can specify
  6481. which kind of events to log (so you can use a combination), see log_athena
  6482. for the bitmask configuration. [Skotlex]
  6483. * Cleaned a bit the contents of log_athena.conf
  6484. * Hide/Chasewalk will again stop screaming skill name. [Skotlex]
  6485. * Soul Breaker will no longer receive Mastery damage. [Skotlex]
  6486. * Fixed warning:'type' might be used uninitialized in this function [Toms]
  6487. 2006/08/03
  6488. * Added a check to skip the experience share of characters who are dead or
  6489. on another map. [Skotlex]
  6490. * Reverted the previous change, chasewalk has no icon, only the str-bonus
  6491. has that fist icon now. [Skotlex]
  6492. * Allowed chase-walk to display a skill animation when using it. [Skotlex]
  6493. * Readjusted the Chasewalk icon to be as it should be. [Skotlex]
  6494. * GS_DESPERADO is now a short-range attack skill. [Skotlex]
  6495. * Changed the Battle-Orders icon to be the Strength Up icon (for
  6496. Chasewalk's str bonus). [Skotlex]
  6497. * Fixed using the right-hand weapon's size modifiers regardless of which
  6498. weapon's damage was being calculated in regards to. [Skotlex]
  6499. * Simplified the ignore-size check by making the Weapon Perfection check be
  6500. done when specifying the flag, also moved the size-fix property of riding
  6501. spear-knights to status_calc_pc. [Skotlex]
  6502. * Changed SI_CHASEWALK value to 119 as concluded by LoneWolf [Skotlex]
  6503. * Corrected clif.c sending the raw mdef2 value to the client instead of
  6504. first substracting the "secret vit/2" bonus from it. [Skotlex]
  6505. * Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent
  6506. overflows. It is not capped to INT_MAX because damage increasing skills
  6507. would cause it to still overflow afterwards. [Skotlex]
  6508. * Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the
  6509. code. [Skotlex]
  6510. * Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks
  6511. should happen before a mob uses the rude-attacked skill. Value has been set
  6512. to 2 for now. [Skotlex]
  6513. * Now when a mob changes target (to someone they can hit) their
  6514. rude-attacked count won't be reset, but instead will be reduced by one.
  6515. [Skotlex]
  6516. * SC_SPEEDUP0 can now stack with the other speed raising buffs. [Skotlex]
  6517. * Some adjustments so that the last-skill-used will be correctly cleared
  6518. when your combo-time ends. [Skotlex]
  6519. * Fix a bug in atcommand_charspeed [Toms]
  6520. * Fixed a logic error preventing from cooking anything [DracoRPG]
  6521. * Cleaned up the last NJ update code. [Skotlex]
  6522. * Added @ command `charspeed` [Skotlex]
  6523. * Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL [Skotlex]
  6524. * Removed case for GS_SPREADATTACK on damage packets to see if the skill
  6525. displays correctly now. [Skotlex]
  6526. * Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are
  6527. removed, NOT the ones who were already placed. [Skotlex]
  6528. * Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix
  6529. icon-confusion when both are enabled at a time. [Skotlex]
  6530. * Mob rude-attacked count is not reset now on picking a new char (gotta
  6531. investigate this further) [Skotlex]
  6532. * Changed atoi to strtoul for guild-experience's field [Toms]
  6533. * Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
  6534. 2006/08/02
  6535. * Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
  6536. Silence now ONLY blocks skills from being used, it will not stop on-going
  6537. casts. [Skotlex]
  6538. * Updated status_cast_cancel to also include silence (so the cast bar is
  6539. cancelled if you are silenced during it) [Skotlex]
  6540. * Updated the way SC_SILENCE works. From what I remember (from previous
  6541. forum discussions) it: 1- Always blocks skills from being used. 2- Will
  6542. only block a skill when the cast-bar ends IF the skill is targetted. If
  6543. anyone wants to debate to get this changed, make an appropiate forum topic
  6544. in the svn development area to discuss. [Skotlex]
  6545. * Added a check in the walking code when triggering skills.
  6546. NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend
  6547. the walk packet, this effectively causes the mob to start walking
  6548. (clientside) while the cast-bar is showing. [Skotlex]
  6549. * Fixed a logic error on battle_get_master which was causing infinite
  6550. loops.. [Skotlex]
  6551. * Fixed homunculus error message [Toms]
  6552. * Rewrote pc_payzeny to not use doubles, it may more accurately prevent
  6553. charging a player more zeny than they can withhold. [Skotlex]
  6554. * Fixed failing to create Deadly Poison Bottles damaging 50% of your max
  6555. life instead of 25% [Skotlex]
  6556. * Added the missing status-change flags to SC_FREEZE to signal it should
  6557. modify def and magic def [Skotlex]
  6558. * Little add on NJ_HUUMA [Toms]
  6559. * Merged Mpeg's work on Ninja skills [Toms]
  6560. * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex]
  6561. * Now you can teleport in Thanatos Boss room, but you can't respawn there [Playtester]
  6562. * Fixed Defender Raising Walk speed instead of diminishing it. [Skotlex]
  6563. * Added a check on status-change load to prevent loading speed-affecting
  6564. status when their speed adjustment is 0 (prevents division by zero)
  6565. [Skotlex]
  6566. * Code cleanup & optimization on guild part of char-server [Toms]
  6567. * Fixed script code data not being free'd if a player quits in the middle
  6568. of a script. [Skotlex]
  6569. * Modified run_script so that when there are leaks, it will report the
  6570. place where run_script was called from as source rather than the inner code
  6571. of run_script (for debugging purposes) [Skotlex]
  6572. * Made recursive master check the default (otherwise it messes skill -> pet
  6573. -> player kind of herarchies) and cleaned up some the battle_get_master
  6574. code to prevent infinite loops in the weird case someone specifies that
  6575. their master is itself. [Skotlex]
  6576. * Recoded the GuildAura code to use val3 & val4, allowing much greater stat
  6577. bonuses (in case someone wants to get Guild Skill level 20 or something
  6578. crazy like that) [Skotlex]
  6579. * Updated battle_check_target so that all alchemist summoned mobs can be
  6580. target by everyone. [Skotlex]
  6581. * Cleaned up skill_check_condition_mob_master_sub, it will now count both
  6582. total number of summoned mobs and amount that belong to the same type.
  6583. [Skotlex]
  6584. * Corrected AM_CANNIBALIZE so it will fail if you already have plants of
  6585. another type out. [Skotlex]
  6586. * Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
  6587. [Skotlex]
  6588. * Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now
  6589. Volcano/Deluge/V. Gale will get that funky icon instead. [Skotlex]
  6590. * Changed clif_hominfo to receive both sd and hd as parameters
  6591. * Some redundancy cleaning in mercenary.c [Skotlex]
  6592. * Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
  6593. [Skotlex]
  6594. 2006/08/01
  6595. * Miscellanous fixes which make the Marine Sphere self destruction work as
  6596. best as I can. It only has one flaw: It self-destructs instantly after
  6597. walking because if I make it use self-destruction with a cast-bar,
  6598. client-side the object stops moving inmediately... [Skotlex]
  6599. * Modified unit_walktoxy and NPC_RUN to enable running even when the caster
  6600. does not has the MD_CANMOVE bit on. [Skotlex]
  6601. * PF_MINDBREAKER will now silently fail if you try to use it on someone who
  6602. already has the status active. [Skotlex]
  6603. * Cleaned up yet again skill_landprotector, now new cells of
  6604. Deluge/Volcano/V.Gale will delete previous cells when they are recasted on
  6605. top of each other. [Skotlex]
  6606. * Summoned Marine Spheres no longer get the MD_CANMOVE bit. [Skotlex]
  6607. * Cleaned up some more the SC_JAILED code [Skotlex]
  6608. * merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru
  6609. and Coltaro for the code. [Skotlex]
  6610. * Cleaned the code of atcommands jail and unjail [Skotlex]
  6611. * Be warned that the code MAY contain bugs as I adjusted it to save the
  6612. character's position before jailing, allowing the automatic unjailing to
  6613. warp you back to the exact spot you were at before being jailed. [Skotlex]
  6614. * Should have fixed the cooking sets not displaying all cooking available
  6615. items. [Skotlex]
  6616. * Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
  6617. really working. Thanks to Mpeg for noting it out. [Skotlex]
  6618. * Modified Self Destruction, so that Marine Spheres in non-versus maps will
  6619. hurt only enemies, while in all other situations this skill will hurt
  6620. everyone around them. [Skotlex]
  6621. * Expanded setting debuff_on_logout so that &1 removes negative buffs and
  6622. &2 removes positive buffs. [Skotlex]
  6623. * Food status boosts will no longer end on death, but they will end when
  6624. you respawn or logout. [Skotlex]
  6625. * Added battle config file status.conf, moved some settings from skill.conf
  6626. and battle.conf to it since they are entirely Status-Change related.
  6627. [Skotlex]
  6628. * Added the missing lines to enable script command "kickwaitingroomall"
  6629. [Skotlex]
  6630. * Magic Rod's can-act delay will no longer be applied when you absorb a
  6631. spell. [Skotlex]
  6632. * Fixed Don't Forget Me increasing speed instead of decreasing it. [Skotlex]
  6633. * Modified setlabel so that the script engine barks when you are trying to
  6634. use the same label name as a constant or variable name. [Skotlex]
  6635. 2006/07/31
  6636. * Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame
  6637. rankings. [Skotlex]
  6638. * Updated Poison React chance to counter and number of counters as per
  6639. skill description updates. [Skotlex]
  6640. * Fixed Sharpshooting being counted as a magic attack, and hence, using
  6641. your MATK as base damage. [Skotlex]
  6642. * Fixed NPC_STOP id value in skill_cast_db [Skotlex]
  6643. * Bladestop will no longer stop when you push either of the characters
  6644. around. [Skotlex]
  6645. * Fixed Enchant Poison having a near 100% chance of poisoning target on
  6646. attack. [Skotlex]
  6647. * Little fix on duel [Toms]
  6648. * Added possibility to restrict duel usage to same map [Toms]
  6649. * Merged mpeg's fix on ninja skills [Toms]
  6650. * Corrected a status_get_race call which should be status_get_race2 in misc
  6651. attacks. [Skotlex]
  6652. * Moved the Devotion code to the top of the SC list in status_damage,
  6653. meaning that now stuff like being asleep or confused won't end if you are
  6654. hit, but the damage is absorbed by devotion. [Skotlex]
  6655. * Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no
  6656. information of how much the bonus should be, it currently is a conservative
  6657. 10%. [Skotlex]
  6658. * Fixed a possible crash in the main script engine when restoring previous
  6659. script. [Skotlex]
  6660. * Fixed sleep.tick not being set back to 0 before resuming execution, which
  6661. leads to scripts that are continously executed even when they already ended
  6662. (they do nothing but waste resources) [Skotlex]
  6663. * Fixed a pair of free -> aFree used on stacks, which would lead to memory
  6664. manager reporting leaks where there aren't. [Skotlex]
  6665. * Removed incorrect "Waterball range+1 when standing on suiton" feature.
  6666. [Skotlex]
  6667. * Corrected the Speed update code to prevent sending "walk to xy" packets
  6668. twice when the affected character is a player. [Skotlex]
  6669. * Expanded mob can't move warning to print out where this mob was stuck at
  6670. (map, x,y) [Skotlex]
  6671. * Fixed segmentation fault in status_change_end, vd wasn't initialized [Toms]
  6672. 2006/07/30
  6673. * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
  6674. level, so that at level 1 they can attack, use skills and receive no
  6675. walking penalty. [Skotlex]
  6676. * Mob casted Sanctuary will no longer always heal it's targets regardless
  6677. of element/race [Skotlex]
  6678. * Status change packets will now use as criteria for sending the actual
  6679. view_class instead of player/not-player. This will fix status-changes
  6680. displaying improperly on clones, and also possible crashes with disguised
  6681. players. [Skotlex]
  6682. * Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE [Toms]
  6683. * Added bNoMiscDamage setting so you can specify misc-damage blocking from
  6684. skills. Modified battle_calc_damage so that even Pressure and similar
  6685. skills will be affected by this setting. [Skotlex]
  6686. * GS skill updates/fixes [Vicious]
  6687. * Force all users offline in sql when char-server starts [Toms]
  6688. 2006/07/29
  6689. * Removed ugly struct cast in login.c [Toms]
  6690. * New version of buildin_query_sql which accept more than one column and
  6691. can return the number of rows. See script_commands.txt for more details. [Toms]
  6692. * Fixed nullpo in merc_hom_skillup [Toms]
  6693. * Added a return value to buildin_rid2name if rid is invalid [Toms]
  6694. * Made the SQL ping interval default to 7 hours. [Skotlex]
  6695. * Made skill_unitsetting remove the group when no unit-cells were placed
  6696. down. basicly this means that if landprotector blocks all tiles, the group
  6697. will be removed from memory, preventing said group from counting to the
  6698. total number of skills you can set. [Skotlex]
  6699. * Fixed segmentation fault in script engine when calling something which is not a function [Toms]
  6700. * Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
  6701. 2006/07/28
  6702. * Added Ishizu's code to check ammo type on attack. No more using Grenade
  6703. rounds with Guns. [Skotlex]
  6704. * offensive heal/sanctuary will only happen when the source of the heal is
  6705. a player, mob/pet casted heal will now always heal regardless of target.
  6706. [Skotlex]
  6707. * Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
  6708. [Skotlex]
  6709. * Self destruction will now hit all characters in range, not just enemies.
  6710. [Skotlex]
  6711. * Cleaned up the NJ update code: [Skotlex]
  6712. - Restored code which was removed (stuff like SC_SKA)
  6713. - Fixed possible crashes on some NJ skills if used by non-players.
  6714. - Fixed most NJ magic spells doing more damage than they should.
  6715. - Fixed ZenyNage being able to do more damage than zeny you have.
  6716. - Cleaned up skill setting code for Suiton and Kaensin
  6717. * Some cleaning of battle_drain, Evil Druid card should work now. [Skotlex]
  6718. * Made status_damage allow damaging of objects not on a map, this should
  6719. fix pet-catching making the mob never respawn again. [Skotlex]
  6720. * Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same :) [Toms]
  6721. * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
  6722. * Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
  6723. * Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
  6724. * Fixed sign warnings in login/login.c [Toms]
  6725. * Fixed "conversion from 'double' to 'int', possible loss of data" [Toms]
  6726. * Fixed "warning: redefinition of [ushort/uint/ulong]" [Toms]
  6727. * Fixed duplicate case value on NJ_SUITON [Toms]
  6728. 2006/07/27
  6729. * Fixed a memory leak when there exists more than one user function with
  6730. the same name, added the appropiate warning when this happens. [Skotlex]
  6731. * Added reporting source file when an npc shops item's price is
  6732. exploitable. [Skotlex]
  6733. * The picklog will now record negative values for items sold to npcs.
  6734. [Skotlex]
  6735. * Added inmediate position and hp-bar update when a character joins a
  6736. party. [Skotlex]
  6737. * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
  6738. * Added config setting party_update_interval so you can specify how often
  6739. the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]
  6740. * Removed a bunch of broken comments in skill.c [Skotlex]
  6741. * Synced the script.c file with as much data as possible from jA's:
  6742. [Skotlex]
  6743. - A lot of functions were moved around, a bunch of indentation and
  6744. space-usage changes were done to make it easier to diff against their
  6745. files.
  6746. - Miscellanous addition and corrections were applied.
  6747. - Largest one is likely a restructuring of run_script_main, which hopes to
  6748. solve the memory leaks.
  6749. - script engine now uses the setjmp functions to restore memory state when
  6750. there's an error parsing scripts, which means that script errors won't
  6751. cause the map-server to inmediately bail out anymore.
  6752. - NOTE that the amount of changes is pretty extensive, so DON'T USE THIS on
  6753. a live server. Update only to help test and debug to see if the script
  6754. engine memory leaks are gone.
  6755. * Added a cleanup routine on shutdown to remove all characters from memory
  6756. for whom the save ack has not returned from the char-server yet. [Skotlex]
  6757. * Now when you set the guardian's HP, if the guardian is spawned, it's HP
  6758. will be updated accordingly (and if you set it to 0, the guardian is
  6759. killed) [Skotlex]
  6760. * Added functions status_set_hp/status_set_sp to set hp/sp to a given
  6761. value. Applied usage of these on the Berserk and Soul Change code.
  6762. [Skotlex]
  6763. * Added config setting "party_hp_mode" (battle/party.conf) which determines
  6764. method to use to update party-mate hp bars. Aegis style is to update HP
  6765. bars whenever HP changes, while eAthena style is to update it together with
  6766. the map party dots. Defaults to aegis style. [Skotlex]
  6767. * Fixed packet 0x22a having the manner and opt3 packets in inverted
  6768. offsets. [Skotlex]
  6769. * Readded the check which prevents Cloaking from activating when your
  6770. learned level is less than 3 and you aren't next to a wall. [Skotlex]
  6771. * Some cleanups to the Frenzy/Berserk status change, it should probably
  6772. work correctly now. [Skotlex]
  6773. * Removed a redeclared variable i in the parsing of the fame list (char-sql
  6774. server) which seems to be the cause of the random memory corruptions.
  6775. [Skotlex]
  6776. * Updated item_db.sql to latest. [Toms]
  6777. * Fix homunc & code cleanup [Toms]
  6778. - Timer problems on delete_timer
  6779. - Intimacy problem (overflow & new values)
  6780. - Homunc deleted if intimacy < 0
  6781. - base exp is now given to master
  6782. - Homunc sometimes not saved
  6783. 2006/07/26
  6784. * Fixed a memory leak when reading the item_db txt. [Skotlex]
  6785. * Applied the necessary changes to make @partyoption reflect it's changes
  6786. on the alt+p window. [Skotlex]
  6787. * Modified party_item_share_type config setting so that using 1 disables
  6788. item-sharing from non-mob loot (player dropped items or pet loot) and 2
  6789. enables round-robin instead of random sharing. Using 3 obviously is
  6790. enabling both 1 and 2. [Skotlex]
  6791. * Added battle_get_master which returns the master bl of a given object.
  6792. [Skotlex]
  6793. * Recoded battle_check_target to use battle_get_master, the src/target
  6794. switch has been split into two, so that actual target and master target are
  6795. seperately treated (same for source). [Skotlex]
  6796. * Added support for "sc_end -1" which will clear all status changes. Added
  6797. the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
  6798. [Skotlex]
  6799. * @pettalk will now fail when muted. [Skotlex]
  6800. * Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
  6801. 2006/07/25
  6802. * Cleaned up run_script_main to properly free previous stack-data when
  6803. running scripts. Note that scripts may still leak memory when run by
  6804. non-players and they don't reach the "END" state, however I am not sure how
  6805. this case should be handled, so it's left as it is for now. [Skotlex]
  6806. * Added a missing ntohl call in the loginlog code. [Skotlex]
  6807. * Added a check when buying from npcs to allow buying of item_avail items.
  6808. [Skotlex]
  6809. * Fixed duel accept invite sending the packet before the duel data is set
  6810. (resulting in a packet that noone receives). Thanks to Toms for finding it
  6811. out. [Skotlex]
  6812. * Fixed a possible crash when you dual-wield and the total damage is 0.
  6813. [Skotlex]
  6814. * Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
  6815. they convert the txt databases into sql. [Skotlex]
  6816. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
  6817. * Updated the sql files since now it's quick [Skotlex]
  6818. 2006/07/24
  6819. * Re-updated the mob_db.sql to latest. [Skotlex]
  6820. * Cleaned up the skill_landprotector function to correctly block only magic
  6821. skills from being placed on land protectors. [Skotlex]
  6822. * Corrected itemdb_group so that it will not return the random item givers
  6823. (should give priority to actual item groups, so that the item heal bonuses
  6824. work correctly) [Skotlex]
  6825. * Cleaned up the Mistress Card related code so that the no-gemstone bonus
  6826. reduces item requirements by one rather than totally skip them. [Skotlex]
  6827. * Cleaned up the logs "can log"function to use the IT constants. Also
  6828. corrected the "only log large amounts" setting not working on negative
  6829. values (trades). [Skotlex]
  6830. * Adjusted skill_castfix_sc so that Suffragium will get consumed even on
  6831. instant cast skills, but Memorize won't. [Skotlex]
  6832. * BladeStop will now end when either of the characters is moved (knocked
  6833. out?) around. [Skotlex]
  6834. * Moved the Zeny penalty code from respawn to pc_dead. [Skotlex]
  6835. * Added a check to prevent Deluge/Volcano/Violent Gale from being placed on
  6836. top of each other. Reverted the previous 'fix' where atk was being
  6837. increased based on armor element rather than element of attack. [Skotlex]
  6838. * Removed the noreturn mapflag check from script command warp. [Skotlex]
  6839. * Homuculus cleanup [DracoRPG]
  6840. - Replaced nullpo's in parse functions by silent checks
  6841. - Removed server-side effect for menu option 0 (view status window...
  6842. why does the client send us the packet since we don't care? -_-)
  6843. - Rewrote intimacy underflow checks so they are really effective (no
  6844. need to check if an unsigned is < 0, it won't work... check before!)
  6845. * fixed unban unblocking players as well. [Skotlex]
  6846. * Fixed Volcano/Deluge/Violent Gale increasing damage based on element of
  6847. attack instead of defense element of attacker. [Skotlex]
  6848. * Cleaned up the code of Magic Rod, fixed it not giving SP. [Skotlex]
  6849. * Moved the code of Hermod and Basilica to castend_pos2 so it should work
  6850. now. [Skotlex]
  6851. * Modified the code of Ankle Snare so the status ends on unit's time-limit
  6852. rather than when the snared object moves away. [Skotlex]
  6853. * Re-worded the water check of ST_WATER skills. [Skotlex]
  6854. * Allowed sc-cast reductions to be processed even when cast-time is instant
  6855. (to let suffragium end even on instant-cast skills) [Skotlex]
  6856. 2006/07/23
  6857. * Modified setting skillrange_by_weapon (skill.conf) to be a
  6858. per-object-type setting instead of yes/no. The default now is that
  6859. weapon-based skills will take the attacker's range for non-players.
  6860. [Skotlex]
  6861. * Changed the default of skillrange_by_distance to include homunculus.
  6862. [Skotlex]
  6863. * Fixed buildin_isequip not working correctly with non-cards. [Skotlex]
  6864. 2006/07/22
  6865. * Updated mob_db.sql to latest. [Skotlex]
  6866. * Applied Toms's suggested corrections to homun code. [Skotlex]
  6867. * Corrected Cannibalize/Marine Sphere ignoring the selected summon spot.
  6868. [Skotlex]
  6869. * Fixed looting pets ignoring the item pick-up priority of other players.
  6870. [Skotlex]
  6871. * Should have fixed a signess warning in login txt. [Skotlex]
  6872. 2006/07/21
  6873. * Added blocking of @me when muted or in berserk status. [Skotlex]
  6874. * Corrected the @follow timer not being deleted on logout. [Skotlex]
  6875. * Applied the homunculus code fixes provided by Toms. [Skotlex]
  6876. * battle_check_target will now tag homunculus as invalid target when the
  6877. source is a skill-type object. [Skotlex]
  6878. * Added a check on pc_equipitem so that when the client specifies to equip
  6879. a weapon on the right hand when the left hand is available, the weapon will
  6880. be sent to the left hand instead (when dual-wielding is possible,
  6881. obviously). Same for the left/right accessories. [Skotlex]
  6882. * Added the necessary checks so that Suiton makes Fogwall have double
  6883. duration, and to make water-requiring skills to consume their cells.
  6884. [Skotlex]
  6885. * Corrected the loadmap event description to specify that the mapflag
  6886. required is actually "loadevent", NOT "loadmap"! [Skotlex]
  6887. * Now when the char-txt server does not finds a requested party, it will
  6888. clear out said party id of all characters (will help prevent massive
  6889. spamming/overhead when for some reason the party file needs to be deleted).
  6890. [Skotlex]
  6891. * Combo skills (inf = self, inf2 = no target self) no longer check range if
  6892. you use them while your attack-timer is still active. [Skotlex]
  6893. * Added back a map_freeblock call in skill_delunitgroup which caused a
  6894. memory leak when removed... [Skotlex]
  6895. * Added a check to prevent Blind from ending while standing on a fog of
  6896. wall. [Skotlex]
  6897. * The mob Slave ai will be executed now even when the slave has a target.
  6898. This will allow for "instant" warping to the master when it changes maps or
  6899. teleports. if the slave has a target already, it won't unlock it and chase
  6900. back to the master or anything like that. [Skotlex]
  6901. * Removed a couple of checks that prevents item ids above 20000. However,
  6902. remember that the max id is still ~32k or the client is the one who's gonna
  6903. crash! [Skotlex]
  6904. 2006/07/20
  6905. * Added source reporting when you do an invalid int&str or str&int
  6906. operation on a script. [Skotlex]
  6907. * Fixed the intif party creation packet having the incorrect size sent,
  6908. hence causing the leader's level to be read as garbage (which caused the
  6909. "impossible to even share" bug). [Skotlex]
  6910. * Added pc_check_weapontype to do a proper skill weapon check that takes
  6911. into account dual-wielding. That is, if a skill can be used with
  6912. daggers/axes, you'll be able to use the skill when dual-wielding them.
  6913. [Skotlex]
  6914. * Corrected Cloaking level 1-2 not letting you move across walls. [Skotlex]
  6915. * updated cloaking code so that when you set "enable cloaking without
  6916. walls", the code will consider you as "always next to a wall", thus you get
  6917. the wall-speed bonus always. [Skotlex]
  6918. * Applied the fix to homunculus name saving... [Skotlex]
  6919. * Added battle config settings agi_penalty_target and vit_penalty_target,
  6920. they define which object types will get vit/flee reductions when
  6921. multi-targetted and defaults to only players (battle/battle.conf) [Skotlex]
  6922. * Added the dummy intravision case for the changeoption packet 0x229
  6923. [Skotlex]
  6924. * Corrected Fog of Wall so that all targetted offensive skills (not only
  6925. those who do damage) will fail on cast-end 75% of the time. [Skotlex]
  6926. * corrected @homlevel up and one entry in the homun exp table as reported
  6927. on the forums by Albator. [Skotlex]
  6928. * Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
  6929. * Added a status_check_skilluse on skill_attack_area call to prevent splash
  6930. damage skills from hitting hidden/trickdead/etc characters. [Skotlex]
  6931. * Corrected fog of wall to behave as best known currently: [Skotlex]
  6932. - Only takes effect when targetting a character inside it
  6933. - -50hit/-75% damage when using normal-ranged attacks
  6934. - -25% damage from all damage skills
  6935. - 75% chance of all targetted damage skills of failing.
  6936. * Should have fixed @refine applying multiple times to equipment that uses
  6937. multiple equip slots. [Skotlex]
  6938. 2006/07/19
  6939. * Fixed the inf code update breakage which was blocking all offensive
  6940. skills. [Skotlex]
  6941. * Added battle setting homun_critical_rate (defaults to 0) [Skotlex]
  6942. * Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
  6943. enable_perfect_flee which specifies which objects can have perfect flee and
  6944. enable_baseatk which specifies which objects can have a base attack value
  6945. (both in battle.conf) [Skotlex]
  6946. * Modified the targetted skill logic to enable offensive skills to be
  6947. targetted at party/guild members if the appropiate inf2 value is set.
  6948. [Skotlex]
  6949. * Added checks to make adding items to inventory/cart fail when a char is
  6950. in finalsave state. [Skotlex]
  6951. * Fixed parse_names on irc.c crashing when receiving a null argument.
  6952. [Skotlex]
  6953. * Modified the parsing of the names line, since some servers will send @
  6954. instead of = when separating the information. [Skotlex]
  6955. * Fixed the homun creation sql statement. Why noone else did so before?
  6956. [Skotlex]
  6957. * When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it
  6958. will use clearchar and spawn packets instead of changeoption. Thanks to
  6959. Toms for the fix. [Skotlex]
  6960. * Corrected Trim chars to block 'enter', as explained by the Ultra mage.
  6961. [Skotlex]
  6962. * When the client passes account version 0, the login server will set it to
  6963. 1 now. [Skotlex]
  6964. * Corrected the HP bar scaling when HP is above Short Max. It should
  6965. display fine for any HP value now. [Skotlex]
  6966. * Added a check when the mob's adelay is shorter than the amotion, in which
  6967. case the adelay will be changed to the amotion value. [Skotlex]
  6968. * Some minor mapflag changes. [MasterOfMuppets]
  6969. 2006/07/18
  6970. * Added atcommand @partyoption, lets you alter the party item-distribution
  6971. type on the go. Usage is "@partyoption <pickup share> <item distribution>",
  6972. where both arguments can be 0/1, yes/no, etc. [Skotlex]
  6973. * Updated @changeleader and @partyoption to use msg_Athena entries.
  6974. [Skotlex]
  6975. * Added character 013 (enter) to the list of characters that are always
  6976. removed from new character names. [Skotlex]
  6977. * Fixed a crash when trying to extend TK's infinite combo feature. [Skotlex]
  6978. * Corrected Poison React to counter regardless of distance, and to use the
  6979. skill's 50+5*lv% counter chance (instead of 100%). [Skotlex]
  6980. * Corrected Venom splasher's splash damage [Skotlex]
  6981. * You now can't move/attack/use-skills when using Cloaking of a level less
  6982. than 3 [Skotlex]
  6983. * Fixed compilation of mercenary.c [Skotlex]
  6984. * Corrected Fog of Wall's "targetted spells fail 75% of the time" feature
  6985. by making it behave like GTB, that is, you just get a skill-failed on
  6986. cast-end, no skill-animation at all. [Skotlex]
  6987. * Added a proper check to make aggressive mobs never override homun targets
  6988. regardless of distance. [Skotlex]
  6989. * Removed a bunch of homun-related variables that are not needed at all.
  6990. The alive condition is removed, now the code checks for the hp value to
  6991. know if the homun is alive or not. [Skotlex]
  6992. * Cleaned up a bit the skill-id function, homun skill checks (such as delay
  6993. and skill-lv learned) should be correct now. [Skotlex]
  6994. * Added a proper check to make aggressive mobs never override homun targets
  6995. regardless of distance. [Skotlex]
  6996. * Fixed giving the 100% damage bonus when no-splash-targets are found in
  6997. the blown path to Grandcross instead of Bowling Bash. Bowling Bash damage
  6998. equation becomes then +50*lv% rather than +40*lv% when there's no
  6999. splash-damage (the 50*lv% figure is custom, all we know is that level 10
  7000. does 600% instead of 500% damage). [Skotlex]
  7001. 2006/07/17
  7002. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  7003. * The char-server will allow off-line character saves when said char is
  7004. tagged for final-save (this is the scenario when the char-map reconnect).
  7005. [Skotlex]
  7006. * Should have fixed the Cart Termination damage code to be scaled correctly
  7007. when you change the max cart weight. Thanks to The Ultra Mage for the error
  7008. clarification. [Skotlex]
  7009. * Implemented Grandcross weird property where if there's noone on the path
  7010. it'll hit twice for the skill's reported damage, and when there is (or you
  7011. can't knockback the target) it'll do a splash attack that hits twice for
  7012. 500% to all affected targets. [Skotlex]
  7013. * Some cleaning of the combo code. TK Rankers will now get their combo-time
  7014. extended each time they trigger a kick, enabling them to do "unlimited
  7015. combos". [Skotlex]
  7016. * Modified the autosave function to use a sweep across the player db
  7017. instead of across connected clients. This will cause non-connected players
  7018. (like autotraders) to also be saved on a regular interval, may help with
  7019. possible data-loss from said characters on unclean shutdowns. [Skotlex]
  7020. * Removed the code that forces aggressive mobs to go after a Homun instead
  7021. of their master (no reason why there should be such a condition). [Skotlex]
  7022. * Some sign quest map flag updates [MasterOfMuppets]
  7023. * atcommand_follow is now more verbose. [Adam]
  7024. * Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
  7025. * Orn's fix to the very critical skill level up bug [DracoRPG]
  7026. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  7027. * Added Orn's lil fix on homun [Vicious]
  7028. * Added Homunculus system, enjoy! [orn aka Nylou]
  7029. - WARNING: This currently only works with the SQL version, as the TXT char-server
  7030. has no code for it at the moment. You TXT server won't break, but the char-server
  7031. will complain of an unknown packet if you try to get an Homunculus
  7032. * Updated nomemo mapflags based on info from http://ro.doddlercon.com/images/memo.jpg [Poki#3]
  7033. 2006/07/15
  7034. * Small change in conf/battle/player.conf to say that 199 is max aspd allowed
  7035. (Haplo says that there are many reports of having over 200 is giving errors) [Evera]
  7036. 2006/07/13
  7037. * Kaahi no longer shows the heal effect to everyone. [Skotlex]
  7038. * Eska no will cause defense to change randomly every second. [Skotlex]
  7039. * Tuned up some more NJ_KAENSIN based on Tharis's information. [Skotlex]
  7040. * Corrected NJ_KAENSIN as per description. [Skotlex]
  7041. * Fixed a leaking map_freeblocklock on skill_del_unitgroup. [Skotlex]
  7042. * Changed the default save interval to 5 minutes. Added support for
  7043. specifying fixed save-intervals by using negative values. [Skotlex] EG:
  7044. - Save interval set to 300 (5 minutes): all characters will be saved in
  7045. equal time-slots, so that everyone is saved every 5 minutes regardless of
  7046. number of players online.
  7047. - Save interval set to -1000 (1000 ms): One character will be saved every
  7048. second, regardless of amount of characters online.
  7049. The new fixed-time-slots method is meant for larger servers, so that they
  7050. can control the saving-induced stressed on the char-server.
  7051. * Fixed @storeall and @charstoreall failing when the target character
  7052. already had the storage open. [Skotlex]
  7053. * Reverted temporarily the Cart Termination equation until it can be
  7054. fixed... [Skotlex]
  7055. * Fixed script command "recovery". [Skotlex]
  7056. 2006/07/12
  7057. * Fixed a small typo in my code [Zido]
  7058. * Added negative value in bonus exploit fix for more stat bonuses [Zido]
  7059. * Fixed exploit in pc_bonus there are no checks that check that the value being
  7060. added onto a status don't make it go below zero, which means if you have a mineral
  7061. card and reset stats it reduces your base attack to lower than zero, making it
  7062. go up to 64000. Fixed by adding a check for SP_BASE_ATK, although i recommend
  7063. doing it for other status bonuses also [Zido]
  7064. * Recoded NJ_BAKUENRYU to behave as I understand it best from the
  7065. skill-description (since Haplo told me this skill doesn't really has video
  7066. information or anything...) [Skotlex]
  7067. * Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path"
  7068. calls. The skill should be working correctly now, except for the fact that
  7069. the correct "unit id" is missing (this is what would give the ground tile
  7070. it's correct display). Temporarily it is using 0xba until the correct value
  7071. is found. [Skotlex]
  7072. * Added back the undead check to turn undead/resurrection to prevent
  7073. damaging non-undead targets, removed it from the battle damage section.
  7074. [Skotlex]
  7075. * Resurrection will now silently fail when used on non-undead + not-dead
  7076. characters. [Skotlex]
  7077. * Poem of bragi/magic String's base delay reduction at level 10 (or above)
  7078. is now 50% instead of 3*lv%. [Skotlex]
  7079. * status_damage will no longer fail when the target is not on a map AND the
  7080. flag is 2 (charge rather than damage). Fixes SP-draining status changes
  7081. ending suddenly when in-between maps. [Skotlex]
  7082. * Fixed the IP value being apparently incorrectly casted before inserting
  7083. into the loginlog table on "connect success" events. [Skotlex]
  7084. * Fixed Cart Termination's damage. [Skotlex]
  7085. * Added the missing check to remove character from memory when logging out
  7086. and using the charsave_method which saves character map-server-side.
  7087. [Skotlex]
  7088. 2006/07/11
  7089. * Fixed inverted check which was preventing you from buying more than 1
  7090. from any stackable item.... [Skotlex]
  7091. * Should have fixed the crash in intif gm message... [Skotlex]
  7092. * Fixed GTB card only working while you had a status-change active.
  7093. [Skotlex]
  7094. * Fixed being unable to compound cards in armor. [Skotlex]
  7095. * Made @monsterignore be an universal ignore. Means you cannot be targetted
  7096. as an enemy by anything. Also added alias "@battleignore" which does the
  7097. same as monsterignore. [Skotlex]
  7098. * Fixed magic power setting your min matk as max-matk. [Skotlex]
  7099. * Modified the packets involved in @fakename in hopes it'll refresh
  7100. correctly on nearby clients now. [Skotlex]
  7101. * Fixed clif_parse not checking for func_parse before sending data to the
  7102. connected clients. This in turn required various code-rewrites in: [Skotlex]
  7103. - duel related messaging functions (added clif targets DUEL/DUEL_WOS).
  7104. - intif whisper to gm function
  7105. - day/night timers
  7106. - Rewrote the parse_console function to stop allocating/deallocating memory
  7107. on every call.
  7108. - Modified chrif_charselectreq to receive the player's ip among the data.
  7109. * Added function clif_disp_message, which is the same as
  7110. clif_disp_onlyself, except you can specify the targets (it sends a
  7111. guild-chat packet) [Skotlex]
  7112. * Fixed the subele bonus (elemental reduction) being applied to the element
  7113. of the attacker instead of the element of the attack. [Skotlex]
  7114. * mob skills now won't trigger on unit_stopwalking calls. [Skotlex]
  7115. * Coded @reset. [Skotlex]
  7116. * Reenabled @changesex [Skotlex]
  7117. * Added function pet_create_egg which handles creating pet eggs correctly
  7118. (when passed item id is indeed a valid petegg). Applied this on @createitem
  7119. and getitem. [Skotlex]
  7120. * Cleaned up code of @item [Skotlex]
  7121. * Cleaned up the itemdb_isequip functions. itemdb_isequip will now return
  7122. if the item is equipable by players, itemdb_isstackable returns if the item
  7123. can be stacked, and itemdb_isidentified returns if the item should drop
  7124. identified. [Skotlex]
  7125. * Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given
  7126. item has "invalid" cards, added define function itemdb_isspecial to
  7127. simplify this check. [Skotlex]
  7128. * Removed itemdb.c considering item ids above 20000 as invalid. [Skotlex]
  7129. * Cleaned up script commands getitem and card-counting related ones.
  7130. [Skotlex]
  7131. * Cleaned up a bit more pc_isequip [Skotlex]
  7132. * Added script function warpportal(x,y,targetmap$,targetx,targety).
  7133. This creates warp portals as in the skill unit as a volatile alternative
  7134. to static warp portals. [blackhole89]
  7135. * Modified the login-sql server to do the ip-ban check only on the
  7136. auth-packets instead of on every packet. [Skotlex]
  7137. 2006/07/10
  7138. * Corrected Warp Portal being unable to warp people who are standing on it
  7139. on the moment it triggers. [Skotlex]
  7140. * Fixed @follow stopping the moment you are warped. [Skotlex]
  7141. * Fixed pc_additem messing with the equip field of the passed item data.
  7142. Fixes the famous "equip stuff on your arrow slot" bug. [Skotlex]
  7143. * Fixed cart-termination crashing the server if you used level 16 of it.
  7144. [Skotlex]
  7145. * Fixed check_connect_login_server check in char-sql server. Fixes
  7146. char-server not reconnecting to the login server. [Skotlex]
  7147. * Login-sql server will no longer change an account's state to "7" when
  7148. banning a player. This should fix being able to use @ban to clear out a
  7149. @blocked player. Players will now be identified as banned only through the
  7150. banned-until timestamp. [Skotlex]
  7151. * Fixed a crash when using Gospel... [Skotlex]
  7152. * The on-place function won't be invoked on setting ground skills if the
  7153. group's tick is greater than the current tick. As Buuyo pointed out, this
  7154. should fix Sanctuary and Gospel taking effect inmediately instead of after
  7155. "x" amount of ms as they should. [Skotlex]
  7156. * Added login-char packet 0x2737. Sets all characters offline (login-server
  7157. side). [Skotlex]
  7158. * Cleaned up char server "set all offline" implementation to remove only
  7159. characters from the map-server from which the packet was invoked. It will
  7160. also now correctly kick/set-character offline from the map-server if they
  7161. are connected. [Skotlex]
  7162. * Cleaned up the char-sql reconnect code. It no longer sets everyone to
  7163. offline. [Skotlex]
  7164. * Removed setting "kick_on_disconnect", servers will no longer kick
  7165. characters out when there's a disconnection. Instead, it'll use the most
  7166. logical approach: Set characters into a "lost" state when there's a
  7167. disconnection, on reconnect, resent the list of online-characters, do a
  7168. sync, and let the difference be characters to be removed. Also, the
  7169. map-server won't release character data until it's saved and the ack
  7170. returns from the char-server to prevent data loss (all this data is resent
  7171. on reconnect for saving anyway). [Skotlex]
  7172. * Added a check in pc_equipitem so that when switching weapons and you have
  7173. the skill_range_by_weapon setting active, the skill info block (which
  7174. includes range) will be resent when the new weapon to equip has a range
  7175. different than the previous one. [Skotlex]
  7176. * One closer inspection, removed that clear in itemdb_reload for a foreach
  7177. call again. And modified itemdb_load to scrap the dummy item entry from the
  7178. item_db and replace it with proper data for the item. [Skotlex]
  7179. * itemdb_reload will clear the itemdb before reloading info instead of only
  7180. clearing the scripts now. [Skotlex]
  7181. * Some cleaning of skill_castend_pos2, fixed Gospel, and a
  7182. map_freeblock_unlock misplacement. [Skotlex]
  7183. * Sense/Estimation will now display the mob info window to all party
  7184. members in the same map. [Skotlex]
  7185. 2006/07/08
  7186. * Fixed the new addeff structure not working well with SC_STONE (because
  7187. SC_STONE is 0, which was by default not handled as a valid value).
  7188. [Skotlex]
  7189. * Added back the TF_MISS walking speed bonus to assassin type classes (how
  7190. did that got lost?) [Skotlex]
  7191. * Fixed mobinfo displaying exp as signed ints rather than unsigned.
  7192. [Skotlex]
  7193. * Added status_check_visibility to check if an object is within range of
  7194. view of another. Nothing more, nothing less. It's used by unit movement to
  7195. check whether you can continue chasing your target or not when the "chase
  7196. target" directive is given. [Skotlex]
  7197. * Fixed the char table having party/guild_id as smallint when they need int
  7198. there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
  7199. [Skotlex]
  7200. * Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
  7201. [Skotlex]
  7202. * Fixed endow skills calling the skill no damage packet twice. [Skotlex]
  7203. * Fixed a crash on warpwaitingpc when the chat-room is empty. [Skotlex]
  7204. 2006/07/07
  7205. * Fixed the Warm Skills [Skotlex]
  7206. * Removed the debug message when a player logs out and is removed from
  7207. memory, it is working fine (tested normal logging off and autotrade). [Skotlex]
  7208. * Corrected the pet-armor field of the pet not being updated on
  7209. equip/unequip of accessories, making them not show up inmediately. [Skotlex]
  7210. * Status_calc_bl will no longer stop you from attacking/walking when the
  7211. mode is changed unless the new mode no longer includes
  7212. "can-attack"/"can-move" respectively. [Skotlex]
  7213. * Should have fixed clif_item_sub to properly store pet egg/armor data.
  7214. There should be no more "random refine levels" bugs related to these.
  7215. [Skotlex]
  7216. * itemdb_exists will now return NULL for item_id 0. [Skotlex]
  7217. * Added a check to free a character from memory when changing map servers.
  7218. [Skotlex]
  7219. * Okay, added a chrif_save_ack packet to the char-server so now the map
  7220. server will know once a character was "final saved", and only then the
  7221. character will be removed from memory. On char-server reconnection, all
  7222. chars that are in final-save state are resent to save (if they are still in
  7223. memory, it's because the ack hasn't gotten here from the char-server). This
  7224. should effectively block all dupe problems due to heavy inter-server lag,
  7225. however as it's untested, it currently prints some debug messages when
  7226. people are saved and then removed from memory. Need testers so this can be
  7227. debugged and merged to stable! [Skotlex]
  7228. * Now, when the login-char connection is cut, the char-server won't set
  7229. everyone offline on reconnect, instead it will send the list of online
  7230. accounts to the login server. [Skotlex]
  7231. * Modified the error on the char-sql server to set chars online when it
  7232. receives a save packet from a character tagged as offline (until it can be
  7233. figured out why this is happening) [Skotlex]
  7234. * Fixed signed/unsigned comparison issues in the char txt/sql server.
  7235. [Skotlex]
  7236. * Fixed the cooking success chances. Thanks to Ishizu Chan. [Skotlex]
  7237. * Added a temporary band-aid to prevent executing the script of non-arrows
  7238. when they are equipped on the arrow-slot (until the actual cause of why
  7239. pc_unequipitem is not working correctly is discovered/fixed) [Skotlex]
  7240. 2006/07/06
  7241. * Modified the party_data structure on the map server to remove some
  7242. redundant data. Added a party_data structure on the char-server to hold a
  7243. more complete set of information about parties. Added to the party_member
  7244. structure the class of each member so that the map server can do the
  7245. appropiate checks even if the character is on another mapserver/offline.
  7246. Due to the format changes in the party structure, txt servers will have to
  7247. wipe their party file... (sql save format has not been changed) [Skotlex]
  7248. * Added function char_family to check if there's a family state given the
  7249. three character ids, instead of doing individual checks all the time.
  7250. [Skotlex]
  7251. * Rewrote all the item restriction functions so that they will take into
  7252. account slotted card restrictions as well. [Skotlex]
  7253. * Added no_skill_delay setting, when set, affected object types will have
  7254. the minimum skill delay for all skills. Defaults to mobs, since they
  7255. don't have skill delays. [Skotlex]
  7256. * Cleaned up pc_equipitem. When dual wielding or equipping accessories, if
  7257. the client actually specifies one of the two positions, it will be taken
  7258. into account (now, does the client actually does this?) [Skotlex]
  7259. * Fixed GrandCross and similar skills. [Skotlex]
  7260. * FogWall will now also affect the caster. [Skotlex]
  7261. 2006/07/05
  7262. * Updated NJ_KAENSIN by Saycyber21 [Vicious]
  7263. * Updated @refine to take account of MAX_REFINE, thanks to Omega... GM
  7264. Designer. [Skotlex]
  7265. - Also optimized the @refine loop for better performance.
  7266. 2006/07/04
  7267. * Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
  7268. * Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
  7269. * Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
  7270. 12*(cooking set-lv)%. Exception: When using the legendary cooking set,
  7271. success chance is 100% regardless of dish. [Skotlex]
  7272. * Added battle config setting emergency_recall, specifies behaviour of that
  7273. skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 -
  7274. Can be used everywhere. [Skotlex]
  7275. * Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can
  7276. come out or not is entirely decided by the abra db file now. [Skotlex]
  7277. * Added structure s_addeffect to handle status change additions. Cleaned up
  7278. relevant code. It is now possible to specify ANY status change, not just
  7279. the basic ones. NOTE that the code is proof-read, but untested! [Skotlex]
  7280. * Added support for bonus3 bAddEff/bAddEffWhenHit as follows: [Skotlex]
  7281. bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  7282. Target flag is 0: Self. 1: Enemy. 2: Both.
  7283. * Added these descriptions to doc/item_bonus.txt [Skotlex]
  7284. * Added a check when joining a chat to make sure the target object is of
  7285. type BL_CHAT. [Skotlex]
  7286. 2006/07/03
  7287. * Cleared up the bAutoSpellWhenHit description in doc/item_bonus.txt
  7288. [Skotelx]
  7289. * Fixed Phantasmic Arrow and Magical Bullet not being correctly tagged as a
  7290. ranged arrow-type attack. [Skotlex]
  7291. * Updated help.txt and help2.txt, thanks to Inuyasha for providing the
  7292. updated files. [Skotlex]
  7293. * Char-server SQL won't perform the reconnect cleanup routines when
  7294. kick_on_disconnect is disabled. [Skotlex]
  7295. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  7296. setting now only makes the attacks of the slaves trigger the autospells of
  7297. the master (as it should be). [Skotlex]
  7298. * Corrected code capping no_spawn_on_player to 50 when the max should be
  7299. 100. [Skotlex]
  7300. * Warmth will dispel when warping now (or else the effect is left on the
  7301. ground) [Skotlex]
  7302. * Fixed reading of the refine_db not working right when MAX_REFINE is
  7303. increased from 10. [Skotlex]
  7304. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  7305. * Fixed a compile warning in login sql/txt [Skotlex]
  7306. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  7307. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  7308. [Skotlex]
  7309. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  7310. [Skotlex]
  7311. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  7312. skills. [Skotlex]
  7313. 2006/06/30
  7314. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  7315. * Added a check to prevent equipped items from being traded. [Skotlex]
  7316. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  7317. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  7318. cells. Beware of potential bugs as it's untested. [Skotlex]
  7319. * Added mapflag "nochat" to prevent chatting rooms from being created.
  7320. [Skotlex]
  7321. * Corrected some of the sleep checks when the char id does not matches with
  7322. the char-id expected by the script engine. [Skotlex]
  7323. * Cleanup in itemheal related code, fixed the item heal group bonus not
  7324. working on Groups beyond 7. [Skotlex]
  7325. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  7326. 2006/06/29
  7327. * Made the map server send list of characters online to the char-server on
  7328. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  7329. temporary disconnection would make the char-server tag all characters
  7330. offline and refuse to save them afterwards. [Skotlex]
  7331. * Fixed guild storage being "eternally in use" if you quit/logout before
  7332. closing it. [Skotlex]
  7333. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  7334. [Skotlex]
  7335. * [Fixed]
  7336. - Scripting system screwing up script position after mixing timers with menus.
  7337. - NPC attached AI mobs display as alive when dead.
  7338. - View data not updating after buildin_unitdeadsit.
  7339. [Improved]
  7340. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  7341. - Simplified scripting system. sd will now use pointer to the script state itself.
  7342. [Lance]
  7343. 2006/06/28
  7344. * changed:
  7345. dynamic_pass_failure_ban_how_many:from 3 to 7
  7346. dynamic_pass_failure_ban_how_long:from 60 to 5
  7347. as in official servers. [Musashiden]
  7348. * Added a check in script command "set_option" so that invoking
  7349. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  7350. * Added trade-range check on trade start. [Skotlex]
  7351. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  7352. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  7353. to be used on enemies. [Skotlex]
  7354. * Cleaned up a bit the code for @item [Skotlex]
  7355. * Fixed character/storage being sent to be saved TWICE when you logged out
  7356. while the storage is opened. [Skotlex]
  7357. * Added save_settings map config. Specifies after which events do
  7358. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  7359. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  7360. [Skotlex]
  7361. * Changed the mob drop rate adjust function to receive a signed int
  7362. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  7363. * Corrected Musical Strike having a different damage equation from Throw
  7364. Arrow. [Skotlex]
  7365. * Added state rewarp to players. It gets set when a pc_setpos call is
  7366. triggered while the player is changing maps so that when the player finish
  7367. loading the map, it is inmediately rewarped to where it has been
  7368. rewarped/recalled to. [Skotlex]
  7369. 2006/06/27
  7370. * Map server will now resent the whole list of online characters to
  7371. char-server on reconnect when the kick_on_disconnect setting is active.
  7372. [Skotlex]
  7373. * Cleaned up and optimized the IP sync code. New login_athena config
  7374. setting sync_ip_interval specifies how often to sync the ip. The default is
  7375. 0 (disabled). [Skotlex]
  7376. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  7377. on maps with this mapflag on, rather than every map. [Skotlex]
  7378. * High Jump can now be used in all versus maps. [Skotlex]
  7379. * Added Kaite's opt3 value, taken from jA [Skotlex]
  7380. * Added state dirty == 2 to storages. Signals when a storage was sent for
  7381. final saving. Said storage is removed from memory after the ack from the
  7382. char-server, and they are sent to save if the map/char servers reconnect
  7383. before the ack arrives. In short: they are guaranteed to be saved after a
  7384. char logs out. [Skotlex]
  7385. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  7386. 2006/06/26
  7387. * Corrected the element of hunter traps. [Skotlex]
  7388. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  7389. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  7390. [Skotlex]
  7391. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  7392. * Rough implementation of Ground Drift according to description and jA
  7393. info. [Skotlex]
  7394. * Implemented Tatami Gaeshi using skill description and jA implementation
  7395. for reference. [Skotlex]
  7396. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  7397. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  7398. Meruru for pointing out they aren't being used anymore. [Skotlex]
  7399. * Autospells will now again check for the skill's nk value, so that skills
  7400. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  7401. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  7402. equipment (fixes them showing up "broken" and with random refine levels)
  7403. [Skotlex]
  7404. * [Added]:
  7405. - buildin_unitkill just for kicks. [Lance]
  7406. 2006/06/23
  7407. * [Optimized]:
  7408. - Setting of variables with defined scope in some frequently executed script
  7409. events.
  7410. [Added]:
  7411. - Missing script_require_trigger flags for some power hungry events.
  7412. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  7413. * Modified pc_setoption so that it will correctly update sprite AND clothes
  7414. color when mounting/unmounting changing into/from xmas/wedding sprites.
  7415. [Skotlex]
  7416. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  7417. to be sold, traded, dropped, etc. [Skotlex]
  7418. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  7419. and before card reductions. The skill now completely disregards left
  7420. hand weapon. [Skotlex]
  7421. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  7422. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  7423. * Cleared up the comment on what item_check does and how it works.
  7424. [Skotlex]
  7425. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  7426. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  7427. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  7428. to forbid skills from common maps. [Skotlex]
  7429. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  7430. * The map search free cell will now use the size of the map # of tries
  7431. before giving up when the spawn area is the whole map. Added a check to
  7432. inmediately give up when the number of spawn retries has reached the max
  7433. specified (no_spawn_onplayer = 100). [Skotlex]
  7434. * Cleaned up a bit the clone code to account for the unit flags
  7435. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  7436. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  7437. * Added pc_bonus_autospell_del, gives support for removing autospell
  7438. effects. When a negative rate is specified, it will decrease the chance of
  7439. casting (eg: You have two different cards with autospell Heal +20% each,
  7440. then do autospell -30. The second card will be cancelled, and the first one
  7441. will become Heal +10%) [Skotlex]
  7442. * npc_timers now will not restore the previous timer data when there's no
  7443. players attached (when it's strictly an npc timer). This should reenable
  7444. the old behaviour of getnpctimer returning the total ellapsed time since
  7445. "startnpctimer" even after the last label has been reached. However, this
  7446. behaviour won't apply to player-attached timers. [Skotlex]
  7447. * [Fixed]:
  7448. - MAPREGSQL overloading SQL table with temperory map registries.
  7449. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  7450. 2006/06/22
  7451. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  7452. This should complete the required packets for PACKETVER 7. [Skotlex]
  7453. * Added support for the PACKETVER 7 packets in the "dummy" current
  7454. intravision implementation. [Skotlex]
  7455. * Fixed @autoloot being off by 0.01% when entering a manual value.
  7456. [Skotlex]
  7457. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  7458. each target is hit N times (where N is the number of mobs in the splash
  7459. area at the moment of triggering). [Skotlex]
  7460. * Updated the tools/stackdump script to also handle sig-plugin generated
  7461. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  7462. the end or not. Help me test it as I want this script on stable NOW :X
  7463. [Skotlex]
  7464. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  7465. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  7466. stackdump as before. [Skotlex]
  7467. * Corrected autoloot so that you can specify rate with decimal precision
  7468. ("@autoloot 0.01" should work) [Skotlex]
  7469. 2006/06/21
  7470. * [Removed]:
  7471. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  7472. * [Fixed]:
  7473. - Compilation warnings and errors.
  7474. [Improved]:
  7475. - Changed and moved IP sync status messages to elaborate more. [Lance]
  7476. * Tested and fixed resolve_hostbyname. Applied said function around most of
  7477. the code where needed. Removed includes for the OS/network system pretty
  7478. much from every file (our socket.c file should handle this) [Skotlex]
  7479. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  7480. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  7481. [Skotlex]
  7482. * status_percent_change will now account for when the target's max hp/sp is
  7483. above INT_MAX. [Skotlex]
  7484. * [Added]:
  7485. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  7486. 2006/06/20
  7487. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  7488. really ARE the same value clientside! (totally stupid), therefore I've
  7489. opted from removing the flying animation since it really just displays as
  7490. Xmas for others (and the correct fix involves adding a bunch of
  7491. class-change packets...) [Skotlex]
  7492. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  7493. Fling. [Skotlex]
  7494. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  7495. in skill_check_condition, fixed the skill so that it's damage is based on
  7496. whatever zeny is specified in skill_require_db. [Skotlex]
  7497. * Can-act delay will not be reset when warping now. [Skotlex]
  7498. * Fixed Quagmire not altering walking-speed. [Skotlex]
  7499. * Silence now blocks skills both on begin/end casting. [Skotlex]
  7500. * Updated status_calc_bl so that when walking speed changes, the character
  7501. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  7502. 2006/06/19
  7503. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  7504. * Combo-used Skills with State "move_enable" will now override the "can't
  7505. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  7506. * Some more cleanups of battle_calc_damage to account for absorbed damage
  7507. reductions. [Skotlex]
  7508. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  7509. Now we are back to where the skill animation does not shows, but you DO
  7510. get SP T.T' [Skotlex]
  7511. * Some cleanups and corrections in battle.c to account for negative
  7512. (absorbed) damage. [Skotlex]
  7513. * Fixed fame-list updating crashing char-sql server when the given char-id
  7514. just got into ranking. [Skotlex]
  7515. * Added missing Arunafeltz maps with information from NLZ [Evera]
  7516. 2006/06/18
  7517. * [Fixed]:
  7518. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  7519. filling the SkillStatusChangeTableArray with junk data.
  7520. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  7521. - Typo in parse_frommap. [Lance]
  7522. * [Fixed]:
  7523. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  7524. * [Temperory Fixed]:
  7525. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  7526. * [Removed]:
  7527. - Large part of scripted mob control commands are removed.
  7528. - Large part of scripted player control commands are removed.
  7529. - Scripted mob slaves changing master ID.
  7530. [Added]:
  7531. - Unit control commands.
  7532. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  7533. - Macro RECURSIVE_MASTER_CHECK in battle.c
  7534. [Modified]:
  7535. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  7536. and buildin_unitskillusepos.
  7537. - md->callback_flag to short (double word). [Lance]
  7538. 2006/06/17
  7539. * Devotion absorbed damage will now appear to come from oneself (instead of
  7540. the original attacker changing directions towards the Crusader) [Skotlex]
  7541. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  7542. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  7543. someone logs out <.< [Skotlex]
  7544. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  7545. * [Added]:
  7546. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  7547. [Improved]:
  7548. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  7549. - mob_script_callback to return sucess value [Lance]
  7550. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  7551. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  7552. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  7553. 2006/06/16
  7554. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  7555. lost) [Skotlex]
  7556. * Corrected @speed to alter your base speed instead of battle one. Means
  7557. the change remains for much longer (until status_calc_pc is invoked, which
  7558. could be due to equipping/unequipping stuff) [Skotlex]
  7559. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  7560. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  7561. damage be reduced by half. This bonus stack, so two cards with
  7562. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  7563. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  7564. specifies the threshold before the bNoMagicDamage starts blocking support
  7565. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  7566. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  7567. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  7568. * Removed db_tables.sql as it's no longer used. [Skotlex]
  7569. * the mvp_sd is removed when the mob is the emperium and there's no
  7570. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  7571. event from triggering and giving the castle to whoever damaged the most the
  7572. emperium without destroying it. [Skotlex]
  7573. * [Added]:
  7574. - Custom slave mobs to inherit the callback_flag.
  7575. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  7576. * [Improved]:
  7577. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  7578. 2006/06/15
  7579. * [Fixed]:
  7580. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  7581. [Lance]
  7582. * Added indexes for loginlog and ipbanlist as they did not have any.
  7583. (note, someone already put the index on loginlog on trunk.) [Euph]
  7584. * Merged Adam's patch to let the char-server handle validation of
  7585. pet-name-change requests through the allowed char letters config. [Skotlex]
  7586. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  7587. gear already equipped. [Skotlex]
  7588. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  7589. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  7590. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  7591. options. [Skotlex]
  7592. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  7593. * Corrected chrif_save so that the player is not set offline on map-change.
  7594. [Skotlex]
  7595. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  7596. [Skotlex]
  7597. * Fixed clif_parse_RemoveOption removing all options instead of just
  7598. Falcon/Cart/Peco [Skotlex]
  7599. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  7600. source is not on the map yet. [Skotlex]
  7601. * Fixed and cleaned up script command 'equip' [Skotlex]
  7602. * Fixed 'autoequip' items. [Skotlex]
  7603. * Fixed Aspd not being updated in your status window after Agi/Dex
  7604. increasing statuses take effect. [Skotlex]
  7605. 2006/06/14
  7606. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  7607. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  7608. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  7609. vit; resist += (max - resist)*luk/300; [Skotlex]
  7610. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  7611. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  7612. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  7613. array to fill in. [blackhole89]
  7614. * Blocked again skill usage during marionette. [Skotlex]
  7615. * Fixed main.sql adding a key on char_id rather than account_id for the
  7616. char table. [Skotlex]
  7617. * Cleaned up character saving in char-sql, it no longer needs to query the
  7618. database to see if the player exists on each char-save, instead it checks
  7619. the received data against the online-players db. No such fix is required
  7620. for char-txt. [Skotlex]
  7621. * Added an error message on the char-server when the received player data
  7622. size does not matches with the expected size (should avoid the crash that
  7623. happens on such a memcpy). [Skotlex]
  7624. * [Improved]:
  7625. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  7626. queries. [Lance]
  7627. 2006/06/13
  7628. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  7629. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  7630. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  7631. * Marionette and Devotion will now check raw distance and ignore obstacles
  7632. and the like. [Skotlex]
  7633. * Added irc_channel_pass setting and prevent crashing when irc server
  7634. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  7635. * [Fixed]:
  7636. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  7637. [Lance]
  7638. * Added support for reading correctly status change data from Guild and
  7639. Homun skills. [Skotlex]
  7640. * Added support for reading Homun skill data (which means the HM skills are
  7641. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  7642. * Oppositions can't be made during WoE now. [Skotlex]
  7643. * Fixed a few compiler warnings from VC [Skotlex]
  7644. * Commented out the Homunculus Skills<->Status Change link which was
  7645. causing some memory corruptions. [Skotlex]
  7646. 2006/06/12
  7647. * [Fixed]:
  7648. - buildin_npcshopitem not allocating extra 1 block of terminator.
  7649. [Added]:
  7650. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  7651. [Lance]
  7652. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  7653. to the player's buffer. [Skotlex]
  7654. * Updated @noask to also tell the user what he has just rejected (added
  7655. msg_athena entries for each of the different requests). Also updated it to
  7656. use clif_disp_onlyself. [Skotlex]
  7657. * Fixed a pair of missing initializers in the clif storage functions.
  7658. [Skotlex]
  7659. * @heal no longer displays a healing animation. Fixes the client believing
  7660. you couldn't be healed more than 32K. [Skotlex]
  7661. * Now you can use any skills (except encore/dancing ones) while under
  7662. Longing for Freeding. [Skotlex]
  7663. * Now you can use any skills while under Marionette Control. [Skotlex]
  7664. * Fixed npc_checknear's distance check returning the opposite of what it
  7665. should (false when the range is correct and viceversa) [Skotlex]
  7666. * Added a warning on item loading when an item is of equippable type but
  7667. has no equippable position. [Skotlex]
  7668. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  7669. * Slaves can summon other mobs now. The only ones who can't do this are
  7670. player summoned mobs. [Skotlex]
  7671. * Merged the following functions for faster processing of items: [Skotlex]
  7672. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  7673. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  7674. clif_itemlist + clif_equiplist = clif_inventorylist
  7675. Note that the changes are a bit substantial and need proper testing!
  7676. * Increased max knockback value support to 25. [Skotlex]
  7677. * [Optimized]:
  7678. - buildin_npcshopitem memory allocation to calculate before reallocating.
  7679. [Lance]
  7680. * Made guild member exp an unsigned int. [Skotlex]
  7681. * Various cleanups to the npc clicking related functions. Should fix quite
  7682. some possible crashes from crafted packets. [Skotlex]
  7683. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  7684. * Added missing update of INT after a buf. [Skotlex]
  7685. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  7686. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  7687. of on the party members. [Skotlex]
  7688. * Modified clif_parse_NpcClicked to handle the different situations with
  7689. different bl-objects (attack on players/mobs, click on npcs or mobs with
  7690. npc attached) [Skotlex]
  7691. 2006/06/09
  7692. * [Fixed]
  7693. - Compilation warnings on guild.c and int_guild.c [Lance]
  7694. * Added structure party_data and party_member_data to the map server to
  7695. hold party-specific required information about parties including
  7696. Monk/TK/SG/SN states and party member count. Family information is still
  7697. missing, and handling of the state should probably be done by the
  7698. char-server, too... [Skotlex]
  7699. * party Hp updates are no longer done each time the Hp is modified, but
  7700. together with the party xy timer. It means HP-bars will be a bit delayed
  7701. before being updated, but packet consumption should be much less during
  7702. heated battles. [Skotlex]
  7703. * Fixed MoM's typo [Vicious]
  7704. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  7705. * [Improved]:
  7706. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  7707. [Lance]
  7708. * [Fixed]:
  7709. - Execution of sleep/sleep2 more than once will hang the script_state.
  7710. [Lance]
  7711. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  7712. back to your last savepoint. [Skotlex]
  7713. * Moved guild_exp_rate from a mapserver battle config setting to a char
  7714. server config. It no longer modifies the total taxed exp as seen on the
  7715. guild information window, but directly modifies the exp that the guild
  7716. earns. [Skotlex]
  7717. * Added an error report and correction when the map server receives a guild
  7718. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  7719. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  7720. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  7721. 2006/06/08
  7722. * Modified guild exp to be an unsigned int rather than a signed one.
  7723. [Skotlex]
  7724. * Fixed @skilltree printing out Unknown job for most targets used.
  7725. [Skotlex]
  7726. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  7727. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  7728. characters. [Skotlex]
  7729. * Modified map_freeblock_unlock so that aFree errors will report the
  7730. file/line that INVOKED the function rather than the function itself.
  7731. [Skotlex]
  7732. NOTE: Do NOT disable the memory manager as that will break this change.
  7733. This change is to be temporarily set until the afree'd error can be
  7734. resolved.
  7735. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  7736. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  7737. [Skotlex]
  7738. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  7739. to hold the speed adjustment value rather than speed penalty (eg: 125
  7740. instead of 25). [Skotlex]
  7741. * Cleaned up status_calc_speed so that speed penalties are correctly
  7742. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  7743. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  7744. 2006/06/07
  7745. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  7746. * Fixed item-skills not showing up on login. [Skotlex]
  7747. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  7748. only on first-login and which ones are required on all map-changes.
  7749. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  7750. sent on map-change (items, cart data and zeny still need to be sent one
  7751. very map-change). [Skotlex]
  7752. * Fixed the mob state not being set to Berserk/Angry correctly after the
  7753. mob reaches the target's location. [Skotlex]
  7754. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  7755. warped between maps when stepping on a npc-warp. [Skotlex]
  7756. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  7757. npc-warp when their current target has switched maps. [Skotlex]
  7758. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  7759. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  7760. * pc_gain_exp now also receives the source of the exp, when said source
  7761. exists, bonuses are applicated as needed. [Skotlex]
  7762. * Added status_kill when capturing a mob, should take care of the mob not
  7763. respawning after caputed. [Skotlex]
  7764. * Fixed item info not displaying the found item id [Skotlex]
  7765. * Fixed item info not displaying the weight value properly. [Skotlex]
  7766. * Adjusted status resistances and durations taking as base Viccious's info
  7767. from the kro guidebook. [Skotlex]
  7768. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  7769. should display the skill animation correctly now. [Skotlex]
  7770. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  7771. [Skotlex]
  7772. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  7773. * Removed char_nick2id from char-sql server as it's no longer needed.
  7774. [Skotlex]
  7775. * Fixed quitting the map server not properly saving the storage before
  7776. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  7777. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  7778. function. [Skotlex]
  7779. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  7780. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  7781. has a 300% base chance reduced by mdef and the like as explained out by
  7782. Tharis. [Skotlex]
  7783. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  7784. target's int. [Skotlex]
  7785. * [Improved]:
  7786. - mob_dead not to remove script controlled monsters with player sprites.
  7787. [Added]:
  7788. - buildin_mobdeadsit :D [Lance]
  7789. * [Fixed]:
  7790. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  7791. mob_damage. Thanks to seahorsix. [Lance]
  7792. * [Fixed]:
  7793. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  7794. * [Optimized]:
  7795. - list and size not being initialized (size get intialized in default: switch case)
  7796. Eliminated default case and initialized list and size at the beginning. [Lance]
  7797. 2006/06/06
  7798. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  7799. to the mobs level up setting. [Skotlex]
  7800. * Removed a piece of code that should no longer be needed due to the
  7801. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  7802. self-skills from being used on others (pets/mobs should be allowed to do
  7803. that) [Skotlex]
  7804. * Added a status_check_skilluse call in Sightblaster to prevent it from
  7805. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  7806. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  7807. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  7808. * The monsters can level up setting will not take effect when the mob's
  7809. level is LESS than their db counter-part (should prevent under-leveling
  7810. causing underflows and semi-immortal mobs) [Skotlex]
  7811. * Fixed mvp-exp calculations being messed up with more than one attacker.
  7812. [Skotlex]
  7813. * Changed the mob exp race bonus so that each player gets their own bonus,
  7814. rather than the killer's bonus applying to everyone. Still not the
  7815. "correct" way, but one step closer to it. [Skotlex]
  7816. * [Fixed]:
  7817. - Allocation of event_list in guild_npc_request_info to aCalloc so
  7818. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  7819. 2006/06/05
  7820. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  7821. * Hopefully fixed changing a mob's class causing them to get all sort of
  7822. stat bonuses due to the mobs-level-up setting. [Skotlex]
  7823. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  7824. to signed char to correctly account for cards with penalties in said stats.
  7825. [Skotlex]
  7826. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  7827. * Added clif_fixpos packets before attacking for the first time to clear
  7828. any position sync issues with the client. [Skotlex]
  7829. * Fixed skill_unitsetting using layout->count for the for instead of
  7830. group->count [Skotlex]
  7831. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  7832. increase dex/agi by 40% per level. [Skotlex]
  7833. * Fixed char-sql server not deleting character variables when deleting a
  7834. char. [Skotlex]
  7835. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  7836. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  7837. overflows/underflows. [Skotlex]
  7838. 2006/06/03
  7839. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  7840. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  7841. you relogged. Thanks to Euph for the fix.
  7842. * Added variable other_mapserver_count to chrif.c which holds total count
  7843. of connected map-servers. By using this we prevent sending unnecessary
  7844. packets to the char-server when there's no more map-servers connected.
  7845. [Skotlex]
  7846. - Affected packets are whispers, announces, party messages, guild messages.
  7847. 2006/06/02
  7848. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  7849. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  7850. target is near obstacles. [Skotlex]
  7851. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  7852. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  7853. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  7854. fails. Fixes cases where the client gets "stuck" and refuses to let you
  7855. pick any items. [Skotlex]
  7856. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  7857. to 1 tile to make it act more like in the official servers.
  7858. * Some cleaning of the mob slave ai. [Skotlex]
  7859. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  7860. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  7861. skill levels above 10 (meant for boss casted skills) [Skotlex]
  7862. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  7863. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  7864. [Skotlex]
  7865. * [Fixed]
  7866. - Yet another compilation warning. [Lance]
  7867. 2006/06/01
  7868. * Altered status_calc_pc so that equipment scripts are ran before
  7869. card-scripts. [Skotlex]
  7870. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  7871. [Skotlex]
  7872. - These two together, should fix Tao Gunka Card.
  7873. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  7874. [Skotlex]
  7875. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  7876. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  7877. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  7878. without removing it when the skill level is greater than one. [Skotlex]
  7879. * Added SC_DANCING declaration in the Status Change tables to signal it
  7880. modifies Walk speed. [Skotlex]
  7881. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  7882. (eg: poison, berserk) [Skotlex]
  7883. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  7884. affected by Quagmire/Forget-me-not. [Skotlex]
  7885. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  7886. [Skotlex]
  7887. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  7888. cart. [Skotlex]
  7889. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  7890. * Fixed Autoblitz taking into account target's luck rather than attacker's
  7891. [Skotlex]
  7892. * Fixed slaves warping endlessly to their master when the master-slave
  7893. distance exceeds 30. [Skotlex]
  7894. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  7895. [Skotlex]
  7896. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  7897. incorrect range variable. [Skotlex]
  7898. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  7899. 2006/05/31
  7900. * Fixed Soul Drain not really giving you SP [Skotlex]
  7901. * [Fixed]:
  7902. - Suppressed compilation warning in chrif.c [Lance]
  7903. * [Fixed]:
  7904. - Guys can't go across map-servers :( [Lance]
  7905. * [Fixed]:
  7906. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  7907. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  7908. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  7909. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  7910. delay. [Skotlex]
  7911. * Made the char_name_option char_athena.conf setting apply to parties and
  7912. guilds as well. It cannot be applied to pets yet without adding a
  7913. change-name-request interserver packet. [Skotlex]
  7914. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  7915. [Skotlex]
  7916. * Added function char_read_fame_list for famelist reading. Invoked it on
  7917. init, and made it be sent automatically to connecting map servers.
  7918. [Skotlex]
  7919. * Some cleaning of the fame-list reading code. [Skotlex]
  7920. * Some cleaning of the fame-update code, fixed a logic bug which made the
  7921. ranking list fail to display the correct ranker names. [Skotlex]
  7922. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  7923. [Skotlex]
  7924. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  7925. status_calc_bl. [Skotlex]
  7926. * [Fixed]:
  7927. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  7928. * [Improved]:
  7929. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  7930. * [Fixed]:
  7931. - nullpo in pet.c caused by equipping without checking if the pet is available.
  7932. [Lance]
  7933. * [Fixed]:
  7934. - Latest client support completed! [Lance]
  7935. * [Fixed]:
  7936. - Missing #include for cbasetypes.h in login server SQL.
  7937. - Logic errors in run_script [Lance]
  7938. * [Added]:
  7939. - Partial support for latest login packet. But it seems to have a new security
  7940. module. [Lance]
  7941. 2006/05/30
  7942. * [Improved]:
  7943. - Fake NPC interface to use real NPCs.
  7944. - Scripting interface to restore and save sd->npc_id. [Lance]
  7945. * Added function pc_check_skilltree for checking if you unlocked new
  7946. tree-skills when raising non-passive skills. [Skotlex]
  7947. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  7948. the base status. [Skotlex]
  7949. * [Fixed]:
  7950. - Compatibility problems in login.c [Lance]
  7951. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  7952. * [Added]:
  7953. - Mercenary.c in VS.NET 2005 project files
  7954. [Improved]:
  7955. - loginlog using unsigned long `ip` field.
  7956. (Please check for compatibility problems). [Lance]
  7957. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  7958. bonuses (like effect-on-hit) to stack. [Skotlex]
  7959. * slaves inherit speed setting will now work regardless of whether the
  7960. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  7961. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  7962. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  7963. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  7964. attacks. [Skotlex]
  7965. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  7966. * Fixed the pcbonus2 warnings using the wrong value before printing the
  7967. invalid Element error. [Skotlex]
  7968. * Fixed underflow issues when calculating dmotion. [Skotlex]
  7969. * Fixed Absorb Spirit Spheres [Skotlex]
  7970. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  7971. specifies in ms what is the min delay between player sent chats
  7972. (whisper/global/party/guild). Messages that exceed this threshold are
  7973. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  7974. player?) [Skotlex]
  7975. * [Fixed]:
  7976. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  7977. * Rewrote/cleaned up @petfriendly. [Skotlex]
  7978. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  7979. * Updated attr_fix_table reading code to account for ELE_MAX (will
  7980. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  7981. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  7982. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  7983. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  7984. * Added error messages in pc_bonus* functions when an invalid element is
  7985. passed to the relevant bonuses. [Skotlex]
  7986. * [Optimized]:
  7987. - clif_specialeffect to use the enums.
  7988. [Improved]:
  7989. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  7990. definition. [Lance]
  7991. * [Added]:
  7992. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  7993. * Removed the on-die specific code from unit_remove_map and placed it on
  7994. the corresponding *_dead functions. unit_remove_map should never assume the
  7995. char died, it is just a "remove from map" function. [Skotlex]
  7996. * Updated status_damage to handle the general death code (clearing status
  7997. changes, clearing skill related data, sending death packet, etc). The
  7998. return value from the *_dead functions will tell it what to do or not with
  7999. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  8000. * Cleaned up pc_dead to take advantage of the fact that status changes are
  8001. not ended until after the function. [Skotlex]
  8002. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  8003. [Skotlex]
  8004. * Updated/adapted current Homun code to use the status_data update.
  8005. [Skotlex]
  8006. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  8007. * [Fixed]:
  8008. - Pets attacking even master is dead. [Lance]
  8009. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  8010. (negative values should be allowed when attack is absorbed by target's
  8011. element) [Skotlex]
  8012. 2006/05/29
  8013. * [Fixed]:
  8014. - Missing ';' in item #4358 [Lance]
  8015. * [Fixed]:
  8016. - Missing maps in map index database. [Lance]
  8017. * [Fixed]:
  8018. - Battle mechanics in battle_check_target [Lance]
  8019. * [Fixed]:
  8020. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  8021. [Lance]
  8022. * Cleaned up friend list saving and fixed loading of friends.txt file
  8023. (char-txt) [Skotlex]
  8024. * Added the Arunafeltz maps, not tested yet [Playtester]
  8025. - someone with an up-to-date client should test them
  8026. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  8027. [Skotlex]
  8028. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  8029. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  8030. instead of BL_PC and BL_MOB [Skotlex]
  8031. * [Fixed]:
  8032. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  8033. * Removed Undead being immune to poison status. [Skotlex]
  8034. * Removed speed penalty from SC_SKA [Skotlex]
  8035. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  8036. * SC_DODGE won't be dispelled on death now. [Skotlex]
  8037. * [Fixed]:
  8038. - pc_follow_timer possible triggering crash.
  8039. - pc_reg_received to use battle_status.hp instead of status.hp
  8040. [Added]:
  8041. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  8042. * Added a division by zero check in mob_dead to prevent the (impossible)
  8043. case where a mob dies with received damage of zero. [Skotlex]
  8044. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  8045. Non-Players. This usually signals Self skills, and mobs/pets should be able
  8046. to use them in other characters. [Skotlex]
  8047. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  8048. * Fixed draining when the amount drained is negative (invoke zap rather
  8049. than heal) [Skotlex]
  8050. * Implemented GS_FLING as per the current skill description. [Skotlex]
  8051. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  8052. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  8053. * Added some missing SC_* entries on the initial listing (potion related
  8054. and speed up ones) [Skotlex]
  8055. * Fixed function declaration of map_getcellp() [Skotlex]
  8056. * [Fixed]:
  8057. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  8058. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  8059. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  8060. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  8061. * [Optimized]:
  8062. - Removed unused variable (account_id) in storage_guild_storagesaved.
  8063. * [Optimized]:
  8064. - Removed unused checks for unsigned data type and possible logic error for
  8065. char type (gcc treats char as unsigned). [Lance]
  8066. * [Fixed]:
  8067. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  8068. 2006/05/28
  8069. * Added functions status_revive, pc_revive and mob_revive to handle revival
  8070. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  8071. [Skotlex]
  8072. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  8073. Bladestop causing an unknown status change message). [Skotlex]
  8074. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  8075. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  8076. * [Fixed]:
  8077. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  8078. * [Protected]:
  8079. - clif_parse_LGMmessage from possible hacks [Lance]
  8080. * Fixed unable to store n items into storage unless n was the total amount
  8081. of items you had. [Skotlex]
  8082. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  8083. 2006/05/27
  8084. * Added structure status_data which holds status-related information (str,
  8085. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  8086. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  8087. to be used by all combat structures (TODO: Homun needs to be updated to use
  8088. it). This in change involves a LOT of changes throughout the code and many
  8089. optimizations were done as well. Partial list (see svn changelog for complete
  8090. changes): [Skotlex]
  8091. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  8092. skills I changed the most, but it is possible there are unnoticed bugs
  8093. remaining to fix!
  8094. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  8095. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  8096. - Added status functions to deal with damage and healing (status_damage,
  8097. status_heal, status_percent_change) and a bunch of defines for easier
  8098. handling of them (status_percent_heal, status_percent_damage,
  8099. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  8100. THIS, pc_damage/mob_damage most no longer be directly invoked!
  8101. - Rewrote and cleaned up battle_calc_misc_attack
  8102. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  8103. pet_attack_attr_none into attack_attr_none (type 4)
  8104. - Removed config options player_defense_type, monster_defense_type,
  8105. pet_defense_type in favor of weapon_defense_type
  8106. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  8107. - Modified Slim Pitcher so it will work when casted by non-players. Will
  8108. now also work with SP-healing items.
  8109. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  8110. switch adelay/speed when cast begins/ends.
  8111. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  8112. easier updating when used in conjunction with ground skills.
  8113. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  8114. - Added status_calc_bl which does status-change related calculations using
  8115. as base the base_status of the bl object and the SCB_* flag passed. This is
  8116. invoked on status changes, and status_calc_pc will no longer be invoked
  8117. (which results on much faster status-change calculations).
  8118. - pc_clean_skilltree will now also remove item-granted skills.
  8119. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  8120. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  8121. packets and functions ONCE regardless of skill-levls earned.
  8122. - Cleaned up pc_ regen related functions.
  8123. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  8124. - Clones will copy a player's base status rather than battle status (so
  8125. status-change alterations are not cloned)
  8126. 2006/05/26
  8127. * Part B of the homunculus code. [blackhole89]
  8128. While most of the homunculus handling functions are in now, it still lacks
  8129. code required for players to create it.
  8130. Given I haven't screwed up, you could master yourself one through the DB though.
  8131. * Fixed crashing in mob.c [Lance]
  8132. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  8133. * Mob control engine tested 99% working so far. [Lance]
  8134. * Change scripting engine's NPC scope vars to dot (.) style.
  8135. * Improved and (should be fully) fixed the mob control engine. [Lance]
  8136. * Fixed typos in char.c [Lance]
  8137. * Rewrote fame rank lists system to reduce char-server load, as requested by
  8138. Skotlex: now it has a copy of those lists, and updates only the proper one
  8139. when needed instead of rebuilding all from saves everytime (which required
  8140. to always save the character before rebuilding the lists) [DracoRPG]
  8141. - Note it hasn't been compiled nor tested with SQL, please do it for me
  8142. 2006/05/25
  8143. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  8144. int-based damage component (which is added right before elemental
  8145. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  8146. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  8147. Fixed atcommand @request MSG numbers accordinly.
  8148. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  8149. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  8150. * Increased capacity for Account Variables to 64 [Skotlex]
  8151. * Reverted Intravision implementation to that of stable's. [Skotlex]
  8152. * Corrected Login Server taking it's first argument as both login config
  8153. and lan config. [Skotlex]
  8154. * Fixed mob control commands.
  8155. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  8156. 2006/05/24
  8157. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  8158. * Item sharing now shares the same rules as exp sharing (no sharing when
  8159. dead, or idle, etc) [Skotlex]
  8160. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  8161. aren't supposed to be able to call minions) [Skotlex]
  8162. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  8163. skill was successful. May fix the client-position lag. [Skotlex]
  8164. * Merged item_db.sql from stable (the one from stable was more recent than
  8165. the one of trunk...) [Skotlex]
  8166. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  8167. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  8168. ban request packet. [Skotlex]
  8169. 2006/05/23
  8170. * Corrected mob angry mode, now it only "restores" itself after being hit
  8171. when the mob has no target within their range of sight rather than on
  8172. picking a new target. [Skotlex]
  8173. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  8174. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  8175. * the charname request hack message has been downgraded to only include
  8176. GM-invisible characters. [Skotlex]
  8177. * corrected clif_charnameack to send negative ID when a disguised player
  8178. asks for it's own disguised name. [Skotlex]
  8179. * Cleaned up the disguised target-id checks taking into considering that
  8180. the only character that sees a negative ID is the same disguised character.
  8181. [Skotlex]
  8182. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  8183. defense), Investigate and Icepick will now use the final def/vit-def values
  8184. rather than the base ones. [Skotlex]
  8185. * The move-enable condition checks for skills are now checked for only when
  8186. on skill use, not at cast-end time. [Skotlex]
  8187. * Corrected clif parse name request failing on disguised characters [Skotlex]
  8188. * Corrected Soul Drain draining from all non-ground-based skills including
  8189. non-magic attacks. [Skotlex]
  8190. * Corrected pc_setoption to change the option and then change class.
  8191. changing option-wedding will automatically convert the view-class as well.
  8192. [Skotlex]
  8193. * Corrected the 15% drop rate increase when killing higher level mobs in
  8194. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  8195. Vayu. [Skotlex]
  8196. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  8197. db each time o_o [Lance]
  8198. * Fixed sleep command. [Lance]
  8199. * Added 'setd' support for local NPC scope (') variables. [Lance]
  8200. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  8201. 2006/05/22
  8202. * Updated skill_delayfix to return 0 for mobs since they have no skill
  8203. delay other than the one specified in mob_skill_db [Skotlex]
  8204. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  8205. Vayu for pointing it out. [Skotlex]
  8206. * status_get_sc_tick will now use directly Stun's formula rather than
  8207. invoking the status sc chance once. [Skotlex]
  8208. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  8209. * Modified Investigate to take into consideration final def/vit-def rather
  8210. than base values for damage adjustment. [Skotlex]
  8211. * WARNING: New scripting system contains memory leak
  8212. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  8213. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  8214. * Fixed compilation errors.
  8215. Tidy up jobmaster for easy debugging. [Lance]
  8216. 2006/05/21
  8217. * Part A of the Homunculus code.
  8218. This only features the structures, status_* and clif_* (packets) and is
  8219. not functional yet in any conventional way, but doesn't interfere
  8220. with present functionality either.
  8221. Main purpose is helping me to keep my work organized. [blackhole89]
  8222. * Fixed the "fake" mute status bug. [Zido]
  8223. * Speed up array size calculation and deletion. [Lance]
  8224. * Player must learn the skill before doing auto-spell [Lance]
  8225. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  8226. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  8227. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  8228. 2006/05/20
  8229. * grfio_final moved back if any of GRF overriding is enabled so servers
  8230. with such configuration will not have different values after reloading. [Lance]
  8231. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  8232. * Abit of alterations to login-server. [Lance]
  8233. 2006/05/19
  8234. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  8235. * Small change in pc_additem that could be fixing the current bug with new
  8236. items not getting added. [Skotlex]
  8237. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  8238. * Likely fixed the mob-skill random picking behaviour causing infinite
  8239. loops sometimes. [Skotlex]
  8240. * Modified mobskill_use behaviour to pick a random starting point and check
  8241. skills from that, rather than always checking from first to last. Fixes
  8242. skills with high priority blocking skills lower down in the list from
  8243. triggering. [Skotlex]
  8244. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  8245. current target cannot be reached for melee fighting. [Skotlex]
  8246. 2006/05/18
  8247. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  8248. [Skotlex]
  8249. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  8250. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  8251. * Optimized pc_additem comparisons to account for items with more than four
  8252. slots. [Skotlex]
  8253. * Updated clif.c to enable retrieval of items from cart/storage while
  8254. trading. Exception is retrieving items from the cart while vending.
  8255. [Skotlex]
  8256. - The reasoning is that an ongoing trade will not get "corrupted" if you
  8257. earn items before it is commited (only if you lose items from your
  8258. inventory), and it is an annoyance when you realize the stuff you want to
  8259. trade is on the cart/storage.
  8260. * skill reiteration code now does not checks for the trigger-area of the
  8261. skill in the case of non-players, which means mobs can now place traps in
  8262. cells adjacent to each other. [Skotlex]
  8263. * Applied an experimental weather code that should lower bandwidth usage to
  8264. near-none, which's only disadvantage should be the weather not clearing out
  8265. until moving to another map (even when the mapflag is removed from the
  8266. current map). Please test and report if there's any anomalies with it.
  8267. [Skotlex]
  8268. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  8269. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  8270. * MO_BODYRELOCATION will send the slide packet with the actual src's
  8271. coordinates rather than selected tile. [Skotlex]
  8272. 2006/05/17
  8273. * Modified mob_can_changetarget to return true always when the new target
  8274. is the provoked-by character. Fixes provoke not making the mob change
  8275. target when it already is locked on another player. [Skotlex]
  8276. * Added check to clear previous skill when combo time ends. Should fix TK
  8277. Rankers being unable to initiate a combo with the same kick their previous
  8278. combo was finished with. [Skotlex]
  8279. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  8280. 2006/05/16
  8281. * Modified "hide woe damage" to send the number of hits rather than 1 as
  8282. damage Because when the damage is less than the number of hits, the client
  8283. will display MISS. [Skotlex]
  8284. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  8285. [Skotlex]
  8286. * Blood Drain always hits now. [Skotlex]
  8287. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  8288. delay useless) [Skotlex]
  8289. * Search free cell will now skip picking the center-tile as target
  8290. location. Will prevent slaves from walking on top of their master, or mobs
  8291. placing stuff right under themselves with the "around" target conditions
  8292. among other things. [Skotlex]
  8293. 2006/05/15
  8294. * Small changes to the skill.conf
  8295. - Monsters now can place ground skills on top of each other by default
  8296. - Land_Skill_Limit format changed and set to "Only Players" by default
  8297. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  8298. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  8299. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  8300. skill level is above 10. [Skotlex]
  8301. * Sorted out the item_data structure, getiteminfo should work correctly
  8302. now. [Skotlex]
  8303. * KA* skills can now be casted on other Soul Linkers as well without the
  8304. Spirit requirement. [Skotlex]
  8305. * Soul Drain will now show the SP drained regardless of drain display
  8306. settings. [Skotlex]
  8307. * SC_COMBO state will now end in skill_attack rather than
  8308. skill_check_condition (as it is required there to apply damage bonuses
  8309. based on combo-casted skills) [Skotlex]
  8310. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  8311. [Skotlex]
  8312. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  8313. servers. [Skotlex]
  8314. * When removing a castle's owning guild, the char servers will erase the
  8315. guardian data now. [Skotlex]
  8316. * Changed the behaviour of immobile mobs when they can't chase their
  8317. target. Rather than using a longrange skill and then unlocking, they will
  8318. use an attack/angry state skill and then unlock. [Skotlex]
  8319. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  8320. * Fixed clif_GlobalMessage being the exact same function as clif_message
  8321. (the first should send to ALL_CLIENT and the later should send to
  8322. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  8323. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  8324. * Characters in vending are now always considered "idle" if the
  8325. idle_no_share setting is active. [Skotlex]
  8326. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  8327. * Remaining fixes for item scripts. [Lance]
  8328. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  8329. 2006/05/12
  8330. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  8331. * Bugfix on fake npc [Lance]
  8332. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  8333. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  8334. the target is a nonplayer (rather than always) [Skotlex]
  8335. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  8336. player" while 0,0 are random around the whole map (regardless of whether
  8337. there's a player attached or not) [Skotlex]
  8338. * Knockback will no longer work on traps during woe. [Skotlex]
  8339. 2006/05/11
  8340. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  8341. [Skotlex]
  8342. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  8343. of 40% per level. [Skotlex]
  8344. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  8345. [Skotlex]
  8346. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  8347. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  8348. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  8349. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  8350. [Skotlex]
  8351. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  8352. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  8353. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  8354. Tanaous [Skotlex]
  8355. * Added back the missing code that substracts arrows when normal-attacking.
  8356. [Skotlex]
  8357. 2006/05/10
  8358. * Changed the state of Asura back to explosionspirits, added a hardcoded
  8359. move_enable check when invoking Asura and NOT while in BladeStop or a
  8360. Combo. [Skotlex]
  8361. * Added back SC_XMAS to status.c, it got lost sometime during all the
  8362. previous reworkings. [Skotlex]
  8363. * Changed wedding costumes to use setoption rather than changebase.
  8364. [Skotlex]
  8365. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  8366. removes it. [Skotlex]
  8367. * Updated script_commands with the new behaviour. [Skotlex]
  8368. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  8369. than 15. [Skotlex]
  8370. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  8371. 2006/05/09
  8372. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  8373. [Skotlex]
  8374. * Added @request commands, sends a request to all connected GMs of
  8375. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  8376. users (UNTESTED). [Skotlex]
  8377. * Modified @commands to use Meruru's code which is faster and does a fair
  8378. attempt at tabulating the commands presented. [Skotlex]
  8379. * Updated SKA to return a random value between 0 and 99 each time
  8380. status_get_def is invoked. [Skotlex]
  8381. * Updated Making Arrow to not include unidentified items in the list.
  8382. [Skotlex]
  8383. * Reduced drop slots from 15 to 10. [Skotlex]
  8384. * Updated mob_db.sql with the current data. [Skotlex]
  8385. * Updated setoption script command to receive a second (optional) argument
  8386. flag. If the flag is 1, the option is added to what the player currently
  8387. has; likewise using flag 2 removes only that option. No flag (or any other
  8388. value) is the older behaviour of removing all other options and setting
  8389. specificly what is passed. [Skotlex]
  8390. * Updated script_commands information for setoption due to this change.
  8391. [Skotlex]
  8392. * Small fix in npc-created chat rooms to properly include the terminating 0
  8393. on the chat's event. [Skotlex]
  8394. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  8395. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  8396. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  8397. move and the attacker is out of it's attack range. [Skotlex]
  8398. * Added missing icon for Joint Beat [Skotlex]
  8399. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  8400. * Treasure chests will now be excluded from the mob-drop listings
  8401. (@whodrops) [Skotlex]
  8402. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  8403. for the same skill. [Skotlex]
  8404. * Updated main.sql's loginlog table structure. [Skotlex]
  8405. * Added svn_update6533.sql to update the loginlog structure as suggested by
  8406. theultramage. [Skotlex]
  8407. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  8408. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  8409. when crafted for non-players. [Skotlex]
  8410. * Script commands sc_start, sc_start2 and sc_start4 will now start
  8411. regardless of sc defense of the target player (that is, they cannot be
  8412. avoided/blocked) [Skotlex]
  8413. * Fixed a possible counter overflow in attacked_count, changed the var size
  8414. to unsigned char since the code can handle the overflow now. [Skotlex]
  8415. * Multiple targets again reduces armor defense, as reported by Tharis.
  8416. [Skotlex]
  8417. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  8418. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  8419. 2006/05/08
  8420. * Reverted the change that was making ES skills stun the caster always.
  8421. [Skotlex]
  8422. * Removed the fixpos packet which is sent whenever you are hit while moving
  8423. as Aegis doesn't sends this packet neither. [Skotlex]
  8424. * ES magic will now put the caster on stun for 0.5 secs regardless of
  8425. whether the skill-target is a mob or not. [Skotlex]
  8426. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  8427. party-member joins. This packet (as redundant info as it has) should also
  8428. contain the field for "adoptability", but that needs to be coded in yet.
  8429. [Skotlex]
  8430. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  8431. checks and the reply packets still need to be coded in. [Skotlex]
  8432. * Happy State and TK stances won't dispel on death now. [Skotlex]
  8433. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  8434. skill_check_condition now. [Skotlex]
  8435. * Modified TK-ranker infinite combos to behave as described by AuronX.
  8436. Refer to his thread in the development section for details. [Skotlex]
  8437. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  8438. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  8439. (guessed, but better than 100% for all levels) [Skotlex]
  8440. * Changed max level of NPC status effect skills to 5 [Skotlex]
  8441. * Increased max number of tries to find a random spot in maps to 1000 since
  8442. some maps have so many non-walkable tiles it's hard to find one in just 100
  8443. tries. [Skotlex]
  8444. * status_set_viewdata will remove the Wedding Option status when you set a
  8445. class that is not wedding. [Skotlex]
  8446. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  8447. * idletime will now be updated on attack-request, not on sit/standup
  8448. [Skotlex]
  8449. * Party members sitting will no longer be considered idle. [Skotlex]
  8450. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  8451. with the disguise/undisguise script commands instead). [Skotlex]
  8452. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  8453. the other skill that can show critical as well) [Skotlex]
  8454. * Corrected some fields in the standing still packet (guild emblem being
  8455. stored as a Long when it should be Short) [Skotlex]
  8456. * Modified most fields of view_data to be unsigned shorts rather than
  8457. signed ones. [Skotlex]
  8458. * On-Touch NPCs will now make you stop walking when you trigger them.
  8459. [Skotlex]
  8460. * ShadowJump/JumpKick will make you land on the target's cell now.
  8461. [Skotlex]
  8462. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  8463. 2006/05/07
  8464. * Fixed readme/changelog.html [KillerBox]
  8465. * Removed old logs. [Lupus]
  8466. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  8467. 2006/05/05
  8468. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  8469. before sending one (as it's not required to send twice).
  8470. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  8471. players and still continues execution to work). [Lance]
  8472. * Updated item_db.sql to current. [Skotlex]
  8473. * Fixed a bug in @commands, most likely the reason some people were still
  8474. getting crashes. [Skotlex]
  8475. * Fixed @commands not showing the last available commands (unless the total
  8476. amount of commands is divisible by ten) [Skotlex]
  8477. * Added a npc-script-event cache to avoid looking up event-scripts every
  8478. time they need to be executed. Events cached are all those defined in
  8479. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  8480. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  8481. the related NPCs or you'll get dangling pointer crashes. However,
  8482. @reloadscript will work fine.
  8483. - Set the etc_log to on to see a summary of npcs/events loaded for script
  8484. execution on startup.
  8485. * The Rest bonus activated by using /doridori while in rest should now
  8486. trigger with all the class tree (TK/SL/SG) [Skotlex]
  8487. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  8488. player rather than the one attacking... [Skotlex]
  8489. * /doridori now won't double the HP/SP regen of TKs, it only activates
  8490. their "happy" state. [Skotlex]
  8491. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  8492. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  8493. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  8494. (even if there's no other TK around). [Skotlex]
  8495. * Added battle config settings view_range_rate and chase_range_rate to
  8496. adjust the view-range and chase-range (range2/range3) of the mob_db without
  8497. having to manually change them (battle/monster.conf) [Skotlex]
  8498. * Kaupe now will only block all skills of players, for non-players, only
  8499. normal attacks can be missed. [Skotlex]
  8500. * Moved the Kaite spell-reflect code after the damage calculation function,
  8501. so the reflected damage is exactly the damage the original target would
  8502. have received. Will only trigger if the damage to be reflected is above 0.
  8503. [Skotlex]
  8504. * OnEquip scripts will now trigger on log-on. [Skotlex]
  8505. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  8506. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  8507. start/end infinite endure. [Skotlex]
  8508. * Fixed Kaahi's SP cost per heal. [Skotlex]
  8509. * Now when walkdelay is set to 0, characters will stop walking when hit,
  8510. but will not have any walk delay. (previously setting walk delay to 0 would
  8511. not even stop characters from walking when hit) [Skotlex]
  8512. 2006/05/04
  8513. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  8514. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  8515. * Some clean-ups in the mob_ai [Skotlex]
  8516. * Improved atcommand autoloot, now displays droprate in percents and notices
  8517. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  8518. commited by erKURITA
  8519. * Added one grace range in the mob_loot search function which should fix
  8520. mob_can_reach failing when invoked with the same distance that distance_bl
  8521. returned. [Skotlex]
  8522. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  8523. * Eska is now usable on bosses. [Skotlex]
  8524. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  8525. * clif_skill_failed will print out a debug line with the skill_id (since
  8526. the current null_po does not helps at all to fix it) [Skotlex]
  8527. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  8528. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  8529. damage accumulates in the time2 interval (500ms by default) after being
  8530. hit. [Skotlex]
  8531. * Changed skill_unit_move_unit_group to enable moving of all types of
  8532. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  8533. 2006/05/03
  8534. * Kaahi now triggers every 500ms rather than on every hit (but it only
  8535. heals if in those 500ms an attack that would previously trigger Kaahi has
  8536. taken effect). In other words, it works just like before, except damage
  8537. gets "buffered" into 500ms slots. [Skotlex]
  8538. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  8539. * Knowledge will now only trigger if you logon to the memorized map, not
  8540. walk into it. [Skotlex]
  8541. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  8542. [Skotlex]
  8543. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  8544. and not fix the pet issue, but I doubt it'll cause any problems that won't
  8545. be fixed by making the pet move. [Skotlex]
  8546. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  8547. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  8548. 2006/05/02
  8549. * Fixed standing up not really standing you up. [Skotlex]
  8550. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  8551. skill_castend_nodamage_id and skill_castend_pos2 rather than
  8552. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  8553. state is active and a ground skill was not invoked. It should fix all
  8554. issues with splash/ground skills consuming ammo per target rather than once
  8555. per skill use. [Skotlex]
  8556. * Added structure state to the ground skills, their fields are magic_power,
  8557. into_abyss and ammo_consume to indicate the states that were previously
  8558. stored in val3. [Skotlex]
  8559. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  8560. not showing up though, I'll need some logged packets to see what's missing.
  8561. [Skotlex]
  8562. * Removed the unit_can_move checks in skill cast-end, they should be
  8563. performed in skill_check_require when the skill's state is move_enabled.
  8564. [Skotlex]
  8565. * Changed extremity fist's state to move_enabled, the explosion spirits
  8566. check is now hardcoded. [Skotlex]
  8567. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  8568. Haplo. [Skotlex]
  8569. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  8570. impossible to steal unless you have at least 100% steal-rate (where steal
  8571. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  8572. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  8573. shops, interacting with npcs, etc. [Skotlex]
  8574. * Kaite now works against all types of spells. [Skotlex]
  8575. * Kaupe now works against all skills. [Skotlex]
  8576. * Sanctuary now won't damage non-enemies. [Skotlex]
  8577. * Blessing now will always give you bonus stats even if you are wearing
  8578. undead armor. [Skotlex]
  8579. * Modified how Rogue's treasure works so that you get +1% to your steal
  8580. rate rather than +0.01% to the final rate. [Skotlex]
  8581. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  8582. officials (implementation is not quite the same, but it should yield the
  8583. same effects while consuming less bandwidth). "Stacking", as it's called,
  8584. is possible now, but limited to eA's minimum timer skill interval (100ms).
  8585. [Skotlex]
  8586. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  8587. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  8588. behaves). [Skotlex]
  8589. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  8590. * SC_FUSION won't end when you die now. [Skotlex]
  8591. 2006/05/01
  8592. * Added knockback when you run into a wall during running. However
  8593. position is not being refreshed on the client yet... [Skotlex]
  8594. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  8595. * Corrected a crash when sd is null in npc_event [Skotlex]
  8596. * After testing to make sure it works properly, I'm including
  8597. new battle conf options to limit MVP drops. [Reddozen]
  8598. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  8599. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  8600. since it has a visual effect to use. [Skotlex]
  8601. * Corrected the value of OPTION_FLYING [Skotlex]
  8602. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  8603. * status_setviewdata will set your option accordingly when the previous/new
  8604. view-class is wedding or xmas suit. [Skotlex]
  8605. * Added function map_foreachinshootrange, behaves the same way as
  8606. map_foreachinrange, but it also performs a "shoot-path" check before
  8607. invoking the function. Used in the skill subtimer function if
  8608. skill_wall_check is defined. [Skotlex]
  8609. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  8610. all memo points used up. [Skotlex]
  8611. * Fixed alive_count not being reset on skill unitsetting, which leads to
  8612. some groups not being cleared once all their units expire. [Skotlex]
  8613. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  8614. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  8615. * SKA no longer blocks skills. [Skotlex]
  8616. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]