Author Topic: Dark Guardian Room Bone Farmer in Doom  (Read 6775 times)

0 Members and 1 Guest are viewing this topic.

Offline PetkillerTopic starter

  • Full Member
  • ***
  • Posts: 112
  • Activity:
    0%
  • Reputation Power: 0
  • Petkiller has no influence.
  • Respect: +7
  • Referrals: 2
    • View Profile
Dark Guardian Room Bone Farmer in Doom
« on: May 26, 2009, 11:24:53 AM »
0
I worked on this for a friend who sells gold skulls on her vendor.  I farmed about 90k of bones over the weekend working on it.  The set up is a bit tricky since you have to set your own runebooks and mark your runes then set the rune book default location to home and guardian room and set up your secure on your porch.  Its farming about 3300 bones 77k gold per hour.   It will play a tone and go home and pause if someone else shows up in room.   I only died 3 times, once bout 6 guys came into the room and that put the spawn at 16 that killed all them then me(thats when I put the  sub to go home if anyone else shows up) lag or a bad loop killed me the other two times.

Known big bugs:
Don't have your paperdoll open it might/will put your weapons/jewery in the drop/secure.
Lag when your recalling can really mess it up.
Better have good durabitly on your armor/weapons
Not pulling bandies out of secure atm.

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

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Dark Guardian Room Bone Farmer in Doom
« Reply #1 on: June 02, 2009, 05:07:10 AM »
0
I'll probably give this a whirl to see how it works out.

I was farming bones for a skull, but I do it a little different.

I'm using my Stealth Mage. I open the door into the last room and stand in the doorway. Cast two EV's in the middle of the room then step inside and close the door.

As soon as I hear the "click" I hide. My EV's take out all 6 Guardians, then I go in and loot the bones. I get 180 everytime, and I can do it twice on this char before going heavy. Now that BOS's are working, I just send them to the bank and continue.

I'm not sure that I could script my method though. I know I can invis on the "click" message, and I know I can get the EV's down. I think it would all come down to the timing.

Besides, it's not that bad to attend UO occasionally  ;)

*I'll keep track of how many per hour I can do this way and post it up.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13303
  • Activity:
    0.4%
  • 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: Dark Guardian Room Bone Farmer in Doom
« Reply #2 on: June 04, 2009, 01:23:48 PM »
0
Cerveza brought this up, and I wanted to comment on it because it can cause issues if you aren't aware of what's going on.  In a couple places in your code, you are calling the same subroutine within your sub.  This is known as recursive calling, and EUO has limits built in to prevent this from happening.  For example:

Code: [Select]
sub opendoor ; your sub
  wait 20
  finditem %monsters G_12 ;Don't try to open door is spawn still in there
  if #findkind >= 1
  {
    gosub heal
    wait 50
    gosub heal
    wait 50
    gosub opendoor ; your call to the same sub
  }
  finditem %doors
  set #lobjectid #findid
  event macro 17
  wait 10
return

From the flow of your script, I'm not sure how to prevent this.  But since your "returns" will not be balanced, you will be piling up "gosubs" without returning from some of them.  It might "seem" to work, but if you follow the script flow, you might find it's not working how you think it should.

Now I'm not saying you can't use EUO recursively (although it doesn't really work well), I'm saying that if you do a "gosub", there needs to be a matching "return".  One other thing to note about recursive calls in EUO is that if you have "for" loop in a recursively called routine, it WON'T WORK!  fyi. 

Just wanted you to think a bit about this.
« Last Edit: June 04, 2009, 01:27:16 PM by TrailMyx »
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline PetkillerTopic starter

  • Full Member
  • ***
  • Posts: 112
  • Activity:
    0%
  • Reputation Power: 0
  • Petkiller has no influence.
  • Respect: +7
  • Referrals: 2
    • View Profile
Re: Dark Guardian Room Bone Farmer in Doom
« Reply #3 on: June 05, 2009, 10:57:31 AM »
0
I understand what your saying, that is prob how I got stuck in loops a few times.   A friend of mine said he will help me rewrite some of it.  I am starting on a script to farm the bone demon but the quest gumps are hanging me up right now.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13303
  • Activity:
    0.4%
  • 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: Dark Guardian Room Bone Farmer in Doom
« Reply #4 on: June 05, 2009, 11:19:14 AM »
0
I'm glad you understand!  It will come down to sometimes when you really want to leave the routine to continue with your main loop, you'll just return back to the last instance of the gosubs.  Once you pile those up, chances are good you won't ever leave.  It's like a roach motel!  ehehh

Post if you get stuck or need help.  I don't think the problem is too hard to fix and it'll make your code flow much nicer.

I have used recursion in scripts on a couple occassions.  The CLAw and Miffy's Item Finder both use recursion, but these scripts make sure that for every gosub, there is a return.  This takes a bit of accounting, but it makes for code that compact (although bends the mind a bit).
« Last Edit: June 05, 2009, 11:21:27 AM by TrailMyx »
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13303
  • Activity:
    0.4%
  • 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: Dark Guardian Room Bone Farmer in Doom
« Reply #5 on: June 24, 2009, 10:53:41 AM »
0
Did you get yourself out of the pickle, Petkiller?
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Hoby

  • Elite
  • *
  • *
  • Posts: 1344
  • Activity:
    0%
  • Reputation Power: 14
  • Hoby barely matters.Hoby barely matters.
  • Gender: Male
  • Respect: +79
  • Referrals: 1
    • View Profile
Re: Dark Guardian Room Bone Farmer in Doom
« Reply #6 on: June 25, 2009, 04:46:45 AM »
0
Ive been farming daemon bones the same way cerveza does.  Cept i use a reg necro mage, cast two ev's, i try to wait about ten seconds between casting ev's so there is always one there when the other disappears.  Cast invis, let the ev's take out the first to dark gaurdians the i usually wither a couple times to help take out the rest.  Loot the bones with claw and send to bank with bos.  Farmed about twenty k in bones over the last two days. 
I like you, your death shall be quick and painless!!
I may have alzheimers, but at least I don't have alzheimers.
Walruses are like vampires, only awesome
Pwned-The total domination or shut down of a person or thing. 
I believe a hangover is gods way of saying you kicked ass last night!
Life's to short to remove usb safely.

Offline Noobie

  • Sr. Member
  • *
  • Posts: 262
  • Activity:
    0%
  • Reputation Power: 1
  • Noobie has no influence.
  • Gender: Male
  • Respect: +13
  • Referrals: 1
    • View Profile
Re: Dark Guardian Room Bone Farmer in Doom
« Reply #7 on: August 13, 2009, 10:45:16 PM »
0
This is a good idea for a script. I cant wait to get off work and try it out!

Tags: