ScriptUO

Ultima Online Fan Board => General UO Chat => Topic started by: alonzo104 on January 17, 2013, 02:17:55 PM

Title: Script to count mil checks, and their value.
Post by: alonzo104 on January 17, 2013, 02:17:55 PM
I'm looking for a script to count how many checks, and the total value of said checks.   I know there used to be one, but I can't seem to find it for the life of me.
Title: Re: Script to count mil checks, and their value.
Post by: Endless Night on January 17, 2013, 02:25:40 PM
 i know I have code for it someplace...  in one of my librarys probably.... Dont have time right now to look for it...

for a basic count checks just do  (i rember you must have no other deed types in the open containors.. and carnt remember what the checktype is.

Code: [Select]
finditem <checktype> C_
display ok number of checks = #findcnt


Title: Re: Script to count mil checks, and their value.
Post by: Crome969 on January 18, 2013, 01:43:04 AM
I'm looking for a script to count how many checks, and the total value of said checks.   I know there used to be one, but I can't seem to find it for the life of me.
If you are not afraid using stealth i show you a sample at home;)
Title: Re: Script to count mil checks, and their value.
Post by: Endless Night on January 18, 2013, 09:42:48 AM
i think it got resolved in teh shoutbox by the suggestion of using the house placement tool, which gives your total bank balance (checks and coins)
Title: Re: Script to count mil checks, and their value.
Post by: Crome969 on January 18, 2013, 10:33:26 AM
i think it got resolved in teh shoutbox by the suggestion of using the house placement tool, which gives your total bank balance (checks and coins)
Only works when in bank , tell me how you count in house?:)
Title: Re: Script to count mil checks, and their value.
Post by: Nellie on January 18, 2013, 11:48:36 AM
You can use a House placement tool anywhere, so if its on your person you can double click it and select one of the buttons, on that page it will tell you how much cash you have in your bank.

Nel
Title: Re: Script to count mil checks, and their value.
Post by: Crome969 on January 18, 2013, 02:11:36 PM
You can use a House placement tool anywhere, so if its on your person you can double click it and select one of the buttons, on that page it will tell you how much cash you have in your bank.

Nel
That were not what i were talking about...

Situation 1 : You have Gold in bank -> HPT anywhere
Situation 2 : Checks in House , Beetle , Bags or whatever .. HPT not working for those..
Title: Re: Script to count mil checks, and their value.
Post by: Nellie on January 18, 2013, 02:25:07 PM
Ahhh i see, all my GP on either Vendor or Bank, so easy to see :)

Nel.
Title: Re: Script to count mil checks, and their value.
Post by: NObama on January 18, 2013, 07:21:39 PM
I've never had enough gold to worry about counting it all...must be nice!

I'm sure Ultima has figured out how to count his billions efficiently...ask him!
Title: Re: Script to count mil checks, and their value.
Post by: manwinc on January 18, 2013, 07:53:04 PM
Billions you store on vendors.
Title: Re: Script to count mil checks, and their value.
Post by: alonzo104 on January 19, 2013, 01:21:55 AM
Yea more for house transfers and such, where 100's of mill on are in a trade window. 

But the reason I was looking was I was brokering a castle sale, and I was in possession on hundreds upon hundreds of mills, and I didn't want to have to hover over each damn check to see if it was 1,000,000. 
Which I ended up having to do.  Was only shorted 840k.  Not bad!  Although, someone should make a script to count the checks, and their value in all open bags.  It'd be an awesome late (or early, depending how you look at it) birthday gift.
Title: Re: Script to count mil checks, and their value.
Post by: Endless Night on January 21, 2013, 07:21:05 AM
i have the code for it and have done it already  (codes in my bank library file)... ill cut it into a seperate script in a moment...
Title: Re: Script to count mil checks, and their value.
Post by: Endless Night on January 21, 2013, 07:34:08 AM
and that quick its done (its good to have code librarys)...  http://www.scriptuo.com/index.php?topic=10813.0 (http://www.scriptuo.com/index.php?topic=10813.0)
Title: Re: Script to count mil checks, and their value.
Post by: Masscre on January 21, 2013, 08:30:32 AM
and that quick its done (its good to have code librarys)...  http://www.scriptuo.com/index.php?topic=10813.0 (http://www.scriptuo.com/index.php?topic=10813.0)

Its just good to have abunch of great guys around to learn from  :)
Title: Re: Script to count mil checks, and their value.
Post by: KaliOfLS on January 21, 2013, 09:26:34 AM
so, there was this guy walking around dropping a bag on people, showing them like 10 checks, and closing it.  Then asking them to guess the amount.  If they got it right, they got the bag.

I wrote a script to do that.. then he quit doing it :(  I was so sad.  I almost got like a free 5 mil.  He dropped it on one of my characters.  I only had time to inspect 2 checks and both were 1 mil.  So I guess 10 mil and was wrong.  lol.   Then I wrote the script and logged into another character.  No go.  Now only if I had saved it.  Looks like EN has got ya covered though.
Title: Re: Script to count mil checks, and their value.
Post by: alonzo104 on January 25, 2013, 02:34:14 AM
I really appreciate it.  I'm a newb when it comes to writing scripts, but I'm actually beginning to learn.  Its easier for me to learn from seeing a working code, then it is to read a how-to... if that makes any damn sense.
Title: Re: Script to count mil checks, and their value.
Post by: Endless Night on January 25, 2013, 06:15:13 AM
I really appreciate it.  I'm a newb when it comes to writing scripts, but I'm actually beginning to learn.  Its easier for me to learn from seeing a working code, then it is to read a how-to... if that makes any damn sense.

thats how probably all of us learned originally...  but the wikki is always usefull to look up the specifics of a command.
Title: Re: Script to count mil checks, and their value.
Post by: KaliOfLS on January 25, 2013, 08:06:48 AM
except cheffe.