Changelog-Trunk.txt 423 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585
  1. Date Added
  2. AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
  3. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
  4. 2008/08/16
  5. * Added a mapreg txt->sql converter script to /tools, because the sql
  6. mapserver doesn't read the txt mapreg savefile anymore and people
  7. will most likely want to preserve their global variables.
  8. - script is php-based and requires the php_mysql module
  9. - script produces a series of INSERT statements, ready to be imported
  10. 2008/08/15
  11. * Split off mapreg code from script.c [ultramage]
  12. - new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c
  13. - removed MAPREGSQL from project files / makefiles
  14. - mapreg storage engine is now fully dependent on the server type
  15. - added config settings mapreg_txt and mapreg_db to inter config
  16. - added get_str() function to complement add_str()
  17. - fixed txt mapreg code allowing too long variable names
  18. * Removed gm_cant_party_max_lv. It now uses gm_cant_party_min_lv as the threshold. (bugreport:2051) [SketchyPhoenix]
  19. 2008/08/11
  20. * Fixed right-click npc unload not unloading duplicates (bugreport:2014)
  21. 2008/08/09
  22. * Fixed @noks leaking internal buffer contents (bugreport:1528)
  23. * Now Novices without lvl5 basic skill can be partied (bugreport:1131)
  24. * Fixed login printing raw passwdenc passwords to console (bugreport:826) [ultramage]
  25. - added strlib function bin2hex()
  26. - cleaned up the md5calc interface a bit
  27. 2008/08/07
  28. * Added another GM trust config for party invitations (bugreport:2004) [SketchyPhoenix]
  29. 2008/08/04
  30. * Added configs for quest table name adjustment (bugreport:1778)
  31. 2008/08/02
  32. * Player shops will not close on death anymore (bugreport:1955)
  33. 2008/08/01
  34. * Removed unused guardian hp columns from the castles table in main.sql.
  35. * Corrected incorrect use of the datetime column in the `login` table. [ultramage]
  36. * Quagmire now will affect boss monsters, but more info is required to code the debuff exceptions properly. [Brainstorm]
  37. 2008/07/31
  38. * Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus]
  39. - added sql file upgrade_svn13025_log.sql
  40. * Improved: added --enable-debug=gdb option in configure script to use gdb optimized debug mode [akrus]
  41. * Removed the mob controller system, now a customization (see topic:194375) [ultramage]
  42. * Fixed: commented out loginlog in convert engine sql tables (loginlog table is in logs database now) [akrus]
  43. 2008/07/30
  44. * Fixed TXT storage code handling storage incorrectly (bugreport:1928)
  45. * AccountDB_TXT will now correctly read inconsistent EOLs (bugreport:1934)
  46. * Removed the IRC bot system, now a customization (see topic:194306)
  47. 2008/07/29
  48. * Renamed struct 'skill' to 's_skill' to remove naming collisions.
  49. * Added defines for mercenary skill ranges.
  50. * Added a mapping of mercenary skills to the skill db (700-799 atm).
  51. * Fixed Sql object not initializing default values properly.
  52. Fixed Sql_Free producing timer deallocation errors when called
  53. without first establishing a database connection.
  54. * Corrected upgrade_svn12975_view.sql not assigning default values
  55. to the two dummy columns; please drop the view and re-run the script.
  56. 2008/07/27
  57. * Fixed md5 passwords not working
  58. * Possibly corrected a guild saving problem (bugreport:1908)
  59. * Removed some leftover code that shouldn't have been merged [ultramage]
  60. * Fixed a memory leak in mmo_auth_tosql (extra sql statement being allocated).
  61. * Added missing option 'log_db_db' to loginlog_config_read(loginlog_sql.c).
  62. * Fixed a memory leak in account_db_sql_destroy. [FlavioJS]
  63. * Changed the way GM levels are handled
  64. - removed conf/gm_account.txt
  65. - added the gm level column to the txt savefile (after 'email' column)
  66. - gm level information is now transferred along with account data
  67. * Merged the /loginmerge branch [ultramage]
  68. - the login server storage, ipban and logging systems have been abstracted
  69. and now provide a common interface; the rest has been merged into a
  70. single login server core (no more login/login_sql duplicity)
  71. - storage systems are now added via compiler options (WITH_SQL / WITH_TXT)
  72. - multiple storage engines can be compiled in at the same time,
  73. and the config option account.engine defines which one will be used.
  74. - due to MySQL autoincrement limitations, accounts with id '0' will not
  75. be supported; account IDs from this point on should start from '1'.
  76. - login_log() functions now again record IP addresses in dotted format,
  77. not as 4-byte integers (undo from r6868).
  78. - removed config options that defined column names in the login table
  79. - removed `memo` and `error message` columns from login db/savefile
  80. - moved `loginlog` table to the logs database
  81. - added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql
  82. - due to changes to the login table layout, I added an !optional! sql
  83. file (upgrade_svn12975_view.sql) that will provide a certain degree
  84. of backwards compatibility with existing software;
  85. read the instructions inside carefully!
  86. - moved third-party includes/libs to a separate directory
  87. - updated project files / makefiles
  88. 2008/07/20
  89. * Simplified the search in pop_timer_heap and added more debug info to help
  90. determine the source condition of timer errors. (bugreport:1860)
  91. * Fixed crash in skill_castend_id. (bugreport:1860) [FlavioJS]
  92. * Corrected #storagelist target typo (bugreport:1873) [SketchyPhoenix]
  93. 2008/07/16
  94. * Added a check to make sure only released timers are acquired from the free list.
  95. * Changed TIMER_MAX_INTERVAL to 1 second (was set to 1 minute by mistake). [FlavioJS]
  96. * Fixed TK_JUMPKICK, should not jump over objects and cliffs.
  97. - This also might fix them being able to jump barricades on WoESE. [Brainstorm]
  98. 2008/07/15
  99. * Updated WoE Time Explanation for Sunday. [Paradox924X]
  100. * Corrected wrong data loading order in txt storage code [ultramage]
  101. * Fixed pop_timer_heap using max heap comparisons instead of min heap comparisons
  102. and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841) [FlavioJS]
  103. 2008/07/14
  104. * Made homunculi have doubled regen rates (they regen twice as fast) defined on battle configs. [Brainstorm]
  105. * Corrected compiler warning and error made from r12952 and r12953, respectively. [SketchyPhoenix]
  106. 2008/07/13
  107. * Modified storage data loading (bugreport:1425) [ultramage]
  108. - storage is now loaded/saved along with character status
  109. - as a consequence, a lot of storage handling code was removed
  110. - there is no more locking done within storage data
  111. - mapservers no longer cache the data (solves muiltimapserver exploit)
  112. - loading storage on char select may decrease charserver performance
  113. * Added missing picklog case [Konard]
  114. 2008/07/12
  115. * Fixed a bad check on NPC_EVILLAND, actually healing players instead of doing damage. [Brainstorm]
  116. 2008/07/10
  117. * Users can't click floating npcs directly. (quick fix for bugreport:1814) [FlavioJS]
  118. 2008/07/09
  119. * Fixed SG_FUSION hp penalty (0.5% to 2%), bugreport:1805 [Brainstorm]
  120. * Added const to the return value of get_timer.
  121. * Added a maximum timer interval. Avoids server shutdowns being delayed
  122. for ~10 seconds under some circumstances on windows.
  123. * Replaced the fake timer heap (ordered array) with a binary min heap. [FlavioJS]
  124. 2008/07/07
  125. * First attempt at implementing the official walk speed system
  126. - separated speed modifiers into bonuses, penalties and other statuses
  127. - no bonuses stack, instead the maximum is taken
  128. - no penalties stack, instead the maximum is taken
  129. - Union, Riding and Pushcart are the only other statuses that stack
  130. - both bonuses and penalties are linear modifiers of the base walk speed
  131. - 'other' statuses are applied after bonuses and penalties
  132. * Changed many equations to match official walk speed system
  133. - Steel Body now sets a fixed walk speed of 200 (bypassing everything else)
  134. - Defender now caps the walk speed to a minimum of 200
  135. - Slow Grace now uses official equation for aspd/walk speed decrease
  136. - Pushcart's speed penalty is now halved
  137. - Free Cast now changes walk speed to a fixed value, bypassing bonuses and penalties
  138. - Wedding clothes now have a penalty of +100%, not +200%
  139. - rogue's Tunnel Drive and stalker's Chasewalk ignore all penalties
  140. - taekwon's Running is now 5% faster
  141. - Frenzy is now 5% faster
  142. - Gospel's offensive slowdown is now +75% instead of +33%
  143. - Quagmire now slows down by +50% instead of +100%
  144. - Gatling Fever now slows down by +100% instead of +33%
  145. - Cloaking modifier is now a bonus/penalty, depending on presence of wall
  146. - Longing for Freedom overrides the song/dance penalty (bugreport:416)
  147. - Bard/Dancer Spriit now properly affects song/dance penalty (bugreport:1019)
  148. - item-granted speedup no longer stacks with speed bonuses (topic:145019)
  149. - removed some status code that pre-calculated speed bonuses/penalties,
  150. to make calculations more localized and less messy (see song/dance code)
  151. * Removed stop/slowdown effect from Grimtooth (bugreport:1806)
  152. * Players autotrading will not be able to receive whispers (bugreport:1804) [SketchyPhoenix]
  153. 2008/07/06
  154. * Slight cleanup of item-based walk speed bonuses [ultramage]
  155. - removed bSpeed bonus code (was just disabled until now)
  156. - changed speed_rate to use base value 0% instead of 100%
  157. 2008/07/05
  158. * Moved the mob killmonster flag to a more appropriate area. (bugreport:1795) [SketchyPhoenix]
  159. 2008/07/04
  160. * Fixed AM_PHARMACY produce chances based on info gathered by flaviojs, aegis zone ep 11.2, of 20070629 [Brain/FlavioJS]
  161. * Rev. 12911 Homunculus will no longer auto-vaporize on master death. [L0ne_W0lf]
  162. - Added config option to allow for this to be turned on or off.
  163. * Added missing 'E' logs to mail system [Lupus]
  164. 2008/07/03
  165. * Removed aspd penalty from Free Cast since tests show it's not there,
  166. even though RO sites claim it is
  167. * Adjusted Free Cast code so that its walk penalty gets calculated in
  168. status_calc_speed and nowhere else [ultramage]
  169. * Fixes regarding bugreport:1727 (undead element/race skill behaviors) follow up on revisions r12820 r12821 and r12822 [Brainstorm]
  170. 2008/06/24
  171. * Rev. 12891 Increased Item group limit for new item groups. [L0ne_W0lf]
  172. 2008/06/23
  173. * Fixed: replaced TYPEs with ENGINEs in SQL files (for better compatibility, TYPE is a synonym) [akrus]
  174. 2008/06/22
  175. * Extended script command 'set' to return the variable reference (topic:190602). [FlavioJS]
  176. * Fixed a bug where the "OnMyMobDead" event wouldn't trigger if the mob was killed and never attacked. (bugreport:1725) [SketchyPhoenix]
  177. * Reworded a comment in can_copy to make more sense.
  178. * 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)
  179. 2008/06/19
  180. * Added Sirius_White's fix for sense working on emperium. (bugreport: 1679) [SketchyPhoenix]
  181. * Fixed SC_CHANGEUNDEAD behavior: Blessing and Increase AGI deals 1 damage and does not apply buffs to those inflicted by it.
  182. 2008/06/18
  183. * Added a fix for refresh properly displaying dead and sitting players. [SketchyPhoenix]
  184. * Fixed basilica behavior not knocking back monsters 2 cells should one attempt to enter the field.
  185. * Fixed cash shop not using points to make up the cash difference when purchasing an item.
  186. 2008/06/17
  187. * Forgot to commit source modification from r12833 (Updated Novice grounds.) [L0ne_W0lf]
  188. 2008/06/16
  189. * Made the socket limit not be set in cygwin, which has bogus behavior. (bugreport:1684) [FlavioJS]
  190. * Made the socket limit be set to the maximum allowed value when setting to FD_SETSIZE fails.
  191. 2008/06/14
  192. * Fixed Icewall not restoring the original cell type [ultramage]
  193. * Fixed PF_FOGWALL working on Boss monsters. [Brainstorm]
  194. 2008/06/13
  195. * Fixed Evil Land working versus undead element instead of undead race.
  196. * Fixed Grandcross and darkgrandcross, should only cause blind against undead race.
  197. Also confirmed that ME, evil land, sanctuary, grandcross/DGC and status recovery are versus element, not race.
  198. * Removed confusion effect part from AL_CURE, it doesnt work on official anymore.
  199. * Partial revert of signum crucis modification, it doesnt work against players, but work on ELEMENT undead monsters.
  200. * Corrected dc_serviceforyou bonus values based on irowiki (better have fansite info than 100% guessed info).
  201. * Fixed dc_humming only recieving half the bonus from dancing lessons.
  202. * Fixed some skills working on undead element when they were supposed to work on undead race. [Brainstorm]
  203. Skills Fixed: Cure, Signum Crusis, Blessing, Demons Bane, Divine Protection.
  204. Skills needing confirmation: Magnus Exorcismus, Evil Land, Sanctuary, Status Recovery, GrandCross, Dark GrandCross, Head Crush
  205. 2008/06/12
  206. * Added check to prevent crashing on logmes with no player attached
  207. (bugreport:1648) [ultramage]
  208. * Added support for skill names to script commands: [FlavioJS]
  209. - skill, addtoskill, guildskill, getskilllv, getgdskilllv, itemskill,
  210. petskillattack, petskillattack2, petskillsupport, skilleffect,
  211. npcskilleffect, unitskilluseid, unitskillusepos
  212. - bonus/bonus2/bonus3/bonus4/bonus5 for bonuses bAutoSpell, bSkillAtk,
  213. bSkillHeal, bAutoSpellWhenHit, bAddSkillBlow, bCastrate
  214. 2008/06/11
  215. * Added partylock/guildlock checking for @changeleader/@changegm
  216. (bugreport:72) [ultramage]
  217. 2008/06/10
  218. * Fixed double attack working with unarmed attacks, as reported by Lone Wolf. [Brainstorm]
  219. * Added experimental code to set the socket limit at runtime. [FlavioJS]
  220. 2008/06/09
  221. * Fixed SN_SHARPSHOOTING doing 100% atk less damage than it should, bugreport:1654
  222. * Fixed Active Guild skills not working when WoE is OFF, follow up on r12770, bugreport:1653 and bugreport:1637
  223. * Fixed Fire Pillar (and any future splash damage magical trap) not working on Land Protector.
  224. * Fixed reject sword having a infinite duration, bugreport:695 [Brainstorm]
  225. 2008/06/08
  226. * Implemented the two-handed staff/rod type
  227. * Corrected definition of 'delitem' and 'delitem2', which prevented the
  228. optional accountid parameter from working (bugreport:1512) [ultramage]
  229. * Fixed SA_DISPELL removing SC_CRITICALWOUND. [Brainstorm]
  230. 2008/06/07
  231. * Swapped the W_SHOTGUN and W_GATLING weapon type IDs [ultramage]
  232. * Fixed GD_EMERGENCYCALL not working inside gvg castles when WoE is off, bugreport:1637 fix by Meyraw [Brainstorm]
  233. * Kaite should not work against high-level mobs (bugreport:1623)
  234. * Fixed 'soundeffectall' not reading its params correctly [ultramage]
  235. * Fixed PF_DOUBLECASTING casting % bugreport:140
  236. * Fixed a few properties of NPC_CHANGEUNDEAD bugreport:79 [Brainstorm]
  237. 2008/06/01
  238. * Added Ai4rei's "gm can view all players' equips" feature [ultramage]
  239. 2008/05/31
  240. * Crashfix to attach/detach timers, thanks to Konard (fixed recent crashes) [Lupus]
  241. 2008/05/28
  242. * Updated Ankle Snare duration (bugreport:1438) [Playtester]
  243. - agi now has only half the effect on the duration (100 agi reduces it by 50%)
  244. - minimum duration is 5 seconds no matter what
  245. * Fixed stat values displaying incorrectly when increasing them
  246. past 255 (wraparound, ack packet only has 1 byte) [ultramage]
  247. 2008/05/26
  248. * Updating configure script: [FlavioJS]
  249. - fixed memory manager using the argument of the last enable/disable option (any option)
  250. - other minor changes
  251. * Increased the allowed packet size for chat messages [ultramage]
  252. - changed the capacity of the message column in chatlog (see sql update)
  253. 2008/05/25
  254. * Increased storage space to 600 [Playtester]
  255. 2008/05/24
  256. * Updated sql files to latest [Toms]
  257. 2008/05/16
  258. * Fixed 64bit timestamps messing up auction/storage (bugreport:1454)
  259. * Added sd state to track party creation/invitation (bugreport:1180)
  260. 2008/05/13
  261. * Fixed a mistake in r11344 that caused the 'my shop' window to display
  262. info about cards slotted in items incorrectly (bugreport:1502)
  263. 2008/05/12
  264. * Fixed a script engine problem where warping away while having a menu
  265. window open and talking to an another npc with a menu would produce
  266. menu option count mismatch errors (bugreport:1208)
  267. 2008/05/10
  268. * Fixed @showmobs not working (bugreport:1487)
  269. 2008/05/09
  270. * Added correct extended info packets for items that are being moved
  271. into storage or cart. This caused items to visually lose their
  272. properties once they have been moved from inventory (bugreport:250).
  273. The modification is mostly copypaste but it works nicely [ultramage]
  274. 2008/05/07
  275. * Corrected default guild positions not being saved during guild creation.
  276. * Did some cleanup of the splash code, the NPC_WIDE* skills now send the
  277. 'preamble' packet, which for the most part correct their skill animation
  278. display.
  279. * Fixed Sense messing up with Spiderweb.
  280. * Added Throw tomahawk to the list of items that do not trigger the
  281. equipment breaking code.
  282. * Probably fixed Moonlight petals pushing back the casters.
  283. * Infinite Endure won't be passed on to devoted characters.
  284. * Infinite Endure is no longer saved on logout.
  285. * Added check to avoid gms opening vending shops if they don't have the
  286. required level.
  287. * Fixed the flee penalty not applying when you walk into a gvg map. [Skotlex]
  288. 2008/05/03
  289. * NPC_GUIDEDATTACK is not supposed to bypass pneuma/safetywall [ultramage]
  290. 2008/05/02
  291. * Fixed missing iterator destruction in the map_foreach* functions (followup to r12684).
  292. * Added backward compatible handling of PACKETVER 8 and 9. (followup to r12539)
  293. * Changes to map_foreach* functions: [FlavioJS]
  294. - removed the unecessary use of va_copy in map_foreachpc
  295. - applied the same function pattern to map_foreachmob and map_foreachiddb
  296. - created map_foreachnpc
  297. - extended the behaviour of map_foreach* functions to stop iterating when func returns -1
  298. * Replaced the very ineffective clif_foreachclient() with map_foreachpc() since they essentially do the same thing (bugreport:1174).
  299. * Rewrote map_foreachpc() so that its callback function signature now uses a more natural 'sd' instead of a DBKey/void* pair.
  300. * Rewrote atcommand_users() to use a single function, instead of depending on two helper functions and global objects.
  301. * Added a custom implementation of the va_copy macro for systems that don't provide it.
  302. * Fixed varargs not being used correctly in foreach() calls in db.c (bugreport:551).
  303. * Replaced the integers+checking approach in r12679 with usage of floating point arithmetic.
  304. * Applied search&replace to use the new name of the function.
  305. * Implemented get_percentage() for compact and safe calculation of percentual values.
  306. * Fixed integer arithmetic overflows that were occuring in several supernovice checks (bugreport:1135). [ultramage]
  307. 2008/05/01
  308. * Updated mob_db.sql to latest [Toms]
  309. 2008/04/30
  310. * Rev. 12676 Corrected several effect descriptions. [L0ne_W0lf]
  311. 2008/04/28
  312. * Cleaned up char server set online/offline/char select functions. (r12670) [Kevin]
  313. 2008/04/27
  314. * Fixing some timestamp type difference warnings...
  315. * Removed the calc_times() no-op (bugreport:1289).
  316. * Corrected r12662 where a guild break would trigger the OnGuildBreak event for all castles (even of other guilds).
  317. * Corrected some x64 compilation warnings in ers/malloc files.
  318. * Cleaned up a case of bad variable reuse.
  319. * Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, r12662, r12663): [ultramage]
  320. - the player data inventory-itemdb index is now refreshed using pc_setinventorydata()
  321. - mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload
  322. - the clif_buylist() function once again hides invalid npc shop items
  323. - it is no longer possible to purchase nonexistent items from a npc shop
  324. - npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it
  325. 2008/04/26
  326. * Added script function hasquest. [Kevin]
  327. * Fixed OnGuildBreak. [Kevin]
  328. * Cleaned up auth system after change back to map server request.
  329. - Created function set_char_charselect to get rid of some of the "special case" variables.
  330. - Removed code that involved the char server sending auth data at char select.
  331. - Changed char select code to update the instance of the char data in the DB
  332. to fix map/sex info not being propagated to auth request. [Kevin]
  333. * Rev. 12657 Added WoE SE castles to castles.txt in save-tmpl. [L0ne_W0lf]
  334. 2008/04/25
  335. * Updated item_db.sql to latest
  336. * Fixed bugreport:1223 (Invalid Items In Shops Are Processed Incorrectly)
  337. * Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 (optional
  338. account_id parameter) bugreport:1035
  339. * Modified doc in consequence [Toms]
  340. 2008/04/23
  341. * Fixed script strings not being handled properly (only skipped the \).
  342. * Added skip_escaped_c to strlib.c/h.
  343. * Fixed sv_unescape_c not handling hex/octal escapes properly.
  344. * Script parse errors displayed with one ShowError instead of several ShowMessage's. [FlavioJS]
  345. 2008/04/22
  346. * Changed itemdb_reload to clear the database before reloading, so it is possible
  347. can remove an item from the DB without restarting the server (bugreport:1348) (r12635). [Kevin]
  348. * Fixed a "bug" in sv_readdb under windows and cygwin configured as "Unix/binary" for text
  349. files ('\r' is read and empty lines are not skipped) bugreport:1382 bugreport:1401 [Toms]
  350. 2008/04/21
  351. * Changed the data field of timers from int to intptr.
  352. * Added intptr/uintptr to cbasetypes.h (integers with the same size as a pointer). [FlavioJS]
  353. * Rev. 12631 Changed Sacrifice status to end on caster's death, not at 25% HP. [L0ne_W0lf]
  354. - Should also fix over-flow damage returning to sacrificed targets. Partially fixes bugreport:1332
  355. * Updated sql files to latest [Toms]
  356. 2008/04/19
  357. * Made some cleanup in changesex [Toms]
  358. * Fixed a bug in (init/start/stop)npctimer [Toms]
  359. 2008/04/18
  360. * Fixed a bug when unloading a npc near a shop.
  361. * Fixed npc_buylist not giving/checking the good item when it was an
  362. item_avail in the shop (the real one was added in inventory).
  363. * Implemented config setting 'vending_over_max', to let people configure
  364. the behavior of vending items over the MAX_ZENY limit [ultramage]
  365. * Fixed mapserv crash, thanks to Konard [Lupus]
  366. 2008/04/17
  367. * Modified sv_readdb to be able to process non-native line terminators (bugreport:1382) [ultramage]
  368. 2008/04/16
  369. * 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.
  370. * Merged some recent changes from SQL to TXT, as someone didn't bother to do it.
  371. * Ifdefed the quest data request code as SQL-only (this was causing server disconnects whenver someone logged in). [ultramage]
  372. 2008/04/15
  373. * Use the same code for script commands getitem & getitem2 as @item to avoid
  374. bug in bugreport:1324 (non-stackable items are stacked) [Toms]
  375. * Removed all _ in the second name in item_db.txt and updated item_db.sql [Toms]
  376. * Added a forward declaration of the struct quest instead of including mmo.h [Toms]
  377. * Corrected some invalid syntax in skill_db.txt (wrong usage of commas)
  378. * Renamed BA_FROSTJOKE to BA_FROSTJOKER (aegis server-side name)
  379. * Implemented a generic framework for parsing delimited db files
  380. - allows specifying min/max column ranges and max number of rows to read
  381. * Cleaned up pc.c a bit [ultramage]
  382. * Updated item_db.sql to latest [Toms]
  383. 2008/04/14
  384. * Fixed a possible crash in char_sql. (since r12575, later modified in r12590). [FlavioJS]
  385. * Fixed a memory leak in mapif_quests_fromsql [Toms]
  386. * Fixed a typo in char_sql/char.c [Toms]
  387. * Fixed a bug in the disconnection part char-server (not sending you offline) [Toms]
  388. * Changes to the configure script: [FlavioJS]
  389. - added options --with-MYSQL_CFLAGS and --with-MYSQL_LIBS to allow manual setting of those variables
  390. 2008/04/13
  391. * More major updates to the quest log system. [Kevin]
  392. * Followup to r12579 (all other players appeared as female on sql branch). [FlavioJS]
  393. * Some major updates to the quest system, beginning to move it
  394. over to the inter server instead of char server. (r12581) [Kevin]
  395. * Added an include in clif.h to avoid a complaint of gcc [Toms]
  396. * Quick&dirty reversal of the inter-server behaviour introduced in r3255/r3256:
  397. - the behaviour enabled a desynch between the char-server and the map-server
  398. - now the map-server asks the char-server to authenticate the auth info
  399. (the char-server doesn't send the auth info immediatelly)
  400. * Changes to the configure script: [FlavioJS]
  401. - clarified how --with-zlib is used
  402. - added --enable-packetver to set the PACKETVER define (used often enough
  403. to get it's own option, but unnecessary since it can be set with CFLAGS)
  404. - added -g compiler option to --enable-debug
  405. * Changed LOG_ALL definition to really log everything [Toms]
  406. 2008/04/12
  407. * Login will no longer set character offline when going from map
  408. to character select. (r12575) [Kevin]
  409. 2008/04/11
  410. * The max_account_id packetver detection mechanism will never cause any connection problems ever again. (bugreport:388)
  411. * Reverted the `login` table changes from r12464 [ultramage]
  412. * Finished most of the quest log code, still bits here and there
  413. but it's ready for testing. (r12558) [Kevin]
  414. 2008/04/10
  415. * More quest log code. [Kevin]
  416. * Client not marked online until map receives auth request from the client
  417. - and is approved. Also added some online/offline sets to the auth system
  418. - that were being skipped.(r12552) [Kevin]
  419. * Modified the charservers to use a DBMap instead of a cyclic array for auth data.
  420. * Merged the auth fix from r12473 to TXT as well.
  421. * Removed the no-op from r12547. [ultramage]
  422. * Rev. 12550 Reverted the change to MAX_SQUARE_LAYOUT. [L0ne_W0lf]
  423. * Rev. 12548 Updated NPC skill "Evil Land". More gravity wtfage. [L0ne_W0lf]
  424. - Based on visual observation, and experience with it on iRO Sakray.
  425. 2008/04/09
  426. * Clif functions and basic data structures for questlog system. (r12544) [Kevin]
  427. 2008/04/08
  428. * Fixed party invitation ack messages not displaying (bugreport:1308)
  429. * Modified PACKETVER for recent clients to use a YYYYMMDD date format
  430. instead of a simple sequence number (allows adding versions inbetween)
  431. * Small party/guild creation cleanup. Added packet comments. Removed fake reply packet usage. [ultramage]
  432. 2008/04/07
  433. * Rev. 12529 Updated MAX_GUARDIANS to support an insane amount of guardians. [L0ne_W0lf]
  434. * Immunity to magic now makes you immune to the SC effect as well. (r12527) [Kevin]
  435. * Made script command 'flagemblem' and guild_emblem_change send an update
  436. of the emblem_id to the players in the area.
  437. - known bug: ui components that are displaying the emblem at the time
  438. (emblem in flag npc and emblem over head in gvg maps) are not updated,
  439. but putting the mouse over the target shows the new emblem
  440. * Modified script command 'guardian':
  441. - returns the id of the guardian
  442. - if guardian index isn't supplied, it generates a temporary guardian
  443. * Implemented support for temporary guardians (not saved with castle).
  444. * Added missing includes from r12520. [FlavioJS]
  445. * Party/guild names can no longer be less then 2 characters long. (r12521) [Kevin]
  446. * Removed the 'wait close' timer that closed a session's socket after 5 seconds.
  447. This was causing random disconnects when logging in. (bugreport:1330)
  448. * Improved the Mental Sensing fix from r12507 to not start the status at all, instead of starting it and ignoring it later on. [ultramage]
  449. 2008/04/06
  450. * Fixed a case where a dangling pointer was formed when a person was
  451. - invited to a party immediately after creating their own. (r12518) [Kevin]
  452. * Sight rasher now affects the wizard's own and other's icewalls. (r12516) [Kevin]
  453. * Sight rasher, sight blaster, and arrow shower are now the only
  454. - three skills that will affect traps. (r12516) [Kevin]
  455. * NPC earthquake now divides the atk2 bonus between players. (r12514) [Kevin]
  456. * Changed guild skills restore, regen, and battle order to only affect BL_PC. (r12513) [Kevin]
  457. * Reverted one of the changes in dynamic mobs that may
  458. - be causing the spawning problems. (r12512) [Kevin]
  459. * Equip speed buffs no longer stack with speed consumables. (r12509) [Kevin]
  460. - (Speed potion not included).
  461. * Sprint, Fusion, and Increase AGI now stack independently.
  462. - The others still don't take affect if you have any of these three. (r12508) [Kevin]
  463. * Mental Sensing no longer gives an xp bonus on bosses. (r12507) [Kevin]
  464. * Changed Union/Increase AGI stack fix (it should work now). (r12506) [Kevin]
  465. * Fixed seven wind not allowing ghost/shadow. (r12505) [Kevin]
  466. * Added Moscovia to the list of @go destinations [Toms]
  467. 2008/04/05
  468. * Unequip should no longer remove any buff from seven wind. (r12503) [Kevin]
  469. * Union and Increase AGI now stack. (r12502) [Kevin]
  470. * Union now consumes sp when not soul linked. (r12499) [Kevin]
  471. * Running into a wall/npc/pc/mob no longer enables spurt. (r12498) [Kevin]
  472. * Fixed unable to move after using a skill to break out of sprint. (r12497) [Kevin]
  473. * DMG no longer stops running. (r12488) [Kevin]
  474. 2008/04/04
  475. * PCs/Mobs/NPCs now block Leap(TK_HIGHJUMP) and sprint(TK_RUN). (r12485) [Kevin]
  476. * Disconnect user when receive select egg packet with no menu open. (r12484) [Kevin]
  477. * Fixed @rura between maps on more then one map server. (r12483) [Kevin]
  478. * Update to Auth Glitch fix: moved unit_free_pc back to where it was
  479. - and updated it so unit_free_pc just tells the script to end
  480. - (not hard delete). (r12481) [Kevin]
  481. * Updated mob_db.sql to latest.
  482. * Fixed a little bug in Kevin's commit (r12473) [Toms]
  483. * Bug fixes for Auth Glitch and Map server crash through script warp when
  484. - changing map servers.
  485. * When char receives the request to go back to char selection it sets
  486. - the character as "at char select" in the online_char_db, and
  487. - set_char_offline now deletes the entry in the online_char_db unless
  488. - the user is at the character screen (to prevent unecessary callocs/frees.
  489. * Script warp was just a simple misplacement of a free statement, freeing the
  490. - users session data before the scripting subsystem was finished with it. [Kevin]
  491. 2008/04/03
  492. * More login server work
  493. - Renamed 'connect_until_time' to 'expiration_time'
  494. - Renamed 'ban_until_time' to 'unban_time'
  495. - this also applies to login table columns (see upgrade_svn12464.sql)
  496. 2008/04/02
  497. * Rev. 12462 Updated MAX_GUILDCASTLE to support new castles. [L0ne_W0lf]
  498. * Added SV_KEEP_TERMINATOR option to not split the line terminator.
  499. * Added sv_split to strlib.c/h (similar to sv_parse). [FlavioJS]
  500. 2008/03/31
  501. * Fixed ACIDDEMO crash, thanks to Kaato&Konard [Lupus]
  502. * Added latest version of dbghelp.dll (from microsoft debugger package), to prevent Windows from loading other, outdated versions.
  503. This caused the dbghelpplug plugin to omit information about structures when producing a backtrace. [ultramage]
  504. 2008/03/30
  505. * yet more login server stuff
  506. - jA data structure compatibility renaming / adjustments
  507. - mmo_account -> login_session_data, auth_data -> mmo_account
  508. - made gender variable usage consistent for the entire login server
  509. - rewrote TXT's new account creation procedure to match SQL's
  510. 2008/03/28
  511. * Some more txt/sql login server synchronization [ultramage]
  512. - removed the option to specify multiple IPs/subnets for 'ladminallowip'
  513. - removed the @gm command and all associated management code
  514. - removed the 'save unknown packets' code
  515. - removed the lengthy TXT ipban code (which was essentially a copy of
  516. what's already handled by the socket layer/packet_athena.conf)
  517. - implemented 'start_limited_time' in SQL (expiration for new accounts)
  518. - applied some missing TXT changes from the last update
  519. 2008/03/27
  520. * Updated SQL Files (item & mobs) [Toms]
  521. * Partial rewrite of the login server's auth system.
  522. - replaced the cyclic, size-limited auth_fifo data structure with the
  523. more appropriate DBMap-based alternative (stops some erratic behavior)
  524. - added code to simulate the pseudo-status "online on login server"
  525. - auth data will now expire after 30 seconds instead of persisting
  526. - better-than-aegis handling of login cancellation (the server will wipe
  527. all previous auth data instead of making you wait for it to expire)
  528. - proper status message - no more generic "rejected from server", now
  529. you'll get "the server still recognizes your last connection"
  530. - fixed a typo in r10110 which caused disconnect timer removal to fail
  531. - split off some parsing code to login_auth_ok() and login_auth_failed()
  532. - extended the auth confirmation packet so that the login_id1/2 values
  533. are sent along with the associated account id (stops charserver from
  534. making wrong choices if two incoming sessions have the same acc_id)
  535. - fixed a bug in the disconnect part of the main charserver parsing
  536. loop, where a non-authed client would erase the online db entry for
  537. a client that's already online, thus bypassing any dual-login checks
  538. - added code to stop the waiting_disconnect timer when the associated
  539. online entry is removed right away, instead of doing checks later
  540. - removed code that would periodically wipe the online status of clients
  541. that are in the auth process (producing yet more erratic behavior)
  542. - commented out some TXT-only reconnect prevention code (bugreport:1281)
  543. * merged the charserver acc modification code cleanup to TXT (r11324)
  544. * changed trunk's default server->client PACKETVER to 9
  545. 2008/03/26
  546. * Adjusted eAthena code to compile cleanly in C++ mode.
  547. 2008/03/25
  548. * Added proper checks to adoption processing (followup to r12428).
  549. * Cleaned up some code / fixed some typos. [ultramage]
  550. 2008/03/24
  551. * Reorganized the contents of the mapserver's header files.
  552. - map.h is no longer a generic dumping spot of all the shared structs,
  553. and instead, each such structure now resides in its logical component
  554. - map.h now only holds mostly map-related things (needs more cleaning)
  555. * Fixed a problem in the new trade window implementation (from r11830) where no trade acknowledgement messages would get sent (bugreport:1217). [ultramage]
  556. 2008/03/22
  557. * Cart Termination now bypasses Parrying and Energy Coat (bugreport:476).
  558. * Mobs with no respawn information which don't have a master will not get unloaded by the dynamic mobs system.
  559. This prevents script-spawned mobs (bio MVPs, Emperium/Guardians, ...) and dead-branched mobs from disappearing (bugreport:1246).
  560. * Added a missing null-pointer check to the timed player pvp/gvg respawn function (mistake in r12232) [ultramage]
  561. 2008/03/21
  562. * Added VS9 project files. Thanks to Konard [Lupus]
  563. - removed redundant map_getallusers() function
  564. 2008/03/19
  565. * Changed the dynamic mobs system to also unload mobs that have respawn
  566. time but are already spawned - 22M less mem usage (bugreport:1197)
  567. - also added a check to not respawn mobs on maps with no players
  568. (potentially unsafe operation, needs further inspection)
  569. 2008/03/18
  570. * Fixed invited party members not displaying correctly (bugreport:1199)
  571. * Fixed OnPCLoginEvent not working correctly (bugreport:1182) [ultramage]
  572. * Added missing WorkingDirectory value to vcproj-7.1, vcproj-8 projects.
  573. Now you can flawlessly run your compiled server with RUN button in
  574. the correct directory. Thanks to Konard [Lupus]
  575. - Reverted changes from the project files, due to incompatibility [Lupus]
  576. 2008/03/14
  577. * Fixed spawned mob count not being counted properly, causing yet more respawn problems.
  578. * 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)
  579. * removed a strange (and undocumented) event name check for "GM_MONSTER" in the npc event execution code
  580. * added effects from recent sakexes to effects list
  581. * removed ladmin from vs8 sql builds
  582. * added int_auction.c/.h to vs6 and vs7 project files
  583. * some small cleanups
  584. * Fixed one condition incorrectly modified in r12358, which caused dynamically unloaded mobs to never spawn once they've been unloaded once (bugreport:1178) [ultramage]
  585. 2008/03/13
  586. * Replaced some foreach-based functions by their inlined iterator equivalents.
  587. * 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.
  588. * Cleaned up related parts of the source code.
  589. * Fixed one forgotten mob spawning function call causing mobs to duplicate when respawning (followup to r12350) (bugreport:1173) [ultramage]
  590. 2008/03/12
  591. * Removed one mob data variable related to dynamic mobs that I found to be redundant.
  592. * Changed MAX_MOBSKILL (max. amount of different skill entries per mob) from 50 to 40 to reduce memory consumption a bit more. [ultramage]
  593. 2008/03/11
  594. * Replaced one incorrect nullpo check in chat_deletenpcchat().
  595. * Replaced clif_countusers() with a more efficient alternative (thanks to the fact that pc_db now only holds fully authed players only). [ultramage]
  596. 2008/03/10
  597. * Added missing check to only allow the leader of a party to modify
  598. its exp share settings (bugreport:12) [ultramage]
  599. 2008/03/09
  600. * Modified attack_walk_delay so it behaves on a 'per-object' basis, and
  601. changed the default to 15 (all types).
  602. * Modified battle_delay_damage so damage is not delayed more than one
  603. second for non-player attacks.
  604. * Modified party_member_added with a hack so that the clif functions will
  605. send the info of the new member since party_recv_info has not yet arrived.
  606. * Updated clif_calc_delay so the type sent to the client is based on the
  607. number of hits of the skill (as Aegis packets reveal) [Skotlex]
  608. * Cleaned up and corrected some more land skill code [ultramage]
  609. - removed redundant skill_ganbatein() function
  610. - Added flag UF_PATHCHECK from jAthena which affects whether a skill's
  611. cells will be affected by the surrounding terrain. Adjusted existing
  612. flags so that they closely match jA's (for easier comparisons).
  613. - Fixed code that allowed placing of skill unit cells on 'gaps'.
  614. - Fixed code that prevented successful casting of land skills on 'gaps'
  615. (officially it's possible, even though they will not deploy entirely).
  616. 2008/03/07
  617. * Script induced status changes can now be reduced by stats/cards (but
  618. only trigger rate is reduced, not duration).
  619. * Battle delay timers will now check if the target player has the
  620. invincible timer active or not.
  621. * Adjusted clif_damage and clif_skill_damage to set the endure type value
  622. based on dmotion and damage, rather than hardchecking for SC_ENDURE.
  623. 2008/03/06
  624. * Fixed song/dance cells to appear even on top of walls and pits.
  625. * Fixed non-chatroom owners being able to kick others from the chatroom.
  626. [Skotlex]
  627. * Fixed a crash when a homun kills a mvp and the char that did
  628. the most damage is unable to carry the mvp reward (bugreport:1114)
  629. 2008/03/05
  630. * Added code to clear the Illusionary Shadow effect (followup to r12293)
  631. * Added some trim() calls into mapflag code (followup to r12238)
  632. * Fixed mvp exp reward packet not working right for big values
  633. * Added dbghelpplug plugin entry to the plugins configuration file
  634. * Added conf setting for auction table name (see r12287) [ultramage]
  635. * Implemented Firepillar's 'target cannot move for 0.2 sec x hit' property.
  636. * Corrected Earthquake so it behaves as explained in the development topics.
  637. * Added a missing line to actually unequip unallowed compounded cards when
  638. changing maps.
  639. 2008/03/04
  640. * Updated the firepillar code so it behaves like the other traps.
  641. * Additional status changes now only get triggered if the attack did
  642. damage, not if they get absorbed.
  643. * Properly set the opt3 value for Moonlight, Changeundead and Soul Link.
  644. * Fixed the "no equip" flag of cards not being properly applied when
  645. attemting to equip items.
  646. * Some corections to the new auth db system. [Skotlex]
  647. 2008/03/02
  648. * New optimizations for mail system and adjust to use it on Auctions. [Zephyrus]
  649. - Added a Sql patch to clear all deleted mails. (There is no need to keep that data)
  650. - Added more code for Auctions. Not implemented but just for study.
  651. 2008/02/29
  652. * Rev. 12268 Added documentation for Cash shop NPC heading. [L0ne_W0lf]
  653. 2008/02/28
  654. * Added cash shop support [Zephyrus]
  655. 2008/02/27
  656. * Fixed 'cleararray' not able to erase array entry 127 (bugreport:864)
  657. * Fixed @reloadmobdb producing memory leaks in pet db (bugreport:1030)
  658. * Patched an unresolved case where knocking back a bard/dancer would
  659. cause the mapserver to crash (bugreport:1043)
  660. * Fixed Apple of Idun not checking for bard soul link (bugreport:1028)
  661. * Fixed Advanced Adrenaline Rush not working barehanded (bugreport:1049)
  662. * Disabled idle_no_autoloot setting (bugreport:1051)
  663. * Removed NODAMAGE and ICEWALL cell types (mem usage back to normal)
  664. - Icewall now uses basic cell type 5 (nonwalkable, shootable)
  665. - as a consequence, you can now warp to a nonwalkable cell - but only
  666. via gm command or scripted warp bug (hopefully :)
  667. * Added missing option changes for Illusionary Shadow and Soul Link
  668. that disappeared when you left the screen (bugreport:1053)
  669. * Added support for the "view player equip" feature (see topic:174461)
  670. 2008/02/26
  671. * Added new settings for Autotrade. [Zephyrus]
  672. 2008/02/23
  673. * Now the server will print an error message if an invalid mapflag is
  674. found during script loading (see bugreport:980 for the motivation)
  675. - removed one extra space that broke jail's noreturn mapflag loading
  676. 2008/02/22
  677. * Removed code in socket.c that tries to avoid send buffer overloading,
  678. as there is a scenario (many players and charserver disconnect) where
  679. mass char saving produces huge ammounts of data to send (see r11503)
  680. * Cleaned up player respawning code (bugreport:1022)
  681. * Increased the max amount of different autocast skills from 5 to 10
  682. * Fixed @whomap not unlocking the player db (bug in r12204) [ultramage]
  683. * Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs
  684. directly to all sub make files. How to use:
  685. make CUSTOM_CFLAGS='-DSOME_DEF' sql [Lupus]
  686. * Fixed 2 problems in r12223 - incorrect variable used (bugreport:1031) and a missing global function declaration. [ultramage]
  687. 2008/02/21
  688. * Added status_calc_life to properly calculate hp/max_hp as a ratio taking
  689. into accounts overflows (and for now also avoids divisions by 0). Applied
  690. this function around clif.c, mob.c and pet.c
  691. * Implemented the correct walk-speed bonus from the Bard/Dancer spirit.
  692. * Fixed logarithmic drops turning 0% drop rates into 100%.
  693. * Restructured the login mechanism of the map-server. The goal was to make
  694. sure players are not found in the different dbs of the map while the
  695. player has not yet been fully authed or while it is quitting, to avoid the
  696. rest of the code from accessing and modifying it. It is a rather extensive
  697. change, and I only had time to test the basic functionality, so if use with
  698. care and report any bugs found.
  699. * Replaced player states auth, waiting_disconnect, finalsave with active,
  700. and removed states party_sent/guild_sent.
  701. * Removed several of the old login methods/constants/player states which
  702. are no longer needed due to this cleanup. [Skotlex]
  703. 2008/02/19
  704. * Rev. 12219 Fixed a typo in /map/clif.c (acount_id -> account_id) [L0ne_W0lf]
  705. * Forgotten update to the definition of script command 'input'.
  706. * Enabled DEBUG_MEMMGR only in DEBUG mode.
  707. * Made autotrading characters be kicked instead of reporting double login.
  708. * Made create_session initialize session_data to NULL.
  709. * Fixed db_obj_get not handling deleted nodes correctly. (bugreport:999) [FlavioJS]
  710. 2008/02/17
  711. * corrected login_fd/char_fd being uninitialized in the char servers.
  712. * Added a check to prevent using consume-delay items when you cannot use
  713. skills, since that opens an exploit if the item also has non-skill-casting
  714. components to its script. [Skotlex]
  715. 2008/02/14
  716. * Removed/replaced all calls to map_getallusers (followup to r12195)
  717. * Trashed @whozeny (from r269) [ultramage]
  718. * Added some changes to @noks. Now it uses a SC and not vars in mob_data [Zephyrus]
  719. - Added support to Self|Party|Guild to @noks (default is Party)
  720. 2008/02/13
  721. * Changes to memory manager: [FlavioJS]
  722. - fixed blocks that are fully used not being detected (and not freed) in
  723. memmgr_final (unfill_prev is NULL for unused blocks and full blocks)
  724. - fixed memmgr_final giving the wrong address to _mfree (for small blocks)
  725. - added the pointer address to most error messages (and log)
  726. - made it append to the log file instead of rewriting it
  727. - implemented a function to verify if a memory location is active
  728. - other minor changes
  729. * Merged memory manager updates from old jA revisions (bugreport:663) [ultramage]
  730. - less overhead and better overflow detection (caution, experimental!)
  731. * Added some security checks in mail system [Zephyrus]
  732. - This supose to fix a bug reported in 622 to limit to MAX_ZENY.
  733. - Also add more checks to free space in your inventory to receive items.
  734. * Added some new config settings: [Zephyrus]
  735. - homunculus_autoloot, idle_no_autoloot, max_guild_alliance.
  736. - Added a code to activate a Kill Steal protection and the required mapflags.
  737. 2008/02/11
  738. * 'Forget me Not' no longer blocks ASPD bonuses from working or prevents
  739. their re-casting, they are simply dispelled when the effect takes place.
  740. * Fixed a possible crash when a player logs out before their create-party
  741. request is accepted. [Skotlex]
  742. * Expanded the script command 'input': (bugreport:811) [FlavioJS]
  743. - two new optional arguments 'min' and 'max'
  744. - return value indicating if it's in the correct range
  745. - config variables for the default value of the arguments:
  746. 'input_min_value' and 'input_max_value' in script_athena.conf
  747. 2008/02/10
  748. * Added two missing opt2 values, for Angelus and Bleeding status
  749. * Fixed Warp Portal code sometimes producing errors/crashes in the case
  750. where a priest enters his/her own warp (bugreport:270)
  751. 2008/02/08
  752. * Fixed wrong message in item group loading code (bugreport:936)
  753. * Fixed 'charisalpha' not working for the first char (bugreport:940)
  754. * Disabled signed/unsigned warnings for visual studio 2005 [ultramage]
  755. 2008/02/07
  756. * Fixed the disguise commands using the wrong variable when attempting to
  757. disguise as an npc.
  758. * Corrected and optimized npc_remove_map's npc array cleanup (Fixes
  759. @reloadscripts reporting 'too many npcs per map' and related dangling
  760. pointer crashes).
  761. * HP loss item scripts can no longer kill you.
  762. * Corrected the item-drop-rate check to avoid duplicate entries in
  763. @whodrops after a @reloadmobdb. [Skotlex]
  764. 2008/02/04
  765. * Some code cleanups. [Zephyrus]
  766. - Added new Cell types (NoChat and NoDamage)
  767. - Added JobChangeLevel and FreeSKPoints to #stats
  768. - Added a Crash protection in clif_send with invalid fd values.
  769. - Merged a missing update in TK Mission.
  770. - Added script command 'getmapflag'
  771. 2008/02/03
  772. * Fixes to Devotion (see topic:153345) [ultramage]
  773. - removed totally fake Devotion packet from Marionette Control code
  774. - fixed one devoted chars array management code bug which caused chars
  775. to be included in the array multiple times, producing various problems
  776. - the link will now re-display when coming into view range
  777. - the link will no longer break if the devotee walks away, but instead,
  778. if he receives damage while being out of range of Devotion
  779. * Added an iterator to map.h/c. [FlavioJS]
  780. Will be used instead of map_getallusers, which has problems with
  781. dangling pointers (returned array isn't updated).
  782. 2008/02/01
  783. * Fixed sql charserver crashing sometimes (bugreport:870) [ultramage]
  784. 2008/01/29
  785. * Plagiarize can no longer copy skill levels beyond their max skill_db
  786. value.
  787. * Modified pc_dead so that the src is passed on to the master when it is a
  788. pet or homunculus. [Skotlex]
  789. 2008/01/26
  790. * Small update to the dgbhelpplug plugin: [FlavioJS]
  791. - fixed only half of wide character strings being printed
  792. - fixed the memory validity check in Dhp__PrintDataValue being optimized
  793. out in release mode
  794. 2008/01/25
  795. * Updated conversion tools for mob_db & item_db
  796. * Updated SQL Files (item & mobs) [Toms]
  797. 2008/01/21
  798. * Fixed battle config loading not applying the side-effects of
  799. battle_adjust_conf() side-effect if an import: operation fails.
  800. This is what caused the odd slowdown reported in bugreport:260.
  801. 2008/01/20
  802. * Fixed item searches not working on exact "jname" matches.
  803. * Fixed hom_setting&0x2 conflicting with the 'view-range' limit check.
  804. * Merged the SA_MONOCELL and SA_CLASSCHANGE code. After changing class all
  805. the status changes that cannot be triggered on bosses are dispelled.
  806. * SA_CLASSCHANGE now uses the bloody branch list to pick a target MVP
  807. class. [Skotlex]
  808. 2008/01/19
  809. * Added plugin dbghelpplug to generate more extensive crash reports in windows. [FlavioJS]
  810. - see header of src/plugins/dbghelpplug.c to know it's capabilities
  811. - VS8 project file supplied at vcproj-8/dbghelpplug.vcproj
  812. - a dll compiled in release mode is supplied at plugins/dbghelpplug.dll
  813. 2008/01/17
  814. * Made battle_check_range fail whenever the distance between src/target is
  815. greater than the viewing range. [Skotlex]
  816. * Icewalls can no longer be knocked back (see bugreport:38)
  817. 2008/01/15
  818. * Manner system fixing [ultramage]
  819. - better-than-aegis 'red bubble' packet updates; now it shows correctly
  820. - added support for /rc, which is basically mute for 60 minutes
  821. - fixed typo in r12076 making gm-mute start on the gm instead of target
  822. - fixed @mute not ending the status properly when using negative values
  823. - adde missing clif_manner_message(), sends info about manner updates
  824. 2008/01/14
  825. * Fixed missing mob_spawn call, which was making CR_CULTIVATION not
  826. actually spawn the plant. [Skotlex]
  827. * Client packet corrections
  828. - 0x01df is not 'gmreqnochatcount', but for requesting a player's
  829. account name via right-click menu (which currently can't be done)
  830. - added /remove and /recall, aliases to /shift and /summon
  831. - added /changemaptype, which alters a single cell's gat type
  832. - gm kick will no longer exit the client (now it goes to the login screen)
  833. - removed the quicksort invocation in /ignore code
  834. * Fixed card removal script functions' 'extra card' bug (bugreport:786)
  835. * Removed the hardcoded limit for numeric npc input boxes (bugreport:811)
  836. * Applied a temp patch to make some npc-executed atcommands work again
  837. * Added support for right-click-gm-menu kicking NPC objects [ultramage]
  838. * Fixed dangling pointer crashes when bleeding or Deadly poison kills a
  839. spawn-once monster.
  840. * Fixed a possible ERS entry corruption when Deadly Poison kills a target
  841. that has kaizel active.
  842. 2008/01/13
  843. * Fixed a possible ers_entry corruption if you die from bleeding while
  844. under the effects of kaizel.
  845. * Updated Safety wall so it does not blocks melee magic. [Skotlex]
  846. 2008/01/12
  847. * Another possible fix to ers/status_change crashing.
  848. - same logic as r12058 but in status_change_timer.
  849. - look out for this error: "[Error]: status_change_timer: Unexpected NULL status change id: ### data: ###"
  850. getting it means that a crash was avoided and the culprit found.
  851. * Modified npc_parsesrcfile to read the file as binary and let sv_parse handle LF/CRLF line endings.
  852. * Possible fix to ers/status_change crashing. [FlavioJS]
  853. - this patch is untested. Didn't find anyone willing to test it and I can't
  854. reproduce the crash so can't test the patch.
  855. symptom:
  856. status_change_entry.timer is being modified after the entry is freed.
  857. ers uses that memory location as a pointer when the entry is freed,
  858. it crashes when accessing the contents when it points to an invalid location.
  859. assumption:
  860. status_change_start starts an already existing status.
  861. as a consequence of something called inside status_change_start the status is ended.
  862. when the sce is finally being modified, it's modifying a freed entry.
  863. 2008/01/11
  864. * Implemented the extra damage bonus to TK_JUMPKICK when it is used while
  865. running (however what the bonus's equation is has been lost to time, so
  866. someone else correct it).
  867. * Corrected CR_CULTIVATION to cause summoned plants to expire after 5
  868. minutes.
  869. 2008/01/10
  870. * Fixed getmonsterinfo to return "null" when returning the name of a
  871. non-existing mob instead of -1.
  872. * Corrected CR_CULTIVATION to fail when the target cell has some BL_CHAR on
  873. it already.
  874. * Script command percentheal will no longer kill the player if the
  875. specified amount is negative (and not -100).
  876. * Fixed Abracadabra unable to cast non-targeted skills (bugreport:186)
  877. * Another round of login server cleaning [ultramage]
  878. - fixed passwordencrypt on SQL not behaving correctly (since r10753)
  879. - corrected some column lengths in the login db (username, password,...)
  880. - fixed some places which used wfifo without first reallocating it
  881. - removed interserver packet 0x7532 (Request to end connection), as
  882. there was no code that actually sent this packet
  883. - moved RFIFOSKIP actions to execute as soon as possible
  884. * Corrected @slaveclone/@clone behaving as @evilclone when you change the @
  885. symbol.
  886. * Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they
  887. were card granted bonuses.
  888. * fixed a SA_DISPELL crash when casted on an object with no status changes.
  889. 2008/01/09
  890. * Script command warpportal now places a warp in its initial state (as if a
  891. real warp portal was casted).
  892. * Updated dispell to also not remove the following effects: Hindsight, Inc
  893. Hit/Atk Rate (NPC_POWERUP), Nen, TK stances and tumble, warm and speedup1
  894. (the other speed potion).
  895. * Chase-walking characters can now loot.
  896. * Hiding characters can't drop items now. [Skotlex]
  897. 2008/01/08
  898. * Added missing session auth checks to charserver. [ultramage]
  899. Packets from non-authed clients will now be discarded.
  900. * Fixed Wand of Hermod not starting the SC_HERMOD status change (which
  901. blocks spells)
  902. * Fixed additional def/mdef from vit/int bonuses being lost when a status
  903. change that affects def/mdef triggers (for homunculus) [Skotlex]
  904. * Added missing code to log main chat messages sent by whispering
  905. to main_chat_nick (bugreport:424) [ultramage]
  906. 2008/01/07
  907. * Small change to potion pitcher to allow potion healing rate item effects
  908. to be included in potion pitcher's heal rate. [Reddozen]
  909. * Changed the code in status_change_timer so that a null pointer no longer
  910. causes a crash but prints an error instead.
  911. * Corrected clones not copying over a player's skills properly. [Skotlex]
  912. 2008/01/06
  913. * Extended the id range for npcs, now [400,700) will also be treated
  914. as NPC objects (see topic:170845 and bugreport:727) [ultramage]
  915. * Fixed a visual itemdupple bug on mail system. [Zephyrus]
  916. - Fixed Overthrush status cannot being recalled at same skill lvl.
  917. 2008/01/04
  918. * Fixed a mistake in r11991 that let knockback work through walls
  919. * Modified the map_setcell() code to to use a boolean flag instead of
  920. needing SET_ / CLR_ pairs of defines (topic:174323) [ultramage].
  921. Also removed script object 'setcell', added script function 'setcell'
  922. - Now you can manipulate cell information without needing @loadnpc
  923. - You can also manipulate the terrain ('gat') type itself, using the
  924. new cell_walkable, cell_shootable and cell_water constants
  925. (currently the implementation uses bit flags too, so to get the type
  926. you want, you need to adjust the flags one by one)
  927. - This breaks current scripts, so please adjust places that use setcell
  928. (also be sure to _only_ use predefined constants, not direct numbers)
  929. - Details can be found in the script reference.
  930. * Fixed Music Lesson's effect on Assassin Cross of Sunset.
  931. * Fixed a possible crash in status_change_timer when debug mode is
  932. disabled. [Skotlex]
  933. 2008/01/03
  934. * Changes to reduce the number of map cell types
  935. - Pneuma now again works via status change (see r3969)
  936. - removed unused CELL_SAFETYWALL
  937. - removed custom CELL_REGEN, it just increased regen rate (r1192, r1518)
  938. * Fixed npc unloading not clearing NPC touch cells (bugreport:595)
  939. * Map cell mechanism rewrite (bugreport:426)
  940. - defined a data structure for map cells (replaces 3 various cell arrays)
  941. - both terrain (gat) and dynamic (cell) information is now stored as
  942. C-style bit flags instead of #defines and bitmasks
  943. - added map_gat2cell() and map_cell2gat() for terrain type conversions
  944. - changing terrain information via 'setcell' is temporarily disabled
  945. - mapserver startup now takes longer, as it needs to adapt mapcache data
  946. to internal representation, cell by cell (new mapcache format anyone?)
  947. * Moved extra junk from map_addblock/map_delblock to where it logically
  948. belongs (loadendack/unit_remove_map), removed flags and _sub macros
  949. * Removed map_data's block_count, as (quote Yor/ja2160),
  950. "Perhaps useful for debug, but uses memory AND CPU for nothing."
  951. (block lists are linked lists, they don't need count tracking) [ultramage]
  952. 2007/12/31
  953. * Fixed a crash in txt char-servers that the memory manager was hiding.
  954. online_char_db being used after being destroyed (since r4026)
  955. * Added code to reject double logins in clif_parse_WantToConnection and
  956. added debug messages to detect possible double logins that escaped.
  957. * Isolated accounts that are waiting for the quit ack. The rest of the
  958. game logic no longer has access to them though the id2sd/charid2sd dbs.
  959. 2007/12/30
  960. * Fixed get_val2 not using the stack, which automatically frees the data,
  961. causing memory leaks for string variables since r11976.
  962. (bugreport:723 , part of bugreport:714 and part of bugreport:708)
  963. * Trully fixed the previous commits. (missing cast and incomplete size)
  964. * Made the memory manager set allocated memory to 0xCD and freed memory
  965. to 0xDD. The memory manager no longer 'hides' uses of freed memory.
  966. 2007/12/29
  967. * Fixed two missing @LDFLAGS@ in src/plugins/Makefile.in. [FlavioJS]
  968. * Implemented THE official Steal skill equation and game mechanics
  969. (basically version from /stable plus a few tweaks) (see topic:116540)
  970. * Added missing bAddStealRate reference to doc/item_bonus.txt
  971. * Removed skill_steal_rate, as it was never used in the code (see r231)
  972. * Removed skill_steal_type, it's just a one-liner source mod (see r231)
  973. * Knockback now works through cells where there is a diagonal path, but
  974. no horizontal+vertical (two 90` icewalls with a gap where they 'join')
  975. * Some dead code removal in path.c [ultramage]
  976. 2007/12/28
  977. * Fixed a memory leak in memitemdata_to_sql.
  978. * Reverted a bad modification in clif_produceeffect from r11290. [FlavioJS]
  979. 2007/12/27
  980. * Removed an incorrect range check and fixed a copypaste typo which
  981. caused script engine errors / crashes (see r11984)
  982. * Re-added a missing mob last_thinktime timer initialization when a mob
  983. spawns, causing mob AI to freeze (mistake in r11964) [ultramage]
  984. * Changed the configure script:
  985. - refined the mysql test (wasn't detecting 64 libraries compiled without -m64)
  986. - added a test for clock_gettime in -lrt (required for Debian)
  987. * Corrected description of scope and npc variables in script_commands.txt.
  988. * Made temporary character string variables not have a limited length.
  989. (now all temporary string variables don't have limited length)
  990. * Made temporary character variables reuse free positions.
  991. * Tweeked the declaration and initialization defines for vectors.
  992. * Made do_sockets leave the for loop as soon as the readable number of
  993. sockets returned by select is found.
  994. * Made all posix compliant systems that support it and FreeBSD >= 5.1
  995. (implements it but doesn't have the posix defines) use the precise and
  996. consistent tick() implementation.
  997. * Minor tweek to HEAP_SEARCH (same variable can be used in from and to).
  998. * Fixed the map server not exiting when make_listen_bind fails and
  999. returns -1. [FlavioJS]
  1000. 2007/12/26
  1001. * Fixed the incorrect interpretation of the map-cell height information
  1002. stored in .gat files; this was causing an overall of 20000 cells to
  1003. be treated as water when officially they aren't [ultramage]
  1004. * Fixed string variables dereferencing directly to the value instead of
  1005. dereferencing to a copy of the value. (fixes bugreport:684 bugreport:641) [FlavioJS]
  1006. 2007/12/23
  1007. * Added a generic vector implementation (dynamic array) based on defines. [FlavioJS]
  1008. * Fixed horrible handling of skill_abra_db which leads to memory corruption
  1009. (depending on the contents of yor abra_db.txt file) [Skotlex]
  1010. 2007/12/22
  1011. * Fixed droprate overflows when going over rate 2000x [ultramage]
  1012. * Corrected mob spawn utilization of the delay1/delay2 values (one is
  1013. respawn delay base, the second is random variance added on top of it).
  1014. Cleaned up related code. [Skotlex]
  1015. 2007/12/19
  1016. * Fixed yet another buffer overflow, in @adopt [ultramage]
  1017. * Changes to the configure script. [FlavioJS]
  1018. - fixed the 'pointers can be stored in ints' test not working
  1019. - fixed the linker trying to build 64 bit executables with 32 bit code on
  1020. x86_64 (missing -m32 flag in LDFLAGS)
  1021. - made MYSQL_CFLAGS be built from the --include option to be more portable
  1022. - made --with-mysql check if the optional argument is an executable file
  1023. - make --with-pcre check if the optional argument is a directory
  1024. - other minor changes
  1025. * Corrected SC_MIRACLE to trigger Bless of the Stars on all defeated mobs.
  1026. [Skotlex]
  1027. 2007/12/18
  1028. * Fixed a possible buffer overflow in @partyoption [ultramage]
  1029. * Updated respawn time interpretation according to latest kRO update [Playtester]
  1030. - this first time is the "min respawn time"
  1031. - the second time is the "variance" which is added to the "min respawn time"
  1032. * Corrected skill_db reading to properly trim the skill name/descs.
  1033. * Added a mobid_db in map.c to handle mob lookups faster. [Skotlex]
  1034. 2007/12/17
  1035. * Added flag.server to indicate interserver sockets
  1036. - replaces the previous way (setting 'client_addr' to 0)
  1037. 2007/12/14
  1038. * Guardian hp handling code removal (see bugreport:342)
  1039. - removed guardian hp from the castle data structure, database,
  1040. savefiles and various script functions (use upgrade_svn11915.sql)
  1041. - removed guardian hp calculation and manipulation from the castle
  1042. manager npc, now the hp values are updated by the server itself
  1043. (glitch: when castle defense changes, all guardians are healed to full)
  1044. - tweaked script function 'guardianinfo' to provide some data needed
  1045. by the manager npc (currently available are hp, maxhp and visibility);
  1046. also, it doesn't need a player attached to execute
  1047. * Added a precise and consistent tick() function for freebsd [ultramage]
  1048. * Wand of Hermode now dispells buffs only of allies.
  1049. * Fixed some null pointer checks in status_change_end.
  1050. * Corrected a crashy Warning message. [Skotlex]
  1051. 2007/12/13
  1052. * Fixed possible segmentation faults in the script engine.
  1053. - some strings that can be freed outside the script engine were being
  1054. pushed into the stack as constant strings
  1055. * Disabled ers until recent crashes are fixed.
  1056. - ers entries are being corrupted, probably by modifying them after they
  1057. are released or by releasing something else
  1058. * Abstracted the windows socket code so that all fd's are in the range
  1059. [1,FD_SETSIZE[. (bugreport:604)
  1060. - The socket of a fd is forgotten when executing sClose, so things that
  1061. depend on the socket (like sFD_CLR) must be executed before closing.
  1062. * Replaced the fd_set of the short list with a custom implementation
  1063. (works like the linux fd_set). [FlavioJS]
  1064. 2007/12/12
  1065. * Some preparations for the guild script update [ultramage]
  1066. - cleaned up npc event execution code
  1067. - cleaned up guild data loading/saving code; to be improved later
  1068. - removed dummy 'account name' expulsion list management code
  1069. - removed columns 'rsv1' and 'rsv2' from guild member data
  1070. - removed columns 'rsv1' 'rsv2' 'rsv3' and 'acc' from guild expulsion data
  1071. 2007/12/11
  1072. * Added query_logsql script command to perform sql commands using the log
  1073. db connection.
  1074. * Added some new cashitems and headgears.
  1075. 2007/12/10
  1076. * Cleaned up clif_setdisguise and fixed it for PACKETVER>=9.
  1077. * Added missing range/skill-mask info to reflected damage (fixes autospells
  1078. not triggering on it) [Skotlex]
  1079. 2007/12/09
  1080. * Modified npc_parsesrcfile to parse the line as a 'tab-separated values'
  1081. string and added data truncation warnings.
  1082. - enforces a stricter adherence to the format (no multiple tabs)
  1083. - avoids sscanf matching spaces, new lines and carriage returns when '\t'
  1084. is used in the format string
  1085. * Added a generic 'delimiter-separated values' string parser to strlib.c/h. [FlavioJS]
  1086. 2007/12/07
  1087. * Fixed ensembles skills.
  1088. * removed the timer heap correction code when the timers overflow since
  1089. Flavio points out that it is not needed.
  1090. * Modified a bit the changesex code so you get saved and quit before
  1091. changing your sex rather than afterwards.
  1092. * Cleaned up #changesex
  1093. * Signum Crucis now works on bosses. [Skotlex]
  1094. 2007/12/06
  1095. * Removed the attempts to recover from invalid syntax in npc_parsesrcfile
  1096. since they can produce incorrect results (spaces in sscanf can match
  1097. \n's and company).
  1098. * Made script_rid2sd report the script source directly and changed related
  1099. return 1's to return 0's to avoid double script source reports.
  1100. * Added missing return 0's after script_rid2sd is used and an extra error
  1101. message in buildin_set/buildin_setd. [FlavioJS]
  1102. * The default event script behaviour is to trigger on labels rather than
  1103. NPCs now.
  1104. * Removed several script config options which break NPC compatibility when
  1105. you mess with them (event_script_type, event_requires_trigger,
  1106. die_event_name, kill_pc_event_name, kill_mob_event_name, logout_event_name,
  1107. login_event_name, loadmap_event_name, baselvup_event_name,
  1108. joblvup_event_name)
  1109. * LoadMap events no longer set the variable "@maploaded$" to the name of
  1110. the new map. [Skotlex]
  1111. 2007/12/03
  1112. * Fixed a bug on Mail System. Removed the possibility to lost the attachment on
  1113. a Map - Char server disconnection. [Zephyrus]
  1114. 2007/11/29
  1115. * pc_setoption no longer does view_data changes while disguised (as this
  1116. breaks things) [Skotlex]
  1117. * Random cleanup/documentation.
  1118. * Made common/Makefile get the svn version from the src directory, not src/common.
  1119. * Added a warning message to the install and uninstall targets.
  1120. * Renamed all obj directories to obj_all, obj_txt or obj_sql in the
  1121. makefiles (if an obj/ directory exists, BSD make enters it before
  1122. reading the makefile) [FlavioJS]
  1123. * Allowed disguising while riding a peco-peco (this does not seem to cause
  1124. problems anymore).
  1125. * The pvp rank packet is no longer sent to other players when disguised, as
  1126. this leads to crashes when you die.
  1127. * Probably fixed splash damage.
  1128. * Reflected spells no longer cause knockback.
  1129. * SG Blessing skills now grant the extra experience to everyone when the SG
  1130. killed the mob.
  1131. 2007/11/28
  1132. * Applied the required changes to handle def as a signed char (allows for
  1133. negative def)
  1134. * Corrected skill_check_condition to not delete items right away for
  1135. certain skills that do the deletion themselves. Fixes several skills
  1136. consuming items twice.
  1137. * Dispel's success rate is no longer affected by MDEF
  1138. * You are no longer blocked from being warped when standing in a warp while
  1139. in a duel.
  1140. * Duels are now automatically ended when you warp out of the map you are
  1141. in. [Skotlex]
  1142. * Fixed reflected spells bypassing WoE no-knockback restriction, because
  1143. the code allowed that when cast on self; not anymore (bugreport:231)
  1144. * Reverted the position of the max_hp/max_sp basic setting, modified the
  1145. max_hp/max_sp bonuses to use casting in order to work correctly with
  1146. negative bonuses. [Skotlex]
  1147. * Reconstructed a list of all PACKETVER types, by reverse-engineering
  1148. it from places in the code where the define is used [ultramage]
  1149. - recovered PACKETVER 6 which was added in r51, but overwritten by r141,
  1150. one of the dumbest commits that I have seen so far
  1151. - since 6 was the 'new trade window' update, it and its corresponding
  1152. reply packet will now be used from now on instead the old version
  1153. 2007/11/27
  1154. * Added safesnprintf to strlib.c/h (bugreport:372) [FlavioJS]
  1155. * removed login/char server_fd[] arrays, added server[].fd instead
  1156. * TXT/SQL login server code synchronization [ultramage]
  1157. - exported several core structures to login.h
  1158. - split off ladmin communication code from the TXT login server
  1159. - removed all occurences of login_log(); a unified function should be
  1160. added when SQL's loginlog_db logging code gets synced with TXT
  1161. - removed conf setting login_log_filename
  1162. - fixed ladmin getting timeouts since the ping system was changed
  1163. * Moved basic max HP/SP calculation to before parsing equipment, fixes
  1164. negative absolute HP/SP bonuses not working.
  1165. * Corrected the online_data_cleanup routine setting offline characters that
  1166. are still connected to the char-server.
  1167. * Added a check in script command sc_end to properly end infinte endure
  1168. * ASC_BREAKER no longer triggers status effect cards. [Skotlex]
  1169. * Fixed fake_nd not being exported correctly and being unloaded when
  1170. reloading scripts. (probably fixes bugreport:444) [FlavioJS]
  1171. 2007/11/26
  1172. * Normalized makefiles:
  1173. - 3 sections: variables, public targets, private/support targets
  1174. - object files always in a *_OBJ variable
  1175. - header files always in a *_H variable
  1176. - object files always generated to an obj* subfolder
  1177. - all Makefiles can be executed individually, calling other makefiles if necessary
  1178. - generic object targets when possible
  1179. * Fixed buildin_query_sql using Sql_Query instead of Sql_QueryStr,
  1180. wrongly processing all %f,%d,... (fixes bureport:218) [FlavioJS]
  1181. * Fixed guild expulsion not working correctly [ultramage]
  1182. * Fixed a memory leak in mail_savemessage (src\char_sql\int_mail.c). [FlavioJS]
  1183. 2007/11/25
  1184. * Rev. 11804 Giant Fly Wings are now blocked on noteleport maps and duels. [L0ne_W0lf]
  1185. 2007/11/24
  1186. * Fixed a crash when Slim Pitcher is cast
  1187. * Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483)
  1188. * Added support for latest official client/server packet changes [ultramage]
  1189. - enable by setting PACKETVER to 9; note that this breaks older clients
  1190. 2007/11/23
  1191. * Changed the status_change structure to use dynamic rather than static
  1192. memory to hold the individual status changes, this should have a noticeable
  1193. impact on the server's memory consumption. However, since this is a pretty
  1194. large update (and I am unable to fully test all possible situations
  1195. relating to status changes), watch out for any bugs. [Skotlex]
  1196. 2007/11/22
  1197. * Moved the reset of references to after the empty script checks in
  1198. parse_script. (fixes bugreport:222 and bugreport:449)
  1199. * Renamed fakenpcname to setnpcdisplay, fixed and extended it. [FlavioJS]
  1200. - See doc/script_commands.txt for information on how to use it
  1201. * Modified mapserver login procedure to make clients from may 2007
  1202. and newer not crash when entering mapserver (bugreport:468) [ultramage]
  1203. - this changes PACKETVER to 8, causing incompatibility with old clients
  1204. - this makes the "Login" hex obsolete; please stop using it as it
  1205. causes a conflict with this update and may have negative sideeffects
  1206. 2007/11/21
  1207. * Fixed Sql_SetEncoding not setting the encoding of the connection
  1208. properly. (fixes bugreport:30)
  1209. * Added backward compatible target 'conf' to the Makefile. [FlavioJS]
  1210. * Changed Lif's Emergency Avoid to just get a normal skill delay
  1211. (blocks all skills, cancelled by mapchange / re-summon) instead of
  1212. getting a persistent block on only this one skill (bugreport:13)
  1213. * Homunculi now reset their can-act delay on call/resurrect/mapchange
  1214. (allows bypassing delays by doing rest/call instead of relog) [ultramage]
  1215. 2007/11/20
  1216. * Implemented SL_SUPERNOVICE erasing the death record 1% of the casts.
  1217. * Implemented current exp being capped to the exp required to level up from
  1218. the previous level when we are at max level (required for some S. Novice
  1219. buffs) [Skotlex]
  1220. 2007/11/19
  1221. * Nullpo's disabled on release builds.
  1222. * Added timestamps to the log of memory leaks.
  1223. * Moved definition of __func__ to cbasetypes.h.
  1224. * Configure script updated:
  1225. - added option to select the memory manager
  1226. - added option to enable MAPREGSQL
  1227. - added option to enable DEBUG
  1228. * common's Makefile deleting svnversion.h on 'clean' target. [FlavioJS]
  1229. 2007/11/18
  1230. * Implemented a small change that was long overdue: Displaying the
  1231. char-select screen now uses a single SQL query instead of up to 9.
  1232. [Skotlex]
  1233. * Replaced jA's way of allocating npc shop data with a simple dynamic
  1234. array that gets allocated during loading and freed on unload
  1235. - automatically fixes bugreport:404, which would otherwise require
  1236. manipulating the npcname_db (the original author didn't, hence the bug)
  1237. - now a supporting variable 'count' is used for tracking the length
  1238. instead of an extra dummy entry at the end of the shop list
  1239. - partially removed the MAX_SHOPITEM restriction (if this was written
  1240. properly, the system could support an unlimited amount of entries)
  1241. 2007/11/17
  1242. * Removed battle_config.error_log as console_silent already handles this
  1243. * Made OnTouch zone dimensions be stored as radius instead of diameter
  1244. - cleaned up some overly complicated area calculations [ultramage]
  1245. 2007/11/16
  1246. * Added 2 new status changes for Life and Regeneration Potions [Zephyrus]
  1247. - Fixed some items boxes giving wrong tamings.
  1248. - Fixed another item giving 48 gladius[3]
  1249. * Added error messages when trying to place objects on invalid map coords
  1250. * Fixed Divine Protection working against players (bugreport:410)
  1251. 2007/11/15
  1252. * Fixed some homunculus skill offset calculation mistakes (bugreport:363)
  1253. 2007/11/14
  1254. * Fixed skill_castnodex_db.txt not being parsed correctly
  1255. * Fixed a search&replace typo in skill_db.txt
  1256. * Added error reporting for invalid rows in skill db files
  1257. * Added error reporting to buildin_warp when it fails [ultramage]
  1258. 2007/11/13
  1259. * Fixed homunculus skills having unlimited range instead of being
  1260. capped to view_distance+1 (for details see bugreport:376) [ultramage]
  1261. * Fixed @addwarp crashing the map server (bugreport:390). [FlavioJS]
  1262. * The Forget-me-not status now behaves like Decrease AGI [ultramage]
  1263. - doesn't cancel Impressive Riff, Wind Walker, True Sight (bugreport:187)
  1264. - additionally, it doesn't cancel Cart Boost
  1265. * Fixed some bugs on mail system. [Zephyrus]
  1266. - Added the pc_candrop check (bugreport:305)
  1267. - Added picklog to mail.
  1268. - Added INCMDEFRATE status for Mdef potion.
  1269. 2007/11/12
  1270. * Now when job changing to another class tree, status changes from skills
  1271. that belong to your previous class are cleared. [Skotlex]
  1272. * Applied Rayce's improvements to the npc script parser [ultramage]
  1273. * Made on-touch areas work with walking npcs (is somewhat process
  1274. intensive, but people do not really care about that, do they?) [Skotlex]
  1275. * Fixed a bug in r11384 letting you bypass requirements for some skills
  1276. 2007/11/09
  1277. * Expanded weapon_type enum with dual-wield constants (bugreport:384)
  1278. * Replaced several 'int' variables with enums that they represent
  1279. * Re-worked the login-char-map packet spam mechanism
  1280. - mapserver no longer sends entire user list to charserver every
  1281. 10 seconds; similar change done to the char-login connection
  1282. - user count updates are only sent when the value actually changes
  1283. instead of servers polling each other every few seconds
  1284. - the servers now prevent interserver connection timeout explicitly by
  1285. sending ping/ack packet pairs instead of relying on the usercount
  1286. polling to do so; keepalive is sent every 'stall_time'-2 seconds
  1287. * Fixed socket.c checking time() incorrectly (bugreport:394) [ultramage]
  1288. * Added a database iterator to db.c/db.h. [FlavioJS]
  1289. 2007/11/08
  1290. * Changed EXIT_SUCCESS back to 0 in console.c to avoid an unnecessary include.
  1291. * Fixed gm_account_db not being deallocated in login-converter.c.
  1292. * Refactoring names and documentation in db.h/db.c: [FlavioJS]
  1293. - changed 'struct dbt' to 'struct DBMap' and 'DB' to 'DBMap*'
  1294. - changed 'struct db' to 'struct DBMap_impl' and 'DB_impl' to 'DBMap_impl*'
  1295. - changed COUNT to DB_COUNTSTAT and made it's existence not depend on DB_ENABLE_STATS
  1296. - removed some @see links and corrected small typos in the documentation
  1297. * Fixed a glitch where all packets immediately after the map->char
  1298. login packet would get discarded and the mapserver disconnected
  1299. * Synced charserver char creation creation code [ultramage]
  1300. - removed most of the creation failure messages printed to console
  1301. - fixed sql charserver letting you use control chars in char names
  1302. - new chars will not start with the 'Knife' and 'Cotton Shirt' equipped
  1303. anymore (charserver blindly placed magic values into the equip field)
  1304. * Updated configure script: [FlavioJS]
  1305. - small correction to the help text of --with-mysql and --with-pcre
  1306. - added the -Wno-switch compiler option to suppress the
  1307. "enumeration value '%s' not handled in switch" warnings
  1308. * Added a new setting 'guild_skill_relog_delay' to activate the guild skills delay
  1309. on Guild Master relog. [Zephyrus]
  1310. 2007/11/07
  1311. * Some updates on the mail system packets [Zephyrus]
  1312. - Corrected the mail database structure on main.sql
  1313. - Added separated packets for get and set attachment on mail system.
  1314. 2007/11/06
  1315. * Fixed a crash caused by a mistake in the previous change
  1316. 2007/11/05
  1317. * Changed skill db loading code to work similarly to how itemdb/mobdb
  1318. is loaded (generic file loader + specialized function to process rows)
  1319. - all skill db files are now checked for inconsistencies the same way
  1320. * Corrected the max. allowed skill name length, and optimized code that
  1321. works with skill names according to latest changes [ultramage]
  1322. * Reverted official drop rate estimation [Playtester]
  1323. - although it really exists we don't have enough information about it
  1324. - if server owners really want it they can implement it themselves
  1325. (it's just a one-line fix anyways)
  1326. * Cleaned up skill db lookup code
  1327. - added some well-behaved functions to replace macros (skill_get_index)
  1328. - used skill_get_index() to replace often occuring blocks of code
  1329. that did the skill_id -> skilldb_index calculation in-line
  1330. * Corrected skill db loading code which was using a totally wrong
  1331. column count in sevreal cases (or didn't do any checks at all)
  1332. * Changed the skill_db.txt skill names in comments into actual columns,
  1333. now the server reads these instead of a hardcoded array [ultramage]
  1334. 2007/11/04
  1335. * Implemented official drop rate estimation [Playtester]
  1336. - estimation is rounded on 2 positions after decimal point
  1337. - this will effectively raise drop rates below 10% by 0.01%
  1338. 2007/11/03
  1339. * Added jA script function 'strnpcinfo', for increased npc awareness
  1340. 2007/11/02
  1341. * Fixed one wrong return value in buildin_getcharid (bugreport:33)
  1342. * Removed the big list of BUILDIN_FUNC() declarations in script.c,
  1343. as they are not needed anymore and no code utilizes them
  1344. * Moved the BUILDIN_DEF() block to the end of script.c [ultramage]
  1345. * Modified trap related code so it behaves as explained by Playtester:
  1346. Traps trigger on everyone in their 'effect range' (skill_db's splash) for
  1347. every target that lies within its trigger range at trigger time (range and
  1348. interval in the skill_unit_db). [Skotlex]
  1349. 2007/11/01
  1350. * Removed code that queues OnAgitEliminate after the Emperium is broken,
  1351. this is now done properly by the gvg script instead [ultramage]
  1352. - if you have any extra castles, update your scripts accordingly
  1353. 2007/10/31
  1354. * Added names to the SC_ and SI_ enums, now they can be used to properly
  1355. indicate where such values are to be used (replaces usage of 'int')
  1356. * removed MIN_/MAX_PORTAL_MEMO, set MAX_MEMOPOINTS from 10 to 3
  1357. * removed support for @go-ing to your memo points
  1358. * simplified the overly verbose @memo command; now re-uses pc_memo()
  1359. * cleaned up pc_memo(), now uses semi-correct packet replies
  1360. * Minor code cleaning/formatting [ultramage]
  1361. * Updated several mapflags - 'nomemo' 'noteleport' 'nosave' 'nowarpto'
  1362. 'restricted' - due to Izlude Battle Arena release. [SinSloth]
  1363. - Updated 'item_noequip' and 'skill_nocast_db' to match with 'restricted' mapflags.
  1364. 2007/10/29
  1365. * Updated the mail db structure on main.sql [Zephyrus]
  1366. * Makefile creating the conf/import forder. [FlavioJS]
  1367. * command code cleaning (refer to topic:169759) [ultramage]
  1368. - separated the execution part of command code into interface part
  1369. and internal part to better see which checks are done and when
  1370. (fixes problem where 'nocommand' mapflag blocked server npcs)
  1371. - moved the internal commands list (array) to the end of the file,
  1372. this let me discard that long block of ACMD_FUNC() declarations
  1373. - removed enum AtCommandType from command headers and commands array;
  1374. its purpose was perhaps to identify aliased commands, but apparently
  1375. it was never finished because the rest of the code doesn't use it
  1376. (also doing aliases like this is not a very good idea)
  1377. - internally, commands are now referenced to using their function name
  1378. - removed the @/# symbols from the command lists; all lookup functions
  1379. will now properly deal with strings with- and without a command symbol
  1380. (commands interface still requires the symbol tho', so TODO for later)
  1381. - removed several unneeded commands (*id2 code, dmalloc debug commands)
  1382. - reverted atcommand config from alphabetically-sorted to how it was
  1383. before (with additional fixes; see /conf changelog)
  1384. - added missing code for #dropall / #storeall
  1385. - added a warning when trying to set gm level of an undefined command
  1386. * The structure of the commands table has changed, please adjust
  1387. docs/guides to match the new format (sorry for the inconvenience)
  1388. 2007/10/28
  1389. * Minor adjustment to take into account the end of line.
  1390. * Fixed the line count in the new error message of npc_parse_function.
  1391. * Restricted more the parsing of npc code. (fixes bugreport:317) [FlavioJS]
  1392. * Fixed a bug sending on the attachment message [Zephyrus]
  1393. 2007/10/27
  1394. * Fixed a typo in r11505 messing up the 'npcmove' command
  1395. * Removed 'petid', a command from r284 to look up pet ids by name
  1396. * Fixed TXT charserver doing periodic random-sized alloc (bugreport:312)
  1397. * Set 'Create Converter's produce success rate to 100% (bugreport:302)
  1398. * Added check that verifies weapon/ammo/state requirements also when
  1399. casting finishes (might have unwanted side-effects!) (bugreport:228)
  1400. * Fixed Firewall knocking back undead/fire element mobs (bug in r11578)
  1401. * Added dummy 'openmail' to txt server to fix a script error message
  1402. * Improvements/fixes to the mail system improvements :) [ultramage]
  1403. * Improvements to the mail system. Need Testing, [Zephyrus]
  1404. 2007/10/26
  1405. * Moved the new novending cell check from the internal code to the
  1406. client-server interface (allows server to force-open shop if needed)
  1407. * Removed confusing map_nick2sd_nocase(), let the charserver handle it
  1408. * Added correct packet for attachment retrieval failure when overweight
  1409. * Fixed one more mistake in r11571 (Sql->SqlStmt) [ultramage]
  1410. * Removed the config setting firewall_hits_on_undead setting, Firewall and
  1411. kaensin now automatically calculate the number of hits they should do per
  1412. iteration based on the skill trigger frequency (you may want to raise that
  1413. delay of 1ms in the db, though). [Skotlex]
  1414. 2007/10/24
  1415. * Corrected a fex misshaps from r11571:
  1416. - disabling the memory manager
  1417. - using the wrong length for the title and body in mail_savemessage
  1418. * Removed the quick-fix in the npc duplicate check and the impossible condition
  1419. that is generating the warning. [FlavioJS]
  1420. * @/#jobchange no longer strips your equipment since pc_jobchange removes
  1421. any unequippables already.
  1422. * Removed the wasteful define MAX_PC_CLASS and replaced it by the
  1423. CLASS_COUNT define + pc_class2idx function. This should save a bunch of
  1424. memory from the map server.
  1425. * Merged the CELL_NOVENDING code (see topic #129209) [Skotlex]
  1426. * Increased the max. send buffer size to 5M since 1M is not enough
  1427. * Updated vs7 and vs6 project files
  1428. * Added upgrade_svn11548.sql to convert the mail table to new format
  1429. * Cleaned up the mail code, no more pointless dynamic allocation
  1430. * Cleaned up some messy guild code (more to come) [ultramage]
  1431. 2007/10/23
  1432. * Fixed a compilation bug on linux (FALSE -> false) [Zephyrus]
  1433. 2007/10/22
  1434. * Heat isn't supposed to consume SP when used against players [Playtester]
  1435. - please report if it still consumes SP in pvp
  1436. * Added the new mail system implementation (Requires more test and
  1437. optimizations) [Zephyrus]
  1438. - Updated the mail DB structure.
  1439. * Removed some mail config settings and atcommands not required anymore.
  1440. - Added documentation for script commands: openmail and homshuffle.
  1441. 2007/10/21
  1442. * Fixed a small mistake in r11503 causing a fatal error&exit on unix
  1443. when you try to do a graceful exit (by ctrl+c for example) [ultramage]
  1444. * Removed SC_INCAGIRATE/SC_INCDEXRATE as they are not used anymore.
  1445. * Added SC_INCASPDRATE, SC_INCFLEE2, SC_INCCRI, SC_INCDEF, SC_INCBASEATK
  1446. and SC_FASTCAST as these are required by the newer items. [Skotlex]
  1447. 2007/10/20
  1448. * Fixed 'unequip' removing items in the wrong position (bugreport:252)
  1449. * Fixed #refine unequpping the caller's item by mistake (bugreport:265)
  1450. * Fixed a nasty bug from r11410 which let people create chars with
  1451. already taken char names, and (in TXT's case) even cause a crash.
  1452. - Bug was a variable name collision between the total number of chars
  1453. and a char's slot number (both were called 'char_num'). [ultramage]
  1454. * Some more updates to the skill unit code [Playtester]
  1455. - renamed SKILLUNITTIMER_INVERVAL to SKILLUNITTIMER_INTERVAL
  1456. - Heat now depends on the interval settings rather than firewall_hits_on_undead
  1457. - Icewall doesn't break anymore when the SKILLUNITTIMER_INTERVAL gets changed
  1458. 2007/10/19
  1459. * Added bonusautoscript and bonusautoscript2. These are used to attach a
  1460. script to a player which gets executed on attack (or when attacked). This
  1461. is very similar to the autospell bonuses, except that a script is executed
  1462. instead of a spell. See doc/script_commands for indepth description and
  1463. usage. NOTE that I am unable to test ingame, and even though I proofread
  1464. the code it could have bugs. Feel free to test and report. [Skotlex]
  1465. * Applied some cleanups that should correct "Infinite Endure" ending
  1466. sometimes. [Skotlex]
  1467. 2007/10/18
  1468. * Rev. 11516 Uncommented the showwarning and showdebug from 11508. [L0ne_W0lf]
  1469. * Fixed the incorrect map names on the debug messages (mapid->mapindex
  1470. mishap from r11508).
  1471. * Fixed the incorrect reporting of npc names being too long when the the
  1472. length is 24 (from r11508). [FlavioJS]
  1473. * Rev. 11511 Commented out ShowWarning and ShowDebug messages added [L0ne_W0lf]
  1474. in revision 11508. Aside from the ShowDebug being faulty, they
  1475. are both fare too annoying for public use for the time being.
  1476. If/when I get the NPC names fixed, we can add it back.
  1477. * Further optimization of the skill unit code [Playtester]
  1478. - removed code for Crimson Fire Formation it now uses the same code as Fire Wall
  1479. - added same knockback behavior as Fire Wall for Fire Formation
  1480. - Heat now does 50 hits a second in pvp too
  1481. - please let me know of any bugs that might appear
  1482. * Optimized the skill unit code [Playtester]
  1483. - reverted the unit timer interval to 100ms to save CPU usage
  1484. - rewrote the unit code of Fire Wall, Fire Formation and Heat so that they hit
  1485. every 20ms if the target wasn't knocked back despite of the unit timer interval
  1486. - Heat now does 15 SP damage to players instead of 60 per hit
  1487. - optimized memory usage
  1488. - TODO: Renaming or removing firewall_hits_on_undead config
  1489. * Clarified how npc names work in script_commands.txt.
  1490. * Fixed a forgotten "return 0;" that stopped the parsing of the file
  1491. after the first "script" of the file is parsed sucessfully (caused by r11502).
  1492. * Applied the same parsing and restrictions of npc names to warps, duplicates
  1493. and shops (other code expects unique names for them too). [FlavioJS]
  1494. * Applied the new checking function to clif code, this fixes various
  1495. length mismatches caused by incomplete code in r11386
  1496. * Added clif_process_message(), an unified way to validate all four
  1497. types of player message packets and retrieve their components
  1498. * Removed the requirement to provide a character name in the message
  1499. string when calling is_atcommand() (needed for the previous fix)
  1500. - currently both ways work, but old will be removed in the upcoming
  1501. command cleanup so please adjust your custom code if you use this!
  1502. * Merged improved/cleaned up (WiP) code for clif_parse_WisMessage
  1503. * Removed commented-out code for check_fake_id() [ultramage]
  1504. 2007/10/17
  1505. * Removed outdated copyright and version number from startup logo
  1506. * Removed socket code that attempts to cope with code bugs at runtime
  1507. * client_addr will now be properly set to 0 for server connections
  1508. * Fixed subnet check message displaying incorrect ip addresses
  1509. * Merged do_sendrecv() and do_parse() into do_sockets() [ultramage]
  1510. * Reworked the parsing at npc.c.
  1511. - Fixes npc.c discarding the '}' at the end of file, when there is no
  1512. newline. (uncovered as a side-effect of r11487)
  1513. * Empty script functions always have code now (won't report as missing
  1514. when you try to call them).
  1515. * Changed userfunc_db to not limit the name to 50 characters. [FlavioJS]
  1516. * Ground skill now can trigger every 20ms [Playtester]
  1517. - Firewall, Fire Formation and Heat now can do 50 hits a second
  1518. - this was proven to be official behavior, but it will raise CPU usage
  1519. * small timer.c cleaning
  1520. - removed "with less than 4 values, it's speedier to use a simple loop"
  1521. as this case will never occur (premature optimization from r1284)
  1522. 2007/10/16
  1523. * Venom Splasher fixes according to bugreport:230
  1524. - added passive skillv*30% bonus from Poison React
  1525. - added official splash damage calculation - damage gets split by the
  1526. number of targets at range 1, then applied to all targets in range 2
  1527. - reverted some very old code - clif_calc_delay() - that was preventing
  1528. skills from displaying properly, by erroneously assuming that
  1529. if the target has ddelay 0, it has endure effect activated
  1530. * Fixed displaying of several splash skills (see bugreport:238)
  1531. - added flag SD_PREAMBLE for skills that need the 'magic' packet
  1532. (fixes Grimtooth / Cart Revolution displaying out of sync)
  1533. - hacked together Venom Splasher's "no animation for central mob"
  1534. - hacked in a custom packet to make Dragonfear display semi-correctly
  1535. * Made Venom Splasher a splash attack that distributes damage
  1536. * Commented out clif_skill_damage2() as it is not used anymore
  1537. * Fixed a copy-paste mistake in disguise code (from r5833) [ultramage]
  1538. * Tweaked the loop in parse_script to better handle when the outer
  1539. brackets aren't checked.
  1540. * Fixed a typo in skip_space that stopped skipping characters when it
  1541. encountered a '*' or '/' in a block comment. [FlavioJS]
  1542. 2007/10/15
  1543. * Fixed NPC_CRITICALWOUND to reduce heal by 20% per level [Playtester]
  1544. * Fixing TK Mission asigning non spawning mobs. [Zephyrus]
  1545. * Updated the item price/sell reading code to enable 'null' values. The
  1546. difference between a blank value and 0 is that when the value is blank, it
  1547. should automatically take half/double the other value. The previous
  1548. behaviour did this automatically and didn't let you specify, for example,
  1549. if you wanted a given item to sell for 0.
  1550. * Also added a warning when an item in the db has an exploitable price
  1551. (through overcharge/discount). [Skotlex]
  1552. 2007/10/14
  1553. * Rev. 11476 Implemented new skill "Enlarge Weight Limit R", [L0ne_W0lf]
  1554. and increased MAX_SKILL_TREE by 1.
  1555. * Fixed charsrever crashes, caused by r11410 [ultramage]
  1556. 2007/10/13
  1557. * Fixed up NPC_POWERUP and NPC_AGIUP [Playtester]
  1558. - NPC_POWERUP: 3x ATK and 2x HIT for 10+5*level seconds
  1559. - NPC_AGIUP: 2x MOVE and 2x FLEE for 10+5*level seconds
  1560. * Some further changes to the delayfix function [Playtester]
  1561. - aftercast delay is at least amotion no matter what skill
  1562. (this includes skills with cast time AND skills with skill delay!)
  1563. - aftercast delay reductions can NEVER reduce the aftercast delay below amotion
  1564. (this includes Bragi and Soul Links)
  1565. * Again modified the delayfix function to reflect the current skill delay
  1566. knowledge. Skills with 0 delay use amotion always (regardless of cast
  1567. times) [Skotlex]
  1568. 2007/10/12
  1569. * Further updates to skill_delayfix function [Playtester]
  1570. - aftercast delay can never be lower than amotion
  1571. - please report if this broke any skills
  1572. * Fixed wrong index calculation in TXT char creation code (ref: r11410)
  1573. * Fixed SQL itemdb loading crash on NULL column (ref: 11398) [ultramage]
  1574. * Updated the skill_delayfix function to behave as recently discovered by
  1575. Tharis: Skills with no delay set will use amotion ONLY if the skill was
  1576. instant-casted. [Skotlex]
  1577. * Fixed Bragi's aftercast delay reduction [Playtester]
  1578. 2007/10/10
  1579. * Fixed itemdb_read_sqldb blowing up the server with segmentation faults.
  1580. * Added an option for parse_script to ignore the checks for the set of
  1581. brackets around the script. [FlavioJS]
  1582. * Implemented more official Warp Portal behavior
  1583. - the transition from active to waiting mode is now done as a simple
  1584. appearance change instead of deleting one and creating the other
  1585. - due to the above, an opening warp is now properly accompanied by
  1586. the log-in like sound effect
  1587. - Removed the check that prevented Warp Portal from opening after you
  1588. picked the destination, if there was someone blocking the cell
  1589. * Re-enabled packet 0x1ac to be sent when something gets ankle-snared
  1590. * Partially removed the usage of 'flags' to direct the execution path
  1591. in skill unit code (some people seem to really like flags >_>)
  1592. - wiped out r8478 and its multiple levels of useless flag propagation
  1593. - skill_unit_onlimit (expiration) no longer executes in skill_delunit
  1594. - added skill_unit_ondelete for proper handling of this event
  1595. * Removed 'into_abyss' effect on traps; tests show that it works ONLY
  1596. for Gemstones (tho' iRO website claims otherwise) - bugreport:171
  1597. - corrected code that was exploiting the flag as an 'expired' trap flag
  1598. (replaced it with a more jAthena-ish approach)
  1599. * Fixed a messup in r11347 causing skill units to expire, trigger
  1600. or not trigger, completely randomly
  1601. 2007/10/09
  1602. * Added upgrade_svn11388.sql to correct some log column widths
  1603. * Corrected string lengths according to bugreport:198 [ultramage]
  1604. - CHATBOX_SIZE: 70 -> 70+1
  1605. - removed some too aggressive checks in clif_parse_globalmessage()
  1606. - removed CHAT_SIZE define as it actually doesn't apply anywhere
  1607. - added CHAT_SIZE_MAX to serve as a custom limit to input string lengths
  1608. 2007/10/08
  1609. * Delayed the check for required items when a skill is cast to when they
  1610. are consumed. Now skills only fail due to lack of items after being cast.
  1611. - Please make a bug report if you know of any skill that doesn't work
  1612. like this in official.
  1613. * Fixed hp of other party members not being sent when you join a party.
  1614. * Removed unused global array names_id and renamed some structures that
  1615. are used with variables of the same name. [FlavioJS]
  1616. 2007/10/07
  1617. * Fixed a bug on sql char server not checking the namelength of a new
  1618. character. Bug ID #184: Char Creation With An Empty Name [Zephyrus]
  1619. 2007/10/06
  1620. * the mapserver won't exit when no mapcache is found, with use_grf: yes
  1621. * Fixed some \r uses, now looks better; /thx to Ai4rei (topic:165952)
  1622. * Removed that ridiculous spinner that displays during map/npc loading
  1623. - and added a more informative progress indicator (idea from jA/eapp)
  1624. * Removed loads of code that supported these functions
  1625. - -230b per npc => -3MB of wasted memory
  1626. * Fixed related npcs that erroneously used 'stoptimer'
  1627. * Checked/fixed/removed some old script and npc commands
  1628. + cmdothernpc
  1629. - a specialized 'donpcevent' with the event specified as two arguments
  1630. + enablearena/disablearena
  1631. - completely equivalent to enablewaitingroomevent & co.
  1632. - do we need these 'synonyms' ?
  1633. + inittimer/stoptimer
  1634. - removed since its logic was incompatible with the code it depended on
  1635. 2007/10/05
  1636. * REALLY fixed emblem not displaying when a char logs in
  1637. (compromise between r10624 and r11033 that hopefully works)
  1638. * Fixed 'Wink of Charm' - shouldn't work on boss mobs (topic:166115)
  1639. * Removed a broken remnant of code from old gospel code (r4349) that's
  1640. _supposed_ to clear the gospel status (no item use?) when you step
  1641. out of its zone; 1) the constant UNT_GOSPEL was used in a switch()
  1642. instead of PA_GOSPEL (thus actually ending 'NPC_STUNATTACK' status),
  1643. and 2) this code path is never taken, because Gospel is not recorded
  1644. in skill_unit_temp[] (it has a periodic timer and is not DUALMODE)
  1645. * Now the first empty spot in the 'skill_unit_temp' array will be used
  1646. when tracking movement between land skills; reduced its length to 20
  1647. * Fixed the skill unit mechanism that is supposed to track whether
  1648. you're still standing in a certain land skill's AoE or not, which
  1649. was not working correctly since the time it was added (r3133)
  1650. - solves the nasty problem of Loki, Quagmire, ... status not ending
  1651. even after stepping out of it in some cases, if there was another
  1652. song overlapping the skill's area (fixes bugreport:34) [ultramage]
  1653. 2007/10/04
  1654. * Completed the SC_LIFEINSURANCE status and it's status icon. [Zephyrus]
  1655. - Updated Item_db.txt.
  1656. * Added SC_EXPBOOST (Field Manual), SC_ITEMBOOST (Bubble Gum) to const.txt.
  1657. Allready working [Zephyrus]
  1658. - Added SC_LIFEINSURANCE and SC_BOSSMAPINFO (not implemented)
  1659. - Updated Field Manual and Bubble Gum in the itemdb.txt file.
  1660. - As L0ne Wolf reported to me and based on Doddler information, the Bubble Gum
  1661. only do a second try of the item drop, and it don't increase the drop rates.
  1662. * Fixed a mistake in r10919 messing up logged values (bugreport:167)
  1663. * Added code that compacts the vending list after a purchase; fixes
  1664. the problem with empty positions appearing in the list (bugreport:168)
  1665. * Corrected Icewall skill to be closer to official behavior
  1666. - now works on occupied squares (previously it disappeared)
  1667. - now you can walk out of an icewall square (removed code that blocked
  1668. pathfinding if the origin cell was of a nonwalkable type)
  1669. - added back the hack where mapcell changes are broadcast to whole map
  1670. (prevents client from leaving the cells non-walkable if you warp away)
  1671. * Removed integer mob skill state/target definition support (unused)
  1672. * Added script source error reporting to countitem() (topic:167165)
  1673. * Fixed a compile problem when hotkey saving is disabled (topic:167265)
  1674. * Added MAX_HOTKEYS to supplement the HOTKEY_SAVING define [ultramage]
  1675. 2007/10/03
  1676. * Added the code for Bubble Gum (SC_BONUSDROP) and Field Manual
  1677. (SC_BONUSEXP). items updated as it supose to work. [zephyrus]
  1678. * Cleaned up parts of skill.c related to skill units [ultramage]
  1679. - removed some nonsense code in skill_dance_switch() (from r8876)
  1680. - removed 'security system to prevent forgetting timer removal' (r1213)
  1681. - renamed some skill-related data structs (had same name as variables)
  1682. - commented out custom Venom Splasher countdown messaging code
  1683. * Bosses now can use teleport on Land Protector [Playtester]
  1684. - Moved the homunculus shuffle code to mercenary.c, fixing the bug in the
  1685. atcommand not using the bonus evolution stats for homunculus.
  1686. - Adding a new script command "homshuffle" to fix homunculus using NPCs.
  1687. 2007/10/01
  1688. * Fixed various trading/vending glitches [ultramage]
  1689. - fixed vending_tax not working at all (integer division in r10182)
  1690. - undid change from r8273 where pc_getzeny() treated zeny overflow as
  1691. an error condition; officially, the value is just bounded to MAX_ZENY
  1692. (this fixes stuff like shops that you can't buy items from).
  1693. - fixed stupid code that, instead of properly checking and filtering
  1694. invalid items during shop setup, opted to 'hide' these items from
  1695. the vending list instead...
  1696. - removed some custom error message packets related to vending
  1697. - fixed a glitch where the server would open a shop with no items
  1698. when all entered items were tagged as invalid
  1699. - split zeny handling from trade_tradeadditem() into a separate func
  1700. - removed loads of redundant code from vending.c
  1701. 2007/09/30
  1702. * Removed redundant 'subnet' s_subnet structure variable. [ultramage]
  1703. 2007/09/28
  1704. * Changed back the query to get the friends of a character to a LEFT JOIN.
  1705. * Setting the item script variables to NULL when they are freed. (bugreport:142 ?)
  1706. (a double @reloaditemdb might result in a double free) [FlavioJS]
  1707. * Rev. 11325 Corrected Summer Outfit not included as a PC class. (Zephyrus_CR) [L0ne_W0lf]
  1708. * Rev. 11321 Implemented Summer Outfit care of Zephyrus_CR. [L0ne_W0lf]
  1709. - Increased MAX_GUILDCASTLE in mmo.h to 29 for future implementation
  1710. of the 12.1 Guild Castles.
  1711. * Fixed sql target not including the save target in the Makefile, needed
  1712. by the map server for save/mapreg.txt. (bugreport:131) [FlavioJS]
  1713. 2007/09/27
  1714. * Loot code using charid's instead of id's in pick priority.
  1715. * configure script using svn:eol-style LF and require mysql/pcre when
  1716. --with-mysql/pcre is used.
  1717. * Reimplemented mmo_char_fromsql using sql statements. (fixes bugreport:93)
  1718. * Fixed buildin_gethominfo not being included in the script engine. (bugreport:124)
  1719. * homunculus_evolution -> homevolution in script_commands.txt.
  1720. * Deleted item DEFAULT from item_db.txt and regenerated item_db.sql. (bugreport:103)
  1721. * Skip empty lines and give more feedback (for invalid lines) when reading
  1722. item_db.txt/item_db2.txt. [FlavioJS]
  1723. 2007/09/26
  1724. * Rev. 11307 Implemented Token of Siegfried effect care of Zephyrus_CR. [L0ne_W0lf]
  1725. 2007/09/25
  1726. * Modified a bit the hard/lazy ai triggers to match aegis (you can alter
  1727. these changing the defines near the beginning of mob.c):
  1728. - Mobs go into active AI when they are 2 cells from entering a player's
  1729. view (ACTIVE_AI_RANGE)
  1730. - Mobs in passive AI no longer use skills.
  1731. - Mobs in passive AI do not random walk UNLESS they have entered active AI
  1732. before (random walk frequency is not lost during passive AI).
  1733. * Added an additional check to prevent support skills from being blocked if
  1734. the target has an armor element that blocks it. [Skotlex]
  1735. * Fixed the double free's caused by r11290 (wrong option in the database
  1736. constructors). [FlavioJS]
  1737. * Corrected being able to cast multiple Gravitation Fields before the
  1738. previous one is cancelled. [Skotlex]
  1739. * Disabled tick cache (to enable it: define TICK_CACHE to the number of
  1740. calls that should be cached).
  1741. * Added a charid2sd database for fast charid searches.
  1742. * Reworked the nick cache to only contain offline characters. [FlavioJS]
  1743. 2007/09/24
  1744. * Ignore %MDef bonuses now only reduce target's base MDEF, not MDEF2.
  1745. * Updated the 'skills that cause no damage are blocked now if the skill
  1746. element is blocked by the target' to only apply if the skill has a status
  1747. change associated (fixes Resurrection/Heal being blocked).
  1748. * Added a warning to prevent loading mobs with IDs that belong to the clone
  1749. range. [Skotlex]
  1750. * Limited manual detection of data truncation to string/enum/blob columns.
  1751. * Renamed conf-tmpl to conf. [FlavioJS]
  1752. 2007/09/23
  1753. * Added flag svn:executable to the configure script.
  1754. * Added code for MySQL versions (below 5.0) that don't have
  1755. MYSQL_DATA_TRUNCATED.
  1756. * map_addflooritem and struct item_drop_list using id's instead of
  1757. struct map_session_data's (fixes bugreport:36).
  1758. * Fixed buildin_escape_sql not properly escaping in sql servers. [FlavioJS]
  1759. 2007/09/22
  1760. * Fixed a severe bug in inventory saving code (caused by r11192)
  1761. * Applied changes to clif_parse_globalmessage() from my WiP code
  1762. - clearer processing of the individual packet components
  1763. - proper code ordering, some more integrity checks
  1764. - fixes to some poorly chosen ShowWarning() format strings
  1765. - global chat logging no longer logs the entire string (w/ player name)
  1766. * Fixed global chat logging always crashing on a null pointer
  1767. * Added 'safestrnlen' to prevent null pointer crashes [ultramage]
  1768. * Updated sql files [Playtester]
  1769. * Added a sanity check for MAX_ZENY (doesn't compile if too big).
  1770. * Redid the buildin_query_sql function. (fixes bugreport:81). [FlavioJS]
  1771. 2007/09/21
  1772. * itemdb.c/h using a static array of 32k struct item_data* entries (faster
  1773. itemdb loockup and a first step to remove map_session_data->inventory_data).
  1774. * Fixed a typo in the configure script that replaced CFLAGS with CPPFLAGS
  1775. when -Wno-pointer-sign is supported by the compiler. [FlavioJS]
  1776. * Fixed a typo in the status-change saving code (wrong variable used)
  1777. * Fixed a case of bad sql code conversion breaking homun skill loading
  1778. * Corrected skill Charge Attack as described in bugreport:67 [ultramage]
  1779. - cast time is between 100% and 300% (+ infinite waiting fixed)
  1780. - damage is also between 100% and 300% (doesn't increase past range 9)
  1781. - added knockback that's equal to the distance to target
  1782. - no longer causes teleportation on WoE grounds
  1783. - if target runs behind an obstacle, the skill will still teleport you,
  1784. but will not perform the attack or do knockback
  1785. - this should be official behavior, so enjoy the weirdness!
  1786. * Makefile deleting .svn in save folder.
  1787. * Limited the number of packets parsed per cycle to 3.
  1788. * Fixed sql login throwing an out-of-place debug message and escaping too
  1789. much of the name string when creating a new login with _M/F.
  1790. * Configure script detects 64bit distributions of MySQL.
  1791. * Generated the configure script with cygwin's autoconf. [FlavioJS]
  1792. 2007/09/20
  1793. * Merged the tmpsql branch: [FlavioJS]
  1794. - Abstraction for the sql code (sql.c/h).
  1795. - New configure script and makefiles.
  1796. - Restored txt zeny logging code. (r10814)
  1797. - Rewrote mapserver's sql code - itemdb, mobdb, mapreg, logs. (r10814)
  1798. - Fixed a precedence issue (&& and ) in char_sql/char.c. (r10833)
  1799. - Improved db reading code a bit for consistency. (r11077)
  1800. - Added separate atcommand for mail deletion. (r11077)
  1801. - Corrected a few messages that said "new" instead of "unread". (r11077)
  1802. - Broadcast (*) messages now use "*" as the target's name (not ""). (r11077)
  1803. - Moved StringBuf code from utils.c/h to strlib.c/h. (r11084 r11117)
  1804. - Some misc login server cleanups (reformatting etc). (r11136)
  1805. - Corrected/modified some header entries. (r11141 r11147 11148)
  1806. - Adjusted VS project files. (r11147)
  1807. - Adjusted the way the sql charserver does item saving. (r11192)
  1808. - Corrected usage of reserved keyword 'friend' in mmo.h. (r11192)
  1809. 2007/09/17
  1810. * Several skills with a splash area (except ground based ones) will now hit
  1811. Ice-walls when casted by mobs.
  1812. * Cleaned up and fixed monster_ai&0x40 (chase through warps). It works
  1813. correctly now regardless of the number of players on the source/destination
  1814. maps.
  1815. * Updated sql files [Playtester]
  1816. * Applied various crash-protections to script commands that deal with the
  1817. equip-position array.
  1818. * Corrected and simplified the skill_magic_reflect function. Fixed damage
  1819. reflection being based on the caster rather than the target.
  1820. * Potions are now usable inside Gospel by the casting Paladin (as per Aegis
  1821. tests done by AuronX)
  1822. 2007/09/14
  1823. * Some changes brought up by AuronX (see topics 160295 and 149176):
  1824. * Gravitional Field is now a MISC type of attack.
  1825. * Magic reflection now effectively switches the caster/target (after damage
  1826. has been calculated). Moved magic return and Magic Mirror code together
  1827. with Kaite.
  1828. * Now when GTB completely blocks a spell, the spell animation will still
  1829. come off, but with a single bolt and MISS damage.
  1830. * Removed hom_setting&0x2 since Homunculus can be hit by land spells.
  1831. * Monster Property now gives a Skill Failed message when attempted on
  1832. players.
  1833. 2007/09/13
  1834. * Corrected SG Miracle to trigger per attack, not per walked tile. Trigger
  1835. rate is now 0.02%
  1836. * Corrected the warmth skills not clearing up correctly the previous field
  1837. when you place another one down.
  1838. * Corrected vit not affecting the HP bonus that Super Novices, Ninjas and
  1839. Gunslingers get. [Skotlex]
  1840. 2007/09/12
  1841. * Fixed a typo in r11179 causing party invitation to fail
  1842. * Added SI_STEELBODY properly (value from packet capture) [ultramage]
  1843. 2007/09/10
  1844. * Corrected /invite letting you invite people even if you are not the party
  1845. leader.
  1846. * Added some reply messages when you try /invite and a. the character is
  1847. not found or b. you are not the party leader.
  1848. * Added a check so that the 'save on crash' routine won't get stuck if it
  1849. happens to crash while attempting to save characters.
  1850. * People in chat-rooms no longer receive @main messages. [Skotlex]
  1851. 2007/09/10
  1852. * Added a safeguard to skill_get_unit_layout() against incorrectly
  1853. defined layout ids (will give weird results but won't crash at least)
  1854. * Fixed Firewall/Icewall being oriented backwards (no real difference..)
  1855. * Removed some junk Landprotector/Graffiti code
  1856. - Graffiti doesn't get placed randomly anymore
  1857. * Icewall can now be cast on yourself
  1858. - TODO: for some reason, the cell on yourself immediately expires...
  1859. * Merged together functions clif_set0192() and clif_changemapcell()
  1860. - also removed its "send to whole map" mode which is just plain wrong
  1861. (although aegis actually does use it to 'inform' caster about changes)
  1862. * Added config option to adjust exp gained by 'getexp' [ultramage]
  1863. 2007/09/09
  1864. * Removed bonus bAddEffWhenHitShort as it is unneeded and unused.
  1865. * Corrected getpetinfo so it actually returns "null" when there's no pet
  1866. and you request the name (the docs state it so).
  1867. * Added gethominfo (which behaves in the same way as getpetinfo).
  1868. * Corrected bonus3 bAutoSpell(WhenHit) to select target enemy (rather than
  1869. self) for skills with inf self and inf2 'don't target self' (aka:
  1870. auto-select target skills).
  1871. * Corrected map_foreachinpath to do a wall check for targets beyond the
  1872. initially selected tile.
  1873. 2007/09/09
  1874. * Modified bonus3 bAddEff/bAddEffWhenHit so that the last parameter is now
  1875. passed directly as "trigger" flag. The possible trigger values are
  1876. ATF_LONG, ATF_SHORT, ATF_TARGET, ATF_SELF. Explanation added to
  1877. doc/item_bonus.txt [Skotlex]
  1878. * Updated sql files [Playtester]
  1879. 2007/09/08
  1880. * Adjusted a spot that still blocked GL's skills on login [ultramage]
  1881. 2007/09/07
  1882. * Added support for the new party invite/reply packets from the latest
  1883. client version.
  1884. * Added auto-rejecting party/guild invites when the target is disconnected
  1885. from the server.
  1886. * Changed the default @Main format to prevent crashes in the newer
  1887. clients.
  1888. 2007/09/04
  1889. * bonus3 autospell (and autospell when hit) will now select for spell
  1890. target self when the skill is tagged a support skill.
  1891. * Increased the amount of autospells that can be held at a time from 10 to
  1892. 15
  1893. * Changed the "autocasted strip skills don't have a duration" to apply only
  1894. to Full Strip.
  1895. * Magic Mirror's duration now is reduced /15 when used on players.
  1896. * Removed bonus bAddDamageByClass since it is not needed, and implemented
  1897. bAddDefClass which can be used for the same purpose (but previously was
  1898. doing nothing).
  1899. 2007/09/03
  1900. * Added bonuses bSPRegenRate, bHPRegenRate. They behave like the opposite
  1901. of bHPLossRate/bSPLossRate, making you gain x Hp/Sp every y ms.
  1902. * Added bonus bIgnoreMdefRate, used to ignore a % of the target's mdef when
  1903. using magic attacks (bonus2 will ignore part of the mdef of all targets,
  1904. bonus3 receives a race argument)
  1905. * You can now use bonus2 bCastRate to adjust the cast rate of a single
  1906. skill.
  1907. * Cleaned the code for bleeding (hp-loss) and extended it to handle regen
  1908. as well.
  1909. * Some small cleanups in the pc_bonus functions.
  1910. * Removed bonus3 bHpLossRate since it was doing nothing and is not used.
  1911. * Corrected bGetZeny bonus to be like in Aegis. The amount received is from
  1912. 1 to the given amount, you can use negative zeny values to use an amount
  1913. dependant on mob's level (amount*lv).
  1914. * Updated doc/item_bonus.txt with all these changes.
  1915. * Anti-Magic/Stone-Skin now increase/decrease def/mdef only and in an
  1916. absolute mode (+20*lv rather than +20%*lv). Also the duration is greatly
  1917. decreased (x/15) when used on players.
  1918. * Now when a player uses a strip skill without having it in the skill tree
  1919. (auto-casted) the duration will be 0, the equipment will be stripped
  1920. without causing the status change that blocks reequipping.
  1921. 2007/09/02
  1922. * Added @whereis command (displays normal spawn maps for given mobs).
  1923. Defaults to a lv10 command. [Skotlex]
  1924. * Updated Refined Sakkat Box to give only 1 Sakkat instead of 10. [Paradox924X]
  1925. 2007/08/31
  1926. * Added some comments to clif_changechatowner()
  1927. - totally broken, see the code + topic:163829
  1928. * Implemented the chatroom display packet properly
  1929. - now has 4 types: public, private, npc and non-clickable npc chatroom
  1930. * Implemented the chatroom leave packet properly
  1931. - now utilizes the 'kicked' flag when the user was forced to leave
  1932. - TODO: banlist support to prevent re-entry, see jAthena code
  1933. * Documented/cleaned up chatroom code and packetry [ultramage]
  1934. 2007/08/30
  1935. * Updated sql files [Playtester]
  1936. 2007/08/29
  1937. * Added bonus bSkillHeal to distinguish offensive skill damage increases
  1938. from healing power boosts.
  1939. * Moved battle_skillatk_bonus to pc.c, cleaned up the related skillatk
  1940. bonus code to consider the skillheal bonus option. [Skotlex]
  1941. 2007/08/23
  1942. * Updated athena-start & start to Shazeya's hack. Please test them! [DracoRPG]
  1943. - Simplest way is to run ./start that is equivalent to Windows runserver_sql.bat
  1944. - To run TXT instead, edit the beginning of athena-start with proper filenames
  1945. 2007/08/22
  1946. * Fixed Dragon Fear's status change selection and duration.
  1947. * Fixed Metamorphosis not displaying a speed-change update on the client.
  1948. * Status changes that were blocked by element are no longer blocked,
  1949. instead, now no-damage skills are blocked if they have an element which is
  1950. absorbed by the target (This is the behaviour that Tharis believes is
  1951. correct). [Skotlex]
  1952. 2007/08/19
  1953. * Set proper limits to drop rates, prevents int overflow during calc
  1954. * Cleaned/clarified some #include relationships between headers
  1955. - TODO: pc_read_gm_account() still accessses the RFIFO directly!
  1956. * Again removed the IG_ list from itemdb.h (see r10100 and r10113)
  1957. 2007/08/18
  1958. * Fixed a deallocation mistake and some buffer overflows in npc_chat.c
  1959. after doing rtfm@pcre.txt (all caused by incorrect usage of pcre api)
  1960. * Removed underscores in npc_chat.c's variable names (easier to read)
  1961. * Moved npc pcre-data deallocation from npc_remove_map to npc_unload
  1962. 2007/08/17
  1963. * Implemented the official dual-wield aspd equation [ultramage]
  1964. - using 0.7 instead of 0.66 as modifier (so aspd will be lower now)
  1965. - see topic:151132 for details
  1966. 2007/08/16
  1967. * Fixed eAthena's wrong interpretation of the respawn times [Playtester]
  1968. * Added icons for NPC_CRITICALWOUND and NPC_SLOWCAST [Playtester]
  1969. * Fixed npc chatrooms not being deleted on npc unload/reload (crash)
  1970. * Modified chat code a bit for more clarity [ultramage]
  1971. - replaced double-indirection on 'owner' with a normal pointer
  1972. - separated some common functionality to 'chat_createchat()'
  1973. 2007/08/15
  1974. * Merged and completed Latio's work on server-side hot-key saving
  1975. (http://www.eathena.ws/board/index.php?s=&showtopic=159388&view=findpost&p=884453):
  1976. Now hotkeys are stored server-side (table hotkey in SQL servers, file
  1977. save/hotkeys.txt for TXT servers). You can disable this behaviour by
  1978. commenting out the 'HOTKEY_SAVING' define in mmo.h
  1979. * Apply upgrade_svn11018.sql to create the hotkey table. [Skotlex]
  1980. * Some serious code cleanups
  1981. - adjusted @reloadbattleconf to not depend on variable ordering
  1982. - changed all battle vars to 'int' (removes pointless duplicit coding)
  1983. - added min, max and default columns to battle config data structure
  1984. - added properly bounded values for these columns (or at least tried to)
  1985. - battle-conf loading will now complain if it finds unknown settings,
  1986. and will reject values that are outside of the allowed range
  1987. - added CHATROOM_TITLE_SIZE and CHATROOM_PASS_SIZE
  1988. - partially cleaned up chatroom manipulation code
  1989. 2007/08/13
  1990. * Modified map_foreachinrange so that you can also specify the max length
  1991. of the path to use. The max_count field in the skill_db is used to specify
  1992. this range for path-type skills (Sharpshooting, Kamaitachi and the NPC
  1993. Breath skills.
  1994. * Implemented the 'new' NPC skills described here:
  1995. http://ro.doddlercon.com/wiki/index.php?title=Monster_Skills . It is mostly
  1996. complete, but the new status changes (slow cast, critical wounds, etc)
  1997. don't have any visual effects yet (icon or opt changes? I don't know if
  1998. they should have). Also I could not find the unit_id for Evil Land, so it
  1999. looks just like Sanctuary for now. Apart from those, the only skills which
  2000. I couldn't get to display properly are the Breath skills (with the
  2001. exception of Fire Breath).
  2002. * Corrected gtb_sc_immunity setting not taking effect if your block value was
  2003. the same (that is, if the config said 30%, then you would only get status
  2004. change immunity at 31%, nor 30%) [Skotlex]
  2005. * Fixed a small error in the script_commands documentation about getpartyleader. [Paradox924X]
  2006. * Corrected skill-based hp/sp regen, expect slight increase [ultramage]
  2007. 2007/08/10
  2008. * Updated item_db.sql [Playtester]
  2009. 2007/08/09
  2010. * The new functions now clear junk from the output buffer [ultramage]
  2011. 2007/08/08
  2012. * Moved damage logging to mob_log_damage, now non-damage targetted (or
  2013. splash) skills also get logged into the monster's 'damage history' which
  2014. affects the exp-bonus per attacker setting.
  2015. * Implemented the evolution stat growth bonuses for homunculus.
  2016. * Updated the @homstats command to show evolution bonuses
  2017. * Corrected initial intimacy of a newly created homunculus (should be
  2018. 21/1000) [Skotlex]
  2019. * Cleaned up junk left in the code by the mapcache/mapindex update
  2020. - Added mapindex_getmapname(_ext) to help with ".gat" adding/removing
  2021. - Moved related processing to the interface (prevents duplicity)
  2022. 2007/08/07
  2023. * Expanded isloggedin script command to support an optional argument (char id)
  2024. * Expanded warpparty command to accept target "Leader", this will warp the
  2025. party to the leader.
  2026. * Added a summon structure to handle non-dead-branch mob-groups since the
  2027. current implementation totally fails for mob groups that don't have MANY
  2028. integrants.
  2029. * Fixed mobs not attempting an IDLE skill right before unlocking a target.
  2030. [Skotlex]
  2031. 2007/08/06
  2032. * Slightly deobfuscated the max-hp calculation functionality
  2033. - fixed hp/sp calc code adding extra few points from item bonuses
  2034. * Added a null-pointer check to skill_initunit() to prevent a crash
  2035. * Added a while() loop to the client packet processor (for performance)
  2036. * Added support for kRO 2007-05-14aSakexe langtype 0 login packet 0x2b0
  2037. 2007/08/04
  2038. * Removed weird mvp reward item drop behavior (see topic:160077)
  2039. * Fixed Cart Revolution not transferring status effects on attack,
  2040. and Cart Termination doing it when it shouldn't (see topic:156745)
  2041. * Fixed #refine not accepting names with spaces in them
  2042. * Fixed disguises not doing sit-down properly (missing self packet)
  2043. broken since r6299 stable / r5833 trunk [ultramage]
  2044. 2007/07/30
  2045. * Updated sql files [Playtester]
  2046. * Corrected pet taming code; items are consumed immediately and only 1x
  2047. - TODO: add proper code for people who want delayed consumption
  2048. 2007/07/28
  2049. * Removed ridiculous refine_posword config switch
  2050. - TODO: remove getequipname() func, it can be fully replaced by editing
  2051. a few scripts, plus it doesn't do what the docs say it should do
  2052. * Fixed a silly mistake in the main script engine loop ('pos' variable)
  2053. * Fixed monter -> monster typos
  2054. * Compacted some script function code (fewer LoC -> faster trac ^^)
  2055. 2007/07/27
  2056. * Simplified exp gain equations (now more FPU-friendly and precise)
  2057. - also fixes the uninitialized variable problem... sorry 'bout that >.>
  2058. * Changed the way hit bonus is applied.
  2059. http://www.eathena.ws/board/index.php?showtopic=157438 [Vicious]
  2060. * Cleaned up mob drop code, crashfix is still needed though...
  2061. * Reduced ignore-list length to 20, added proper reply packet
  2062. * Cleaned up some very poorly written pm-ignore code (see r141)
  2063. * Fixed a typo in Warp Portal code displaying an incorrect map name
  2064. 2007/07/25
  2065. * Fixed a missing homunculus info packet when doing @refresh
  2066. * Added support for character rename packet (only dummy code for now)
  2067. * Added support for langtype-12 char deletion packet (tested, works)
  2068. * Synchronized txt/sql charserver code a bit
  2069. * Adjusted motd.txt to not crash new clients
  2070. * Removed some dead code from the charserver (see r352)
  2071. 2007/07/24
  2072. * Fixes on Venom Splasher and the like (see topic:152975) [DracoRPG]
  2073. - VS / Envenom / Throw Venom Knife poison chance raised to 10+4*lv %
  2074. - Removed chance to be poisoned when hit if you're a VS time-bomb
  2075. - Adjusted bomb timer to correct values (5.5+0.5*lv sec)
  2076. - Removed damage boost from Poison React
  2077. - Now ignores EDP damage boost
  2078. - Prevented use on bosses
  2079. - Fixes still needed for recast restriction and splash damage
  2080. * Removed Emperium-damaging ability from Gloria Domini [DracoRPG]
  2081. 2007/07/23
  2082. * Changed the restricting mapflag for @jump from nowarp/nowarpto
  2083. to noteleport. Adjust your scripts if you were using it this way.
  2084. 2007/07/20
  2085. * Corrected packet_db.txt. See topic:158382 for details.
  2086. As a side-effect, the latest packet version is now 22 instead of 21.
  2087. * Added a charserver config option for the character renaming flag,
  2088. along with a detailed comment on what it's supposed to be. This
  2089. eliminates all that "change PACKETVER to 8 and recompile" mess.
  2090. * Moved PACKETVER back to clif.h, cleaned the related code a bit.
  2091. 2007/07/18
  2092. * Added delay_dependon_agi since people actually use and need it...
  2093. * Small update to the effects list (new exe's effects by Au{R}oN)
  2094. * No sending of the pet_equip packet when pet has no equip (thx2Skotlex)
  2095. * Added back exp gain limiting for old formula to stop exploits (see r8177)
  2096. * Now a message is printed when the packet_ver filter rejects someone
  2097. * Renamed two structs using same name as variables (MSVC debugger issue)
  2098. 2007/07/13
  2099. * Fixed yet another script engine typo, this time in 'copyarray' [ultramage]
  2100. 2007/07/09
  2101. * Rev. 10872 Removed a comment I had placed on line 6879 in Skill.c. [L0ne_W0lf]
  2102. * Rev. 10870 Alchemist skill "AM_CANNIBALIZE" ("Summon_Flora") now [L0ne_W0lf]
  2103. summons the proper monsters.
  2104. 2007/07/07
  2105. * Fixed typo in 'deletearray' messing up the script engine
  2106. * Added a check to pc_skill() to prevent crashes on unknown skill ids
  2107. 2007/07/06
  2108. * Cleaned up some nasty code related to skill_blown
  2109. - split 'direction' value from flags
  2110. - moved (almost) entire direction calculating code to the outside
  2111. - bowling bash now has the 'suck-in' effect (knockback is now done
  2112. in the direction you were last facing, not in your-target direction)
  2113. 2007/07/05
  2114. * Fixed pet equip and pet hairstyle packet sends [ultramage]
  2115. * Fixed NPC_STOP's visual effect not clearing when the status ends
  2116. * Corrected @homshuffle making the skill tree be lost.
  2117. * Corrected homunculus skills being unusable if the master was sitting or
  2118. inflicted by a disabling status (eg: petrify, stun)
  2119. * Some fixes to the cell no stacking mod (mainly mobs would just get stuck
  2120. behind each other and not properly surround you). [Skotlex]
  2121. 2007/07/04
  2122. * Fixed a copy-paste typo messing up script variables pretty bad D:
  2123. 2007/07/03
  2124. * Fixed a typo in script engine erroring when working with char params
  2125. * Made Homun Resurrection only fail on cast-end (see topic:155223)
  2126. * Re-coded 'soundeffectall'; removed the third parameter ('coverage')
  2127. - adjust your scripts if you use this command [ultramage]
  2128. * Defined out a problematic piece code in conv_num.
  2129. * Added reporting of constant and param script data.
  2130. * Fixed an incorrect check in menu script command. [FlavioJS]
  2131. 2007/07/02
  2132. * Undid the change from r10298, frozen status again modifies def/mdef
  2133. 2007/07/01
  2134. * TXT->SQL converter fixup [ultramage]
  2135. - Added missing char_id insert which totally messed up the conversion
  2136. - Fixed login converter ignoring many columns (although it had the data)
  2137. - Pointed out that Login-stored account variable conversion is MISSING!
  2138. - Pointed out that Status, Homunculus and Mapreg conversion is MISSING!
  2139. - Blocked the config functions from exiting server when file not found
  2140. - Finally added VS8 project files for this thing
  2141. 2007/06/28
  2142. * Added a missing line to enable @displayskill atcommand [DracoRPG]
  2143. 2007/06/26
  2144. * Changed the string hash of the script engine to SDBM.
  2145. * Reporting information about script data when an error occurs.
  2146. * More work on ticket #41 (array functions). [FlavioJS]
  2147. 2007/06/22
  2148. * Changed behavior of some guild-related code (according to X.4 tests):
  2149. - removed code that prevented Homunculus Resurrection during WoE
  2150. - logging in doesn't activate the 5 minute guild skill block anymore
  2151. - non-Urgent guild skills can now only be cast on WoE grounds during WoE
  2152. - all guild skills now have no cast delay (previously was 1 second)
  2153. - casting guild skills will now block FreeCast sages from walking
  2154. - Battle Orders and Regeneration are now instacast
  2155. - Restoration now has a 10 second cast time, reducible only by dex
  2156. - Urgent Call's cast cannot be reduced anymore (not even by items)
  2157. 2007/06/15
  2158. * Fixed script command sc_end not supporting the extra argument as stated
  2159. in script_commands.txt.
  2160. * Script command getarg supports an extra argument with a default value
  2161. that is returned if the requested argument doesn't exist. [FlavioJS]
  2162. 2007/06/11
  2163. * Fixed NPC_PROVOCATION (now the casting mob doesn't keep attacking)
  2164. * accumulated clif.c fixes [ultramage]
  2165. - Fixed pet equip not displaying correctly at all
  2166. - Removed old fixpos packet (the 'new' one is way smaller)
  2167. - Fixed some major logical typos in the code, cleaned up many places
  2168. 2007/06/10
  2169. * Rev. 10745 Updated itemdb.h with the two new item group values.
  2170. (38 and 39) Why are they static anyway? [L0ne_W0lf]
  2171. 2007/06/09
  2172. * Added 'nosave' mapflag to que_bingo for Bingo system purposes. [SinSloth]
  2173. 2007/06/04
  2174. * Fixed the compilation problem from r10668
  2175. 2007/06/03
  2176. * Fixed a bad copy-paste from r10028 letting players escape jail
  2177. (char was dead on login, so statuses (SC_JAILED) couln't be applied)
  2178. * Fixed missing client update when 'return to savepoint' fails [ultramage]
  2179. 2007/06/02
  2180. * Displaying op names instead of numbers in script engine errors.
  2181. * Fixed a bug introduced in the last rework of the fame ranking.
  2182. * Created safestrncpy that ensures the string is nul-terminated. [FlavioJS]
  2183. 2007/06/01
  2184. * Updated sql files [Playtester]
  2185. * Fixed ircbot not processing new users
  2186. 2007/05/29
  2187. * Hopefully fixed the vsnprintf incompatibility
  2188. 2007/05/28
  2189. * Fixed an infinite char-server loop on the map connection [ultramage]
  2190. * RFIFOREST returns 0 when the session is eof (input data is implicitly
  2191. discarted).
  2192. * Reworked the player fame update: [FlavioJS]
  2193. - would crash if an invalid pos was received
  2194. - the wrong player could be updated on certain conditions
  2195. 2007/05/26
  2196. * Identified several more glitches, too tired to fix these...
  2197. * Fixed server not removing member minimap dot when you leave a guild
  2198. * Fixed server not sending party/guild info when you enter a map
  2199. * Fixed guild emblem not showing when you log in (caused by r5359)
  2200. 2007/05/25
  2201. * Fixed @statall giving you +99 stats instead of setting them to 99
  2202. * Fixed npctalk and @npctalk displaying the # part of the name
  2203. (client filters these when you request the name of the npc, btw...)
  2204. 2007/05/23
  2205. * Added new flag to skill_castnodex.txt, to allow per-skill tweaking
  2206. of cast time and delay reducibility by item scripts (cards and such)
  2207. * Fixed Martyr's Reckoning never triggering for gms with all skills
  2208. * Added MO_TRIPLEATTACK and RG_SNATCHER to @skillall's skill filter
  2209. * Made gm_skill_unconditional bypass skill blocking (guild timer, etc)
  2210. * Reverted the weird delay_dependon_agi thing (r8923, r9055, r9059)
  2211. * Changed a few memsets to strncpy (reading past buffer is a bad idea)
  2212. * Sped up some memset operations (multiples of 4 are faster)
  2213. * Fixed a typo in Chase Walk code, /thx to zephyrus_cr [ultramage]
  2214. 2007/05/22
  2215. * Updated sql files [Playtester]
  2216. 2007/05/21
  2217. * Since the fifohead mess is gone, fixed leftover bad code structuring
  2218. * Removed the TURBO socket mechanism - it was in fact just using a
  2219. variable to cache a few arithmetic operations (premature optimization)
  2220. 2007/05/20
  2221. * Fixed Chase Walk having a deactivation cast time (should be instant)
  2222. * Changed status calc to allow value 0 stats; aegis allows
  2223. negative values, but eA is unsigned in this regard, so ...
  2224. * Added positional music effect to Battle Chant / Gospel
  2225. - see r10588 on how to disable it if it annoys you ^^;
  2226. 2007/05/19
  2227. * Added Global chat and Main chat logging
  2228. - lowered the priority of the 'logging off during gw' filter
  2229. * Fixed server crashes when you use long hostnames (/thx to Ancyker)
  2230. * Removed the wtf-y mmo_char_fromsql_short() from r2527 [ultramage]
  2231. * Fixed drops of Thanatos Dolor & Thanatos Odium regarding the quest. [SinSloth]
  2232. * SQL files fixup
  2233. - extended convert_engine_myisam and added innodb version
  2234. - changed the max. email length to 39 (to match value in source code)
  2235. - added comment for storage/guild storage picklog entries
  2236. - changed SETs to ENUMs, which is the proper data type in logs
  2237. - fixed incorrect defaults, shortened mapname lengths to 11
  2238. - use upgrade_svn10575_*.sql to apply changes
  2239. * Removed the vsnprintf->_vsnprintf define for VS9 [ultramage]
  2240. * Corrected the problem with countitem2 [ultramage]
  2241. 2007/05/14
  2242. * Updated sql files [Toms]
  2243. 2007/05/11
  2244. * Updated the effect list a bit, changes by Au{R}oN
  2245. * Re-phrased the attacker flee/def penalty config descs [ultramage]
  2246. Ref: http://www.eathena.ws/board/index.php?showtopic=150918
  2247. * Attempt to fix unwanted teleporting of immobile mobs [Playtester]
  2248. 2007/05/10
  2249. * Adapted the shortlist to use a static array instead of a linked list and
  2250. enabled it.
  2251. * Added Buuyo-Tama's shortlist for send/eof sockets (defined out for now).
  2252. * Replaced toupper/tolower in ladmin by TOUPPER/TOLOWER defines. [FlavioJS]
  2253. 2007/05/07
  2254. * Fixed warpwaitingpc not working (bug introduced in r10471). [FlavioJS]
  2255. * Added a check to login_sql against too long db-stored emails [ultramage]
  2256. * Removed an unused variable in script.c [Toms]
  2257. * Fixed Converters not overwriting each other [Playtester]
  2258. - thanks to scerez for the fix
  2259. 2007/05/06
  2260. * Removed the dependency on winsock.h for definitions, it's all winsock2.h now.
  2261. * Minor documentation/re-coding in chat.c.
  2262. * More work on ticket #41. [FLavioJS]
  2263. * Fixed Red Pouch overriding nobranch mapflag [Playtester]
  2264. * Attempt to fix Kyrie Eleison not castable on enemy players [Playtester]
  2265. - please test, I can't double client to test it in pvp
  2266. - don't forget to recompile before testing
  2267. 2007/05/04
  2268. * Added an optional read-from-GRF/GAT map loading system back in.
  2269. - It can be turned on with the use_grf flag in map_athena.conf.
  2270. - The conf/grf-files.txt becomes relevant again. [blackhole89]
  2271. * Removed the cyclic map.h<->status.h dependency, which allowed me to
  2272. also remove the annoying/memory-wasting MAX_STATUSCHANGE define
  2273. 2007/04/30
  2274. * Ladmin fixes
  2275. - Added vs8 project file for ladmin
  2276. - Replaced all occurences of printf in ladmin.c with ShowMessage
  2277. - Fixed ladmin working with ips using the wrong byte orer
  2278. * Fixed @jumpto displaying the incorrect player name
  2279. * Added more safeguards to socket.c against socket ids out of range
  2280. TODO: session[] array isn't explicitly zeroed; is that a good thing?
  2281. 2007/04/29
  2282. * Fixed login_sql ipbans not working
  2283. * login server will now bind only after finishing the init phase
  2284. * Tried and fixed md5 password encryption [ultramage]
  2285. - login_sql was doing stupid things like re-using one pre-generated
  2286. key for all connections, and escaping binary md5 data (destroying it)
  2287. - added missing code to login_txt when creating new accounts, showing
  2288. that storing passwords as md5 hashes never really worked for txt
  2289. - removed PASSWORDENC's conditional compilation effect, now just a flag
  2290. - greatly simplified md5 password checking code, credits to eapp
  2291. * Internal changes to the script engine: [FlavioJS]
  2292. - modulus division detects division by 0.
  2293. dividing by zero stops the script and gives an error
  2294. - underflow/overflow messages differentiated (warnings)
  2295. - when a script function doesn't return a value, a C_NOP value is pushed
  2296. instead (avoids stack corruption)
  2297. - op_add merged with op_2+op_2num/op2_str
  2298. - better type checking in the operators, int/string is never assumed.
  2299. The script ends when an invalid type is found.
  2300. - other minor code cleanups
  2301. 2007/04/26
  2302. * Corrected High Jump so it works on Guild Castles when WoE is off.
  2303. * Moonlit petals now always knocks to the back of the character rather than
  2304. pushing the character away from it's center.
  2305. 2007/04/25
  2306. * Modified the mob ai think time update after using skills from
  2307. adelay/amotion to 100ms since the previous method adds a large delay before
  2308. the AI activates again (which screws up with the timing of idle/walk
  2309. skills)
  2310. * NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in
  2311. the sense that every normal attack afterwards becomes a Magical Attack. The
  2312. skill duration is 15 secs. [Skotlex]
  2313. * Added missing Rachel quest map [Playtester]
  2314. * Ganbantein now deletes individual skill cells instead of the whole skill
  2315. in the area it is casted.
  2316. * Modified the mob total damage code to prevent overflows when mobs receive
  2317. over 2kM damage. [Skotlex]
  2318. * Spider Web / Fiber Lock status cannot be dispelled now [ultramage]
  2319. 2007/04/24
  2320. * All mob casted skills have a fixed range of 9 now.
  2321. * Pressure no longer vaporizes plants.
  2322. 2007/04/23
  2323. * Fixed bug which totally broke item group bonuses.
  2324. * Added warnings when setting a pvp/gvg flag removes the other flags on the
  2325. same map (gvg and pvp can't coexist on the same map)
  2326. * Removed the check that prevented you from casting soul-collect when you
  2327. already have 5 spirits.
  2328. * Corrected Magic Rod so it doesn't displays any skill-use animation until
  2329. it triggers.
  2330. * Corrected Steel Body's icon (it actually belongs to AutoBerserk)
  2331. * Debuff on logout&2 is again set to default, instead of removing food
  2332. bonuses now it removes Maximize Power, Maximum Overthrust and Steel Body.
  2333. [Skotlex]
  2334. * Extended the functionality of StringBuf - length and appending a string.
  2335. * menu/select/prompt script functions support grouped and empty options.
  2336. The selected option number is consistent with them.
  2337. * More work on ticket #41. [FlavioJS]
  2338. 2007/04/22
  2339. * Corrected crash if itemskill is used without an attached player.
  2340. * Removed range checks for autospells as per UltraMage Aegis tests.
  2341. * Added chatID skill fail check to skill_check_condition
  2342. * Corrected @refresh not re-displaying your spirit spheres nor re-setting
  2343. your cloth dye.
  2344. * Now the "number of attackers" in mob_dead is counted only from online
  2345. characters on the same map.
  2346. * Updated the autospell bonus scripts so you don't have to specify all the
  2347. attack type criteria. If neither of BF_LONG/BF_SHORT is specified, the
  2348. spell will trigger on both. If neither of BF_WEAPON/BF_MAGIC/BF_MISC is
  2349. specified, the spell will trigger on BF_WEAPON, if neither of
  2350. BF_NORMAL/BF_SKILL is specified, BF_SKILL is used if the trigger is
  2351. BF_MAGIC/BF_MISC and BF_NORMAL is used if the attack is BF_WEAPON. This way
  2352. the default when nothing is specified is
  2353. BF_NORMAL|BF_WEAPON|BF_SHORT|BF_LONG. [Skotlex]
  2354. 2007/04/21
  2355. * Removed the +25% mdef, -50% def effect from Freeze status
  2356. * Changed autocast skills, they now only work with normal attacks!
  2357. Ref: http://www.eathena.ws/board/index.php?showtopic=138159
  2358. * Fixed a few spots where attack_type was getting truncated
  2359. * Hopefully fixed the cygwin + size_t problem (using stddef.h as source)
  2360. * Added ntows() to properly handle that client port number deficiency
  2361. * Adjusted the packet_db array for a more consistent look [ultramage]
  2362. 2007/04/20
  2363. * Cleaned up the doc folder. Removed outdated, untranslated, useless files
  2364. and began normalizing a bit other ones~ [DracoRPG]
  2365. 2007/04/18
  2366. * Added MEXP overflow checks. [LuzZza]
  2367. * Added bonus5 bAutoSpell/bAutoSpellWhenHit. The new parameter is used to
  2368. specify when the spell should trigger (melee/range + weapon/magic/misc
  2369. attack), see doc/item_bonus.txt for details. [Skotlex]
  2370. * Changed some %lu to %u in login_sql/login.c because uint32 is now
  2371. an unsigned int [Toms]
  2372. * Discarded extra deflate function needed for afm reading [ultramage]
  2373. - as a result, discarded the whole chain of support functions, .c files
  2374. and includes needed to make that one function run
  2375. - also removed zlib compile/link dependencies where they are not needed
  2376. - reduced the whole zlib package into two core include files
  2377. - adjusted makefiles / project files to reflect this change
  2378. 2007/04/17
  2379. * Massive at+charcommand cleanup, big thanks to HiddenDragon [DracoRPG]
  2380. * Partially deobfuscated the grfio module
  2381. * Finally fixed mingw problems, managed to build both TXT and SQL
  2382. * Fixed the uint32 platform problem (Microsoft failed so I removed it :)
  2383. * Removed the cbasetypes.h dependency from the mapcache generator
  2384. * Removed some random compilation warnings [ultramage]
  2385. * Small bugfixes and enhancements to the map cache generator [DracoRPG]
  2386. 2007/04/15
  2387. * Fixed 'randomtarget' picking dead characters.
  2388. * Adjusted Spiral Pierce, Shield Boomerang and Shield Chain to use atk2
  2389. instead of weight when used by non-players.
  2390. * Adjusted skills blindAttack, SilenceAttack, StunAttack, PetrifyAttack,
  2391. CurseAttack, SleepAttack, Lex Divina and Dispell to be area effect skills,
  2392. if the used skill level has a splash-range different from 0.
  2393. * Mob used Meteor Assault is able to hit icewalls now. [Skotlex]
  2394. 2007/04/15
  2395. * Fixed TXT char creation blocking characters with nonstandard names
  2396. 2007/04/13
  2397. * Committing some accumulated stuff [ultramage]
  2398. - makefile typo, maps_athena typo, svn:eol-style native for some files
  2399. * Changed the meaning of inf2=0x1000. Now it is used to "disable usage on
  2400. enemies", which only works for non-aggressive (inf!=1) skills.
  2401. * If a skill is party/guild only (inf2 0x400/0x800) it will also be
  2402. castable on enemies if the skill's inf is 1 (offensive target)
  2403. * Corrected the mob behaviour when it locks into an enemy it can't chase.
  2404. Previously it would get stuck on a lock->unlock->lock loop, with each
  2405. unlock resetting the "random walk" timer, causing the mob to just idle in
  2406. place. Now they will attempt idle skills and no longer reset the "random
  2407. walk" timer, so they behave as if they were in Idle state properly.
  2408. * Now the bonus bAtkEle will be transferred directly to the weapon when the
  2409. script is in the ammunition, and you are wielding a weapon that consumes
  2410. ammo per atttack.
  2411. 2007/04/12
  2412. * Trade-requests now fail if the target is in a NPC.
  2413. * Some cleaning of the castend_map code to prevent the menuskill variable
  2414. from not being cleared if you made a choice but the skill was not triggered
  2415. (due to silence, stun or whatever)
  2416. * Cleaned up a bit the Charge Attack casttime equation, should prevent
  2417. infinite casttime when the distance is 0.
  2418. 2007/04/11
  2419. * Now when an object changes speed, the old move-packet will be used on the
  2420. next movement, which should update the object's speed from that point and
  2421. on-wards. This is done since there appears to be no way to tell the client
  2422. a given object's speed has changed.
  2423. * Modified spirit of Wizard so that the consumption of 'Fragments' when
  2424. blocking bounced spells will only consume 1 Fragment per skill casted,
  2425. regardless of how many hits were reflected.
  2426. * Modified status_get_sc_def to handle both rate and tick reductions. This
  2427. way it can take care of the fact that curse rate/duration reductions are
  2428. not reduced by the same stats. Curse duration is now reduced by vit.
  2429. [Skotlex]
  2430. * Removed an ugly cast in socket.c
  2431. * Fixed Makefile (-Wno-unused-parameter was added twice with gcc4) [Toms]
  2432. 2007/04/10
  2433. * Recoded and renamed the trim function in strlib to normalize_name.
  2434. * Added a proper trim function to strlib.
  2435. * Cleanups at npc source file adding/removing.
  2436. * Changed db key from 'unsigned char*' to 'const char*'.
  2437. * Defined out the dump function in util.h/c. [FlavioJS]
  2438. * As an experiment Corrected many /W4 warnings on the txt login server
  2439. * Played around with MinGW a bit today... [ultramage]
  2440. - adjusted code so that it handles mingw-specific compatibility problems
  2441. - adjusted the makefile, mingw is not a subset of cygwin
  2442. 2007/04/09
  2443. * Now when saving a character, only the cart/peco/falcon 'option' states
  2444. are saved, the rest should be handled by the status change load/save
  2445. functions. This saves 'permanent' cloaking/hiding and other such oddities
  2446. if the server is unable to save your status changes on logout.
  2447. * Updated some Guild WoE rules to behave as explained here:
  2448. http://www.eathena.ws/board/index.php?showtopic=146581 [Skotlex]
  2449. 2007/04/08
  2450. * Fixed the platform-specific stricmp compilation problem
  2451. * Fixed inverted vending tax equation (!) and made it more precise
  2452. * Moved e_mail_check() and config_switch() to strlib.h
  2453. * Synchronized the login servers a bit
  2454. 2007/04/07
  2455. * Disabled the exception handler on windows debug builds
  2456. * Fixed Devotion using WE_BABY's status icon (now uses no icon);
  2457. if you have a way to determine the correct number, give feedback
  2458. * Updated the server's PCRE components to 7.0
  2459. - dll, library, header
  2460. - cleaned the only existing example and moved it to /samples
  2461. - changed the interface, now $@ is used instead of $ to store the result
  2462. - /!\ adjust your scripts if you are using npc regexp parsing /!\
  2463. * Fixed the start_point setting smashing t3h stack in some situations
  2464. * Fixed some over/under-dimensioned arrays (defines already cover the '\0')
  2465. * Fixed an unupdated define making Warp Portal fail with an error [ultramage]
  2466. * Final touches to the whole map crap [DracoRPG]
  2467. - changed MAP_NAME_LENGTH to 12, now there's MAP_NAME_LENGTH_EXT at 16 for
  2468. uses where there is / may be the .gat extension, code adjusted accordingly
  2469. - moved map_normalize_name to mapindex_normalize_name so that everything
  2470. handling map names uses the same extension-removing function
  2471. - greatly enhanced the map cache generator, complete documentation on the
  2472. tool and the map cache format can be found in doc/
  2473. - the map cache format changed a bit as a consequence, but of course a new
  2474. valid one is included (contains latest Nameless Island maps)
  2475. - and I'm sorry for the number of times I've moved around and renamed files,
  2476. now the final structure should have been reached
  2477. * Capped clif_heal's heal field (the argument received is int, but the
  2478. packet field is short, meaning that if the heal is high enough, the client
  2479. would receive a negative heal amount). [Skotlex]
  2480. 2007/04/06
  2481. * Made a crazy attempt to at least partially synchronize login&char code
  2482. * Major edit to the way the servers handle ip addresses, making them obey
  2483. the "host byte order inside, network byte order outside" rule [ultramage]
  2484. - hopefully covered all entry- and exit-points for IP address data
  2485. - discovered several places where Gravity's client breaks the convention,
  2486. will need to come up with a suitable countermeasure for that
  2487. - other than that, the code should be portable, except for printing and
  2488. ipban mask testing (those still assume a specific byte order)
  2489. - tested both txt and sql in all usual situations; tested single- and
  2490. multi-server setups, all seems to work (but watch out for hidden bugs!)
  2491. 2007/04/05
  2492. * Cleaned @whogm. It will display the name of all gms online. If their GM
  2493. level is above your own, it will only display their name, otherwise level,
  2494. position, and party/guild info is displayed. GM's using gm-hide will not
  2495. appear on this list.
  2496. * Corrected song/dances/encores reducing SP at the incorrect intervals
  2497. (either never, or every second).
  2498. 2007/04/04
  2499. * Corrected Longing for Freedom, it should triple SP cost rather than
  2500. modifying SP cost to 1/sec
  2501. * SC_ENCHANTARMS will no longer fail to start if it's already running with
  2502. a "higher elemental level".
  2503. * When trying to trade an untradeable item, the add-item-fail packet will
  2504. be sent so the client does not gets stuck. [Skotlex]
  2505. 2007/04/03
  2506. * Some spring-cleaning in sql-files, only left SVN 8k+ files [DracoRPG]
  2507. * Updated sql files [Playtester]
  2508. * Fixed char-server crash on @changegm use.
  2509. * Cleaned up mmo_auth, this function wasn't only poorly coded, it also had
  2510. a SQL-related memory leak in it!
  2511. * Corrected the attack_attr_none check being backwards (ie: this config was
  2512. working backwards!)
  2513. * All pets can now move regardless of their Mob counter part setting.
  2514. [Skotlex]
  2515. * Some source code cleaning
  2516. - Fixed the badly worded messages during mapserver startup
  2517. - Cleaned up socket config reading
  2518. - Split resolve_hostbyname() into 2 separate functions for clarity
  2519. - Moved the probably obsolete LOWER/UPPER macros to db.c (TODO: remove)
  2520. - Moved the badly placed compare_item() function to storage.c (see r779)
  2521. * Fully removed the msvcr80.dll dependency from the vs8 project files
  2522. 2007/04/02
  2523. * Removed some overly verbose item group messages & code
  2524. * re-added the item_group_list for consistency's sake, moved to itemdb.h
  2525. (after some hacking to remove the ugly map.h dependency)
  2526. * Fixed the server crashing on a timer-queued disguise / undisguise
  2527. * Fixed the server crashing on startup due to bad define [ultramage]
  2528. * Removed bonus 'bAspdAddRate'. bAspdRate now behaves on a stackable
  2529. matter, so it's no longer needed.
  2530. * Reimplemented the bonus 'bAspd' (raw Aspd increase) [Skotlex]
  2531. 2007/03/31
  2532. * Added all the missing defines for ctype.h functions and converted all
  2533. the direct uses to the defines. [FlavioJS]
  2534. 2007/03/30
  2535. * Added "do_abort" function to the core. It is invoked when the server has
  2536. received a Segmentation Fault or Floating Point Exception signal. Currently
  2537. the only one that uses it is the map-server, which then attempts to save
  2538. all online characters before aborting. Note that due to the current
  2539. coding of the sig plugin, do_abort will not be invoked if you use it!
  2540. This plugin needs to be updated... [Skotlex]
  2541. * Continued script.c cleanup [Toms]
  2542. 2007/03/29
  2543. * Corrected OPTION_XMAS since 2007 clients have split it up from
  2544. OPTION_FLYING (on previous clients both were the same option value).
  2545. * Corrected statp array not being long enough to actually hold the status
  2546. points of ALL levels up to and including MAX_LEVEL. Fixes reaching final
  2547. level and resetting giving you an unpredictable amount of status points.
  2548. 2007/03/28
  2549. * Negative aspd rate bonuses will be handled as aspd add rate since the
  2550. default non-stackable bonus is useless on penalty bonuses.
  2551. * Added check to prevent the client from using passive skills. [Skotlex]
  2552. * Updated sql-files [Playtester]
  2553. * Removed a missing file reference in the athena-start script
  2554. * Fixed a #error "<malloc.h> has been replaced by <stdlib.h>" problem
  2555. * Fixed the msg_silent setting not being announced every time [ultramage]
  2556. 2007/03/27
  2557. * Cleaned up some the mob skill use code. The skill re-use delay is set at
  2558. the time the skill is used rather than when it finishes casting. The
  2559. invalid target check was also moved to the mob skill db reading function.
  2560. * Skills can be used now when the autoskill menu is open (since there's no
  2561. packet sent by the client when you hit on cancel). [Skotlex]
  2562. * Added some svn:ignore properties [Toms]
  2563. * Solved console plugins compilation error [Toms]
  2564. * Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB.
  2565. - !!!WARNING!!! If your server uses higher levels, be sure to adjust
  2566. this appropriately! (the define can be found in /src/map/map.h)
  2567. * Corrected SC_COMA's success chance (X.4 says it's unconditional 100%)
  2568. * Changed the vs8 used crt library to static linking [ultramage]
  2569. 2007/03/26
  2570. * Coma now reduces SP to 0 (with the exception of Dark Blessing) [Skotlex]
  2571. * Corrected "format '%lu' expects type 'long unsigned int', but argument 4
  2572. has type 'unsigned int'" warning on login.sql [Toms]
  2573. 2007/03/24
  2574. * Corrected change r10051 which prevented Ice Pick from working [ultramage]
  2575. - the 'ignore_' variables are bitflags and therefore need enough bits
  2576. to store all info; 8 bits wasn't enough in this case
  2577. 2007/03/23
  2578. * Major reconfiguration of the vs7 project files (+vs8 while I was at it)
  2579. - added definitions _DEBUG and NDEBUG to tune system-specific stuff
  2580. - reduced the build requirements (Pentium 4 was a bit too much)
  2581. - changed build settings and project structure to match the vs8 projects
  2582. - corrected some vs8 inconsistencies
  2583. * Some generic typo fixes [ultramage]
  2584. * Corrected Ankle Snare/Spider Web having a 1% chance to trap rather than
  2585. 100%
  2586. * Food boosts are now dispelled on death only.
  2587. 2007/03/22
  2588. * Corrected setitemscript not correctly updating the item's script.
  2589. * Added define MAX_CHARS so you can easily mod the server to support a
  2590. different amount of characters per account (however, there is still the
  2591. issue of hexing the client to support this change)
  2592. * Updated msg_athena.conf so it no longer uses broken english on several
  2593. entries. Thanks to Scerez for the updated file.
  2594. 2007/03/21
  2595. * getpetinfo 5 will now return the pet's rename flag.
  2596. * Autoloot will now only work on items dropped a certain distance from the
  2597. player. The distance is defined by AUTOLOOT_DISTANCE in atcommand.h and
  2598. defaults to AREA_SIZE.
  2599. * Removed Magic Rod's cast bar.
  2600. * Gravitation no longer causes damage flinch. [Skotlex]
  2601. 2007/03/20
  2602. * Increased MAX_STATUSCHANGE to 300 to make room for new statuses [DracoRPG]
  2603. * Reverted mapindex reading from map_list.txt for the map-server [DracoRPG]
  2604. * Patched the MAX_STATUSCHANGE startup error [ultramage
  2605. * Removed the last argument from script command skillitem.
  2606. * Added skill ITEM_ENCHANTARMS, this is what weapon enchanting items should
  2607. use.
  2608. * Added support for specifying different elements per skill level in the
  2609. skill_db
  2610. * Added bonus bNoKnockback.
  2611. * Corrected login sql server not reseting your account state to 0 when the
  2612. banuntil duration expires.
  2613. * Made the skillatk bonus it's own function, it can now be used to boost
  2614. Heal/Sanctuary/Potion Pitcher and Slim Pitcher as well.
  2615. * Corrected Teleport's save map entry being sent without the .gat
  2616. extension.
  2617. * Corrected Warp Portal not sending the map names with the .gat extension.
  2618. * Probably corrected Disarm's strip animation.
  2619. 2007/03/19
  2620. * Rewrote the jail logic to always use a status change. This means that the
  2621. character's save point is not changed when jailed, and the char is always
  2622. warped back to the point where it was before being jailed on unjail.
  2623. * Modified @adjcmdlvl so you can't set a command to require higher level
  2624. than yourself, and so you can't edit the level of a command which is higher
  2625. than your own.
  2626. * Corrected attack_attr_none setting disabling elemental resist cards.
  2627. * Corrected Dispell removing Jailed status.
  2628. * Corrected being able to revive with 0 hp.
  2629. * Modified the "Restart" code so that it makes you stand on spot when
  2630. pc_setpos fails to move you back to your originating location. [Skotlex]
  2631. * Fixed some wrong sql login logic
  2632. * Fixed some compiler warnings, cleaned up mapserver sql-related vars
  2633. * Removed the old 'mapserver charsave' mechanism [ultramage]
  2634. * Globalised use of script_pushint and script_getdata in script.c
  2635. If someone need them, the regexp used was :
  2636. sed -i "s/& *(st->stack->stack_data\[st->start *+ *\([^]]*\)\])/script_getdata(st,\1)/g" script.c
  2637. sed -i "s/push_val(st->stack, *C_INT *, *\([^)]*\))/script_pushint(st,\1)/g" script.c
  2638. * Little clean of unused variables in script.c [Toms]
  2639. * Script engine:
  2640. - calling functions without using the return value doesn't generate warnings
  2641. - more work on Ticket #41
  2642. * Took care of two warnings and a minor change to the makefile. [FlavioJS]
  2643. 2007/03/18
  2644. * Added missing VC++ 7.1 project files for mapcache. [Lance]
  2645. * A followup to the login_sql server changes:
  2646. Due to a missing 'else' in the case_sensitive config setting loading
  2647. code (see r483 and r3316), the option was always being set to 'off'.
  2648. Now that I have corrected it, make sure to set it exactly how you
  2649. want it to behave (usually case-insensitive)!
  2650. Failure to do so can result in half the server spamming you with
  2651. messages about how they are getting 'unregistered id' errors.
  2652. 2007/03/17
  2653. * committing my work on the login server (mostly SQL) [ultramage]
  2654. - removed the check_ip_flag from login&char (there since r1)
  2655. - removed the CMP_AUTHFIFO_IP and CMP_AUTHFIFO_LOGIN2 defines (also r1)
  2656. - removed dynamic_account_ban, gm_db settings, weren't doing anything at all
  2657. - modified the date_format setting to take the format string directly
  2658. - removed overly verbose config loading messages
  2659. - removed/simplified many more useless actions
  2660. - renamed the dynamic_pass_failure_ban_ settings to make more sense
  2661. - collected relevant config settings into a login_config structure
  2662. and documented their purpose
  2663. - allowed usage of yes/no instead of the user-unfriendly 1/0 method
  2664. in config settings (and added 1/0 as a possible option)
  2665. - fixed dnsbl which was always taking only the first entry into account
  2666. 2007/03/16
  2667. * Corrected the structure and added info on the skill fail packet (0x110).
  2668. * Added packet 0x223 as clif_upgrademessage (not used yet).
  2669. * More work on Ticket #41. [FlavioJS]
  2670. 2007/03/15
  2671. * Added SC_CHANGEUNDEAD to differentiate it from the other elemental change
  2672. skills. It now fails on Undead/Dark elemental targets.
  2673. * Corrected party item share settings not being properly updated on logon.
  2674. * Corrected battle_attr_none setting applying to elemental attacks instead
  2675. of neutral ones. [Skotlex]
  2676. 2007/03/14
  2677. * Finished polishing the new mapcache system [DracoRPG]
  2678. - common/grfio.* now empty except zipping functions (to read mapcache)
  2679. - servers do not use .gat internally anymore
  2680. => YOU CAN (and should) STOP USING .gat IN YOUR SCRIPTS
  2681. - moved files for the mapcache builder to db/ for now
  2682. - the char-server now uses the same index list as the mapcache builder
  2683. => poring_c01, poring_c02 and ng_quest mapindex have changed, beware
  2684. * Updated sql files [Playtester]
  2685. * Adjusted @pvpoff, @gvgoff, @killer, @killable to make characters stop
  2686. attacking when used.
  2687. * Dispell no longer removes food boosts.
  2688. * Players will stop attacking when they change their look.
  2689. * Applied Alydis's fix to the mvp item logs logging mvp items even if the
  2690. player couldn't get the item.
  2691. 2007/03/13
  2692. * Corrected the new packet version entries for skilluseposinfo
  2693. * Corrected item reloading not unsetting the "delay consume" flag if the
  2694. item had changed it's type.
  2695. * the Attack_Type variable in skill_attack now inherits the damage.flag
  2696. properties, this fixes ranged status effects not triggering.
  2697. 2007/03/12
  2698. * Added player not attached crash prevention to countitem/countitem2.
  2699. * Probably corrected delitem not deleting pet eggs at all.
  2700. * Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites.
  2701. * Mob skill state "anytarget" no longer triggers when the mob has an
  2702. item-target (looting).
  2703. * @storage/@gstorage will no longer work if you have a trade or a storage
  2704. opened already.
  2705. * Corrected script command movenpc so it properly moves the ontouch npc
  2706. cells as well.
  2707. * Changed the unit-walk packet to be 0x86 as pointed out by FlavioJS. This
  2708. new packet is much smaller, and should greatly decrease bandwidth usage.
  2709. The only drawback is that the character will not display at all if the
  2710. client didn't know of it's existance previously, but eA should always be
  2711. sending a spawn packet when an object gets into/out of sight anyway, so
  2712. it should work correctly.
  2713. * Modified the guild master change ack packet to return the aid/cid of the
  2714. new guild master instead of the index where it was, the previous method
  2715. could cause problems in situations where the order of guild members would
  2716. not match exactly between char/map servers.
  2717. * Updated the Soul Linker's Rogue Spirit Stealth's speed bonus to +60%,
  2718. according to forum infor from ragnagate. [Skotlex]
  2719. 2007/03/09
  2720. * Mapcache can run on system with any endianness.
  2721. The generated file contains data in little endian.
  2722. * Added info on packet 0x86 (simple move packet). Not usable until a clear
  2723. separation between entering sight/leaving sight/walking in sight is done.
  2724. * Propagating const char* from the script engine.
  2725. * ".gat" is appended to the map name before sending the changemapserver
  2726. packet to the client. [FlavioJS]
  2727. * Normalized the mapname in guild get/set castle data, should fix guild
  2728. flags.
  2729. * Added log options 0x800/0x1000 to log storage moves ('R') and guild
  2730. storage moves ('G')
  2731. * Added upgrade_svn9976.sql to include 'R'/'G' on the picklog type column
  2732. set.
  2733. * Updated the logs_athena description to include the letter of each type
  2734. (512 - M, 32 - N, etc)
  2735. 2007/03/08
  2736. * Corrected the pet/homunc data not being free'd if the player logs out
  2737. before being authed.
  2738. * Initialized player's speed on pc_setnewpc to prevent homunculus copying a
  2739. speed of 0.
  2740. * Corrected ranged add-status only triggering if the attack is arrow
  2741. based.
  2742. * Updated counter add-status so they trigger on ranged attacks instead of
  2743. using "arrow_atk" state. [Skotlex]
  2744. * Here comes the new mapcache system! [DracoRPG]
  2745. - The last and only big "feature" (kind of cleanup in fact) you'll see
  2746. - Totally removes GRF/GAT handling from map-server that only reads from cache
  2747. - The cache now also contains map indexes, and is mostly zipped (1.5MB atm)
  2748. - It is shipped with eA => 100% client-independant, no more missing maps
  2749. - If you want to add custom maps, the mapcache builder is available, doc
  2750. and Unix Makefile coming as soon as possible (VC8 project only ATM :/)
  2751. - Removed now useless AFM/AF2 support, as well as the startup screen notice
  2752. 2007/03/07
  2753. * Corrected the define for NK no cardfix (def).
  2754. * Fixed the char sql server not escaping the server name before inserting
  2755. it on the ragsrvinfo table.
  2756. * Corrected @lvup not doing the party even share check.
  2757. * Corrected breaker's misc part not ignoring element.
  2758. 2007/03/06
  2759. * Added NK value 0x80: ignore target's cards (0x8 will now only ignore
  2760. attacker's cards).
  2761. * Corrected Soul Breaker ignoring target's cards instead of the caster's.
  2762. [Skotlex]
  2763. * Fixed an infinite loop if script name contains a single ':' [Toms]
  2764. * Simplified the Utsusemi/Bunsinjyutsu check to only block weapon skills
  2765. that do not ignore offensive cards. [Skotlex]
  2766. * Added support for the 2 new packet versions. [Zephiris]
  2767. * Fixed the loginlog's `user` column length (use upgrade_svn9957.sql)
  2768. 2007/03/05
  2769. * More tweaks to socket.c to simplify the code [ultramage]
  2770. - many generic cleanups - reformatting, useless code removal, etc
  2771. - made the mode_neg setting a compile-time decision, not a run-time one
  2772. - removed the silly frame_size setting (there since r1)
  2773. - added some TODOs to http://www.eathena.ws/board/index.php?showtopic=127988
  2774. * Added the +20hit that were missing the NPC elemental attack skills.
  2775. * Added support for autospells using "a random skill level". The last value
  2776. of bonus4 bAutoSpell is used for determining this as well as the target. &1
  2777. is to cast on target (otherwise cast on self), and &2 is to use a random
  2778. level UP to the level specified in the script (otherwise always cast the
  2779. specified level)
  2780. * Updated item_bonus.txt with the documentation for the
  2781. bAutoSpell/bAutoSpellWhenHit changes.
  2782. * Corrected @refresh not reupdating the basic stat bonuses.
  2783. 2007/03/03
  2784. * Modified a bit the storm gust counter code to see if it fixes storm gusts
  2785. sometimes freezing on first hit.
  2786. 2007/03/02
  2787. * Tatami Gaeshi state (proyectile blocking) now ends when you move.
  2788. * SG Union will consume now SP if you use it while not soul linked.
  2789. * Added variable "skip" to the mob spawn data, to know how many mobs to
  2790. skip when spawning because they were not removed due to the
  2791. "mob_remove_damaged" setting.
  2792. * Corrected the Hp/Sp regen formulas from Hp/Sp/Spirit Recovery and
  2793. Happy/Peaceful break according to recent forums discussions (formula is
  2794. changed from x*lv +max*lv/500 to lv*(x+max/500). [Skotlex]
  2795. * Added new script function: setiteminfo. Now you can make custom items [Lupus]
  2796. - Updated script function setitemscript(itemID,script,WhichScript)
  2797. now u can set one of 3 item scripts: use/update, equip, unequip
  2798. But it works only if the original item had 3 non empty scriptsin ITEM_DB
  2799. can't fix this issue yet
  2800. 1201,Knife,Knife,4,50,,400,17,,1,3,0xFE9F7EEF,7,2,2,1,1,1,1,{dispbottom "1";},{dispbottom "2";},{dispbottom "3";}
  2801. and... if u've used this function, later @reloaditemdb may crush the map server ^_-
  2802. - Check npc/sample/npc_test_setitemx.txt as example of setiteminfo & setitemscript
  2803. 2007/03/01
  2804. * Corrected raid not doing the "can hit?" check on splash area targets.
  2805. * Fixed the definition of warpwaitingpc so that it allows an optional
  2806. argument (number of people to warp).
  2807. * Modified the Palm Strike packet so the initial hit animation does not
  2808. displays "Miss".
  2809. * Added a check to prevent trades from being commited if either character
  2810. is in final-save state.
  2811. * Checked and cleaned up the online_check code in the char-server. Further
  2812. connections to the char-server are rejected when the account already has a
  2813. connection (previously this would happen only if there was already another
  2814. character IN game, not just waiting on the char-select screen). [Skotlex]
  2815. 2007/02/28
  2816. * Added the source and VC8 project for my experimental mapcache generator;
  2817. it is NOT compatible with eA's current mapcache but uses a brand new format
  2818. that I still have to embed into the map-server [DracoRPG]
  2819. 2007/02/27
  2820. * NPC_AGIUP now boosts flee by 100% and duration is 5+5*lv secs, as stated
  2821. on the Ragnarok Bible.
  2822. * Fixed Soul Breaker's misc part not ignoring flee.
  2823. * Fixed misc attack's flee check being backwards (the less hit%, the more
  2824. chance you had to connect)
  2825. * Corrected the range check in vending.c [Skotlex]
  2826. * Added map & distance check to vending to prevent WPE hacks. [Lupus]
  2827. E.g. buying items from WoE castle
  2828. * Fixed a compiler warning in char_sql\login.c
  2829. * Minor source documentation/cleanup. [FlavioJS]
  2830. 2007/02/26
  2831. * You are allowed to expel guild mates that are not online now.
  2832. * Corrected damage of BloodDrain
  2833. * Moved the "already connected" checks to pc_authok, since a dual login
  2834. doesn't needs to be checked until the new connection is accepted.
  2835. * You are allowed to attack/use skills now when your cloaking level is
  2836. below 3.
  2837. * Small change to Stone Curse that may fix the permanent "semi-stone"
  2838. status.
  2839. * Corrected "taming monster" having your skill-use be stuck if you cancel
  2840. the target selection process.
  2841. * config setting party_show_share_picker now displays the jname of the item
  2842. picked as well.
  2843. * Corrected some typos and small details
  2844. (forgotten bInfiniteEndure [r6487], mysterious '1' in help file, etc)
  2845. 2007/02/25
  2846. * Added Krade's makefile fix for 64bit compilers [ultramage]
  2847. - ref: http://www.eathena.ws/board/index.php?showtopic=136622
  2848. * Minor cleanup/documentation on the script engine. [FlavioJS]
  2849. 2007/02/24
  2850. * Fixed the mob_override_name setting not working on summoned mobs.
  2851. * The server now prints an error message when it the produce_db reaches the
  2852. max number of allowed produce recipes.
  2853. * The NK value of the skill_db has been made a hexadecimal value, and
  2854. expanded to include more information about a skill's damage properties: 0x8
  2855. ignore caster's cards, 0x10 ignore element adjustments, 0x20 ignore
  2856. target's defense, 0x40 ignore target's flee. Note that magic attacks
  2857. always ignore flee, and misc attacks always ignore defense.
  2858. * Autoguard will no longer work on skills that don't take in card
  2859. adjustments
  2860. * utsusemi & bunsinjyutsu no longer work on skills that don't take in card
  2861. adjustments.
  2862. * Corrected damage of the NPC elemental attack skills, Blood Drain and
  2863. Energy Drain
  2864. * Adjusted menu-based skills so you can't reuse the same skill until you've
  2865. dealt with the menu.
  2866. * Adjust autospells so that removing an autospell works when the script of
  2867. the card that removes the autospell is triggered before the script that
  2868. adds the spell.
  2869. * The "requested name of gm-hidden char" warning will not be displayed when
  2870. the object in question is an NPC (since you can use Intravision to do
  2871. this).
  2872. * Venom Knife no longer takes into accounts cards or EDP.
  2873. 2007/02/23
  2874. * Guild expulsion now will fail when the character to be kicked is in a
  2875. guild castle (rather than checking for the character doing the expulsion)
  2876. * pk damage reduction settings now will take effect only on Player VS
  2877. player damage.
  2878. * Fixed produce_db2.txt entries overwriting produce_db.txt ones.
  2879. * Fixed item-granted/plagiarized skills unlocking skill trees when only
  2880. your real learned level should. [Skotlex]
  2881. 2007/02/21
  2882. * Applied a consistent look to all header files (copyright, ifdefs)
  2883. * Minor stuff (typos, socket.c, junk in login reply packet) [ultramage]
  2884. 2007/02/19
  2885. * Fixed @cartlist info message typo [Lupus]
  2886. 2007/02/17
  2887. * Fixed a typo from r9778, allowing non-gm chars to use /kill [ultramage]
  2888. 2007/02/16
  2889. * Fixed the structure of packet 0x6d (new char info). It's the same as the
  2890. one used for packet 0x6b (chars info). [FlavioJS]
  2891. * Updated script commands startnpctimer, stopnpctimer, initnpctimer so you
  2892. can attach a player to them, this is done because the attach/detach
  2893. functions can't be used to attach to a different script than the one
  2894. currently running.
  2895. * Updated the script_command reference with the new flag values of
  2896. [start/stop/init]npctimer.
  2897. * Modified the "guardian" spawn script command, it no longer receives a
  2898. "amount" argument (since that only leads to trouble), if the class is
  2899. negative, it'll pick a random class the same way the monster spawn script
  2900. command does, and if you pass a spawn position with coordinates equal or
  2901. less to 0, a random spot in the map will be taken. However you can't use
  2902. "this" as a map name anymore since these script commands do not need an
  2903. attached player.
  2904. * Guardian spawning will now fail if you attempt to spawn a guardian that
  2905. already exists on the same position.
  2906. * Miracle of the Sun, Moon and Stars can now retrigger to lenghten it's
  2907. effect, and it is cancelled on warp/map-change. [Skotlex]
  2908. 2007/02/15
  2909. * Reverted some of my mobdb code
  2910. * Cleaned up clif_party_info a bit
  2911. * Cleaned up set_reg (the same procedure as get_val) [ultramage]
  2912. * The default packet version is now 8. Clients from November2006 and before
  2913. can no longer get past the char-server unless you change it back to 7.
  2914. * Fixed Storm Gust counter freezing on fourth hit instead of third.
  2915. * Fixed @homstats not taking into consideration that the stat growth
  2916. decimals get discarded on level up (so the real minimum/maximum displayed
  2917. was off).
  2918. 2007/02/13
  2919. * Applied Rayce's dangling pointer fix when returning a temporary npc
  2920. string variable (those starting with .@)
  2921. * Required Weapon, ammo, and skill state are now only checked on begin
  2922. casting, instead of both on begin and end casting.
  2923. 2007/02/12
  2924. * Fixed Resurrect Homunculus and Wedding skills failing. [Skotlex]
  2925. * A bit more work on Ticket #41.
  2926. * Added 'r' (variable reference) to the script argument definitions.
  2927. * Added a simple define for suspitious actions. (empty at the moment)
  2928. * Added clif_clearcart and moved sending cart packets to pc_setoption.
  2929. * clif_parse_ChangeCart checking the player level. [FlavioJS]
  2930. * Fixed clif_parse_GMmessage cutting off messages randomly [ultramage]
  2931. (due to a typo in revision r9778)
  2932. * Fixed Wand of Hermod
  2933. * Corrected Spider Web casting around caster instead of target's position.
  2934. * Corrected a possible crash during login due to checking for the incorrect
  2935. variable (lets pc_calc_status be invoked when it shouldn't)
  2936. * Added bounds checking to map_foreachincell.
  2937. * Opt2 values (poison, blind, and so on) are now resent on warp/map-change.
  2938. * Corrected description of isloggedin script command. [Skotlex]
  2939. 2007/02/11
  2940. * Fixed the inverted behavior of display_skill_fail, caused by r9823
  2941. * Fixed @loadnpc not updating the script_event[] array
  2942. 2007/02/10
  2943. * Fixed clif_party_message using an incorrect buffer length [ultramage]
  2944. * Cosmetic changes to the buildin section of script.c (use defines for
  2945. function names/definitions). [FlavioJS]
  2946. 2007/02/09
  2947. * Updated the 'unit walk' to functions so they stop your attack if it's
  2948. possible to walk.
  2949. * Fixed char server SQL not sending the guild info update to other map
  2950. servers when a new member is added.
  2951. 2007/02/08
  2952. * Modified Spider Web so it can instantly retrap a target, rather than
  2953. idling on the ground waiting for a new target.
  2954. * Cleaned up some the rude-attacked code, being attacked while under spider
  2955. web now triggers rude-attacked. [Skotlex]
  2956. * Added code for SQL that will automatically detect the ping interval
  2957. at startup, and copy-pasted it around the code; removed the conf setting
  2958. * Added a missing null pointer check in clif_parse_globalmessage
  2959. * Fixed the new socket code, which was triggering the inactivity timeout
  2960. on the servers' listening sockets
  2961. * Fixed the TURBO code not working since r4468 (parse func never called)
  2962. 2007/02/07
  2963. * More aggressive cleaning up of the socket code [ultramage]
  2964. - removed unused session_data2 entry in sd
  2965. - added a new create_session() function, helps keep things cleaner
  2966. (although it's ad-hoc and not perfect, since this is C)
  2967. - undid r4978 since it was getting in the way (re-add it if you need it)
  2968. - added defines for the recv, send and parse func pointers
  2969. - added null functions for the three actions, and made create_session()
  2970. calls use those instead of NULL pointers; insignificant penalty and now:
  2971. - since all three funcs are always initialized, removed all those NULL checks
  2972. - removed the efd set, since as the people from the developernet forums
  2973. pointed out, it's only for out-of-band data and NOT for error checking
  2974. (in fact, select() bails out without giving any info if it errors out)
  2975. - reorganized the randomly placed socket.c contents somewhat
  2976. - it'll be a miracle if this works like it should ^^;
  2977. * Modified spider web so that the skill_unit_db flag restrictions may take
  2978. place. [Skotlex]
  2979. * Cleaning up of the socket code [ultramage]
  2980. - Shuffled includes around for files that were leeching off of socket.h
  2981. - Added code that enforces standard shutdown behavior for sockets
  2982. - Wiped out the poorly written parse code from r2211
  2983. * Removed old script bonuses bMatk, bMatk1, bMatk2.
  2984. * Fixed char-server not sending online notification when a party member
  2985. logs in.
  2986. * When skill range by distance is set, the distance checked for is now 5
  2987. cells rather than 3.
  2988. * Fixed bMatkRate bonuses not applying to status earned modifications to
  2989. int/matk. [Skotlex]
  2990. * Removed deprecated console code.
  2991. * Moved CHAT_SIZE back to map.h because log_atcommand uses it on sql
  2992. builds. (moved to clif.c in r9811) [FlavioJS]
  2993. 2007/02/06
  2994. * Cleaned up the script engine's get_val() function [ultramage]
  2995. - changed the long if-spaghetti into a compact switch statement
  2996. - changed its behavior so that it exits if !sd and it requires one
  2997. - upon exiting, it will now ensure that meaningful values get returned
  2998. (the old code had no qualms about returning random junk from memory
  2999. for integer queries, and crashing for string queries)
  3000. - removed many !sd checks since they are done at the beginning now
  3001. * Fixed #lvup having the gm level check backwards.
  3002. * Fixed the stormgust freeze counter going up even if the attack is
  3003. blocked/cancelled.
  3004. * Cleaned up homunc attack request parsing. Homunculus no longer goes into
  3005. auto-attack (ctrl+click) mode since the client does every attack request
  3006. individually.
  3007. * Fixed char-server not sending party status update when a member logs
  3008. on/off.
  3009. * Fixed crash when parsing guild member information change from the
  3010. char-server if the specified character is not found in the guild.
  3011. * Fixed MvP mobs giving exp when killed even if they shouldn't.
  3012. 2007/02/05
  3013. * Fixed @lvup, #lvup not doing a stat reset and lowering your status points
  3014. if you had 0 status points at that time.
  3015. * Fixed MvP exp and item rewards being given even when the mob_dead flag
  3016. specifies you should not receive exp or items.
  3017. * Updated the code so that now a range of a skill is determined by the
  3018. skill's range in the db. Now only skills with less than 5 cells of range
  3019. are melee.
  3020. * The inf2 parameter of the skill_db is now red as an hexadecimal.
  3021. * The super novice self-revive angel will now trigger only once per
  3022. session, if you relog you can have it trigger again. [Skotlex]
  3023. * Fixed the skill tree not always updating when using @allskill
  3024. * Probably fixed the target-change on melee attack setting not working.
  3025. * Moved the deletion of the invincible timer when using skills so that it
  3026. is not deleted for skills such as Ashura (when just selecting a target)
  3027. [Skotlex]
  3028. 2007/02/03
  3029. * Continuing the checking of script buildin functions and stop the script
  3030. execution when an attached player is required but not found.
  3031. This task will be referenced as Ticket #41 from now on. [FlavioJS]
  3032. * Updated the TXT login server's account id checker
  3033. (it was still saying the minimum is 700000 instead of 2000000)
  3034. * Changed the 'getpartyleader' script command so that it returns a map
  3035. name instead of the useless mapindex number. Also fixed it so that it
  3036. doesn't throw a 'args of aFree is not valid pointer' error.
  3037. (although I'm not at all sure that the fix is correct)
  3038. Ref: http://www.eathena.ws/board/index.php?showtopic=137274
  3039. * Removed the silly and misleading 'firewall detected' message
  3040. * Added missing vc6 project file
  3041. * Corrected a lie in the script documentation [ultramage]
  3042. 2007/02/02
  3043. * Fixed the flag parameter not working on npcshopattach.
  3044. * Updated the walk delay code so that it parses homunculus as well as
  3045. players. What this means is that a homunculus walk request won't go ignored
  3046. if it's issued during the 'can't walk delay' after being hit.
  3047. * Added a possible crash protection in clif_skillfail when the player is
  3048. without a connection. [Skotlex]
  3049. * Fine-tuned the global message processing function [ultramage]
  3050. - now detects access-out-of-rfifo attempts (idea from eA++)
  3051. - uses the new CHAT_SIZE define to restrict message lengths
  3052. - detects Frost Joke/Dazzler and gives them more freedom (from Freya)
  3053. - more strict non-conformant message detection
  3054. - logging every problem to the mapserver console
  3055. * Resetting skills will now automatically remove peco, falcon, cart and
  3056. homunculus (vaporize).
  3057. * Fixed random mob picking choosing clones.
  3058. * Fixed critical spots that could be exploited [Skotlex]
  3059. - The define MESSAGE_SIZE was wrong! It is only used for input boxes.
  3060. Therefore now it is only used for Vending, Talkie box and Graffiti
  3061. - Added new define CHAT_SIZE which holds the max length that a client
  3062. can send from the chat buffer
  3063. - Added define msg_len_check which crops incoming client text if it's
  3064. longer than CHAT_SIZE. Added cropping to all incoming messages except
  3065. normal chatting which is already accounted for.
  3066. - Removed variable talkie_mes, this is now handled by sd->message
  3067. - Cleaned up parser functions for /b /lb, gm kick, /shift, /recall
  3068. - Added crash protection to the logging functions when they receive
  3069. a too long string.
  3070. 2007/02/01
  3071. * Restricted global messages to 255 characters (client shows only ~80 anyway,
  3072. wanted to use 127 but frost joke's lines are longer than that ...)
  3073. - prevented using a ~22+kB long message to crash everyone on screen
  3074. - prevented faking the message length to cause an out-of-bounds access crash
  3075. - removed the unneccessary 'buf'ffer (inspiration from jAthena)
  3076. - Ref: http://www.eathena.ws/board/index.php?showtopic=137770
  3077. * Corrected the chat system to allow 8-letter passwords
  3078. * Minor details (pdb file location, improved debug, npc typo) [ultramage]
  3079. * Cleaned up the npcshop(add/del)item script commands, fixed a possible
  3080. dangling pointer crash caused by their improper use of realloc. They no
  3081. longer automatically attach the script to the shop, and they will return
  3082. true/false based on whether the shop was found or not.
  3083. * Added script command npcshopattach to enable attaching/detaching your
  3084. script from any npc shop.
  3085. * Updated doc/script_commands.txt with entries for npcshopitem,
  3086. npcshopadditem, npcshopdelitem and npcshopattach [Skotlex]
  3087. * A followup to r9761, a header include that somehow didn't commit [ultramage]
  3088. * Item search is now a bit smarter. When no item is found with the same
  3089. 'aegis name', then the 'normal' name is used instead.
  3090. * Updated the @/# commands that take an item name so that you can use
  3091. quotes when specifying item names with spaces in them. For example, @item
  3092. "poring card" 1 will work now. Note that only the commands that work on ONE
  3093. item have been updated, those that do an item list need to be updated as
  3094. well. [Skotlex]
  3095. * Updated the old vs6 files to latest, thanks to k3dt for contributing them
  3096. * Reorganized the vs6 project files (update will follow)
  3097. * Fixed an accidental change in r9758 (edit&continue) [ultramage]
  3098. * Added support for mob skill target 'randomtarget', when specified, it
  3099. will pick a random enemy from within the skill's cast range. [Skotlex]
  3100. * Added string function strnlen [ultramage]
  3101. - This thing is useful for removing potential out-of-bounds crashes.
  3102. Had to #ifdef it because some systems implement it, some don't provide
  3103. the header, and some don't have it at all. Adjust/improve as neccessary.
  3104. * Corrected homunculus's aspd being halved after using some aspd adjusting
  3105. skill.
  3106. * Removed the log info message 'created homunc...', and the 'loaded homunc'
  3107. message will only show if the save_log is enabled.
  3108. * When when a party-member levels up, the level change is sent to the
  3109. char-server to update the even-share range values.
  3110. * When joining a gvg_dungeon, the pvp packet will be sent to signal
  3111. versus. With this gvg dungeons should be working correctly now. [Skotlex]
  3112. 2007/01/31
  3113. * Changes in the VS8 project files: [FlavioJS]
  3114. - synchronized the settings between the projects
  3115. - joined all .h and .cpp files and grouped them based on the src subfolder
  3116. - added Debug/Release build targets that build txt/sql only
  3117. - other minor changes
  3118. * Removed graph, httpd and webserver
  3119. * Wiped out the old night code (use svn if you want it) [ultramage]
  3120. 2007/01/30
  3121. * 'Long Range Attacked' mob skill conditions will no longer trigger on
  3122. magic attacks.
  3123. * Corrected char deletion not working (column is called homun_id, not
  3124. hom_id...)
  3125. * Collapsed config settings produce_item_name_input,
  3126. produce_potion_name_input, making_arrow_name_input, holywater_name_input,
  3127. cdp_name_input into a single config produce_item_name_input which uses
  3128. bitmasks to determine what it affects.
  3129. * Updated arrow_decrement to have 3 possible values: Disabled, Enabled, and
  3130. Enabled + Autoguess (gives arrow consumption as appropiate to
  3131. plagiarized/acquired skills).
  3132. 2007/01/29
  3133. * Corrected the homunculus deletion functions so that the homunculus is
  3134. deleted together with the character.
  3135. * Added npc_check_areanpc so that Wand of Hermod will correctly check for
  3136. nearby warps.
  3137. * Emergency avoid now stacks with other speed boost statuses
  3138. * Item skills and skills that bring up a menu now are cleared on death.
  3139. [Skotlex]
  3140. * Added a nasty hack to prevent multilanguage clients from breaking guild notices
  3141. 2007/01/27
  3142. * Made @reloadscript wipe ALL previous mobs that the script engine spawned
  3143. - this way it is manageable via global vars; the other way doesn't allow that
  3144. * Some misc cleanups (typos, formatting, forgotten changelog entry etc)
  3145. * Reformatted and translated atcommand.c
  3146. - in the process improved @marry, allowing spaces after the first comma
  3147. * Simple cleanup
  3148. - removed atcommands @w, @server_date/time, @red, @happyhappyjoyjoy, @shuffle
  3149. - synced gm level of @jailfor, @charjailtime, @npcmove, @chardropall,
  3150. @charstoreall, @send, @mute, @changelook, @exp and @nuke
  3151. - added conf entries for @whozeny, @kamic, @tonpc, @petid, @identify, @adopt,
  3152. @trade, @changelook, @send
  3153. - reorganized the atcommand_athena.conf file a bit
  3154. * Corrected indentation of the atcommand table (editor compatibility)
  3155. * BEGIN atcommand cleanup process
  3156. (according to http://www.eathena.ws/board/index.php?showtopic=111996)
  3157. * Fixed a C language restriction preventing compilation [ultramage]
  3158. 2007/01/26
  3159. * Removed all those useless read-from-GRF features noone would ever use,
  3160. also removed cutincard script command as a consequence [DracoRPG]
  3161. - this is only the beginning of full grfio disparition from map-server
  3162. * Now assassins can equip arrows, and status arrows trigger on any ranged
  3163. physical attack: mimics Grimtooth + status arrow "Aegis bug" [DracoRPG]
  3164. * Added some random Storage Password packets thingies [DracoRPG]
  3165. * Kaite and Assumptio no longer stack. One will remove the other in the
  3166. same way Assumptio and Kyrie do.
  3167. * Made homunculus renaming go through the char-server so it can be
  3168. validated against the allowed characters setting.
  3169. * Added battle config hom_rename so you can enable renaming multiple times
  3170. your homunc.
  3171. * Fixed the normalizing function not sending first classes back to novice
  3172. if they do not have basic skill maxed.
  3173. * Added a wrapper to delete_timer so it prints out from where the
  3174. invocation was done.
  3175. * Fixed Splash attacks consuming 2 ammo on each attack. [Skotlex]
  3176. * Added some more freedom for the txt log paths since 32 wasn't enough
  3177. * Removed log_uptime that was accidentally introduced in r1208 [ultramage]
  3178. 2007/01/24
  3179. * Cleaned up some more the Joint Beat implementation, so the status don't
  3180. take effect until the attack connects. [Skotlex]
  3181. 2007/01/23
  3182. * Fixed int/dex foods using an incorrect icon for their status [ultramage]
  3183. * Changed the night status from 149 to 160, which seems to work so much
  3184. better, and also enabled simplifying the night code.
  3185. * A skill's walk delay will also delay your can-attack time when the skill
  3186. connects, since this is the behaviour of Sonic Blows as described by
  3187. Tharis.
  3188. * Added view_data support to mercenary.*, so that the Homunculus entries
  3189. are no longer required on the mob_db.
  3190. * Added the status icon to NPC_CHANGEUNDEAD and the Flee/Hit foods.
  3191. * Corrected the check that lets you walk when vending/chatting/etc.
  3192. 2007/01/22
  3193. * Reverted the battle_calc_return_damage code as the previous one was
  3194. correct, ninja self-targetted skills CAN be reflected. [Skotlex]
  3195. 2007/01/21
  3196. * Fixed while statements not "reserving" the curly before parsing the test
  3197. expression. [FlavioJS]
  3198. 2007/01/20
  3199. * Fixed some joker's code trying to dereference a null pointer
  3200. * Fixed the server not reacting properly to atcommands/charcommands when using
  3201. langtype 10/11 (the |XY codepage indicator wasn't being trimmed) [ultramage]
  3202. * Updated @homshuffle so that the skill tree and current skill points are
  3203. not messed up.
  3204. 2007/01/19
  3205. * Fixed the label dup code, it now works correctly with const.txt switch
  3206. labels.
  3207. * Reverted the dup-label check code since it has a bug that needs to be
  3208. fixed first (it fails to recognize const.txt values) [Skotlex]
  3209. * Fixed a client crash during SQL char selection if you for some reason had
  3210. more than 9 characters in your account (thanks to Daegaladh) [ultramage]
  3211. - note that the TXT version already guards against this since long ago
  3212. * Merged Rayce's cleanups of the script engine that account for duplicate
  3213. labels, non-numeric labels and makes the engine case-insensitive towards
  3214. keywords like if/case/switch/etc/
  3215. * Added the icons for the Food boosts (need packet version 8 to get them,
  3216. as these icons will just display Gloria, or crash you, when used on older
  3217. clients).
  3218. 2007/01/18
  3219. * Modified the Storm Gust freeze counter code. It now takes into
  3220. consideration the ID of the skill before increasing the counter, which
  3221. should effectively yield the closest aproximation to official (even though
  3222. the counter will reset if you step out of a SG and into another one, we do
  3223. not know yet what should happen in such a case).
  3224. * Added @homshuffle. It recalculates the homunculus stats, as if the homunc
  3225. was sent back to level 1, and then releveled. This command is mean to help
  3226. fix those previously created Homunculus that are much stronger than they
  3227. should be.
  3228. * Fixed overflow on the mob delay adjustment setting.
  3229. * Fixed characters being unable to trade again if you attempt a trade on
  3230. someone who is on storage/npc when you accept the trade. [Skotlex]
  3231. * Fixed a crash when a castle from [0..MAX-1] wasn't in the db [ultramage]
  3232. 2007/01/17
  3233. * Corrected atcommand @homstats so it shows the correct minimum/maximum
  3234. possible values.
  3235. * Simplified the hom level up function, now decimal stats are no longer
  3236. stored. This should correct eA's homunculus on average being much stronger
  3237. than Aegis's.
  3238. * Cleaned up pc_allskillup, @allskills should work correctly now.
  3239. 2007/01/16
  3240. * Added atcommand @homstats so you can check your homunculus stats and
  3241. compare them to the minimum/maximum values that you could have at your
  3242. current level. This command is meant to help figure out if homuncs are
  3243. indeed getting a faster stat growth than they should have.
  3244. * Fixed the next invoked skill after AbraCadabra not having requirements
  3245. even when it is a different skill than the one chosen by AbraCadabra.
  3246. * Implemented Intravision as it should be. Thanks to HelloKitty2 for the
  3247. captured packets.
  3248. * Some cleaning on the mob_ai to enable mobs to run away from their current
  3249. target when they are rude-attacked by them.
  3250. 2007/01/15
  3251. * The NPC elemental attacks will display a skill animation again.
  3252. * Mob instant cast skills will use their adelay now.
  3253. * Spirit of Wizard won't work on Ganbantein
  3254. * The pc normalize job function will consider you as novice if you don't
  3255. have maxed out basic skill.
  3256. * Cleaned up pc_calc_skilltree and related functions so that the id is left
  3257. as 0 when you can't raise the skill even if you meet the prerequisites.
  3258. This is to prevent raising quest/soul/marriage skills through packets.
  3259. * Slaves should lock unto their master's target even if they are not
  3260. attacking yet (eg: in chase mode)
  3261. * Updated the Summon Slave skill to use the slave distance define as valid
  3262. distance to spawn from master.
  3263. * Fixed Joint Beat's speed penalty.
  3264. * Added a pc_authok check to prevent the case in which somehow another
  3265. character of the same account manages to log in as well.
  3266. * The pc normalize job function will now recognize you as a novice if you
  3267. don't have NV_BASIC maxed.
  3268. * Accessories will now by default go into the rigth-side rather than the
  3269. left-side of the equip window.
  3270. * Added a check in the mob_ai_subhard function to make mobs unlock targets
  3271. which have their invincible timer set.
  3272. * Probably fixed the registration flood protection code being broken.
  3273. * Joint Break should only re-start the bleeding timer when it currently IS
  3274. the one that causes bleeding. [Skotlex]
  3275. 2007/01/12
  3276. * Cleaned up the ip rules/DDoS section of the code. (the allow,deny and
  3277. deny,allow cases were switched)
  3278. * Fixed autotrading characters not being able to reconnect. Seams like I
  3279. misunderstood how id_db and pc_db are used. [FlavioJS]
  3280. 2007/01/11
  3281. * Fixed the script engine not parsing strings in multibyte charsets
  3282. correctly (should have been done in r9532).
  3283. * Console plugin working when built as Windows native. [FlavioJS]
  3284. 2007/01/10
  3285. * Combined most of the txt/sql mobdb reading code [ultramage]
  3286. - mob.c is now some 10kB less redundant (now using a common function)
  3287. - automatically filled in some missing parts of the txt part
  3288. (view_range_rate, chase_range_rate, line counting, etc)
  3289. - also cleaned it up significantly
  3290. 2007/01/09
  3291. * Changes to script buildin functions: [FlavioJS]
  3292. - functions checking if a player is attached as soon as possible.
  3293. - functions that required a player attached and would crash if none was
  3294. there terminate the script now. (others keep the current behaviour to
  3295. maintain full backward compatibility)
  3296. - removed the unused flag argument in guildskill.
  3297. - bonus,bonus2,bonus3,bonus4 use the same function now (remains the same
  3298. script-wise)
  3299. - added an optional parameter to setcart,setfalcon,setriding so it's
  3300. possible to remove the cart/falcon/mount or select a specific cart
  3301. - other cleanups
  3302. 2007/01/08
  3303. * Hotfix: Freeing of freed pointer when replacing script functions. [Lance]
  3304. * Unimportant cleanups
  3305. * Moved the plugin.def file to the plugins dir and added console.def
  3306. * Found the reason why the console didn't want to run on windows
  3307. (Microsoft uses !0 and unix uses 0 in pipe_create)
  3308. * Commented out a login_log call (sql doesn't implement that function!)
  3309. * Fixed an old debug message displaying %d instead of a number
  3310. * Silenced the plugin export messages during startup [ultramage]
  3311. * Added a precompiler error when the shutdown defines are not found.
  3312. * Added parse_console to the plugin API.
  3313. * Added plugin for parsing the console. (working with cygwin)
  3314. * Copied the parse_console code form login txt to login sql and char.
  3315. * Added propper plugin version compatibility tests.
  3316. * Better output when a plugin fails to load. [FlavioJS]
  3317. 2007/01/07
  3318. * Fixed the sleep timers not being removed when the an npc was being
  3319. unloaded and when reloading scripts. [FlavioJS]
  3320. * Updated the documentation to match the agitcheck() behavior
  3321. * Undid the memset->malloc_set replacement
  3322. (let's be compatible and leave such optimizations to system devs, ok?)
  3323. * Small reformatting of conf-tmpl
  3324. * Renamed atcommand_sub to is_atcommand_sub (charcommand too)
  3325. * Re-added the duplicit nj/gs name messages in msg_athena [ultramage]
  3326. (the code was using those and they look better in that position)
  3327. 2007/01/06
  3328. * Now winsock 2 is required.
  3329. * Cleaned up do_close and socket_init a bit.
  3330. * Fixed the weight icon dissapearing and reappearing when attacking.
  3331. (introduced by me at r9600, fix based on ultramage's code) [FlavioJS]
  3332. 2007/01/05
  3333. * Also discarded some veeery old utils code that has got equivalents
  3334. in the std libs (and therefore is silently causing a nasty collision).
  3335. * Major reconfiguration of the VS8 project files. [ultramage]
  3336. - Removed the migration binding to a VS71 template.
  3337. - Disabled the setting that defines char -> unsigned char (non-conformant).
  3338. - Switched all projects to use the common C runtime library DLL
  3339. instead of linking the static version to each exe.
  3340. - Enabled edit&continue on the TXT version (SQL already had it).
  3341. - Reconfigured the linker to use only the really required dependencies.
  3342. - Enabled full optimization and whole program optimization,
  3343. with additional speed-improving settings for the release build.
  3344. - Set the compiler/linker to produce detailed debug information even for release builds
  3345. (no performance penalty because the debug info is stored in a separate .pdb file!).
  3346. - I tested all 4 build combinations and it works for me, and it should work for you.
  3347. - There is still one very useful thing missing - setting the working dir to '..'.
  3348. I don't know how to do that, tho' since VS stores it in a separate user file.
  3349. 2007/01/04
  3350. * Fixed old @go bug (it ignored einbech) [Lupus]
  3351. * Added Au{R}oN's updated version of the effect list.
  3352. * Completed adding of the new cities to @go.
  3353. > that function is ugly and needs a complete rewrite, asap.
  3354. * Updated thor volcano warps.
  3355. * Updated /doc from jAthena. [ultramage]
  3356. 2007/01/03
  3357. * Added Rachel and Veins to the list of @go destinations.
  3358. * Added a first approximation of warps for the new maps (by $ephiroth).
  3359. * Now the server will by default perform symmetric adding of friends. [ultramage]
  3360. > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749)
  3361. * Fixed TURBO FIFO defines.
  3362. * Moved refusal of a known packet versions to clif_parse_WantToConnection
  3363. and made it check for non-player object with that id.
  3364. * JK_JOINTBEAT as described in:
  3365. http://www.ragnainfo.net/wiki/index.php/Vital_Strike
  3366. Although not clear, it's being assumed that the 2x damage is only for the
  3367. break neck ailment. [FlavioJS]
  3368. * Modified the useless error message in atcommand_effect.
  3369. * Silenced the debug message in socket.c that's been freaking people out.
  3370. * Added support for text/comments at the end of monster spawn lines (<tab> required)
  3371. * Added the official behavior of monsters regaining full hp when they morph.
  3372. > info at http://www.eathena.ws/board/index.php?showtopic=130103
  3373. * Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements for soullinked skills.
  3374. > TODOs at http://www.eathena.ws/board/index.php?showtopic=130788
  3375. * Re-applied change r9593 that got accidentally reverted by r9595. [ultramage]
  3376. 2007/01/02
  3377. * Fixed SC_JOINTBEAT not doing crit damage for the Neck Break ailment.
  3378. * Gospel sends the buff message to the affected player. [FlavioJS]
  3379. 2006/12/31
  3380. * Made HSCR bypass both Guard and Shield Reflect using the dirty way [DracoRPG]
  3381. > cleaner way would need to rethink the whole skill's implementation
  3382. * Added more info when npc_scriptcont tries to continue a different script.
  3383. * Refer to http://www.eathena.ws/board/index.php?showtopic=130285
  3384. - Renamed pc_checkweighticon to pc_updateweightstatus and cleaned it.
  3385. - Updated pc_is50overweight to use battle_config.natural_heal_weight_rate.
  3386. - Added 90% weight check when attacking.
  3387. * Updated getitem and guardian entries in script_commands.txt.
  3388. * Fixed getitem trying to get <character ID> from the wrong argument.
  3389. * Now getitem can be run on scripts without a player attached if
  3390. <character ID> is specified.
  3391. * Now the two last arguments of guardian are optional and independant of
  3392. each other ("<event label>" and <guardian index>). This way the previous
  3393. implementation and script_commands definition are still valid code.
  3394. * Now buildin function names and argument definitions are checked for
  3395. validity before adding the function to the script engine.
  3396. Argument definitions follow the pattern: (v|s|i|l)*\?*\*? [FlavioJS]
  3397. 2006/12/30
  3398. * Reverted the packet structure changes to mmo_char_send006b in r9588 (was
  3399. using the wrong exe for the final tests) except for the bug that I was
  3400. originally fixing. [FlavioJS]
  3401. 2006/12/29
  3402. * Skill use is now cancelled when you use it while cloaking, and the
  3403. uncloaking process warps you. [Skotlex]
  3404. 2006/12/28
  3405. * Reapplied Skotlex's socket.c changes from r9587 and r9582. :S
  3406. * Part 3 of TheUltraMage's socket cleanup.
  3407. * Fixed the packet structure in mmo_char_send006b for PACKETVER 8.
  3408. * Removed search_str from add_str (add_str already searches for the
  3409. string).
  3410. * Native script words like do,while,for,... are case insensitive now.
  3411. * Changed SCRIPT_HASH_SIZE to 1021 (prime hash sizes give better
  3412. distributions).
  3413. * Added alternative hash implementations to the script engine (to try out
  3414. later). [FlavioJS]
  3415. * Added a func_parse invocation when an invalid socket is found, so that
  3416. the underlying code (char/map/login) can handle it and free any related
  3417. resources.
  3418. * Added some skill effect packets so it displays a generic effect for
  3419. unknown targetted skills.
  3420. * Some cleaning in do_sendrecv, added error messages when handling an
  3421. incorrect socket. [Skotlex]
  3422. 2006/12/27
  3423. * Fixed Super Novice 99%+ invincibility triggering when
  3424. the character dies in a GvG area. [blackhole89]
  3425. * Updated SQL Files [Toms]
  3426. * Fixed a bug which makes the group heal bonus be applied as many times as
  3427. the item is in that group.
  3428. * Applied Rayce's suggestion to improve the script hash size usage. eA now
  3429. uses a hash of 1024.
  3430. * Full Buster's auto-blind chance is now reducable by stats/items.
  3431. 2006/12/26
  3432. * Updated Charge Attack's damage equation as per the only source I've seen
  3433. of it so far.
  3434. * Now Guardians/Emperium can't hit /be hit if their current map isn't a
  3435. gvg_castle or woe is off. This enables "localized" WoE by removing/setting
  3436. the mapflag gvg_castle on the castles where you want WoE to take effect
  3437. (note that even though normal players can't be hit on non gvg_castle maps,
  3438. normal mobs can still be killed in such maps, you'd still need to modify
  3439. the WoE scripts to use this kind of feature)
  3440. * TK_MISSION will now pick any mob from the DB as long as it is not a boss
  3441. type and it gives base exp.
  3442. * Fixed the double-stone issue when hitting a petrified character.
  3443. [Skotlex]
  3444. 2006/12/25
  3445. * Fixed buildin_getscrate, thanks Trancid.
  3446. * Applied part 1 of TheUltraMage's socket cleanup.
  3447. "Basically what I did was perform simple one-liner substitutions for
  3448. ugly repetitive blocks of code. The most apparent are the send/recv
  3449. code and the other basic socket calls."
  3450. * flush_fifo is non-blocking now. I guess best effort is good enough...
  3451. * Copied header files from vcproj-7.1 files to vcproj-8 files.
  3452. * Applied the rest of Rayce's suggestions and fixes
  3453. (http://www.eathena.ws/board/index.php?showtopic=129185)
  3454. * warn_cmd_no_comma, warn_func_no_comma, warn_cmd_mismatch_paramnum are
  3455. now warn_func_mismatch_paramnum and it only prevents showing the error,
  3456. as it was probably intended in the first place. (correct me if i'm wrong)
  3457. * Merged the parsing of function calls in the script engine, removing the
  3458. parse_cmd hackery, and made "heal (.@val+rand(0xff))&0xff,0;" valid
  3459. again. [FlavioJS]
  3460. 2006/12/24
  3461. * Small fix for changeset 9539 (support for PACKETVER above 7) [KarLaeda]
  3462. 2006/12/23
  3463. * Fallback for parenthesis argument lists in the script engine.
  3464. "func (exp) , ..." is valid again.
  3465. * Moved "#include <limits.h>" to cbasetypes.h to ensure it's included
  3466. before checking if UINT_MAX has been defined.
  3467. * Minor changes in pc_readdb related to max_level being unsigned.
  3468. [FlavioJS]
  3469. 2006/12/22
  3470. * Simplified function agitcheck so it isn't crash prone. Now it takes no
  3471. arguments, and will return whether WoE is on or not.
  3472. * Now when you specify a max level beyond what the exp table has, the last
  3473. entry of the exp table will be duplicated to fill in the remaining levels.
  3474. [Skotlex]
  3475. * Change strncpy to memcpy when parsing switches in the script engine
  3476. since it's guaranteed to be a word of that size (skip_word).
  3477. * Made scriptlabel_db duplicate the key. When str_buf is reallocated, the
  3478. keys in scriptlabel_db could become invalid, causing a crash in
  3479. npc_convertlabel_db.
  3480. * Now npc_convertlabel_db clears scriptlabel_db after using it.
  3481. * parse_script has an extra parameter options. At the moment it only
  3482. indicates if scriptlabel_db should be used or not.
  3483. * Fixed "UINT_MAX undeclared" on systems that don't declare it in limits.h
  3484. [FlavioJS]
  3485. 2006/12/21
  3486. * Applied Rayce's suggestions and fixes to the script engine
  3487. (http://www.eathena.ws/board/index.php?showtopic=129185)
  3488. * Some cleaning to the character deletion code.
  3489. * Changed a certain snprintf to strncpy, which should fix the problems with
  3490. parsing switches in the script engine.
  3491. * Added back cropping the attack delay to attack motion for those weird mobs
  3492. that have a aDelay less than their aMotion time. [Skotlex]
  3493. * Added a 1-node cache to db. Removed party_cache and guild_cache since
  3494. now the database has a cache.
  3495. * Fixed "warning: comparison is always false due to limited range of data type"
  3496. by restricting script words to ASCII characters only.
  3497. * Moved md5calc to common. [FlavioJS]
  3498. 2006/12/20
  3499. * Fixed ISSPACE and ISALPHA casting their returned value to a char, which
  3500. can really mess up the scripting engine when the returned value is true,
  3501. yet casted to false.
  3502. * Moved the strip unequip code to before deleting the timer, this fixes
  3503. trying to "re-strip" someone causing the skill to fail and on top of that
  3504. terminate their current strip effect.
  3505. * Reading of TK Mission variables will now happen if you are a TK-class
  3506. character regardless of whether you know TK_MISSION or not. Should fix
  3507. being able to reset skills to reset your Mission data.
  3508. * Added an ugly work around to the issue of skills with additional effect
  3509. causing opt1 status when they have just terminated them (in short, you
  3510. shouldn't be able to hit someone with, say, sleep, and then have the same
  3511. skill cause them stun, since both are opt1 values). [Skotlex]
  3512. * Now root script functions calls can have parenthesis (will take any
  3513. parenthesis after the function as the start of the argument list).
  3514. - This means "func (exp),exp;" isn't valid anymore.
  3515. * Replaced our fix for "mes ();" crashing by jA's version.
  3516. * Merged the fix for & having the same precedence as << and >> from jA.
  3517. * Merged the C_OP3 operator from jA: test ? if_true : if_false
  3518. * Changed the script source from unsigned char* to const char*.
  3519. * Updated plugins Makefile. [FlavioJS]
  3520. 2006/12/19
  3521. * Reverted the mob ThinkTime update, that field is again aDelay as it
  3522. apparently should be. [Skotlex]
  3523. * Cleanups or minor changes.
  3524. * Now addtick_timer invokes settick_timer, so keep an eye for whatever
  3525. timer issues it's supposed to have.
  3526. * Removed the flush_fifo from clif_parse_TickSend until the socket
  3527. problems are fixed. [FlavioJS]
  3528. 2006/12/18
  3529. * Updated POS2 macros. The 6th byte is subx0 and suby0. [FlavioJS]
  3530. * Added hom_setting to specify which homunculus 'quirks' are in effect. The
  3531. default activates all of them, if you set them to 0 then homuncs will not
  3532. be treated in any special matter, pretty much like standard mobs. if I
  3533. missed any 'quirky' homunc behaviour from it, report it so it can be added
  3534. to the list.
  3535. * Made flooritem_lifetime a int so you can specify much longer life times
  3536. (the default of 60k was already very close to the max of 65k)
  3537. * Removed monster_ai 0x80 since it's now handled by hom_setting.
  3538. * When walking into a Guild Dungeon your pvp_points will be set to 5 so you
  3539. have to die twice before being warped out.
  3540. * If jobchanging while disguised, the disguise will be removed, since it
  3541. can't be kept and still calculate correctly the new job class to use.
  3542. * Fuuma shurikens are now unbreakable code-wise (like all maces, books,
  3543. etc)
  3544. * Applied Meruru's patch to increase speed of easy path seeks. [Skotlex]
  3545. * Cosmetic changes to db.
  3546. * Fixed the unused MAPINDEX_AUTOADD section in mapindex.c (mapindex.h
  3547. wasn't being included) [FlavioJS]
  3548. 2006/12/16
  3549. * Moved packet_len_table values to packet_db[SERVER].
  3550. * When an invalid packet_ver is found, all it's entries are discarted
  3551. intead of just stopping the parsing.
  3552. * Increased MAX_PACKET_DB to 0x300 and added a warning for when packet ids
  3553. greater than MAX_PACKET_DB are found. [FlavioJS]
  3554. 2006/12/15
  3555. * There will be now warnings printed when a shop sells an item which's buy
  3556. price is 20z, since those usually are "rare" items with no buyying price
  3557. set. Note that this reports one fake, and that is the selling of a certain
  3558. shuriken that indeed costs 20z.
  3559. * Most likely fixed client crash when xmas/wedding status runs out.
  3560. 2006/12/14
  3561. * Removed "mobs being enemies of each other all the time" because, even
  3562. though mobs can hit each other as they should, they will refuse to use
  3563. support skills on enemies, which breaks several of their skills. Mobs can't
  3564. both help and attack someone tagged as enemy!
  3565. (I guess eA is just too smart to emulate Aegis's sloppy coding)
  3566. * Cleaned up the strip code (GS_DISARM, rogue skills).
  3567. * Cleaned some the MD_DETECTOR code.
  3568. 2006/12/13
  3569. * Additional damage bonuses (True Sight, EDP, Assassin Link, Crusader Link,
  3570. Card skill damage bonuses) are now applied independently of each other,
  3571. which lets them stack. [Skotlex]
  3572. * Modified flush_fifo so the code do what is written in the comment [Toms]
  3573. * Modified flush_fifo so you can decide whether to block the current thread
  3574. or not until the data is sent. The server-tick reply no longer blocks the
  3575. current thread.
  3576. * Fixed mobs being unable to attack anything...
  3577. 2006/12/12
  3578. * Reverted the knockback update since it isn't working right with all
  3579. skills.
  3580. * Mobs now by default are "everyone's" enemy, so mobs are able to hit each another.
  3581. * Moved "unsetting" the angry mode from the mob_ai to the mob_damage
  3582. function, where it'll work regardless of who hits the mob.
  3583. * Modifed a bit the clif_change_look function, it should fix crashes with
  3584. the Xmas sprite when changing maps.
  3585. * Fixed skills displaying a 32k damage when used while disguised. [Skotlex]
  3586. * Minor changes to ers.
  3587. * Removed unused/hardly used cbasetypes typedefs.
  3588. * Updated txt-converter's makefile to include utils.o [FlavioJS]
  3589. * Updated npc_event_dequeue to free up your current npc information, and
  3590. not just the npc_id.
  3591. * Modified the skill damage packet and the knockback packets to mimic aegis
  3592. sent packets for such skills.
  3593. * Removed CART_MASK as OPTION_CART can take care of that.
  3594. * Moved the OPTION_MASK define to status.h
  3595. * Reverted the knockback implementation to use clif_slide instead of
  3596. clif_fixpos [Skotlex]
  3597. 2006/12/11
  3598. * Added various missing checks when parsing several guild actions.
  3599. * made @hominfo display the six basic stats.
  3600. * Simplified the MD_DETECTOR checks, since now all insects/demons have it
  3601. set, and it's no longer needed to check for the race. [Skotlex]
  3602. * Updated sql files [Playtester]
  3603. * Spirit of Sin and Enchant Deadly Poison now stack.
  3604. * Fixed skill damage card bonuses not working on magic skills.
  3605. * Moved the setting of sd->npc_id = 0 in npc_dequeue to the beginning,
  3606. since this function is called when a script is cancelled
  3607. * Made homunc's speed be recalculated when you respawn it from rest state.
  3608. [Skotlex]
  3609. * Fixed @revive not reviving the good char [Toms]
  3610. 2006/12/10
  3611. * Added more helpful messages when packet_ver=-1.
  3612. * Joined normal and MINICORE's main function.
  3613. * Put malloc_init() first and malloc_final() last as it's needed for Show*
  3614. in display_title(). [FlavioJS]
  3615. 2006/12/09
  3616. * Reversed revision #9415 (messages with server_tick field being sent as
  3617. soon as possible) since it didn't fix the client synchronization issue.
  3618. * clif_parse_TickSend is sent immediately so the client gets accurate
  3619. "pings". [FlavioJS]
  3620. 2006/12/08
  3621. * Now you can request a trade regardless of the state of the target trader.
  3622. [Skotlex]
  3623. * The trade will now fail when you accept it and either character is
  3624. speaking with an npc, vending or has the storage open. [Skotlex]
  3625. * Fixed crash when looters became full. [Skotlex]
  3626. * Autospell delay time is now the skill's full delay. [Skotlex]
  3627. 2006/12/07
  3628. * Fixed ladmin's linux compilation and moved some platform specific
  3629. defines to cbasetypes.h [FlavioJS]
  3630. * Cleaned up implementation of NPC_EMOTION/NPC_EMOTION_ON. Now val0 is the
  3631. emotion, val1 sets the mode, val2 adds to the mode, val3 removes from the
  3632. mode. val4 asks to remove the previous mode change, otherwise it will stack
  3633. with the changes from the previous skill call. [Skotlex]
  3634. * Updated the mob skill reading code so it accepts hexadecimals in the
  3635. 'val' fields. Also, it will optimize the NPC values so that when you set a
  3636. mob's mode to their db mode, it will just remove the previous mode.
  3637. [Skotlex]
  3638. * NPC_EMOTION_ON will now automatically move it's new mode to val2 since it
  3639. should add a mode, and if this mode doesn't has the aggressive bit, it will
  3640. remove it. See this "ancient" hypothesis on how NPC_EMOTION_ON should work
  3641. for the details: [Skotlex]
  3642. http://www.eathena.ws/board/index.php?showtopic=63606
  3643. * Fixed npc commands atcommand & charcommand not working with a custom
  3644. command_symbol [Toms]
  3645. 2006/12/06
  3646. * Changed the order of view-change packets for SC xmas/wedding, should fix
  3647. crashing if you change into xmas suit while in fighting stance. [Skotlex]
  3648. * Renamed the mob mode Cast-Sensor Melee to Cast-Sensor idle since these
  3649. mobs really should only be cast-sensing when they are not after another
  3650. target. [Skotlex]
  3651. * Added a Aegis Mob Type -> eA Mode table conversion to the mob modes doc.
  3652. [Skotlex]
  3653. * Updated sql-files [Playtester]
  3654. * Gave a minimum think time to the dummy mob and to clones. [Skotlex]
  3655. * Moved setting a mob's chase/attack states from the mob_ai to unit_attack
  3656. and unit_walktobl for better state-handling precision. [Skotlex]
  3657. * Cleaned the change-target/cast-sensor code to account for the new mob
  3658. modes. [Skotlex]
  3659. * Updated the doc explaining mob modes. [Skotlex]
  3660. * When GM skill unconditional is set, the arrow state of the skill will be
  3661. calculated, this fixes all skills getting stuck on arrow-type after you
  3662. attack normally. [Skotlex]
  3663. * Alchemist famous potions get their 50% bonus on top of the natural
  3664. bonuses as a 1.5x type of bonus. In other words, now alchemist potions
  3665. will really heal 50% more than when you use the non-famous potion
  3666. version.
  3667. [Skotlex]
  3668. * Messages with server_tick field are sent as soon as possible now.
  3669. This might fix client synchronization issues.
  3670. * Added StringBuf_Vprintf to utils.c and changed the showmsg.c buffer.
  3671. Now it uses a static buffer and a StringBuf when needed (a debug message
  3672. indicating the static buffer needs to be increased is shown). [FlavioJS]
  3673. 2006/12/05
  3674. * The can log value now is "reset" when you die allowing you to
  3675. respawn/quit instantly after death. [Skotlex]
  3676. * Fixed sc data load failing when using charsave_method: 1 [Skotlex]
  3677. * Fixed the interserver link reserve size being 8 times instead of 1/8th
  3678. the default size. Changed it to be 1/4th as well. [Skotlex]
  3679. * Found the position of emblem_id in packet 1b6.
  3680. * Moved START_ACCOUNT_NUM and END_ACCOUNT_NUM from login.h to mmo.h and
  3681. changed clif_guess_PacketVer to use that.
  3682. * Made the script engine big-endian compatible.
  3683. * Commented out the remnants of ladmin packet parsing in map-server.
  3684. * Added a warning when a player has an invalid packet version (shouldn't
  3685. happen). [FlavioJS]
  3686. 2006/12/04
  3687. * Fixed HVAN_INSTRUCT int bonuses. [Skotlex]
  3688. * Renamed mob_db's "adelay" column to ThinkTime and made the mob.c code use
  3689. it instead of MIN_MOBTHINKTIME. The adelay of mobs will also be equal to
  3690. their thinktime unless their thinktime is less than their attack motion.
  3691. [Skotlex]
  3692. * Added a static +100 Hp to ninjas and gunslingers since it's required for
  3693. the best approximated hp growth algorythm. [Skotlex]
  3694. * Knockback will again use the fixpos packet instead of the slide packet
  3695. (slide was introduced with high jump) since Aegis captures say that packet
  3696. is still used for knockbacks. [Skotlex]
  3697. * Repairing items via scripts no longer displays "item has been repaired"
  3698. [Skotlex]
  3699. * Status Recovery again makes mobs unlock their current target. [Skotlex]
  3700. * Moved requesting party/guilds from the char-server from pc_authok to
  3701. pc_reg_received, since map_nick2sd and map_getallsd won't work until the
  3702. characters are authentified. Also removed the guild master setting from
  3703. clif_parse_LoadEndAck to pc_reg_received since guild master setting will
  3704. work there. [Skotlex]
  3705. * Fixed homun hunger timer being started on login even when hom is
  3706. vaporized/dead. [Skotlex]
  3707. * Fixed mvp exp attacker bonus applying incorrectly. [Skotlex]
  3708. * Removed duplicate msg_athena.conf entries 619 and 620 for
  3709. Ninja/Gunslinger.[Skotlex]
  3710. * Fixed the txt->sql converter not escaping character names before saving
  3711. them. [Skotlex]
  3712. * Fixed a pet's level not resetting to their db level when you enable pet
  3713. leveling and later on decide to turn it off. [Skotlex]
  3714. * Fixed restricted equipment not updating your view info after they are
  3715. unequipped. [Skotlex]
  3716. * Removed a bunch of extra text/checks when ignoring characters (/ex) when
  3717. Aegis does none of these checks. /inall now wipes your ignore list (it does
  3718. this on Aegis, too). [Skotlex]
  3719. 2006/12/03
  3720. * If somehow a player logs out and it's saved with 0 hp, on login his state
  3721. will be set to dead as well so he can respawn (otherwise that leads to a
  3722. stuck char) [Skotlex]
  3723. * Fixed even share exp flutuating as described in:
  3724. http://www.eathena.ws/board/index.php?showtopic=126139
  3725. thanks to TheUltraMague for the fix.
  3726. * Made ers double frees report as missing entries on destruction.
  3727. * Only one swap function (in cbasetypes.h) is used. [FlavioJS]
  3728. 2006/12/02
  3729. * Added buildin_checkvending and buildin_checkchatting. [Lance]
  3730. * Enabled atcommand parsing for clients with Korean langtype and version. [Lance]
  3731. * Added missing min/max definitions to cbasetypes.h, needed for the @send change.
  3732. * Replaced @send with the version I use for testing packets.
  3733. Can display the packet length. Supports dynamic packets, quoted strings
  3734. with escaped characters and fixed/variable length, and normal/hex
  3735. byte/word/long data types. The number of fields is not limited, but it
  3736. automatically stops parsing when the packet is full. [FlavioJS]
  3737. 2006/12/01
  3738. * Fixed passive mobs becoming increasingly unlikely to retaliate to attacks
  3739. after they got inflicted by a disabling status change. [Skotlex]
  3740. * Changed the "is_boss" define to check for mode MD_BOSS instead of giving
  3741. mvp exp. [Skotlex]
  3742. * Updated sql files [Playtester]
  3743. * Fixed txt-converter compilation. [Skotlex]
  3744. * STRECOVERYno longer makes a mob unlock it's target like Cure does.
  3745. [Skotlex]
  3746. * Fixed GS_GROUNDDRIFT consuming ammo when it's time expires (so it was
  3747. consuming 2 grenades instead of one). Also added a "explosion effect" when
  3748. their time runs out. [Skotlex]
  3749. * gvg_dungeon mapflag won't set pvp related mapflags anymore, pc_dead will
  3750. force pvp ranking gain/loss on gvg_dungeon maps now. [Skotlex]
  3751. * Now when coming out of hiding land-effects will trigger on the character.
  3752. [Skotlex]
  3753. * Fixed land effects not taking effect inmediately on map-load when the
  3754. invincible timer is disabled. [Skotlex]
  3755. 2006/11/29
  3756. * Probably fixed the Segmentation Faults we've been having.
  3757. Description: A player quits and it's session is freed and set to NULL,
  3758. but the char server already sent a packet with player information
  3759. (registers, storage, ...). If a message is sent in consequence of
  3760. updating that info, a segmentation fault happens because
  3761. session[sd->fd] is already NULL.
  3762. Fix: make shure the session of the target player is valid before
  3763. processing the rest of the char server's message.
  3764. * Some minor cleanups. [FlavioJS]
  3765. * Fixed the new npc parsing code not accounting for windows-style line
  3766. terminators, which as a side effect messed up mapflag parsing if the file
  3767. had windows-style terminators, which coincidentally was the case for the
  3768. nopvp file, which unfortunately meant that all towns became pvp! [Skotlex]
  3769. * HT_PHANTASMIC no longer knocks back even when it misses. [Skotlex]
  3770. * Earned exp by dead homuns will now be lost (same treatment as earned exp
  3771. from players that died) [Skotlex]
  3772. * Now gvg_dungeon mapflag will activate the other mapflags which are
  3773. required: pvp, pvp_nocalcrank and pvp_noparty/pvp_noguild (they are forced
  3774. to off if gvg_dungeon is on and viceversa) [Skotlex]
  3775. * Cleaned the pvp ranking code so that it takes effect even if
  3776. pvp_nocalcrank is active WHEN the map is a gvg_dungeon one. [Skotlex]
  3777. * Now homuncs and their masters are the only ones who can use support
  3778. skills on them. [Skotlex]
  3779. * Some cleaning on the homunc speed calculating code, so that it correctly
  3780. uses the default walk speed if the player has no speed yet. [Skotlex]
  3781. 2006/11/28
  3782. * Fixed a typo which made the wedding_ignore_palette setting not work when
  3783. you log on with them equipped [Skotlex]
  3784. * Applied The Ultra Mage's patch to use strict npc header formatting
  3785. parsing. Updated the relevant stock scripts/mapflags that didn't conform to
  3786. the standard. [Skotlex]
  3787. * Moved the blocking of casting supportive skills on homunculus from
  3788. battle_check_target to status_check_skilluse as bct is not invoked unless
  3789. the skill is offensive (or party/guild only) [Skotlex]
  3790. * Cleaned up status_calc_bl_sub_hom, fixed recasting dex/str/vit/int
  3791. bonuses skills making their atk/def/mdef stack with itself over and over.
  3792. [Skotlex]
  3793. * Updated sql files [Playtester]
  3794. * Changing setting the Guild Master from pc_authok to clif_parse_LoadEndAck
  3795. so that it will not fail to set the gmaster flag when the first person of a
  3796. guild to log on is the guild master. [Skotlex]
  3797. * Modified the way Storm Gust freeze's counter works. Now it checks for the
  3798. caster of the Storm Gust, if it's the same as the previous hit, the counter
  3799. is increased, otherwise, the ID is updated and the counter is changed to 1.
  3800. [Skotlex]
  3801. * Fixed always receiving at least 1 bexp/jexp even when the mob gives no
  3802. exp at all. [Skotlex]
  3803. * Changed write to send as suggested by TheUltraMage in:
  3804. http://www.eathena.ws/board/index.php?showtopic=105417
  3805. Hopefully that will take care of the SIGPIPE problem in Debian and cygwin.
  3806. * Server name in core.c skipping '\\' characters.
  3807. * Memory allocation functions using file,line,func from the invoking functions.
  3808. * Other minor malloc changes. [FlavioJS]
  3809. 2006/11/27
  3810. * Now when a player's "attack once" request fails due to range, the client
  3811. is told to move to the target to attack it. This sort of fixes the problem
  3812. of the client SPAMMING the server with attack requests from afar without
  3813. even approaching the icewall. [Skotlex]
  3814. * Updated the status change field "option" to an int rather than short.
  3815. This fixes the option values for xmas/sightblaster not getting set, which
  3816. could explain why some people crash when equipping weapons while in xmas
  3817. suit. [Skotlex]
  3818. * Fixed the Homunculus hungry timer not starting on login. [Skotlex]
  3819. * Added logging for standard GM commands (/mm /b /kick etc) [KarLaeda]
  3820. * Some cleanups on the trade_additem function. When specifying a qty of 0,
  3821. an ack will be returned to the client so it doesn't gets stuck. [Skotlex]
  3822. * Update sql files [Toms]
  3823. * Corrected the skill animation for Absorb Spirits [Skotlex]
  3824. * Cleaned up a bit the implementation of how Gravity Field blocks the
  3825. caster from moving. [Skotlex]
  3826. * Mob class-changing will fail if the new class is the same as the previous
  3827. one. [Skotlex]
  3828. 2006/11/24
  3829. * Homunc's min matk is now always equal to max matk [Skotlex]
  3830. * Fixed EDP's damage being 100% more than it should (should be 4x, not 5x
  3831. on normal attacks) [Skotlex]
  3832. * Self Destruction will only hit everyone and not just enemies when used by
  3833. mobs (non marine spheres) unless the map is a versus map. [Skotlex]
  3834. * Spider Web's duration is now halved on players (before it was halved in
  3835. pvp maps only) [Skotlex]
  3836. * Likely fixed Homunculus not disappearing the second their intimacy hit 0.
  3837. [Skotlex]
  3838. * Fixed uninitialized variable fd being used in WFIFOHEAD in a few clif
  3839. functions. [Skotlex]
  3840. * Fixed the fact that the TURBO code breaks when you attempt to handle more
  3841. than one connection at a time within the same function. However this broke
  3842. map-server compilation, therefore, don't use TURBO yet! [Skotlex]
  3843. * While at it, cleaned a few packet implementations in the char/login
  3844. servers which were not only ugly, but had some really stupid flaws within.
  3845. [Skotlex]
  3846. 2006/11/23
  3847. * Completed Reddozen's hanging mapwarp code to support party and old syntax. [Lance]
  3848. * Updated sql files [Playtester]
  3849. * Made WFIFOHEAD() check for available buffer size remaining on the
  3850. connection, and when there's not enough space, it will increase it.
  3851. [Skotlex]
  3852. * Added define TURBO to the Makefile. It enables MouseJstr's socket access
  3853. optimization which should speed up the code when accessing the write/read
  3854. buffers repeatedly within a function. [Skotlex]
  3855. * Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used
  3856. incorrectly (prevents TURBO enabled compilations from finishing) [Skotlex]
  3857. 2006/11/22
  3858. * Modified slaves_inherit_speed and slaves_inherit_mode so you get better
  3859. control of when to copy/remove modes/speed. See the conf changelog for
  3860. details. [Skotlex]
  3861. * Reenabled usage of mode MD_CHANGETARGET, so mobs with mode 0x200 will be
  3862. able to switch targets while attacking. [Skotlex]
  3863. * Some cleanups around usage of session[] in the map server, hoping that it
  3864. may fix some not very likely crashes. [Skotlex]
  3865. * Rewrote a few messy @ commands. [Skotlex]
  3866. * Fixed the homunc hungry timer being started when the homun data is
  3867. received from the char-server and the homunc is NOT 'active'. [Skotlex]
  3868. 2006/11/21
  3869. * Fixed the Auto-Berserk giving you back defense when it triggers during
  3870. berserk's HP penalty. [Skotlex]
  3871. * Some small changes in the pet ai to make it more responsive. [Skotlex]
  3872. * Rewrote the pet looting behaviour (taken from the mob's), pets are much
  3873. more smarter now when looting from multiple possible items. [Skotlex]
  3874. * Fixed pets/homunc trying to be deleted twice when they had 0 intimacy and
  3875. their master logs out. [Skotlex]
  3876. * Added support for specifying ammo type = 99 in the skill_require_db file,
  3877. it can be used to specify that any kind of ammo can be used with the skill,
  3878. but you NEED to have ammo equipped. [Skotlex]
  3879. * Corrected GS_DISARM, it is now a normal attack, which, when it connects,
  3880. has a chance to do strip weapon at a 3*lv% rate (modified by dex) [Skotlex]
  3881. * Fixed GS_PIERCINGSHOT, it should ignore defense [Skotlex]
  3882. * Corrected Gatling Fever costing SP when trying to turn it off. Also,
  3883. speed increases bonuses won't take effect while it's active. [Skotlex]
  3884. * Updated the main makefile with a new OPT line. It is commented by default
  3885. since it only works with GCC 4.X, when unset, it will hide away a huge
  3886. amount of warnings that have to do with stuff that is not gonna be
  3887. corrected in eA anyway. [Skotlex]
  3888. * Corrected TripleAction's damage. It should do 150%*3 instead of 100*3%
  3889. damage. [Skotlex]
  3890. * Updated GS_CRACKER's stun chance using Doddler's info as reference.
  3891. [Skotlex]
  3892. * GS_FLING won't reduce armor defense when used on players. [Skotlex]
  3893. * Moved ignoreAll to state.ignoreAll so it saves some space. [Skotlex]
  3894. * Cleaned up clif_parse_Wis to prevent crashes from forged packets
  3895. [Skotlex]
  3896. * Cleaned up the implementation of the ignore list so it's more efficient.
  3897. [Skotlex]
  3898. 2006/11/20
  3899. * Implemented NPC_DEFENDER. Reduces ranged Physical+Misc damage by 80%
  3900. [Skotlex]
  3901. * Improved the battle config reader so it accepts hexadecimal values.
  3902. Updated the monster_ai description to make use of this [Skotlex]
  3903. * Added monster_ai&0x200. When set, mob skill delays are shared. That is,
  3904. if the mob has several lines with the same skill, when the skill is used,
  3905. the delay will be set to all of them, not just the one entry used.
  3906. [Skotlex]
  3907. * Corrected NPC_BARRIER so it grants 100 def/mdef (and not just mdef)
  3908. [Skotlex]
  3909. * Weapon ATK bonuses will now only apply to watk and NOT watk2 on players
  3910. (on players watk2 is refine bonus) [Skotlex]
  3911. * Corrected NPC_KEEPING. it should give 90 def, not 100 [Skotlex]
  3912. * You now can't use other skills while a skill-induced "window" is up
  3913. (teleport, refining, etc). However, be warned that we aren't quite sure how
  3914. the server will clear this out if you decide to hit cancel on the window,
  3915. so skill-blockage is likely to happen (temporary solution: whenever you
  3916. change maps or warp the state is reset server-side). [Skotlex]
  3917. * Fixed itemskill variable being cleared before parsing the skill, this
  3918. causes auto-casted teleport to fail to skip the skill menu. It is now
  3919. cleared on castend_pos/id directly. [Skotlex]
  3920. * Skills with state 'move_enable' will now do a "walk path" check between
  3921. target cell/object and caster instead of a "shoot path" check, this would
  3922. fix skills like snap or charge from letting you "teleport" across pits.
  3923. [Skotlex]
  3924. * Raised the amount of skills that can stack on a single cell before the
  3925. "in-area/out-area" detection code breaks to 24 (from 8) [Skotlex]
  3926. * Fixed a crash in clif_SkillInfoBlock if the passed player already
  3927. disconnected. [Skotlex]
  3928. * Added limiting drop rate to 100% from item-bonuses that depend on the
  3929. mob's level so that "@autoloot 100" will catch them. [Skotlex]
  3930. 2006/11/19
  3931. * Removed security check since source level patch is applied.
  3932. * Reverted select(), created prompt().
  3933. * Hack protection from packet monkeys in clif_parse_NpcSelectMenu. [Lance]
  3934. * Added 'cancel' button parsing in buildin_select menu system. Now scripts will continue
  3935. to load if 'cancel' is pressed and 255 will be returned. [Lance]
  3936. 2006/11/17
  3937. * Corrected use of the party invitation reply packet, thanks to FlavioJS.
  3938. [Skotlex]
  3939. * Fixed potential hack by modifying packet of whispers. [Lance]
  3940. * Fixed potential crash in IRC processing message with '%' using *printf. [Lance]
  3941. * Fixed memory leaking caused by homun_data not freed when removed. [Lance]
  3942. * Fixed client not validating the chat-kick-request packet, which can cause
  3943. crashes. [Skotlex]
  3944. * Updated map_quit to handle removing of players who are not even
  3945. authenticated yet. [Skotlex]
  3946. * New connection requests are now also blocked when there's a player
  3947. already online but hasn't finished loading yet. [Skotlex]
  3948. * Because of these changes, the friendlist notification when people join
  3949. has been moved to LoadEndAck from pc_authok [Skotlex]
  3950. 2006/11/16
  3951. * Updated sql files [Toms]
  3952. * For the sake of avoiding confusion, all script events are named with prefix 'On'
  3953. from now on. [Lance]
  3954. * Edited atcommand and charcommand syntax. Now it doesn't need the useless
  3955. character name and ":". [Lance]
  3956. * Shadow Jump and Kirikage won't "move" you if you use them in GvG grounds.
  3957. Fixed Kirikage so it first warps you, and then you unhide. [Skotlex]
  3958. * Corrected Zeny Nage so the Zeny spent on the attack is always the exact
  3959. same value as the damage you are dealing. Also corrected it so it does half
  3960. damage when used on players. [Skotlex]
  3961. * Overlapping song/dances will now cause dissonance/ugly-dance level 1
  3962. instead of retaining the level of their song/dance. [Skotlex]
  3963. * Fixed wrong check in @petrename, thanks to The Ultra Mage.[Skotlex]
  3964. 2006/11/14
  3965. * Early Christmas present. 3 new "features" which were very easy to code,
  3966. and should help scripters tremendously. Eapp is quite a way from being
  3967. ready, so these can't hurt:
  3968. * Implemented Karma: It turns out that when someone has karma, the client
  3969. believes this character is "evil", and will give you a cursor sword on top
  3970. of them automatically. So now the code will let characters with karma to
  3971. fight each other. This enables duels and other types of restricted pvp
  3972. where only the characters with karma can hit each others, and the rest of
  3973. players with neutral karma cannot be affected. Note that Karma cannot be
  3974. negative, and it can have any value between 0 and 256 (any non-zero value
  3975. makes them appear evil on the client). For now, characters with karma can
  3976. hit each other regardless of karma value, but perhaps it may be better to
  3977. let them to hit each other ONLY if they have the same karma (the whole
  3978. duel implementation COULD be cleaned up using Karma instead!)
  3979. * Added mapflags partylock and guildlock, which lock the state of the
  3980. parties/guilds on said maps:
  3981. partylock: blocks user party requests to create/invite/leave/kick
  3982. guildlock: blocks user guild requests to create/invite/leave/expel/
  3983. make alliance/make opposition/delete alliance/delete opposition/
  3984. break guild
  3985. 2006/11/13
  3986. * Fixed a bug where the char-txt server was incorrectly saving memos,
  3987. causing character data to be lost on restart. [Skotlex]
  3988. * HP Conversion will fail when used at max SP. It should not display any
  3989. errors to the client. [Skotlex]
  3990. * Modified yet again the login procedure to enable character variables to
  3991. work on item scripts. It SHOULD work crashless now. Please report any
  3992. problems it may cause.
  3993. * Volcano/Deluge/Violent Gale are now interchangeable, in the sense that
  3994. as long as one of these is out, casting any of the three will not consume
  3995. gems, and will use the remaining time of the previous one. In turn, Land
  3996. Protector will now always consume gems on every cast. [Skotlex]
  3997. * Small cleanup in the Land protector code which may fix it not blocking
  3998. AoE skills. [Skotlex]
  3999. * Fixed the interpretation of "head_dir". Removed setting head_dir to match
  4000. character direction in the whole code. Now it is only reset to 0 (look
  4001. forward) when unit_setpos is invoked, or when a character begins walking.
  4002. Thanks to FlavioJS for figuring out how the client parses the head
  4003. direction. [Skotlex]
  4004. * Moved status_calc_pc back to pc_authok. [Lance]
  4005. 2006/11/11
  4006. * Fixed debug message in login_sql [KarLaeda]
  4007. 2006/11/10
  4008. * Deluge/Violent Gale/Volcano tiles will now fail to be placed on cells
  4009. that are already ocuppied by anything else. [Skotlex]
  4010. * status_is_immune will now return 0 or the amount of immunity of the
  4011. target. In which cases it returns 100 for WoH and the GTB bonus when they
  4012. have passed the gtb_sc_immunity setting. This enables targetted spells to
  4013. not "fail silently" unless GTB's magic reduction is 100. [Skotlex]
  4014. * Fixed Homunculus being spawned as soon as they arrive from the
  4015. char-server even if the Master has not spawned on the map yet. [Skotlex]
  4016. * AL_TELEPORT now fails when used on top of Land Protector. [Skotlex]
  4017. * Some minor cleanings in pc_setpos, it may (or not) help fix that
  4018. homunc-caused "map_addblock" error message. [Skotlex]
  4019. * Corrected fog of wall, so that the deleted/doubled-duration effects are
  4020. calculated on a cell-by-cell basis. [Skotlex]
  4021. * Updated Land Protector: It will now delete/block effects of ALL ground
  4022. skills EXCEPT: Song/Dances/Traps (encores are still blocked). Land skills
  4023. blocked/deleted by LP also can't be casted on top of an existing LP. The
  4024. code uses the inf2 value of the skill to determine if it is a
  4025. song/dance/trap. [Skotlex]
  4026. * Ganbantein, mimicking LP, will now also remove ensembles. [Skotlex]
  4027. * Fog of Wall will fail when casted on top of a Volcano/Violent Gale
  4028. [Skotlex]
  4029. * Applied FlavioJS's fix to the npc whisper system. [Skotlex]
  4030. 2006/11/09
  4031. * Fixed status-change loading not working. [Skotlex]
  4032. * Fixed permanent mob-spawn script-events not working. [Skotlex]
  4033. * AL_CURE won't confuse undead players. [Skotlex]
  4034. * Corrected the Fog of Wall check so that it lasts 2x when it is placed on
  4035. TOP of a suiton/deluge, not when the caster is on top of them. [Skotlex]
  4036. * Updated status_check_skilluse so that when the caster has a disabling
  4037. status change (stun/petrify/etc) it will block the skill in all cases
  4038. EXCEPT on cast-end when the skill is ground-targetted. [Skotlex]
  4039. * Fixed Health Conversion skill formula bug. [Lupus]
  4040. 2006/11/08
  4041. * Fixed Desperado's hit-rate, now it behaves as it should. [Skotlex]
  4042. * The GVG map-packet will now also be sent for guild dungeon maps.
  4043. [Skotlex]
  4044. * Added clif_gospel_info which displays info about the buffs you are
  4045. receiving. Thanks to Rayce for the packet information. [Skotlex]
  4046. * Fixed Spider Web not ending when hit by a fireelemental attack. [Skotlex]
  4047. * Cast-time reductions from status changes will not be executed until right
  4048. before casting, to prevent status changes from ending when attempting to
  4049. cast and the attempt fails (invalid cells, not enough sp, wrong target,
  4050. etc, etc) [Skotlex]
  4051. * Added check to prevent Wand of Hermod from seeking for a partner to
  4052. encore, since the partner is supposed to be the warp. [Skotlex]
  4053. * Corrected the mob spawn reading code so that the event-name can be up to
  4054. 50 characters long (which is the actual event length) and so that it can
  4055. read spaces within them, it will also strip the leading/trailing quotes if
  4056. you use them so that the event is actually found on mob-death (so you can
  4057. do stuff like "My NPC::OnDead" as a valid event). [Skotlex]
  4058. * Moved the homunc inherit speed from the master from status_calc_pc to
  4059. LoadEndAck, since the hom's speed matches that of the master each time the
  4060. master changes maps. [Skotlex]
  4061. 2006/11/07
  4062. * Applied FlavioJs's patch which enables colored console output for Windows
  4063. systems. It also includes a config setting called
  4064. "stdout_with_ansisequence" with which you can turn off the color codes (in
  4065. case you are logging all output) [Skotlex]
  4066. * Added error reporting when the max number of ground unit cells has been
  4067. reached (this may be the reason why sometimes it fails to recognize when
  4068. you step out of a song/dance/encore) [Skotlex]
  4069. * Added passing the Endure effect to other devoted people. Note that the
  4070. "hit count" is individual for each character, and only when it ends on the
  4071. Crusader himself will that force it to end on everyone else. It also will
  4072. not transfer on gvg grounds, but it does transfer in pvp. [Skotlex]
  4073. * Fixed Reflect-Shield triggering Auto-Guard instead on devoted chars.
  4074. [Skotlex]
  4075. * Added a check to prevent casting ground skills on a target and vice-versa
  4076. when said skill use packets are received. It really shouldn't be
  4077. exploitable, but doing that certainly makes the server print a lot of
  4078. "unknown skill used!" messages. [Skotlex]
  4079. * Fixed map_foreachiddb and map_foreachpc so they don't encapsulate the
  4080. variable arguments into a double va_arg list. Thanks to the Ultra Mage for
  4081. the tip. [Skotlex]
  4082. * Cleaned up the clif_hate/mob_info functions with the correct fields/usage
  4083. as explained by Rayce. [Skotlex]
  4084. * Implemented clif_feel_hate_reset packet to properly display the Angel of
  4085. the Sun/Moon/Stars, thanks again to Rayce for the relevant information.
  4086. [Skotlex]
  4087. * LP will again block all land-stuff from being placed down on top of it
  4088. for the exception of Song/Dance/Encores. [Skotlex]
  4089. 2006/11/06
  4090. * Reapplied 'fix equipment scripts which are based on character variables not
  4091. working.' [Lance]
  4092. * Multiple Gunslinger skill corrections, refer to
  4093. http://ro.doddlercon.com/guides/gunslinger.html for information source:
  4094. [Skotlex]
  4095. - Corrected Ground Drift. Splash range of 3x3, stackable and placeable
  4096. underneath others, cast time is 2 secs. It's considered ranged, and it's
  4097. bonus damage increase is defense ignoring, always neutral.
  4098. - Corrected Bull's Eye implementation, it should deal normal damage against
  4099. non brute/demi-human targets.
  4100. - GS_DUST is now considered a short-range attack.
  4101. - Implemented Desperado's hit rate based on distance to caster as it's
  4102. believed to behave.
  4103. - GS_TRACKING's range is no longer affected by Snake Eye.
  4104. - GS_FLING's defense reduction is now 5*lv%
  4105. * Suiton's Speed/Agi penalty will affect everyone when used in versus maps.
  4106. * Corrected Kaupe so it doesn't ends on the first part of Soul Destroyer.
  4107. [Skotlex]
  4108. * Applied some cleaning to the way Tatami Gaeshi knocks back. [Skotlex]
  4109. * Cleaned up the way mobskill_use checks for the correct event. It should
  4110. fix unlimited mob-skill-casting issues. [Skotlex]
  4111. * Removed the return code entry when logging GM reload-GM requests
  4112. (login-sql),it'll just be stored as zero. [Skotlex]
  4113. * Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP.
  4114. [Skotlex]
  4115. * Applied the correction on maprespawnguildid so that it parses ALL players
  4116. and not just those on a map. [Skotlex]
  4117. * TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched
  4118. ones) and Preserve will be unable to block this. [Skotlex]
  4119. * Soul Linkers are now immune to SA_DISPEL [Skotlex]
  4120. * You can now place everything (except magic skills) on top of LPs.
  4121. [Skotlex]
  4122. * Corrected Ganbantein to not touch song/dance/ensembles. [Skotlex]
  4123. * Status_calc_pc will refuse to execute if the player is still tagged as a
  4124. "new connection" and the invocation is not meant to be the first one.
  4125. [Skotlex]
  4126. * Swapped the order of checks in status_isimmune so that Wand of Hermod
  4127. skill blocking takes precedence over GTB's [Skotlex]
  4128. * Client packets will all be ignored while a player is not on a map until
  4129. the LoadEndAck packet is received. [Skotlex]
  4130. * Reverted changes, moved status_calc_pc(sd,1) back to pc_authok
  4131. since it causes problems. [Lance]
  4132. * Temperory fixed stability issue caused by initial status_calc_pc
  4133. being placed AFTER another status_calc_pc. [Lance]
  4134. 2006/11/05
  4135. * Updated sql files [Toms]
  4136. * Updated perl files acording to rev 9135 [Toms]
  4137. 2006/11/04
  4138. * Readded duel code in map_quit. Why it has been removed!? [LuzZza]
  4139. * Converted itemdb tables to use smallint. Credits to ALZ. [Lance]
  4140. 2006/11/01
  4141. * Reverted LK_Berserk HP requirement, as everything, including kRO X.2 and
  4142. pRO X.3, points that way. [Vicious]
  4143. 2006/10/31
  4144. * Fixed song/dance/encore cells not being placed down when casted on top of
  4145. a land Protector. [Skotlex]
  4146. * Update homunc's speed when master's speed changes, should avoid homunc's
  4147. speed = 0 on login (homunc's stats are calculated before master's stats) [Toms]
  4148. * When Kaizel (or super novice rebirth skill) triggers, you get debuffed
  4149. now. [Skotlex]
  4150. * Modified the player_cloak_check_type and monster_cloak_check_type
  4151. settings. 1 makes it check for walls, 2 makes cloaking NOT end on normal
  4152. attacks, and 4 makes cloaking NOT end when using skills. The default
  4153. setting for players is still 1, but for mobs the default has been changed
  4154. to 4. [Skotlex]
  4155. * Non-players can now use all skills while hidden. [Skotlex]
  4156. * Added a check to prevent adding negative damage to the total accumulated
  4157. damage in mob_damage. It could fix some exploits, even though mob_damage
  4158. should never be invoked with negative damage anyway. [Skotlex]
  4159. * Implemented the property where the first attacker get's double exp-share
  4160. than the others. Due to the way exp calculation is done, this bonus will
  4161. not apply when you use exp_calc_type 1 (damage/max_hp) instead of the
  4162. default (damage/total-damage). For now this bonus is done after calculating
  4163. who is the MVP character instead of before. [Skotlex]
  4164. 2006/10/30
  4165. * Fixed a little bug in event enqueue code [Toms]
  4166. * Updated the code so mobs can use ChainAction as a targetted skill.
  4167. [Skotlex]
  4168. * Added GroundDrift effects for Wind (Stun) and Fire (knockback). The
  4169. knockback value is unknown, so 3 is used for now. [Skotlex]
  4170. * Cleaned up some more the steal code, now you can't steal the last slot
  4171. regardless of skill level used. [Skotlex]
  4172. * Added consideration of Chain Action when cloning GunSlingers. [Skotlex]
  4173. * Modified battle_calc_return_damage to take the skill id as well, now
  4174. magic damage return will not work on skills tagged as ground or self
  4175. targetted. [Skotlex]
  4176. * Fixed Gank not working at all with the default max steal tries setting.
  4177. [Skotlex]
  4178. * Soul Drain won't work with skills tagged as self-targetted. [Skotlex]
  4179. * Improved the Suiton code so that the walk/agi penalty only applies to
  4180. enemies of whoever casted the skill. [Skotlex]
  4181. * Moved the initial status_calc_pc call to when you finish loading the map,
  4182. should fix equipment scripts which are based on character variables not
  4183. working. [Skotlex]
  4184. * Fixed getcharid according to samples and docs. [Lupus]
  4185. Thanks to joshuaali for pointing it out. eAPP has no such bug
  4186. 2006/10/27
  4187. * Fixed mob-skill event "skillused" not triggering at all. [Skotlex]
  4188. * Summoned mobs will only be removed from a map if their master is also
  4189. removed (dynamic mobs) [Skotlex]
  4190. 2006/10/26
  4191. * Updated sql files [Playtester]
  4192. * Experimental tweak to npc_parse_function - Overwrite existing functions. [Lance]
  4193. 2006/10/25
  4194. * Cleaned up some more the event dequeue code, it will no longer clear out
  4195. the npc_id if there's no events waiting to be executed (why does it clears
  4196. the npc_id anyway?) [Skotlex]
  4197. * Because of possible conflicts with this change and the on-login script,
  4198. now the on-login script is executed when the player has finished loading
  4199. into their start-up map rather than as soon as receiving the registry
  4200. variables from the char-server. [Skotlex]
  4201. * Some cleaning of the pc_eventtimer and pc enqueue code, it should fix
  4202. some memory leaks when the event counter does not matches with the actual
  4203. number of queued timers during logout. [Skotlex]
  4204. * Fixed "skill_sp_override_grffile: yes" causing crashes when parsing
  4205. Homuncuus/Guild skills. [Skotlex]
  4206. * Made the exp bonus settings be adjustable: [Skotlex]
  4207. - exp_bonus_attacker: Indicates how much additional exp a mob gives per
  4208. additional attacker (eg: 10 -> +10%*attacker)
  4209. - exp_bonus_max_attacker: Indicates at which number of attackers the bonus
  4210. is capped (eg: 5 -> 5 attackers, so a mob yield the same exp whether 5 or
  4211. 10 people attack it)
  4212. - Changed the way the party_even_share_bonus setting works. It now uses a
  4213. simple linear bonus increase (eg: 10 -> +10%*party member)
  4214. - The defaults are as explained by Tharis: +25%/attacker, capped at 12
  4215. attackers, no party bonus. The first two can be found in exp.conf, the last
  4216. one was left in party.conf
  4217. * MG_STONECURSE and NPC_PETRIFYATTACK now use time1 to specify the
  4218. "petrifying time". This value has been set to 5 seconds. [Skotlex]
  4219. * Now when SC_STONE is triggered from status-change cards, it's petrifying
  4220. duration will be passed as 0, causing the minimum (1 sec) to be used.
  4221. [Skotlex]
  4222. * Got rid of clones in src: old Novice Grounds map -> new_zone0? [Lupus]
  4223. 2006/10/24
  4224. * Removed again your mdef reducing "petrifying" time as apparently it can't
  4225. be reduced by mdef. [Skotlex]
  4226. * Cleaned up the "show_steal_in_party" setting so it only takes effect when
  4227. the item was successfully stolen (there was no point in telling you the
  4228. item couldn't be stolen due to being overweight) [Skotlex]
  4229. * Cleaned up the pc_steal_item implementation (again). It now uses a more
  4230. random, simple approach in each steal attempt. [Skotlex]
  4231. * Changed the way the skill_steal_max_tries work. Now it actually MEANS the
  4232. max number of steal tries, use 0 to disable (unlimited tries). [Skotlex]
  4233. 2006/10/23
  4234. * Added a bunch of important indexes when dealing with the log tables.
  4235. Added upgrade_svn9050.sql which adds these indexes as well. [Skotlex]
  4236. * Expanded the family check to work as it should, exp-share-range is
  4237. respected, and the child is not considered for it (thanks to TheUltraMage
  4238. for the investigation) [Skotlex]
  4239. * Double Casting will no longer fail when used. [Skotlex]
  4240. * Modified SC_STONE so that the duration of the "petrifying" time is 5 secs
  4241. reduced by your natural resistance to petrify (which is mdef%) [Skotlex]
  4242. * Modified the meaning of the third column in the skill_require_db. Instead
  4243. of MaxHP, this is now called MaxHPTrigger. This column (which was
  4244. previously unused by all skills) signals the limit HP% that you can have to
  4245. be able to use the skill. For example, setting it to 20 means the skill is
  4246. unusable if you have more than 20% life (note that this is merely a
  4247. threshold setting, it won't actually substract HP when used!) [Skotlex]
  4248. * Adjusted LK_BERSERK so you can only use it when you have 20% or less
  4249. life. [Skotlex]
  4250. * Removed NJ_TOBIDOUGU adding damage to W_HUUMA weapons which somehow got
  4251. readded. [Skotlex]
  4252. * When nonplayers use Cloaking, it will be forced to level 10 since mobs
  4253. shouldn't have movement/attack restrictions while walking cloaked.
  4254. [Skotlex]
  4255. 2006/10/20
  4256. * Made HAMI_CASTLE use clif_slide rather than clif_fixpos. This should
  4257. fix clientside problems when castling between two positions the (client)
  4258. path finding can't find a walkable bath between anymore. [blackhole89]
  4259. * Fixed the Homunc not spawning next to you after receiving it's data from
  4260. the char-server. [Skotlex]
  4261. * Fixed Charge Atk being able to go through chasm/pits. [Skotlex]
  4262. * Moved the homunculus DB information from the player structure to the
  4263. homun structure. Modified the homunculus creation packets to hold this
  4264. information during creation, also, all initial values are handled by the
  4265. map-server, the char server only assigns it a homun ID. [Skotlex]
  4266. WARNING: This is yet untested! It's very possible something could had
  4267. broken after changing the format/size of the homunc creation packets.
  4268. * Added config setting "summon_flora_setting", which it you can decide now
  4269. two things: a. Whether or not players can harm your floras outside versus
  4270. grounds, and b. Whether or not you can summon out and mix different types
  4271. of plants at the same time. [Skotlex]
  4272. * Likely fixed pc_steal_item always failing to steal (it was attempting to
  4273. steal random item IDs...) [Skotlex]
  4274. * Cleaned up a bit the mob on-death event so that when the killer is a
  4275. homunculus, it's master will be taken. Also, the variable killerrid will be
  4276. set before running the script to specify who delivered the final blow. If
  4277. the killerrid matches with the script attached player, you can be sure your
  4278. player did the final blow to the mob, otherwise, the attached player is who
  4279. did the most damage to the mob. [Skotlex]
  4280. 2006/10/19
  4281. * Cleaned up the log.c file. [Skotlex]
  4282. * Fixed log_chat not recording anything if the server is compiled in SQL
  4283. mode and sql_logs is turned off (it should then record to a plain txt file)
  4284. [Skotlex]
  4285. * Fixed SG_FRIEND, it should be triggering when Monks do Combo Finish (not
  4286. triple blows), and the trigger rate increase should be based on your known
  4287. level of SG_FRIEND, not TK_COUNTER. [Skotlex]
  4288. * Phantasmic arrow now knockbacks even if it misses. [Skotlex]
  4289. * Adjusted the way Monk combo times work. The combo time is now always
  4290. 300ms (adjusted by combo_delay_rate) which takes effect inmediately AFTER
  4291. your current skill's canact-delay (which is why the particular skill delays
  4292. were moved to skillcast_db) [Skotlex]
  4293. * Modified skill_delayfix so it performs the can-act reduction from agi/dex
  4294. for combos there. [Skotlex]
  4295. * Modified pc_steal_item so that it behaves more closely to the way it does
  4296. on Aegis. [Skotlex]
  4297. 2006/10/18
  4298. * Added a overflow check when calculating party exp share. [Skotlex]
  4299. 2006/10/16
  4300. * Adjusted UTSUSEMI/BUNSINJYUTSU so that they block range/melee weapon
  4301. attacks and only melee misc attacks. This isn't 100% correct, but it's a
  4302. better approximation to the way these skills behave. [Skotlex]
  4303. * Emergency call &16 (disable skill from nowarpto maps) will now NOT block
  4304. Emergency Call if that map is also a gvg-castle map. Makes it safe to turn
  4305. on this option to prevent usage from special maps (like Lhz3) without
  4306. crippling the skill during WoE. [Skotlex]
  4307. * Applied most of Mpeg's work on Ninja Skills. For information see:
  4308. http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt [Skotlex]
  4309. * When reinvoking a combo-time, the previous combo time will be terminated.
  4310. This could fix the ongoing difficulties pulling off Monk combos. [Skotlex]
  4311. * Fixed Esma-state not ending after casting it. [Skotlex]
  4312. * Fixed @hominfo displaying intimacy on a 1/10k scale. [Skotlex]
  4313. 2006/10/14
  4314. * Homun info window to show crit value. As default, homun does NOT crit,
  4315. as monsters do not crit. This is purely for display purpose for players
  4316. to identify their homon's luk value. [Vicious]
  4317. 2006/10/13
  4318. * Base attack for non players is now calculated as str + [str/10]^2 (it
  4319. does not has +dex/5+luk/5 which players do have) [Skotlex]
  4320. * Fixed the char-sql server trying to read the gms off a "gm_db" config
  4321. setting stead of "login_db" [Skotlex]
  4322. * Corrected Throw Arrow/Musical Strike's damage formula [Skotlex]
  4323. * Altered Trick Dead. It doesn't prevents skills from being casted on you
  4324. now, but damage-based skills will do no damage. [Skotlex]
  4325. * Made the battle_config.attack_attr_none apply to pets when using the
  4326. "fixed damage" pet skill scripts. [Skotlex]
  4327. 2006/10/12
  4328. * made @killmonster make the mobs drop items again. [Skotlex]
  4329. * Added a temporary message when Angel of the Sun, Moon and Stars trigger
  4330. so you know it triggered. [Skotlex]
  4331. * When slaves_inherit_speed is set (which is also the default), homun will
  4332. have the same speed of their master when spawned. [Skotlex]
  4333. * When using Hatred and you already have a hate target, your current hate
  4334. target is displayed now. [Skotlex]
  4335. 2006/10/11
  4336. * Cleaned up the char-server code when the last point of a player is not
  4337. found. First it'll check if there's any mapserver online, and then, if
  4338. there is, it'll look for the major cities. If this fails, then the player
  4339. will be told server is closed instead of trying to send him to a "random
  4340. map". Will fix the char-server printing the misleading message "map
  4341. server not found, sending to major city" when in reality there just
  4342. aren't any map servers connected. [Skotlex]
  4343. * Corrected the mob damagelog structure so that you can't exploit it by
  4344. switching characters. [Skotlex]
  4345. 2006/10/09
  4346. * Fixed crash when char-server sends to a "random" map-server online on
  4347. connect. Thanks to TheUltraMage for pointing it out. [Skotlex]
  4348. * Should have fixed being petrified not reducing your defense and
  4349. increaseing your mdef. [Skotlex]
  4350. * Fixed SC_NOCHAT printing the "skills are now available" message twice on
  4351. natural expiration. [Skotlex]
  4352. 2006/10/08
  4353. * Updated sql files [Playtester]
  4354. 2006/10/06
  4355. * Updated Land Protector to block absolutely every land-based skills with
  4356. the exception of Encores/Dances. [Skotlex]
  4357. * Disabling status abnormalities will now reset a mob's target. [Skotlex]
  4358. * Mob morphing also resets their target now. [Skotlex]
  4359. * Monk combos no longer can ignore skill delay (delay skill for all their
  4360. combo-related skills is ASPD) [Skotlex]
  4361. * Now you can trade while in a chatroom. [Skotlex]
  4362. * Fixed homun-txt reading when the file has DOS line-type delimiters (\r\n)
  4363. [Skotlex]
  4364. 2006/10/05
  4365. * skill_blown will now trigger on-touch npcs on the landing tile. [Skotlex]
  4366. * Max trade distance has been reduced from 5 to 2. [Skotlex]
  4367. * Undisguising will now resend the cart-contents. [Skotlex]
  4368. * Added function npc_unload_duplicates(), it unloads all npcs that are a
  4369. duplicate of the passed one. For use with @unloadnpc to prevent crashes
  4370. when you unload the npc that has duplicates. [Skotlex]
  4371. 2006/10/04
  4372. * Bowling bash now always hits twice regardless of situation. [Skotlex]
  4373. * Added an underflow check to prevent sending to the client negative mdef2
  4374. value (for Frenzy'ed characters) [Skotlex]
  4375. * Modified pc_jobchange so that it automatically removes
  4376. peco/falcon/cart/homun if the new job you are changing to does not possess
  4377. the required skill for them. [Skotlex]
  4378. 2006/10/03
  4379. * Fixed a possible crash with @reloadmobdb due to pet loot timers.
  4380. [Skotlex]
  4381. * Fixed a possible crash and a memory leak on the login-SQL server when
  4382. parsing unban requests. [Skotlex]
  4383. * Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of
  4384. skills is reduced now (when enabled) by AGI instead of DEX, which makes a
  4385. lot more sense than DEX. [Skotlex]
  4386. 2006/10/02
  4387. * Modified item-granded status resistance reduction to behave as explained
  4388. by Vicious (Ragnarok Monthly magazine) [Skotlex]
  4389. * Added the opt3 values to Eske [Skotlex]
  4390. * Fixed the txt->sql converter only saving the very first character
  4391. permanent variable. [Skotlex]
  4392. * Fixed the txt->sql converter saving account-wide variables as
  4393. character-wide ones. [Skotlex]
  4394. * Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn
  4395. on/off both noexppenalty and nozenypenalty now. [Skotlex]
  4396. 2006/10/01
  4397. * Removed the speed adjustment per level of Increase/Decrease Agility
  4398. [Skotlex]
  4399. * Fixed humunculi skill exploit, thanks to mr.rkit [Lupus]
  4400. 2006/09/30
  4401. * Rewrote the txt->sql converter. It now links directly to the char server
  4402. files so that it should get auto-updated with any code changes in the
  4403. later. [Skotlex]
  4404. * The converter will now also convert: account-wide variables, parties,
  4405. guilds, guild storage and guild castles. At this point the only two things
  4406. not converted are login-server-wide account variables (##, they belong to
  4407. the login converter) and homunculus (the SQL save function is messy and
  4408. doesn't lends itself to be integrated with the converter the way all the
  4409. other functions are). [Skotlex]
  4410. * misceffect2 will no longer cause the effect on top of the source object
  4411. when it is the fake npc. [Skotlex]
  4412. * Added check so that Frost Nova doesn't hides hitting animation on
  4413. targets. [Skotlex]
  4414. * Added the missing brackets around the trade logs condition check, thanks
  4415. to Coltaro. [Skotlex]
  4416. 2006/09/29
  4417. * Spurt state will now trigger on Soul Linkers as well. [Skotlex]
  4418. * Added a check un unit_run when unit_walktoxy fails. Should fix running
  4419. getting you stuck sometimes when running on diagonals near obstacles.
  4420. [Skotlex]
  4421. 2006/09/28
  4422. * Merged the necessary changes to make the script engine support negative
  4423. constants (db/const.txt). Thanks to Rayce (from jA) for the code. [Skotlex]
  4424. * Cleaned up the skill.c code to take into account when skill_unitsetting
  4425. returns null (skill failed), fixes a possible crash with Wand of Hermode
  4426. [Skotlex]
  4427. 2006/09/27
  4428. * Cleaned up status_get_party/guild_id, it should also fix a possible crash
  4429. when invoking such a functio on a masterless pet. [Skotlex]
  4430. * Sharp-Shooting will now display a skill animation. [Skotlex]
  4431. * The no_spawn_on_player setting will now also work for static mobs, but
  4432. only if the setting is set to 100 or higher. [Skotlex]
  4433. 2006/09/26
  4434. * Yet again messed with the packet sent during a splash attack, but this
  4435. time taking into account the packets that eA was using some many revisions
  4436. ago. Tests are needed to see if Magnum Break/Grimtooth don't spam the skill
  4437. animation anymore, and to see if GrandCross didn't break it's animation as
  4438. well. [Skotlex]
  4439. * Added function skill_dance_switch which handles converting overlapping
  4440. song/dances to dissonance/ugly dance. It should make the overlapping area
  4441. now behave completely like the mentioned song/dances (taking into account
  4442. interval and target type changes). [Skotlex]
  4443. * Updated battle_check_target so that non-offensive skills cannot be used
  4444. on a homun except for the homun and it's master. [Skotlex]
  4445. * Steal zeny won't work on treasure chests now. [Skotlex]
  4446. 2006/09/25
  4447. * Added an ugly check so that Heal will display 0 when healing a berserked
  4448. character (and it will again display full heal amount when healing a player
  4449. who's at full life) [Skotlex]
  4450. * Disabled again client-self-muting since it's causing too much trouble.
  4451. [Skotlex]
  4452. * Merged FlavioJS's script patch which should fix stuff like "mes ();"
  4453. causing crashes. [Skotlex]
  4454. * Item group reading will now complain when a line doesn't has enough
  4455. fields. [Skotlex]
  4456. * Fixed #baselevelup adding instead of substracting status points when used
  4457. with negative levels. Also made it reset your stats if there wasn't enough
  4458. to substract from. [Skotlex]
  4459. * Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the
  4460. direction. This had the side effect of fixing the direction missing from
  4461. the mob spawn packet, which explains why all npcs face north when you are
  4462. within sight while doing a @reloadscript. [Skotlex]
  4463. * Changed the order of packets in TK_HIGHJUMP, may fix the reports of
  4464. getting stuck when jumping into a warp. [Skotlex]
  4465. * Changed a bit the code of marionette control, where a redefined local
  4466. variable may be the cause of mob-targetted Marionette Control stacking
  4467. stats up. [Skotlex]
  4468. 2006/09/24
  4469. * When the code auto-guesses that a skill should require ammo, it will
  4470. accept any type of ammo for using it instead of only arrows. Fixes Magnum
  4471. Break usage on Gunslingers. [Skotlex]
  4472. 2006/09/22
  4473. * Probably fixed a signed/unsigned mismatch warning on the new socket code.
  4474. [Skotlex]
  4475. * Fixed the "map server claims to have char online, but this other map
  4476. server also has it tagged as online" message triggering in some cases where
  4477. it shouldn't. [Skotlex]
  4478. * Fixed some maps in db/mapindex.txt being under the wrong id and added comments
  4479. so this will not happen again. [Zephiris]
  4480. --- ATTENTION! ---
  4481. People running TXT servers will have to tell their players to redo their /memo
  4482. points since the map ids of the old file were wrong.
  4483. 2006/09/21
  4484. * Fixed a bug on "select" when skipping empty entries when the selected
  4485. entry is the last. [Skotlex]
  4486. * Improved a bit RFIFOFLUSH as suggested by Harbin. [Skotlex]
  4487. 2006/09/20
  4488. * A mob's HP is set temporarily to 0 before invoking it's on-death script,
  4489. prevents said scripts being able to "rekill" the mob indefinitely (if stuff
  4490. like killmonster is used within) [Skotlex]
  4491. * Some small cleanups in chat.c [Skotlex]
  4492. * Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting
  4493. was disabled. [Skotlex]
  4494. * Enabled Star Gladiators and Soul Linkers to do /doridori [Skotlex]
  4495. 2006/09/19
  4496. * Fixed nocommand mapflag causing the "you can't use commands on this map"
  4497. message to trigger one very single chat, instead of only for actual @/#
  4498. command invocation. [Skotlex]
  4499. * Added support for skipping empty string menu entries for the select()
  4500. command (just as `menu` has it already) [Skotlex]
  4501. * Fixed pc_set_hate_mob letting you place mobs on any of the three
  4502. positions regardless of size [Skotlex]
  4503. * The double continuation error will now display both scripts that
  4504. triggered it. [Skotlex]
  4505. * Loading the storage from the char-server will fail if player is already
  4506. tagged in final save state. [Skotlex]
  4507. * Removed setting ban_spoof_namer, sending invalid global-talk packets will
  4508. now just kick the player out of the server. [Skotlex]
  4509. * Added echoing messages back to self when using @/# commands on whispers
  4510. and party/guild messages, to prevent the client from muting yourself.
  4511. [Skotlex]
  4512. * Fixed some gcc4 warnings [Toms]
  4513. 2006/09/18
  4514. * Fixed Spider Web fire damage bonus. [Skotlex]
  4515. * Made Global chat always reply back to you even on @/# commands, this
  4516. prevents the client from muting yourself due to "hack". However, this same
  4517. fix isn't easily applicable to @ commands invoked from whispers or
  4518. party/guild messages, those are still pending. [Skotlex]
  4519. * Merged Meruru's update to socket.c, which includes a rewritten parse
  4520. function, which should hopefully be more efficient than the previous code.
  4521. [Skotlex]
  4522. * The new code includes support for two config settings
  4523. (packet_athena.txt): frame_size, which can be used to alter the logic
  4524. packet-size allowed by the code, and mode_neg, which when set to yes, sets
  4525. TCP_NODELAY on all connections (defaults to yes). [Skotlex]
  4526. * High-Jump is usable everywhere now, except that on maps where it
  4527. previously failed, now will just make you jump in place. [Skotlex]
  4528. * Fixed TK_RUN as per packets provided by AuronX. [Skotlex]
  4529. * Moved the equipment/card resistances to status ailments outside of
  4530. status_get_sc_def, so that they are applied only to rate, not duration.
  4531. [Skotlex]
  4532. * Modified the Asura code (again), hopefully movement sprite issues are
  4533. fixed now [Skotlex]
  4534. * @reloadscript scripts will no longer eliminate mobs with no respawn data.
  4535. But watch out for possible bugs (I think someone mentioned 1 extra
  4536. treasure box will spawn when you use it? This needs testing!) [Skotlex]
  4537. * Made speed_add_rate a linearly stacking increase. [Skotlex]
  4538. * Corrected a possible overflow when using show_mob_info to display the
  4539. mob's up as a percent. [Skotlex]
  4540. * Corrected the documentation for checkoption/checkoption1/checkoption2
  4541. [Skotlex]
  4542. * Reenabled client requesting to self mute, as the whole knockback packet
  4543. issues of the past which were causing players to mute themselves when being
  4544. knockback is no longer there. [Skotlex]
  4545. 2006/09/17
  4546. * Fixed NPC_INVISIBLE's cloak ending after attacking once. [Skotlex]
  4547. * Fixed SG_FUSION being castable without Soul Link state. [Skotlex]
  4548. * Moved the item-use restriction SC checks from clif.c to pc_use_item,
  4549. fixed Gravitation blocking potion usage on it's area of effect. [Skotlex]
  4550. * Sphere Marines and Summoned Flora are now immune to class-changing.
  4551. [Skotlex]
  4552. 2006/09/16
  4553. * Added monster_ai&256. When set, a monster will pick a random starting
  4554. position to begin checking versus it's skills, otherwise, it will always
  4555. begin checking from the beginning. [Skotlex]
  4556. * Fixed the status change duration reduction equation was was totally
  4557. wrong, thanks to k3dt [Skotlex]
  4558. 2006/09/15
  4559. * Now mobs won't do a distance check to lose their target on every ai
  4560. iteration, but only when they finish walking (unless you set monster_ai&1)
  4561. [Skotlex]
  4562. * The chase distance before a mob gives up following a player has been
  4563. increased from view-size (range2) to min-chase (range3). [Skotlex]
  4564. * Reverted the Summon Flora change where all plants were being summoned in
  4565. one go. [Skotlex]
  4566. * Moved the weapon repair effect to where it belongs (after successfully
  4567. repairing an item) [Skotlex]
  4568. * Added config setting "friend_auto_add" (battle/player.conf), if set, when
  4569. you accept someone as your friend, both characters will show up on each
  4570. other's friend list. [Skotlex]
  4571. 2006/09/14
  4572. * Changed Extremity Fist's code to make you actually walk past your target,
  4573. which displays a much more correct "animation" for the skill. Thanks to
  4574. HiddenDragon for the information and code. [Skotlex]
  4575. * Updated the item_db search functions so that when returning the
  4576. dummy-item, it first updates the nameid to match the requested one, this
  4577. prevents pc_additem later on giving you an item with ID 500 instead of the
  4578. ID requested. [Skotlex]
  4579. * Added a clif_skill_nodamage packet when using Repair Weapon, just to see
  4580. what happens. [Skotlex]
  4581. * Likely fixed "half" of the alliance being saved, which ends up in guilds
  4582. that can attack another, but not viceversa. [Skotlex]
  4583. * Added deleting of saved Status changes on character delete for the
  4584. Char-TXT server. [Skotlex]
  4585. * Fixed the can-act delay never being checked when requesting to use
  4586. Homunculus Skills. [Skotlex]
  4587. * Fixed warmth skills draining SP of the target, not the caster. [Skotlex]
  4588. * When TK_DODGE triggers, it will no longer delay your attack or movement.
  4589. [Skotlex]
  4590. * Estimation /Sense/ whatever will no longer hide the vit bonus to mdef2,
  4591. as reported by Playtester. [Skotlex]
  4592. * Updated Summon Flora to summon the max number of possible plants on one
  4593. cast. It will consume as many bottles as monsters summoned. Also cleaned up
  4594. the function to be usable by non players. [Skotlex]
  4595. * Shadow Jump no longer goes over walls. [Skotlex]
  4596. * battle_calc_gvg_damage will be invoked in gvg maps regardless of woe
  4597. time. [Skotlex]
  4598. * NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis.
  4599. [Skotlex]
  4600. * md->class_ will be changed on mob-class-change to fix all class-change
  4601. related bugs. On respawn, the spawn data will be used to revert to the
  4602. original class. [Skotlex]
  4603. * Improved the pet skillbonus timer for "eternal bonuses" cases where the
  4604. bonus delay is 0. [Skotlex]
  4605. 2006/09/13
  4606. * SC_CHANGE cannot override itself anymore. This fixes being able to
  4607. "recast" the skill while it's still active to lengthen the duration AND
  4608. reheal the target. [Skotlex]
  4609. * Changed a bit the dnsbl lookup in the login servers to make it faster.
  4610. [Skotlex]
  4611. * Moved the pc rate modifiers from items
  4612. (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from
  4613. status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and
  4614. also fixes Osiris card not applying to said bonuses. [Skotlex]
  4615. * Fixed pc_damage_delay_rate not working, thanks to Orn. [Skotlex]
  4616. * Modified the nocommand mapflag so you can specify the GM range that is
  4617. blocked from using commands (eg: "prontera.gat mapflag nocommand 40"
  4618. disables commands to characters in the GM range 0~39) [Skotlex]
  4619. * Modified the char-server TXT whisper system to use the online_db to know
  4620. to which map server forward whispers, instead of just sending the whisper
  4621. to every map server. [Skotlex]
  4622. * Readded the setting TCP_NODELAY on socket.c to see if it fixes the
  4623. walk-lag issue. [Skotlex]
  4624. 2006/09/12
  4625. * Modified the login SQL server so that case insensitive lookups use "where
  4626. name = BINARY 'name'" instead of "where BINARY name = 'name'", since this
  4627. way the name index should be used, and performance will no longer be
  4628. heavily affected. [Skotlex]
  4629. * Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on
  4630. the tables memo/friends, and online/name on the char table. Added
  4631. upgrade_svn8728.sql to add these indexes to already existing tables.
  4632. [Skotlex]
  4633. * Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible
  4634. with Mysql 4 installations. [Skotlex]
  4635. * Moved the morph restrictions from skill_additional_effect to
  4636. mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or
  4637. treasure boxes. [Skotlex]
  4638. * Fixed 'range' might be used uninitialized warning [Toms]
  4639. * Added Jaguar's sql script to convert all tables to MyISAM. It's located
  4640. in sql-files/convert_engine.sql WARNING: Using MyISAM is much faster than
  4641. InnoDB, but you are strongly recommended to backup your database before
  4642. switching engines since we don't know if eA is fully coded to work
  4643. correctly with MyISAM yet. [Skotlex]
  4644. * Added manual deletion of sc_data entries when deleting a character
  4645. (char-SQL) [Skotlex]
  4646. * Updated main.sql to use pure MyISAM tables, removed all foreign keys.
  4647. [Skotlex]
  4648. * Updated battle_switch to use strncmpi instead of strcmpi, it makes it so
  4649. using "yessir" will match "yes", this is actually needed because if you set
  4650. a config setting to "yes " (notice the trailing space), then the map config
  4651. engine fails to read it right, and will set the config setting to 0 (no).
  4652. [Skotlex]
  4653. * Some corrections to hate_mob cleanup when triggering the Angel stuff. [Skotlex]
  4654. * Updated the show_mob_info setting to add another space to the separating
  4655. pipes, so that each field is separated by " | " instead of " |". [Skotlex]
  4656. * Homunculus intimacy will go back to 500 on evolution. [Skotlex]
  4657. * Baphomet splash damage will now hit nearby enemies regardless of flee
  4658. (but the initial attack still has to connect for the splash to trigger)
  4659. [Skotlex]
  4660. 2006/09/11
  4661. * Modified set_nonblocking and setsocketoptions in socket.c, using eApp's
  4662. code as reference. Hopefully should improve performance somewhat. [Skotlex]
  4663. * Added a comment explaining what a comment is to login/char/map config
  4664. files, as well as the main script config file. [Skotlex]
  4665. * Modified SG_FEEL so that it works the same way that in Aegis
  4666. (packet-wise) [Skotlex]
  4667. * Added a comment to explain how to "remove" a string variable from the
  4668. msg_athena entries. [Skotlex]
  4669. * Summoned and slave mobs won't show up on @showmobs anymore. [Skotlex]
  4670. * Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix,
  4671. so that damage will be doubled based on the actual attack element.
  4672. [Skotlex]
  4673. * Adjusted autospell cards to trigger only on physical weapon attacks.
  4674. [Skotlex]
  4675. * Adjusted a bit the heal code, it should now show either the full heal
  4676. amount, or 0, depending on whether the target was healed at all or not
  4677. (this also means it shows 0 if you try to heal a full-life character.. but
  4678. it's the closest I've gotten to make it display 0 on Berserked chars)
  4679. [Skotlex]
  4680. * Memorize will be consumed even on instant cast spells now. [Skotlex]
  4681. * Berserk will end now if hit and remaining hp is less or equal to 100.
  4682. [Skotlex]
  4683. * Guild Aura will be removed on sc-load to prevent Guild Masters from
  4684. getting that bonus from the old implementation. [Skotlex]
  4685. * Added D-Kalck's fix of the TXT -> SQL converter [Playtester]
  4686. 2006/09/10
  4687. * Thanks to KarLaeda, added missing function in @showmobs [Lupus]
  4688. - Script function 'query_sql': In the TXT version it doesn't fill the array
  4689. and always return -1. Added for scripts compatibility. Your scripts
  4690. won't crash in TXT version. They can work it around.
  4691. I suggest we need a function getversion()
  4692. * Updated item_db.sql and mob_db.sql [Playtester]
  4693. 2006/09/09
  4694. * Added a crash protection in case mapfreeblock unlock tries to free a null
  4695. pointer. [Skotlex]
  4696. * Moved perfect_hiding from state to special_state, so that it clears out
  4697. when you remove your pet. [Skotlex]
  4698. * Probably fixed the Taekwon Rest skills. [Skotlex]
  4699. * Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy:
  4700. X entries missing, continuing destruction. Manager for entries of size
  4701. 16.") [Skotlex]
  4702. 2006/09/08
  4703. * Unified the rest and ganster paradise code into a single function.
  4704. [Skotlex]
  4705. * Moved the Happy State trigger to the regen function, it now triggers at
  4706. the same time SPTIME does. [Skotlex]
  4707. * Cleaned up SG_HATE, hope it works now. [Skotlex]
  4708. * Removed sg_miracle_skill_duration, replaced it with
  4709. sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify
  4710. a range for the duration of the skill. [Skotlex]
  4711. * Added upgrade_svn8675.sql in case, for some reason, your guild table
  4712. still has the emblem_data field as a 'blob' with "NOT NULL" specified.
  4713. [Skotlex]
  4714. * Fixed alliance/opposition making not cancelling out map-server-side when
  4715. the guild already had max number of alliances/oppositions (thanks to k3dt)
  4716. [Skotlex]
  4717. 2006/09/07
  4718. * Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg:
  4719. wand of hermod) [Skotlex]
  4720. * Cleaned up the doridori parse clif function. [Skotlex]
  4721. * Merged some of mpeg's work on NJ skills [Skotlex]
  4722. * Removed the Warmth "stacking" code. [Skotlex]
  4723. * Added back the effect of /doridori to skill-SP regen [Skotlex]
  4724. * Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low
  4725. chance of triggering on doridori-boosted SP-regen events. However, it has
  4726. no client-side messages yet (need to add these in) [Skotlex]
  4727. * Added sg_angel_skill_ratio to specify rate at which the Angel skill
  4728. triggers. [Skotlex]
  4729. * Added unit_cancel_combo which takes care of ending a combo time and
  4730. resuming normal attack 'inmediately' [Skotlex]
  4731. * Cleaned up some the SG_HATE code, you can't change hate targets anymore.
  4732. [Skotlex]
  4733. 2006/09/06
  4734. * Fixed the memset in status_calc_pc, corrects some mysterious bugs such as
  4735. item-drop bonuses suddenly not working anymore. [Skotlex]
  4736. * Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
  4737. [Skotlex]
  4738. * Fixed Aex Aeterna ending on Soul Breaker's first half. [Skotlex]
  4739. * Applied Orn's modification on speed increases/reductions with increase/
  4740. decrease agi [Toms]
  4741. 2006/09/05
  4742. * Removed setting mob_show_hp, it's been replaced now by mob_show_info,
  4743. which can be used to specify what kind of info should be displayed from a
  4744. mob. Current options are two different formats for Hp display, and current
  4745. level (monster.conf). [Skotlex]
  4746. * Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%
  4747. [Skotlex]
  4748. * Applied the Ultra Mage's suggestion to have the map server strip trailing
  4749. spaces/comments from the config files. It will also now print out when an
  4750. unknown config setting is found. [Skotlex]
  4751. * Fixed status change resistance not being invoked at all for pretty much
  4752. all cases. [Skotlex]
  4753. * Corrected SC_INTRAVISION not starting. [Skotlex]
  4754. * Fixed crash when attempting to read a Label as a string on a script
  4755. (thanks to End of Exam) [Skotlex]
  4756. * Fixed possible crash when changing a chat-room's owner (thanks to End of
  4757. Exam) [Skotlex]
  4758. * Fixed dispell removing SC_NOCHAT [Skotlex]
  4759. * Small fix which should correct skill_attack damaging hidden characters
  4760. when it shouldn't. [Skotlex]
  4761. * Fixed connect_until field being a smallint rather than int in the login
  4762. table (upgrade with upgrade_svn8630.sql) [Skotlex]
  4763. 2006/09/04
  4764. * Fixed crash when using Adaptation during an Encore. [Skotlex]
  4765. * Should have fixed manner being reset to 0 on logout while muted.
  4766. [Skotlex]
  4767. * Removed status_get_sc_tick, duration and chance are now both handled by
  4768. status_get_sc_def (this means status change duration and success rate
  4769. both will always follow the very same formula) [Skotlex]
  4770. * Fixed mob-kill experience getting screwed up when characters who did
  4771. damage die/logout at the moment the mob dies. [Skotlex]
  4772. * Should have fixed "sleep", thanks to Lance for figuring out the error.
  4773. [Skotlex]
  4774. * SC_REFLECTSHIELD will now be passed to devoted characters at cast-time.
  4775. [Skotlex]
  4776. * Added a check to make a mob's level 1 if the read level from the db is
  4777. less than it. [Skotlex]
  4778. * status_calc_misc will now be invoked in status_calc_bl even on the first
  4779. call, since status could have gone up due to skill bonuses. [Skotlex]
  4780. * Moved max HP/SP calculations to before invoking status_calc_misc
  4781. [Skotlex]
  4782. * Simplified distance and check_distance to use "aegis" methods (greater of
  4783. dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when
  4784. set, the previous method is used, and "for each in range" calls will also
  4785. check for distances, making most ground skills and battle system use real
  4786. circles instead of squares. [Skotlex]
  4787. 2006/09/03
  4788. * Fixed SC_BERSERK's no regen penalty lasting pretty much forever.
  4789. [Skotlex]
  4790. 2006/09/02
  4791. * SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather
  4792. than blocking all types of regen. [Skotlex]
  4793. * LK_BERSERK will now only block natural regen on state-end. [Skotlex]
  4794. * SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural
  4795. sp regen and not skill regen [Skotlex]
  4796. * SC_REGENERATION blocking will be cancelled on logout now. [Skotlex]
  4797. * Corrected SCB_LUK not updating SCB_BATK as well. [Skotlex]
  4798. 2006/09/01
  4799. * Corrected script_commands description of getequipid, it returns -1, not 0
  4800. on fail. [Skotlex]
  4801. * Fixed the mob-id check during pet_db loading, it will also now print when
  4802. a pet is not loaded due to having an invalid mob class specified. [Skotlex]
  4803. * The "delete_timer error/no such timer" report will now print the related function [Toms]
  4804. * The Clearing unused stack report will now print the related NPC [Toms]
  4805. * The duplicate npc report will now print the related file name [Toms]
  4806. * Added config setting "partial_name_scan", which specifies whether @ given
  4807. names should use a partial string lookup or absolute name lookup. Defaults
  4808. to no (gm.conf) [Skotlex]
  4809. * Expanded status_calc_misc so it may also calculate the batk of characters
  4810. as well as their regen data (if they have it) [Skotlex]
  4811. * Fixed a memory leak when using charsave_method:1 [Skotlex]
  4812. * Soul Breaker will now be affected by Lex Aeterna on both parts of the
  4813. attack. [Skotlex]
  4814. * Status changes with no skill and no SCB* data will now go through if they
  4815. have an SI* icon. This should fix SC_MIRACLE [Skotlex]
  4816. * Reverted switching a mob's adelay/amotion when the later is longer than
  4817. the former, now both get updated to amotion. [Skotlex]
  4818. 2006/08/31
  4819. * Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to
  4820. skill_counter_additional_effect [Skotlex]
  4821. * Simplified skillnotok_hom by using an invocation to skillnotok [Skotlex]
  4822. * Hopefully fixed BD_ADAPTATION [Skotlex]
  4823. * Homun won't lose any intimacy on death now. [Skotlex]
  4824. * Homun will be saved together with the master now (as long as the homun is
  4825. active) [Skotlex]
  4826. * Modified the error reporting in map_freeblock_unlock so that when there's
  4827. an error, the reported line number is the file's linenumber plus the
  4828. object's type *10000. This is for debug information to help track down the
  4829. already-freed error. [Skotlex]
  4830. * pc_adopt will now preserve the kid's job/job-level/experience. This means
  4831. that if you adopt a Swordman level 45, it will become a baby-swordman level
  4832. 45, with the exact same exp as before. [Skotlex]
  4833. * Fixed new mob's name not sent to the client when the mob is morphed [Toms]
  4834. * Added setting attack_walk_delay which specifies whether a character
  4835. should (or not) be able to move inmediately after starting a normal attack
  4836. (battle.conf). Defaults to 0 since that's what Aegis uses. [Skotlex]
  4837. * Fixed @summon's delete timer being screwed up. [Skotlex]
  4838. * Cleaned up a bit the summon script command. [Skotlex]
  4839. * Fixed the clone script command's delete-timer being screwed up. [Skotlex]
  4840. 2006/08/30
  4841. * Skill required-state will now only be checked on cast-begin, not
  4842. cast-end. [Skotlex]
  4843. * Added a check in status_calc_pc to prevent player rate adjustments from
  4844. from going below 0. [Skotlex]
  4845. * Removed sending normal-damage packets instead of skill packets for
  4846. splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
  4847. * Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
  4848. vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
  4849. minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]
  4850. * Fixed up char-sql compilation. [Skotlex]
  4851. * Added a message to @clearweather stating when climate changes will
  4852. dispel. [Skotlex]
  4853. * Corrected @hidenpc saying that it's command name was "@npcoff" [Skotlex]
  4854. * Updated itemdb reading on the char-sql server so that it reads both
  4855. item_db and item_db2 files (totally untested yet) [Skotlex]
  4856. 2006/08/29
  4857. * Added printing out whenever the irc-module attempts to connect, to debug
  4858. whether the map-server lag is due to this or not. [Skotlex]
  4859. * Mobs will now always chase players using hard-path seeks. [Skotlex]
  4860. * monster_ai&1 now only signals whether mobs should update their target
  4861. cell while chasing more frequently (rather than being state-driven like
  4862. Aegis) [Skotlex]
  4863. * Changed the defaults of view_range_rate and chase_range_rate to 120 to
  4864. aproximate better Aegis's view ranges (which are square areas and not
  4865. circles) [Skotlex]
  4866. * Applied Mpeg's work on GS [Toms]
  4867. ( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
  4868. * Fixed a syntax error in @showmobs [Toms]
  4869. * Added @showmobs. It shows selected mobs on your mini-map (excluding
  4870. mini-bosses & MVP) thanks to KarLaeda for the command [Lupus]
  4871. 2006/08/28
  4872. * Modified the dancing code and Moonlit Petals in particular, so that it is
  4873. treated as an ensemble like any other, it will just knockback people when
  4874. they step into it. [Skotlex]
  4875. * The memory leak reports will now print out in the logs also the revision
  4876. they belong to. [Skotlex]
  4877. * Cleaned up the scriptable npc-shop code, it should be crash-proof now.
  4878. [Skotlex]
  4879. * Added TK level-up buffs to SG too, and extended them to 10 min [DracoRPG]
  4880. * Added "Barefeet Mastery" effect to TK_RUN (thanks Tharis for both) [DracoRPG]
  4881. * Changed the produce_db format, now there's a skill-lv column right after
  4882. the skill-id column to specify required skill-level to craft this item.
  4883. [Skotlex]
  4884. * Modified the skill produce_db code to take into account the new skill-lv
  4885. requirement. [Skotlex]
  4886. * Fixed exp bonuses applying twice for the job-exp [Skotlex]
  4887. * @reloadbattleconf will now also update the ragsrvinfo table on the
  4888. char-server. [Skotlex]
  4889. * Fixed homun hp/sp growth rates stacking with HP/SP passive increasing
  4890. skills. [Skotlex]
  4891. 2006/08/27
  4892. * Fixed undefined reference to 'malloc_set' in log.c [Toms]
  4893. * Updated svn-revision reading, now it can read the new svn file system [Toms]
  4894. * Fixed a bug with homunc which could spawn on a non-walkable cell [Toms]
  4895. 2006/08/26
  4896. * Optional macro MEMSET_TURBO for faster low-level memory initializations. [Lance]
  4897. * Small bug fix in read_homunculus_expdb (a warning was always displayed) [Toms]
  4898. * Small adjustment on the mob_ai code which could fix mobs not chasing you
  4899. if you hit them from the maximum possible diagonal distance. [Skotlex]
  4900. 2006/08/25
  4901. * Cleaned some the skill unit removal added flag so that it signals whether
  4902. the skill is being force-removed, or it has "naturally expired". [Skotlex]
  4903. * The following skills will display a normal attack animation now:
  4904. NPC_WATERATTACK, NPC_GROUNDATTACK, NPC_FIREATTACK, NPC_WINDATTACK,
  4905. NPC_POISONATTACK, NPC_HOLYATTACK, NPC_DARKNESSATTACK,
  4906. NPC_TELEKINESISATTACK, NPC_SPLASHATTACK
  4907. * Skills that require a weapon and consume spirit spheres will no longer be
  4908. auto-tagged to require ammo. [Skotlex]
  4909. * Now MISC skills with delay 0 will also use the attack delay (if the skill
  4910. is tagged to do damage) [Skotlex]
  4911. * Added script commands roclass/eaclass to enable scripts to access eA's
  4912. job format. Read script_commands.txt and ea_job_system.txt for a more
  4913. complete explanation of how this job system works. [Skotlex]
  4914. * Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.
  4915. If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in
  4916. UNT_WARP_WAITING and will destroy it. [Toms]
  4917. ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102
  4918. when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE )
  4919. 2006/08/24
  4920. * Little cleanup on homunc's code [Toms]
  4921. * Modified @reloadmobdb & @reloadskilldb to reload homunc's db too [Toms]
  4922. * Now when a mob's adelay is set to be less than the amotion, both values
  4923. will be swapped (this is an attempt to understand how those mobs actually
  4924. work on aegis) [Skotlex]
  4925. * script command "isrefine" will no longer return always false for equip
  4926. positions above 6 (this has not been needed since the addition of the
  4927. refine column to tbe item_db many months ago) [Skotlex]
  4928. * Added NPC_CRITICALSLASH to the list of skills that display as a normal
  4929. attack. [Skotlex]
  4930. * Reverted the previous change, changed the pet capture code to try to
  4931. capture a mob based on their view class rather than actual class.
  4932. [Skotlex]
  4933. * Fixed the md->class_ variable not being updated when a mob's class is
  4934. changed. [Skotlex]
  4935. * Added setting clear_skills_on_warp to specify when a character's
  4936. land-based skills are deleted when the caster changes maps. Defaults to all
  4937. types. [Skotlex]
  4938. * Should have fixed Brandish Spear not passing the flag to skill_attack,
  4939. causing it to do miserable damage. [Skotlex]
  4940. * Warp Portal will no longer be removed when caster steps through it (this
  4941. is left to the new clear_skills_on_warp setting) [Skotlex]
  4942. * Cleaned up status_percent_change to switch equations when the target has
  4943. high hp to prevent overflows, also it will directly take hp/maxhp when a
  4944. rate of 100 or higher is passed to prevent calculations. [Skotlex]
  4945. * Traps and Land Elemental fields are no longer automatically removed on
  4946. map change (handled now by clear_skills_on_warp) [Skotlex]
  4947. * traps_setting &2 no longer does anything (handled now by blah blah)
  4948. [Skotlex]
  4949. * Applied some change from mpeg on Ninja Skills [Toms]
  4950. * Put HVAN_Explosion based on max_hp instead of current hp [Toms]
  4951. 2006/08/23
  4952. * Fixed mob_clone_spawn completely ignoring the mode variable. [Skotlex]
  4953. * Fixed Energy Coat reducing and consuming more than it should when you
  4954. have 100% SP [Skotlex]
  4955. * Cleaned up getmapxy script function, also added support for type 4 so
  4956. that it returns a player's homunculus position if such exists. [Skotlex]
  4957. * SC_ARMOR_ELEMENT looks like gone away from status_change_start since ... rev 6791.
  4958. Try to reimplement it. [Toms]
  4959. * Fixed HVAN_EXPLOSION [Skotlex]
  4960. * Frost Nova won't display a nodamage skill packet (still need to sort out
  4961. a way to fix the splash damaged packets) [Skotlex]
  4962. * Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknown [Toms]
  4963. * Added debug on "Inifity loop" to know which script is making this loop [Toms]
  4964. 2006/08/22
  4965. * More fixes to the splash code. Kamaitachi and Sharpshooting should
  4966. display correctly now. [Skotlex]
  4967. * Fixed a crash on the mobspawn script command. [Skotlex]
  4968. * Made SC_FLEET increase batk as well as watk. [Skotlex]
  4969. * Fixed gcc warning [Toms]
  4970. * Fixed AM_REST not closing the homunc status window [Toms]
  4971. * Fixed SC_NEN according to Mpeg [Toms]
  4972. * Added a ShowStatus("Terminating...\n") on login-server_sql [Toms]
  4973. * Some corrections to make Tatami Gaeshi work correctly. [Skotlex]
  4974. * Fixed SBR44 doing 100% more damage than it should. [Skotlex]
  4975. * Some more work on the splash skill code. Now splash-damaged enemies
  4976. should show no animation at all, just the damage-number, while only the
  4977. targetted character should still display the full skill animation.
  4978. [Skotlex]
  4979. * Modified the homun-txt file-save format to separate the name from the
  4980. rest of fields with tabs (like character saving does), this may fix homun
  4981. save/loading when using non-latin characters on the name, but be warned
  4982. that it also means the previous homun-data files are lost! (unless you
  4983. replace the comma before the start of a name with a tab) [Skotlex]
  4984. * getnameditem will now also work on stackable items [Skotlex]
  4985. * Corrected battle_calc_weapon_attack so that all skills ignore your
  4986. left-hand weapon, and that the Katar's double-attack damage bonus for the
  4987. offhand damage applies ONLY on normal attacks. [Skotlex]
  4988. * Fixed Resurrect Homunculus's % to 20*lv% [Skotlex]
  4989. * Added SQL update which should remove \' from guild names [Toms]
  4990. * Added option to disable character deletion of certain levels [Lupus]
  4991. check char_athena.conf for this option format
  4992. 2006/08/21
  4993. * Some more cleaning up of the splash skill code. Now the passed hit value
  4994. for the splash targetted mobs is 9 instead of 5, this allows multi-hitting
  4995. splash skills to display the number of hits correctly. [Skotlex]
  4996. * Fixed call homunc bug when the homunc was vapo and the master has change
  4997. of map [Toms]
  4998. * Fixed SQL-Guild Creation, guild name was escaped 2 times [Toms]
  4999. * Some cleaning of the splash skills. Updated skill-attack to enable again
  5000. passing of flag 0xF000 which signals that the skill level sent to the
  5001. client should be -1 (no skill name shouted). Should (hopefully) clear/clean
  5002. up a bunch of splash damage skill animation-related packets. [Skotlex]
  5003. * Homun saving won't cap hp/sp to max hp/sp since a homun can have higher
  5004. hp/sp than the one stated in the db (due to skill bonuses or status
  5005. changes) [Skotlex]
  5006. * Cleaned up some more the regen_data structure, so that
  5007. skill/sitting-skill related data is optional (since only players have it).
  5008. [Skotlex]
  5009. * Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values [Toms]
  5010. * Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID [Toms]
  5011. * Adjusted Glittering's success rate to 20+10*lv% [Skotlex]
  5012. * Corrected isequipped() so that cards will not be tagged as "used up"
  5013. unless all the specified items were found. [Skotlex]
  5014. * Fixed a confusion in skill_attack using the src instead of dsrc for some
  5015. calls, which was causing some problems with the KAITE check from AoE
  5016. spells. [Skotlex]
  5017. * Fixed ASC_BREAKER's misc damage part not having the ignore-element flag
  5018. set. [Skotlex]
  5019. * Moved homunc battle conf from misc.conf to homunc.conf [Toms]
  5020. * Some cleaning in skill.c in regard to homun skills. [Skotlex]
  5021. * Madness Canceller now stacks with other aspd bonuses, just like Berserk
  5022. does. [Skotlex]
  5023. * Removed config setting "muting_players", and expanded the manner_system
  5024. config to specify how having negative manner (mute) affects a player (see
  5025. battle/misc.conf). [Skotlex]
  5026. * Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode,
  5027. if 2 is used, it makes killing players give you a loss of 5 manner points.
  5028. [Skotlex]
  5029. * Fixed WS_WEAPONREFINE always failing when at less than job 50. [Skotlex]
  5030. * Fixed the Autosave routine not working when there's only one player
  5031. online. [Skotlex]
  5032. * Disabled command @rain since the client no longer supports it anyway.
  5033. [Skotlex]
  5034. * Fixed delitem not checking for the first slot's card, also optimized it
  5035. so that it doesn't checks on the other slots. [Skotlex]
  5036. 2006/08/20
  5037. * Added a check during mob_db loading so that the six basic stats, max hp
  5038. and max sp are never below 1, as this could cause crashes when using
  5039. certain skills. [Skotlex]
  5040. * Gravitation now only blocks the caster from using potions. [Skotlex]
  5041. * Corrected Madness Canceller letting you walk while the effect lasts.
  5042. [Skotlex]
  5043. * Splitted yet again ASC_BREAKER into a two-part attack. This time the
  5044. int-based damage is a MISC type attack, and gets reduced by skills as such.
  5045. [Skotlex]
  5046. * Fixed "int format, long unsigned int arg" warning [Toms]
  5047. * Fixed a warning when using cap_value(x, 0, x) on an unsigned value [Toms]
  5048. * Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos [Toms]
  5049. * Fixed homunc skill 8016 not considered as homunc skill [Toms]
  5050. * @useskill will now cause your homun to use the skill instead of you if
  5051. the skill is a Homun skill and you have an active homunculus. [Skotlex]
  5052. * Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me
  5053. that Vicious told him the chance was much lower like that) [Skotlex]
  5054. * Fixed some Homunc issues with HR servers (capping some values) [Toms]
  5055. * Added @hominfo command to obtain real values (not capped ones) [Toms]
  5056. 2006/08/19
  5057. * Fixed @homlvup bug [Toms]
  5058. * Fixed AM_REST & AM_RESU consumming SP if they fail [Toms]
  5059. * Fixed homunc spawning bug (they was spawned after an AM_REST + master warp for example)[Toms]
  5060. * Fixed GS_GROUNDDRIFT [Skotlex]
  5061. * Increased chance of GS_DESPERADO connecting to 20% [Skotlex]
  5062. * Fixed battle_calc_base_damage being called for the left hand even for
  5063. non-dual-wielding attacks. left-hand damage was being set to 0 later
  5064. anyway, so no exploit existed. [Skotlex]
  5065. * Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll
  5066. apply correctly when dual-wielding different types of weapons. [Skotlex]
  5067. * Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the
  5068. items (0x80000 should be for them and 0x100000 should be currently unused)
  5069. [Skotlex]
  5070. * Fixed a possible sigsegv when deleting lif under Mental Change [Toms]
  5071. * Fixed HAMI_CASTLE [Toms]
  5072. * Fixed HLIF_CHANGE [Toms]
  5073. * Updated HLIF_BRAIN skill [Toms]
  5074. * Fixed homunculus intimacy on feeding [Toms]
  5075. * Added homunculus_friendly_rate battle config [Toms]
  5076. * Some compilation warnings fixed [Toms]
  5077. * Added skill's required item check on homunc skills [Toms]
  5078. * Add Condensed Red Potion as a required item for HLIF_HEAL [Toms]
  5079. 2006/08/18
  5080. * Little code cleanup on last fix [Toms]
  5081. * Fixed HLIF_HEAL healing the homunc instead of the master [Toms]
  5082. * Fixed HLIF_AVOID not increasing walk speed of master [Toms]
  5083. * Fixed the atk_rate (Turtle General Card) bonus not working on
  5084. dual-wielders. [Skotlex]
  5085. * Made HLIF_HEAL a self skill that auto-selects target to caster's master.
  5086. [Skotlex]
  5087. * Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE [Skotlex]
  5088. * Applied a correction to HVAN_EXPLOSION [Skotlex]
  5089. * Fixed Homun ASPD calculation being able to underflow and give you min
  5090. speed. [Skotlex]
  5091. * Added monster_ai&128 to make aggressive mobs ignore that behaviour of
  5092. always picking Homun targets above player targets regardless of who is
  5093. closer. [Skotlex]
  5094. * Fixed homun info packet being unable to display HP/SP correctly once the
  5095. values are above 32k. [Skotlex]
  5096. * Applied Mpeg's work on ninja [Toms]
  5097. * Fixed @homlvup [Toms]
  5098. * Added guild_aura (skill.conf) setting so you can specify when it works
  5099. and if it works on the guild-master itself. Defaults to working all the
  5100. time on everyone except GM. [Skotlex]
  5101. * Little code cleanup [Toms]
  5102. * Cleaned merc_hom_evolution to avoid free'ing/realloc'ing [Toms]
  5103. * Fixed "args of aFree is freed pointer" on Homunc deletion [Toms]
  5104. * Changed unit_free so that it receives which cleartype should be used when
  5105. the character is still on a map. Used this on status_damage so that mobs
  5106. that do not respawn when killed will properly display the death animation.
  5107. [Skotlex]
  5108. * Fixed Energy Coat consuming 10x less SP per hit than it should.
  5109. * Fixed signed/unsigned comparison issues with natural heal system [Toms]
  5110. 2006/08/17
  5111. * Vaporize will no fail when the homun is dead. [Skotlex]
  5112. * Corrected thhe double free issue that occurs when a homun dies and has no
  5113. intimacy left. [Skotlex]
  5114. * Fixed the charsave_method:1 saving/loading exp as signed ints rather than
  5115. unsigned. [Skotlex]
  5116. * Applied use of structure regen_data for a unified regen module. Natural
  5117. and skill-heal is handled by this structure, while sitting-skill-heal is
  5118. still player dependant (mostly because the other object types can't sit)
  5119. [Skotlex]
  5120. * Cleaned up the status calc code for homun by moving it from
  5121. status_calc_bl_sub_homun to status_calc_homun (where it should had always
  5122. been) [Skotlex]
  5123. * Updated SQL files [Playtester]
  5124. * Corrected map_random_dir algorithm [Toms]
  5125. * Fixed homunc natural heal and little code cleanup [Toms]
  5126. * Changed AM_CALLHOMUN Skill to spawn the homunc at 1 cell from his master [Toms]
  5127. 2006/08/16
  5128. * Fixed being unable to recast Adrenaline Rush to reset the duration
  5129. timers. [Skotlex]
  5130. * Cleaned up skill_get_range2 so that using range 0 for non-self skills
  5131. uses the caster's attack range. [Skotlex]
  5132. * Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized
  5133. homun. [Skotlex]
  5134. * Spirit of Wizard will now consume an item 7321 each time it blocks
  5135. reflected magic. [Skotlex]
  5136. * Added script command jobname, retrieves a given's class name as per the
  5137. appropiate msg_athena.txt entry (this command should had been added years
  5138. ago) [Skotlex]
  5139. * Fixed null-pointer crash on Evolving a homunculus. [Skotlex]
  5140. * @produce now can make any kind of equipment [Skotlex]
  5141. * Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster
  5142. and target. [Skotlex]
  5143. * AM_REST shouldn't be checking for a range now (since it's a self skill)
  5144. [Skotlex]
  5145. * Updated mob_ai so that mobs will use their rude-attacked skill when they
  5146. can't reach their current target. [Skotlex]
  5147. * Fixed the default txt config making pets be saved to the homun file
  5148. instead of to the pet file. [Skotlex]
  5149. * Now arrow-consuming skills where your main weapon is a whip or musical
  5150. instrument WILL count as arrow-type attacks, using the atk of the arrow and
  5151. all related bonuses. [Skotlex]
  5152. * Fixed some homun timer initialization code. [Skotlex]
  5153. 2006/08/15
  5154. * Applied multiple fixes which should take care of making homun save/load
  5155. work on TXT now. [Skotlex]
  5156. * Added Gatling Fever's batk bonus. [Skotlex]
  5157. * Some cleaning in status_damage which should prevent trying to free
  5158. already free'd pointers when unit_remove_map invokes unit_free (when
  5159. status_damage was going to invoke unit_free anyway) [Skotlex]
  5160. * Delete homunc's skills from sql when the homunc is destroyed [Toms]
  5161. * Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu [Toms]
  5162. * Updated vc-project files to compile with the new int_homun files.
  5163. [Skotlex]
  5164. * Hopefully fixed the crash when using charsave_method = 1 [Skotlex]
  5165. * Moved s_pet structure from map_session_data to pet_data, this enabled the
  5166. removal of a few redundant values in the pet_data structure (name, class,
  5167. equip) [Skotlex]
  5168. * Cleaned up some of the pet related @/# commands, same for some script
  5169. commands. [Skotlex]
  5170. * Pet offensive skills who's inf value is self will be casted on the pet
  5171. now (for stuff like Grand Cross) [Skotlex]
  5172. * Added homun saving/loading support to char-TXT. Note that this is
  5173. completely untested, so it may be as good as broken. [Skotlex]
  5174. * Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun
  5175. has no master (need to clean up this function later) [Skotlex]
  5176. * Tested char-txt load/save, it seems to be working fine, but you should
  5177. STILL backup, as I only launched the server (read old character format),
  5178. closed it down (saved into the new format) and relaunch it (read the new
  5179. format) and it didn't give problems (but there's still the possibility of
  5180. some field being read in the incorrect offset or such). [Skotlex]
  5181. * Updated the char save structure for char-TXT servers so that the homun id
  5182. will be saved, now also the map info (last point, save point, memo maps)
  5183. are now saved using the mapindex rather than the string. BACKUP BEFORE
  5184. UPDATING since this code isn't yet tested. [Skotlex]
  5185. * Cleaned up a bit the char-saving code, added overflow crash prevention in
  5186. case there are more memos than the max-allowed saved. [Skotlex]
  5187. * AM_CALLHOMUN can now be used to recall vaporized homuns. [Skotlex]
  5188. * AM_RESURRECTHOMUN will now fail when the homun is vaporized. [Skotlex]
  5189. * Added SCB_DYE which marks which status-changes need a forced cloth dye
  5190. change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status
  5191. uses it. [Skotlex]
  5192. * Asura Strike now moves you to the target on fail always (unless the
  5193. target does not exists or is in another map or there's a obstacle on the
  5194. way) [Skotlex]
  5195. * Corrected skill_attack_area hitting dead characters on it's splash range.
  5196. [Skotlex]
  5197. * Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable
  5198. SG to show the fly animation again, even if sometimes others will see him
  5199. as Santa. As for xmas cloth, it shouldn't make much of a difference since
  5200. the view class is changed to christmas anyway. [Skotlex]
  5201. * Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where
  5202. they automatically pick a spot around you. [Skotlex]
  5203. * Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now.
  5204. [Skotlex]
  5205. * Cleaned up some the hom evolution code. [Skotlex]
  5206. * Fixed SIGSEGV with homunc save [Toms]
  5207. 2006/08/14
  5208. * Removed support for negative autosave intervals, instead added a
  5209. minsave_interval setting which specifies which is the minimum time between
  5210. character saves. Default to 100ms (map_athena.conf). [Skotlex]
  5211. * Sacrifice no longer shows damage to self. [Skotlex]
  5212. * When Asura fails, the skill display will still come off. [Skotlex]
  5213. * Lots of cleaning of the Homun-code. Perhaps the crashes as of late will
  5214. be fixed now (reusing AM_CALLHOMUN seems to be the cause of them)
  5215. [Skotlex]
  5216. * Increased Run's walk speed bonus to 25->50% [Skotlex]
  5217. * Modified emergency_call setting to allow for more specific configuration
  5218. (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see
  5219. skill.conf for details. [Skotlex]
  5220. * Fixed script engine allowing scripts to set a player's zeny to negative
  5221. values. [Skotlex]
  5222. * Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
  5223. [Skotlex]
  5224. * When readjusting the fame-list, the last entry's id is also reset (may
  5225. fix characters appearing more than once on it?) [Skotlex]
  5226. 2006/08/13
  5227. * Removed @itemcheck as it was totally pointless. [Skotlex]
  5228. * Corrected states killer/killable being easily dispellable. [Skotlex]
  5229. * Fixed the totally wrong text messages being used for @killer/@killable
  5230. related atcommands, added appropiate entries to msg_athena [Skotlex]
  5231. * Magic and Misc attacks will now get type "flee" when they do less than 1
  5232. damage, this blocks them from causing additional status effects when they
  5233. are blocked. [Skotlex]
  5234. * Cleaned up a bit the Basilica code, it should now properly end when you
  5235. walk. [Skotlex]
  5236. * Fixed some logs not working when you enabled all logs. [Skotlex]
  5237. * Corrected unmute being a level 60 command by default (should be 80)
  5238. [Skotlex]
  5239. * Corrected the mapif_parse_PartyChangeMap function to correctly update
  5240. level-range when someone logs on/off, fixes being unable to set even-share
  5241. on once it's been broken even when the characters out of range logoff.
  5242. [Skotlex]
  5243. 2006/08/11
  5244. * Fixed Kagebunshin no Jutsu crashing for dyes > 0; though this solution
  5245. might seem hackish (changing clothes colour to 0 when it starts while
  5246. storing original colour back in val4, restoring original dye upon
  5247. end), I believe this is the best way there currently is to solve
  5248. the issue. [blackhole89]
  5249. * Fixed Dancers/Bards being able to use normal attacks while performing.
  5250. [Skotlex]
  5251. 2006/08/10
  5252. * Fixed the item group bonus not working. [Skotlex]
  5253. * Fixed songs/dances always being considered overlapped with themselves.
  5254. [Skotlex]
  5255. * Added some additional song/dance overlap code that should correctly
  5256. change the effect of songs/dances when they overlap. [Skotlex]
  5257. * Added a check so that the status-change packet is always send to self
  5258. when the inflicted char is a player disguised. [Skotlex]
  5259. * Code cleanup on homunc, they stay in memory until player disconnect or
  5260. homunc destruction [Toms]
  5261. * Corrected Advanced Jobs HP bonus from 30% -> 25% [Skotlex]
  5262. * Hopefully fixed family-party-even-share not breaking when a member logs
  5263. out. [Skotlex]
  5264. * Should have fixed the login-sql crash when passed user-name's length is
  5265. beyond the limit. [Skotlex]
  5266. * Changed setting attack_attr_none to affect all neutral-element attacks.
  5267. Basicly, this setting is now used to determine who can hit for full damage
  5268. always when using neutral-attacks (defaults to non-players) [Skotlex]
  5269. * Fixed two instances in the login-sql server where the ip in the log-login
  5270. table was being stored backwards. [Skotlex]
  5271. * Now when a skill's range is 0 and the skill is NOT casted on self, it
  5272. will take the basic weapon's range (without Vulture/Snake Eye bonus).
  5273. [Skotlex]
  5274. * Now when a duration is not specified, sc_start/sc_start2/sc_start4 will
  5275. try to guess the duration by extracting it from the skill_db (it uses
  5276. skill_get_time on whatever skill is associated to the status-change using
  5277. val1 as skill-level) [Skotlex]
  5278. * Some cleanups on trade_tradeaccept to prevent packets being resent when
  5279. they shouldn't. [Skotlex]
  5280. * Fixed syntax error in 'guild' create table statement [Toms]
  5281. 2006/08/09
  5282. * Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
  5283. * Fixed homunc skill up bug [Toms]
  5284. * Adjusted some the dance/song/encore code so that the source of an
  5285. ensemble will always get checked, so that walking out of an ensemble skill
  5286. should make it end now. However, it's likely this is not completely solved
  5287. yet and will require further tweaking. [Skotlex]
  5288. * Added crash protection to the mob_db txt reading when the mob_db file has
  5289. lines with insufficient number of columns. [Skotlex]
  5290. * Moved the class-change code from battle_calc_weapon_attack to
  5291. skill_additional_effect. Alchemist summons now also have a chance of
  5292. triggering polymorphing. [Skotlex]
  5293. * Removed the code which was auto-setting attacks that do no damage to type
  5294. FLEE, since that was disabling status-effects which should incur even when
  5295. the damage was blocked. [Skotlex]
  5296. * Trade requests will now fail when either character is unable to act
  5297. (character in storage, vending, interacting with an npc, petrified, etc)
  5298. [Skotlex]
  5299. * Heard skotlex voice, changed all msg_table[] into msg_txt() in atcommand.c [Toms]
  5300. 2006/08/08
  5301. * Fixed the char-server not invoking the party_calc_state function when the
  5302. third party-member is added to a party, hence failing to check for families
  5303. and disabling even share from them unless all three relog first (state is
  5304. correctly calculated when party is first loaded). [Skotlex]
  5305. * Crash-protections in the mail-checking function. [Skotlex]
  5306. * Some additional parenthesis on equipment check in pc_equipitem, seems to
  5307. have fixed the mid/lower headgear-sprites not showing up. [Skotlex]
  5308. * Added back missing state set to prevent Ankle-Snare from being retrieved
  5309. after the target dies. [Skotlex]
  5310. * Fixed compilation warning [Toms]
  5311. * Added a check to handle Spider Web as a targetted skill. If there's more
  5312. than one character on the targetted cell, a different one may get trapped,
  5313. but it will mostly do as it is now. [Skotlex]
  5314. * Added check to Asura so that it will move you to the target when it fails
  5315. ONLY when you can cast the skill on the target (not stunned, asleep, target
  5316. not hidden, etc) [Skotlex]
  5317. * Changed the map_freeblock_unlock code so that when there's an "already
  5318. free'd pointer" error, the memory manager will print out the invoking
  5319. function rather than map_freeblock_unlock, this should help fix it up next
  5320. time it happens and is reported. [Skotlex]
  5321. * Casting Kaensin will clear out Suiton and viceversa now. [Skotlex]
  5322. * Fixed drop-rates (@whodrops) getting duplicates when you use @reloadmobdb
  5323. [Skotlex]
  5324. * Fixed unjailing not sending characters to Prontera. [Skotlex]
  5325. * Fixed yet again AS_SPLASHER doing full damage on all characters. Now you
  5326. can use the NK split damage value in the skill_db if you want damage
  5327. divided by the amount of targets rather than by 2. [Skotlex]
  5328. * Fixed crash on the battle_drain functions. [Skotlex]
  5329. * Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by
  5330. other types of objects other than Homunculus. [Skotlex]
  5331. * Cleaned up the Asura Strike code so that the SP/Spheres/States is not
  5332. consumed when the skill fails due to Fog of Wall. [Skotlex]
  5333. * When a negative delay for a skill is specified, this delay is now added
  5334. on top of the character's amotion rather than adelay [Skotlex]
  5335. * Modified main.sql to make the guild table allow NULL on the emblem data.
  5336. [Skotlex]
  5337. * Added file conf-tmpl/Changelog.txt to log config changes. [Skotlex]
  5338. 2006/08/07
  5339. * Fixed the login-sql server replying to the change-sex packet with the
  5340. wrong gender, causing the char-server to screw-up job-change updates.
  5341. [Skotlex]
  5342. * Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD work as
  5343. described on the docs now, this should also fix adopting not correctly
  5344. giving the family-related skills. The flag value of skill should be: 0 to
  5345. set the skill (if skill level is 0, this removes a learned skill), 1 grants
  5346. the skill as an item bonus which is temporary, and 2 will add a skill bonus
  5347. like 1, except the skill level adds up to whatever level already known of
  5348. that skill. [Skotlex]
  5349. * Fixed EQP_WEAPON related code messing up with both weapon AND shield.
  5350. [Skotlex]
  5351. * Cleaned up the Asura code so that when the skill fails your
  5352. SP/Spheres/Fury are all taken away always, as well as moving you next to
  5353. the target (as long as the target still exists within a reachable path from
  5354. your position) [Skotlex]
  5355. * SC_GUILDAURA is now removed on logout. [Skotlex]
  5356. * Fixed Venom Splasher doing half-damage instead of full-damage to the
  5357. "exploding" character. [Skotlex]
  5358. * Hopefully fixed the party_even_share cast-overflow bug as reported by
  5359. Adobe. [Skotlex]
  5360. * Standarized the autosave interval setting to be always in seconds
  5361. regardless of type. [Skotlex]
  5362. * Moved the "bosses can't be knockback" logic from battle_calc_* functions
  5363. and placed it on skill_blown. [Skotlex]
  5364. * Some parenthesis cleanup before invoking battle_calc_base_damage, could
  5365. be fixing the current issue with arrow attacks not adding the arrow damage.
  5366. [Skotlex]
  5367. * Fixed the map_search_freecell error which was making mobs fail to
  5368. respawn. [Skotlex]
  5369. * Added in Lupus's suggestion of not making multi-slot headgears set all
  5370. slot view-ids, which supposedly causes the client to re-draw the headgear
  5371. multiple times on characters. [Skotlex]
  5372. * Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
  5373. [Skotlex]
  5374. * Simplified the Tatami Gaeshi code. [Skotlex]
  5375. * Fixed AS_SPLASHER doing full damage on everyone except targetted char
  5376. instead of the other way around. [Skotlex]
  5377. * Fixed KAENSIN clearing out SUITON cells and viceversa. [Skotlex]
  5378. * The spawn area is now seen as range rather than absolute for mob spawn
  5379. lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around
  5380. the given x,y point. [Skotlex]
  5381. * Some clean up of the mob-spawn code. Now you can specify negative areas,
  5382. so that a spawn location such as 100,150,0,-1 will spawn a mob always on
  5383. x=100, but any Y value of the current map. [Skotlex]
  5384. * Reflected damage will now also have a chance of draining hp/sp. [Skotlex]
  5385. * Adjusted the order in which option/sc change packets are sent to match
  5386. Aegis's [Skotlex]
  5387. * Added script command getpartyleader through which you can retrieve
  5388. various information of a party's leader. See doc/script_commands.txt for
  5389. further information. [Skotlex]
  5390. * mpeg's Ninja work [Vicious]
  5391. * Adjusted Battle_check_target so that alchemist summoned mobs are
  5392. targetted by everyone as long as 1. The top-level master is a player and 2.
  5393. the actual attacker is not a mob-type. [Skotlex]
  5394. * Added config force_random_spawn which overrides the spawn-files defined
  5395. coordinates to make all mobs always spawn randomly on the map. [Skotlex]
  5396. * SC_SPEEDUP0 is no longer dispellable by SA_DISPEL [Skotlex]
  5397. 2006/08/06
  5398. * Updated item_db.sql & mob_db.sql to latest. [Toms]
  5399. * Little fixes on homunc (hp/sp are now saved and init stats changed) [Toms]
  5400. 2006/08/04
  5401. * Added a commented piece of code at the end of clif_parse_LoadEndAck which
  5402. will update your direction to wherever you were facing before warping.
  5403. Should this be the default? Nearby people DO see you facing on the same
  5404. direction before warping, it's only your client that will always see you
  5405. facing north on spawn (the spawn packet does contain direction
  5406. information). [Skotlex]
  5407. * Updated @mobinfo to display slots in the drop information. [Skotlex]
  5408. * Fixed flag.elefix not being respected in battle_calc_misc_damage.
  5409. [Skotlex]
  5410. * Some code cleanups in battle_calc_damage. [Skotlex]
  5411. * Modified bAddItemHealRate so it can receive both item-id and item-group
  5412. values (since the first item-id is +500, there's no risk of mixing them
  5413. up). [Skotlex]
  5414. * Removed settings enemy_critical_rate, homun_critical_rate. Added settings
  5415. enable_critical (defaults to specify only players), mob_critical_rate and
  5416. critical_rate. The last applies to all non-mobs and non-players
  5417. (battle/battle.conf) [Skotlex]
  5418. * Removed settings mob_npc_warp, mob_warpportal. Replaced with setting
  5419. mob_warp which specifies which types of warp can a mob step into
  5420. (battle/monster.conf) [Skotlex]
  5421. * Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out
  5422. of the mastery function so that it may apply to all skills except Soul
  5423. Breaker. [Skotlex]
  5424. * Changed name of the setting log_pick to log_filter since that's what it
  5425. does now. [Skotlex]
  5426. * Modified enable_logs so that instead of a 0/1 setting, you can specify
  5427. which kind of events to log (so you can use a combination), see log_athena
  5428. for the bitmask configuration. [Skotlex]
  5429. * Cleaned a bit the contents of log_athena.conf
  5430. * Hide/Chasewalk will again stop screaming skill name. [Skotlex]
  5431. * Soul Breaker will no longer receive Mastery damage. [Skotlex]
  5432. * Fixed warning:'type' might be used uninitialized in this function [Toms]
  5433. 2006/08/03
  5434. * Added a check to skip the experience share of characters who are dead or
  5435. on another map. [Skotlex]
  5436. * Reverted the previous change, chasewalk has no icon, only the str-bonus
  5437. has that fist icon now. [Skotlex]
  5438. * Allowed chase-walk to display a skill animation when using it. [Skotlex]
  5439. * Readjusted the Chasewalk icon to be as it should be. [Skotlex]
  5440. * GS_DESPERADO is now a short-range attack skill. [Skotlex]
  5441. * Changed the Battle-Orders icon to be the Strength Up icon (for
  5442. Chasewalk's str bonus). [Skotlex]
  5443. * Fixed using the right-hand weapon's size modifiers regardless of which
  5444. weapon's damage was being calculated in regards to. [Skotlex]
  5445. * Simplified the ignore-size check by making the Weapon Perfection check be
  5446. done when specifying the flag, also moved the size-fix property of riding
  5447. spear-knights to status_calc_pc. [Skotlex]
  5448. * Changed SI_CHASEWALK value to 119 as concluded by LoneWolf [Skotlex]
  5449. * Corrected clif.c sending the raw mdef2 value to the client instead of
  5450. first substracting the "secret vit/2" bonus from it. [Skotlex]
  5451. * Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent
  5452. overflows. It is not capped to INT_MAX because damage increasing skills
  5453. would cause it to still overflow afterwards. [Skotlex]
  5454. * Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the
  5455. code. [Skotlex]
  5456. * Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks
  5457. should happen before a mob uses the rude-attacked skill. Value has been set
  5458. to 2 for now. [Skotlex]
  5459. * Now when a mob changes target (to someone they can hit) their
  5460. rude-attacked count won't be reset, but instead will be reduced by one.
  5461. [Skotlex]
  5462. * SC_SPEEDUP0 can now stack with the other speed raising buffs. [Skotlex]
  5463. * Some adjustments so that the last-skill-used will be correctly cleared
  5464. when your combo-time ends. [Skotlex]
  5465. * Fix a bug in atcommand_charspeed [Toms]
  5466. * Fixed a logic error preventing from cooking anything [DracoRPG]
  5467. * Cleaned up the last NJ update code. [Skotlex]
  5468. * Added @ command `charspeed` [Skotlex]
  5469. * Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL [Skotlex]
  5470. * Removed case for GS_SPREADATTACK on damage packets to see if the skill
  5471. displays correctly now. [Skotlex]
  5472. * Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are
  5473. removed, NOT the ones who were already placed. [Skotlex]
  5474. * Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix
  5475. icon-confusion when both are enabled at a time. [Skotlex]
  5476. * Mob rude-attacked count is not reset now on picking a new char (gotta
  5477. investigate this further) [Skotlex]
  5478. * Changed atoi to strtoul for guild-experience's field [Toms]
  5479. * Fixed a bug in int_storage.c, temp array doesn't have the good size [Toms]
  5480. 2006/08/02
  5481. * Modified yet again SC_SILENCE after iRO tests from Entwined on IRC.
  5482. Silence now ONLY blocks skills from being used, it will not stop on-going
  5483. casts. [Skotlex]
  5484. * Updated status_cast_cancel to also include silence (so the cast bar is
  5485. cancelled if you are silenced during it) [Skotlex]
  5486. * Updated the way SC_SILENCE works. From what I remember (from previous
  5487. forum discussions) it: 1- Always blocks skills from being used. 2- Will
  5488. only block a skill when the cast-bar ends IF the skill is targetted. If
  5489. anyone wants to debate to get this changed, make an appropiate forum topic
  5490. in the svn development area to discuss. [Skotlex]
  5491. * Added a check in the walking code when triggering skills.
  5492. NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend
  5493. the walk packet, this effectively causes the mob to start walking
  5494. (clientside) while the cast-bar is showing. [Skotlex]
  5495. * Fixed a logic error on battle_get_master which was causing infinite
  5496. loops.. [Skotlex]
  5497. * Fixed homunculus error message [Toms]
  5498. * Rewrote pc_payzeny to not use doubles, it may more accurately prevent
  5499. charging a player more zeny than they can withhold. [Skotlex]
  5500. * Fixed failing to create Deadly Poison Bottles damaging 50% of your max
  5501. life instead of 25% [Skotlex]
  5502. * Added the missing status-change flags to SC_FREEZE to signal it should
  5503. modify def and magic def [Skotlex]
  5504. * Little add on NJ_HUUMA [Toms]
  5505. * Merged Mpeg's work on Ninja skills [Toms]
  5506. * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex]
  5507. * Now you can teleport in Thanatos Boss room, but you can't respawn there [Playtester]
  5508. * Fixed Defender Raising Walk speed instead of diminishing it. [Skotlex]
  5509. * Added a check on status-change load to prevent loading speed-affecting
  5510. status when their speed adjustment is 0 (prevents division by zero)
  5511. [Skotlex]
  5512. * Code cleanup & optimization on guild part of char-server [Toms]
  5513. * Fixed script code data not being free'd if a player quits in the middle
  5514. of a script. [Skotlex]
  5515. * Modified run_script so that when there are leaks, it will report the
  5516. place where run_script was called from as source rather than the inner code
  5517. of run_script (for debugging purposes) [Skotlex]
  5518. * Made recursive master check the default (otherwise it messes skill -> pet
  5519. -> player kind of herarchies) and cleaned up some the battle_get_master
  5520. code to prevent infinite loops in the weird case someone specifies that
  5521. their master is itself. [Skotlex]
  5522. * Recoded the GuildAura code to use val3 & val4, allowing much greater stat
  5523. bonuses (in case someone wants to get Guild Skill level 20 or something
  5524. crazy like that) [Skotlex]
  5525. * Updated battle_check_target so that all alchemist summoned mobs can be
  5526. target by everyone. [Skotlex]
  5527. * Cleaned up skill_check_condition_mob_master_sub, it will now count both
  5528. total number of summoned mobs and amount that belong to the same type.
  5529. [Skotlex]
  5530. * Corrected AM_CANNIBALIZE so it will fail if you already have plants of
  5531. another type out. [Skotlex]
  5532. * Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
  5533. [Skotlex]
  5534. * Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now
  5535. Volcano/Deluge/V. Gale will get that funky icon instead. [Skotlex]
  5536. * Changed clif_hominfo to receive both sd and hd as parameters
  5537. * Some redundancy cleaning in mercenary.c [Skotlex]
  5538. * Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
  5539. [Skotlex]
  5540. 2006/08/01
  5541. * Miscellanous fixes which make the Marine Sphere self destruction work as
  5542. best as I can. It only has one flaw: It self-destructs instantly after
  5543. walking because if I make it use self-destruction with a cast-bar,
  5544. client-side the object stops moving inmediately... [Skotlex]
  5545. * Modified unit_walktoxy and NPC_RUN to enable running even when the caster
  5546. does not has the MD_CANMOVE bit on. [Skotlex]
  5547. * PF_MINDBREAKER will now silently fail if you try to use it on someone who
  5548. already has the status active. [Skotlex]
  5549. * Cleaned up yet again skill_landprotector, now new cells of
  5550. Deluge/Volcano/V.Gale will delete previous cells when they are recasted on
  5551. top of each other. [Skotlex]
  5552. * Summoned Marine Spheres no longer get the MD_CANMOVE bit. [Skotlex]
  5553. * Cleaned up some more the SC_JAILED code [Skotlex]
  5554. * merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru
  5555. and Coltaro for the code. [Skotlex]
  5556. * Cleaned the code of atcommands jail and unjail [Skotlex]
  5557. * Be warned that the code MAY contain bugs as I adjusted it to save the
  5558. character's position before jailing, allowing the automatic unjailing to
  5559. warp you back to the exact spot you were at before being jailed. [Skotlex]
  5560. * Should have fixed the cooking sets not displaying all cooking available
  5561. items. [Skotlex]
  5562. * Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
  5563. really working. Thanks to Mpeg for noting it out. [Skotlex]
  5564. * Modified Self Destruction, so that Marine Spheres in non-versus maps will
  5565. hurt only enemies, while in all other situations this skill will hurt
  5566. everyone around them. [Skotlex]
  5567. * Expanded setting debuff_on_logout so that &1 removes negative buffs and
  5568. &2 removes positive buffs. [Skotlex]
  5569. * Food status boosts will no longer end on death, but they will end when
  5570. you respawn or logout. [Skotlex]
  5571. * Added battle config file status.conf, moved some settings from skill.conf
  5572. and battle.conf to it since they are entirely Status-Change related.
  5573. [Skotlex]
  5574. * Added the missing lines to enable script command "kickwaitingroomall"
  5575. [Skotlex]
  5576. * Magic Rod's can-act delay will no longer be applied when you absorb a
  5577. spell. [Skotlex]
  5578. * Fixed Don't Forget Me increasing speed instead of decreasing it. [Skotlex]
  5579. * Modified setlabel so that the script engine barks when you are trying to
  5580. use the same label name as a constant or variable name. [Skotlex]
  5581. 2006/07/31
  5582. * Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame
  5583. rankings. [Skotlex]
  5584. * Updated Poison React chance to counter and number of counters as per
  5585. skill description updates. [Skotlex]
  5586. * Fixed Sharpshooting being counted as a magic attack, and hence, using
  5587. your MATK as base damage. [Skotlex]
  5588. * Fixed NPC_STOP id value in skill_cast_db [Skotlex]
  5589. * Bladestop will no longer stop when you push either of the characters
  5590. around. [Skotlex]
  5591. * Fixed Enchant Poison having a near 100% chance of poisoning target on
  5592. attack. [Skotlex]
  5593. * Little fix on duel [Toms]
  5594. * Added possibility to restrict duel usage to same map [Toms]
  5595. * Merged mpeg's fix on ninja skills [Toms]
  5596. * Corrected a status_get_race call which should be status_get_race2 in misc
  5597. attacks. [Skotlex]
  5598. * Moved the Devotion code to the top of the SC list in status_damage,
  5599. meaning that now stuff like being asleep or confused won't end if you are
  5600. hit, but the damage is absorbed by devotion. [Skotlex]
  5601. * Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no
  5602. information of how much the bonus should be, it currently is a conservative
  5603. 10%. [Skotlex]
  5604. * Fixed a possible crash in the main script engine when restoring previous
  5605. script. [Skotlex]
  5606. * Fixed sleep.tick not being set back to 0 before resuming execution, which
  5607. leads to scripts that are continously executed even when they already ended
  5608. (they do nothing but waste resources) [Skotlex]
  5609. * Fixed a pair of free -> aFree used on stacks, which would lead to memory
  5610. manager reporting leaks where there aren't. [Skotlex]
  5611. * Removed incorrect "Waterball range+1 when standing on suiton" feature.
  5612. [Skotlex]
  5613. * Corrected the Speed update code to prevent sending "walk to xy" packets
  5614. twice when the affected character is a player. [Skotlex]
  5615. * Expanded mob can't move warning to print out where this mob was stuck at
  5616. (map, x,y) [Skotlex]
  5617. * Fixed segmentation fault in status_change_end, vd wasn't initialized [Toms]
  5618. 2006/07/30
  5619. * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
  5620. level, so that at level 1 they can attack, use skills and receive no
  5621. walking penalty. [Skotlex]
  5622. * Mob casted Sanctuary will no longer always heal it's targets regardless
  5623. of element/race [Skotlex]
  5624. * Status change packets will now use as criteria for sending the actual
  5625. view_class instead of player/not-player. This will fix status-changes
  5626. displaying improperly on clones, and also possible crashes with disguised
  5627. players. [Skotlex]
  5628. * Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE [Toms]
  5629. * Added bNoMiscDamage setting so you can specify misc-damage blocking from
  5630. skills. Modified battle_calc_damage so that even Pressure and similar
  5631. skills will be affected by this setting. [Skotlex]
  5632. * GS skill updates/fixes [Vicious]
  5633. * Force all users offline in sql when char-server starts [Toms]
  5634. 2006/07/29
  5635. * Removed ugly struct cast in login.c [Toms]
  5636. * New version of buildin_query_sql which accept more than one column and
  5637. can return the number of rows. See script_commands.txt for more details. [Toms]
  5638. * Fixed nullpo in merc_hom_skillup [Toms]
  5639. * Added a return value to buildin_rid2name if rid is invalid [Toms]
  5640. * Made the SQL ping interval default to 7 hours. [Skotlex]
  5641. * Made skill_unitsetting remove the group when no unit-cells were placed
  5642. down. basicly this means that if landprotector blocks all tiles, the group
  5643. will be removed from memory, preventing said group from counting to the
  5644. total number of skills you can set. [Skotlex]
  5645. * Fixed segmentation fault in script engine when calling something which is not a function [Toms]
  5646. * Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
  5647. 2006/07/28
  5648. * Added Ishizu's code to check ammo type on attack. No more using Grenade
  5649. rounds with Guns. [Skotlex]
  5650. * offensive heal/sanctuary will only happen when the source of the heal is
  5651. a player, mob/pet casted heal will now always heal regardless of target.
  5652. [Skotlex]
  5653. * Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
  5654. [Skotlex]
  5655. * Self destruction will now hit all characters in range, not just enemies.
  5656. [Skotlex]
  5657. * Cleaned up the NJ update code: [Skotlex]
  5658. - Restored code which was removed (stuff like SC_SKA)
  5659. - Fixed possible crashes on some NJ skills if used by non-players.
  5660. - Fixed most NJ magic spells doing more damage than they should.
  5661. - Fixed ZenyNage being able to do more damage than zeny you have.
  5662. - Cleaned up skill setting code for Suiton and Kaensin
  5663. * Some cleaning of battle_drain, Evil Druid card should work now. [Skotlex]
  5664. * Made status_damage allow damaging of objects not on a map, this should
  5665. fix pet-catching making the mob never respawn again. [Skotlex]
  5666. * Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same :) [Toms]
  5667. * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
  5668. * Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
  5669. * Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
  5670. * Fixed sign warnings in login/login.c [Toms]
  5671. * Fixed "conversion from 'double' to 'int', possible loss of data" [Toms]
  5672. * Fixed "warning: redefinition of [ushort/uint/ulong]" [Toms]
  5673. * Fixed duplicate case value on NJ_SUITON [Toms]
  5674. 2006/07/27
  5675. * Fixed a memory leak when there exists more than one user function with
  5676. the same name, added the appropiate warning when this happens. [Skotlex]
  5677. * Added reporting source file when an npc shops item's price is
  5678. exploitable. [Skotlex]
  5679. * The picklog will now record negative values for items sold to npcs.
  5680. [Skotlex]
  5681. * Added inmediate position and hp-bar update when a character joins a
  5682. party. [Skotlex]
  5683. * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
  5684. * Added config setting party_update_interval so you can specify how often
  5685. the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]
  5686. * Removed a bunch of broken comments in skill.c [Skotlex]
  5687. * Synced the script.c file with as much data as possible from jA's:
  5688. [Skotlex]
  5689. - A lot of functions were moved around, a bunch of indentation and
  5690. space-usage changes were done to make it easier to diff against their
  5691. files.
  5692. - Miscellanous addition and corrections were applied.
  5693. - Largest one is likely a restructuring of run_script_main, which hopes to
  5694. solve the memory leaks.
  5695. - script engine now uses the setjmp functions to restore memory state when
  5696. there's an error parsing scripts, which means that script errors won't
  5697. cause the map-server to inmediately bail out anymore.
  5698. - NOTE that the amount of changes is pretty extensive, so DON'T USE THIS on
  5699. a live server. Update only to help test and debug to see if the script
  5700. engine memory leaks are gone.
  5701. * Added a cleanup routine on shutdown to remove all characters from memory
  5702. for whom the save ack has not returned from the char-server yet. [Skotlex]
  5703. * Now when you set the guardian's HP, if the guardian is spawned, it's HP
  5704. will be updated accordingly (and if you set it to 0, the guardian is
  5705. killed) [Skotlex]
  5706. * Added functions status_set_hp/status_set_sp to set hp/sp to a given
  5707. value. Applied usage of these on the Berserk and Soul Change code.
  5708. [Skotlex]
  5709. * Added config setting "party_hp_mode" (battle/party.conf) which determines
  5710. method to use to update party-mate hp bars. Aegis style is to update HP
  5711. bars whenever HP changes, while eAthena style is to update it together with
  5712. the map party dots. Defaults to aegis style. [Skotlex]
  5713. * Fixed packet 0x22a having the manner and opt3 packets in inverted
  5714. offsets. [Skotlex]
  5715. * Readded the check which prevents Cloaking from activating when your
  5716. learned level is less than 3 and you aren't next to a wall. [Skotlex]
  5717. * Some cleanups to the Frenzy/Berserk status change, it should probably
  5718. work correctly now. [Skotlex]
  5719. * Removed a redeclared variable i in the parsing of the fame list (char-sql
  5720. server) which seems to be the cause of the random memory corruptions.
  5721. [Skotlex]
  5722. * Updated item_db.sql to latest. [Toms]
  5723. * Fix homunc & code cleanup [Toms]
  5724. - Timer problems on delete_timer
  5725. - Intimacy problem (overflow & new values)
  5726. - Homunc deleted if intimacy < 0
  5727. - base exp is now given to master
  5728. - Homunc sometimes not saved
  5729. 2006/07/26
  5730. * Fixed a memory leak when reading the item_db txt. [Skotlex]
  5731. * Applied the necessary changes to make @partyoption reflect it's changes
  5732. on the alt+p window. [Skotlex]
  5733. * Modified party_item_share_type config setting so that using 1 disables
  5734. item-sharing from non-mob loot (player dropped items or pet loot) and 2
  5735. enables round-robin instead of random sharing. Using 3 obviously is
  5736. enabling both 1 and 2. [Skotlex]
  5737. * Added battle_get_master which returns the master bl of a given object.
  5738. [Skotlex]
  5739. * Recoded battle_check_target to use battle_get_master, the src/target
  5740. switch has been split into two, so that actual target and master target are
  5741. seperately treated (same for source). [Skotlex]
  5742. * Added support for "sc_end -1" which will clear all status changes. Added
  5743. the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
  5744. [Skotlex]
  5745. * @pettalk will now fail when muted. [Skotlex]
  5746. * Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
  5747. 2006/07/25
  5748. * Cleaned up run_script_main to properly free previous stack-data when
  5749. running scripts. Note that scripts may still leak memory when run by
  5750. non-players and they don't reach the "END" state, however I am not sure how
  5751. this case should be handled, so it's left as it is for now. [Skotlex]
  5752. * Added a missing ntohl call in the loginlog code. [Skotlex]
  5753. * Added a check when buying from npcs to allow buying of item_avail items.
  5754. [Skotlex]
  5755. * Fixed duel accept invite sending the packet before the duel data is set
  5756. (resulting in a packet that noone receives). Thanks to Toms for finding it
  5757. out. [Skotlex]
  5758. * Fixed a possible crash when you dual-wield and the total damage is 0.
  5759. [Skotlex]
  5760. * Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
  5761. they convert the txt databases into sql. [Skotlex]
  5762. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
  5763. * Updated the sql files since now it's quick [Skotlex]
  5764. 2006/07/24
  5765. * Re-updated the mob_db.sql to latest. [Skotlex]
  5766. * Cleaned up the skill_landprotector function to correctly block only magic
  5767. skills from being placed on land protectors. [Skotlex]
  5768. * Corrected itemdb_group so that it will not return the random item givers
  5769. (should give priority to actual item groups, so that the item heal bonuses
  5770. work correctly) [Skotlex]
  5771. * Cleaned up the Mistress Card related code so that the no-gemstone bonus
  5772. reduces item requirements by one rather than totally skip them. [Skotlex]
  5773. * Cleaned up the logs "can log"function to use the IT constants. Also
  5774. corrected the "only log large amounts" setting not working on negative
  5775. values (trades). [Skotlex]
  5776. * Adjusted skill_castfix_sc so that Suffragium will get consumed even on
  5777. instant cast skills, but Memorize won't. [Skotlex]
  5778. * BladeStop will now end when either of the characters is moved (knocked
  5779. out?) around. [Skotlex]
  5780. * Moved the Zeny penalty code from respawn to pc_dead. [Skotlex]
  5781. * Added a check to prevent Deluge/Volcano/Violent Gale from being placed on
  5782. top of each other. Reverted the previous 'fix' where atk was being
  5783. increased based on armor element rather than element of attack. [Skotlex]
  5784. * Removed the noreturn mapflag check from script command warp. [Skotlex]
  5785. * Homuculus cleanup [DracoRPG]
  5786. - Replaced nullpo's in parse functions by silent checks
  5787. - Removed server-side effect for menu option 0 (view status window...
  5788. why does the client send us the packet since we don't care? -_-)
  5789. - Rewrote intimacy underflow checks so they are really effective (no
  5790. need to check if an unsigned is < 0, it won't work... check before!)
  5791. * fixed unban unblocking players as well. [Skotlex]
  5792. * Fixed Volcano/Deluge/Violent Gale increasing damage based on element of
  5793. attack instead of defense element of attacker. [Skotlex]
  5794. * Cleaned up the code of Magic Rod, fixed it not giving SP. [Skotlex]
  5795. * Moved the code of Hermod and Basilica to castend_pos2 so it should work
  5796. now. [Skotlex]
  5797. * Modified the code of Ankle Snare so the status ends on unit's time-limit
  5798. rather than when the snared object moves away. [Skotlex]
  5799. * Re-worded the water check of ST_WATER skills. [Skotlex]
  5800. * Allowed sc-cast reductions to be processed even when cast-time is instant
  5801. (to let suffragium end even on instant-cast skills) [Skotlex]
  5802. 2006/07/23
  5803. * Modified setting skillrange_by_weapon (skill.conf) to be a
  5804. per-object-type setting instead of yes/no. The default now is that
  5805. weapon-based skills will take the attacker's range for non-players.
  5806. [Skotlex]
  5807. * Changed the default of skillrange_by_distance to include homunculus.
  5808. [Skotlex]
  5809. * Fixed buildin_isequip not working correctly with non-cards. [Skotlex]
  5810. 2006/07/22
  5811. * Updated mob_db.sql to latest. [Skotlex]
  5812. * Applied Toms's suggested corrections to homun code. [Skotlex]
  5813. * Corrected Cannibalize/Marine Sphere ignoring the selected summon spot.
  5814. [Skotlex]
  5815. * Fixed looting pets ignoring the item pick-up priority of other players.
  5816. [Skotlex]
  5817. * Should have fixed a signess warning in login txt. [Skotlex]
  5818. 2006/07/21
  5819. * Added blocking of @me when muted or in berserk status. [Skotlex]
  5820. * Corrected the @follow timer not being deleted on logout. [Skotlex]
  5821. * Applied the homunculus code fixes provided by Toms. [Skotlex]
  5822. * battle_check_target will now tag homunculus as invalid target when the
  5823. source is a skill-type object. [Skotlex]
  5824. * Added a check on pc_equipitem so that when the client specifies to equip
  5825. a weapon on the right hand when the left hand is available, the weapon will
  5826. be sent to the left hand instead (when dual-wielding is possible,
  5827. obviously). Same for the left/right accessories. [Skotlex]
  5828. * Added the necessary checks so that Suiton makes Fogwall have double
  5829. duration, and to make water-requiring skills to consume their cells.
  5830. [Skotlex]
  5831. * Corrected the loadmap event description to specify that the mapflag
  5832. required is actually "loadevent", NOT "loadmap"! [Skotlex]
  5833. * Now when the char-txt server does not finds a requested party, it will
  5834. clear out said party id of all characters (will help prevent massive
  5835. spamming/overhead when for some reason the party file needs to be deleted).
  5836. [Skotlex]
  5837. * Combo skills (inf = self, inf2 = no target self) no longer check range if
  5838. you use them while your attack-timer is still active. [Skotlex]
  5839. * Added back a map_freeblock call in skill_delunitgroup which caused a
  5840. memory leak when removed... [Skotlex]
  5841. * Added a check to prevent Blind from ending while standing on a fog of
  5842. wall. [Skotlex]
  5843. * The mob Slave ai will be executed now even when the slave has a target.
  5844. This will allow for "instant" warping to the master when it changes maps or
  5845. teleports. if the slave has a target already, it won't unlock it and chase
  5846. back to the master or anything like that. [Skotlex]
  5847. * Removed a couple of checks that prevents item ids above 20000. However,
  5848. remember that the max id is still ~32k or the client is the one who's gonna
  5849. crash! [Skotlex]
  5850. 2006/07/20
  5851. * Added source reporting when you do an invalid int&str or str&int
  5852. operation on a script. [Skotlex]
  5853. * Fixed the intif party creation packet having the incorrect size sent,
  5854. hence causing the leader's level to be read as garbage (which caused the
  5855. "impossible to even share" bug). [Skotlex]
  5856. * Added pc_check_weapontype to do a proper skill weapon check that takes
  5857. into account dual-wielding. That is, if a skill can be used with
  5858. daggers/axes, you'll be able to use the skill when dual-wielding them.
  5859. [Skotlex]
  5860. * Corrected Cloaking level 1-2 not letting you move across walls. [Skotlex]
  5861. * updated cloaking code so that when you set "enable cloaking without
  5862. walls", the code will consider you as "always next to a wall", thus you get
  5863. the wall-speed bonus always. [Skotlex]
  5864. * Applied the fix to homunculus name saving... [Skotlex]
  5865. * Added battle config settings agi_penalty_target and vit_penalty_target,
  5866. they define which object types will get vit/flee reductions when
  5867. multi-targetted and defaults to only players (battle/battle.conf) [Skotlex]
  5868. * Added the dummy intravision case for the changeoption packet 0x229
  5869. [Skotlex]
  5870. * Corrected Fog of Wall so that all targetted offensive skills (not only
  5871. those who do damage) will fail on cast-end 75% of the time. [Skotlex]
  5872. * corrected @homlevel up and one entry in the homun exp table as reported
  5873. on the forums by Albator. [Skotlex]
  5874. * Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
  5875. * Added a status_check_skilluse on skill_attack_area call to prevent splash
  5876. damage skills from hitting hidden/trickdead/etc characters. [Skotlex]
  5877. * Corrected fog of wall to behave as best known currently: [Skotlex]
  5878. - Only takes effect when targetting a character inside it
  5879. - -50hit/-75% damage when using normal-ranged attacks
  5880. - -25% damage from all damage skills
  5881. - 75% chance of all targetted damage skills of failing.
  5882. * Should have fixed @refine applying multiple times to equipment that uses
  5883. multiple equip slots. [Skotlex]
  5884. 2006/07/19
  5885. * Fixed the inf code update breakage which was blocking all offensive
  5886. skills. [Skotlex]
  5887. * Added battle setting homun_critical_rate (defaults to 0) [Skotlex]
  5888. * Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
  5889. enable_perfect_flee which specifies which objects can have perfect flee and
  5890. enable_baseatk which specifies which objects can have a base attack value
  5891. (both in battle.conf) [Skotlex]
  5892. * Modified the targetted skill logic to enable offensive skills to be
  5893. targetted at party/guild members if the appropiate inf2 value is set.
  5894. [Skotlex]
  5895. * Added checks to make adding items to inventory/cart fail when a char is
  5896. in finalsave state. [Skotlex]
  5897. * Fixed parse_names on irc.c crashing when receiving a null argument.
  5898. [Skotlex]
  5899. * Modified the parsing of the names line, since some servers will send @
  5900. instead of = when separating the information. [Skotlex]
  5901. * Fixed the homun creation sql statement. Why noone else did so before?
  5902. [Skotlex]
  5903. * When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it
  5904. will use clearchar and spawn packets instead of changeoption. Thanks to
  5905. Toms for the fix. [Skotlex]
  5906. * Corrected Trim chars to block 'enter', as explained by the Ultra mage.
  5907. [Skotlex]
  5908. * When the client passes account version 0, the login server will set it to
  5909. 1 now. [Skotlex]
  5910. * Corrected the HP bar scaling when HP is above Short Max. It should
  5911. display fine for any HP value now. [Skotlex]
  5912. * Added a check when the mob's adelay is shorter than the amotion, in which
  5913. case the adelay will be changed to the amotion value. [Skotlex]
  5914. * Some minor mapflag changes. [MasterOfMuppets]
  5915. 2006/07/18
  5916. * Added atcommand @partyoption, lets you alter the party item-distribution
  5917. type on the go. Usage is "@partyoption <pickup share> <item distribution>",
  5918. where both arguments can be 0/1, yes/no, etc. [Skotlex]
  5919. * Updated @changeleader and @partyoption to use msg_Athena entries.
  5920. [Skotlex]
  5921. * Added character 013 (enter) to the list of characters that are always
  5922. removed from new character names. [Skotlex]
  5923. * Fixed a crash when trying to extend TK's infinite combo feature. [Skotlex]
  5924. * Corrected Poison React to counter regardless of distance, and to use the
  5925. skill's 50+5*lv% counter chance (instead of 100%). [Skotlex]
  5926. * Corrected Venom splasher's splash damage [Skotlex]
  5927. * You now can't move/attack/use-skills when using Cloaking of a level less
  5928. than 3 [Skotlex]
  5929. * Fixed compilation of mercenary.c [Skotlex]
  5930. * Corrected Fog of Wall's "targetted spells fail 75% of the time" feature
  5931. by making it behave like GTB, that is, you just get a skill-failed on
  5932. cast-end, no skill-animation at all. [Skotlex]
  5933. * Added a proper check to make aggressive mobs never override homun targets
  5934. regardless of distance. [Skotlex]
  5935. * Removed a bunch of homun-related variables that are not needed at all.
  5936. The alive condition is removed, now the code checks for the hp value to
  5937. know if the homun is alive or not. [Skotlex]
  5938. * Cleaned up a bit the skill-id function, homun skill checks (such as delay
  5939. and skill-lv learned) should be correct now. [Skotlex]
  5940. * Added a proper check to make aggressive mobs never override homun targets
  5941. regardless of distance. [Skotlex]
  5942. * Fixed giving the 100% damage bonus when no-splash-targets are found in
  5943. the blown path to Grandcross instead of Bowling Bash. Bowling Bash damage
  5944. equation becomes then +50*lv% rather than +40*lv% when there's no
  5945. splash-damage (the 50*lv% figure is custom, all we know is that level 10
  5946. does 600% instead of 500% damage). [Skotlex]
  5947. 2006/07/17
  5948. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  5949. * The char-server will allow off-line character saves when said char is
  5950. tagged for final-save (this is the scenario when the char-map reconnect).
  5951. [Skotlex]
  5952. * Should have fixed the Cart Termination damage code to be scaled correctly
  5953. when you change the max cart weight. Thanks to The Ultra Mage for the error
  5954. clarification. [Skotlex]
  5955. * Implemented Grandcross weird property where if there's noone on the path
  5956. it'll hit twice for the skill's reported damage, and when there is (or you
  5957. can't knockback the target) it'll do a splash attack that hits twice for
  5958. 500% to all affected targets. [Skotlex]
  5959. * Some cleaning of the combo code. TK Rankers will now get their combo-time
  5960. extended each time they trigger a kick, enabling them to do "unlimited
  5961. combos". [Skotlex]
  5962. * Modified the autosave function to use a sweep across the player db
  5963. instead of across connected clients. This will cause non-connected players
  5964. (like autotraders) to also be saved on a regular interval, may help with
  5965. possible data-loss from said characters on unclean shutdowns. [Skotlex]
  5966. * Removed the code that forces aggressive mobs to go after a Homun instead
  5967. of their master (no reason why there should be such a condition). [Skotlex]
  5968. * Some sign quest map flag updates [MasterOfMuppets]
  5969. * atcommand_follow is now more verbose. [Adam]
  5970. * Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
  5971. * Orn's fix to the very critical skill level up bug [DracoRPG]
  5972. * Updated mob_db.sql to current mob_db.txt data. [Skotlex]
  5973. * Added Orn's lil fix on homun [Vicious]
  5974. * Added Homunculus system, enjoy! [orn aka Nylou]
  5975. - WARNING: This currently only works with the SQL version, as the TXT char-server
  5976. has no code for it at the moment. You TXT server won't break, but the char-server
  5977. will complain of an unknown packet if you try to get an Homunculus
  5978. * Updated nomemo mapflags based on info from http://ro.doddlercon.com/images/memo.jpg [Poki#3]
  5979. 2006/07/15
  5980. * Small change in conf/battle/player.conf to say that 199 is max aspd allowed
  5981. (Haplo says that there are many reports of having over 200 is giving errors) [Evera]
  5982. 2006/07/13
  5983. * Kaahi no longer shows the heal effect to everyone. [Skotlex]
  5984. * Eska no will cause defense to change randomly every second. [Skotlex]
  5985. * Tuned up some more NJ_KAENSIN based on Tharis's information. [Skotlex]
  5986. * Corrected NJ_KAENSIN as per description. [Skotlex]
  5987. * Fixed a leaking map_freeblocklock on skill_del_unitgroup. [Skotlex]
  5988. * Changed the default save interval to 5 minutes. Added support for
  5989. specifying fixed save-intervals by using negative values. [Skotlex] EG:
  5990. - Save interval set to 300 (5 minutes): all characters will be saved in
  5991. equal time-slots, so that everyone is saved every 5 minutes regardless of
  5992. number of players online.
  5993. - Save interval set to -1000 (1000 ms): One character will be saved every
  5994. second, regardless of amount of characters online.
  5995. The new fixed-time-slots method is meant for larger servers, so that they
  5996. can control the saving-induced stressed on the char-server.
  5997. * Fixed @storeall and @charstoreall failing when the target character
  5998. already had the storage open. [Skotlex]
  5999. * Reverted temporarily the Cart Termination equation until it can be
  6000. fixed... [Skotlex]
  6001. * Fixed script command "recovery". [Skotlex]
  6002. 2006/07/12
  6003. * Fixed a small typo in my code [Zido]
  6004. * Added negative value in bonus exploit fix for more stat bonuses [Zido]
  6005. * Fixed exploit in pc_bonus there are no checks that check that the value being
  6006. added onto a status don't make it go below zero, which means if you have a mineral
  6007. card and reset stats it reduces your base attack to lower than zero, making it
  6008. go up to 64000. Fixed by adding a check for SP_BASE_ATK, although i recommend
  6009. doing it for other status bonuses also [Zido]
  6010. * Recoded NJ_BAKUENRYU to behave as I understand it best from the
  6011. skill-description (since Haplo told me this skill doesn't really has video
  6012. information or anything...) [Skotlex]
  6013. * Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path"
  6014. calls. The skill should be working correctly now, except for the fact that
  6015. the correct "unit id" is missing (this is what would give the ground tile
  6016. it's correct display). Temporarily it is using 0xba until the correct value
  6017. is found. [Skotlex]
  6018. * Added back the undead check to turn undead/resurrection to prevent
  6019. damaging non-undead targets, removed it from the battle damage section.
  6020. [Skotlex]
  6021. * Resurrection will now silently fail when used on non-undead + not-dead
  6022. characters. [Skotlex]
  6023. * Poem of bragi/magic String's base delay reduction at level 10 (or above)
  6024. is now 50% instead of 3*lv%. [Skotlex]
  6025. * status_damage will no longer fail when the target is not on a map AND the
  6026. flag is 2 (charge rather than damage). Fixes SP-draining status changes
  6027. ending suddenly when in-between maps. [Skotlex]
  6028. * Fixed the IP value being apparently incorrectly casted before inserting
  6029. into the loginlog table on "connect success" events. [Skotlex]
  6030. * Fixed Cart Termination's damage. [Skotlex]
  6031. * Added the missing check to remove character from memory when logging out
  6032. and using the charsave_method which saves character map-server-side.
  6033. [Skotlex]
  6034. 2006/07/11
  6035. * Fixed inverted check which was preventing you from buying more than 1
  6036. from any stackable item.... [Skotlex]
  6037. * Should have fixed the crash in intif gm message... [Skotlex]
  6038. * Fixed GTB card only working while you had a status-change active.
  6039. [Skotlex]
  6040. * Fixed being unable to compound cards in armor. [Skotlex]
  6041. * Made @monsterignore be an universal ignore. Means you cannot be targetted
  6042. as an enemy by anything. Also added alias "@battleignore" which does the
  6043. same as monsterignore. [Skotlex]
  6044. * Fixed magic power setting your min matk as max-matk. [Skotlex]
  6045. * Modified the packets involved in @fakename in hopes it'll refresh
  6046. correctly on nearby clients now. [Skotlex]
  6047. * Fixed clif_parse not checking for func_parse before sending data to the
  6048. connected clients. This in turn required various code-rewrites in: [Skotlex]
  6049. - duel related messaging functions (added clif targets DUEL/DUEL_WOS).
  6050. - intif whisper to gm function
  6051. - day/night timers
  6052. - Rewrote the parse_console function to stop allocating/deallocating memory
  6053. on every call.
  6054. - Modified chrif_charselectreq to receive the player's ip among the data.
  6055. * Added function clif_disp_message, which is the same as
  6056. clif_disp_onlyself, except you can specify the targets (it sends a
  6057. guild-chat packet) [Skotlex]
  6058. * Fixed the subele bonus (elemental reduction) being applied to the element
  6059. of the attacker instead of the element of the attack. [Skotlex]
  6060. * mob skills now won't trigger on unit_stopwalking calls. [Skotlex]
  6061. * Coded @reset. [Skotlex]
  6062. * Reenabled @changesex [Skotlex]
  6063. * Added function pet_create_egg which handles creating pet eggs correctly
  6064. (when passed item id is indeed a valid petegg). Applied this on @createitem
  6065. and getitem. [Skotlex]
  6066. * Cleaned up code of @item [Skotlex]
  6067. * Cleaned up the itemdb_isequip functions. itemdb_isequip will now return
  6068. if the item is equipable by players, itemdb_isstackable returns if the item
  6069. can be stacked, and itemdb_isidentified returns if the item should drop
  6070. identified. [Skotlex]
  6071. * Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given
  6072. item has "invalid" cards, added define function itemdb_isspecial to
  6073. simplify this check. [Skotlex]
  6074. * Removed itemdb.c considering item ids above 20000 as invalid. [Skotlex]
  6075. * Cleaned up script commands getitem and card-counting related ones.
  6076. [Skotlex]
  6077. * Cleaned up a bit more pc_isequip [Skotlex]
  6078. * Added script function warpportal(x,y,targetmap$,targetx,targety).
  6079. This creates warp portals as in the skill unit as a volatile alternative
  6080. to static warp portals. [blackhole89]
  6081. * Modified the login-sql server to do the ip-ban check only on the
  6082. auth-packets instead of on every packet. [Skotlex]
  6083. 2006/07/10
  6084. * Corrected Warp Portal being unable to warp people who are standing on it
  6085. on the moment it triggers. [Skotlex]
  6086. * Fixed @follow stopping the moment you are warped. [Skotlex]
  6087. * Fixed pc_additem messing with the equip field of the passed item data.
  6088. Fixes the famous "equip stuff on your arrow slot" bug. [Skotlex]
  6089. * Fixed cart-termination crashing the server if you used level 16 of it.
  6090. [Skotlex]
  6091. * Fixed check_connect_login_server check in char-sql server. Fixes
  6092. char-server not reconnecting to the login server. [Skotlex]
  6093. * Login-sql server will no longer change an account's state to "7" when
  6094. banning a player. This should fix being able to use @ban to clear out a
  6095. @blocked player. Players will now be identified as banned only through the
  6096. banned-until timestamp. [Skotlex]
  6097. * Fixed a crash when using Gospel... [Skotlex]
  6098. * The on-place function won't be invoked on setting ground skills if the
  6099. group's tick is greater than the current tick. As Buuyo pointed out, this
  6100. should fix Sanctuary and Gospel taking effect inmediately instead of after
  6101. "x" amount of ms as they should. [Skotlex]
  6102. * Added login-char packet 0x2737. Sets all characters offline (login-server
  6103. side). [Skotlex]
  6104. * Cleaned up char server "set all offline" implementation to remove only
  6105. characters from the map-server from which the packet was invoked. It will
  6106. also now correctly kick/set-character offline from the map-server if they
  6107. are connected. [Skotlex]
  6108. * Cleaned up the char-sql reconnect code. It no longer sets everyone to
  6109. offline. [Skotlex]
  6110. * Removed setting "kick_on_disconnect", servers will no longer kick
  6111. characters out when there's a disconnection. Instead, it'll use the most
  6112. logical approach: Set characters into a "lost" state when there's a
  6113. disconnection, on reconnect, resent the list of online-characters, do a
  6114. sync, and let the difference be characters to be removed. Also, the
  6115. map-server won't release character data until it's saved and the ack
  6116. returns from the char-server to prevent data loss (all this data is resent
  6117. on reconnect for saving anyway). [Skotlex]
  6118. * Added a check in pc_equipitem so that when switching weapons and you have
  6119. the skill_range_by_weapon setting active, the skill info block (which
  6120. includes range) will be resent when the new weapon to equip has a range
  6121. different than the previous one. [Skotlex]
  6122. * One closer inspection, removed that clear in itemdb_reload for a foreach
  6123. call again. And modified itemdb_load to scrap the dummy item entry from the
  6124. item_db and replace it with proper data for the item. [Skotlex]
  6125. * itemdb_reload will clear the itemdb before reloading info instead of only
  6126. clearing the scripts now. [Skotlex]
  6127. * Some cleaning of skill_castend_pos2, fixed Gospel, and a
  6128. map_freeblock_unlock misplacement. [Skotlex]
  6129. * Sense/Estimation will now display the mob info window to all party
  6130. members in the same map. [Skotlex]
  6131. 2006/07/08
  6132. * Fixed the new addeff structure not working well with SC_STONE (because
  6133. SC_STONE is 0, which was by default not handled as a valid value).
  6134. [Skotlex]
  6135. * Added back the TF_MISS walking speed bonus to assassin type classes (how
  6136. did that got lost?) [Skotlex]
  6137. * Fixed mobinfo displaying exp as signed ints rather than unsigned.
  6138. [Skotlex]
  6139. * Added status_check_visibility to check if an object is within range of
  6140. view of another. Nothing more, nothing less. It's used by unit movement to
  6141. check whether you can continue chasing your target or not when the "chase
  6142. target" directive is given. [Skotlex]
  6143. * Fixed the char table having party/guild_id as smallint when they need int
  6144. there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
  6145. [Skotlex]
  6146. * Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
  6147. [Skotlex]
  6148. * Fixed endow skills calling the skill no damage packet twice. [Skotlex]
  6149. * Fixed a crash on warpwaitingpc when the chat-room is empty. [Skotlex]
  6150. 2006/07/07
  6151. * Fixed the Warm Skills [Skotlex]
  6152. * Removed the debug message when a player logs out and is removed from
  6153. memory, it is working fine (tested normal logging off and autotrade). [Skotlex]
  6154. * Corrected the pet-armor field of the pet not being updated on
  6155. equip/unequip of accessories, making them not show up inmediately. [Skotlex]
  6156. * Status_calc_bl will no longer stop you from attacking/walking when the
  6157. mode is changed unless the new mode no longer includes
  6158. "can-attack"/"can-move" respectively. [Skotlex]
  6159. * Should have fixed clif_item_sub to properly store pet egg/armor data.
  6160. There should be no more "random refine levels" bugs related to these.
  6161. [Skotlex]
  6162. * itemdb_exists will now return NULL for item_id 0. [Skotlex]
  6163. * Added a check to free a character from memory when changing map servers.
  6164. [Skotlex]
  6165. * Okay, added a chrif_save_ack packet to the char-server so now the map
  6166. server will know once a character was "final saved", and only then the
  6167. character will be removed from memory. On char-server reconnection, all
  6168. chars that are in final-save state are resent to save (if they are still in
  6169. memory, it's because the ack hasn't gotten here from the char-server). This
  6170. should effectively block all dupe problems due to heavy inter-server lag,
  6171. however as it's untested, it currently prints some debug messages when
  6172. people are saved and then removed from memory. Need testers so this can be
  6173. debugged and merged to stable! [Skotlex]
  6174. * Now, when the login-char connection is cut, the char-server won't set
  6175. everyone offline on reconnect, instead it will send the list of online
  6176. accounts to the login server. [Skotlex]
  6177. * Modified the error on the char-sql server to set chars online when it
  6178. receives a save packet from a character tagged as offline (until it can be
  6179. figured out why this is happening) [Skotlex]
  6180. * Fixed signed/unsigned comparison issues in the char txt/sql server.
  6181. [Skotlex]
  6182. * Fixed the cooking success chances. Thanks to Ishizu Chan. [Skotlex]
  6183. * Added a temporary band-aid to prevent executing the script of non-arrows
  6184. when they are equipped on the arrow-slot (until the actual cause of why
  6185. pc_unequipitem is not working correctly is discovered/fixed) [Skotlex]
  6186. 2006/07/06
  6187. * Modified the party_data structure on the map server to remove some
  6188. redundant data. Added a party_data structure on the char-server to hold a
  6189. more complete set of information about parties. Added to the party_member
  6190. structure the class of each member so that the map server can do the
  6191. appropiate checks even if the character is on another mapserver/offline.
  6192. Due to the format changes in the party structure, txt servers will have to
  6193. wipe their party file... (sql save format has not been changed) [Skotlex]
  6194. * Added function char_family to check if there's a family state given the
  6195. three character ids, instead of doing individual checks all the time.
  6196. [Skotlex]
  6197. * Rewrote all the item restriction functions so that they will take into
  6198. account slotted card restrictions as well. [Skotlex]
  6199. * Added no_skill_delay setting, when set, affected object types will have
  6200. the minimum skill delay for all skills. Defaults to mobs, since they
  6201. don't have skill delays. [Skotlex]
  6202. * Cleaned up pc_equipitem. When dual wielding or equipping accessories, if
  6203. the client actually specifies one of the two positions, it will be taken
  6204. into account (now, does the client actually does this?) [Skotlex]
  6205. * Fixed GrandCross and similar skills. [Skotlex]
  6206. * FogWall will now also affect the caster. [Skotlex]
  6207. 2006/07/05
  6208. * Updated NJ_KAENSIN by Saycyber21 [Vicious]
  6209. * Updated @refine to take account of MAX_REFINE, thanks to Omega... GM
  6210. Designer. [Skotlex]
  6211. - Also optimized the @refine loop for better performance.
  6212. 2006/07/04
  6213. * Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
  6214. * Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
  6215. * Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
  6216. 12*(cooking set-lv)%. Exception: When using the legendary cooking set,
  6217. success chance is 100% regardless of dish. [Skotlex]
  6218. * Added battle config setting emergency_recall, specifies behaviour of that
  6219. skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 -
  6220. Can be used everywhere. [Skotlex]
  6221. * Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can
  6222. come out or not is entirely decided by the abra db file now. [Skotlex]
  6223. * Added structure s_addeffect to handle status change additions. Cleaned up
  6224. relevant code. It is now possible to specify ANY status change, not just
  6225. the basic ones. NOTE that the code is proof-read, but untested! [Skotlex]
  6226. * Added support for bonus3 bAddEff/bAddEffWhenHit as follows: [Skotlex]
  6227. bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  6228. Target flag is 0: Self. 1: Enemy. 2: Both.
  6229. * Added these descriptions to doc/item_bonus.txt [Skotlex]
  6230. * Added a check when joining a chat to make sure the target object is of
  6231. type BL_CHAT. [Skotlex]
  6232. 2006/07/03
  6233. * Cleared up the bAutoSpellWhenHit description in doc/item_bonus.txt
  6234. [Skotelx]
  6235. * Fixed Phantasmic Arrow and Magical Bullet not being correctly tagged as a
  6236. ranged arrow-type attack. [Skotlex]
  6237. * Updated help.txt and help2.txt, thanks to Inuyasha for providing the
  6238. updated files. [Skotlex]
  6239. * Char-server SQL won't perform the reconnect cleanup routines when
  6240. kick_on_disconnect is disabled. [Skotlex]
  6241. * Renamed summons_inherit_effects to summons_trigger_autospells as the
  6242. setting now only makes the attacks of the slaves trigger the autospells of
  6243. the master (as it should be). [Skotlex]
  6244. * Corrected code capping no_spawn_on_player to 50 when the max should be
  6245. 100. [Skotlex]
  6246. * Warmth will dispel when warping now (or else the effect is left on the
  6247. ground) [Skotlex]
  6248. * Fixed reading of the refine_db not working right when MAX_REFINE is
  6249. increased from 10. [Skotlex]
  6250. * Some more cleaning to the implementation of Abracadabra [Skotlex]
  6251. * Fixed a compile warning in login sql/txt [Skotlex]
  6252. * Fixed pc_makesavestatus not setting your logout position. [Skotlex]
  6253. * Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
  6254. [Skotlex]
  6255. * Added the missing +100% damage modifier of Enchant Deadly Poison.
  6256. [Skotlex]
  6257. * Fixed SkillStatusChangeTable not working correctly for Homun/Guild
  6258. skills. [Skotlex]
  6259. 2006/06/30
  6260. * Fixed a typo in msg_athena.conf, "This item cannot be drop" -> "This item cannot be dropped" [MasterOfMuppets]
  6261. * Added a check to prevent equipped items from being traded. [Skotlex]
  6262. * Added UF_SONG (0x400) to differentiate songs from dances. [Skotlex]
  6263. * Added preliminar support for making a Song+Dance turn into BA_DISSONANCE
  6264. cells. Beware of potential bugs as it's untested. [Skotlex]
  6265. * Added mapflag "nochat" to prevent chatting rooms from being created.
  6266. [Skotlex]
  6267. * Corrected some of the sleep checks when the char id does not matches with
  6268. the char-id expected by the script engine. [Skotlex]
  6269. * Cleanup in itemheal related code, fixed the item heal group bonus not
  6270. working on Groups beyond 7. [Skotlex]
  6271. * Fixed pet's loot not being moved to your inventory on logout. [Skotlex]
  6272. 2006/06/29
  6273. * Made the map server send list of characters online to the char-server on
  6274. reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
  6275. temporary disconnection would make the char-server tag all characters
  6276. offline and refuse to save them afterwards. [Skotlex]
  6277. * Fixed guild storage being "eternally in use" if you quit/logout before
  6278. closing it. [Skotlex]
  6279. * Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
  6280. [Skotlex]
  6281. * [Fixed]
  6282. - Scripting system screwing up script position after mixing timers with menus.
  6283. - NPC attached AI mobs display as alive when dead.
  6284. - View data not updating after buildin_unitdeadsit.
  6285. [Improved]
  6286. - NPCE_LOADMAP to execute after all (area) objects are sent to the player.
  6287. - Simplified scripting system. sd will now use pointer to the script state itself.
  6288. [Lance]
  6289. 2006/06/28
  6290. * changed:
  6291. dynamic_pass_failure_ban_how_many:from 3 to 7
  6292. dynamic_pass_failure_ban_how_long:from 60 to 5
  6293. as in official servers. [Musashiden]
  6294. * Added a check in script command "set_option" so that invoking
  6295. "set_option(0)" removes Cart/Peco/Falcon, as expected by scripts. [Skotlex]
  6296. * Added trade-range check on trade start. [Skotlex]
  6297. * Added inf2 4096 (INF2_ALLOW_ENEMY) which is to be used in conjunction
  6298. with INF2_PARTY_ONLY/INF2_GUILD_ONLY when said skill should ALSO be allowed
  6299. to be used on enemies. [Skotlex]
  6300. * Cleaned up a bit the code for @item [Skotlex]
  6301. * Fixed character/storage being sent to be saved TWICE when you logged out
  6302. while the storage is opened. [Skotlex]
  6303. * Added save_settings map config. Specifies after which events do
  6304. characters get saved (defaults to all): 1 - Trade successful, 2 - Vending
  6305. transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
  6306. [Skotlex]
  6307. * Changed the mob drop rate adjust function to receive a signed int
  6308. argument. Probably will fix those drops with 0% becoming 100% [Skotlex]
  6309. * Corrected Musical Strike having a different damage equation from Throw
  6310. Arrow. [Skotlex]
  6311. * Added state rewarp to players. It gets set when a pc_setpos call is
  6312. triggered while the player is changing maps so that when the player finish
  6313. loading the map, it is inmediately rewarped to where it has been
  6314. rewarped/recalled to. [Skotlex]
  6315. 2006/06/27
  6316. * Map server will now resent the whole list of online characters to
  6317. char-server on reconnect when the kick_on_disconnect setting is active.
  6318. [Skotlex]
  6319. * Cleaned up and optimized the IP sync code. New login_athena config
  6320. setting sync_ip_interval specifies how often to sync the ip. The default is
  6321. 0 (disabled). [Skotlex]
  6322. * Added mapflag "loadevent", now load-map script events will ONLY trigger
  6323. on maps with this mapflag on, rather than every map. [Skotlex]
  6324. * High Jump can now be used in all versus maps. [Skotlex]
  6325. * Added Kaite's opt3 value, taken from jA [Skotlex]
  6326. * Added state dirty == 2 to storages. Signals when a storage was sent for
  6327. final saving. Said storage is removed from memory after the ack from the
  6328. char-server, and they are sent to save if the map/char servers reconnect
  6329. before the ack arrives. In short: they are guaranteed to be saved after a
  6330. char logs out. [Skotlex]
  6331. * Put pay_arche.gat in the "no experience lost" mapflag file. [MasterOfMuppets]
  6332. 2006/06/26
  6333. * Corrected the element of hunter traps. [Skotlex]
  6334. * Deadly Poison now also reduces def2 by 25% [Skotlex]
  6335. * Cleaned up a bit skill_moonlit, Moonlit Petals should work correctly now.
  6336. [Skotlex]
  6337. * Fixed @mi displaying always 0 instead of the mob's class. [Skotlex]
  6338. * Rough implementation of Ground Drift according to description and jA
  6339. info. [Skotlex]
  6340. * Implemented Tatami Gaeshi using skill description and jA implementation
  6341. for reference. [Skotlex]
  6342. * Merged Mitternacht's max_heal/max_heal_lv config settings. [Skotlex]
  6343. * Removed support of packet 0xc3 on the new packet versions. Thanks to
  6344. Meruru for pointing out they aren't being used anymore. [Skotlex]
  6345. * Autospells will now again check for the skill's nk value, so that skills
  6346. tagged "nodamage" skills will not trigger autospells. [Skotlex]
  6347. * Corrected clif_item_sub so that pet eggs will correctly be sent as
  6348. equipment (fixes them showing up "broken" and with random refine levels)
  6349. [Skotlex]
  6350. * [Added]:
  6351. - buildin_unitkill just for kicks. [Lance]
  6352. 2006/06/23
  6353. * [Optimized]:
  6354. - Setting of variables with defined scope in some frequently executed script
  6355. events.
  6356. [Added]:
  6357. - Missing script_require_trigger flags for some power hungry events.
  6358. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  6359. * Modified pc_setoption so that it will correctly update sprite AND clothes
  6360. color when mounting/unmounting changing into/from xmas/wedding sprites.
  6361. [Skotlex]
  6362. * Allowed itemdb_exists to return the dummy item. Enables "invalid" items
  6363. to be sold, traded, dropped, etc. [Skotlex]
  6364. * Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes
  6365. and before card reductions. The skill now completely disregards left
  6366. hand weapon. [Skotlex]
  6367. * Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of
  6368. -50% for targetted skills and -66% for ground skills >.>) [Skotlex]
  6369. * Cleared up the comment on what item_check does and how it works.
  6370. [Skotlex]
  6371. * Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map"
  6372. setting, it's now a clone-forbidden skill. That is, skills with the flag 16
  6373. will never be copied by clones. If you use a PK-mode server, use flag 2 now
  6374. to forbid skills from common maps. [Skotlex]
  6375. * Default skills from not being cloned are Magnus Exorcism and Turn Undead.
  6376. * The map search free cell will now use the size of the map # of tries
  6377. before giving up when the spawn area is the whole map. Added a check to
  6378. inmediately give up when the number of spawn retries has reached the max
  6379. specified (no_spawn_onplayer = 100). [Skotlex]
  6380. * Cleaned up a bit the clone code to account for the unit flags
  6381. UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self
  6382. skill that causes a ground-tile to be placed, like Dances). [Skotlex]
  6383. * Added pc_bonus_autospell_del, gives support for removing autospell
  6384. effects. When a negative rate is specified, it will decrease the chance of
  6385. casting (eg: You have two different cards with autospell Heal +20% each,
  6386. then do autospell -30. The second card will be cancelled, and the first one
  6387. will become Heal +10%) [Skotlex]
  6388. * npc_timers now will not restore the previous timer data when there's no
  6389. players attached (when it's strictly an npc timer). This should reenable
  6390. the old behaviour of getnpctimer returning the total ellapsed time since
  6391. "startnpctimer" even after the last label has been reached. However, this
  6392. behaviour won't apply to player-attached timers. [Skotlex]
  6393. * [Fixed]:
  6394. - MAPREGSQL overloading SQL table with temperory map registries.
  6395. - Incorrect perfomance calculation for MAPREGSQL loading and saving. [Lance]
  6396. 2006/06/22
  6397. * Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn).
  6398. This should complete the required packets for PACKETVER 7. [Skotlex]
  6399. * Added support for the PACKETVER 7 packets in the "dummy" current
  6400. intravision implementation. [Skotlex]
  6401. * Fixed @autoloot being off by 0.01% when entering a manual value.
  6402. [Skotlex]
  6403. * Restored the "Secret" behaviour of Blast Mine and Claymore Trap where
  6404. each target is hit N times (where N is the number of mobs in the splash
  6405. area at the moment of triggering). [Skotlex]
  6406. * Updated the tools/stackdump script to also handle sig-plugin generated
  6407. backtraces. Now it will also auto-determine whether the exe needs a .exe at
  6408. the end or not. Help me test it as I want this script on stable NOW :X
  6409. [Skotlex]
  6410. * Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number
  6411. is given, sig-plugin stackdumps are assumed, otherwise it parses the normal
  6412. stackdump as before. [Skotlex]
  6413. * Corrected autoloot so that you can specify rate with decimal precision
  6414. ("@autoloot 0.01" should work) [Skotlex]
  6415. 2006/06/21
  6416. * [Removed]:
  6417. - Redundant mob name copying. (it's already copied in mob_parse_dataset) [Lance]
  6418. * [Fixed]:
  6419. - Compilation warnings and errors.
  6420. [Improved]:
  6421. - Changed and moved IP sync status messages to elaborate more. [Lance]
  6422. * Tested and fixed resolve_hostbyname. Applied said function around most of
  6423. the code where needed. Removed includes for the OS/network system pretty
  6424. much from every file (our socket.c file should handle this) [Skotlex]
  6425. * Made the GM mute request bypass the manner_system setting. [Skotlex]
  6426. * Applied use of parse_hostbyname() in chrif.c to fix compilation errors.
  6427. [Skotlex]
  6428. * status_percent_change will now account for when the target's max hp/sp is
  6429. above INT_MAX. [Skotlex]
  6430. * [Added]:
  6431. - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). [Lance]
  6432. 2006/06/20
  6433. * Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING
  6434. really ARE the same value clientside! (totally stupid), therefore I've
  6435. opted from removing the flying animation since it really just displays as
  6436. Xmas for others (and the correct fix involves adding a bunch of
  6437. class-change packets...) [Skotlex]
  6438. * Updated skill_require_db to place the Zeny requirements of ZenyNage and
  6439. Fling. [Skotlex]
  6440. * Fixed crash when non-players use ZenyNage. Added the correct Zeny check
  6441. in skill_check_condition, fixed the skill so that it's damage is based on
  6442. whatever zeny is specified in skill_require_db. [Skotlex]
  6443. * Can-act delay will not be reset when warping now. [Skotlex]
  6444. * Fixed Quagmire not altering walking-speed. [Skotlex]
  6445. * Silence now blocks skills both on begin/end casting. [Skotlex]
  6446. * Updated status_calc_bl so that when walking speed changes, the character
  6447. is made to rewalk so that the new speed takes effect inmediately. [Skotlex]
  6448. 2006/06/19
  6449. * Added Ayothaya to nopenalty and nopvp mapflags. [Evera]
  6450. * Combo-used Skills with State "move_enable" will now override the "can't
  6451. move delay". Fixes Break-Fall -> Jump-Kick. [Skotlex]
  6452. * Some more cleanups of battle_calc_damage to account for absorbed damage
  6453. reductions. [Skotlex]
  6454. * Moved back Soul Drain code from mob_dead to skill_counter_additional_effect.
  6455. Now we are back to where the skill animation does not shows, but you DO
  6456. get SP T.T' [Skotlex]
  6457. * Some cleanups and corrections in battle.c to account for negative
  6458. (absorbed) damage. [Skotlex]
  6459. * Fixed fame-list updating crashing char-sql server when the given char-id
  6460. just got into ranking. [Skotlex]
  6461. * Added missing Arunafeltz maps with information from NLZ [Evera]
  6462. 2006/06/18
  6463. * [Fixed]:
  6464. - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in
  6465. filling the SkillStatusChangeTableArray with junk data.
  6466. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever
  6467. - Typo in parse_frommap. [Lance]
  6468. * [Fixed]:
  6469. - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point.
  6470. * [Temperory Fixed]:
  6471. - Crashing of SQL char-server in parse_frommap case 0x2b01. [Lance]
  6472. * [Removed]:
  6473. - Large part of scripted mob control commands are removed.
  6474. - Large part of scripted player control commands are removed.
  6475. - Scripted mob slaves changing master ID.
  6476. [Added]:
  6477. - Unit control commands.
  6478. - CALLBACK_NPCCLICK for scripted mobs, added this to db/const.txt too.
  6479. - Macro RECURSIVE_MASTER_CHECK in battle.c
  6480. [Modified]:
  6481. - buildin_skilluseid and buildin_skillusepos -> buildin_unitskilluseid
  6482. and buildin_unitskillusepos.
  6483. - md->callback_flag to short (double word). [Lance]
  6484. 2006/06/17
  6485. * Devotion absorbed damage will now appear to come from oneself (instead of
  6486. the original attacker changing directions towards the Crusader) [Skotlex]
  6487. * Updated clif_refres to send inventory, cart, and weight info. [Skotlex]
  6488. * Fixed intif_guild_memberinfoshort to not leave a dangling pointer when
  6489. someone logs out <.< [Skotlex]
  6490. * Changed some mapflags related to the eye of hellion quest. [MasterOfMuppets]
  6491. * [Added]:
  6492. - buildin_checkcell, buildin_mobwarp, buildin_pcattack.
  6493. [Improved]:
  6494. - buildin_skilluseid and buildin_skillusepos to accept a few more arguments.
  6495. - mob_script_callback to return sucess value [Lance]
  6496. * Fixed the party HP packets to send max HP 10000 and scale HP accordingly
  6497. when the player's HP doesn't fits in the packet's field. Fixes HP bars not
  6498. correctly displaying the % of life when max HP is above 32k. [Skotlex]
  6499. 2006/06/16
  6500. * Fixed option value being reset'ed on login (fixes cart/peco/falcon being
  6501. lost) [Skotlex]
  6502. * Corrected @speed to alter your base speed instead of battle one. Means
  6503. the change remains for much longer (until status_calc_pc is invoked, which
  6504. could be due to equipping/unequipping stuff) [Skotlex]
  6505. * Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100
  6506. setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic
  6507. damage be reduced by half. This bonus stack, so two cards with
  6508. bNoMagicDamage,50 will give magic immunity. [Skotlex]
  6509. * Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which
  6510. specifies the threshold before the bNoMagicDamage starts blocking support
  6511. statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus
  6512. bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal
  6513. or support status, while "bonus bNoMagicDamage,80;" does. [Skotlex]
  6514. * Removed db_tables.sql as it's no longer used. [Skotlex]
  6515. * the mvp_sd is removed when the mob is the emperium and there's no
  6516. killer/exp-awarded (assumed killed by script), this prevents the on-kill
  6517. event from triggering and giving the castle to whoever damaged the most the
  6518. emperium without destroying it. [Skotlex]
  6519. * [Added]:
  6520. - Custom slave mobs to inherit the callback_flag.
  6521. - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
  6522. * [Improved]:
  6523. - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]
  6524. 2006/06/15
  6525. * [Fixed]:
  6526. - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification.
  6527. [Lance]
  6528. * Added indexes for loginlog and ipbanlist as they did not have any.
  6529. (note, someone already put the index on loginlog on trunk.) [Euph]
  6530. * Merged Adam's patch to let the char-server handle validation of
  6531. pet-name-change requests through the allowed char letters config. [Skotlex]
  6532. * Fixed "wedding_ignore_palette: yes" not working when relogging with the
  6533. gear already equipped. [Skotlex]
  6534. * Added blocking of the Kick skills when you are a Soul Linker. [Skotlex]
  6535. * Added enabling to turn off a kick-stance regardless of class. [Skotlex]
  6536. * Altered a bit how status_set_viewdata behaves in regards to Wedding/Xmas
  6537. options. [Skotlex]
  6538. * Added back OPTION_XMAS, but the actual value is missing! [Skotlex]
  6539. * Corrected chrif_save so that the player is not set offline on map-change.
  6540. [Skotlex]
  6541. * Added change-look support in pc_setoption when specifying OPTION_XMAS
  6542. [Skotlex]
  6543. * Fixed clif_parse_RemoveOption removing all options instead of just
  6544. Falcon/Cart/Peco [Skotlex]
  6545. * Fixed clif_send not sending packets to SELF when specifying AREA if the
  6546. source is not on the map yet. [Skotlex]
  6547. * Fixed and cleaned up script command 'equip' [Skotlex]
  6548. * Fixed 'autoequip' items. [Skotlex]
  6549. * Fixed Aspd not being updated in your status window after Agi/Dex
  6550. increasing statuses take effect. [Skotlex]
  6551. 2006/06/14
  6552. * Fixed map_nick2sd so that searching for "Adam" will not match a char
  6553. named "Adam Smith". Thanks to Adam for reporting it out. [Skotlex]
  6554. * Modified how luk reduces status changes by reducing the gap. Eg: resist =
  6555. vit; resist += (max - resist)*luk/300; [Skotlex]
  6556. * Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the
  6557. luk threshold at which you gain inmunity (defaults to 300). [Skotlex]
  6558. * Fixed buildin_getmobdata. It was trying to handle the first parameter as the
  6559. array to fill in. [blackhole89]
  6560. * Blocked again skill usage during marionette. [Skotlex]
  6561. * Fixed main.sql adding a key on char_id rather than account_id for the
  6562. char table. [Skotlex]
  6563. * Cleaned up character saving in char-sql, it no longer needs to query the
  6564. database to see if the player exists on each char-save, instead it checks
  6565. the received data against the online-players db. No such fix is required
  6566. for char-txt. [Skotlex]
  6567. * Added an error message on the char-server when the received player data
  6568. size does not matches with the expected size (should avoid the crash that
  6569. happens on such a memcpy). [Skotlex]
  6570. * [Improved]:
  6571. - script_save_mapreg for MapregSQL Saving to display perfomance only in slow
  6572. queries. [Lance]
  6573. 2006/06/13
  6574. * Updated mob_db.sql and item_db.sql to latest. [Skotlex]
  6575. * Added account_id index to char table. Thanks to Buuyo for reporting it.
  6576. Sql users apply upgrade_svn7146.sql NOW. [Skotlex]
  6577. * Marionette and Devotion will now check raw distance and ignore obstacles
  6578. and the like. [Skotlex]
  6579. * Added irc_channel_pass setting and prevent crashing when irc server
  6580. lookup by host fails. Thanks to Trancid for the details. [Skotlex]
  6581. * [Fixed]:
  6582. - clif_parse_GetCharNameRequest displaying false alarm for legitimate GM snooping.
  6583. [Lance]
  6584. * Added support for reading correctly status change data from Guild and
  6585. Homun skills. [Skotlex]
  6586. * Added support for reading Homun skill data (which means the HM skills are
  6587. now safe to add to skill_db, skill_require_db, etc) [Skotlex]
  6588. * Oppositions can't be made during WoE now. [Skotlex]
  6589. * Fixed a few compiler warnings from VC [Skotlex]
  6590. * Commented out the Homunculus Skills<->Status Change link which was
  6591. causing some memory corruptions. [Skotlex]
  6592. 2006/06/12
  6593. * [Fixed]:
  6594. - buildin_npcshopitem not allocating extra 1 block of terminator.
  6595. [Added]:
  6596. - Modified versions of Dj-Yhn's buildin_npcshopdelitem and buildin_npcshopadditem
  6597. [Lance]
  6598. * Updated clif_disp_onlyself to not use dynamic memory and write directly
  6599. to the player's buffer. [Skotlex]
  6600. * Updated @noask to also tell the user what he has just rejected (added
  6601. msg_athena entries for each of the different requests). Also updated it to
  6602. use clif_disp_onlyself. [Skotlex]
  6603. * Fixed a pair of missing initializers in the clif storage functions.
  6604. [Skotlex]
  6605. * @heal no longer displays a healing animation. Fixes the client believing
  6606. you couldn't be healed more than 32K. [Skotlex]
  6607. * Now you can use any skills (except encore/dancing ones) while under
  6608. Longing for Freeding. [Skotlex]
  6609. * Now you can use any skills while under Marionette Control. [Skotlex]
  6610. * Fixed npc_checknear's distance check returning the opposite of what it
  6611. should (false when the range is correct and viceversa) [Skotlex]
  6612. * Added a warning on item loading when an item is of equippable type but
  6613. has no equippable position. [Skotlex]
  6614. * Turning an alliance to an opposition won't work now during WoE [Skotlex]
  6615. * Slaves can summon other mobs now. The only ones who can't do this are
  6616. player summoned mobs. [Skotlex]
  6617. * Merged the following functions for faster processing of items: [Skotlex]
  6618. clif_storageitemlist + clif_storageequiplist = clif_storagelist
  6619. clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  6620. clif_itemlist + clif_equiplist = clif_inventorylist
  6621. Note that the changes are a bit substantial and need proper testing!
  6622. * Increased max knockback value support to 25. [Skotlex]
  6623. * [Optimized]:
  6624. - buildin_npcshopitem memory allocation to calculate before reallocating.
  6625. [Lance]
  6626. * Made guild member exp an unsigned int. [Skotlex]
  6627. * Various cleanups to the npc clicking related functions. Should fix quite
  6628. some possible crashes from crafted packets. [Skotlex]
  6629. * Added overflow checks for bonus settings mdef_rate/def_rate. [Skotlex]
  6630. * Added missing update of INT after a buf. [Skotlex]
  6631. * Small cleanup of how SC_BLEEDING works. [Skotlex]
  6632. * Fixed party_foreach_samemap invoking the function on the CASTER instead
  6633. of on the party members. [Skotlex]
  6634. * Modified clif_parse_NpcClicked to handle the different situations with
  6635. different bl-objects (attack on players/mobs, click on npcs or mobs with
  6636. npc attached) [Skotlex]
  6637. 2006/06/09
  6638. * [Fixed]
  6639. - Compilation warnings on guild.c and int_guild.c [Lance]
  6640. * Added structure party_data and party_member_data to the map server to
  6641. hold party-specific required information about parties including
  6642. Monk/TK/SG/SN states and party member count. Family information is still
  6643. missing, and handling of the state should probably be done by the
  6644. char-server, too... [Skotlex]
  6645. * party Hp updates are no longer done each time the Hp is modified, but
  6646. together with the party xy timer. It means HP-bars will be a bit delayed
  6647. before being updated, but packet consumption should be much less during
  6648. heated battles. [Skotlex]
  6649. * Fixed MoM's typo [Vicious]
  6650. * Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
  6651. * [Improved]:
  6652. - npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
  6653. [Lance]
  6654. * [Fixed]:
  6655. - Execution of sleep/sleep2 more than once will hang the script_state.
  6656. [Lance]
  6657. * Fixed @mapinfo displaying incorrectly maps with nosave which send you
  6658. back to your last savepoint. [Skotlex]
  6659. * Moved guild_exp_rate from a mapserver battle config setting to a char
  6660. server config. It no longer modifies the total taxed exp as seen on the
  6661. guild information window, but directly modifies the exp that the guild
  6662. earns. [Skotlex]
  6663. * Added an error report and correction when the map server receives a guild
  6664. from the char-server with more guild members than MAX_GUILD. [Skotlex]
  6665. * Changed the interval between waterballs back to 125 [MasterOfMuppets]
  6666. * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets]
  6667. 2006/06/08
  6668. * Modified guild exp to be an unsigned int rather than a signed one.
  6669. [Skotlex]
  6670. * Fixed @skilltree printing out Unknown job for most targets used.
  6671. [Skotlex]
  6672. * Cleaned clif_pvpset to not send the packet to nearby characters when the
  6673. source is GM-hidden. May help fix the crash on PvP with gm-hidden
  6674. characters. [Skotlex]
  6675. * Modified map_freeblock_unlock so that aFree errors will report the
  6676. file/line that INVOKED the function rather than the function itself.
  6677. [Skotlex]
  6678. NOTE: Do NOT disable the memory manager as that will break this change.
  6679. This change is to be temporarily set until the afree'd error can be
  6680. resolved.
  6681. * Updated mob_npc_warp to a three-state config switch. 0 disables. 1 enable
  6682. only on warps that don't lead to nobranch maps. 2 - enable on all warps.
  6683. [Skotlex]
  6684. * Adjusted Don't Forget Me, Defender, Longing to use all val entries, and
  6685. to hold the speed adjustment value rather than speed penalty (eg: 125
  6686. instead of 25). [Skotlex]
  6687. * Cleaned up status_calc_speed so that speed penalties are correctly
  6688. handled (eg: 25% penalty is speed*100/75, not +speed*25/100). Thanks to
  6689. Euph for pointing it out and Belle for the speed mechanics. [Skotlex]
  6690. 2006/06/07
  6691. * Fixed Sense using mdef instead of mdef2 [Skotlex]
  6692. * Fixed item-skills not showing up on login. [Skotlex]
  6693. * Cleaned up clif_parseLoadEndAck, by testing which packets are required
  6694. only on first-login and which ones are required on all map-changes.
  6695. Skill-tree, Exp, Skill Points and most of the basic status are no longer
  6696. sent on map-change (items, cart data and zeny still need to be sent one
  6697. very map-change). [Skotlex]
  6698. * Fixed the mob state not being set to Berserk/Angry correctly after the
  6699. mob reaches the target's location. [Skotlex]
  6700. * Added config setting mob_npc_warp, when set to yes, enables mobs to be
  6701. warped between maps when stepping on a npc-warp. [Skotlex]
  6702. * Added monster_ai setting &64, when enabled makes a mob run to any nearby
  6703. npc-warp when their current target has switched maps. [Skotlex]
  6704. * Added pc_calcexp to calculate individual exp bonuses acquired from exp's
  6705. source (race bonus cards, SG Exp skills, pk-mode higher level exp) [Skotlex]
  6706. * pc_gain_exp now also receives the source of the exp, when said source
  6707. exists, bonuses are applicated as needed. [Skotlex]
  6708. * Added status_kill when capturing a mob, should take care of the mob not
  6709. respawning after caputed. [Skotlex]
  6710. * Fixed item info not displaying the found item id [Skotlex]
  6711. * Fixed item info not displaying the weight value properly. [Skotlex]
  6712. * Adjusted status resistances and durations taking as base Viccious's info
  6713. from the kro guidebook. [Skotlex]
  6714. * Moved souldrain code from skill_counter_additional_effect to mob_dead. It
  6715. should display the skill animation correctly now. [Skotlex]
  6716. * Adjusted several sc rate/time reductions as pointed out by Playtester.
  6717. [Skotlex]
  6718. - Luk now plays a luk/10 reduction role rather than a luk/3 one.
  6719. * Removed char_nick2id from char-sql server as it's no longer needed.
  6720. [Skotlex]
  6721. * Fixed quitting the map server not properly saving the storage before
  6722. deleting it. Thanks to Adam for pointing it out. [Skotlex]
  6723. * Cleaned status_get_sc_tick/status_get_sc_def to use the status_data
  6724. function. [Skotlex]
  6725. * SC_STOP's chance and duration can't be reduced anymore. [Skotlex]
  6726. * Storm Gust no longer has a 100% chance to freeze by passing mdef, now it
  6727. has a 300% base chance reduced by mdef and the like as explained out by
  6728. Tharis. [Skotlex]
  6729. * Frost Diver/Frost Nova's base freezing chance is no longer affected by
  6730. target's int. [Skotlex]
  6731. * [Improved]:
  6732. - mob_dead not to remove script controlled monsters with player sprites.
  6733. [Added]:
  6734. - buildin_mobdeadsit :D [Lance]
  6735. * [Fixed]:
  6736. - temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in
  6737. mob_damage. Thanks to seahorsix. [Lance]
  6738. * [Fixed]:
  6739. - Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p [Lance]
  6740. * [Optimized]:
  6741. - list and size not being initialized (size get intialized in default: switch case)
  6742. Eliminated default case and initialized list and size at the beginning. [Lance]
  6743. 2006/06/06
  6744. * Hopefully fixed for sure mobs getting extra stats when changing-class due
  6745. to the mobs level up setting. [Skotlex]
  6746. * Removed a piece of code that should no longer be needed due to the
  6747. combo-skill setting (inf = self, inf2 = no-target-self) which is blocking
  6748. self-skills from being used on others (pets/mobs should be allowed to do
  6749. that) [Skotlex]
  6750. * Added a status_check_skilluse call in Sightblaster to prevent it from
  6751. hitting hidden/cloaked/act-dead/etc players. [Skotlex]
  6752. * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
  6753. * Fixed Soul Burn not zapping away all SP. [Skotlex]
  6754. * The monsters can level up setting will not take effect when the mob's
  6755. level is LESS than their db counter-part (should prevent under-leveling
  6756. causing underflows and semi-immortal mobs) [Skotlex]
  6757. * Fixed mvp-exp calculations being messed up with more than one attacker.
  6758. [Skotlex]
  6759. * Changed the mob exp race bonus so that each player gets their own bonus,
  6760. rather than the killer's bonus applying to everyone. Still not the
  6761. "correct" way, but one step closer to it. [Skotlex]
  6762. * [Fixed]:
  6763. - Allocation of event_list in guild_npc_request_info to aCalloc so
  6764. memcpy(ev->name,event,strlen(event)) will have a null terminator. [Lance]
  6765. 2006/06/05
  6766. * Fixed a crash when using SL_SMA and the "combo" ain't ready. [Skotlex]
  6767. * Hopefully fixed changing a mob's class causing them to get all sort of
  6768. stat bonuses due to the mobs-level-up setting. [Skotlex]
  6769. * Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef
  6770. to signed char to correctly account for cards with penalties in said stats.
  6771. [Skotlex]
  6772. * Fog of Wall won't affect the caster now in any way. [Skotlex]
  6773. * Added clif_fixpos packets before attacking for the first time to clear
  6774. any position sync issues with the client. [Skotlex]
  6775. * Fixed skill_unitsetting using layout->count for the for instead of
  6776. group->count [Skotlex]
  6777. * Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly
  6778. increase dex/agi by 40% per level. [Skotlex]
  6779. * Fixed char-sql server not deleting character variables when deleting a
  6780. char. [Skotlex]
  6781. * Corrected cloaking not ending on attack if you are near a wall. [Skotlex]
  6782. * Updated pc_bonus to use cap_value on all status_data modifiers to prevent
  6783. overflows/underflows. [Skotlex]
  6784. 2006/06/03
  6785. * Fixed @mi/@mobinfo not showing the name collumns correcly [shadow]
  6786. * Solved the bug that made firewalls only castable a few times until [MasterOfMuppets]
  6787. you relogged. Thanks to Euph for the fix.
  6788. * Added variable other_mapserver_count to chrif.c which holds total count
  6789. of connected map-servers. By using this we prevent sending unnecessary
  6790. packets to the char-server when there's no more map-servers connected.
  6791. [Skotlex]
  6792. - Affected packets are whispers, announces, party messages, guild messages.
  6793. 2006/06/02
  6794. * Fixed Visual Studio 7.1 Solution File (Login TXT and Map TXT were removed)
  6795. * Fixed a bug in unit_can_reach_bl which breaks path seeking when the
  6796. target is near obstacles. [Skotlex]
  6797. * Updated offensive use of Sanctuary to function like on the official servers [MasterOfMuppets]
  6798. * Changed the interval between waterballs from 150 to 250 milliseconds [MasterOfMuppets]
  6799. * Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it
  6800. fails. Fixes cases where the client gets "stuck" and refuses to let you
  6801. pick any items. [Skotlex]
  6802. * Removed the walk delay from firewall and changed its knockback [MasterOfMuppets]
  6803. to 1 tile to make it act more like in the official servers.
  6804. * Some cleaning of the mob slave ai. [Skotlex]
  6805. * Corrected Brandish Spear to work on levels above 10. [Skotlex]
  6806. * Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for
  6807. skill levels above 10 (meant for boss casted skills) [Skotlex]
  6808. * Fixed Spear-Quicken messing with the calc_flag [Skotlex]
  6809. * Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
  6810. [Skotlex]
  6811. * [Fixed]
  6812. - Yet another compilation warning. [Lance]
  6813. 2006/06/01
  6814. * Altered status_calc_pc so that equipment scripts are ran before
  6815. card-scripts. [Skotlex]
  6816. * Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
  6817. [Skotlex]
  6818. - These two together, should fix Tao Gunka Card.
  6819. * npc_debug_warps() will now be invoked if warp_point_debug is set.
  6820. [Skotlex]
  6821. * Updated item_db.sql/mob_db.sql to current. [Skotlex]
  6822. * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
  6823. * NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
  6824. without removing it when the skill level is greater than one. [Skotlex]
  6825. * Added SC_DANCING declaration in the Status Change tables to signal it
  6826. modifies Walk speed. [Skotlex]
  6827. * Fixed pc_damage setting your canlog_tick even if the damage has no source
  6828. (eg: poison, berserk) [Skotlex]
  6829. * Berserk's aspd bonus now stacks with other aspd bonuses, but is still
  6830. affected by Quagmire/Forget-me-not. [Skotlex]
  6831. * Corrected setting slaves_inherit_mode to not apply to morphosis skills.
  6832. [Skotlex]
  6833. * Corrected pc_setoption to invoke status_calc_pc when getting/removing the
  6834. cart. [Skotlex]
  6835. * Fixed @mobinfo displaying the wrong element. [Skotlex]
  6836. * Fixed Autoblitz taking into account target's luck rather than attacker's
  6837. [Skotlex]
  6838. * Fixed slaves warping endlessly to their master when the master-slave
  6839. distance exceeds 30. [Skotlex]
  6840. * SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
  6841. [Skotlex]
  6842. * Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the
  6843. incorrect range variable. [Skotlex]
  6844. * You can now equip/unequip stuff while the storage is open. [Skotlex]
  6845. 2006/05/31
  6846. * Fixed Soul Drain not really giving you SP [Skotlex]
  6847. * [Fixed]:
  6848. - Suppressed compilation warning in chrif.c [Lance]
  6849. * [Fixed]:
  6850. - Guys can't go across map-servers :( [Lance]
  6851. * [Fixed]:
  6852. - Restoration and saving of sd->npc_id must be done every time. [Lance]
  6853. * Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when
  6854. where these lost?). Thanks to Buuyo for pointing it out. [Skotlex]
  6855. * Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk
  6856. delay. [Skotlex]
  6857. * Made the char_name_option char_athena.conf setting apply to parties and
  6858. guilds as well. It cannot be applied to pets yet without adding a
  6859. change-name-request interserver packet. [Skotlex]
  6860. * Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
  6861. [Skotlex]
  6862. * Added function char_read_fame_list for famelist reading. Invoked it on
  6863. init, and made it be sent automatically to connecting map servers.
  6864. [Skotlex]
  6865. * Some cleaning of the fame-list reading code. [Skotlex]
  6866. * Some cleaning of the fame-update code, fixed a logic bug which made the
  6867. ranking list fail to display the correct ranker names. [Skotlex]
  6868. * Removed typedef bool from socket.h and included cbasetypes.c instead.
  6869. [Skotlex]
  6870. * Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in
  6871. status_calc_bl. [Skotlex]
  6872. * [Fixed]:
  6873. - Incorrect SQL syntax in login.c (missing collumn) [Lance]
  6874. * [Improved]:
  6875. - SQL upgrade file for the new loginlog. Thanks to ultramage. [Lance]
  6876. * [Fixed]:
  6877. - nullpo in pet.c caused by equipping without checking if the pet is available.
  6878. [Lance]
  6879. * [Fixed]:
  6880. - Latest client support completed! [Lance]
  6881. * [Fixed]:
  6882. - Missing #include for cbasetypes.h in login server SQL.
  6883. - Logic errors in run_script [Lance]
  6884. * [Added]:
  6885. - Partial support for latest login packet. But it seems to have a new security
  6886. module. [Lance]
  6887. 2006/05/30
  6888. * [Improved]:
  6889. - Fake NPC interface to use real NPCs.
  6890. - Scripting interface to restore and save sd->npc_id. [Lance]
  6891. * Added function pc_check_skilltree for checking if you unlocked new
  6892. tree-skills when raising non-passive skills. [Skotlex]
  6893. * Fixed flee/hit calculation in status_calc_bl to account for bonuses from
  6894. the base status. [Skotlex]
  6895. * [Fixed]:
  6896. - Compatibility problems in login.c [Lance]
  6897. * Fixed pets ignoring can-act delays for skill usage. [Skotlex]
  6898. * [Added]:
  6899. - Mercenary.c in VS.NET 2005 project files
  6900. [Improved]:
  6901. - loginlog using unsigned long `ip` field.
  6902. (Please check for compatibility problems). [Lance]
  6903. * Fixed status_calc_pc not zero'ing ALL vars it should, allowing certain
  6904. bonuses (like effect-on-hit) to stack. [Skotlex]
  6905. * slaves inherit speed setting will now work regardless of whether the
  6906. slave or master has the MD_CANMOVE mode bit. [Skotlex]
  6907. * Call Slave now invokes slaves on a 5x5 area around master. [Skotlex]
  6908. * AL_TELEPORT will fail when used by slave mobs. [Skotlex]
  6909. * Added NPC_ENERGYDRAIN, NPC_MENTALBREAKER to the list of undodgeable
  6910. attacks. [Skotlex]
  6911. * Fixed status_damage not setting your HP to 0 when you died [Skotlex]
  6912. * Fixed the pcbonus2 warnings using the wrong value before printing the
  6913. invalid Element error. [Skotlex]
  6914. * Fixed underflow issues when calculating dmotion. [Skotlex]
  6915. * Fixed Absorb Spirit Spheres [Skotlex]
  6916. * Added battle_config min_chat_delay (default 0, battle/client.conf)
  6917. specifies in ms what is the min delay between player sent chats
  6918. (whisper/global/party/guild). Messages that exceed this threshold are
  6919. silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the
  6920. player?) [Skotlex]
  6921. * [Fixed]:
  6922. - signed/usigned problem in sprintf and fscanf @ mercenary.c [Lance]
  6923. * Rewrote/cleaned up @petfriendly. [Skotlex]
  6924. * Cleaned up final part of status_calc_pc (flags 2/4 do not exist) [Skotlex]
  6925. * Updated attr_fix_table reading code to account for ELE_MAX (will
  6926. correctly read bigger elemental tables if ELE_MAX is changed) [Skotlex]
  6927. * Aggressive mobs will now use battle_check_range rather than mob_can_reach
  6928. to decide whether to lock-on or not to a target within sight-range. [Skotlex]
  6929. * Added warnings in mob_readdb when the mob's element is invalid. [Skotlex]
  6930. * Added error messages in pc_bonus* functions when an invalid element is
  6931. passed to the relevant bonuses. [Skotlex]
  6932. * [Optimized]:
  6933. - clif_specialeffect to use the enums.
  6934. [Improved]:
  6935. - buildin_specialeffect and buildin_specialeffect2 to accept effect area
  6936. definition. [Lance]
  6937. * [Added]:
  6938. - Visual Studio .NET 2003 includes for mercenary.c [Lance]
  6939. * Removed the on-die specific code from unit_remove_map and placed it on
  6940. the corresponding *_dead functions. unit_remove_map should never assume the
  6941. char died, it is just a "remove from map" function. [Skotlex]
  6942. * Updated status_damage to handle the general death code (clearing status
  6943. changes, clearing skill related data, sending death packet, etc). The
  6944. return value from the *_dead functions will tell it what to do or not with
  6945. the object (death aborted, clear it from map/memory, etc) [Skotlex]
  6946. * Cleaned up pc_dead to take advantage of the fact that status changes are
  6947. not ended until after the function. [Skotlex]
  6948. * Disabled ontouch npcs triggering on hidden/chase-walk characters.
  6949. [Skotlex]
  6950. * Updated/adapted current Homun code to use the status_data update.
  6951. [Skotlex]
  6952. * Updated map-server Makefile to compile mercenary.* files. [Skotlex]
  6953. * [Fixed]:
  6954. - Pets attacking even master is dead. [Lance]
  6955. * Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0
  6956. (negative values should be allowed when attack is absorbed by target's
  6957. element) [Skotlex]
  6958. 2006/05/29
  6959. * [Fixed]:
  6960. - Missing ';' in item #4358 [Lance]
  6961. * [Fixed]:
  6962. - Missing maps in map index database. [Lance]
  6963. * [Fixed]:
  6964. - Battle mechanics in battle_check_target [Lance]
  6965. * [Fixed]:
  6966. - Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
  6967. [Lance]
  6968. * Cleaned up friend list saving and fixed loading of friends.txt file
  6969. (char-txt) [Skotlex]
  6970. * Added the Arunafeltz maps, not tested yet [Playtester]
  6971. - someone with an up-to-date client should test them
  6972. * Fixed pc_gainexp resetting your exp to 0 rather than adding it in...
  6973. [Skotlex]
  6974. * Corrected aspd calculation code to avoid negative overflows. [Skotlex]
  6975. * Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
  6976. instead of BL_PC and BL_MOB [Skotlex]
  6977. * [Fixed]:
  6978. - Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
  6979. * Removed Undead being immune to poison status. [Skotlex]
  6980. * Removed speed penalty from SC_SKA [Skotlex]
  6981. * Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
  6982. * SC_DODGE won't be dispelled on death now. [Skotlex]
  6983. * [Fixed]:
  6984. - pc_follow_timer possible triggering crash.
  6985. - pc_reg_received to use battle_status.hp instead of status.hp
  6986. [Added]:
  6987. - macro map_id2index for non-cyptic mapid to mapindex conversion. [Lance]
  6988. * Added a division by zero check in mob_dead to prevent the (impossible)
  6989. case where a mob dies with received damage of zero. [Skotlex]
  6990. * Modified skill_get_range2 to return range 9 for skills with range 0 for
  6991. Non-Players. This usually signals Self skills, and mobs/pets should be able
  6992. to use them in other characters. [Skotlex]
  6993. * Optimized a bit the SC_PROVOKE code (to use val3/val4) [Skotlex]
  6994. * Fixed draining when the amount drained is negative (invoke zap rather
  6995. than heal) [Skotlex]
  6996. * Implemented GS_FLING as per the current skill description. [Skotlex]
  6997. * Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than
  6998. status.hp/sp, fixes scripts reading the wrong Hp/Sp values [Skotlex]
  6999. * Added some missing SC_* entries on the initial listing (potion related
  7000. and speed up ones) [Skotlex]
  7001. * Fixed function declaration of map_getcellp() [Skotlex]
  7002. * [Fixed]:
  7003. - status.c:920: warning: 'mbl' might be used uninitialized in this function
  7004. - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function
  7005. - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function
  7006. - skill.c:2826: warning: 'sid' might be used uninitialized in this function [Lance]
  7007. * [Optimized]:
  7008. - Removed unused variable (account_id) in storage_guild_storagesaved.
  7009. * [Optimized]:
  7010. - Removed unused checks for unsigned data type and possible logic error for
  7011. char type (gcc treats char as unsigned). [Lance]
  7012. * [Fixed]:
  7013. - Relogging in with 0 HP didn't trigger dead event. [Lance]
  7014. 2006/05/28
  7015. * Added functions status_revive, pc_revive and mob_revive to handle revival
  7016. (it doesn't handles player respawning, though). Fixed reviving @ commands.
  7017. [Skotlex]
  7018. * Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes
  7019. Bladestop causing an unknown status change message). [Skotlex]
  7020. * Fixed MSS_DEAD state skills not triggering. [Skotlex]
  7021. * Changed undeads to by default always sustain 100% of the damage from firewalls [MasterOfMuppets]
  7022. * [Fixed]:
  7023. - script functions that doesn't pass references, thanks to End_of_exam. [Lance]
  7024. * [Protected]:
  7025. - clif_parse_LGMmessage from possible hacks [Lance]
  7026. * Fixed unable to store n items into storage unless n was the total amount
  7027. of items you had. [Skotlex]
  7028. * Suppressed compilation warnings (unsigned and signed mismatches) [Lance]
  7029. 2006/05/27
  7030. * Added structure status_data which holds status-related information (str,
  7031. agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc)
  7032. and weapon_atk structure with the weapon specific info (atk, atk2, element)
  7033. to be used by all combat structures (TODO: Homun needs to be updated to use
  7034. it). This in change involves a LOT of changes throughout the code and many
  7035. optimizations were done as well. Partial list (see svn changelog for complete
  7036. changes): [Skotlex]
  7037. - NOTE: Changes are substantial! I tested a bunch of stuff and all the
  7038. skills I changed the most, but it is possible there are unnoticed bugs
  7039. remaining to fix!
  7040. - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data.
  7041. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead
  7042. - Added status functions to deal with damage and healing (status_damage,
  7043. status_heal, status_percent_change) and a bunch of defines for easier
  7044. handling of them (status_percent_heal, status_percent_damage,
  7045. status_fix_damage, status_kill, etc). Objects must be hurt/healed through
  7046. THIS, pc_damage/mob_damage most no longer be directly invoked!
  7047. - Rewrote and cleaned up battle_calc_misc_attack
  7048. - Merged config options pc_attack_attr_none, mob_attack_attr_none,
  7049. pet_attack_attr_none into attack_attr_none (type 4)
  7050. - Removed config options player_defense_type, monster_defense_type,
  7051. pet_defense_type in favor of weapon_defense_type
  7052. - Modified skill_calc_heal to take into account the MEDITATION bonus.
  7053. - Modified Slim Pitcher so it will work when casted by non-players. Will
  7054. now also work with SP-healing items.
  7055. - Rewrote Freedom of Cast code to use function status_freecast_switch to
  7056. switch adelay/speed when cast begins/ends.
  7057. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for
  7058. easier updating when used in conjunction with ground skills.
  7059. - Fixed Asura Strike being usable from within a combo regardless of combo skill.
  7060. - Added status_calc_bl which does status-change related calculations using
  7061. as base the base_status of the bl object and the SCB_* flag passed. This is
  7062. invoked on status changes, and status_calc_pc will no longer be invoked
  7063. (which results on much faster status-change calculations).
  7064. - pc_clean_skilltree will now also remove item-granted skills.
  7065. - Learning skills will now only invoke status_calc_pc when the skill is passive.
  7066. - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related
  7067. packets and functions ONCE regardless of skill-levls earned.
  7068. - Cleaned up pc_ regen related functions.
  7069. - Made player-sprite mobs have item pickup animation and walkdelay when taking items.
  7070. - Clones will copy a player's base status rather than battle status (so
  7071. status-change alterations are not cloned)
  7072. 2006/05/26
  7073. * Part B of the homunculus code. [blackhole89]
  7074. While most of the homunculus handling functions are in now, it still lacks
  7075. code required for players to create it.
  7076. Given I haven't screwed up, you could master yourself one through the DB though.
  7077. * Fixed crashing in mob.c [Lance]
  7078. * Patches to allow everything to work right. + 1 more sample script. [Lance]
  7079. * Mob control engine tested 99% working so far. [Lance]
  7080. * Change scripting engine's NPC scope vars to dot (.) style.
  7081. * Improved and (should be fully) fixed the mob control engine. [Lance]
  7082. * Fixed typos in char.c [Lance]
  7083. * Rewrote fame rank lists system to reduce char-server load, as requested by
  7084. Skotlex: now it has a copy of those lists, and updates only the proper one
  7085. when needed instead of rebuilding all from saves everytime (which required
  7086. to always save the character before rebuilding the lists) [DracoRPG]
  7087. - Note it hasn't been compiled nor tested with SQL, please do it for me
  7088. 2006/05/25
  7089. * Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional
  7090. int-based damage component (which is added right before elemental
  7091. modifiers) as described by AuronX. Pending further refining. [Skotlex]
  7092. * Resolved differences between Stable/Trunk msg_athena.conf. [Lupus]
  7093. Fixed atcommand @request MSG numbers accordinly.
  7094. On adding new MSG strings, plzm reserve them in STABLE msg_athena.conf, too
  7095. * Added NoVending mapflag. You may disable vending in the streets [Lupus]
  7096. * Increased capacity for Account Variables to 64 [Skotlex]
  7097. * Reverted Intravision implementation to that of stable's. [Skotlex]
  7098. * Corrected Login Server taking it's first argument as both login config
  7099. and lan config. [Skotlex]
  7100. * Fixed mob control commands.
  7101. * Fixed memory leak in scripts (again). Still have a few lying. [Lance]
  7102. 2006/05/24
  7103. * Fix to the slave AI problem. [erKURITA], by [Skotlex], reported by Niktout.
  7104. * Item sharing now shares the same rules as exp sharing (no sharing when
  7105. dead, or idle, etc) [Skotlex]
  7106. * Fixed summoned slaves being able to cast onspawn summon-skills (slaves
  7107. aren't supposed to be able to call minions) [Skotlex]
  7108. * The clif_skill_poseffect packet will not be invoked in Snap unless the
  7109. skill was successful. May fix the client-position lag. [Skotlex]
  7110. * Merged item_db.sql from stable (the one from stable was more recent than
  7111. the one of trunk...) [Skotlex]
  7112. * Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
  7113. * Corrected a pair of incorrect sql query parsing logic in the login-sql
  7114. ban request packet. [Skotlex]
  7115. 2006/05/23
  7116. * Corrected mob angry mode, now it only "restores" itself after being hit
  7117. when the mob has no target within their range of sight rather than on
  7118. picking a new target. [Skotlex]
  7119. * Fixed wedding sprite where it would stay active after unequipping. [Zido]
  7120. * Some cleanup of run_script, should fix the memory leak there. [Skotlex]
  7121. * the charname request hack message has been downgraded to only include
  7122. GM-invisible characters. [Skotlex]
  7123. * corrected clif_charnameack to send negative ID when a disguised player
  7124. asks for it's own disguised name. [Skotlex]
  7125. * Cleaned up the disguised target-id checks taking into considering that
  7126. the only character that sees a negative ID is the same disguised character.
  7127. [Skotlex]
  7128. * Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce
  7129. defense), Investigate and Icepick will now use the final def/vit-def values
  7130. rather than the base ones. [Skotlex]
  7131. * The move-enable condition checks for skills are now checked for only when
  7132. on skill use, not at cast-end time. [Skotlex]
  7133. * Corrected clif parse name request failing on disguised characters [Skotlex]
  7134. * Corrected Soul Drain draining from all non-ground-based skills including
  7135. non-magic attacks. [Skotlex]
  7136. * Corrected pc_setoption to change the option and then change class.
  7137. changing option-wedding will automatically convert the view-class as well.
  7138. [Skotlex]
  7139. * Corrected the 15% drop rate increase when killing higher level mobs in
  7140. pk-mode triggering for all mobs with lower level than yourself. Thanks to
  7141. Vayu. [Skotlex]
  7142. * Fixed typo (this time it's not my fault) in script_reload() clearing the same
  7143. db each time o_o [Lance]
  7144. * Fixed sleep command. [Lance]
  7145. * Added 'setd' support for local NPC scope (') variables. [Lance]
  7146. * [Scripting Engine Update] New variables are ready to be used. [Lance]
  7147. 2006/05/22
  7148. * Updated skill_delayfix to return 0 for mobs since they have no skill
  7149. delay other than the one specified in mob_skill_db [Skotlex]
  7150. * Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to
  7151. Vayu for pointing it out. [Skotlex]
  7152. * status_get_sc_tick will now use directly Stun's formula rather than
  7153. invoking the status sc chance once. [Skotlex]
  7154. * Fixed a possible null pointer in script command misc_effect [Skotlex]
  7155. * Modified Investigate to take into consideration final def/vit-def rather
  7156. than base values for damage adjustment. [Skotlex]
  7157. * WARNING: New scripting system contains memory leak
  7158. TODO: Free all scripts using script_free_code() instead of old methods. [Lance]
  7159. * Excluded idle and auto-trade party members from TK_POWER list. [Lance]
  7160. * Fixed compilation errors.
  7161. Tidy up jobmaster for easy debugging. [Lance]
  7162. 2006/05/21
  7163. * Part A of the Homunculus code.
  7164. This only features the structures, status_* and clif_* (packets) and is
  7165. not functional yet in any conventional way, but doesn't interfere
  7166. with present functionality either.
  7167. Main purpose is helping me to keep my work organized. [blackhole89]
  7168. * Fixed the "fake" mute status bug. [Zido]
  7169. * Speed up array size calculation and deletion. [Lance]
  7170. * Player must learn the skill before doing auto-spell [Lance]
  7171. * Exploit prevention in clif_parse_NpcStringInput [Lance]
  7172. * SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name [Lupus]
  7173. * Thanks to damirych & Falcon for [2006/04/30] STEAL skill [Lupus]
  7174. 2006/05/20
  7175. * grfio_final moved back if any of GRF overriding is enabled so servers
  7176. with such configuration will not have different values after reloading. [Lance]
  7177. * jA1983 script.c buildin_menu fix. Thanks to End_of_exam. [Lance]
  7178. * Abit of alterations to login-server. [Lance]
  7179. 2006/05/19
  7180. * Minor unsigned/signed alteration in pc_additem to shut the compiler up. [Lance]
  7181. * Small change in pc_additem that could be fixing the current bug with new
  7182. items not getting added. [Skotlex]
  7183. * Fixed loginlog definition in main.sql, thanks to Tempesta [Skotlex]
  7184. * Likely fixed the mob-skill random picking behaviour causing infinite
  7185. loops sometimes. [Skotlex]
  7186. * Modified mobskill_use behaviour to pick a random starting point and check
  7187. skills from that, rather than always checking from first to last. Fixes
  7188. skills with high priority blocking skills lower down in the list from
  7189. triggering. [Skotlex]
  7190. * Updated mob ai behaviour so that mobs use IDLE state skills when their
  7191. current target cannot be reached for melee fighting. [Skotlex]
  7192. 2006/05/18
  7193. * Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
  7194. [Skotlex]
  7195. * Fixed mob_max_skilllvl being capped to 11! [Skotlex]
  7196. * Rewrote/cleaned up several functions in storage.c [Skotlex]
  7197. * Optimized pc_additem comparisons to account for items with more than four
  7198. slots. [Skotlex]
  7199. * Updated clif.c to enable retrieval of items from cart/storage while
  7200. trading. Exception is retrieving items from the cart while vending.
  7201. [Skotlex]
  7202. - The reasoning is that an ongoing trade will not get "corrupted" if you
  7203. earn items before it is commited (only if you lose items from your
  7204. inventory), and it is an annoyance when you realize the stuff you want to
  7205. trade is on the cart/storage.
  7206. * skill reiteration code now does not checks for the trigger-area of the
  7207. skill in the case of non-players, which means mobs can now place traps in
  7208. cells adjacent to each other. [Skotlex]
  7209. * Applied an experimental weather code that should lower bandwidth usage to
  7210. near-none, which's only disadvantage should be the weather not clearing out
  7211. until moving to another map (even when the mapflag is removed from the
  7212. current map). Please test and report if there's any anomalies with it.
  7213. [Skotlex]
  7214. * NPC_AGIUP will now give movement boost of 50% [Skotlex]
  7215. * Fixed WZ_WATERBALL number of hits when used by non-players. [Skotlex]
  7216. * MO_BODYRELOCATION will send the slide packet with the actual src's
  7217. coordinates rather than selected tile. [Skotlex]
  7218. 2006/05/17
  7219. * Modified mob_can_changetarget to return true always when the new target
  7220. is the provoked-by character. Fixes provoke not making the mob change
  7221. target when it already is locked on another player. [Skotlex]
  7222. * Added check to clear previous skill when combo time ends. Should fix TK
  7223. Rankers being unable to initiate a combo with the same kick their previous
  7224. combo was finished with. [Skotlex]
  7225. * Power Up and Agi Up now increase Hit/Flee by 20%/lv [Skotlex]
  7226. 2006/05/16
  7227. * Modified "hide woe damage" to send the number of hits rather than 1 as
  7228. damage Because when the damage is less than the number of hits, the client
  7229. will display MISS. [Skotlex]
  7230. * Fire Pillar will now do 200%MATK damage per hit when level is >10.
  7231. [Skotlex]
  7232. * Blood Drain always hits now. [Skotlex]
  7233. * Fixed Mob Area Skills not updating their use-time (rendering their skill
  7234. delay useless) [Skotlex]
  7235. * Search free cell will now skip picking the center-tile as target
  7236. location. Will prevent slaves from walking on top of their master, or mobs
  7237. placing stuff right under themselves with the "around" target conditions
  7238. among other things. [Skotlex]
  7239. 2006/05/15
  7240. * Small changes to the skill.conf
  7241. - Monsters now can place ground skills on top of each other by default
  7242. - Land_Skill_Limit format changed and set to "Only Players" by default
  7243. * When reading mapflags, when a map is set to be pvp or gvg, the other will
  7244. be turned off (disables pvp mapflags in gvg maps for pk-servers) [Skotlex]
  7245. * Firepillar's damage per hit is now 100% MATK (rather than 20%) when the
  7246. skill level is above 10. [Skotlex]
  7247. * Sorted out the item_data structure, getiteminfo should work correctly
  7248. now. [Skotlex]
  7249. * KA* skills can now be casted on other Soul Linkers as well without the
  7250. Spirit requirement. [Skotlex]
  7251. * Soul Drain will now show the SP drained regardless of drain display
  7252. settings. [Skotlex]
  7253. * SC_COMBO state will now end in skill_attack rather than
  7254. skill_check_condition (as it is required there to apply damage bonuses
  7255. based on combo-casted skills) [Skotlex]
  7256. * Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)
  7257. [Skotlex]
  7258. * Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode
  7259. servers. [Skotlex]
  7260. * When removing a castle's owning guild, the char servers will erase the
  7261. guardian data now. [Skotlex]
  7262. * Changed the behaviour of immobile mobs when they can't chase their
  7263. target. Rather than using a longrange skill and then unlocking, they will
  7264. use an attack/angry state skill and then unlock. [Skotlex]
  7265. * Some adjustments of how disguising + gm-hiding work together. [Skotlex]
  7266. * Fixed clif_GlobalMessage being the exact same function as clif_message
  7267. (the first should send to ALL_CLIENT and the later should send to
  7268. AREA_CHAT_WOS). Should fix globalmes script command. [Skotlex]
  7269. * Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
  7270. * Characters in vending are now always considered "idle" if the
  7271. idle_no_share setting is active. [Skotlex]
  7272. * Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
  7273. * Remaining fixes for item scripts. [Lance]
  7274. * Added NPC event deprecated warnings to ease debugging old scripts. [Lance]
  7275. 2006/05/12
  7276. * Supplied fake NPC ID in sd->npc_id for item scripts. [Lance]
  7277. * Bugfix on fake npc [Lance]
  7278. * Fixed mob_once_spawn not working for non-random coordinates. [blackhole89]
  7279. * Reverted again the change that stuns the caster on Ske, Ska, Swoo when
  7280. the target is a nonplayer (rather than always) [Skotlex]
  7281. * Modified mob_spawn_once so that coordinates -1,-1 are "random around the
  7282. player" while 0,0 are random around the whole map (regardless of whether
  7283. there's a player attached or not) [Skotlex]
  7284. * Knockback will no longer work on traps during woe. [Skotlex]
  7285. 2006/05/11
  7286. * Fixed the definition of the KEY in the loginlog, thanks to TheUltraMage
  7287. [Skotlex]
  7288. * NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively)
  7289. of 40% per level. [Skotlex]
  7290. * Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.
  7291. [Skotlex]
  7292. * Rewrote npc_selllist for a more proper-clean implementation. [Skotlex]
  7293. * Increased NPC_POWERUP's dex bonus to +25*lv [Skotlex]
  7294. * Moved TK_DOWNKICK's stun time from time to time2 [Skotlex]
  7295. * Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2)
  7296. [Skotlex]
  7297. * Merged the code for Ska, Ske, Swoo together. Swoo stun duration is now 10
  7298. secs (reducable) if you target a mob that already has Swoo active. [Skotlex]
  7299. * Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to
  7300. Tanaous [Skotlex]
  7301. * Added back the missing code that substracts arrows when normal-attacking.
  7302. [Skotlex]
  7303. 2006/05/10
  7304. * Changed the state of Asura back to explosionspirits, added a hardcoded
  7305. move_enable check when invoking Asura and NOT while in BladeStop or a
  7306. Combo. [Skotlex]
  7307. * Added back SC_XMAS to status.c, it got lost sometime during all the
  7308. previous reworkings. [Skotlex]
  7309. * Changed wedding costumes to use setoption rather than changebase.
  7310. [Skotlex]
  7311. * Modified setoption so that flag 1 or no flag adds an option, and flag 0
  7312. removes it. [Skotlex]
  7313. * Updated script_commands with the new behaviour. [Skotlex]
  7314. * Updated mob_db2.txt and mob_db2.sql to have only 10 drop slots rather
  7315. than 15. [Skotlex]
  7316. * Users are now able to use their own dnsbl servers (login_athena) [Zido]
  7317. 2006/05/09
  7318. * Rewrote/cleaned up trade.c for a more clean trading implementation.
  7319. [Skotlex]
  7320. * Added @request commands, sends a request to all connected GMs of
  7321. lowest_gm_level or above as a whisper message. Defaults to gm level 20
  7322. users (UNTESTED). [Skotlex]
  7323. * Modified @commands to use Meruru's code which is faster and does a fair
  7324. attempt at tabulating the commands presented. [Skotlex]
  7325. * Updated SKA to return a random value between 0 and 99 each time
  7326. status_get_def is invoked. [Skotlex]
  7327. * Updated Making Arrow to not include unidentified items in the list.
  7328. [Skotlex]
  7329. * Reduced drop slots from 15 to 10. [Skotlex]
  7330. * Updated mob_db.sql with the current data. [Skotlex]
  7331. * Updated setoption script command to receive a second (optional) argument
  7332. flag. If the flag is 1, the option is added to what the player currently
  7333. has; likewise using flag 2 removes only that option. No flag (or any other
  7334. value) is the older behaviour of removing all other options and setting
  7335. specificly what is passed. [Skotlex]
  7336. * Updated script_commands information for setoption due to this change.
  7337. [Skotlex]
  7338. * Small fix in npc-created chat rooms to properly include the terminating 0
  7339. on the chat's event. [Skotlex]
  7340. * Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer
  7341. get reduced by 50% regardless of who is standing on the fog. [Skotlex]
  7342. * monster_ai&2 will now trigger the rude-attacked skill when the mob can't
  7343. move and the attacker is out of it's attack range. [Skotlex]
  7344. * Added missing icon for Joint Beat [Skotlex]
  7345. * Mob-search functions will now skip enemies with no exp/job_exp. [Skotlex]
  7346. * Treasure chests will now be excluded from the mob-drop listings
  7347. (@whodrops) [Skotlex]
  7348. * Fix on pc_skill which fixes overlapping when one gets more than one bonus
  7349. for the same skill. [Skotlex]
  7350. * Updated main.sql's loginlog table structure. [Skotlex]
  7351. * Added svn_update6533.sql to update the loginlog structure as suggested by
  7352. theultramage. [Skotlex]
  7353. * Cleaned up somewhat the implementation of BladeStop. [Skotlex]
  7354. * Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
  7355. when crafted for non-players. [Skotlex]
  7356. * Script commands sc_start, sc_start2 and sc_start4 will now start
  7357. regardless of sc defense of the target player (that is, they cannot be
  7358. avoided/blocked) [Skotlex]
  7359. * Fixed a possible counter overflow in attacked_count, changed the var size
  7360. to unsigned char since the code can handle the overflow now. [Skotlex]
  7361. * Multiple targets again reduces armor defense, as reported by Tharis.
  7362. [Skotlex]
  7363. * Increased dex bonus of NPC_POWERUP to +20 per level. [Skotlex]
  7364. * Fog of Wall's -50 hit reduction is now only for ranged attacks. [Skotlex]
  7365. 2006/05/08
  7366. * Reverted the change that was making ES skills stun the caster always.
  7367. [Skotlex]
  7368. * Removed the fixpos packet which is sent whenever you are hit while moving
  7369. as Aegis doesn't sends this packet neither. [Skotlex]
  7370. * ES magic will now put the caster on stun for 0.5 secs regardless of
  7371. whether the skill-target is a mob or not. [Skotlex]
  7372. * Added function clif_party_join_info which sends packet 0x1e9 each time a
  7373. party-member joins. This packet (as redundant info as it has) should also
  7374. contain the field for "adoptability", but that needs to be coded in yet.
  7375. [Skotlex]
  7376. * Added clif_ParseAdoptRequest which does the basic adoption handling. More
  7377. checks and the reply packets still need to be coded in. [Skotlex]
  7378. * Happy State and TK stances won't dispel on death now. [Skotlex]
  7379. * Cleaned up combo-skill implementation, SC_COMBO is automatically ended in
  7380. skill_check_condition now. [Skotlex]
  7381. * Modified TK-ranker infinite combos to behave as described by AuronX.
  7382. Refer to his thread in the development section for details. [Skotlex]
  7383. * Made all Soul Link Spirit skills not be castable on self. [Skotlex]
  7384. * Changed rate of NPC status effect skills to 50+10*lv% base chance
  7385. (guessed, but better than 100% for all levels) [Skotlex]
  7386. * Changed max level of NPC status effect skills to 5 [Skotlex]
  7387. * Increased max number of tries to find a random spot in maps to 1000 since
  7388. some maps have so many non-walkable tiles it's hard to find one in just 100
  7389. tries. [Skotlex]
  7390. * status_set_viewdata will remove the Wedding Option status when you set a
  7391. class that is not wedding. [Skotlex]
  7392. * hide_gvg_damage will now send 1 instead of -1 as damage. [Skotlex]
  7393. * idletime will now be updated on attack-request, not on sit/standup
  7394. [Skotlex]
  7395. * Party members sitting will no longer be considered idle. [Skotlex]
  7396. * Removed SP_DISGUISE from the bonus list (onequip/onunequip should be used
  7397. with the disguise/undisguise script commands instead). [Skotlex]
  7398. * Moved Sharp Shooting display to the block with Auto-Counter (since that's
  7399. the other skill that can show critical as well) [Skotlex]
  7400. * Corrected some fields in the standing still packet (guild emblem being
  7401. stored as a Long when it should be Short) [Skotlex]
  7402. * Modified most fields of view_data to be unsigned shorts rather than
  7403. signed ones. [Skotlex]
  7404. * On-Touch NPCs will now make you stop walking when you trigger them.
  7405. [Skotlex]
  7406. * ShadowJump/JumpKick will make you land on the target's cell now.
  7407. [Skotlex]
  7408. * Fixed Kaahi triggering only once per skill duration. [Skotlex]
  7409. 2006/05/07
  7410. * Fixed readme/changelog.html [KillerBox]
  7411. * Removed old logs. [Lupus]
  7412. TODO: 1. Add produce logging into PICKLOG 2. Replace map names with map index
  7413. 2006/05/05
  7414. * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc
  7415. before sending one (as it's not required to send twice).
  7416. * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps
  7417. players and still continues execution to work). [Lance]
  7418. * Updated item_db.sql to current. [Skotlex]
  7419. * Fixed a bug in @commands, most likely the reason some people were still
  7420. getting crashes. [Skotlex]
  7421. * Fixed @commands not showing the last available commands (unless the total
  7422. amount of commands is divisible by ten) [Skotlex]
  7423. * Added a npc-script-event cache to avoid looking up event-scripts every
  7424. time they need to be executed. Events cached are all those defined in
  7425. script_config (on login, logout, mapchange, death, kill, level up) [Skotlex]
  7426. - Since the cache holds direct pointers to the npcs/events, do NOT unload
  7427. the related NPCs or you'll get dangling pointer crashes. However,
  7428. @reloadscript will work fine.
  7429. - Set the etc_log to on to see a summary of npcs/events loaded for script
  7430. execution on startup.
  7431. * The Rest bonus activated by using /doridori while in rest should now
  7432. trigger with all the class tree (TK/SL/SG) [Skotlex]
  7433. * Fixed Kaupe always triggering when the one who was under Kaupe was a
  7434. player rather than the one attacking... [Skotlex]
  7435. * /doridori now won't double the HP/SP regen of TKs, it only activates
  7436. their "happy" state. [Skotlex]
  7437. * Added the -50 hit penalty when standing on Wall of Fog. [Skotlex]
  7438. * Uncommented the status_calc_mdef2 call in status_calc_pc. [Skotlex]
  7439. * Being in Enjoyable Rest state will now also trigger the HP/SP Time skills
  7440. (even if there's no other TK around). [Skotlex]
  7441. * Added battle config settings view_range_rate and chase_range_rate to
  7442. adjust the view-range and chase-range (range2/range3) of the mob_db without
  7443. having to manually change them (battle/monster.conf) [Skotlex]
  7444. * Kaupe now will only block all skills of players, for non-players, only
  7445. normal attacks can be missed. [Skotlex]
  7446. * Moved the Kaite spell-reflect code after the damage calculation function,
  7447. so the reflected damage is exactly the damage the original target would
  7448. have received. Will only trigger if the damage to be reflected is above 0.
  7449. [Skotlex]
  7450. * OnEquip scripts will now trigger on log-on. [Skotlex]
  7451. * Infinite Endure will no longer give mdef bonus. [Skotlex]
  7452. * Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to
  7453. start/end infinite endure. [Skotlex]
  7454. * Fixed Kaahi's SP cost per heal. [Skotlex]
  7455. * Now when walkdelay is set to 0, characters will stop walking when hit,
  7456. but will not have any walk delay. (previously setting walk delay to 0 would
  7457. not even stop characters from walking when hit) [Skotlex]
  7458. 2006/05/04
  7459. * Some people think its sexy to declare variables after blocks of code. Fixed. [Zido]
  7460. * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
  7461. * Some clean-ups in the mob_ai [Skotlex]
  7462. * Improved atcommand autoloot, now displays droprate in percents and notices
  7463. player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
  7464. commited by erKURITA
  7465. * Added one grace range in the mob_loot search function which should fix
  7466. mob_can_reach failing when invoked with the same distance that distance_bl
  7467. returned. [Skotlex]
  7468. * Stun time for using ES magic on non-mobs reduced to 0.5 secs. [Skotlex]
  7469. * Eska is now usable on bosses. [Skotlex]
  7470. * Swoo will stun you if attempted on an already 'swooned' enemy. [Skotlex]
  7471. * clif_skill_failed will print out a debug line with the skill_id (since
  7472. the current null_po does not helps at all to fix it) [Skotlex]
  7473. * Applied TheUltraMage's suggested fixes to the grfio module. [Skotlex]
  7474. * Rewrote Kaahi to behave as it should. It will heal whatever amount of
  7475. damage accumulates in the time2 interval (500ms by default) after being
  7476. hit. [Skotlex]
  7477. * Changed skill_unit_move_unit_group to enable moving of all types of
  7478. ground-skills except ensembles (fixes warmth not following you) [Skotlex]
  7479. 2006/05/03
  7480. * Kaahi now triggers every 500ms rather than on every hit (but it only
  7481. heals if in those 500ms an attack that would previously trigger Kaahi has
  7482. taken effect). In other words, it works just like before, except damage
  7483. gets "buffered" into 500ms slots. [Skotlex]
  7484. * Kaite, Kaute will now show a skill effect when they trigger. [Skotlex
  7485. * Knowledge will now only trigger if you logon to the memorized map, not
  7486. walk into it. [Skotlex]
  7487. * Corrected @whomap directly invoking msg_table[] rather than msg_txt()
  7488. [Skotlex]
  7489. * Guessed where the pet data goes in spawn packet 0x7c. This may be wrong
  7490. and not fix the pet issue, but I doubt it'll cause any problems that won't
  7491. be fixed by making the pet move. [Skotlex]
  7492. * Updated Charge Attack's state from none to move_enable. [Skotlex]
  7493. * Made tomahawk an NPC_SKILL so that it may not be plagiarized. [Skotlex]
  7494. 2006/05/02
  7495. * Fixed standing up not really standing you up. [Skotlex]
  7496. * Moved battle_consume_ammo to the end of skill_castend_damage_id,
  7497. skill_castend_nodamage_id and skill_castend_pos2 rather than
  7498. battle_calc_weapon_attack. They will trigger when the player's arrow_atk
  7499. state is active and a ground skill was not invoked. It should fix all
  7500. issues with splash/ground skills consuming ammo per target rather than once
  7501. per skill use. [Skotlex]
  7502. * Added structure state to the ground skills, their fields are magic_power,
  7503. into_abyss and ammo_consume to indicate the states that were previously
  7504. stored in val3. [Skotlex]
  7505. * Implemented desperado as explained by Rockman-EXE. The skill-effect is
  7506. not showing up though, I'll need some logged packets to see what's missing.
  7507. [Skotlex]
  7508. * Removed the unit_can_move checks in skill cast-end, they should be
  7509. performed in skill_check_require when the skill's state is move_enabled.
  7510. [Skotlex]
  7511. * Changed extremity fist's state to move_enabled, the explosion spirits
  7512. check is now hardcoded. [Skotlex]
  7513. * Absorb Spirit Sphere now gives +10SP per sphere as per discussions with
  7514. Haplo. [Skotlex]
  7515. * Changed a <= into a < in pc_steal_item. This means drops with 0.01% are
  7516. impossible to steal unless you have at least 100% steal-rate (where steal
  7517. rate is dex - opponent dex + skill_lv*3% + 10%) [Skotlex[
  7518. * Cleaned up clif_parse_action_request to enable sitting/standing while in
  7519. shops, interacting with npcs, etc. [Skotlex]
  7520. * Kaite now works against all types of spells. [Skotlex]
  7521. * Kaupe now works against all skills. [Skotlex]
  7522. * Sanctuary now won't damage non-enemies. [Skotlex]
  7523. * Blessing now will always give you bonus stats even if you are wearing
  7524. undead armor. [Skotlex]
  7525. * Modified how Rogue's treasure works so that you get +1% to your steal
  7526. rate rather than +0.01% to the final rate. [Skotlex]
  7527. * Rewrote Warmth to use ground-skill-units, it should behave now like in
  7528. officials (implementation is not quite the same, but it should yield the
  7529. same effects while consuming less bandwidth). "Stacking", as it's called,
  7530. is possible now, but limited to eA's minimum timer skill interval (100ms).
  7531. [Skotlex]
  7532. * Modified NPC_POWERUP so that it gives +10 dex * skill level rather than
  7533. +5+lv to all stats (as explained by Playtester and Tharis on how the skill
  7534. behaves). [Skotlex]
  7535. * Allowed SG_FEEL memorizing the same map for all three. [Skotlex]
  7536. * SC_FUSION won't end when you die now. [Skotlex]
  7537. 2006/05/01
  7538. * Added knockback when you run into a wall during running. However
  7539. position is not being refreshed on the client yet... [Skotlex]
  7540. * Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
  7541. * Corrected a crash when sd is null in npc_event [Skotlex]
  7542. * After testing to make sure it works properly, I'm including
  7543. new battle conf options to limit MVP drops. [Reddozen]
  7544. * Removed OPTION_XMAS, it seems to not exist.... [Skotlex]
  7545. * Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO)
  7546. since it has a visual effect to use. [Skotlex]
  7547. * Corrected the value of OPTION_FLYING [Skotlex]
  7548. * Using SG_FUSION ends Soul Linked effect. [Skotlex]
  7549. * status_setviewdata will set your option accordingly when the previous/new
  7550. view-class is wedding or xmas suit. [Skotlex]
  7551. * Added function map_foreachinshootrange, behaves the same way as
  7552. map_foreachinrange, but it also performs a "shoot-path" check before
  7553. invoking the function. Used in the skill subtimer function if
  7554. skill_wall_check is defined. [Skotlex]
  7555. * Fixed AL_WARP displaying "Unknown Area" selections when you don't have
  7556. all memo points used up. [Skotlex]
  7557. * Fixed alive_count not being reset on skill unitsetting, which leads to
  7558. some groups not being cleared once all their units expire. [Skotlex]
  7559. * Optimized Kaahi/Kahai, will now only show the amount of HP healed. Moved
  7560. to skill_counter additional effect so it may trigger even on miss. [Skotlex]
  7561. * SKA no longer blocks skills. [Skotlex]
  7562. * Optimized fake npc system. Added npc_checknear back to npc_buysellsel. [Lance]