PDA

View Full Version : Bigshot not waiting for sloot



Erez
03-24-2015, 06:15 PM
Anyone else have this problem? I downloaded the updated Sloot and now bigshot will not wait for sloot to finish before moving on to a different room

Soulance
03-24-2015, 06:20 PM
Does it not run at all or do you see it start but fail? Did you "trust" it and make sure it's entered correctly in bigshot? Also, have you set up your ;vars (container) settings? Just some thoughts.

Erez
03-24-2015, 06:27 PM
It starts but when I am in RT it doesn't wait till it's done bigshot moves. all my bags are set up and I trusted it.

Erez
03-24-2015, 06:43 PM
It does end before my RT finishes.

Tgo01
03-24-2015, 07:04 PM
If I'm reading the code in Bigshot correctly it doesn't look like Bigshot waits for the loot script to finish running before continuing on which would explain why it tries to run sloot while you're in roundtime but then Bigshot moves on as soon as the roundtime is up.

Odd though because if that's the case then I would imagine a lot of people would have this problem.

Sean
03-24-2015, 07:22 PM
I have the same problem but since I'm generally present I just said fuck it and I enter the sloot command myself most of the time.

Maerit
03-24-2015, 07:31 PM
Just wrap sloot in a script:

pause_script "bigshot"
waitrt?
start_script "sloot"
pause 1
unpause_script "bigshot"

Make this your loot script on bigshot, and it will fix the issue.

Tgo01
03-24-2015, 07:40 PM
On second glance it looks like Bigshot is setup to wait for your loot script to finish running before moving on.


Just wrap sloot in a script:

pause_script "bigshot"
waitrt?
start_script "sloot"
pause 1
unpause_script "bigshot"

Make this your loot script on bigshot, and it will fix the issue.

This should work. Are you having this issue as well, Maerit? Maybe there is a bug in the pause feature.

Erez
03-24-2015, 07:42 PM
sad part is I would not even know where to put that code.

Parkbandit
03-24-2015, 07:56 PM
I just use ;loot and in bigshot I put ;waitloot

Maerit
03-24-2015, 08:25 PM
You don't modify any script. Open your scripts folder, create a new text file and rename it to lootwrap.lic or something. Then put the above code inside and save.

I was having the issue, so I wrote something quick to help fix it =)

Tgo01
03-24-2015, 08:28 PM
I just use ;loot and in bigshot I put ;waitloot

;loot for life!

DaCapn
03-24-2015, 10:04 PM
This makes me think about how people complain that Simu just uses weird bandaid fixes. Then I remembered how Simu staff is all players.

Somewhere inside my version of bigshot:

def loot()
dead_npcs = GameObj.npcs.find_all { |i| i.status == 'dead' }
dead_npcs.each { |i|
change_stance('defensive')
if(@LOOT_SCRIPT)
run_script( @LOOT_SCRIPT, true )
# EDIT: This break causes bigshot to move before looting is done
#break
else
bs_put 'loot'
end
}
end

zzentar
03-24-2015, 10:06 PM
I just use ;loot and in bigshot I put ;waitloot

^^^

Tgo01
03-24-2015, 10:07 PM
This makes me think about how people complain that Simu just uses weird bandaid fixes. Then I remembered how Simu staff is all players.

Somewhere inside my version of bigshot:

def loot()
dead_npcs = GameObj.npcs.find_all { |i| i.status == 'dead' }
dead_npcs.each { |i|
change_stance('defensive')
if(@LOOT_SCRIPT)
run_script( @LOOT_SCRIPT, true )
# EDIT: This break causes bigshot to move before looting is done
#break
else
bs_put 'loot'
end
}
end

Almost seems too easy.