Hammerfall RPG Helper

By Dusty Last update Jun 27, 2009 — Installed 2,505 times.

farming that uses item won't stop

in
Subscribe to farming that uses item won't stop 3 posts, 2 voices



joykafka User
FirefoxWindows

When I do Tortoise at Inlet Cove Beach, the Helper repeats trying to fight Tortoise without Jellyfish.

I found the issue might result from:

for (var itemReq in itemUsed)
{
say("Using " + itemUsed[itemReq] + "x " + itemReq + ".");
GM_setValue('inv/' + itemReq + '/qty', (GM_getValue('inv/' + itemReq + '/qty') || itemUsed[itemReq]) - itemUsed[itemReq]);
}

The two variables itemReq and itemUsed are undefined at this nest level, and the above algorithm will not be execute, which makes the quantity remain as it was, unless you go to Character Page manually again and again during the automatic farming.

I changed the declaration
-----------
var itemReq ='';
var itemUsed= new Object();
-----------

to right after
-----------
function autoPlayCheck()
{
try
{
for (var i in autoPlay)
{
-----------

and it works normally for me now. Btw, I also changed the name of a local boolean variable from itemUsed to itemUsing to avoid confusion. Hope this works for the others too.

 
Jeanette Win... User
FirefoxWindows

Wow..thank you...I had used up all my oysters, and it kept going so fast, that I couldn't stop the autoPlay! This worked! Bless you!

 
Jeanette Win... User
FirefoxWindows

Darn..now it won't autoPlay the attacks...

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel