BeneathTheStars
Sorceror
How to run your server in DEBUG
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:
So you say, where did it go wrong? Thats where debug comes in. Here is a debug server crash:
See where it tells you where the problem is? So how do you get this bit of technology? Listen up..
Steps to a debug server:
1. Right click Server.exe or RunUO.exe and click 'Create Shortcut'
Screen Shot: http://img274.imageshack.us/img274/2228/createshortcut4jc.png
2.Right click the new shortcut, and click properties.
Screen Shot:http://img414.imageshack.us/img414/4997/shortcutprops2vj.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.
Screen Shot: http://img258.imageshack.us/img258/1172/target8wh.png
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)
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)
So you say, where did it go wrong? Thats where debug comes in. Here is a debug server crash:
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)
See where it tells you where the problem is? So how do you get this bit of technology? Listen up..
Steps to a debug server:
1. Right click Server.exe or RunUO.exe and click 'Create Shortcut'
Screen Shot: http://img274.imageshack.us/img274/2228/createshortcut4jc.png
2.Right click the new shortcut, and click properties.
Screen Shot:http://img414.imageshack.us/img414/4997/shortcutprops2vj.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)