Register for your free account! | Forgot your password?

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

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

Advertisement



Adding +21 gear (not fully working)

Discussion on Adding +21 gear (not fully working) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
Adding +21 gear (not fully working)

Hi,

I have added +13 to +21 on my server, I can spawn them, I can see the stats on the weapon and on the attack details. The damage on mobs is the same, though...

I don't think the issue is client-side, I have all the files.

Server side I added in itemtype.dat and itemadd.txt. Am I missing something?

silverstryfe is offline  
Old 03/07/2016, 15:40   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Does your server not have a database at all? I only ask cause a lot of sources seem to use flat files (reading from itemadd/itemtype) but most would need you to add the updated data to your actual server side database for it to work.
pro4never is offline  
Thanks
1 User
Old 03/07/2016, 16:01   #3
 
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
Quote:
Originally Posted by pro4never View Post
Does your server not have a database at all? I only ask cause a lot of sources seem to use flat files (reading from itemadd/itemtype) but most would need you to add the updated data to your actual server side database for it to work.
It does have a database.

There is a table "items" which are just the items that accounts have, and there is itemtype, where I already added the item manually. Without that added I wouldn't be able to spawn the item.

I'm actually using your source, redux.


I think I might have found it.. I didn't add anything in the itemadd table.
Though, It would take days to add that stuff manually. Is there a way to just copy-paste everything from the itemadd.ini file into a query or something? I'm realy new to that so If u could give me an example on how to do it that would be great!

Thanks.
silverstryfe is offline  
Old 03/07/2016, 16:11   #4
 
elite*gold: 0
Join Date: Jan 2007
Posts: 224
Received Thanks: 83
Why +21 gear, holy ****.
CrimsonFart is offline  
Old 03/07/2016, 19:06   #5
 
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
Quote:
Originally Posted by CrimsonFart View Post
Why +21 gear, holy ****.
No no, the question is, why only +12?

Anyways, do you know how I can import my itemadd.ini into the itemadd table?
silverstryfe is offline  
Old 03/07/2016, 19:11   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by silverstryfe View Post
It does have a database.

There is a table "items" which are just the items that accounts have, and there is itemtype, where I already added the item manually. Without that added I wouldn't be able to spawn the item.

I'm actually using your source, redux.


I think I might have found it.. I didn't add anything in the itemadd table.
Though, It would take days to add that stuff manually. Is there a way to just copy-paste everything from the itemadd.ini file into a query or something? I'm realy new to that so If u could give me an example on how to do it that would be great!

Thanks.

Write a program to write the necessary SQL queries to insert it into the database. That's the quickest way IMO. Should take 5 minutes to do a basic string formatter to do the job.
pro4never is offline  
Old 03/07/2016, 19:20   #7
 
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
Quote:
Originally Posted by pro4never View Post
Write a program to write the necessary SQL queries to insert it into the database. That's the quickest way IMO. Should take 5 minutes to do a basic string formatter to do the job.

Eh, thanks for your replies but, can u simplify that? I'm not that smart
Can't I import wizard it with navicat?
Like copy paste the itemadd.ini into a .txt file and then import wizard.


Nevermind.. There is also a KEY colum which needs to be added manually i suppose..
Not willing to do this for 1000 items :/
silverstryfe is offline  
Old 03/07/2016, 22:12   #8
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 943
Received Thanks: 408
1. Create a program to read every line of the Itemadd.ini
2. Transform every line into an SQL line
3. Execute it at Mysql

not that hard
10 minutes of code to save hours of work
pintinho12 is offline  
Old 03/07/2016, 22:37   #9
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
This was one thing Navicat did well that I miss in MySQL Workbench. In Navicat, you can import data from any file format using file delimiters and a predefined table structure. I'm not saying go pirate Navicat, but if you chose to make a program to read in a file, make it generic enough to repeat the same process on multiple files, similarly to how Navicat did it.
Spirited is offline  
Old 03/07/2016, 22:53   #10
 
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
I edited my itemadd.txt with office word to replace every space with a tab so it imports correctly into navicat, but the problem is that it doesn't have the KEY colum.. It just puts 0 as KEY and it gives me an error.
silverstryfe is offline  
Old 03/09/2016, 12:56   #11
 
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
can someone help me how the Key id works?
silverstryfe is offline  
Old 03/09/2016, 13:19   #12
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
turk55 is offline  
Old 03/09/2016, 14:36   #13
 
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
Not realy helped but okay, thanks.

Would it work like what I read here?


I added it to my program.cs but got an error.. Maybe because I didn't delete my itemadd table in the databse?
I'm afraid to do so because I don't want to screw up

EDIT:

I added everything to the itemadd table in the database. But the +21's still don't work..? :s
silverstryfe is offline  
Old 03/11/2016, 17:09   #14
 
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
Someone?
silverstryfe is offline  
Old 03/11/2016, 18:00   #15
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
This is some really simple ****. Add to client file, add to server database. That is all folks. If you're struggling this hard to do this, trying to modify the source and creating errors... hell, trying to even add +21 in the first place, then maybe you shouldn't be running a private server? We don't need more ****** servers like the one your friend is also trying to make. I'll say to you what I said to him: Nobody wants this ****. People want to see progress and an actual game out of Conquer Online - and adding things from 2009 private servers isn't going to do that. Having absolutely zero knowledge on database management and programming is a huge red flag as well. It all just points to a shitfest, so give up. Go learn how to program in a general case.
Spirited is offline  
Reply


Similar Threads Similar Threads
[Selling] Cheap gear services, fully decked out m4's, ak's. and mosin's
03/11/2015 - DayZ Trading - 11 Replies
Full set of gear of your choice. will show proof. $5 usd. skype: GearServicesDHH Please +rep us when done. Thanks Backup Skype if inactive : whostruamah
Class issue with adding new gear.
11/25/2014 - Shaiya PServer Development - 2 Replies
Hello Elitepvpers. I have for quit some time been thinking and trying to reslove the problem between the SHstudio and Making new gears. the problem was, All the Models (Race's) Like for ex. Huwf.mlx - Humf.mlx Huwf = Female Fighter Humf = Male fighter.
Adding more slots to gear
01/27/2013 - Shaiya Private Server - 1 Replies
Does anybody know if there's a way to make more then the normal amount of slots in gear? Thanks
WTB...... 70 gear fully linked warrior UoF OS Shaiya
05/22/2012 - Shaiya Trading - 0 Replies
WTB Want to buy a complete uber set (tenacious preferred) linked and great OJ Looking for amazing weapon 70 No preferences for paying (Western or paypal) only with right guarantee US Shaiya union of fury write in this topic your offer, in second time we will talk through Skype
S> 2 Second Reborn Chars and Fully gear etc (Royalty_EU)
05/08/2012 - Conquer Online 2 Trading - 0 Replies
Selling: Pure Pirate level 119 (male) Water-war-pirate lvl 135 (female) super P3 ring 2 sock sdg -3 +6 Lvl 131 super 2 sock sdg ring +5 -5 Normal necky 2 sock sdg +3 -1 Refined boots 2 sock sdg -1 +4 Super earring 2 sock sdg +4 Super p3 veil 2 sock sdg +6 -5



All times are GMT +1. The time now is 01:30.


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.