ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Misc. Scripts => Topic started by: Quagmire on July 25, 2008, 07:36:35 AM

Title: Scroll/Reg Buyer
Post by: Quagmire on July 25, 2008, 07:36:35 AM
keeps track of regs and scrolls. can choose either scrolls or regs or both. Buys form mages in luna just stand in the inn on 2nd floor and be in rang of bank. It hides you and makes sure you char doesn't come on hidden or that you bank is closed. Only thing is that you have to have GOLD in you bank not checks. Just one of my simple tools hope you enjoy  ;D !

Sorry guys posted wrong version i fixed it now
Title: Re: Scroll/Reg Buyer
Post by: iain on April 27, 2010, 09:49:07 PM
this works  treat, many thanks indeed
Title: Re: Scroll/Reg Buyer
Post by: OMGBurgers on April 28, 2010, 07:03:42 PM
good old quagmire.

i miss playing uo with him :(
Title: Re: Scroll/Reg Buyer
Post by: Cerveza on July 18, 2010, 09:14:00 AM
Need to add a line to this to keep from idling out...

main1:
...
event macro 8 7
wait 20

gosub checkchk
...

That will open your backpack each cycle to keep you from getting idle discon'd.
Title: Re: Scroll/Reg Buyer
Post by: gruntman on January 09, 2011, 04:59:44 AM
Anyone able to tell me how to fix it so that it takes more than 70 gold out of my bank when it starts please?
Title: Re: Scroll/Reg Buyer
Post by: bear2233 on January 29, 2011, 11:14:22 PM
I have a problem with this script every so often that it will try to add a party member from someone sitting in luna. Any idea on how to fix this?
Title: Re: Scroll/Reg Buyer
Post by: bear2233 on February 05, 2011, 02:10:43 PM
Update on my problem....It seems to only try to party a certain few players. Could this be due to their ID being close or the same as an id to a npc in luna? Usually if the two ppl aren't sitting in luna then the script does not try to party anyone. But once they come to luna (even if the script has been running awhile) it try to party them in rotation as it is buying from the npc's.
Title: Re: Scroll/Reg Buyer
Post by: waggler on February 20, 2011, 01:36:07 PM
ur problem  is due to a hackk, exploit, or just a bug,  that some peopel have  elaborated on making them semi invulnerable to  weapon/bow attacks...  yes basically makign them a npc..... i have no clue to how it works but i do know  someone  who  brags about   having found it out.... ..  look at the names of the people  u attempt to party...and  i have    literally tessted it out...  missinfg hi9m  20 for 20 times  with 45 hci and   30 hld 120 arch 120 tact 120 anant. 
Title: Re: Scroll/Reg Buyer
Post by: Niro on June 03, 2011, 03:42:33 AM
keeps track of regs and scrolls. can choose either scrolls or regs or both. Buys form mages in luna just stand in the inn on 2nd floor and be in rang of bank. It hides you and makes sure you char doesn't come on hidden or that you bank is closed. Only thing is that you have to have GOLD in you bank not checks. Just one of my simple tools hope you enjoy  ;D !

Sorry guys posted wrong version i fixed it now

how can i make this cript work with moonglow fel regent vendors
Title: Re: Scroll/Reg Buyer
Post by: Cerveza on June 03, 2011, 03:59:21 AM
Are the reg vendors at a bank? ---- NO ---- Won't Work (STOP)
|
|
YES
|
|
Do the reg vendors have the word MAGE or HOLY in their name? ---- NO ---- Won't Work (FIX IT)
|
|
YES
|
|
It should work.
Title: Re: Scroll/Reg Buyer
Post by: Niro on June 03, 2011, 06:55:01 AM
tyvm i got it now
Title: Re: Scroll/Reg Buyer
Post by: Guadah on August 29, 2011, 09:11:37 AM
I so needed this.  Testing to see if it still works.

Trying to work up Inscription, but there are no bulk scrolls for sale, and the vendor stays empty.
Title: Re: Scroll/Reg Buyer
Post by: Cerveza on August 29, 2011, 09:16:19 AM
Takes a while to cycle the vendor once he's bought out.
Title: Re: Scroll/Reg Buyer
Post by: Guadah on August 29, 2011, 01:29:51 PM
Yeah, was nice to just be able to walk away and get scrolls bought.

However, the menu displayed 25,705 Purcashed, when I only had 11k in my bank.  This is a script I need to write for myself I think, mark a couple of locations in a book and travel around buying up vendors.
Title: Re: Scroll/Reg Buyer
Post by: MeWonUo on August 29, 2011, 01:46:36 PM
Yeah, was nice to just be able to walk away and get scrolls bought.

However, the menu displayed 25,705 Purcashed, when I only had 11k in my bank.  This is a script I need to write for myself I think, mark a couple of locations in a book and travel around buying up vendors.

There is already a script here on the boards I believe that will do that for you. 
Title: Re: Scroll/Reg Buyer
Post by: chrisf5 on February 16, 2012, 03:35:15 AM
where can one DL this script?
Title: Re: Scroll/Reg Buyer
Post by: Cerveza on February 16, 2012, 03:54:47 AM
Exactly :)
Title: Re: Scroll/Reg Buyer
Post by: noobus on May 06, 2013, 03:42:06 PM
Anyone use this lately?   I'm just getting my character saying bank over and over.  The buy menu opens from the NPC, but no scrolls are purchased.


Edit:  I got it working by using a buy agent with razor.... Now the issue is even when im hidden, it tries to hide... low hiding to i constantly come visible.  I dont know anything about scripting but I'm gonna read a little and see if I can figure out what to edit

Post Merge: May 07, 2013, 04:00:12 AM
Okay another update.   I literally ran this for about 10 hours and came back to 2500 scrolls....I watched it for a while and the majority of the time, it highlights the scrolls and never adds it to the buy section
Title: Re: Scroll/Reg Buyer
Post by: awicker0510 on April 15, 2020, 07:29:12 AM
I am using this script and it works.  I am having the same issue with it not purchasing every time.
it scrolls to the reg but does not always add it to the buy page, it just clicks buy for 0 gold and no items bought. I am not a seasoned script writer but I can troubleshoot and fix an already written script.  I am hoping someone can help me understand this line.
 click #contposx #contposy r
I understand the line until the final letter "r". the script has several of these references. Can someone explain to me what it means?
I am thinking its not clicking the correct spot but I don't know how to continue troubleshooting until I understand this line. Thanks
Title: Re: Scroll/Reg Buyer
Post by: va on July 01, 2020, 05:16:22 AM
hi
how to add another NPCs like herbalist or alchemist?

sub findShop
a2:
finditem %mage
Title: Re: Scroll/Reg Buyer
Post by: Crisis on July 01, 2020, 08:33:45 AM
I am using this script and it works.  I am having the same issue with it not purchasing every time.
it scrolls to the reg but does not always add it to the buy page, it just clicks buy for 0 gold and no items bought. I am not a seasoned script writer but I can troubleshoot and fix an already written script.  I am hoping someone can help me understand this line.
 click #contposx #contposy r
I understand the line until the final letter "r". the script has several of these references. Can someone explain to me what it means?
I am thinking its not clicking the correct spot but I don't know how to continue troubleshooting until I understand this line. Thanks

I am sorry that I missed this. The #contposx #contposy are commands on where to click on the menu. You can change them using this offset click generator. http://www.scriptuo.com/index.php?topic=505.0

Chances are the gump sizes have changed, the buttons have moved, or you are on a freeshard so this will help with all of that.
Title: Re: Scroll/Reg Buyer
Post by: Crisis on July 01, 2020, 08:39:51 AM
hi
how to add another NPCs like herbalist or alchemist?

sub findShop
a2:
finditem %mage

You would also have to make changes here as well
Code: [Select]
sub init
L2:
finditem HS_IS
if #findkind <> -1
{
 event property #findid
 if Mage NOTIN #property && Holy NOTIN #property
 {
  ignoreitem #findid
  goto L2
 }
 else
 {
  if N/A in %mage
     set %mage #findid
  else
     set %mage %mage , _ . #findid
  ignoreitem #findid
  goto L2
 }
}
return

If you are wanting to buy other things then the script already buys, even more changes. This script is also 12 years old so not sure if it even works properly anymore.
Title: Re: Scroll/Reg Buyer
Post by: Insideout on November 07, 2020, 04:05:33 PM
ANy clue why it would keep trying to party someone lol. Person thinks I'm nuts