|
You last visited: Today at 01:30
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.
03/07/2016, 15:35
|
#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?
|
|
|
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.
|
|
|
03/07/2016, 16:01
|
#3
|
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
|
Quote:
Originally Posted by pro4never
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.
|
|
|
03/07/2016, 16:11
|
#4
|
elite*gold: 0
Join Date: Jan 2007
Posts: 224
Received Thanks: 83
|
Why +21 gear, holy ****.
|
|
|
03/07/2016, 19:06
|
#5
|
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
|
Quote:
Originally Posted by CrimsonFart
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?
|
|
|
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
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.
|
|
|
03/07/2016, 19:20
|
#7
|
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
|
Quote:
Originally Posted by pro4never
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 :/
|
|
|
03/07/2016, 22:12
|
#8
|
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
|
|
|
03/07/2016, 22:37
|
#9
|
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.
|
|
|
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.
|
|
|
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?
|
|
|
03/09/2016, 13:19
|
#12
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
|
|
|
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
|
|
|
03/11/2016, 17:09
|
#14
|
elite*gold: 0
Join Date: Mar 2016
Posts: 43
Received Thanks: 1
|
Someone?
|
|
|
03/11/2016, 18:00
|
#15
|
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.
|
|
|
 |
|
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.
|
|