Automatic legendary finder (iMacros)
Automatic legendary finder (iMacros)
Hey there,
As we all probably know, greasemonkey scripts are blocked on vortex. Unfortunately we can still use macros (not against the rules either) so I figured, we could make a legendary finder in javascript. Sadly I'm stuck on that part at the moment, I have no clue what is wrong perhaps there is a javascript guru here? Or someone else that might be interested in a legendary fighter (not auto catching)
If anyone is interested what this does exactly, let me know... meanwhile I'm trying to figure out why it stops and doesn't even move.
Edit: Can't post links yet, that's why I added a space after http
As we all probably know, greasemonkey scripts are blocked on vortex. Unfortunately we can still use macros (not against the rules either) so I figured, we could make a legendary finder in javascript. Sadly I'm stuck on that part at the moment, I have no clue what is wrong perhaps there is a javascript guru here? Or someone else that might be interested in a legendary fighter (not auto catching)
pokelevel = 0;
i = 1;
while(pokelevel > 50)
{
iimPlay("CODE: TAG POS=1 TYPE=DIV ATTR=ID:pkmnappearomega&&TXT:* EXTRACT=TXT");
var test = iimGetLastExtract();
if(test.indexOf("Level") >= 0)
{
/*Pokemon found*/
pokelevel = test.slice(test.lastIndexOf(' ') - 2);
if(pokelevel < 49)
{
pokelevel = 0;
}
}
else
{
switch(i)
{
case 1:
iimPlay("TAG POS=1 TYPE=IMG ATTR=SRC:http ://static.pokemonvortex.org/images/maps/arrows/arrowup.gif");
break;
case 2:
iimPlay("TAG POS=1 TYPE=IMG ATTR=SRC:http ://static.pokemonvortex.org/images/maps/arrows/arrowdown.gif");
break;
case 3:
iimPlay("TAG POS=1 TYPE=IMG ATTR=SRC:http ://static.pokemonvortex.org/images/maps/arrows/arrowleft.gif");
break;
case 4:
iimPlay("TAG POS=1 TYPE=IMG ATTR=SRC:http ://static.pokemonvortex.org/images/maps/arrows/arrowright.gif");
i = 1;
break;
}
i = i + 1;
}
}
If anyone is interested what this does exactly, let me know... meanwhile I'm trying to figure out why it stops and doesn't even move.
Edit: Can't post links yet, that's why I added a space after http
bigboom- Posts : 1
Join date : 2012-08-13
Permissions in this forum:
You cannot reply to topics in this forum
|
|