|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#26 (permalink) | |
|
Forum Expert
Join Date: Feb 2004
Age: 27
Posts: 1,834
|
Quote:
|
|
|
|
|
|
#27 (permalink) |
|
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? |
|
|
|
|
|
#28 (permalink) | ||
|
Quote:
Quote:
![]() |
|||
|
|
|
|
#29 (permalink) |
|
[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. |
|
|
|
|
|
#30 (permalink) | |
|
[quote=HalfDead]
Quote:
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 |
||
|
|
|
|
#32 (permalink) | |
|
Join Date: Jul 2005
Posts: 9
|
Quote:
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) |
|
|
|
|
|
#33 (permalink) | |
|
Quote:
RunUO 10.0/Data/Bounty System/Bounties.xml and BountySchema.xsd |
||
|
|
|
|
#34 (permalink) | |
|
Join Date: Jul 2005
Posts: 9
|
Quote:
i have Data\bounty system\BountySchema.xsd but no bounties.xml, bounties.xml file is not created ![]() |
|
|
|
|
|
#35 (permalink) | |
|
Quote:
|
||
|
|
|
|
#36 (permalink) | |
|
Join Date: Jul 2005
Posts: 9
|
Quote:
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) |
|
|
|
|
|
#39 (permalink) | |
|
Quote:
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 ![]() |
||
|
|
|
|
#40 (permalink) |
|
Forum Expert
|
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. |
|
|
|
|
#42 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
|
Quote:
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:
|
|
|
|
|
|
#43 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
#44 (permalink) |
|
Forum Expert
Join Date: Oct 2004
Location: New York
Age: 28
Posts: 688
|
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 |
|
|
|
|
#45 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
|
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:
|
|
|
|
|
#46 (permalink) |
|
Forum Expert
Join Date: Oct 2004
Location: New York
Age: 28
Posts: 688
|
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
}
}
}
|
|
|
|
|
#47 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
|
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:
|
|
|
|
|
#48 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
|
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 |