Register for your free account! | Forgot your password?

You last visited: Today at 07:56

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

Advertisement



5165 Items Problem!

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

Reply
 
Old   #1
 
killersub's Avatar
 
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!
killersub is offline  
Old 06/23/2010, 05:00   #2
 
Arcо's Avatar
 
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.
Arcо is offline  
Old 06/23/2010, 05:16   #3
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by .Arco View Post
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...
killersub is offline  
Old 06/23/2010, 05:21   #4
 
Arcо's Avatar
 
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.
Arcо is offline  
Old 06/23/2010, 05:25   #5
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by .Arco View Post
Since this is something in the client, you can't bypass it.
so What do u suggest for me to do?
killersub is offline  
Old 06/23/2010, 05:26   #6
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
To not let the dex go over 255? Lol.
Arcо is offline  
Old 06/23/2010, 05:34   #7
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by .Arco View Post
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 .
killersub is offline  
Old 06/23/2010, 05:35   #8
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Just looked for what you changed last.
Arcо is offline  
Old 06/23/2010, 05:40   #9
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by .Arco View Post
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?
killersub is offline  
Old 06/23/2010, 05:43   #10
 
Arcо's Avatar
 
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.
Arcо is offline  
Old 06/23/2010, 05:44   #11
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by .Arco View Post
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
killersub is offline  
Old 06/23/2010, 05:47   #12
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
28
thats it.
Arcо is offline  
Thanks
1 User
Old 06/23/2010, 05:51   #13
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by .Arco View Post
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
killersub is offline  
Old 06/23/2010, 05:53   #14
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Only armors, headgear, att rings, and neckies give 0.
Arcо is offline  
Old 06/23/2010, 05:56   #15
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by .Arco View Post
Only armors, headgear, att rings, and neckies give 0.
so the prob is just wit weps and items right...hmmmm...
killersub is offline  
Reply

« NPCS | NPC »

Similar Threads 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.


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