Results 1 to 4 of 4

Thread: need help the a treasure part in my zombie script

  1. #1
    Join Date
    Sep 2007
    Location
    north carolina
    Posts
    612

    Default need help the a treasure part in my zombie script

    ok so when im running the script and it finds a strongbox it tries goes retarded and tries to pick up a box instead, ive looked at it over and over and over and cant figure it out.. and it does it with with amulets and crystals. when it finds a amulet it tries to get a crystal but i think i fixed that part but i dunno if i did it right. just came back after a long break from gs and im rusty on alot of things.. anyone mind checking it out?



    checktre:
    match getbox box
    match gettopaz topaz
    match getwand wand
    match getring gold ring
    match getmother mother-of-pearl
    match getcrys crystal
    match getam crystal amulet
    match getcube cube
    match geteme emerald
    match getstrong strongbox
    match getsapp sapphire
    match gettrunk trunk
    match getpearl pearl
    match getruby ruby
    match getcoff coffer
    match getchest chest
    match getstat statue
    match getopal opal
    match getdiamond diamond
    match aftertreasure still alive
    match aftertreasure I could not find what you were referring to.
    match aftertreasure oblivion.
    match aftertreasure decomposes before your eyes.
    matchwait

    standup:
    put stand
    goto start

    getcoral:
    save coral
    goto gettreasure1

    getcrys:
    save crystal
    goto gettreasure1

    getring:
    save ring
    goto gettreasure1

    getmother:
    save mother
    goto gettreasure1

    getstat:
    save statue
    goto gettreasure

    getwand:
    save wand
    goto gettreasure

    getam:
    save "crystal amulet"
    goto gettreasure1

    getpearl:
    save pearl
    goto gettreasure1

    getcube:
    save cube
    goto gettreasure

    gettopaz:
    save topaz
    goto gettreasure1

    getstrong:
    save strongbox
    goto gettreasure

    geteme:
    save emerald
    goto gettreasure1

    getsapp:
    save sapphire
    goto gettreasure1

    gettrunk:
    save trunk
    goto gettreasure

    getruby:
    save ruby
    goto gettreasure1

    getcoff:
    save coffer
    goto gettreasure

    getchest:
    save chest
    goto gettreasure

    getbox:
    save box
    goto gettreasure

    getopal:
    save opal
    goto gettreasure1

    getdiamond:
    save diamond
    goto gettreasure1

    gettreasure:
    put put my %weapon in my %sheath
    put get %s
    match treasurefinal I could not find
    match continuetre You pick up
    matchwait

    gettreasure1:
    put put my %weapon in my %sheath
    put get %s
    match treasurefinal I could not find
    match continuetre1 You pick up
    matchwait

    continuetre:
    put put %s in my backpack
    waitfor You put
    goto treasurefinal

    continuetre1:
    open my %container
    waitfor you
    put put %s in my %container
    waitfor You put
    put close my %container
    goto treasurefinal

    treasurefinal:
    put get %weapon from my %sheath
    goto aftertreasure

    aftertreasure:
    pause 1
    put look
    match filter1 zombie
    match R%c Obvious
    matchwait
    R.I.P Grandma, You Will Always Be Remembered
    __________________
    ~Snoopy/Tune/Psycho

  2. Default

    I think if you put an additional space between "getbox" and "box" might work. I think that way it will look for <space> box instead of strongbox

    but that is just my best guess

  3. #3

    Default

    or you can just switch box and strongbox's positions in your match table

  4. #4

    Default

    start_script 'sloot'
    wait_while { running? 'sloot' }


    Sorry, couldn't resist.
    ~ Azanoth

    Discord: carnivale1523

Similar Threads

  1. Replies: 19
    Last Post: 02-03-2016, 01:40 PM
  2. need help the a treasure part in my zombie script
    By Hilts in forum Hunting Scripts 11-25
    Replies: 0
    Last Post: 09-26-2010, 06:44 PM
  3. Zombie Sex Ed.
    By ElvenFury in forum Off-Topic
    Replies: 3
    Last Post: 09-14-2009, 05:18 PM
  4. Zombie hunting script - need help
    By Kyrandos in forum Hunting Scripts 11-25
    Replies: 25
    Last Post: 02-02-2009, 04:50 PM
  5. Treasure Hunt Script
    By Bobmuhthol in forum Scripting Discussion
    Replies: 0
    Last Post: 02-07-2004, 02:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •