Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 09-11-2006, 11:33 PM   #1 (permalink)
Forum Newbie
 
poorchava's Avatar
 
Join Date: May 2006
Location: Wroclaw, Poland
Age: 21
Posts: 63
Send a message via MSN to poorchava
Default Poorchava's Enchanted Tithing Gump

Credits
Thanks to Irian and daat99 for helping me with string to int conversion and preventing server crash on exceptions
Inspiration
Players on a shard where I am currently doing some scripting work were saying, that they are annoyed, because they have to carry all the gold they want to tithe from bank to the ankh, which in case of this shard is in an unguarded zone and rather far away from bank. Gold is rather heavy, and cannot be carried in any big amounts, and transporting a lot of money in a packy in an unguarded zone is very risky. This gave me an idea to write this script.
Description
Here is how it looks like:

Features
-Displays users current Tithing, gold in backpack and bank balance (including checks)
-Allows sacrificing money straightly from bank
-Player can decide to allow taking gold from bank or not
-As the old 'increase-amount-per-click' system would be quite unfunctional in this system, it was replaced with a TextEntry, where player enters how much gold he/she wants to sacrifice.
Installation
Drop TithingGump.cs into Scripts/Gumps directory and replace the existing one
Known Bugs/Glitches
I have tested this script for quite a ling time, especially the amount entering mechanism entering many various things, trying to crash the script. It worked poerfectly, but it's of course possible, that I forgot some possibility. If you encounter any bugs, please post them here.
Attached Files
File Type: cs TithingGump.cs (4.6 KB, 105 views)

Last edited by poorchava; 09-12-2006 at 07:56 PM.
poorchava is offline   Reply With Quote
Old 09-12-2006, 05:42 AM   #2 (permalink)
Forum Expert
 
Iomega0318's Avatar
 
Join Date: Feb 2005
Location: Dirt City,TX
Age: 21
Posts: 608
Send a message via ICQ to Iomega0318 Send a message via AIM to Iomega0318 Send a message via MSN to Iomega0318 Send a message via Yahoo to Iomega0318
Default

Good Work, I will give this a try later..
__________________
-Lichking-
"I believe in Christianity as I believe in the sun...
not because I see it but because by it I see everything else."
C.S. Lewis

Heed what I say, for it shall be mentioned only once.

Iomega0318 is offline   Reply With Quote
Old 09-12-2006, 11:25 AM   #3 (permalink)
Forum Newbie
 
Join Date: Apr 2006
Posts: 21
Default

pls pls make this work with runuo vrs 2
wannabe is offline   Reply With Quote
Old 09-12-2006, 11:41 AM   #4 (permalink)
Forum Newbie
 
poorchava's Avatar
 
Join Date: May 2006
Location: Wroclaw, Poland
Age: 21
Posts: 63
Send a message via MSN to poorchava
Default RunUO 2.0 Compatible Now!

hmm... i dunno how if somebody tells me how, i will do so

EDIT: Fixed one major bug, and by the way made RunUO 2.0 compatible. The same script works with both RunUO versions.

Last edited by poorchava; 09-12-2006 at 07:55 PM.
poorchava is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5