Register for your free account! | Forgot your password?

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

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

Advertisement



Can someone tell m,e what is generating th following error??

Discussion on Can someone tell m,e what is generating th following error?? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
Can someone tell m,e what is generating th following error??

I need guidance in understanding this errors and how to fix them,

1. This error occurs when i am hunting dont know what generates it

2 This error occurs when somebody tried to upgrade items in twin (his items vanished i think )

3. When this error occurs you get disconnected

4. I saw this one and it appeared from no were as all previous error ,nothing in Visual studio said that they are
mujake is offline  
Old 11/20/2011, 07:18   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
It's trying to pull a uint from a string that is not a number.


Example...

string input = "text";

uint value = UInt.Parse(input);

Would throw that error.

Go to your dropped items.cs line 49 and look for something that's trying to do a uint.parse and just add checks in there to see what it's trying to parse.

I'm guessing it's trying to pull a uint from a string that is empty but that's just off the top of my head.
pro4never is offline  
Thanks
1 User
Old 11/20/2011, 08:50   #3
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
that line is

ItemId = uint.Parse(Splitter[0]);

Would it be maybe because the item that should drop doesn't exist or something ?Because the items file is not in a .txt is .ini

should like splitter should be like the items.ini witch uses "#" or like "-" as in the item string eg: 723721-0-0-0-0-0???

above line 49 is
line 48 string[] Splitter = item.Split('-');
line 49 ItemId = uint.Parse(Splitter[0]);
mujake is offline  
Old 11/20/2011, 18:11   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
there's probably an empty line and therefor the LINE being returned is blank and cannot be parsed (cause well... nothing there to be parsed)
pro4never is offline  
Thanks
1 User
Old 11/20/2011, 19:31   #5
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
you mean between lines??
mujake is offline  
Old 11/20/2011, 23:41   #6
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
- is the char you're splitting the string with.
Make sure there is no empty entries.

Eg. check for null using:
Code:
if (string != null)
Or use StringSplitOption or Options whatever the name is.
BaussHacker is offline  
Old 11/21/2011, 07:07   #7
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190

You're welcome.
Spirited is offline  
Thanks
2 Users
Old 11/21/2011, 19:03   #8
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
Quote:
Originally Posted by Fаng View Post

You're welcome.



I really like your sarcasm, and appreciate you for being straight to the point.
I like your blog ,was really helpful to me. thx
mujake is offline  
Old 11/21/2011, 20:04   #9
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by mujake View Post
I really like your sarcasm, and appreciate you for being straight to the point.
I like your blog ,was really helpful to me. thx
I don't think it was sarcasm.
BaussHacker is offline  
Old 11/21/2011, 20:09   #10
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
Quote:
Originally Posted by BaussHacker View Post
I don't think it was sarcasm.
It wasn't. I'm dead serious when I say go look it up on Google.
Smart people use Google.
Spirited is offline  
Reply


Similar Threads Similar Threads
[Error]Error when using Zero's method/And another Error
09/16/2011 - Shaiya Private Server - 5 Replies
well here is a screeny of my problem. Any assistance is greatly appreciated. I haven't come across this error before nor seen any posts up here about it. Also this is me executing the NpcQuest_cvs.bat and yes i changed python to C:/Python27/Python.exe in the command line. http://img707.imageshack.us/img707/9997/errorgx.p ng Ok So my second error involves changing Stat points per lvl here is my screen shots http://img854.imageshack.us/img854/6412/nosave.pn g



All times are GMT +1. The time now is 20:05.


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.