PDA

View Full Version : Script help



Eicher
11-01-2007, 01:14 PM
Hey guys, i cant figure out why this script wont work right.
It keeps tryen to dig before the RT is over. Now it will only work for one cycle then once its hits digging RT again it stops. any help would be great, thanks

for this portion
dig:
put dig
match omgwait Roundtime
match omgwait seconds.
match loot Congratulations!
match start Grave Robber!
matchwait

i have tried waitfor Roundtime after put dig
i have tried pause 1 after mathwait





counter set 0

start:
put glance
match loot crate
match loot coffer
match loot strongbox
match loot chest
match loot box
match go your empty hands.
matchwait

go:
put tap shovel
match shovel You tap a cheaply made shovel
match buy referring to?
matchwait

shovel:
put get shovel
match dig shovel
match buy referring to?
goto dig

dig:
put dig
match omgwait Roundtime
match omgwait seconds.
match loot Congratulations!
match start Grave Robber!
matchwait

omgwait:
pause 1
goto dig

loot:
put glance
match crate crate
match coffer coffer
match chest chest
match trunk trunk
match strongbox strongbox
match box box
matchwait


crate:
put open my crate
put look in my crate
put get coin
pause 1
put empty crate in my %1%
pause 1
put drop crate
goto go

coffer:
put open my coffer
put look in my coffer
put get coin
pause 1
put empty coffer in my %1%
pause 1
put drop coffer
goto go

chest:
put open my chest
put look in my chest
put get coin
pause 1
put empty chest in my %1%
pause 1
put drop chest
goto go

trunk:
put open my trunk
put look in my trunk
put get coin
pause 1
put empty trunk in my %1%
pause 1
put drop trunk
goto go

strongbox:
put open my strongbox
put look in my strongbox
put get coin
pause 1
put empty crate in my %1%
pause 1
put drop strongbox
goto go

box:
put open my box
put look in my box
put get coin
pause 1
put empty crate in my %1%
pause 1
put drop box
goto go


buy:
move d
move d
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
put give grave 2000
put put shove in my %1%
move u
move u
goto go

Eicher
11-01-2007, 02:34 PM
i think i figured it out

Insodus
11-01-2007, 04:43 PM
This happens with stormfront. SF gets the original roundtime message and then keeps its own counter. it saves bandwidth, so it doesnt have to get pulsed ever second with a RT-1 message.

Every so often the server timer and the SF one get a little out of synch. easiest thing to do is just add a longer pause in the "omgwait" block.