|
||
|
|||||||
| FAQ Forum A place to find answers to the most frequently asked questions, and a place to post said answers. Do NOT use this forum to ask questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
NOTE: This works for RunUO 1.0 AND RunUO 2.0
NOTE: This was made using Windows XP, it may be different on other versions of Windows. Hello, this tut will show you how to run your server in debug mode. What will debug mode do for you? Take a look... Not Debug: Code:
Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Server.Gumps.AccountInfo.OnResponse(NetState sender, RelayInfo info) at Server.Mobile.CloseGump(Type type, Int32 buttonID, Boolean throwOnOffline) at Server.Mobile.CloseGump(Type type) at Server.Gumps.AccountInfo.ParseResponses(Mobile from, ArrayList textentries) at Server.Gumps.AccountInfo.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) Code:
Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Server.Gumps.AccountInfo.OnResponse(NetState sender, RelayInfo info) in c:\RunUO-2.0-RC1\Scripts\Account Info System\AccountInfoGump.cs:line 85 at Server.Mobile.CloseGump(Type type, Int32 buttonID, Boolean throwOnOffline) at Server.Mobile.CloseGump(Type type) at Server.Gumps.AccountInfo.ParseResponses(Mobile from, ArrayList textentries) in c:\RunUO-2.0-RC1\Scripts\Account Info System\AccountInfoGump.cs:line 168 at Server.Gumps.AccountInfo.OnResponse(NetState sender, RelayInfo info) in c:\RunUO-2.0-RC1\Scripts\Account Info System\AccountInfoGump.cs:line 101 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) Steps to a debug server: 1. Right click Server.exe or RunUO.exe and click 'Create Shortcut' Screen Shot: http://img274.imageshack.us/img274/2...hortcut4jc.png 2.Right click the new shortcut, and click properties. Screen Shot:http://img414.imageshack.us/img414/4...utprops2vj.png 3.On the newly opened window, look for the word Target. Go to the very left end of the target box, and put the following after the last quotation. Code:
-debug Just use the newly created shortcut to start your server, and every time it crashes, you wont be in the dark! Hope that helps! ~BeneathTheStars (A.K.A Charon) Last edited by Jeff; 05-04-2007 at 03:37 PM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|