Register for your free account! | Forgot your password?

You last visited: Today at 11:13

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

Advertisement



5165 Problem

Discussion on 5165 Problem within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Jay10291's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 143
Received Thanks: 155
5165 Problem

i have an old 5165 source from months ago and it was perfectly find and ran with no errors but now when i hit f5 to build I get this error
NewItem.CPsWorth = Convert.ToUInt32(data[36]);
I think it has something to do with Items.txt in OldCoDB but i have no clue wtf it could be. its rly starting to **** me off -.- can anyone help me out?
Jay10291 is offline  
Old 01/02/2011, 04:34   #2
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
And the error says? What did u add last?
Code example would also help.
Syst3m_W1z4rd is offline  
Old 01/02/2011, 04:43   #3
 
Jay10291's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 143
Received Thanks: 155
There is no error description.. that is the error. Im guessing it has something to do with Items.txt in the source because its a fresh client..
Jay10291 is offline  
Old 01/02/2011, 05:01   #4
 
Jay10291's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 143
Received Thanks: 155
i tried putting a fresh items.txt and itemtype.dat in the source and client and im still getting the same ******* error... this is killing me
Jay10291 is offline  
Old 01/02/2011, 05:39   #5
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
What does the error say exactly
Syst3m_W1z4rd is offline  
Old 01/03/2011, 05:06   #6
 
Jay10291's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 143
Received Thanks: 155
dude read above...like idk what else to say to you, the error is in my first post bolded and underlined :S ANYONE ELSE KNOW WHATS WRONG WITH MY Items.txt TO GET THIS ERROR?? IM ALMOST POSITIVE THE ERROR IS RELATED TO Items.txt im just not skilled enough to find it, i need help =\

NewItem.CPsWorth = Convert.ToUInt32(data[36]); around line 682 in Database.cs UNDER NewItem.MagicDefense = Convert.ToUInt32(data[30]); is whats being highlighted when i try to build.
Jay10291 is offline  
Old 01/03/2011, 12:38   #7
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
Is high lighted, but I can't help, if you don't post the exception.
Syst3m_W1z4rd is offline  
Old 01/04/2011, 03:36   #8
 
Jay10291's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 143
Received Thanks: 155
Sorry, I didnt really understand what you meant by "exception". But in the exception helper it says
Quote:
FormatException was unhandled
Input string not in a correct format
Troubleshooting Tips:
Make sure your method arguments are in the right format.
When converting a string to DateTime, parse the string to take the date before putting each variable into the DateTime object.
The stuff above gets me thinking something is wrong like..an extra 0 or letter that does not belong in Items.txt but i didnt find any abnormailities there. And Ive tried fresh ones that give me the same problem

Here's some info that may help: This is a server with a bunch of **** added client side and server side. There were tons og custom gears added but I wanted to remove only the gears while leaving the rest of the source the same. So I put in a clean c3, data, ani and ini folder in the CLIENT and put the same ItemAdd and itemtype.dat(Items.txt) The items are no longer in the client or source.. but now I get that error.
Jay10291 is offline  
Old 01/05/2011, 23:00   #9
 
Jay10291's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 143
Received Thanks: 155
request close
this isnt going anywhere...
Jay10291 is offline  
Old 01/05/2011, 23:49   #10
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,766
Received Thanks: 5,293
The problem is you made an error when adding an item to the items.txt.
Check the latest items you added or edited and see if you forgot a space.
Arcо is offline  
Thanks
1 User
Old 01/06/2011, 02:40   #11
 
.Kinshi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
"Input string not in a correct format"

That means data[36] is not a number.
So when you call the conversion to make it a UInt32, it'll give the error because its not a number.
(Examples of not numbers: " ", "hi", "23h", NULL)
.Kinshi is offline  
Old 01/06/2011, 16:17   #12
 
Iron~Man's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
#You Should Not Flame the Guyz that are trying to help you.

Iron~Man is offline  
Reply


Similar Threads Similar Threads
[Help]5165 problem
12/10/2010 - CO2 Private Server - 2 Replies
this is the original 5165 released. Blowfish.cs line 85: Native.BF_set_key(_key, data.Length, data); BlowFish.cs Line 15: _blowfish.SetKey(key);
problem with 5165
04/09/2010 - CO2 Private Server - 2 Replies
The login keep getting freeze how do i fix that?
5165 Npc Problem !
02/27/2010 - CO2 Private Server - 4 Replies
i have a BIG problem ! Almost all of my npc's say this line when i press them : " Hi, i dont talk anything useful yet, my ID is ****** " What shell i do ? Can someone help me & tell me what is the problem ? Why can they work ?
5165 new problem ! help me please
02/23/2010 - CO2 Private Server - 1 Replies
How to transcend level 255 How to transcend hp 65535 How to transcend mp 65535 or How to change level type to ulong How to change hp type to ulong
[HELP] 5165 Problem
12/07/2009 - CO2 Private Server - 7 Replies
Ok, I have filled out config and everything, but then when I run "NewestCOServer", this happens: http://img18.imageshack.us/img18/4520/problemxq.j pg What did I do wrong?



All times are GMT +2. The time now is 11:13.


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.