ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Questing => Topic started by: camotbik on August 04, 2011, 02:23:29 PM

Title: Item Buyer & Donator
Post by: camotbik on August 04, 2011, 02:23:29 PM
Code: [Select]
;=====================================================================
; Script Name: Item Buyer & Donator
; Author: CAMOTbIK
; Version: 0.3 Alfa
; Client Tested with: 7.0.14.0
; EUO version tested with: 1.92
; Shard OSI / FS:  FS WWW.RWUO.COM
; Revision Date: 2011/09/19
; Public Release: 2011/09/16
; Global Variables Used: None
; Purpose: Buying stuff from vendors and donating it.
;=====================================================================

Setup.
Mark one, two or three runebooks with locations to vendors that sell battle axes.
Code: [Select]
set %vendorbooks 3 Set how many runebooks are you using
set %vendorbook1 0x000 Set the Id's of the runebook's
set %vendorbook2 0x000
set %vendorbook3 0x000
set %startrune 1 Set starting rune
set %endrune 14 Set ending rune
set %donaterune 15 Set donation rune number in first runebook with vendors
set %bankrune 16 Set bank rune in first runebook with vendors
set %donation_vendor 0x000 Set donation npc id
set %maxpoints 800000 Set desired points
set %current_points 0 Set current points
set %move_to_vendor #false Set #true if you need to walk to vendor after recall (sub move_to_vendor)

*Note that the script uses razors buying agent for buying and save password function for reconnect.
Title: Re: Item Buyer & Donator
Post by: Ultima on August 04, 2011, 05:02:30 PM
Been awhile since I've seen a Mace & Shield Glasses donator!

20 hours is not bad at all.

I will try and give this a run this weekend and post feedback!

Nice submission Camotbik!
Title: Re: Item Buyer & Donator
Post by: Crome969 on August 04, 2011, 09:03:45 PM
Hello SUO. My friend yesterday asked me to help him to get mace and shield glasses. So I made him this little script to help him with his problem. The script buys bucklers from vendors and donates them to the worrior(donation vendor). It takes aproximetly 20hrs to get those glasses - A circle of buying and donating takes 64 seconds, from wich you get 720 points. So 800 000/720*64/60/60=19.75~ . I know you could buy battle axes and get the glasses cheaper(GP 711111), but I think It would be much slower and money isnt the issue here. So we use 2rbs full of vendors.
Oh yeah, almost forgot! I use razors buying agent to buy 80 bucklers at the time. And I use 1-15 rune in runebook to travel to vendors and the 16th rune - depending on runebook, is to bank or donation location.

*I dont do menus, coz I havent learn by the years how to do it, and I dont really seem to see a point in them.
*I would like to thank s7 for his recalling sub.

Thank you for time.
Hope the Conversations about in icq helped you at it:P.
I will try it,too when ur done with your glasses:)(and wanna lend me your runebooks then ^^)

Kind regards Crome
Title: Re: Item Buyer & Donator
Post by: Goliath on August 05, 2011, 09:56:34 AM
So you are saying I can get Mace and Shield glasses for under 1 mil?  I have to be reading this wrong?
Title: Re: Item Buyer & Donator
Post by: Crome969 on August 05, 2011, 10:26:30 AM
So you are saying I can get Mace and Shield glasses for under 1 mil?  I have to be reading this wrong?
1,9 Mil with Axes , but need longer and 2,6 mil with bucklers but need shorter time
Title: Re: Item Buyer & Donator
Post by: Ultima on August 05, 2011, 11:29:16 AM
Running this script on a populated production shard is high risk endeaver imo so you have to be careful! I've been nabbed one time before using SM's Battle Axe Donator.

The shard I was going to test the script on you can't mark in runes or recall directly into the Library so I need to see if I can incorporate a rail into the script before testing it out.
Title: Re: Item Buyer & Donator
Post by: Crome969 on August 05, 2011, 01:30:16 PM
Running this script on a populated production shard is high risk endeaver imo so you have to be careful! I've been nabbed one time before using SM's Battle Axe Donator.

The shard I was going to test the script on you can't mark in runes or recall directly into the Library so I need to see if I can incorporate a rail into the script before testing it out.
of course Scripts like these and some of the questing scripts are not useable for bigger Shards or hard scanning by devs. On the shard we play macroing is allowed:)
Title: Re: Item Buyer & Donator
Post by: Ultima on August 17, 2011, 10:44:44 AM
Camotbik where is the non-razor version with the optional rail included?  ;)

I was tinkering with this the last two days a bit trying to incorporate a rail as on my OSI shard you cannot recall directly into the Library. 

I recalled to the smith shop and nothing happened! :-[

I missed the fine print about Razor being required to buy the bucklers.  :-\

School has started up again so I have less time for UO but I'll try and tinker with this some more and see if I can get it working without Razor!
Title: Re: Item Buyer & Donator
Post by: camotbik on August 17, 2011, 10:52:50 AM
Camotbik where is the non-razor version with the optional rail included?  ;)

Well I think I will update this script in a week or so.
Title: Re: Item Buyer & Donator
Post by: Goliath on August 31, 2011, 06:55:56 PM
I finally got around to using this so I can get me my glasses and I am having trouble.  I have the book IDs entered and the donation bag.  The script kicks off and recalls to the fist blacksmith location.  But he just stands there :(

I can't see what I am missing here?
Title: Re: Item Buyer & Donator
Post by: Crome969 on September 01, 2011, 02:46:08 AM
I finally got around to using this so I can get me my glasses and I am having trouble.  I have the book IDs entered and the donation bag.  The script kicks off and recalls to the fist blacksmith location.  But he just stands there :(

I can't see what I am missing here?
Razor!
Camotbik combined Razors Buy Agent with that Script.
Title: Re: Item Buyer & Donator
Post by: camotbik on September 20, 2011, 07:24:00 AM
*updated
Title: Re: Item Buyer & Donator
Post by: Endless Night on October 07, 2013, 05:12:35 PM
Congratulations your Script has been moved to Script library
(If you feel the script is in the wrong section please send me a pm.)

Thank you for your submission.
Title: Re: Item Buyer & Donator
Post by: zoiaum on February 13, 2014, 04:25:21 AM
Testing this badboy out, looks really fast. ETA - 16 hours for my mace and shield!
Title: Re: Item Buyer & Donator
Post by: camotbik on February 13, 2014, 10:54:26 AM
This was really the second version i think, i should have a newer somewhere, will take a look at weekday, maybe I can hook you up with it. In the mean time, hope you are enjoying this one.
Title: Re: Item Buyer & Donator
Post by: zoiaum on February 13, 2014, 11:28:48 AM
It is working really well, i'm at 300k points at the moment, only had to restart it once when it got stuck into a recall to the library loop.

Post Merge: February 15, 2014, 06:38:59 AM
I did some tweaks for my shard (and maybe most of runUO shards) and at least on the shard i'm playing the ETA to get a mace and shield is around 10 hours, not too bad!
Title: Re: Item Buyer & Donator
Post by: Tana on February 26, 2016, 04:37:44 AM
i know this is an insanely old thread but ive been looking for a working donator since i started playing again. i know this is possibly a dumb question but how do you use razor with easy uo?? sorry for stirring up old posts
Title: Re: Item Buyer & Donator
Post by: camotbik on March 09, 2016, 12:29:54 AM
Tana, Its np. You use it by just starting razor and easyuo afterwards. Hope that helps.
Title: Re: Item Buyer & Donator
Post by: The Ghost on March 09, 2016, 06:14:47 AM
IF you have a macro record with Razor,  you just need to call via a  gosub.   Here something simple.

Code: [Select]
sub TrashBooks
key 5 Num  ;  this is you macro key in razor.   for this ex I use  key 5 on the Mun Lock.   Can be any key.
wait 30
return
Title: Re: Item Buyer & Donator
Post by: camotbik on March 09, 2016, 01:16:20 PM
if my memory serves me well, i think you just had to use the buying agent, add an axe or buckler and press push to enable, after that you just had to setup the script with runebooks and its ready to go.
Title: Re: Item Buyer & Donator
Post by: Tana on March 14, 2016, 04:04:18 PM
hey guys thanks for the replies much appriciated should have my M&S glasses soon!
Title: Re: Item Buyer & Donator
Post by: Tana on March 22, 2016, 05:43:28 PM
hey guys i got this script working took a while and made quite a few tweaks but im still getting 1 problem. its not a huge problem just kinda of annying. it trys to recall to the same spot over and over even on success. anyway this can be fixed?

edit:as i finished typing this im now stuck in a recalling to library loop
Title: Re: Item Buyer & Donator
Post by: zurdex on August 12, 2016, 08:06:28 AM
hello, the script did not work properly, do not buy me and donates , I think it's because not well setiada the button option to buy and to donate ( the sign me up and says how many donate ) but do not select the button the battle ax so you can donate , I thank them help. this server is freeshard.
Title: Re: Item Buyer & Donator
Post by: Khinsath1 on June 27, 2017, 03:44:51 AM
niceeeee, an awesome contribution, thanks a lot mate:)))))))
Been awhile since I've seen a Mace & Shield Glasses donator!

20 hours is not bad at all.

I will try and give this a run this weekend and post feedback!

Nice submission Camotbik!
Title: Re: Item Buyer & Donator
Post by: bng123 on December 29, 2017, 05:43:34 AM
Hey CAMOTbIK!

Is there any chance to help out with this script?
I'm playing on UoDemise.
It misses vendor buy gump (i dont have BOD gump) and there is a problem that it want to donate axes by saying number of axes youve got in backpack (like you can donate with boards in vesper) but it dont work here on Demise :(
I've tried to correct it but im totally green about scripting.

I hope you can help me out.
Cheers.

Michael
Title: Re: Item Buyer & Donator
Post by: radazxd on August 26, 2018, 10:56:08 PM
hello, the script did not work properly, do not buy me and donates , I think it's because not well setiada the button option to buy and to donate ( the sign me up and says how many donate ) but do not select the button the battle ax so you can donate , I thank them help. this server is freeshard.

Same problem, any have a solution  :'(
Title: Re: Item Buyer & Donator
Post by: Crisis on August 27, 2018, 02:22:10 PM
You will need to look at the gump sizes and locations of the buttons. TM has a tool which will help some with that: http://www.scriptuo.com/index.php?topic=505.0
Title: Re: Item Buyer & Donator
Post by: radazxd on August 27, 2018, 06:49:54 PM
You will need to look at the gump sizes and locations of the buttons. TM has a tool which will help some with that: http://www.scriptuo.com/index.php?topic=505.0

thx Crisis, problem solved  ;D ;D