|
You last visited: Today at 07:56
Advertisement
5165 Items Problem!
Discussion on 5165 Items Problem! within the CO2 Private Server forum part of the Conquer Online 2 category.
06/23/2010, 04:02
|
#1
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
5165 Items Problem!
okay so when I made new items in my server and added dem in my database in Itmes.txt...when I f6 my server and f5 my server I get an exception sayin in Database.cs where its at
Code:
NewItem.DexGives = Convert.ToByte(data[17]);
it says:
Code:
Value was either too large or too small for an unsigned byte.
how can I make this byte larger to read all of da items? every help wuld b appreciated  ! thanks!
|
|
|
06/23/2010, 05:00
|
#2
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
You recently added an item to your items.txt and the dexterity it gives is higher than 255, and since dexterity is defined as a byte the highest it can go is 255.
|
|
|
06/23/2010, 05:16
|
#3
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by .Arco
You recently added an item to your items.txt and the dexterity it gives is higher than 255, and since dexterity is defined as a byte the highest it can go is 255.
|
so how can I fix dat so it can read more dan 255? its defined as ToByte cant I bypass dat or wat should I change in my items.txt XD? sorry been a long time since Im back coding...
|
|
|
06/23/2010, 05:21
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Since this is something in the client, you can't bypass it.
|
|
|
06/23/2010, 05:25
|
#5
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by .Arco
Since this is something in the client, you can't bypass it.
|
so What do u suggest for me to do?
|
|
|
06/23/2010, 05:26
|
#6
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
To not let the dex go over 255? Lol.
|
|
|
06/23/2010, 05:34
|
#7
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by .Arco
To not let the dex go over 255? Lol.
|
in Items.txt where can I find da dex *****(so I can change it)...soz Im a newb  .
|
|
|
06/23/2010, 05:35
|
#8
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Just looked for what you changed last.
|
|
|
06/23/2010, 05:40
|
#9
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by .Arco
Just looked for what you changed last.
|
I mean like...what part can I find dexterity in...here's an example(if its not like dis please tell me lol...)
Code:
131123 Gurosu 25 0 190 0 0 0 0 0 0 0 100000000 0 0 0 2532 0 0 0 0 25000 25000 0 0 0 0 0 0 0 55 1 1000 0 0 0 0 AngelicArmor Wear~And~Belive
is it around dere or wut?
|
|
|
06/23/2010, 05:43
|
#10
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Go to 410339 and paste that here, I'd know the dex if it was a weapon.
|
|
|
06/23/2010, 05:44
|
#11
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by .Arco
Go to 410339 and paste that here, I'd know the dex if it was a weapon.
|
alright bro here it is:
Code:
410339 [S]BuriedBlade 0 12 130 0 176 0 0 0 0 0 100000 0 3165 2476 0 28 0 0 0 7099 7099 0 0 0 0 0 0 0 0 1 1000 0 0 0 0 Blade None
|
|
|
06/23/2010, 05:47
|
#12
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
28
thats it.
|
|
|
06/23/2010, 05:51
|
#13
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by .Arco
28
thats it.
|
alright Ill look into it and thanks...it looks like most of em have 0 tho...gonna b hard lookin thru everythin :S
|
|
|
06/23/2010, 05:53
|
#14
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Only armors, headgear, att rings, and neckies give 0.
|
|
|
06/23/2010, 05:56
|
#15
|
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
|
Quote:
Originally Posted by .Arco
Only armors, headgear, att rings, and neckies give 0.
|
so the prob is just wit weps and items right...hmmmm...
|
|
|
Similar Threads
|
[Help]Adding items..5165
05/10/2010 - CO2 Private Server - 1 Replies
im running on patch 5165 and i was wondering how do you add items to it because i kno how to add them to shopping mall and then when i click them and buy them(it will let me buy them)then when i right click for example(exemption token) is says they arent added yet
|
[Help] new items in 5165
12/21/2009 - CO2 Private Server - 0 Replies
why when making items in 5165 and adding items in client its appear in my items but when wear it cant see it but i can see it in stuff what is the reason
|
[HELP] Custom Items in 5165
12/16/2009 - CO2 Private Server - 7 Replies
Hi I'm sorta new to the coding business and I'm adding new items to my server I was just wondering if i have to change anything in my source or just add the item to my client. BTW using a 5165 source and ive been searching for like half the day and havnt found anything usefull plz help
Thx in advance :handsdown:
|
All times are GMT +1. The time now is 07:57.
|
|