|
You last visited: Today at 10:48
Advertisement
Adding new garments into older clients
Discussion on Adding new garments into older clients within the CO2 Private Server forum part of the Conquer Online 2 category.
02/12/2014, 04:12
|
#1
|
elite*gold: 0
Join Date: Sep 2011
Posts: 67
Received Thanks: 19
|
Adding new garments into older clients
Hello everybody..
I got a problem.. I've tried to add a new garment (DivaSuit) into a old client.
what i have done:
Added 3DTexture (ID direction to texture)
Added 3Dobj. (ID direction to mesh)
Added Armor (ID = texture & mesh)
Added the Texture to c3/texture, also the mesh in c3/mesh
Added ItemMinIcon & MapItemIcon .dds textures
Added those both textures into ItemMinIcon.ani & MapItemIcon.ani
Added DivaSuit into itemtype
Added DivaSuit into itemtype (source side)
Added DivaSuit into itemtype (database)
If i start my server i can creat that garment, i can drop it and see it in my inventory correctly, but i can't wear it. If i right click it i get the message "could not load script for item ID ******" But im pretty sure the ID is correct, also changed it for other possible ones.. anyone got an idea? may i forgot something?
|
|
|
02/12/2014, 15:51
|
#2
|
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 31
|
I don't know if its right, but i guess there is something in your source like:
Code:
if(itemid >= 123456 || itemid <= 123456) {
}
You can try to make the id higer, or copy that.
Again, i don't know if i'm right.. but i guess its something like that  ... its because the source can't handle the item now, because it don't know what kind of type it is i believe.
|
|
|
02/12/2014, 16:10
|
#3
|
elite*gold: 0
Join Date: Sep 2011
Posts: 67
Received Thanks: 19
|
i can't find anything in the source, but i guess it has to be something with the source :/
|
|
|
02/12/2014, 18:34
|
#4
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Quote:
Originally Posted by -Zo
i can't find anything in the source, but i guess it has to be something with the source :/
|
It is not added server sided, make sure you add it in your itemtype table/file.
|
|
|
02/12/2014, 22:34
|
#5
|
elite*gold: 0
Join Date: Sep 2011
Posts: 67
Received Thanks: 19
|
Quote:
Originally Posted by turk55
It is not added server sided, make sure you add it in your itemtype table/file.
|
It was added correctly.. but didnt worked
|
|
|
02/12/2014, 23:01
|
#6
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Quote:
Originally Posted by -Zo
It was added correctly.. but didnt worked
|
If it was added correctly it would of worked.
|
|
|
02/12/2014, 23:14
|
#7
|
elite*gold: 0
Join Date: Sep 2011
Posts: 67
Received Thanks: 19
|
Quote:
Originally Posted by turk55
If it was added correctly it would of worked. 
|
it is.. all 3 itemtypes (client,database and source) are correctly and the same..
|
|
|
02/12/2014, 23:23
|
#8
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Quote:
Originally Posted by -Zo
it is.. all 3 itemtypes (client,database and source) are correctly and the same..
|
What part of if it were correct added it would of worked don't you understand ?
Client sided it is correctly added, database sided aswell, the handling in the source is where it goes wrong. Make sure it reads the ID as an garment and put it in the right item slot.
|
|
|
02/13/2014, 00:53
|
#9
|
elite*gold: 0
Join Date: Sep 2011
Posts: 67
Received Thanks: 19
|
Idk how to let it read as a garment.. can't find anything inside the source..
|
|
|
02/13/2014, 01:23
|
#10
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Quote:
Originally Posted by -Zo
Idk how to let it read as a garment.. can't find anything inside the source..
|
What source are you using?
|
|
|
02/13/2014, 01:25
|
#11
|
elite*gold: 0
Join Date: Sep 2011
Posts: 67
Received Thanks: 19
|
Quote:
Originally Posted by turk55
What source are you using?
|
redux 2.9
|
|
|
02/13/2014, 02:06
|
#12
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
What is the itemID you have used for the garment?
EquipmentManager.GetDefaultItemLocation()
It returns the item location based on the first 3 digits of the item id. Location 9 is the garment id.
|
|
|
02/13/2014, 02:40
|
#13
|
elite*gold: 0
Join Date: Sep 2011
Posts: 67
Received Thanks: 19
|
I use 188545 as ID
|
|
|
02/13/2014, 02:49
|
#14
|
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
|
Well thats why....
Code:
case 181:
case 182:
case 191:
loc = 9;
Those are the garment IDs that will work.
You just need to add yours
|
|
|
02/13/2014, 03:08
|
#15
|
elite*gold: 0
Join Date: Sep 2011
Posts: 67
Received Thanks: 19
|
Quote:
Originally Posted by Aceking
Well thats why....
Code:
case 181:
case 182:
case 191:
loc = 9;
Those are the garment IDs that will work.
You just need to add yours
|
so i have to add case 188: ?
|
|
|
 |
|
Similar Threads
|
Mouse flickering with older clients.
11/08/2012 - CO2 Private Server - 3 Replies
Hello everyone,
I decided to finish my source, I came to this problem:
I use a 5095 Client and the mouse is flickering, from conquer cursor to my default windows cursor.
The FPS also drops back to 10/20 and back to 37 when my mouse flickers.
I play normal Conquer without this problem
My specs:
Intel I5, Nvidia Geforce GT 540M (1gb) and 8GB RAM.
|
Adding new garments & Saving System problems
07/28/2011 - CO2 Private Server - 2 Replies
hey guz i wanna know 3 things:-
1st: i've added the new garments that begger raider and Schooluniform and another garment i added them to shop and they appeared clearly with their edited prices but when i wanted to buy them they didnt come in my invetory idont know the reason for that ????
2nd:i've problem in saving the Halos of Class pk and elite pk too and the big problem in guildwar cuz when u dc then login the Halo disappear and u can claim it again so it make the guild winner a...
|
[Help] Adding New Items and Garments
07/22/2009 - CO2 Private Server - 5 Replies
Can someone help me how to add new items and Garments with +12 -7 2 sdgs. Can someone help me. Thanks.
|
Adding Garments
09/13/2008 - CO2 Private Server - 7 Replies
I'm adding a new garment to my server, What files do I need to edit, and HOW, to make that work? I have the new dds DONE, saved as c3\texture\003137380.dds, and the new garment's itemID is 187375, and has been added everywhere needed. It appears on map, and in inventory, wields to the garment slot, but your character turns invisible.
+ Thanks for whoever helps me
- Rech
|
All times are GMT +1. The time now is 10:51.
|
|