September 10, 2010, 07:04:28 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?
1858 Posts in 475 Topics- by 1018 Members - Latest Member: ashleyIrusso53935

You are currently viewing the site as a guest.  In order to view and take part in discussions as well as download scripts, you must register for an free account and login.

*

Pages: [1]   Go Down
  Print  
Author Topic: stealth hunting script  (Read 160 times)
0 Members and 1 Guest are viewing this topic.
Tool
*
Posts: 3
Offline Offline
« on: July 09, 2010, 09:27:05 AM »

trying to modify a stealth hunting script and having trouble getting it to recognize how successfull my attacks are

using this bit
Code:

ATTACK:
put attack %part
match attack ...wait
match wait There is nothing else
#match failclear You fail to position
#match clear You barely position
#match clear You manage to position
#match clear You skillfully
#match add You masterfully position
#Attacking well, Moving well, Timing it Well
#Moving with grace
match add Timing it Well
match clear Attacking well
match clear Moving well
match failclear You leap out of hiding
match hide Roundtime
match adv It would help
match adv begin to
matchwait

It doesn't recognize the timing, attack, or moving well bits and just always falls through to the failclear
Logged
Administrator
Master Guild Member
*****
Posts: 396
Offline Offline
« Reply #1 on: July 09, 2010, 09:39:08 AM »

if your using Genie 3 case sensitivity is your problem. if not, not sure.
Logged

Dasffion/Rishlu
Guild Member
***
Posts: 231
Offline Offline
« Reply #2 on: July 10, 2010, 09:43:31 PM »

in stormfront, the order of your matches matter.  also, i'm sure you've heard it, but putting your command at the end helps also, if its stormfront. 
Logged
Tool
*
Posts: 3
Offline Offline
« Reply #3 on: July 11, 2010, 07:20:28 PM »

I am using stormfront The command was at the end before with the same results. As far as orders I had the Moving well etc bits before the part checking for failclear so if those happen it won't get to the failclear check. The ordering is the same I use for other scripts that work fine.

here is the entire script if that helps.
Code:

counter set 0
setvariable ca %c
counter set 0
setvariable cb %c
setvariable part back
setvariable stalk yes

hide:
put hide
match hide ...wait
match stand stunned
match stalk%stalk Roundtime:
match stalk%stalk already
matchwait

stalkyes:
goto stalk

stalkno:
goto assess

stand:
put stand
match stand stunned
match hide You stand
matchwait

stalk:
pause
pause
put stalk
pause
pause
goto assess

assess:
put ass
match attack You (hidden
match hide2 are facing
match facenext also defending
match wait H>
matchwait

facenext:
put face next
goto hide2

hide2:
put hide
pause
pause
goto attack

ATTACK:
put attack %part
match attack ...wait
match wait There is nothing else
#match failclear You fail to position
#match clear You barely position
#match clear You manage to position
#match clear You skillfully
#match add You masterfully position
#Attacking well, Moving well, Timing it Well
#Moving with grace
match add Timing it Well
match clear Attacking well
match clear Moving well
match failclear You leap out of hiding
match hide Roundtime
match adv It would help
match adv begin to
matchwait

adv:
waitfor melee
goto hide2

add:
echo add
counter set 0
setvariable cb %c
counter set %ca
counter add 1
setvariable ca %c
goto counter

failclear:
echo fail
counter set %cb
counter add 1
setvariable cb %c
counter set 0
setvariable ca %c
goto counter

clear:
echo clear
counter set 0
setvariable ca %c
setvariable cb %c
goto counter

counter:
counter set %ca
goto check%c

check0:
check1:
check2:
check3:
check4:
counter set %cb
goto failcheck%cb
check5:
counter set 0
setvariable ca %c
setvariable cb %c
goto set%part


failcheck0:
failcheck1:
failcheck2:
failcheck3:
failcheck4:
goto check
failcheck5:
counter set 0
setvariable ca %c
setvariable cb %c
goto deset%part

setback:
setvariable part abdomen
goto check

setabdomen:
setvariable part chest
goto check

setchest:
setvariable part neck
goto check

setneck:
setvariable part head
goto check

sethead:
setvariable part head
goto check
 
desethead:
setvariable part neck
goto check

desetneck:
setvariable part chest
goto check

desetchest:
setvariable part abdomen
goto check

desetabdomen:
setvariable part back
goto check

desetback:
setvariable part back
goto check

check:
pause
pause
put look
#match loot which appears dead
match hide Obvious paths:
match hide Obvious exits:
matchwait

loot:
goto arrange

arrange:
put arr all
match skin Roundtime
match getloot can't arrange it
matchwait

skin:
pause
pause
#put stow
put skin
pause
pause
put glance
match bundling in your right hand
match getweapon empty
matchwait

bundling:
put get bund
match brandnewbund What were
match bundle You pick up
matchwait

bundle:
put bund
match newbund That's not going to work
match dropbund You stuff
match newbund You try to stuff
matchwait

brandnewbund:
pause
put get rope
match gotrope You get
match norope What
matchwait

newbund:
put drop bund
put get rope
match gotrope You get a
match norope What were
matchwait

norope:
put empty right
goto getweapon

gotrope:
put bund
goto dropbund

dropbund:
put drop bund
goto getweapon

getweapon:
put get dagger
goto getloot

getloot:
put loot
goto coin

coin:
put get coin
match coin You pick up
match gem What were you
matchwait

gem:
put stow gem
match gem You pick up
match hunt Stow what
matchwait

hunt:
put hunt
pause
pause
goto stalkcheck

stalkcheck:
put exp sk stalk
match yesstalk EXP HELP
match nostalk 32
match nostalk 33
match nostalk (34/34)
matchwait

yesstalk:
setvariable stalk yes
goto hide

nostalk:
setvariable stalk no
goto hide

wait:
put unhide
waitfor melee
goto hide
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: