PDA

View Full Version : Ideas/Help/Comments/Flames on my work in progress



Carl Spackler
12-29-2007, 04:15 PM
Ok, to begin with I know next to nothing regarding scripts. What I'm working towards is a lock picking script that will look at the room, pick up one box at a time, disarm the box, pick it, gather coins/items and throw the box away.

What I have currently is a very rough version, I created in about 20 minutes. The %1 is the trash container in the room you're picking in. Right now what I have is it designed to pick up any strongboxes that would be in the room and pick them. Once I get this to work I'll apply it to chests, coffers etc. I also only have this set to work with my vaalin pick as I wouldn't use this for experience picking, solely for box farming.

Currently my issue is that after looking, the script grabs a strongbox but then it doesn't head to the picking part, it picks up a second strongbox. What am I missing to send it to the picking part?

Thanks.



survey:
put look
match seestrong strongbox

seestrong:
put get strongbox
put glance
match gotstrongbox strongbox in your right hand
match nobox empty hands

gotstrongbox:
put get dark lockpick
put pick my strongbox
pause
pause .5
put put my lock in my case
pause .5
put open my strongbox
put get coins
put empty strongbox in my longcoat
pause
pause .5
put put my strongbox in %1
goto survey

nobox:
exit

Sean of the Thread
12-29-2007, 04:27 PM
10 goto 20

Carl Spackler
12-29-2007, 04:48 PM
10 goto 20

where would i put that in the script?

Drunken Durfin
12-29-2007, 04:52 PM
Hey Carl,

http://forum.gsplayers.com/showthread.php?t=27825

Carl Spackler
12-29-2007, 04:57 PM
oh neat thanks.... I'm still going to fiddle with mine so if anyone has suggestions and what not that would be great... i kind of want to learn to write scripts....

AestheticDeath
12-29-2007, 05:23 PM
Beyond using someone else's script, the answer is that you need a matchwait after your matches.

survey:
put look
match seestrong strongbox
matchwait

seestrong:
put get strongbox
put glance
match gotstrongbox strongbox in your right hand
match nobox empty hands
matchwait

Carl Spackler
12-29-2007, 05:34 PM
ok, thanks guys, I appreciate the help... I'll see what i can get working and i'll put it back up