View Full Version : Scripting pains.... ! A lil bit more to...
Wuxong
08-25-2005, 04:00 AM
ok i have been working my way through this script for about 4 days now. I got it so it will now pick up all the loot that goes with the servants.... I was wondering if there is a way that I can get it to ignore all boxes and just go for gems and the other stuff?? I was wondering if anyone could point my in the right direction.. Here is what im using now....... well just the looting part..
dead:
put stance defensive
put wear shield
put loot
put stow left in cloak
put rem shield
goto checkc
Wuxong
08-25-2005, 06:20 AM
If anyone gets bored the could take a glance at that script and tell me what the hell to do right with it.. Aynone there please give me a lil help here. This scripting things is like trying to read a different language in a mirrors refelction for me.
Latrinsorm
08-25-2005, 08:48 AM
After "put loot" and before "stow left" put this:
put glance
match coffer coffer
match strongbox strongbox
match trunk trunk
match box box
match chest chest
match stow left hand
matchwait
coffer:
save coffer
goto box2
strongbox:
save strongbox
goto box2
trunk:
save trunk
goto box2
chest:
save chest
goto box2
box:
save box
goto box2
box2:
put drop %s
stow:
I'd also recommend putting some pauses or waitfors in so you don't get typeahead issues. For instance instead of:
put stance defensive
put wear shie
put loot
do:
put stance defensive
waitfor You are now
put wear shie
waitfor You sling
put loot
[Edited on 8-25-2005 by Latrinsorm]
Wuxong
08-25-2005, 07:20 PM
holly crap you kick ass. let me see if i understand correctly and give it a whirl.. thanks again and please if you have time i might have more questions.. this script is comming along nicely thanks to your help ...
Wuxong
08-25-2005, 07:25 PM
EVEN Bigger holly crap!! Im level 2 now beware!!!
hectomaner
08-25-2005, 07:26 PM
lol should have asked for my .rat or .water script
Wuxong
08-25-2005, 07:55 PM
this is what i did with your advice.. for some reason when it gets to the glance command it just stops the script.. i am running this in stormfront if that matters.. please help me one more time with this .. its probably my mistake somehow .. lol
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:
save coffer
goto box2
strongbox:
save strongbox
goto box2
trunk:
save trunk
goto box2
chest:
save chest
goto box2
box:
save box
goto box2
box2:
put drop %s
stow:
put stow left in satch
put rem shield
goto checkc
Latrinsorm
08-25-2005, 08:31 PM
Change "%s" to "%s%" if you're in Stormfront. My bet is it gets to glance, sees no strongbox, and then goes "%s?? WTF IS THAT?!?!?" *crash*
This ends the part of the post where I know where I'm talking about. Intense guessing to follow:
I'm pretty sure you can still use "save" in SF. If not, change all the saves to "setvariable boxname " and then where it says "%s" change that to "%boxname%".
Wuxong
08-25-2005, 08:35 PM
ok i will go make those changes yah remonded.. this is probably it for todays posting on this script but beware i am sure i can work myself back into a corner and have more great help questions tomorow first thing .... thanks again for those who have been very understanding and willing to help...
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.