|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
OK My server crashed..
Things you need to know.. I installed premium spawner and the XML2 thing last night.. Everything was fine till some players went to PvP and then boom crash.. I made the 2 edits for points system or something.. And here is the crash log.. Pls help me lol.. Code:
Server Crash Report =================== RunUO Version 1.0.0, Build 36918 Operating System: Microsoft Windows NT 5.1.2600.0 .NET Framework: 1.1.4322.2032 Time: 6/11/2005 1:41:27 PM Mobiles: 14737 Items: 135939 Clients: - Count: 3 + 127.0.0.1: (account = LordOda) (mobile = 0x92F 'Lichking') + 24.***.**.**: (account = lighterfan) (mobile = 0x8C 'Alpha') + 4.***.***.***: (account = Donna) (mobile = 0x396C 'Amethyst') Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Server.Items.StaffStone.OnInventoryDeath(Mobile parent) at Server.Mobile.GetInventoryMoveResultFor(Item item) at Server.Mobiles.PlayerMobile.GetInventoryMoveResultFor(Item item) at Server.Mobile.Kill() at Server.Mobile.Damage(Int32 amount, Mobile from) at Server.Mobiles.PlayerMobile.Damage(Int32 amount, Mobile from) at Server.AOS.Damage(Mobile m, Mobile from, Int32 damage, Int32 phys, Int32 fire, Int32 cold, Int32 pois, Int32 nrgy, Boolean keepAlive) at Server.AOS.Damage(Mobile m, Mobile from, Int32 damage, Int32 phys, Int32 fire, Int32 cold, Int32 pois, Int32 nrgy) at Server.Items.BaseWeapon.OnHit(Mobile attacker, Mobile defender) at Server.Items.BaseWeapon.OnSwing(Mobile attacker, Mobile defender) at Server.Items.Fists.OnSwing(Mobile attacker, Mobile defender) at Server.CombatTimer.OnTick() at Server.Timer.Slice() at Server.Core.Main(String[] args) |
|
|
|
|
|
#3 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
What does your OnInventoryDeath override method in your StaffStone item look like.
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
|
Whew lol.. thought It might be the XML system or something.. that would have sucked.. ok here is what that OnInvetoryDeath thing looks like.. if yall cant help me fix it I can just remove it but would rather keep it.. Its a neat stone..
Code:
public override DeathMoveResult OnInventoryDeath(Mobile parent)
{
if ( m_AutoRes && parent == m_Owner )
{
new AutoResTimer( parent ).Start();
}
else if (parent != m_Owner)
{
m_Owner.AddToBackpack(this);
this.Delete();
}
return base.OnInventoryDeath (parent);
}
|
|
|
|
|
|
#5 (permalink) | |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
Quote:
a null owner will end up satisfying this test Code:
else if (parent != m_Owner)
{
m_Owner.AddToBackpack(this);
this.Delete();
}
(edit) not sure why you are doing this, since you delete it anyway. Code:
m_Owner.AddToBackpack(this);
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|