ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Questing => Topic started by: _C2_ on April 25, 2009, 11:02:43 AM

Title: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on April 25, 2009, 11:02:43 AM
**Not supported for free shard... I don't play and won't be visiting them to figure it out- Sorry**

Warning: Chiv is not being recognized as it has in the past and sacred journey is not registering like it use to due to easy uo - UO client issues. Do not expect chiv to work consistently. use recall if you can!

Code: [Select]
;C2's Donate-o-Matic
;Version 1.4c
;Shard: OSI
;Purpose: Donate wood, ingots, cut leather, scales, & raw fish steaks to Collections
;Credits:  TM Recall Subs & Ultima for making the vesper rail
;Revisions:


Only put in they type of wood, ingots and leather that you wish donated.  it will donate every type in chest unless you remove it!

It will:
*Donate ingots or wood to Brit. (one at a time)
*Donate wood to vesper
*Donate Raw fish to Brit
*Donate Dragon Scales to Brit
*Donate Cut Leather to Brit
*use rails in and out if needed do to a non recall zone on some shards
   - for brit mark outside library in front of stairs
   -for vesper mark at staircase to blocked recall floor (thx. Ultima)
*Recall or Sacred back and forth until you are out of supplies.
*Support a bonded Beetle, or one bonded packie (Horse or LLama)
*Use Recall or Sacred for travel (Set at top of script - default is magery)
*Allow you to select how much wood or ingots to drag into pack each time (Up top %drag_ingot_amount (3000) or %drag_wood_amount (400) )
*Use a named runebook of your choice (Name on menu)
*Auto set runes to use based on your menu choices
*Auto find donation box or person... no clicking for you!
*Auto finds the pet/packie you set on menu!
*Prompt you to target you secure at home with supplies in the top level.
*Donate any and all types of the menu choice of wood or ingots so remove types you do not want to donate
*Identify the type by color (#findcol)

Set-up Hints:
Make sure you start at home or bank and adjust red lines below as needed!
All materials need to be on the top level of the secure... not in a bag inside.
Make sure you have these set correctly at the top of the script:
Code: [Select]
set %travel RE    ; RE for recall SJ for sacred
set %bank #false
set %home #true
set %drag_wood_amount 400   ;# for wood and leather!!!
set %drag_ingot_amount 3000  ; # for raw fish, ingots and scales!!!
Note:
Pictures of a possible runebook set-up are below along with the menu! You only need the runes that you will be using. If you never donate to vesper, leave any old number in the box because the script will only access the rune numbers for runes you need. I made a complete book that I could always use and never have to look for a rune last minute.

NOTE: This script is no longer needed for OSI shards since the ability to turn in deeds.
It is here for Free Shard users to use as a resource for making their own donation script.
The author DOES NOT SUPPORT FREE SHARDS so don't expect a reply if you ask for assistance.

Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Khameleon on April 25, 2009, 11:30:27 AM
This Donator Works Great
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Oracle on April 30, 2009, 10:58:35 AM
Hi _C2_

I had mentioned this on WinUO about adding Treasure Maps, but since WinUO is down, I don't know if you aaddressed my request or not. 


ORACLE
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on April 30, 2009, 11:34:40 AM
I am not going to add them due to the complictions created by needing to open  a ton of secures upon returning home since they can only hold 125 each and the different flow of the script that would be needed.  the current structure does not fit tmaps.  i did encourage you to use something similar to guadahs spring cleaning donator that requires map id added and the doantion page clicking instead of dropping on character.

Sorry - it doesn't fit into the design of the script at all.  i wish they were stackable because then it could do them easily
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Rn on May 18, 2009, 08:04:38 AM
Does this still work? I think they made it so you cant recall into the building to donate... atleast not by wood guy. is the a version out there that uses a rail from outside to inside?
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on May 18, 2009, 08:06:50 AM
Does this still work? I think they made it so you cant recall into the building to donate... at least not by wood guy. is the a version out there that uses a rail from outside to inside?

There are some fel locations that are blocked but not tram to my knowledge.  It works for several folks recently so you may need to use tram.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Rn on May 18, 2009, 08:12:12 AM
tried first in tram, i get the "something is blocking the location." i tried and many dif spots watching nothing walk over my spot. in fel i get "spell doesnt seem to work here" when i try to mark a rune
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on May 18, 2009, 08:58:15 AM
tried first in tram, i get the "something is blocking the location." i tried and many dif spots watching nothing walk over my spot. in fel i get "spell doesnt seem to work here" when i try to mark a rune

what shard is that.  I heard of one once that was blocked in tram too. Eww.  that is certainly what is going on there.  I might have to add a rail option after all.  dang!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: TrailMyx on May 18, 2009, 09:01:11 AM
Awww, rails are easy!!  :)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Rn on May 18, 2009, 09:10:33 AM
LS
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Khameleon on May 18, 2009, 02:00:39 PM
I know some area's are blocked to recall in.. like Britain's North Mage shop.. I can mark inside, but I can't recall inside.. I can' stand 1 tile from where I marked it, and still say's you can not recall there.  mark outside and make a simple rail to the correct donater.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Minus on June 06, 2009, 05:43:11 PM
Some Reason it loads the bettle and then it just stops
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Khameleon on June 07, 2009, 05:50:49 AM
Single Step through the script and see where its messing up.. we need a bit more info than its messing up ?!?!
maybe your rune book wasn't setup correctly, uh.. could be a series of things...
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Minus on June 09, 2009, 01:23:21 PM
AH i got it it say to targe your bag in your secure i was trying to do that but i put a bag on the house and it worked awsome great script man thanks sorry for the long replise the wife and kids don;t let me play much anymore
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Coragin on June 11, 2009, 07:07:02 PM
Hey C2,

Any way you can add spined leather to this for Brittan turn in?  Same as ingots (Master of Trades)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Coragin on June 21, 2009, 02:01:50 AM
Bump.

Sorry to bump, just wondering if you seen my last post about adding in leather for Brittan.  I got 400k spined leather sitting there waiting lol.  Guess I could figure out how to tweak it to do it on my own.  Im lazy!  lol j/k

Happy fathers day if your a daddy C2
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on June 21, 2009, 06:17:54 AM
Hey C2,

Any way you can add spined leather to this for Brittan turn in?  Same as ingots (Master of Trades)

I just finished my final paper yesterday and was farming artis.  I can look at adding it in the next few days.  I also want to add that rail option.  i wrote down all the coords just no time.  I have 3 weeks and then i go to my next class. I will see what I can do in the next few days.  cut or uncut?  cut is smarter weight wise
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Coragin on June 21, 2009, 06:23:18 AM
Oh yea definetly cut, thanks man.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on June 23, 2009, 10:21:16 AM
Okay I finally had a moment to get to this and have changed 3 things....

(1) Minor change now displays click secure with correct item during beginning - it use to always say wood

(2) filled request to add rail option for library only.  if u need rails check checkbox on menu and it will run pathfind

(3) filled request for leather... it will do all types of leather so only have what u want to be donated in container!!!

Version 1.4
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Coragin on June 24, 2009, 02:42:55 AM
Okay I finally had a moment to get to this and have changed 3 things....

(1) Minor change now displays click secure with correct item during beginning - it use to always say wood

(2) filled request to add rail option for library only.  if u need rails check checkbox on menu and it will run pathfind

(3) filled request for leather... it will do all types of leather so only have what u want to be donated in container!!!

Version 1.4

C2, you are the man!!!  Thank you so much!!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Ultima on June 24, 2009, 07:53:40 PM
Thanks for including the Rail Option for donating as the shard I currently had all my lumber on wouldn't allow for direct recall into the Vesper Museum. Weird how some shards you can recall directly into the Library/Museum and others you can't. I just edited the character positions for the the Musuem and it worked like a charm.  ;D
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on June 24, 2009, 08:12:24 PM
Thanks for including the Rail Option for donating as the shard I currently had all my lumber on wouldn't allow for direct recall into the Vesper Museum. Weird how some shards you can recall directly into the Library/Museum and others you can't. I just edited the character positions for the the Musuem and it worked like a charm.  ;D

cool, cool.  you do know u can donate wood at brit too.  You just can't get those statues but the rest is the same
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Ultima on June 24, 2009, 09:07:39 PM
Britain doesn't have Keeonean's Chainmail! :P

I ended up donating over 2M points in just a couple of hours. Very nice!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Coragin on June 25, 2009, 06:34:19 AM
C2,

Just got around to testing leather, works great!  However, one problem, it isint using my beetle.  Its dismounting and mounting and saying all follow me, but not opening its pack, loading or trying to unload leather.

its named "a giant beetle" and it is bonded.  Hope this helps.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on June 25, 2009, 07:23:07 AM
C2,

Just got around to testing leather, works great!  However, one problem, it isint using my beetle.  Its dismounting and mounting and saying all follow me, but not opening its pack, loading or trying to unload leather.

its named "a giant beetle" and it is bonded.  Hope this helps.

not really.  i used a beetle when i tested it.  it dismounts beetle.  finds it. ids it during set up.  have u tried it a few times to see if it picks it up? maybe it is a lag/wait issue... it scans too fast and then thinks no beetle.  I will look at set-up timer.  this just shouldn't happen 
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Ultima on June 25, 2009, 08:52:19 AM
Yea I used a Bonded Beetle when donating yesterday with no problems! ???
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on June 25, 2009, 09:32:29 AM
I think i found what was causing the beetle to get missed in your particular case.  i am pretty sure it was  aspace caused bu some copy and paste in between computers on my side.  Let me know how it goes now.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on June 25, 2009, 12:18:06 PM
Thanks for including the Rail Option for donating as the shard I currently had all my lumber on wouldn't allow for direct recall into the Vesper Museum. Weird how some shards you can recall directly into the Library/Museum and others you can't. I just edited the character positions for the the Musuem and it worked like a charm.  ;D


would u be interested in sharing those rail points?  I will add them to the script and give u credit.  Also where is the best place to recall in.  do u have to do doors for vesper?  I didn't realize it would be closed to recall too!  Those bastards.  It is all open on my shard.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Ultima on June 25, 2009, 12:58:37 PM
Me get credit for helping..that would be a first!LOL! :o

I feel bad that I don't contribute more but coding comes extremely hard to me. I can stare at code it all friggin' day until my head hurts. C2 I'm not even sure if I did it right all I know is that it works for me on the Asian shard for the Vesper Museum. Not sure if the Character Positions are universal across the board on all shards.

I marked my 2 Runes inside the Vesper Museum on the 2nd Floor just in front of the stairs leading down to the donation box. I wasn't able to recall anywhere onto the stairs or down on the first floor with the donation box.

I just changed the character XY Positions at the bottom of the script. Here is what I came up with :
Code: [Select]
sub rail
repeat
event pathfind 2919 968
until #charposx = 2919 && #charposy = 968
if %donateingots = #true
   {
   repeat
   event pathfind 2923 968
   until #charposx = 2923 && #charposy = 968
   repeat
   event pathfind 2926 969
   until #charposx = 2926 && #charposy = 969
   repeat
   event pathfind 2925 974
   until #charposx = 2925 && #charposy = 974
   return
   }
repeat
   event pathfind 2923 968
   until #charposx = 2923 && #charposy = 968
   repeat
   event pathfind 2926 969
   until #charposx = 2926 && #charposy = 969
   repeat
   event pathfind 2925 974
   until #charposx = 2925 && #charposy = 974
   return
if %containerprop = trades
   return
repeat
event pathfind 2923 968
until #charposx = 2923 && #charposy = 968
repeat
event pathfind 2926 969
until #charposx = 2926 && #charposy = 969
repeat
event pathfind 2925 974
until #charposx = 2925 && #charposy = 974
if %containerprop = animal
   return
repeat
event pathfind 2923 968
until #charposx = 2923 && #charposy = 968
repeat
event pathfind 2925 974
until #charposx = 2925 && #charposy = 974
return
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Ultima on June 25, 2009, 01:10:13 PM
Okay C2 I tested it on Sonoma and it works as well :)

It appears as though the #CHAROPOSX/Y are universal for all the OSI Shards.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: cgeorgemo on September 01, 2009, 12:04:57 AM
If I mention that the heading still says 1.3d in 1.4b do I win the most annoying anal retentive poster award? ;)

Maybe I can convince TM to give u a special title!  :P
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: msb9380 on October 16, 2009, 02:34:35 PM
Been running this script for a few days with 0 problems, I had about 400k normal boards in my secure, along with various amounts of the other types.  Very fast, and very stable donation script!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on October 16, 2009, 04:06:23 PM
Been running this script for a few days with 0 problems, I had about 400k normal boards in my secure, along with various amounts of the other types.  Very fast, and very stable donation script!

Thank you for letting me know.  It is always nice to hear when things are working well for the users!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: sleepyprince on November 17, 2009, 08:04:10 PM
thx so much 4 the hard work
even that i had it long time ago from other site
n it help me a lots on those time
 ;)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Toptwo on November 27, 2009, 11:39:00 AM
My turn to add my thanks C2! Had never bothered with any of the turn-ins before but am making a tamer for ST on Atlantic....wanted to get her a museum shield..didnt want to pat 5M for one, took a look and had over 1.3M boards. Have been running the script for almost 5 hours now and its running good except for the occasional server side lag that hangs on clicking the board tuen in...lag problems not scrip problems..Thanks for this script...I forgot it was even here and had turned in 80k by myself this morning before ST reminded me. Now I am almost done!!!

Thanks!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: aaa60230 on December 03, 2009, 09:29:18 AM
This Donator Works Great
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Toptwo on December 03, 2009, 09:30:06 AM
Really? You already have it and are running it?
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Khameleon on December 03, 2009, 02:12:30 PM
Why Of Course we can see that he has been running it for hours on end.... oh wait a min.. Where's the Download Link?
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: rana70 on December 03, 2009, 08:18:57 PM
Why Of Course we can see that he has been running it for hours on end.... oh wait a min.. Where's the Download Link?

Maybe just here : http://winuo.org/miscellaneous/1692-c2s-donate-o-matic.html  8)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: cgeorgemo on December 03, 2009, 08:51:57 PM
LOL I got my copy from there also...I wonder if you forgot it was posted there.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: tk421mr on January 17, 2010, 10:00:19 AM
THX C2.  I use this for both Museum & Library and it works perfect.  I got it from Win UO but since it is posted here I that site is down, I wanted to post my gatitude here.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Oracle on January 18, 2010, 11:52:24 AM
Decided to jump on the bandwagon and donate all the wood and ingots I have just lying around.  The script seems to work for awhile for me just fine and then it gets a client error or a EUO box comes up stating "All Done! Halting!", but I am far from done.  I have tried to run it both with the rail and without for the Vesper Museum.   Seems that I can mark 2 Rune Spots close to the Donation Box.

Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on January 18, 2010, 04:22:16 PM
Decided to jump on the bandwagon and donate all the wood and ingots I have just lying around.  The script seems to work for awhile for me just fine and then it gets a client error or a EUO box comes up stating "All Done! Halting!", but I am far from done.  I have tried to run it both with the rail and without for the Vesper Museum.   Seems that I can mark 2 Rune Spots close to the Donation Box.



this can because by random periods of lag in recalling or sacred journey.  a page back i think there is a spot where u can add a wait.  it is a recall issue that is worse with sacred that returns before toon is able to see secure.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Oracle on January 18, 2010, 05:56:56 PM
I thought that might be the case, so I switched to a 'toon' that can Recall and it happens just as often.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: kenshin87 on February 06, 2010, 06:21:10 PM
hey c2 i am having the same issue as oracle was having while using sacred journey. i have not switched to a recall because as he stated he is having the same problems. it seems to be on the wait as mentioned but i cant find in the script where to add the wait timer. another suggestion as well would to possibly have a save settings function so no need for setup everytime even though it is quick to setup.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on February 06, 2010, 07:13:54 PM
just posted a version 1.4c that will continue to look for the container and not tell u out of supplies until it is actually open.  not tested but it is a simple adjustment for home and bank options.  it should work.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: mr_anderson on February 07, 2010, 01:43:51 PM
that's worked good.
thanks a lot.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on February 07, 2010, 04:15:57 PM
that's worked good.
thanks a lot.


You don't have download rights... what are u talking about?
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Coragin on February 07, 2010, 06:20:48 PM
that's worked good.
thanks a lot.


You don't have download rights... what are u talking about?

ROFL
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: kenshin87 on February 08, 2010, 06:48:36 AM
C2 it worked real well with the addition of the secure check. sometimes i run into a small problem where it gets caught in a loop i assume and doesn't pick up anymore wood. at the moment i forgot to see exactly where but when it happens again i will be sure to post it. i will be running it later tonight so i will let you know then. thanks again.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on February 08, 2010, 06:57:17 AM
C2 it worked real well with the addition of the secure check. sometimes i run into a small problem where it gets caught in a loop i assume and doesn't pick up anymore wood. at the moment i forgot to see exactly where but when it happens again i will be sure to post it. i will be running it later tonight so i will let you know then. thanks again.

The loop is endless if your recall fails over and over.  it looks for the chest right now based on a successful recall and keeps looking until any lag clears.  I will put a timer on it but wanted to see if that would enhance the flow first.  So far it is an improvement though - it sounds.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: kenshin87 on February 08, 2010, 12:30:07 PM
so i figured out where it was getting stuck. after the first Recall from my house to the library if the first rune is blocked it seems to just recall to my second house location spot and just stays there while not doing anything. if that helps i will grab the section of code it keeps repeating as well just let me know
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: kenshin87 on February 08, 2010, 04:39:57 PM
event property #findid
if %containerprop notin #property
   ignoreitem #findid
until %containerprop in #property

that is where my script would get stuck after a failed recall to the first spot. it just sacred journeys to the second home spot and gets stuck in that loop. hope that helps. but it works beautifuly other then that minor error. thanks for the great script has saved me tons of time!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on February 09, 2010, 02:19:12 PM
you have your rune locations entered incorrectly  if the second recall is bringing u home.  make sure you book #s are the same as menu at start up.  the script runs of two of each location.   or you need some better locations so u do not get blocked.

i can also go into the script and say if you dont find container... go through recall/sacred cycle again.  I think that will help some. 

Thx for pinpointing the error/ glitch point for you.  8)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: kenshin87 on February 11, 2010, 01:21:25 PM
hey c2 so i had my rune book setup as  4 6 as the home runes then  5 7 as libraryrunes. i dont know if it was that particular setup or what it was but it seemed to not work properly with the sacred journey. it would just go to my second house rune and not the second library rune. i did however change the order of the runes and it is working fine now.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on February 11, 2010, 04:31:54 PM
hey c2 so i had my rune book setup as  4 6 as the home runes then  5 7 as libraryrunes. i dont know if it was that particular setup or what it was but it seemed to not work properly with the sacred journey. it would just go to my second house rune and not the second library rune. i did however change the order of the runes and it is working fine now.
Excellent!  I could tell by your description that was happening for whatever reason.  glad it is going and thx for help.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: GROG3825 on February 15, 2010, 09:46:20 AM
Runs great, Only problem I have is that it doesnt mount my beetle after it gets wood..i have to do it manually, any way i can change this? other then that, NICE!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: kenshin87 on February 15, 2010, 11:12:33 AM
the script is meant to work with a bonded beetle so that way it will follow when you recall. best way is to just bond a beetle :)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: GROG3825 on February 15, 2010, 12:04:10 PM
the script is meant to work with a bonded beetle so that way it will follow when you recall. best way is to just bond a beetle :)

ahh nice, ok..well this beetle is brand new..so..lol..thats my prob appriciate it man, any way of changing it to mount tho?
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: iain on March 07, 2010, 01:34:12 PM
this is truly a great script, my fingers were shot before this
many thanks indeed
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Petkiller on March 07, 2010, 07:40:40 PM
It works great for me the only strange thing that happens is on normal wood.  The script will do a 60k pile of normal wood then stop and say out of wood even with other piles of normal wood in the chest.  It not a big deal because I just use normal wood when I need a few more points to get a an item.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: newbielove on March 26, 2010, 08:18:11 AM
Thank you so much for the additional rail for the donations (I never would've figured that out!). 

One question.  When I'm donating to Vesper, after the rail is complete to go down the stairs it spams 'all follow me' for the horse, then clicks the box, and scrolls to page 2 of the donating, and subsequently my character is saying only once per trip '400'.

Any ideas where this problem may be?

Thanks
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on March 26, 2010, 09:18:38 AM
Thank you so much for the additional rail for the donations (I never would've figured that out!). 

One question.  When I'm donating to Vesper, after the rail is complete to go down the stairs it spams 'all follow me' for the horse, then clicks the box, and scrolls to page 2 of the donating, and subsequently my character is saying only once per trip '400'.

Any ideas where this problem may be?

Thanks

it may not be finding the pet so it thinks u don't have additional wood etc  or it is not opening the pets pack at the end of the rail because it has not caught up to you yet.  you could add a wait at the end of the rail and before the pet open part to test it.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: newbielove on March 26, 2010, 10:44:45 AM
Maybe I'm adding the wait in at the wrong time?

event pathfind 1413 1594
until #charposx = 1413 && #charposy = 1594
if %containerprop = animal
wait 8s
   return
repeat
event pathfind 1413 1605
until #charposx = 1413 && #charposy = 1605
repeat
event pathfind 1411 1607
until #charposx = 1411 && #charposy = 1607
return

Is the the right spot in the rail?  It's still doing it, so I have to assume I'm not doing it correctly.  Or should I add it before the =animal line?

Thanks!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: rana70 on March 26, 2010, 10:58:16 AM
Maybe I'm adding the wait in at the wrong time?

event pathfind 1413 1594
until #charposx = 1413 && #charposy = 1594
if %containerprop = animal
wait 8s
   return
repeat
event pathfind 1413 1605
until #charposx = 1413 && #charposy = 1605
repeat
event pathfind 1411 1607
until #charposx = 1411 && #charposy = 1607
return

Is the the right spot in the rail?  It's still doing it, so I have to assume I'm not doing it correctly.  Or should I add it before the =animal line?

Thanks!

This is for sure the wrong place ..
your wait kills the "IF" construct

try this

Code: [Select]
if %containerprop = animal
{
wait 8s
return
}

if you use an if construct without brackets
like this :

Code: [Select]
if %containerprop = animal
 return

you are only allowed one line after the IF
this line is executed when the result is "true"


if you need to run more commands after an IF
you have to use the brackets to "mark" the part you like to run when the result is "true"

cu
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: newbielove on March 26, 2010, 12:40:11 PM
Well,  I tried the suggestions, but it's still doing it.  The first time the script runs through it typically won't, but then it does it everytime after that.

Thanks for the help though :)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Scrripty on March 26, 2010, 12:57:48 PM
Ugh, add a wait 1 in those repeat ... event pathfind ... until parts too... That's a LOT of unecessary processor usage... heh  Event a wait 2 or wait 5... :)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: newbielove on March 26, 2010, 01:07:26 PM
Wow, the waits made a huge difference in the speech spam.

Do you have any ideas as to why it's still spouting the '400', even after putting in the wait from the animal pack open?
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: rana70 on March 26, 2010, 01:14:07 PM
Wow, the waits made a huge difference in the speech spam.

Do you have any ideas as to why it's still spouting the '400', even after putting in the wait from the animal pack open?

If I get _c2_ correct .. you should add the wait after you walked the final destination ...
and before you open up the animal .... just to make sure your animal isn't out of Range ...
so I would recommand to add the wait ... after the script has finished the whole rail SUB and before the OpenUp
SUB takes over ...
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on March 26, 2010, 01:24:40 PM
correct
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: newbielove on March 26, 2010, 01:49:32 PM
Added that in at the end of the rail sub, looked at it again.

I don't think the issue lies with the pack animal, it just seems that way to me (as I know 0 about this).

When I did it step by step it was wierd, it showed up in this section almost as if its just lag:

set %clickx %1 + #contposx
set %clicky %2 + #contposy
click %clickx %clicky
finditem %itemtodonate c_ , #backpackid
wait 20
if #findstack <> 0
   msg #findstack $
return
sub GetMore
finditem %itemtodonate c_
if #findkind = -1

I appreciate everyones help, but I think this is something that would definately take me some time to understand....until I can figure this out, I can definately live with it saying '400', that's no big deal to me :)

Was just trying to figure it out, as I find this fun!

Thanks again so very, very much for your time :)

**I went back after all this, put a small wait after the open up sub, and am now using my beetle and have had 0 problems**  Thanks again!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: karli10 on April 08, 2010, 12:44:22 PM
just trying to figure out how to download this script...

from what ive read its all i need :)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: TrailMyx on April 08, 2010, 01:05:49 PM
You should also go back and read the hard time we give people that give pretty basic intros.  Go look at some of the better ones and you'll see how fast the door will open.  ;)  We have 2 Admins and 3 GMODs that are just salivating to open the door for you, assuming you're willing to put a bit more effort into that good first post!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Oracle on April 08, 2010, 03:44:52 PM
It works great for me the only strange thing that happens is on normal wood.  The script will do a 60k pile of normal wood then stop and say out of wood even with other piles of normal wood in the chest.  It not a big deal because I just use normal wood when I need a few more points to get a an item.

Having the same problem C2 --- seems to only do one stack of wood and then it stops with the message at Vesper Museum: "All Done!  Halting..." using version 1.4c
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: karli10 on April 08, 2010, 03:45:28 PM
:-[

Hehe sorry im not much of a typer, i went back and added more info hope its allright :)

Sorry for missing that part, been working 12 hours today and my heads ina  tizzy :)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on April 08, 2010, 04:08:03 PM
i will look into that.  i bet i wrote the sub before i knew about #findindex.  i was not having an issue with that though when i put 15 piles of wood in a bag and let if fly
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Oracle on April 09, 2010, 02:34:47 PM
Running the Donater the last 2 days since upgrading to 1.4c has been coming up with the following arror message:

---------------------------
Error
---------------------------
The UO game client has crashed.  To report this crash, hit Control-C and paste the contents of your clipboard

into an email addressed to uobugs@uo.com with a description of what you were doing when it crashed.



Version: 7.0.6.4

Exception Id: 3221225477

Module: client.exe

Checksum: 2216677048



4195893

142443500


---------------------------
OK   
---------------------------
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Krusty The Klown on April 12, 2010, 07:25:34 AM
I've been getting the same message it happens to me as soon as i start it up regardless of location or whatever.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: m8243109 on April 13, 2010, 10:43:49 AM
Nice Donater I love it
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: fleur on April 17, 2010, 09:01:00 PM
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Pearls on May 22, 2010, 07:50:01 AM
Hi C2. I used this script today and after it recalls to the donation box, it opens the donation window, goes to page 2, says 400, goes to page 1 then donates. Kept doing it the entire run.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on May 22, 2010, 09:51:56 AM
Hi C2. I used this script today and after it recalls to the donation box, it opens the donation window, goes to page 2, says 400, goes to page 1 then donates. Kept doing it the entire run.
try 1.4b that seems more stable.  if you have crazy high ping or lag to a shard that may be an issue too
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Pearls on May 22, 2010, 11:18:56 AM
Version b also seems to give me the same. And actually the first donation it works perfect, but second and up it keeps doing as i mentioned above.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on May 22, 2010, 11:33:46 AM
Version b also seems to give me the same. And actually the first donation it works perfect, but second and up it keeps doing as i mentioned above.

I have to write two papers this weekend and design a binder to hold all of my work in it.  I have no clue what is going on.  I ran it for 2 hours straight just a couple of days ago.  Only issue i have heard are from crashes with the c version.  I won't be able to fuss with this for some time.  I am sorry - I wish i could get in there but I simply have no idea of how to replicate that myself.  if u open easy uo and keep tapping F7 you can see if it would work at a slower speed.  then we know it is a wait issue with gumps coming up in time.  Did they change the menu this last patch as part of their changes?
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Pearls on May 27, 2010, 10:23:37 AM
Did it the slow way but with same results. No idea of any menu changes either mate :) Sorry i'm of not much help.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on May 27, 2010, 10:34:57 AM
Did it the slow way but with same results. No idea of any menu changes either mate :) Sorry i'm of not much help.

Well, st said that there was a donation bag for museums now.  That may solve all of the problems really fast!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on May 27, 2010, 07:37:57 PM
the menu has changed man.  if u look at the menu the first item is now a donation bag
that is why locations are off
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Pearls on May 30, 2010, 12:16:04 PM
Yea just noticed, dont think it was there last i checked because then the script still worked for me ;)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: NObama on May 30, 2010, 03:45:42 PM
Just think: If the devs manage to eliminate ALL the useless clicking, we'll have to find another way to entertain ourselves, other than scripting!

 ;)
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: waggler on June 01, 2010, 11:29:19 AM
  how can i correct the      new click location?   with the  museum bag  added  ??  also the beetle keeps getting a  release gump. instead of opening,, 
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on June 01, 2010, 01:46:29 PM
  how can i correct the      new click location?   with the  museum bag  added  ??  also the beetle keeps getting a  release gump. instead of opening,, 

I'll do some work with it this weekend.  it will take some time to get all the locations redone.  I was going to wait to see if it was still useful with he bag and commodity deeds now being accepted.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: gargamell on June 26, 2010, 11:02:06 PM
Very cool script.  With a little bit of location changing, I managed to get this to work on a freeshard.  Thank a lot!

On a side note, I did try to modify this so the beetle would be mounted/dismounted, but failed miserably :(  I'm still very new to scripts.  Only wanted to try it because I was using a non-bonded pet.  Oh well.  Thanks again.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: mahavira on July 07, 2010, 08:45:00 PM
Works great. I couldn't get it to fully function on a free shard. I would have to change where it clicks on the gump at the Vesper Museum. But I don't care. I only have to click a button once when it donates. Thanks for the script.

::Edit::

Was able to just move the gump option to underneath where the mouse pointer clicks. Simple.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: dubloch77 on August 22, 2010, 02:52:45 PM
Sounds like an awesome script!
 :o
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: NObama on August 22, 2010, 03:01:24 PM
Sounds like an awesome script!
 :o

And yet, you'll never know for sure at this rate.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on August 22, 2010, 03:55:30 PM
not really needed anymore with everythign being donated with donate abg and comm deeds.  havent adjusted for bag yet either
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: dubloch77 on August 22, 2010, 04:03:39 PM
Sounds like an awesome script!
 :o

And yet, you'll never know for sure at this rate.
Not sure what you're getting at, but yeah, have a nice day too.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Cerveza on August 22, 2010, 04:14:50 PM
Sounds like an awesome script!
 :o

And yet, you'll never know for sure at this rate.
Not sure what you're getting at, but yeah, have a nice day too.


He's referring to the fact that when you first posted that, it was your FIRST post here at Script UO and you were in restricted status. You hadn't complied with the forum rules and posted your intro.

Your SECOND post was an introduction, which granted you Newbie status and access to the downloads.

Hopefully your next posts will be made with a bit more respect, especially to the ELITE members here at Script UO.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: dubloch77 on August 22, 2010, 04:26:19 PM
Sounds like an awesome script!
 :o

And yet, you'll never know for sure at this rate.
Not sure what you're getting at, but yeah, have a nice day too.


He's referring to the fact that when you first posted that, it was your FIRST post here at Script UO and you were in restricted status. You hadn't complied with the forum rules and posted your intro.

Your SECOND post was an introduction, which granted you Newbie status and access to the downloads.

Hopefully your next posts will be made with a bit more respect, especially to the ELITE members here at Script UO.
No disrespect intended, and apologies to all concerned.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: NObama on August 22, 2010, 06:02:32 PM
Apology accepted.  And, we do that to everyone who posts without putting up an introduction.

Welcome to the site.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: dubloch77 on August 24, 2010, 03:19:08 PM
Apology accepted.  And, we do that to everyone who posts without putting up an introduction.

Welcome to the site.
Thank you sir, I understand now. There will be no problems from myself - I'm a good guy.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Cerveza on September 02, 2010, 08:16:43 PM
Tried this tonight, fail.

Click spots aren't right, stuff isn't donating. Beetle isn't opening to transfer more resources to be donated.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on September 02, 2010, 08:54:24 PM
Tried this tonight, fail.

Click spots aren't right, stuff isn't donating. Beetle isn't opening to transfer more resources to be donated.
\

after they changed to donation bags I have not updated  maybe this weekend.  beetles exevent wasnt working right due to easy uo being broken with beetles.  it is not in good shape atm,  deeds are the way to go
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Cerveza on September 03, 2010, 06:24:43 AM
If it's not viable to pursue with the new systems for donation in place, please let me know and I'll archive the script as a learning tool.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on September 03, 2010, 09:08:24 AM
If it's not viable to pursue with the new systems for donation in place, please let me know and I'll archive the script as a learning tool.

that is exactly what i have been considerign doing.  feel free to move it.  i actually could too and have been considering that.  some free shard guys seem to use it still but it was meant for osi.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Cerveza on September 03, 2010, 09:15:42 AM
NOTE: This script is no longer needed for OSI shards since the ability to turn in deeds.

It is here for Free Shard users to use as a resource for making their own donation script.

The author DOES NOT SUPPORT FREE SHARDS so don't expect a reply if you ask for assistance.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: _C2_ on December 07, 2010, 04:50:20 AM
This would require a bit of a rewrite.  it only donates stacks of items that you have at a home or bank.  it doesnt buy or craft  etc.  I am sorry tosay it has 99.9% found its final resting point here.  The script that you seek really needs to be of a different framework; all library scripts are not that easily converted the same ways.   :(

I agree there is a market for them and they still are very profitable.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Deko3000 on August 14, 2011, 01:04:51 PM
work in my shard \o\

realy good man, grats for that is perfect :)
ty ^^
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: enrod on August 21, 2011, 11:09:46 AM
I am also a fan of this script! My only issue is targeting the buttons for donation. That seems to not work and my character is stuck in a loop saying the amount of wood in his container. Any help appreciated!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Endless Night on October 07, 2011, 07:35:13 AM
I am also a fan of this script! My only issue is targeting the buttons for donation. That seems to not work and my character is stuck in a loop saying the amount of wood in his container. Any help appreciated!

Use TM's offset helper tool to find the locations of the buttons in question and update your copy of the script with this new information..  


EDIT:  ow dam post rezz... lol didnt realize prior post was so old  !!! still good advice tho.
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: krisn on November 04, 2011, 05:08:39 PM
its great TY!
Title: Re: Donate-o-Matic (for library and museum donations)
Post by: Endless Night on December 21, 2015, 09:36:33 AM
I am also a fan of this script! My only issue is targeting the buttons for donation. That seems to not work and my character is stuck in a loop saying the amount of wood in his container. Any help appreciated!

Use TM's offset helper tool to find the locations of the buttons in question and update your copy of the script with this new information..  


EDIT:  ow dam post rezz... lol didnt realize prior post was so old  !!! still good advice tho.


For those looking for the tool it is:  http://www.scriptuo.com/index.php?topic=505.0;highlight=offset