Author Topic: trouble with a renegade script  (Read 3245 times)

0 Members and 1 Guest are viewing this topic.

Offline KilroyIsDeadTopic starter

  • Full Member
  • ***
  • Posts: 155
  • Activity:
    0%
  • Reputation Power: 2
  • KilroyIsDead has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
trouble with a renegade script
« on: May 23, 2009, 11:14:40 AM »
0
I'm struggling with this script.  It's a basic rune book lumberjacking script.  I am using TM_AdvJournal and a few home spun libraries.

Every once in a while the script seems to go into the weeds, while it will recover I loose valuable jacking time.  When I can see that it's off track I'll hit the pause button and it's a in like a setup routine that one has one entry point and stepping over the code it's just blowing through every line. By that I mean it passes through the true and false cases of an if statement.

you'll have to set three variables at the top of the script.  Hopefully the setup will do the rest.

set !SetupFilePath C:\UO\Scripts\SetupFiles
set !PGScriptPath C:\UO\Scripts\PGUtils
set %SwingDelay 11

you'll need to put the 4 files in the jpg in the directory indicated by the PGScriptPath

The main script is
PG.LumberJackingByTheBook.suo



There are 6 attachment(s) in this post. You must register and post an acceptable introduction to download
PG.Generic.suo
PG.LumberJackingByTheBook.suo
PG.Namespace.Init.suo
PG.Travel.suo
required files.jpg
tool_advancejournalscan1.txt
Give a man a fire, he'll be warm the rest of the night;
Set a man afire, he'll be warm the rest of his life.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: trouble with a renegade script
« Reply #1 on: May 23, 2009, 11:24:55 AM »
0
Do you have an understanding of about where the code is going wonky?  Was it trying to recall, chop, drag, etc?  Or does it go strange at different places?
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: trouble with a renegade script
« Reply #2 on: May 23, 2009, 11:39:36 AM »
0
There's one failure while chopping that can halt that process.  If you add "you_can't_use" to the list, this might help break out of an unsuccessful chopping experience.  My beetlejacker would get stuck sometimes because of strange choppable tiles until I added this one.

I can't really test this since my main account is in doom at the moment.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline KilroyIsDeadTopic starter

  • Full Member
  • ***
  • Posts: 155
  • Activity:
    0%
  • Reputation Power: 2
  • KilroyIsDead has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: trouble with a renegade script
« Reply #3 on: May 23, 2009, 11:43:31 AM »
0
ack is the journal case sensitive I think I have You_can't.  I'll verify that.

As to when it goes wonky, it's not a 100% failure so i can see it complete a whole rune book without issue, then I walk away (mometarily ;) and it seems to go off track.
Give a man a fire, he'll be warm the rest of the night;
Set a man afire, he'll be warm the rest of his life.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: trouble with a renegade script
« Reply #4 on: May 23, 2009, 11:51:14 AM »
0
Definitely not case-sensitive.  Strings have no magnitude either so you can't do >, < logic either.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline KilroyIsDeadTopic starter

  • Full Member
  • ***
  • Posts: 155
  • Activity:
    0%
  • Reputation Power: 2
  • KilroyIsDead has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: trouble with a renegade script
« Reply #5 on: May 24, 2009, 07:28:58 AM »
0
Art to encumbered.  Fat kids never get the love.

I must have blown by a weight check
Give a man a fire, he'll be warm the rest of the night;
Set a man afire, he'll be warm the rest of his life.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: trouble with a renegade script
« Reply #6 on: May 24, 2009, 07:39:45 AM »
0
Ah ha!  Secret binge eating will get you every time!  :)
Please read the ScriptUO site RULES
Come play RIFT with me!

Tags: