Thread:Bobmath/@comment-11090687-20140909201945/@comment-11090687-20140911173946

Bobmath wrote: Everything runs from the Terminal prompt. I have a set of modules that I can query to get information from the game, like this: > cat box use strict; use warnings; use lib 'lib'; use BN; my $anim = BN::Animation->get('hero_spiderwasp_queen_front_idle'); my ($left, $right, $top, $bottom) = $anim->box(0); print "left=$left, right=$right, top=$top, bottom=$bottom\n"; > perl box left=-134.46875, right=79.03125, top=-236.625, bottom=1.53125 That's the information you need to set up the Spiderwasp Queen icon in the BattleMap module. right-left gives you the width (213.5, rounded up to 214), bottom-top is the height (238.15625, rounded up to 239), x is -left, and y is -top.

But if you try and run that yourself, you're probably going to get: Can't locate JSON/XS.pm in @INC

Awesome!

Ok so now for the BattleMap values. If I run the module above I get: command not found

What to do? :)