|
You last visited: Today at 11:13
Advertisement
5165 Problem
Discussion on 5165 Problem within the CO2 Private Server forum part of the Conquer Online 2 category.
01/02/2011, 04:32
|
#1
|
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?
|
|
|
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.
|
|
|
01/02/2011, 04:43
|
#3
|
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..
|
|
|
01/02/2011, 05:01
|
#4
|
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
|
|
|
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
|
|
|
01/03/2011, 05:06
|
#6
|
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.
|
|
|
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.
|
|
|
01/04/2011, 03:36
|
#8
|
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.
|
|
|
01/05/2011, 23:00
|
#9
|
elite*gold: 0
Join Date: Jun 2009
Posts: 143
Received Thanks: 155
|
request close
this isnt going anywhere...
|
|
|
01/05/2011, 23:49
|
#10
|
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.
|
|
|
01/06/2011, 02:40
|
#11
|
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)
|
|
|
01/06/2011, 16:17
|
#12
|
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
|
#You Should Not Flame the Guyz that are trying to help you.
|
|
|
|
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.
|
|