Problem to open GameServer

06/20/2011 08:56 N.I.G.H.T.M.A.R.E#1
Hello guys, i need hellp about this erro to open server.
Code:
[03:51:34] -- This source has been writen by Bagu Alexandru. --
[03:51:34] --    Copyright (c) Bagu Alexandru 2008-2010.     --
[03:51:34] -- Source created with the help of all mighty God.--
[03:51:34] Load server configuration! !
[03:51:47] Initializing database.
[03:51:47] Loading Game Clans.
[03:51:49] Item Base and Plus information loaded.
[03:51:57] Monster information loaded.
[03:51:57] Monster drops generated.
[03:51:57] Spells information loaded.
[03:51:57] Shops information loaded.
[03:51:57] Map informations loaded.
[03:51:59] Nobility information loaded.
[03:51:59] Arena information loaded.
[03:52:00] System.NullReferenceException: Object reference not set to an instance of an object.
   at Conquer_Online_Server.Database.ConquerItemTable.RefineryUpdate(IConquerItem Item, GameState
 client) in Source\Database\Conqu
erItemTable.cs:line 177
   at Conquer_Online_Server.Database.ConquerItemTable.LoadItem(UInt32 UID) in Database\ConquerItemTable.cs:line 139
   at Conquer_Online_Server.Database.ArsenalsTable.Load(Guild g) in Source\Database\ArsenalsTable.cs:line 31
   at Conquer_Online_Server.Database.GuildTable.Load() in Source\Database\GuildTable.cs:line 61
   at Conquer_Online_Server.Program.EngineThread_Execute() in Source\Program.cs:line 165
   at Conquer_Online_Server.Program.StartEngine() in Source\Program.cs:line 88
   at Conquer_Online_Server.NotForPublicNotAtAll.NoCrash.NoCrash_Load(Object sender, EventArgs e)
 in Source\NoCrash.cs:line 23
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lp
aram)
06/20/2011 10:15 { Angelius }#2
maybe its the IConquerItem or the GameState are null

make sure that you are creating a new instance of the IConquerItem and the GameState

something like.
IConquerItem I = new IConquerItem();
GameState GS = new GameState();
06/20/2011 11:08 N.I.G.H.T.M.A.R.E#3
Look that!!
[Only registered and activated users can see links. Click Here To Register...]
06/20/2011 13:30 Korvacs#4
Look at the bottom of that picture under locals, client is null theres your problem.
06/20/2011 18:01 N.I.G.H.T.M.A.R.E#5
Quote:
Originally Posted by Korvacs View Post
Look at the bottom of that picture under locals, client is null theres your problem.
Okay, but you tell me what value I have to put?