Register for your free account! | Forgot your password?

You last visited: Today at 19:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Load Items Bug??

Discussion on Load Items Bug?? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
Load Items Bug??

i'm wonder if someone help me to make Loaditem Faster i will be thanks

Code:
----Exception message----
Object reference not set to an instance of an object.
----End of exception message----

----Stack trace----
   at Conquer_Online_Server.Database.ConquerItemTable.LoadItems(GameState client) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraftCo v3 I\Conquer WarCraftCo v3\Database\ConquerItemTable.cs:line 102
   at Conquer_Online_Server.Database.EntityTable.LoadEntity(GameState client) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraftCo v3 I\Conquer WarCraftCo v3\Database\EntityTable.cs:line 303
   at Conquer_Online_Server.Network.PacketHandler.DoLogin(Object _client) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraftCo v3 I\Conquer WarCraftCo v3\Network\PacketHandler.cs:line 13969
   at Conquer_Online_Server.Network.PacketHandler.AppendConnect(Connect appendConnect, GameState client) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraftCo v3 I\Conquer WarCraftCo v3\Network\PacketHandler.cs:line 13956
   at Conquer_Online_Server.Network.PacketHandler.HandlePacket(Byte[] packet, GameState client) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraftCo v3 I\Conquer WarCraftCo v3\Network\PacketHandler.cs:line 1059
   at Conquer_Online_Server.Network.PacketHandler.HandleBuffer(Byte[] buffer, GameState client) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraftCo v3 I\Conquer WarCraftCo v3\Network\PacketHandler.cs:line 39
   at Conquer_Online_Server.Program.GameServer_AnnounceReceive(Byte[] arg1, ISocketWrapper arg2) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraftCo v3 I\Conquer WarCraftCo v3\Program.cs:line 2012
   at Conquer_Online_Server.Network.Sockets.AsyncSocket.AsyncReceive(IAsyncResult res) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraftCo v3 I\Conquer WarCraftCo v3\Network\Sockets\AsyncSocket.cs:line 89
----End of stack trace----
ShutDown Bug

Code:
----Exception message----
Object reference not set to an instance of an object.
----End of exception message----

----Stack trace----
   at Conquer_Online_Server.Client.GameState.ShutDown() in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraft v3 I\Conquer WarCraft v3\Client\GameState.cs:line 285
   at Conquer_Online_Server.Client.GameState.Disconnect() in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraft v3 I\Conquer WarCraft v3\Client\GameState.cs:line 200
   at Conquer_Online_Server.Program.GameServer_AnnounceDisconnection(ISocketWrapper obj) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraft v3 I\Conquer WarCraft v3\Program.cs:line 2022
   at Conquer_Online_Server.Network.Sockets.AsyncSocket.InvokeDisconnect(AsyncSocketWrapper Client) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraft v3 I\Conquer WarCraft v3\Network\Sockets\AsyncSocket.cs:line 168
   at Conquer_Online_Server.Network.Sockets.AsyncSocket.AsyncReceive(IAsyncResult res) in C:\Users\WarCraft\Desktop\dsd\Conquer WarCraft v3 I\Conquer WarCraft v3\Network\Sockets\AsyncSocket.cs:line 95
----End of stack trace----
magnon is offline  
Old 03/07/2012, 22:44   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
... instance of an object....


It's like saying "Put groceries in a car"... without telling them what car. All (non static) objects when used need to have you refer to WHICH instance of that object.


Example...

Player user = new Player();//user is the variable name we've assigned to the new INSTANCE of the player object

Database.SavePlayer(user);//Works because we are managing a INSTANCE of the player object

Database.SavePlayer(Player);//will NOT work because we are referring to the object type, not an instance of that object.
pro4never is offline  
Thanks
1 User
Old 03/07/2012, 23:10   #3
 
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
thx bro for replay but can u explain more please
magnon is offline  
Old 03/07/2012, 23:12   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
... my explanation is simply "code it properly and it will work"

You posted nothing but your stack trace. Check how you are calling the code, check that things are not null, make sure you're using the correct instances of objects and it will work.

If you code something wrong it won't work. Simple as that.
pro4never is offline  
Old 03/07/2012, 23:22   #5
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by pro4never View Post
... instance of an object....


It's like saying "Put groceries in a car"... without telling them what car. All (non static) objects when used need to have you refer to WHICH instance of that object.


Example...

Player user = new Player();//user is the variable name we've assigned to the new INSTANCE of the player object

Database.SavePlayer(user);//Works because we are managing a INSTANCE of the player object

Database.SavePlayer(Player);//will NOT work because we are referring to the object type, not an instance of that object.
Nice Explaination ...Easy , Simple ...Y dont u make ur own EBook
shadowman123 is offline  
Old 03/07/2012, 23:51   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by shadowman123 View Post
Nice Explaination ...Easy , Simple ...Y dont u make ur own EBook
I'd have no idea what to write about.... plus half my explanations are incomplete or just how I learned them which is often incorrect. If people ask, I answer as best I can but just pulling together a giant list of things to explain would end poorly.
pro4never is offline  
Old 03/08/2012, 00:39   #7
 
U2_Caparzo's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 314
Received Thanks: 90
Quote:
Originally Posted by pro4never View Post
I'd have no idea what to write about.... plus half my explanations are incomplete or just how I learned them which is often incorrect. If people ask, I answer as best I can but just pulling together a giant list of things to explain would end poorly.
i think the main reason should be... u will never finish , everyone here knows who are u and many of them want become nice(person & coder) as u are... believe me
U2_Caparzo is offline  
Reply


Similar Threads Similar Threads
S>CRph Load 400m / 1 CRph load
12/11/2011 - Cabal Online Trading - 2 Replies
pm [email protected] up
Gameserver won't load new items.
11/17/2011 - SRO Private Server - 0 Replies
I using swsro files and i added new items to Item Mall in refshopgoods table also i add it in refobjCommon cuz this item dont exist there before. And when i try to start files Gamesterwer give me that error: http://img37.imageshack.us/img37/1995/gamesrerror .jpg what i need to do with this gameserver, I think he won't load this items cuz they are new and are not compiled with this gameserver, bu maybe there is something other. Maybe some1 will know what can help me :p
Canīt load...
07/06/2011 - Metin2 Private Server - 2 Replies
closereq
dekaronserver.exe won't load maps and items
07/26/2009 - Dekaron Private Server - 0 Replies
it just comes up with a message file: .\basis\Function.cpp, Line: 97\ and then the dekaronserver.exe crashes
i want to trade my 100m SRO gold to your levelup load or RF load
04/15/2008 - Silkroad Online Trading - 1 Replies
hi..........anyone want SRO gold i have 100m i want to trade this to your levelup load or RF load anyone have just pm me or contact me this email add. [email protected] or +639202300892



All times are GMT +1. The time now is 19:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.