Register for your free account! | Forgot your password?

You last visited: Today at 05:30

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

Advertisement



NEED Help PLEASE

Discussion on NEED Help PLEASE within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2014
Posts: 1
Received Thanks: 0
NEED Help PLEASE

it's the second day now trying to solve these errors now i'm stuck and donno how to handle this

this line " return Cells[X, Y]; "

throw an exception which says

An unhandled exception of type 'System.NullReferenceException' occurred in NewestCOServer.exe

Additional information: Object reference not set to an instance of an object.
MasterCon is offline  
Old 09/19/2014, 16:31   #2
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
Means that one or more of the variables Cells or X or Y is null.
Aceking is offline  
Old 09/19/2014, 17:58   #3


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
Quote:
Originally Posted by Aceking View Post
Means that one or more of the variables Cells or X or Y is null.
Probably Cells, as X/Y are probably integers, and aren't nullable type by default.
CptSky is offline  
Old 09/19/2014, 18:02   #4
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
Quote:
Originally Posted by CptSky View Post
Probably Cells, as X/Y are probably integers, and aren't nullable type by default.
More than likely, but knowing alot of these sources aren't the greatest I didn't want to assume that X/Y was an integer :P
Aceking is offline  
Old 09/20/2014, 11:23   #5
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
x or y r higher than max x and max y
abdoumatrix is offline  
Old 09/20/2014, 13:39   #6
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
I am pretty confident that Cells[] isn't initialized.
turk55 is offline  
Reply




All times are GMT +2. The time now is 05:30.


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