Register for your free account! | Forgot your password?

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

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

Advertisement



A Little Help Here, Please

Discussion on A Little Help Here, Please within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2006
Posts: 48
Received Thanks: 4
A Little Help Here, Please

I am trying to add Ninja stuff on my server. Started for Katanas.
They appear in my bag and also in the floor, but when I try to equip them, it appears a message saying that the item is not implemented, as you can see in the following svreenshot:



can someone help me fixing this bug? or tell me how to, at least?
I don't need anyone to do it for me, I just need a few tips.
Thanks in advance
java1 is offline  
Old 01/30/2009, 18:37   #2
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Probably this is how I would do in my source:

Quote:
if (Item.ID == KatanaID)
{
Item it = MyChar.Equipment[5];
MyChar.Inventory.Add(it);
MyChar.Equipment[5] == Item;
}

You should get it..
_Emme_ is offline  
Thanks
1 User
Old 01/30/2009, 19:49   #3
 
elite*gold: 0
Join Date: Sep 2006
Posts: 48
Received Thanks: 4
thank you, Emme, for your help.
that part is done now. I could equip the item, but it doesnt show on the char.
i changed everything based on pictures, even the texture...
i was thinking the problem could be in the Thumbs.db file, but it is encrypted.
anyone has any idea how to open/edit it?
java1 is offline  
Old 01/31/2009, 00:08   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
You can't use a prefix for the itemID as 600.


The client handles a right-click on an item, finds the equip slot, and sends a 1009/ItemUsagePacket/0x3f1. Item using(like exp ball using) and equipping (like armor) are the same packet, same subtype, just one has an equip slot, and the other uses 0 as the equip slot.
If the client doesn't recognize the prefix(the first 3 digits, such as 600 for katana, 421 for backsword, etc) it sends it as 0, and the server handles it as item USAGE, not equipping.

Just use an itemid prefix like 430 or something that's not being used.
tao4229 is offline  
Reply




All times are GMT +2. The time now is 13:47.


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