Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 09:53

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

Advertisement



Bug to start the source

Discussion on Bug to start the source within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Exclamation Bug to start the source

Well. When i try to start the source, by debuging in C#, Its telling me a database error but i did all correctly .. If one of you guys can help me, let me know xD

This is the code that is the error (btw i don't find it..)


}
r.Close();
if (EntityUID.Now == 0)
{


It's telling me : The Exception NullReferenceException has not been managed by the user code.

thanks!


Screenshot:
Novakhan is offline  
Old 08/17/2011, 02:29   #2
 
CompacticCo's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 424
Received Thanks: 108
Post a screenshot, I can't help you from those very few lines, I need to see how it's structured.
CompacticCo is offline  
Old 08/17/2011, 02:57   #3

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Screenshot added
Novakhan is offline  
Old 08/17/2011, 03:23   #4
 
CompacticCo's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 424
Received Thanks: 108
I can't read that.
CompacticCo is offline  
Old 08/17/2011, 04:03   #5

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Edited
Novakhan is offline  
Old 08/17/2011, 08:29   #6
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
if (EntityUID == null) return;

Put that above that code.

Or wrap this around:

if (EntityUID != null)
{
//CODE HERE
}
BaussHacker is offline  
Old 08/17/2011, 08:41   #7

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Like :
}
r.Close();
if (EntityUID.Now == 0)
if (EntityUID == null) return;
{


?
Novakhan is offline  
Old 08/17/2011, 08:53   #8
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by elhermanos View Post
Like :
}
r.Close();
if (EntityUID.Now == 0)
if (EntityUID == null) return;
{


?
if (EntityUID == null) return;
if (EntityUID.Now == 0)
BaussHacker is offline  
Thanks
1 User
Old 08/17/2011, 09:07   #9

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
I put that, Its not telling me any error but the server configuration is not loading.. So its the same but no error advice^^
Novakhan is offline  
Old 08/17/2011, 09:16   #10
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by elhermanos View Post
I put that, Its not telling me any error but the server configuration is not loading.. So its the same but no error advice^^
Then wrap it around instead or make sure you're assigning the EntityUID thing.
BaussHacker is offline  
Old 08/17/2011, 09:29   #11
 
elite*gold: 0
Join Date: Feb 2007
Posts: 240
Received Thanks: 22
theres no problem at the program.cs,
agathom is offline  
Old 08/17/2011, 10:03   #12

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Lol there's one if i can't launch the source nah?..
Novakhan is offline  
Reply


Similar Threads Similar Threads
[Question] Source - where to start?
10/21/2010 - CO2 Private Server - 5 Replies
Ok so i asked this question in another topic and got this reply Now i kinda understand this but it need more elaboration. I know i first need to connect with a client via handshakes and all that but how? I suck at networking and ive tried alot of guides ad stuff and still cannot seem to do it.
(Question) What is the best source to start the server?
04/22/2009 - CO2 Private Server - 3 Replies
Peaple i was looking for good source for a while .. found some but they kinda sucks - there is no all npc/ 2 many bugs etc... could any1 send me the BEST source . THNX ^^ ppls
Need a good start off source! HELP FAST
11/18/2008 - CO2 Private Server - 6 Replies
Ok I'm looking for a good start off source.. A source that has very little added to it or nothing at all... I tried LOTF Orginal and V2 but for some reason it had a problem with the database and did not compile with these mysql errors.. So I'm again looking for a blank source.. Please give me one fast! Thanks,
whats the best source to start with
11/07/2008 - CO2 Private Server - 13 Replies
hey all i'm learning how to code and i can make some edits and stuff but i wanna know wich source is good to start with i know some sources that are public like lotf/shadowco/powersource wich is the best or do u have a better pls tell me ty
Whats the best source to start with?
10/14/2008 - CO2 Private Server - 7 Replies
hey all i wanna know what the best source is to start with cause i just wanna make a pserver (in future) with alot of my adds but i don't know what source i should use if anyone has a good source pls send the link to me or e-mail me [email protected]



All times are GMT +1. The time now is 09:54.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.