Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 01-30-2006, 05:19 PM   #1 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Thumbs up Alpha Gold Ledger (special abilities)

http://www.runuo.com/forums/showthre...548#post503548

Last edited by Joeku; 04-22-2006 at 04:03 PM. Reason: New Thread
Joeku is offline  
Old 01-31-2006, 12:01 AM   #2 (permalink)
Account Terminated
 
Join Date: Apr 2004
Location: Titusville PA
Age: 26
Posts: 975
Default

Very nice and I love the gump well done indeed.
evil lord kirby is offline  
Old 01-31-2006, 12:50 AM   #3 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

Thanks!

v1.0 > v1.1
Alpha Gold Ledger v1.1 now posted, please replace the following: "Alpha Gold Ledger v1.0.cs" with the updated version.
Info: fixed bug that would let players use the ledger while it was out of their pack.

Last edited by Joeku; 01-31-2006 at 12:59 AM.
Joeku is offline  
Old 01-31-2006, 07:02 PM   #4 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

Okay, v1.1 reposted...

It had a bug (that I'd accidentally created) which didn't let players use the Gold Ledger at all... no worries though, everything's fixed now
Joeku is offline  
Old 02-01-2006, 08:08 PM   #5 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

v1.1 > v1.2
Alpha Gold Ledger v1.2 now posted, please replace the following: "Alpha Gold Ledger v1.1.cs" with the updated version.
Info: fixed two null crashes.

***EDIT***
File actually posted now sorry!

Last edited by Joeku; 02-01-2006 at 09:22 PM.
Joeku is offline  
Old 02-02-2006, 11:17 AM   #6 (permalink)
 
Join Date: Mar 2004
Location: Turin, Italy
Age: 26
Posts: 71
Send a message via ICQ to blueocean Send a message via MSN to blueocean
Default

in Scripts/Items/Misc/Gold.cs

Code:
using System;

namespace Server.Items
{
	public class Gold : Item
	{
....
to

Code:
using System;
using Server.Mobiles;

namespace Server.Items
{
	public class Gold : Item
	{
then this is Container.cs fixed without token ledger
Attached Files
File Type: zip Container.zip (3.0 KB, 16 views)
blueocean is offline  
Old 02-02-2006, 04:28 PM   #7 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

v1.2 > v1.3
Alpha Gold Ledger v1.3 now posted, please replace the following: "Gold.cs, Container.cs" with the updated version.
Info: added/removed some forgotten code in files (thanx blueocean).

What happened: All of the files included with this Gold Ledger were already modified for my shard, so it looks like I forgot to add/remove some of the code. Again, thanx blueocean for the report.
Joeku is offline  
Old 02-03-2006, 12:02 AM   #8 (permalink)
Forum Expert
 
Join Date: Nov 2004
Posts: 1,656
Send a message via ICQ to Murzin Send a message via AIM to Murzin Send a message via MSN to Murzin
Default

hrm.. i had cut down the code on the 1.2 version to 20k from 21.5k.

i gotta do all that work again?

it seems like joeku has never heard of an in-line if statement.
Murzin is offline  
Old 02-03-2006, 04:55 PM   #9 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

If you'd compare both scripts with WinMerge, you'd see that the mod to fix this bug was very small
Joeku is offline  
Old 02-04-2006, 02:11 PM   #10 (permalink)
 
Join Date: May 2003
Posts: 303
Default

Any future plans to be able to use this with Daats tokens so it does both tokens and gold?
Anvil is offline  
Old 02-04-2006, 04:43 PM   #11 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

I'd originally made a "Currency Ledger" that held both gold and tokens, but it got very confusing/difficult to use. I might re-make it sometime later...
Joeku is offline  
Old 02-10-2006, 09:46 PM   #12 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 222
Default

Just installed this without reading all the posts about it, big mistake, because I use both Daat99 token ledgers and this, and for some reason it's not picking up the gold when I kill something, and it's not picking up the gold when I walk over it. Please tell me what I can do?
seanandre is offline  
Old 02-10-2006, 10:27 PM   #13 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

While my Gold Ledger was based on daat99's token system, it does not affect daat99's token system whatsoever. You need to make sure to distribute the distro files (BaseCreature.cs, Gold.cs) for the special abilities to work. If you want the rest of the stuff to work (only one ledger allowed per player, direct vendor buy from ledger) distribute the rest of the distro files. If you have daat99's full OWLTR, you will need to use WinMerge to merge the files.
Joeku is offline  
Old 02-10-2006, 11:52 PM   #14 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 222
Default

I did this. The server started fine with all of the merged files, but here's what I did to test it. I went to Destard and started fighting dragons. checked the gold ledger after I killed each dragon, and checked corpses and saw that the gold was still on them. Checked the ledger, no gold was in it. I then took the gold out of one of the corpses and placed it on te ground and walked on it and the ledger didn't pick it up.
seanandre is offline  
Old 02-11-2006, 11:35 AM   #15 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

Did you manually kill the dragon, or did you use the [Kill command?
Did you have the ledger in a sub-container in your pack, or was it straight in your pack?
Did you have the ledger set to "Gold Auto-Loot: Enabled" and "Gold Sweeper: Enabled"?

Edit: I just killed the dragon manually, worked fine.
Tried it with the ledger in a sub-container, worked fine.

Make sure that you have the Auto-Loot and Sweeper enabled. If you do and it still doesn't work, then you didn't install it right. If you refuse to accept that you installed it wrong, please show me your Gold.cs and BaseCreature.cs files.

Last edited by Joeku; 02-11-2006 at 11:41 AM.
Joeku is offline  
Old 02-11-2006, 11:46 AM   #16 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 222
Default

I'll try it again, and report my findings.

Thanks,
Sean
seanandre is offline  
Old 02-22-2006, 06:31 AM   #17 (permalink)
Forum Novice
 
Join Date: Feb 2006
Location: Wisconsin USA
Posts: 211
Default gold ledger

i in stalled Alpha gold ledger ran the server got this error: Scripts\Customs\New\Mule.cs:CS00115: <line 81, column 24 'Server.Mobiles.Mule.OnbeforeTame<>' : No suitable method found to override


not sure how to fix this

Last edited by Boulder; 02-22-2006 at 11:16 AM.
Boulder is offline  
Old 02-22-2006, 02:55 PM   #18 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by Boulder
i in stalled Alpha gold ledger ran the server got this error: Scripts\Customs\New\Mule.cs:CS00115: <line 81, column 24 'Server.Mobiles.Mule.OnbeforeTame<>' : No suitable method found to override


not sure how to fix this
If this system requires a BaseCreature edit (or replaced) then you seem to have lost part of Daat99's edit.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline  
Old 02-22-2006, 05:30 PM   #19 (permalink)
Forum Novice
 
Join Date: Feb 2006
Location: Wisconsin USA
Posts: 211
Default alpha gold ledger

ok got back had to get red of alpha gold ledger i conflic with Daat99sOwltr v2
would like to know how i can get the alpha ledger to work.


thanks for you help

Last edited by Boulder; 02-22-2006 at 08:06 PM.
Boulder is offline  
Old 02-24-2006, 10:28 PM   #20 (permalink)
Forum Novice
 
Join Date: Feb 2006
Location: Wisconsin USA
Posts: 211
Default alpha gold ledger

ok got the ledger to work but how do i bring stone count down it ways to much
Boulder is offline  
Old 02-24-2006, 11:03 PM   #21 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

Quote:
Originally Posted by Boulder
ok got the ledger to work but how do i bring stone count down it ways to much
In Alpha Gold Ledger v1.3.cs:
Code:
using System;
using System.Collections;
using Server;
using Server.Targeting;
using Server.Mobiles;
using Server.Gumps;
using Server.Misc;
using Server.Network;

namespace Server.Items
{
	public class GoldLedger : Item
	{
		public bool b_open = false;
		private int i_Gold;
		private bool b_GoldAutoLoot = true;
		private bool b_GoldSweeper = true;
		public int i_Selection = 0;
		public double d_WeightScale = 0.0002;
Make the weight scale something even less, like 0.00005. If you make the weight scale 0, it will weigh nothing and no longer display it's weight as a label when you highlight it. You can also change weight scales individually in-game.
Joeku is offline  
Old 03-12-2006, 03:38 PM   #22 (permalink)
 
Join Date: May 2003
Posts: 303
Default

Ok, I'm having a small problem... I can get gold to automatically pick up off the ground but if the gold is inside a corpse it won't auto-loot it. Any idea why? I've gone through the installation time and time again... anyone else having this problem?
Anvil is offline  
Old 03-12-2006, 08:19 PM   #23 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

It only currently loots the gold from corpses at the time of the creature's death, if the killer is within 15 tiles of the creature and the killer is carrying a gold ledger. It doesn't loot gold off of corpses that it doesn't have looting rights to, since that could lead to some really bad **** (ex. you are at a champ spawn, using Razor to auto-open corpses... automatically loots gold and makes you criminal, and then people gang up and kill you and take all of your stuff... bad scenario )

It'd be pretty easy to make a mod for this, but I'm not going to include it in the public release unless I can hear a good argument as to why...

If you want me to help you make a mod for this, contact me in private.
Joeku is offline  
Old 03-12-2006, 08:31 PM   #24 (permalink)
 
Join Date: May 2003
Posts: 303
Default

No, in testing I'm an Admin and on my admin character. I do a [kill on a creature but the gold stays on the corpse... is it supposed to stay on corpse when this happens?
Anvil is offline  
Old 03-14-2006, 12:20 AM   #25 (permalink)
 
Join Date: May 2003
Posts: 303
Default

Ok, my bad... it's working fine. I guess using [kill doesn't work well with it
Anvil is offline  
 

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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5