View Full Version : I need some help
Wuxong
08-26-2005, 02:23 AM
this is the part of my script i cant get to work.. here is what i use.. something is still wrong with it.. after the glance command is just stops all together.. can somone please take a look and see if they can help.. keep in mind I know very little about scripting....... thanks
dead:
put stance defensive
put wear shield
put loot
put glance
match coffer coffer
match strongbox strongbox
match trunk trunk
match box box
match chest chest
match stow left hand
matchwait
coffer:
setvariable boxname coffer
goto box2
strongbox:
setvariable boxname strongbox
goto box2
trunk:
setvariable boxname trunk
goto box2
chest:
setvariable boxname chest
goto box2
box:
setvariable boxname box
goto box2
box2:
put drop %boxname%
stow:
put stow left in satchel
put rem shield
goto checkc
checkc:
put look servant
match preatt You see a fairly
match R%c I could not find what you were referring to.
matchwait
Celephais
08-26-2005, 02:29 AM
Works fine for me... usually it's a good idea to put the command after the matches and before the matchwait so...
match coffer coffer
match strongbox strongbox
match trunk trunk
match box box
match chest chest
match stow left hand
put glance
matchwait
Wuxong
08-26-2005, 02:32 AM
i dont have a type ahead line... could it be i need to put some more pauses or waitfor in there?
Celephais
08-26-2005, 02:35 AM
That might help... I also made another change, right after
put stow left
add "stowdone:"
then before the match stow left hand
add "match stowdone and nothing in your left hand."
Celephais
08-26-2005, 02:37 AM
Oh! also right after put drop %boxname% add "Goto stowdone" that way you don't try stowing after you dropped the box
Wuxong
08-26-2005, 03:06 AM
no matter with the changes you suggested it still stalls when it gets to glance. no error or anything it just wont do anything after that point.. what could be wrong that it wont work with my stormfront ?
Celephais
08-26-2005, 03:07 AM
Post what it does... I was using stormfront and it had no trouble at all (granted I was using someone who didn't have a shield so I took that out, but the principal is the same)
Wuxong
08-26-2005, 03:27 AM
in the mix of it all i lost my copy of the scripts that has the loot thing in it with your suggestions.. could you please post it back at me or im on aim to Voldandelv?? it would be much apriciated. I have a copy witn no looting at all but if you could send me the one that works i would be forever greatfull.. this is driving me fricking crazy man. !:spin:
Celephais
08-26-2005, 03:32 AM
Be sure to remove the extra spaces after each line...
dead:
put stance defensive
pause
put wear shield
put loot
pause
match coffer coffer
match strongbox strongbox
match trunk trunk
match box box
match chest chest
match stowdone and nothing in your left hand.
match stow left hand
put glance
matchwait
coffer:
setvariable boxname coffer
goto box2
strongbox:
setvariable boxname strongbox
goto box2
trunk:
setvariable boxname trunk
goto box2
chest:
setvariable boxname chest
goto box2
box:
setvariable boxname box
goto box2
box2:
put drop %boxname%
goto stowdone
stow:
put stow left in satchel
stowdone:
put rem shield
goto checkc
checkc:
put look servant
match preatt You see a fairly
match R%c I could not find what you were referring to.
matchwait
Wuxong
08-26-2005, 03:42 AM
YOU ARE THE BEST CELEPHAIS !!!!!!!!!!! You have made a longs week work come to an end.. thanks much for the scripting help my friend.. the version you posted works slicker the rolton turds........ no longer am i plauged with boxes that will get me webbed !!!!!!!! if there is a want for my hunting script now that it all works please people let me know and get ahole of me...
Celephais
08-26-2005, 03:50 AM
No problem at all Wuxong, glad to help, I didn't do anything special, just tweaked what you already did. Idealy you would have matches instead of pause, so that it would be faster.
not waitfor... waitfor is just asking for some oddity to cause you to hang... match stuff like "you sling your shield.." and then have a catch of "match default >" to match the prompt if what you're searching for doesn't show up.
Be mindful of GMs... when you start a script it does tell the server that you're currently in a script, and they can be pretty clever when it comes to testing if you're scripting. (3rd party script engines rarely inform the server they are scripting)
Wuxong
08-26-2005, 03:53 AM
ok one more things.. maybe the script gods hate me or maybe im a gimp but it still wont go past glance.. but now it only wont go past glance if i pick up anything that isnt a box.. like a gem or wand then it wont put them in my satchel and stops... any help please ?
Celephais
08-26-2005, 03:56 AM
Well you might want to change "Stow left in satchel" to "stow left" I don't know if stow accepts "in" commands... not sure there.
Also check the line that has "left hand" and make sure it doesn't have an extra space at the end. (this is likely the problem)
Wuxong
08-26-2005, 04:02 AM
where would i find a place that could explain a script engine and could you reccomend one for me. i script because i type very very slow ... lol and thanks again you good at this stuff....
Celephais
08-26-2005, 04:11 AM
Stormfront has a script engine built in, it's what you've been using. Scripting is perfectly legitimate, my only reason for that little clause was to mention that if you are AFK scripting you could get caught. So if you script make sure you watch it. (This helps incase of GMs watching and incase your script hangs)
The other scripting engines, like Jamus' or Ultratech (on this very site there is a folder about this) require a bit more involvement on your part, more powerful but steeper learning curve/less community support.
Wuxong
08-26-2005, 04:18 AM
well thanks again for all your help and tips.. i dont like the idea of afk scripting too much .. isnt the point of learning actualy being their to learn.. lol.. i just like to watch my ranger tear things up without my anoying bad typing habits getting in the way.. I think i will hold off on a script engine because this was hard enough for me to put together.. and to bee honest without your help and a few others it never woulda heppened.... thanks again for all your help and advice.. kulo!
Celephais
08-26-2005, 04:25 AM
I'm up way too late when I start noticing this crap... (it's 4:30 AM for me... I have to go to work tommorow...)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.