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 08-23-2005, 12:54 AM   #26 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default

Quote:
Originally Posted by bzk90
you guys do realize that your only resubmit your own work, i thought the mods were pretty clear about this when they posted in the archive about it
Yes this thread should be in the modifications and BUGfixes subforum maybe? :P
Kamuflaro is offline  
Old 08-23-2005, 09:57 PM   #27 (permalink)
 
Join Date: Jul 2005
Location: Florida
Age: 28
Posts: 54
Send a message via ICQ to HalfDead Send a message via Yahoo to HalfDead
Default ok i was going to eat my toung but

ok i posted that the order guard did not accept the head but after the new install i have a different outcome

i ran a few clients and have a murderer some counts and bountys and for some reason when i try to give the head to the order guard (i tried every combonation) it says the owner did not aprove the reward for me. how can i fix this please?
HalfDead is offline  
Old 08-23-2005, 10:26 PM   #28 (permalink)
 
Join Date: Aug 2004
Location: 127.0.0.1
Age: 35
Posts: 234
Send a message via ICQ to Thundar
Default

Quote:
Originally Posted by HalfDead
ok i posted that the order guard did not accept the head but after the new install i have a different outcome

i ran a few clients and have a murderer some counts and bountys and for some reason when i try to give the head to the order guard (i tried every combonation) it says the owner did not aprove the reward for me. how can i fix this please?
Before u can go for the bounty the person who placed the bounty MUST approve u to accept the bounty...this is to prevent murderers from collecting their own head.


Quote:
Kamuflaro Quote:
Originally Posted by bzk90
you guys do realize that your only resubmit your own work, i thought the mods were pretty clear about this when they posted in the archive about it

Yes this thread should be in the modifications and BUGfixes subforum maybe? :P
Yesterday 10:04 PM
bzk90 you guys do realize that your only resubmit your own work, i thought the mods were pretty clear about this when they posted in the archive about it
One of the mods did suggest moving it from the archive to the correct place, however i did not post it here i am just adding to the thread, but yes this should have probably been posted in Script Modifications or sumthin ...no biggie if a mod decides to move it... np with me
Thundar is offline  
Old 08-24-2005, 10:31 PM   #29 (permalink)
 
Join Date: Jul 2005
Location: Florida
Age: 28
Posts: 54
Send a message via ICQ to HalfDead Send a message via Yahoo to HalfDead
Default

[quote=Thundar]Before u can go for the bounty the person who placed the bounty MUST approve u to accept the bounty...this is to prevent murderers from collecting their own head.

how does one do this? how do i approve it because i do not get a pop up window.
note: not trying collect my own head.
HalfDead is offline  
Old 08-24-2005, 11:33 PM   #30 (permalink)
 
Join Date: Aug 2004
Location: 127.0.0.1
Age: 35
Posts: 234
Send a message via ICQ to Thundar
Default

[quote=HalfDead]
Quote:
Originally Posted by Thundar
Before u can go for the bounty the person who placed the bounty MUST approve u to accept the bounty...this is to prevent murderers from collecting their own head.

how does one do this? how do i approve it because i do not get a pop up window.
note: not trying collect my own head.
u need 3 players to do this ( NOTE - you cannot collect on yer own head or yer own bounty).

example:

A kills B
B reports A and posts a bounty for A
C sees the bounty on board
C makes a request on the board
B gets a gump that says someone wants to take the bounty
B must then go to the board and under edit shoose who he wants to go for the head
B approves C to go for the head there
C gets a gump say he is approved to go for the head
C kills A and takes head to Order Guard for reward


It is done this way so that u cannot take yer own head nor can u collect on yer own bounty.

Hope that helps you understand a lil better
Thundar is offline  
Old 08-24-2005, 11:51 PM   #31 (permalink)
 
Join Date: Jul 2005
Location: Florida
Age: 28
Posts: 54
Send a message via ICQ to HalfDead Send a message via Yahoo to HalfDead
Default thank you

thank you
HalfDead is offline  
Old 09-01-2005, 04:23 PM   #32 (permalink)
 
Join Date: Jul 2005
Posts: 9
Default

Quote:
Originally Posted by Thundar
THIS IS NOT MY SCRIPT IT WAS ONLY EDITED BY ME AND ADMIN GOD WITH THE HELP OF XANTHOS TO MAKE THIS SCRIPT UPTO DATE WITH RUNUO 1.0......I DO NOT MAKE ANY CLAIMS TO THIS SCRIPT.. BUT IT IS NOW FIXED AND RUNNING ON MY SHARD AND IT SEEMS TO WORK PERFECTLY AS DESCRIBED IN THE READ ME THE ORIGINAL AUTHOR ADMIN DELPHI SEEMS TO NO LONGER SUPPORT THIS SCRIPT BUT I LIKED IT AND SO HERE IT IS....enjoy and if for some reason the original author returns and wishes this removed all he has to do is say so and i will remove it Once again thank you Xanthos for the help

here is my problem;

Code:
Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 1.1.4322.2032
Time: 01.09.2005 21:31:01
Mobiles: 26876
Items: 142481
Clients:
- Count: 2
+ 127.0.0.1: (account = zoppo) (mobile = 0x6769 'Zoppo')
+ 127.0.0.1: (account = zozo) (mobile = 0x1 'Bane')

Exception:
System.Exception: World Save event threw an exception.  Save failed! ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.BountySystem.BountyBoard.saveGlobalList(WorldSaveEventArgs e)
   at Server.WorldSaveEventHandler.Invoke(WorldSaveEventArgs e)
   at Server.World.Save(Boolean message)
   --- End of inner exception stack trace ---
   at Server.World.Save(Boolean message)
   at Server.World.Save()
   at Server.DelayCallTimer.OnTick()
   at Server.Timer.Slice()
   at Server.Core.Main(String[] args)
any idea about fix this?
zozoz77 is offline  
Old 09-01-2005, 04:39 PM   #33 (permalink)
 
Join Date: Aug 2004
Location: 127.0.0.1
Age: 35
Posts: 234
Send a message via ICQ to Thundar
Default

Quote:
Originally Posted by zozoz77
here is my problem;

Code:
Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 1.1.4322.2032
Time: 01.09.2005 21:31:01
Mobiles: 26876
Items: 142481
Clients:
- Count: 2
+ 127.0.0.1: (account = zoppo) (mobile = 0x6769 'Zoppo')
+ 127.0.0.1: (account = zozo) (mobile = 0x1 'Bane')

Exception:
System.Exception: World Save event threw an exception.  Save failed! ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.BountySystem.BountyBoard.saveGlobalList(WorldSaveEventArgs e)
   at Server.WorldSaveEventHandler.Invoke(WorldSaveEventArgs e)
   at Server.World.Save(Boolean message)
   --- End of inner exception stack trace ---
   at Server.World.Save(Boolean message)
   at Server.World.Save()
   at Server.DelayCallTimer.OnTick()
   at Server.Timer.Slice()
   at Server.Core.Main(String[] args)
any idea about fix this?
You should have yer Bounties.xml and BountySchema.xsd in a folder called Bounty System which is located in yer data folder in the main directory...so it should look like this:

RunUO 10.0/Data/Bounty System/Bounties.xml and BountySchema.xsd
Thundar is offline  
Old 09-01-2005, 05:32 PM   #34 (permalink)
 
Join Date: Jul 2005
Posts: 9
Default

Quote:
Originally Posted by Thundar
You should have yer Bounties.xml and BountySchema.xsd in a folder called Bounty System which is located in yer data folder in the main directory...so it should look like this:

RunUO 10.0/Data/Bounty System/Bounties.xml and BountySchema.xsd

i have Data\bounty system\BountySchema.xsd but no bounties.xml, bounties.xml file is not created
zozoz77 is offline  
Old 09-01-2005, 06:08 PM   #35 (permalink)
 
Join Date: Aug 2004
Location: 127.0.0.1
Age: 35
Posts: 234
Send a message via ICQ to Thundar
Default

Quote:
Originally Posted by zozoz77
i have Data\bounty system\BountySchema.xsd but no bounties.xml, bounties.xml file is not created
u need to redownload the folder i uploaded here cause it is in the folder on page 2 of this thread. Once u have that and in the right place it will work just fine
Thundar is offline  
Old 09-02-2005, 06:37 AM   #36 (permalink)
 
Join Date: Jul 2005
Posts: 9
Default

Quote:
Originally Posted by Thundar
u need to redownload the folder i uploaded here cause it is in the folder on page 2 of this thread. Once u have that and in the right place it will work just fine

Code:
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
  <Bounty>
    <Price>1000</Price>
    <ExpireTime>2005-08-13T18:04:29.8623750-05:00</ExpireTime>
    <Owner>
      <Name>Bad Candy</Name>
      <Serial>49</Serial>
    </Owner>
    <Wanted>
      <Name>Pariah</Name>
      <Serial>489</Serial>
    </Wanted>
    <Accepted>
      <Name>Havoc The Creator</Name>
      <Serial>2351</Serial>
    </Accepted>
  </Bounty>
</NewDataSet>

i have tried your bounties.xml but your bounites.xml file includes some kills, when i tried to save after without a bounty, bounties.xml has been changed to bounties.bak and no bounties.xml in Data\Bounty System. fnally when i have tried save after bounty i got same error msg....

Code:
Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 1.1.4322.2032
Time: 01.09.2005 21:31:01
Mobiles: 26876
Items: 142481
Clients:
- Count: 2
+ 127.0.0.1: (account = zoppo) (mobile = 0x6769 'Zoppo')
+ 127.0.0.1: (account = zozo) (mobile = 0x1 'Bane')

Exception:
System.Exception: World Save event threw an exception.  Save failed! ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.BountySystem.BountyBoard.saveGlobalList(WorldSaveEventArgs e)
   at Server.WorldSaveEventHandler.Invoke(WorldSaveEventArgs e)
   at Server.World.Save(Boolean message)
   --- End of inner exception stack trace ---
   at Server.World.Save(Boolean message)
   at Server.World.Save()
   at Server.DelayCallTimer.OnTick()
   at Server.Timer.Slice()
   at Server.Core.Main(String[] args)
zozoz77 is offline  
Old 09-02-2005, 01:53 PM   #37 (permalink)
 
Join Date: Aug 2004
Location: 127.0.0.1
Age: 35
Posts: 234
Send a message via ICQ to Thundar
Default

Sorry bout that try this one in place of the bounty system folder that goes in the data folder...i sent the one that i was using for testing on accident hehe
Attached Files
File Type: rar bounty system.rar (821 Bytes, 45 views)
Thundar is offline  
Old 09-02-2005, 02:37 PM   #38 (permalink)
 
Join Date: Jul 2005
Posts: 9
Thumbs up

Quote:
Originally Posted by Thundar
Sorry bout that try this one in place of the bounty system folder that goes in the data folder...i sent the one that i was using for testing on accident hehe

thanks a lot man, its working now
zozoz77 is offline  
Old 09-02-2005, 04:40 PM   #39 (permalink)
 
Join Date: Aug 2004
Location: 127.0.0.1
Age: 35
Posts: 234
Send a message via ICQ to Thundar
Default

Quote:
Originally Posted by zozoz77
thanks a lot man, its working now

Kewl glad u got it workin


*i just updated the download on page 2 of this thread - that fixed the bounties.xml so now all u need to do is download that and u should be good as long as u follow the instructions in the package - again thanx for posting the error
Thundar is offline  
Old 10-31-2005, 08:20 AM   #40 (permalink)
Forum Expert
 
Packer898's Avatar
 
Join Date: Dec 2004
Location: Tulsa, Oklahoma
Age: 35
Posts: 2,378
Send a message via ICQ to Packer898 Send a message via MSN to Packer898
Default

Having an issue. I have updated to the .rara above and replaced the bounty sytem folder but after I save the world and reboot I keep getting this error.

Code:
10/31-06:17 Could not open .\data\bounty system\Bounties.xml.
10/31-06:17 .\data\bounty system\Bounties.xml must be in .\Data\Bounty System
10/31-06:17 This is okay if this is the first run after installation of the Boun
ty system.
I have replaced this several times and it always comes up with this message after the first boot. Idea's?
Packer898 is offline  
Old 11-07-2005, 05:48 PM   #41 (permalink)
Forum Expert
 
Packer898's Avatar
 
Join Date: Dec 2004
Location: Tulsa, Oklahoma
Age: 35
Posts: 2,378
Send a message via ICQ to Packer898 Send a message via MSN to Packer898
Default

I take it that the author is not actively supporting this anymore?
Packer898 is offline  
Old 11-07-2005, 06:27 PM   #42 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Smile

Quote:
Having an issue. I have updated to the .rara above and replaced the bounty sytem folder but after I save the world and reboot I keep getting this error.


Code:
10/31-06:17 Could not open .\data\bounty system\Bounties.xml.10/31-06:17 .\data\bounty system\Bounties.xml must be in .\Data\Bounty System10/31-06:17 This is okay if this is the first run after installation of the Bounty system.


I have replaced this several times and it always comes up with
I'll help you.

take your Bounties.xml from your customs folder (or where ever you put it), and drop it in your RunUO Folder/Data/Bounty System folder.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline  
Old 11-07-2005, 08:16 PM   #43 (permalink)
Forum Expert
 
Packer898's Avatar
 
Join Date: Dec 2004
Location: Tulsa, Oklahoma
Age: 35
Posts: 2,378
Send a message via ICQ to Packer898 Send a message via MSN to Packer898
Default

Quote:
Originally Posted by Lucid Nagual
I'll help you.

take your Bounties.xml from your customs folder (or where ever you put it), and drop it in your RunUO Folder/Data/Bounty System folder.
Thanks ive already tried this numerous times. I am unfortunately not at home right now and will re-look thru everything again tonight. Maybe I missed something.
Packer898 is offline  
Old 11-08-2005, 12:05 AM   #44 (permalink)
Forum Expert
 
Join Date: Oct 2004
Location: New York
Age: 28
Posts: 688
Default

nice script

i seem to be getting this error when its loading up, the only thing i changed was the name Head to VooDooHead, the voodoo doll system uses just about the same props as the head from this system. The error would come from just changing the name around anyway, any idea's? this happens each time it tries to start up.

Code:
World: Loading...An error was encountered while loading a saved object
 - Type: Server.Items.VooDooHead
 - Serial: 0x401A614B
Delete the object? (y/n)
y
Delete all objects of that type? (y/n)
n
After pressing return an exception will be thrown and the server will terminate

Error:
System.Exception: Load failed (items=True, mobiles=False, guilds=False, regions=
False, type=Server.Items.VooDooHead, serial=0x401A614B) ---> System.ArgumentOutO
fRangeException: Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxV
alue.Ticks.
Parameter name: ticks
   at System.DateTime..ctor(Int64 ticks)
   at Server.BinaryFileReader.ReadDateTime()
   at Server.Items.VooDooHead.Deserialize(GenericReader reader)
   at Server.World.Load()
   --- End of inner exception stack trace ---
   at Server.World.Load()
   at Server.ScriptCompiler.Compile(Boolean debug)
   at Server.Core.Main(String[] args)
This exception is fatal, press return to exit
X-SirSly-X is offline  
Old 11-08-2005, 12:22 AM   #45 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Smile

I think I might know what it is. Let me d/l it and check.

Post your VooDooHead. Actually post both of them. Would it be ok if they were merged? If so I will do it for you and leave you instructions on how to do it without losing the heads.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline  
Old 11-08-2005, 12:34 AM   #46 (permalink)
Forum Expert
 
Join Date: Oct 2004
Location: New York
Age: 28
Posts: 688
Default

its the exact same head that came w/ the script here in post #1, only thing that is changed is the name from Head to VooDooHead.

Code:
using System;
using Server;

//Bounty System Start
using Server.BountySystem;
//End Bounty System


namespace Server.Items
{
	public class VooDooHead : Item
	{
//bount system here
		private DateTime m_CreationTime;
		private Mobile m_Owner;
		private Mobile m_Killer;
		private bool m_Player;

		[CommandProperty( AccessLevel.GameMaster )]
		public DateTime CreationTime
		{
			get{ return m_CreationTime; }
			set{ m_CreationTime = value; }
		}

		[CommandProperty( AccessLevel.GameMaster )]
		public Mobile Owner
		{
			get{ return m_Owner; }
			set{ m_Owner = value; }
		}

		[CommandProperty( AccessLevel.GameMaster )]
		public Mobile Killer
		{
			get{ return m_Killer; }
			set{ m_Killer = value; }
		}

		[CommandProperty( AccessLevel.GameMaster )]
		public bool IsPlayer
		{
			get{ return m_Player; }
			set{ m_Player = value; }
		}
		//end bounty system

		[Constructable]
		public VooDooHead() : this( null )
		{
		}

		[Constructable]
		public VooDooHead( string name ) : base( 0x1CE9 )
		{
			Name = name;
			Weight = 1.0;
		//bounty system
			m_Player = false;
			m_Owner = null;
			m_Killer = null;
			m_CreationTime = DateTime.Now;
		//end bounty system
				}


		
		public VooDooHead( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			
			//bounty system
			writer.Write( (int) 1 ); // version

			writer.Write( m_Player );
			writer.Write( m_CreationTime );

			if( m_Player )
			{
				writer.Write(  m_Owner );
				writer.Write(  m_Killer );
			}
			//end bounty system
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();
			//bounty system
			switch( version )
			{
				case 1:
				{
					m_Player = reader.ReadBool();
					m_CreationTime = reader.ReadDateTime();
					if( m_Player )
					{
						m_Owner = reader.ReadMobile();
						m_Killer = reader.ReadMobile();
					}

					goto case 0;
				}
				case 0:
				{
					if( version == 0 )
					{
						m_Owner = null;
						m_Killer = null;
						m_Player = false;
						m_CreationTime = DateTime.Now - BountyBoardEntry.DefaultDecayRate;
					}

					break;
				}
			}
			//end bounty system
		}
	}
}
X-SirSly-X is offline  
Old 11-08-2005, 12:36 AM   #47 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Smile

Please post your original head from the VooDoo system.

*Edit: Forget it I found one.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline  
Old 11-08-2005, 12:59 AM   #48 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Smile SirSly

OK here is the first step. Add this:
Code:
 
using System;
using Server;
namespace Server.Items
{
public class Head : Item
{
//--<Voodoo & Bounty Edit>---------------<Begin>
private Mobile m_Owner;
private DateTime m_CreationTime;
private Mobile m_Killer;
private bool m_Player;

[CommandProperty( AccessLevel.GameMaster )]
public Mobile Owner { get{ return m_Owner; } set{ m_Owner = value; } }

[CommandProperty( AccessLevel.GameMaster )]
public DateTime CreationTime { get{ return m_CreationTime; } set{ m_CreationTime = value; } }

[CommandProperty( AccessLevel.GameMaster )]
public Mobile Killer { get{ return m_Killer; } set{ m_Killer = value; } }

[CommandProperty( AccessLevel.GameMaster )]
public bool IsPlayer { get{ return m_Player; } set{ m_Player = value; } }
//--<Voodoo & Bounty Edit>-----------------<End>

[Constructable]
public Head() : this( null )
{
}

[Constructable]
public Head( string name ) : base( 0x1DA0 )
{
Name = name;
Weight = 1.0;
m_Player = false;
m_Owner = null;
m_Killer = null;
m_CreationTime = DateTime.Now;
}

public Head( Serial serial ) : base( serial )
{
}

public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version

//--<Voodoo & Bounty Edit>---------------<Begin>
writer.Write( m_Player );
writer.Write( m_CreationTime );
if( m_Player )
{
writer.Write( m_Owner );
writer.Write( m_Killer );
}
//--<Voodoo & Bounty Edit>-----------------<End>
}

public