Changelog-Trunk.txt 377 KB

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