Bug - Waiting for Info Clan Snapshot errors

When loading a clan snapshot mafia is incapable of handling clannies that have ended runs prematurely (Index out of bounds error)
Code:
<td colspan="6" align="center"><small>This run was ended prematurely.</small></td>
 

holatuwol

Developer
Been out of the loop long enough to not even be sure what that even means.

Is there a clan I can get whitelisted into to test this out? Or did the people who have runs that ended prematurely already do something to clear that state?
 

Theraze

Active member
My guess is that when AscensionSnapshot is parsing information, one of the sections has issues due to getting "This run was ended prematurely" rather then the normal message that's expected. What we'd need to know is, where does it have the failed message?

Sight unseen, my guess is that it's probably getAscensionData, the resultsList.add where it adds softcore, path, class, and age to a complete listing...
 

Veracity

Developer
Staff member
I assume you get into that state when you use the "reset" button (or whatever it is) on an account that has been idle for 11 days. That aborts your run and lets you start over.

Edit: Somebody snuck in while I was composing that message. Sneaky, sneaky ninjas.
 

Theraze

Active member
What I meant about where was, which line does it replace? Can you paste a successful line from the log as well as the premature line?
 
What I meant about where was, which line does it replace? Can you paste a successful line from the log as well as the premature line?

Ah, yes, yes I can. *logs into KoL to grab it*

A valid line:
Code:
<td class=small valign=center>1   </td><td height=30 class=small valign=center>01/13/12  </td><td class=small valign=center><span title="Level at Ascension: 18">18</span>   </td><td class=small valign=center><img src="http://images.kingdomofloathing.com/itemimages/pastaspoon.gif" width=30 height=30 alt="Pastamancer" title="Pastamancer"></td><td class=small valign=center>(none)  </td><td class=small valign=center><span title='Total Turns: 7,633'>7,633</span></td><td class=small valign=center><span title='Total Days: 718'>718</span></td><td><img src="http://images.kingdomofloathing.com/itemimages/macaroniduck.gif" width=30 height=30 alt="Animated Macaroni Duck (66.3%) - Total Run: Animated Macaroni Duck (66.3%)" title="Animated Macaroni Duck (66.3%) - Total Run: Animated Macaroni Duck (66.3%)"></td><td class=small valign=center><img src="http://images.kingdomofloathing.com/otherimages/spacer.gif" width=30 height=30></td></tr>
A run that was ended:
Code:
<td class=small valign=center>2   </td><td height=30 class=small valign=center>02/14/12  </td><td colspan="6" align="center"><small>This run was ended prematurely.</small></td></tr>

Note that due to Jick's awesome programming abilities, none of these have open table row tags.
 

Sentrion

Member
Any chance we can get this working? I know clan snapshot is a rarely-used feature, but I like it, and this seems like it should be a simple fix. Thanks!
 
Top