ScriptUO

Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: camotbik on March 20, 2011, 09:36:43 PM

Title: Bone and gold farmer
Post by: camotbik on March 20, 2011, 09:36:43 PM
Sample video of the script in action -

Tell me what do you think about this script, and where could I optimize the performance? thank you.

Versions.
2.3 -
2.4 - Added BOS recharge(Thank you Crome969 for help and support), Reconnect, and slight changes in the main code.

Code: [Select]
; Script Name: Bone and gold farmer
; Shard; Osi Style
; Author: CAMOTbIK
; Version: 2.3 Beta
; Client Tested with: 7.0.12.1
; EUO version tested with: 1.87
; Revision Date: 2011.03.20
; Public Release:
; Purpose: Gold & Bone farming
; Things needed- Bag of sending, Cu sidhe, Magery for (invisibility),
; Necromancy for (vampiric embrace), Spirit speak for (healing)
Title: Re: Bone farmer
Post by: Kalaka on March 21, 2011, 06:06:18 AM
What's a good spot to test this in?

(Without running) Why are you using Vamp Embrace and SS for healing since you have a cu sidhe?
Title: Re: Bone farmer
Post by: camotbik on March 22, 2011, 12:20:52 PM
What's a good spot to test this in?

(Without running) Why are you using Vamp Embrace and SS for healing since you have a cu sidhe?
I'm standing it this room with Guardians. When the guardians reveal them self, suddenly the room is poisoned, so that's why I use Vamp Embrace. Some times, they manage to hit me, so that's why there is this healing code.
just take a closer look in action.
Title: Re: Bone farmer
Post by: gimlet on March 22, 2011, 02:11:15 PM
That was cool!
Title: Re: Bone farmer
Post by: Scrripty on March 22, 2011, 04:26:28 PM
Great, the only critique I'd have is it's WAY obvious you're scripting if you're caught. :)
Title: Re: Bone farmer
Post by: camotbik on March 23, 2011, 12:10:01 AM
Great, the only critique I'd have is it's WAY obvious you're scripting if you're caught. :)

usually I'm online while macroing, doing some other stuff / working or whatever, so the GM is not a problem.
Title: Re: Bone farmer
Post by: Kalaka on March 23, 2011, 07:20:39 AM
Brown backpacks... ewww...

But really, nice video and explanation. I don't have a char currently able to test this with those skills, but it looks nice. Any estimate on how many bones per hour you get, roughly?
Title: Re: Bone farmer
Post by: camotbik on March 23, 2011, 09:19:28 AM
Brown backpacks... ewww...

But really, nice video and explanation. I don't have a char currently able to test this with those skills, but it looks nice. Any estimate on how many bones per hour you get, roughly?

5k bones, 120k gp. But really I think it depends what drop your shard has.
Title: Re: Bone farmer
Post by: Kane12 on March 26, 2011, 12:05:32 PM
I tried this out...having problems with the dog not coming to me while it is poisoned and being attacked by the guardians.

My character has 115 modified animal lore and animal taming and 100 vet.

My dog is bonded and wonderfully happy.


What happens is the guardians pop in the middle of the room. My dog quickly rushes them to attack. The script speaks "all come" and invis's several times but the dog doesnt ever make it to me before he kills all the guardians..

I am in the corner of the room with no bodies to loot (they are in the middle of the room).

Any suggestions?
Title: Re: Bone farmer
Post by: Kane12 on March 26, 2011, 03:06:45 PM
Also thought maybe it was screen size.....I increased it to match the movie....still no go.

Cant get the dock to come back to me to kill the guardians at the corner of the room.

Ugh....lol
Title: Re: Bone farmer
Post by: Khameleon on March 26, 2011, 07:40:16 PM
try to remove the guard.. first say.. All Stop, then All follow me.. don't let the dog go into Guard mode....
Title: Re: Bone farmer
Post by: camotbik on March 28, 2011, 04:21:31 AM
I tried this out...having problems with the dog not coming to me while it is poisoned and being attacked by the guardians.

My character has 115 modified animal lore and animal taming and 100 vet.

My dog is bonded and wonderfully happy.


What happens is the guardians pop in the middle of the room. My dog quickly rushes them to attack. The script speaks "all come" and invis's several times but the dog doesnt ever make it to me before he kills all the guardians..

I am in the corner of the room with no bodies to loot (they are in the middle of the room).

Any suggestions?


It is possible, that your server has another cu typekind. look at your pets #conttype and check if it's different from this one.
Code: [Select]
[...]
finditem fn G_ ; fn is the type of cu on my shard
[...]
if it's different, just change the type and it should be fixed.
Title: Re: Bone farmer
Post by: Kane12 on March 28, 2011, 08:03:19 PM
Same here. I'm running on an OSI shard as well. Does your "all come" command yell to cover more distance away from the character maybe? The dog just seems to quickly attack the guardians. When I "all come" he growls at me like he isn't listening....lol and tries to come but takes one or two steps towards me but keeps attacking.

My character continues to try calling him over and invising over and over until he out of mana and can't do it anymore. By then, the dog has killed all the guardians in the middle of the room.

I will work on attempting to try to change the commands for the dog as recommended also to see if that helps.

Odd....that the dog isn't coming. Wonder if being poisoned or surrounded by guardians has any affect on it.

Do you have this problem at all or does the dog come automatically to you?
Title: Re: Bone farmer
Post by: camotbik on March 29, 2011, 01:57:04 AM
Same here. I'm running on an OSI shard as well. Does your "all come" command yell to cover more distance away from the character maybe? The dog just seems to quickly attack the guardians. When I "all come" he growls at me like he isn't listening....lol and tries to come but takes one or two steps towards me but keeps attacking.

My character continues to try calling him over and invising over and over until he out of mana and can't do it anymore. By then, the dog has killed all the guardians in the middle of the room.

I will work on attempting to try to change the commands for the dog as recommended also to see if that helps.

Odd....that the dog isn't coming. Wonder if being poisoned or surrounded by guardians has any affect on it.

Do you have this problem at all or does the dog come automatically to you?


As you see in the video, dog comes to me when he's +1 tiles away from me and I call him.  I know this mind sound funny, but what's your animal lore skill ? You could try change all come to all follow me, OR, try to use the context menu for calling the dog. Put
Code: [Select]
finditem FN G_
  if #FINDCNT > 0 && #FINDDIST > 1
  {
    exevent Popup #findid 2 ; all come
    wait 20
    exevent Popup #findid 2 ; all come
    wait 20
    exevent Popup #findid 1 ; all guard
    wait 20
  }
instead of
Code: [Select]
 finditem fn G_
  if #FINDCNT > 0 && #finddist > 1
  {
    event macro 1 1 all come
    wait 1s
    event macro 1 1 all come
    event macro 1 1 all guard
  }
Title: Re: Bone farmer
Post by: Kane12 on March 29, 2011, 04:24:26 AM
Animal lore 115, taming 115, vet 100.

I will try plugging in your suggestion and see what does.

Thanks
Title: Re: Bone farmer
Post by: Endless Night on May 03, 2011, 09:24:37 PM
instead of
Code: [Select]
if HB in #charStatus || CH in #charstatus || CBH in #charstatus || HCB in #charstatus  || HBC in #charstatus
  {
   
  }
  else
  {
    event macro 1 1 all guard
    event macro 15 43
    target 5s
    event macro 23
  }

you could do

Code: [Select]
if H notin #charStatus && C notin #charstatus && B notin #charstatus
  {
    event macro 1 1 all guard
    event macro 15 43
    target 5s
    event macro 23
  }

ps you know b=female right maybe you meant D=lethal strike
http://wiki.easyuo.com/index.php?title=CharStatus
Title: Re: Bone farmer
Post by: camotbik on August 04, 2011, 02:34:59 PM
instead of
[...]
you could do [...]

ps you know b=female right maybe you meant D=lethal strike
http://wiki.easyuo.com/index.php?title=CharStatus

I think I had an issue with EUO at the time. Anyway thank you for the tip,  will give a try in few days.
Title: Re: Bone farmer
Post by: Cerveza on August 08, 2011, 04:02:43 AM
We always like to keep all versions of the script in the very first post.

When you scatter versions throughout the postings it makes it difficult for users to find the latest version.

Whenever you make a revision the best method is to update the first post with the latest version, keep one version back if the latest isn't fully tested, modify the first post to include information about the latest version and post a reply with the new versions information.

I took care of moving the script to the first post for you.
Title: Re: Bone farmer
Post by: camotbik on August 08, 2011, 04:29:13 AM
We always like to keep all versions of the script in the very first post.

When you scatter versions throughout the postings it makes it difficult for users to find the latest version.

Whenever you make a revision the best method is to update the first post with the latest version, keep one version back if the latest isn't fully tested, modify the first post to include information about the latest version and post a reply with the new versions information.

I took care of moving the script to the first post for you.

Ok, thank you.