Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 08-25-2006, 01:16 PM   #1 (permalink)
Newbie
 
Join Date: Jan 2006
Location: Guimaraes,Portugal
Age: 27
Posts: 33
Send a message via MSN to xavante
Default New Guild System: Crash on resign

hi everyone, i recently downloaded the RC1 version and updated using the SVN (im using revision 75). everything went fine but today i created a guild using the new guild system and when i choose resign from the main gump the server crashes and i get the following report:
Code:
Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 25-08-2006 17:19:07
Mobiles: 9
Items: 2199
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Guilds.Guild.AddMember(Mobile m)
   at Server.Guilds.Guild.set_Leader(Mobile value)
   at Server.Guilds.Guild.CalculateGuildmaster()
   at Server.Guilds.Guild.RemoveMember(Mobile m, Int32 message)
   at Server.Guilds.GuildInfoGump.OnResponse(NetState sender, RelayInfo info)
   at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)

Clients:
- Count: 1
+ 192.168.0.2: (account = teste) (mobile = 0x9 'teste')
any ideas? thx
xavante is offline   Reply With Quote
Old 08-25-2006, 03:00 PM   #2 (permalink)
Newbie
 
Join Date: Jan 2006
Location: Guimaraes,Portugal
Age: 27
Posts: 33
Send a message via MSN to xavante
Default

i made a few modifications in Guild.cs and it works now, heres uat i changed:
line 964:
Code:
if (value != null)
                    this.AddMember( value ); //Also removes from old guild.
and this:
line 1148:
Code:
writer.WriteMobileList( m_Members, true );
writer.WriteMobileList( m_Candidates, true );
writer.WriteMobileList( m_Accepted, true );
xavante is offline   Reply With Quote
Old 08-25-2006, 06:04 PM   #3 (permalink)
Forum Novice
 
Join Date: May 2004
Age: 48
Posts: 100
Default

Thanks for the quick fix for now.

May be some other things in guild to check like when the guild master resigns the leader ship is passed on to the next leading member of the guild..thought that is how osi worked.Thats how we had it on our previous server.

Thanks Again
GameOva 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