Author Topic: Snow's Spined Leather Farmer  (Read 109770 times)

0 Members and 1 Guest are viewing this topic.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13310
  • Activity:
    0%
  • 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: +3089
  • Referrals: 34
    • View Profile
    • ScriptUO
Re: Snow's Spined Leather Farmer
« Reply #30 on: August 24, 2008, 04:50:43 PM »
+2
you don't need the { around it as long as it tabbed and between the repeat and until.  i looked through some of TM's and they don't have{} around them. and i'll check out the rest of the codes :) and i'll check the syntax.

Wow I learn something new every day.

It doesn't even need to be tabbed.  If you think about it, repeat/until is an implied code block, so it does make some sense that Cheffe chose to code it that way.  That's how I implemented it in ScriptUO as well. 
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TidusTopic starter

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +367
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #31 on: August 24, 2008, 07:59:22 PM »
+2
Fixed V1.4  It now grabs the bandies with no problems.  Shouldn't go to the bank and spam anymore.  Still working on healing. Might just have to take it out and have you run someone else's.  Sorry.  But i'm not giving up!

So the 1.4 should be the correct one.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline Bullmoose

  • Jr. Member
  • **
  • Posts: 51
  • Activity:
    0%
  • Reputation Power: 0
  • Bullmoose has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #32 on: August 25, 2008, 03:19:07 AM »
+2
OK Ran it all night. with no problems. Hit around 25k in hides and 5 arties. My only suggestios would be to either widen the range a little instead of 5 tiles. Or increase the wait time before recalling away from a spot that would give the other creatures in the area time to target you. Hence more hides per spot. But other then that this script works great nice job Tidus

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13310
  • Activity:
    0%
  • 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: +3089
  • Referrals: 34
    • View Profile
    • ScriptUO
Re: Snow's Spined Leather Farmer
« Reply #33 on: August 25, 2008, 03:29:19 AM »
+2
OK Ran it all night. with no problems. Hit around 25k in hides and 5 arties. My only suggestios would be to either widen the range a little instead of 5 tiles. Or increase the wait time before recalling away from a spot that would give the other creatures in the area time to target you. Hence more hides per spot. But other then that this script works great nice job Tidus

Where are you farming?
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Pearls

  • Hero Member
  • *
  • Posts: 557
  • Activity:
    0%
  • Reputation Power: 13
  • Pearls barely matters.Pearls barely matters.
  • Respect: +137
  • Referrals: 1
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #34 on: August 25, 2008, 04:59:10 AM »
+2
OK Ran it all night. with no problems. Hit around 25k in hides and 5 arties. My only suggestios would be to either widen the range a little instead of 5 tiles. Or increase the wait time before recalling away from a spot that would give the other creatures in the area time to target you. Hence more hides per spot. But other then that this script works great nice job Tidus

That really surprised me, since i always end up stuck in that small code i posted earlier. Ill try remarking my runes in diff spots and see if that fixed the problem somehow.

*edit* seems to work fine now, from what ive seen. Still need to remark one rune since a lizard gets stuck behind a pillar, then it just waits there, gonna move the rune up a bit. Should work perfect then ;) Great job Tidus. Still not sure why it got stuck in that code...
« Last Edit: August 25, 2008, 06:22:51 AM by Pearls »
XII : "My happiness as a married man is directly related to the amount of sex I have which, in turn, requires that I pretend I like these movies every now and then and that it really doesn't bother me when she tells me about her problems but doesn't want me to give her a solution ;) "

Offline TidusTopic starter

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +367
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #35 on: August 25, 2008, 07:03:16 AM »
+2
I found the reason why it got stuck in the code and i fixed it :)  i forgot one little thing in it. Don't remember what but i found it. If anything else goes haywire let me know.  If any suggestion on the healing let me know. 
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline TidusTopic starter

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +367
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #36 on: August 25, 2008, 07:06:07 AM »
0
Okay, next project on this one is to get regular leather and horned.  I'm sure you can find a spot with a wyvrnn that isn't around any other creatures.  and regular leather is easy.  So if you see a 2.0 that is what it will have in it.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline Pearls

  • Hero Member
  • *
  • Posts: 557
  • Activity:
    0%
  • Reputation Power: 13
  • Pearls barely matters.Pearls barely matters.
  • Respect: +137
  • Referrals: 1
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #37 on: August 25, 2008, 07:37:49 AM »
+2
Regular leather, maybe gaman's? They probably drop a low amount of leather, but u could farm the horns as well at same time. I heard they dropped the loot from the quest? Is that true?
XII : "My happiness as a married man is directly related to the amount of sex I have which, in turn, requires that I pretend I like these movies every now and then and that it really doesn't bother me when she tells me about her problems but doesn't want me to give her a solution ;) "

Offline TidusTopic starter

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +367
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #38 on: August 25, 2008, 07:45:36 AM »
+2
No idea.  I am not really a quester.  Trying to get back into things like that.  Trying to pull away from PvP as much as possible to bring back the full aspects of the game.  So if anyone has that answer i would love to know. :)
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline Bullmoose

  • Jr. Member
  • **
  • Posts: 51
  • Activity:
    0%
  • Reputation Power: 0
  • Bullmoose has no influence.
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #39 on: August 25, 2008, 04:45:21 PM »
+2
I'm running in oh i cant tell you sorry

Offline TidusTopic starter

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +367
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #40 on: August 25, 2008, 04:55:25 PM »
+2
found a problem.  Spined, horned, barbed, regular...all the same item types.  So i need to figure out how it can differentiate between them.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline rana70

  • Elite
  • *
  • *
  • Posts: 294
  • Activity:
    0%
  • Reputation Power: 5
  • rana70 has no influence.
  • Gender: Male
  • Respect: +75
  • Referrals: 2
    • View Profile
    • MyScripts
Re: Snow's Spined Leather Farmer
« Reply #41 on: August 25, 2008, 05:09:53 PM »
+2
just do a finditem on it
and check the #findcol to figure out what type you have got !

Offline TidusTopic starter

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +367
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #42 on: August 25, 2008, 05:32:04 PM »
+2
Ty rana. i'll see what i can do on it.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline rana70

  • Elite
  • *
  • *
  • Posts: 294
  • Activity:
    0%
  • Reputation Power: 5
  • rana70 has no influence.
  • Gender: Male
  • Respect: +75
  • Referrals: 2
    • View Profile
    • MyScripts
Re: Snow's Spined Leather Farmer
« Reply #43 on: August 25, 2008, 05:39:52 PM »
+2
put a few if #findcol into your checkleather sub,
this would be a good place to count up what you just got in the corpse

#findindex will be your friend to get thru all colors ;-)



« Last Edit: August 25, 2008, 05:46:59 PM by rana70 »

Offline rana70

  • Elite
  • *
  • *
  • Posts: 294
  • Activity:
    0%
  • Reputation Power: 5
  • rana70 has no influence.
  • Gender: Male
  • Respect: +75
  • Referrals: 2
    • View Profile
    • MyScripts
Re: Snow's Spined Leather Farmer
« Reply #44 on: August 25, 2008, 06:08:44 PM »
+2
jst an example how you could do it :-)

Code: [Select]
; Check my Backpack for leather color

  Finditem JJG C_ , #BACKPACKID
  if #FindCnt > 0
    {
     Set #FindIndex 0
     Repeat
      Set #FindIndex #FindIndex + 1
     if #FindCol = 0 ; Regular Leather
      Set %Regular_Leather #FindStack
     if #FindCol = 2220 ; Spined Leather
      Set %Spind_Leather #FindStack
     if #FindCol = 2129 ; Barbed Leather
      Set %Barbed_Leather #FindStack
     if #FindCol = 2117 ; Horned Leather
      Set %Horned_Leather #FindStack
     Until #FindIndex = #FindCnt
    }
   
    Display You have $ %Regular_Leather Regular $ %Spind_Leather Spinded $ %Barbed_Leather Barbed $ %Horned_Leather Horned
    halt

Tags: