Character Info Toolbox

Bale

Minion
When everyone was talking about the Extreme Meter for the Level 8 Quest I was wondering WTF that was since I did the quest and didn't see a meter. Finally it dawned on me that it was in my charpane and ChIT was not showing it. Now for my most extreme update ever!~

Now you can download version 6.10 which displays the Extreme Meter. It's awesome! It will always be displayed at the bottom of your stats block. If you have a stats block anywhere. I reduced the image size to 80% since it was a little bit too large for the charpane.

Updated to 0.6.10
  • Extreme Meter!
  • Click on familiar type if you want to see the familiar's descriptive Haiku.

Only charpane.ash needs to be updated.
 
Last edited:

rlbond86

Member
Something has been annoying me recently. I set up a custom layout for ChIT, but every few days the layout reverts back to the default and I have to edit my vars file again. Do you know about this Bale?
 

Bale

Minion
The script simply uses the values in vars_<name>.txt like all scripts that use zlib variables. It would return to default if your vars file was deleted or otherwise restored to a previous state. I don't know why that would happen, though I suspect there is a culprit other than this script.
 

Bale

Minion
Want to slay zombies, but found that the old version of ChIT is lacking support? Yeah, I updated so fast that you might just miss the problem before you ascend as a Zombie Slayer.

Updated to 0.7
  • Support for Zombie Hordes
  • Fix guild link for Zombie Master skills

I've updated to version 0.7 and have only provided the zip file. You'll need to update charpane.ash and chit_effects.txt from the last version at the least.

Note that I've added a new preference: chit.kol.coolimages
You can set that to false if you don't want to see KoL's cool charpane images like the Extreme Meter and the Zombie Horde.
 
Last edited:

Winterbay

Active member
Cool. Now I can reactivate my override again (not the least because I didn't want to miss anything that CHIT possibly didn't show before) :)
 

lostcalpolydude

Developer
Staff member
It appears that charpane.php is blank while going through the introductory choice adventures of a Zombie run. It looks like a good fix for that would be adding
PHP:
	if( source.length() == 0 )
	{
		return source;
	}
After calling checkVersion(), or something similar, to avoid printing "CHIT: Error parsing header" several times during the intro stuff.
 

Bale

Minion
Thank you. Added to my local copy. I've just been refactoring lately, so I'm not going to release until I have something more interesting to add.
 

lostcalpolydude

Developer
Staff member
I didn't actually get to test it last time since I managed to get through the intro choice adventure before I finished testing. Apparently the charpane is actually a single space, so checking for it being empty doesn't work. Changing it to < 5 or whatever works though.
 

Bale

Minion
Yeah, I noticed that. Still not rolling out a new charpane.ash for this single easily made change.

The only other thing I've done is refactor and nobody except me cares about that.

PHP:
buffer modifyPage(buffer source) {
	if(source.length() < 2)
		return source;
 

Bale

Minion
Updated to 0.7.2
  • Fix charpane during Dawn of the D'oh
  • Codpiece of the Goblin King
  • Lots of refactoring under the hood that make no practical difference,
    except to improve my happiness and trim the script's size by 20 KB

Since version 0.7 only charpane.ash has been changed.
Download it here: View attachment 6824
 

Bale

Minion
Updated to 0.7.2.1
  • Fix HP and MP display to be red when below mafia's autoheal level
  • If you are using UR to restore Horde: Autorestore Horde if you click on the words "Horde: XX", just as the MP link would.

Since version 0.7 only charpane.ash has been changed.
Download it here: View attachment 6860
 

Magus_Prime

Well-known member
I may have more information on the issue that caused KOLmafia to crash earlier this week. I just got this in the gCLI:

Code:
Checking for updates (running ZLib ver. r37)...
Checking for updates (running ZLib ver. r37)...
Running ZLib version: r37 (current)
Checking for updates...
Running ZLib version: r37 (current)
Checking for updates...
Latest version: 0.7.2.1
You have a current version of Character Info Toolbox.
Latest version: 0.7.2.1
You have a current version of Character Info Toolbox.
No match attempted or previous match failed (charpane.ash, line 2410)

This is with r11482.

If this is the same issue referenced in the bug report here.
 

lostcalpolydude

Developer
Staff member
This is unrelated to the checking added in response to that bug report. I'm confused how the error can happen with the check right beforehand.
Code:
matcher avatarMatcher = create_matcher('<img src=\"(.*?)\" width=60 height=100 border=0\>', source);
if (find(avatarMatcher)){
	myAvatar = group(avatarMatcher, 1); //line 2410
}
 

Bale

Minion
Java 6 update 33. I'll install update 35.

I suppose that could possibly be causing it. I was hoping you'd say it was java 7.x and I could say, "Ah, ha! Don't you know that Java 7 is distilled from incompetence and fail? Banish that benighted java from your system and bask in the awesomeness that is Java 6, the only true platform of universal interoperability!"

Since you didn't say it is java 7, I'll just hope. It seems to be that this problem could only be the result of a mafia or java bug, so maybe the update to version 35...
 

Winterbay

Active member
I've had that pop up from time to time as well, but my system is known to be scetchy at best and it was unreproducible so...
 
Top