Bug - Fixed api.php?what=status parse error: JSONArray[1] is not a int.

wRAR

New member
JSON:
Loading character status...
api.php?what=status parse error: JSONArray[1] is not a int.
{"moxie":182,"pastathralllevel":1,"daysthisrun":"0","sign":"Opossum","hp":"785","intrinsics":[],"mcd":"11","path":"25","soulsauce":0,"drunk":"0","basemysticality":"49","casual":"0","stickers":[0,0,0],"locked":false,"adventures":"48","eleronkey":"<>","coolitems":"airport3,hascosmicball,maydaykit,autumnaton,burningleaves","mp":"0","famlevel":70,"flag_config":{"slimhpmpdisplay":"1","hidefamfilter":0,"questtracker":0,"tc_combineallpublic":0,"profanity":"1","whichpenpal":"5","nodevdebug":0,"seenewaccts":0,"hideefarrows":0,"devskills":0,"nonpixelimages":0,"disablelovebugs":0,"swapfam":0,"fastdecking":0,"hidejacko":0,"anchorshelf":0,"clanlogins":0,"tc_hidebadges":0,"autoattack":0,"australia":0,"multisume":0,"topmenu":0,"noinvpops":0,"lazyinventory":0,"chatversion":0,"acclinks":"1","compacteffects":0,"oneclickcraft":0,"compactmanuel":0,"tc_times":0,"shortcharpane":0,"showoutfit":"1","tc_colortabs":0,"unfamequip":0,"dontscroll":0,"compactfights":0,"invadvancedsort":"1","sellstuffugly":0,"tc_modifierkey":0,"hprestorers":"1","powersort":0,"noquestnudge":0,"ignorezonewarnings":"1","poppvpsearch":0,"tc_updatetitle":0,"charpanepvp":0,"compactchar":0,"threecolinv":"1","showhandedness":0,"quickskills":"1","fffights":"1","eternalmrj":0,"aabosses":"1","chatsize":0,"noframesize":0,"invimages":0,"nocalendar":0,"questtrackerscroll":0,"fullnesscounter":"1","invclose":0,"wowbar":"1","autodiscard":0,"tc_alwayswho":0,"tc_tabsonbottom":0,"questtrackertiny":"1","tc_eventsactive":0,"alwaystag":0},"level":"9","spleen":"0","equipment":{"container":"10647","cardsleeve":0,"weapon":"10251","shirt":"9699","pants":"5035","hat":"10804","acc2":"10254","familiarequip":"4183","acc1":"11223","offhand":"10058","fakehands":0,"acc3":"10258"},"familiarpic":"lilprofessoron","maxmp":1601,"basemuscle":"68","pathname":"Community Service","familiar_wellfed":0,"effects":{"75884cd963a369a27b0b37343a01c2ed":["Spit Upon",30,"camelspit_down",null,"2577"],"c45d2469bf8cfd8c9bbc953e2a44f3c4":["Starry-Eyed",10,"snowflakes",null,350],"418d28185c7eadb867768a9d9baa02cf":["Muscle Unbound",50,"strboost",null,830],"0bf172ccba65be4fdc4c0f908325b5c1":["Everything Looks Yellow",40,"eyes",null,790],"61fa55a3bc2562c6e84fbd6708913496":["Patient Smile",10,"patientsmile","skill:2040",1429],"0f1ee3c05441592c1911f414b63961b8":["Barbell Moustache",12,"dsstache2",null,2667],"5c30f6397482274d3122b79f75f1fe2e":["Scorched Earth",40,"candlecnapalm","item:10778","2651"],"93b24d449fa590fe8c9f6977a7ceeb14":["Disdain of the War Snapper",10,"warsnapper","skill:2030",1425],"e2c20a6b5f99d594264e60b9aff4e14b":["Pride of the Puffin",10,"trophy","skill:1040",1367],"4e1b5fb5d2e16e3bcf3d9013abdb4d5c":["In the Depths","100","bbat_pizza",null,"2740"],"674b630f61a0cb81c8315f544fb3f63f":["Favored by Lyle","10","happy",null,"2321"],"99fc8baf6306358895e613edd9734885":["Song of Bravado",10,"songbravado","skill:106",1329],"50660df88fde2562b5fa5e2932d7d20b":["Recalling Circadian Rhythms",10,"clock",null,2846],"581c62434820bcc318206d2b26888f60":["Big",10,"getbig","skill:1042",2372],"2f8fc15a821f5a33769bc2d36e07d055":["Carbonated",8,"bubbles",null,2746],"2d6d3ab04b40e1523aa9c716a04b3aab":["Leash of Linguini",10,"string","skill:3010",16],"4285310af68b67c84bafa043eb8d49b6":["Troubled Waters",16,"waves",null,2758],"943ba3b11499412f041807f8a7835d75":["Go Get 'Em, Tiger!",15,"strboost","item:2595","349"],"be009c297c068eec5b7af5a7879f0d17":["The Odour of Magick",80,"candlecincense","item:10784","2652"],"9038c5de7acbe308ec962059bac040ab":["Cursed by a Monkey",7,"monkeypaw0",null,2808],"4410d6172a525c649103763b99e45465":["Gummibrain",20,"gummiingot",null,"971"],"1e1544b950e61ccbe19a698ade26110d":["Frozen",8,"ice",null,2748],"7b78b0e96a9d9e28de62d11931ccc389":["Feeling Excited",20,"emochip1","skill:7358",2627],"93e55821ba196181627eae905eb1f052":["Seal Clubbing Frenzy",5,"clubseal","skill:1000",21],"e0aa6218d9b1815a13ccbce09a95dd4e":["Drescher's Annoying Noise",20,"brokenflute","skill:89",1194],"97bac5f12530c253303ed4fa944bec0d":["Peppermint Rush"," 10","ccsword",null,"2853"],"e176f70d3a673e928e6c93aa523b5e14":["Phorcefullness",10,"strboost","item:421","33"],"6d848baf68e1532b64bca6ab60df9144":["Everything Looks Red",101,"eyes",null,792],"949a72c535a6942b9622fef2c38b5226":["Lack of Body-Building",50,"beachface6",null,2482],"13d514f97d8701d2507c8623b88897ff":["Patience of the Tortoise",5,"tortpatience","skill:2000",22],"6508fec9bcd6052fb261808cf04441df":["Carol of the Bulls",10,"music","skill:182",2437],"041f3562195a07294511006a50e1c9cb":["In the 'zone zone!","100","bbat_calzone2",null,"2741"],"ff106696b8db85dd702434fed5f54274":["Curiosity of Br'er Tarrypin",5,"turtle","skill:2026",710]},"familiarexp":"81","rawmysticality":"2485","name":"wRAR","pwd":"<>","playerid":"1267204","full":"4","maxhp":2574,"turnsthisrun":60,"roninleft":"940","title":"9","rawmoxie":"2196","muscle":636,"mysticality":432,"limitmode":0,"rollover":1701487802,"freedralph":0,"class":"1","daynumber":"7599","hardcore":"0","fury":"5","familiar":"274","lastadv":{"container":"place.php?whichplace=airport_stench","name":"Uncle Gator's Country Fun-Time Liquid Waste Sluice","link":"adventure.php?snarfblat=445","id":"445"},"rawmuscle":"4630","recalledskills":0,"ascensions":"358","pvpfights":"10","pastathrall":0,"meat":"6951","noncomforcers":[],"turnsplayed":"605636","folder_holder":["00","00","00","00","00"],"basemoxie":"46"}

I guess something has changed today in the format?
 

heeheehee

Developer
Staff member
It looks like a few effect durations are showing up as strings, not integers.

"4e1b5fb5d2e16e3bcf3d9013abdb4d5c":["In the Depths","100","bbat_pizza",null,"2740"],"674b630f61a0cb81c8315f544fb3f63f":["Favored by Lyle","10","happy",null,"2321"],
...
"041f3562195a07294511006a50e1c9cb":["In the 'zone zone!","100","bbat_calzone2",null,"2741"]

Possibly worth reporting this as a KoL bug (either in-game or via @gausie), although we may want to make CharPaneRequest.refreshEffects() more resilient to bad data.
 

heeheehee

Developer
Staff member
I loaded this file into a test. It seems that the issue is actually with Peppermint Rush, which has a leading space in the effect duration:

Code:
"97bac5f12530c253303ed4fa944bec0d":["Peppermint Rush"," 10","ccsword",null,"2853"]
 
Top