Author Topic: Donate-o-Matic (for library and museum donations)  (Read 67038 times)

0 Members and 1 Guest are viewing this topic.

Offline Petkiller

  • Full Member
  • ***
  • Posts: 112
  • Activity:
    0%
  • Reputation Power: 0
  • Petkiller has no influence.
  • Respect: +7
  • Referrals: 2
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #60 on: March 07, 2010, 07:40:40 PM »
0
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.

Offline newbielove

  • Jr. Member
  • **
  • Posts: 15
  • Activity:
    0%
  • Reputation Power: 0
  • newbielove has no influence.
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #61 on: March 26, 2010, 08:18:11 AM »
0
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

Offline _C2_Topic starter

  • AFK FtW
  • Global Moderator
  • *
  • *
  • Posts: 4077
  • Activity:
    0%
  • Reputation Power: 48
  • _C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!
  • RIP Pen Trick
  • Respect: +254
  • Referrals: 4
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #62 on: March 26, 2010, 09:18:38 AM »
0
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.

Offline newbielove

  • Jr. Member
  • **
  • Posts: 15
  • Activity:
    0%
  • Reputation Power: 0
  • newbielove has no influence.
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #63 on: March 26, 2010, 10:44:45 AM »
0
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!

Offline rana70

  • Elite
  • *
  • *
  • Posts: 294
  • Activity:
    0%
  • Reputation Power: 5
  • rana70 has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 2
    • View Profile
    • MyScripts
Re: Donate-o-Matic (for library and museum donations)
« Reply #64 on: March 26, 2010, 10:58:16 AM »
0
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
« Last Edit: March 26, 2010, 11:11:35 AM by rana70 »

Offline newbielove

  • Jr. Member
  • **
  • Posts: 15
  • Activity:
    0%
  • Reputation Power: 0
  • newbielove has no influence.
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #65 on: March 26, 2010, 12:40:11 PM »
0
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 :)

Scrripty

  • Guest
Re: Donate-o-Matic (for library and museum donations)
« Reply #66 on: March 26, 2010, 12:57:48 PM »
0
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... :)

Offline newbielove

  • Jr. Member
  • **
  • Posts: 15
  • Activity:
    0%
  • Reputation Power: 0
  • newbielove has no influence.
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #67 on: March 26, 2010, 01:07:26 PM »
0
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?

Offline rana70

  • Elite
  • *
  • *
  • Posts: 294
  • Activity:
    0%
  • Reputation Power: 5
  • rana70 has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 2
    • View Profile
    • MyScripts
Re: Donate-o-Matic (for library and museum donations)
« Reply #68 on: March 26, 2010, 01:14:07 PM »
0
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 ...

Offline _C2_Topic starter

  • AFK FtW
  • Global Moderator
  • *
  • *
  • Posts: 4077
  • Activity:
    0%
  • Reputation Power: 48
  • _C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!
  • RIP Pen Trick
  • Respect: +254
  • Referrals: 4
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #69 on: March 26, 2010, 01:24:40 PM »
0
correct

Offline newbielove

  • Jr. Member
  • **
  • Posts: 15
  • Activity:
    0%
  • Reputation Power: 0
  • newbielove has no influence.
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #70 on: March 26, 2010, 01:49:32 PM »
0
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!
« Last Edit: March 26, 2010, 02:02:42 PM by newbielove »

Offline karli10

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • karli10 has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #71 on: April 08, 2010, 12:44:22 PM »
0
just trying to figure out how to download this script...

from what ive read its all i need :)

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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: Donate-o-Matic (for library and museum donations)
« Reply #72 on: April 08, 2010, 01:05:49 PM »
0
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!
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Oracle

  • Hero Member
  • *
  • Posts: 888
  • Activity:
    0%
  • Reputation Power: 14
  • Oracle barely matters.Oracle barely matters.
  • Gender: Male
  • We always want something that we cannot have...!
  • Respect: +97
  • Referrals: 3
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #73 on: April 08, 2010, 03:44:52 PM »
0
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
ORACLE
Get me a Straw...because I suck...!
PIXEL CRACK -- Love it! Crave it! Want it! Got to have it!

Offline karli10

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • karli10 has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Donate-o-Matic (for library and museum donations)
« Reply #74 on: April 08, 2010, 03:45:28 PM »
0
:-[

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 :)

Tags: