Author Topic: New Smith Script  (Read 3525 times)

0 Members and 1 Guest are viewing this topic.

Offline thekidnickTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Activity:
    0%
  • Reputation Power: 0
  • thekidnick has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
New Smith Script
« on: November 21, 2008, 11:31:31 AM »
0
Almost done with the v 1 of my new smith script using salvage bag, but I am having one problem.  The script makes a Tinker Tool EVERY I  have narrowed it down to the IF statement I am using, but I have tried it many ways and cannot figure it out.

LOOP:
findItem JTL C_ , %Salvage ; If less than 2 tinker make 1
  set %tinker #findcnt
  if %tinker < 2
  gosub TinkerTool
  else
  continue
findItem OBG C_ , %Salvage ; If less than 1 tinker make 1
  set %tong #findcnt
  if %tong < 2
   gosub Tong
  else 
gosub makelast


If you need the whole script let me know.

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: New Smith Script
« Reply #1 on: November 21, 2008, 11:39:24 AM »
0
You might need to post the whole thing.  I think the problem might be with your continue statement; you may have to rethink your logic there.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline thekidnickTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Activity:
    0%
  • Reputation Power: 0
  • thekidnick has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: New Smith Script
« Reply #2 on: November 21, 2008, 11:40:44 AM »
0
here is the script

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
smith.txt

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: New Smith Script
« Reply #3 on: November 21, 2008, 11:46:49 AM »
0
Well, take a look at your looping assumptions with "continue".  continue/breaks are only meant to work with for, while and repeat/until. 
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline thekidnickTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Activity:
    0%
  • Reputation Power: 0
  • thekidnick has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: New Smith Script
« Reply #4 on: November 21, 2008, 11:51:50 AM »
0
hmm ok will work on that tonight at work.

Thanks again

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: New Smith Script
« Reply #5 on: November 29, 2008, 01:14:21 PM »
0
Did you get a chance to do an update to your script?  I'm bored between family outings, so I'm looking at the dangling threads.  :)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline 12TimesOver

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: New Smith Script
« Reply #6 on: November 30, 2008, 03:34:34 PM »
0
And just an added thought, at about 95 or so you should consider switching from Circlet to Royal Circlet. Still takes only 6 ingots but trains you faster than Circlets alone (requires a little bit higher skill).

You can take those to 120 or you could break it down a little further and go for Platemail Hiro Sode somewhere between 105 and 110, they take twice the ingots but keep you closer to that 50% success rate sweet-spot.

XII
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Tags: