Register for your free account! | Forgot your password?

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

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

Advertisement



How to handle Refinery Items

Discussion on How to handle Refinery Items within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
How to handle Refinery Items

Just one sample code for 1 items only and I will try to figure out the rest....
thanks.
marlyandedsel is offline  
Old 10/15/2011, 02:57   #2
 
.Kinshi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
When you send the item to the player, send any refinery types it has (packet 2077).

Item code:
Code:
        public void Send(Entities.Hero h)
        {
            h.Owner.Send(mData);
            if (Artifacts.Count > 0)
            {
                Packets.Structures.ItemArtifact artifact = new Packets.Structures.ItemArtifact();
                artifact.Add(Artifacts);
                h.Owner.Send((Byte[])artifact);
            }
        }
Same goes for dragon souls and what not.
.Kinshi is offline  
Thanks
4 Users
Old 10/17/2011, 13:13   #3
 
-Sensei-'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 267
Received Thanks: 59
I can still get it
-Sensei- is offline  
Old 10/17/2011, 20:41   #4
 
elite*gold: 0
Join Date: Sep 2011
Posts: 40
Received Thanks: 8
Quote:
Originally Posted by .Kinshi View Post
When you send the item to the player, send any refinery types it has (packet 2077).

Item code:
Code:
        public void Send(Entities.Hero h)
        {
            h.Owner.Send(mData);
            if (Artifacts.Count > 0)
            {
                Packets.Structures.ItemArtifact artifact = new Packets.Structures.ItemArtifact();
                artifact.Add(Artifacts);
                h.Owner.Send((Byte[])artifact);
            }
        }
Same goes for dragon souls and what not.
thx
DontSpeakToMe is offline  
Reply


Similar Threads Similar Threads
Pet Refinery???
08/05/2011 - Archlord - 3 Replies
So Webzen just gave a level 3 Serz in the items giveway and I tried to refine it but it says: You have the wrong number of items you must assign them according to the manual in your inventory. Help please :/
AeroGunZ | Can you handle it? | 30x XP | Poseidon Antihack | Many Maps&Items |
05/11/2010 - Private Server Advertising - 2 Replies
edited by trane.



All times are GMT +2. The time now is 03:20.


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.