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

0 Members and 1 Guest are viewing this topic.

Offline Pearls

  • Hero Member
  • *
  • Posts: 557
  • Activity:
    0%
  • Reputation Power: 13
  • Pearls barely matters.Pearls barely matters.
  • Respect: +65
  • Referrals: 1
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #45 on: August 26, 2008, 06:48:28 AM »
0
Sorry Tidus but its not fully debugged yet m8. Still gets stuck in the heal sub, and it cant handle situations like in the picture, it just stays put when this happens.

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
lizardstuck.JPG
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 Nicar

  • Full Member
  • ***
  • Posts: 198
  • Activity:
    0%
  • Reputation Power: 0
  • Nicar has no influence.
  • Respect: +20
  • Referrals: 0
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #46 on: August 26, 2008, 06:55:13 AM »
0
Code: [Select]
sub heal
finditem ZLF c_ , #backpackid  ; <-----------------------HERE
if #findkind <> -1
{
  set #lobjectId #findId
  event macro 17
  target 5s
  event macro 23
  repeat
    {
      finditem %monster G_2
      set %target #findID
      set #ltargetID #findID
      set #ltargetKind 1
      repeat
        event macro 27 0
      until #enemyid = n/a
    }
  until %fullheal in #sysmsg || %lilheal in #sysmsg || %retry in #sysmsg || %tryagain in #sysmsg || %wait in #sysMsg
}
return

This code seems to have some hang ups. You are finding bandages everywhere, and need to change it to what's pointed at above.  Also, if you're hurt and it's entering the heal sub, it's waiting a long time.. 5s from clicking your aid, till you target yourself. Once it gets past that, it's in a monster loop, first, the monsters within 2 tiles, must be dead, or walking away, and then, you must see one of the healing sys messages to get out. This may not be seen to a player that might be a vamp and not lose health, or, if you happen to get lucky and all these events fall into place.
I downloaded this code today, just right now, and this is the spots that Pearls is having troubles at, where he hangs up.
I just think the heal sub should be checking your health, making sure you are healed, not also checking to see if a monster isn't around you. It's a time sensitive sub, and if something is out of sync, then it gets stuck.
« Last Edit: August 26, 2008, 07:02:01 AM by Nicar »

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: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #47 on: August 26, 2008, 07:31:03 AM »
0
it is a time sensitive sub.  anything i do with bandies if it checks the health will cause it to heal you like a madman so that you don't actually get a heal. the speed in which it could possibly go through the sub would make it put another bandage on you before time is up. That is why i said i might have to throw all the healing subs out.

Also on the part where it gets stuck when there is a thing next to it stuck in that stuff. I tried to add an ignore, but it ignores it too soon and that is not a good thing.  I'll work on it my best,  but just remember.you sholdn't always AFK ;)   That's being naughty :)

Thanks for the feedback guys. i'll fix that heal part that i forgot to send to the backpack... i changed it before but then lost my changes and had to do itall over again and forgot to redo that.
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: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #48 on: August 26, 2008, 08:48:51 AM »
0
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


For my sub checkleather   this is how i have it now.  Will this work?

Code: [Select]
sub checkleather

  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 %Spined_Leather #FindStack
     if #FindCol = 2129 ; Barbed Leather
      Set %Barbed_Leather #FindStack
     if #FindCol = 2117 ; Horned Leather
      Set %Horned_Leather #FindStack
     Until #FindIndex = #FindCnt
    }
set %stacks ( %Horned_Leather + %Barbed_Leather + %Spined_Leather + %Regular_Leather )
if %stacks > %leather
   set %stacks 0
   return #false
return #true
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: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #49 on: August 26, 2008, 02:44:40 PM »
0
Okay... 2.0 is out and i took out the heal subs and made a secondary script to run with it.  I ran for an hour with no hiccups, but please let me know if anyone else has any and i'll dive into it.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline Nicar

  • Full Member
  • ***
  • Posts: 198
  • Activity:
    0%
  • Reputation Power: 0
  • Nicar has no influence.
  • Respect: +20
  • Referrals: 0
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #50 on: August 27, 2008, 05:23:27 AM »
0
Missing an arti type..   OSW    Map of known world.

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: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #51 on: August 27, 2008, 06:21:53 AM »
0
TY. i dont know all the arti drops that happen there.  So if anyone has any extra types i missed please let me know.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline xxcaptainxx

  • Jr. Member
  • **
  • Posts: 47
  • Activity:
    0%
  • Reputation Power: 0
  • xxcaptainxx has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #52 on: August 27, 2008, 07:19:49 AM »
0
why a butchers war cleaver this may be a silly question but not sure?

Offline Pearls

  • Hero Member
  • *
  • Posts: 557
  • Activity:
    0%
  • Reputation Power: 13
  • Pearls barely matters.Pearls barely matters.
  • Respect: +65
  • Referrals: 1
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #53 on: August 27, 2008, 07:35:01 AM »
0
Butcher war cleaver has the advantage that you do not need to open the corpse, you just cut the corpse and the leather jumps into your backpack. The disadvantage is that this only works up to around 330 stones in your backpack, all the corpses you cut after that will leave the leather on the corpse.
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 xxcaptainxx

  • Jr. Member
  • **
  • Posts: 47
  • Activity:
    0%
  • Reputation Power: 0
  • xxcaptainxx has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #54 on: August 27, 2008, 07:38:20 AM »
0
cool.  in and older post you said 2.0 would have cow and other support for other leather.  on my silly server you can't recall in dungeons so i don't have a place to find lizardmen.

Offline xxcaptainxx

  • Jr. Member
  • **
  • Posts: 47
  • Activity:
    0%
  • Reputation Power: 0
  • xxcaptainxx has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #55 on: August 27, 2008, 07:54:55 AM »
0
i am on a free server so you may just ignore what i say ...   but i have a problem were it will attack something and then by the time it gets to you your recalling out.

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: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #56 on: August 27, 2008, 08:12:45 AM »
0
that would mean the script is not attacking it, instead it is aggroing you (it is choosing to flag on you).  It is only set to get a lizardman within 5 tiles of you.  Plus with a FS. It is hard to tell how they have things handled.  This is only set up for OSI.
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: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #57 on: August 27, 2008, 08:14:36 AM »
0
Pearls, let me know if you have the problem of a stuck monster anymore. I set it to auto retarget after 30 seconds of being flagged and ignore that creature.  Hope it works out.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline xxcaptainxx

  • Jr. Member
  • **
  • Posts: 47
  • Activity:
    0%
  • Reputation Power: 0
  • xxcaptainxx has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Snow's Spined Leather Farmer
« Reply #58 on: August 27, 2008, 08:33:25 AM »
0
i actually added cows and such to the script and it will attack them and then while they are coming to me it recalls out

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: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Snow's Spined Leather Farmer
« Reply #59 on: August 27, 2008, 08:39:14 AM »
0
how far away are they.  Everything is set up to be 5 tiles.  Plus it might be also that since it is freeshard some of the coding isn't working right.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Tags: