Register for your free account! | Forgot your password?

You last visited: Today at 14:47

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

Advertisement



Blacktulip - CoEmu

Discussion on Blacktulip - CoEmu within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2006
Posts: 114
Received Thanks: 30
Talking Blacktulip - CoEmu

Insert into UseItem.cs

Code:
                case 723584://BlackTulip
                    {
                        if (CSocket.Client.Equipment.ContainsKey(3))
                        {
                            Struct.ItemInfo itm = CSocket.Client.Equipment[3];
                            CSocket.Send(ConquerPacket.ItemInfo(itm.UID,itm.ItemID, itm.Plus, itm.Bless, itm.Enchant, itm.Soc1, itm.Soc2, itm.Dura, itm.MaxDura, itm.Position, 2));
                            Database.Database.UpdateItem(Item);
                            CSocket.Send(ConquerPacket.ItemUsage(itm.ItemID, 255, Struct.ItemUsage.RemoveItem));
                            CSocket.Send(ConquerPacket.ItemInfo(itm.UID, itm.ItemID, itm.Plus, itm.Bless, itm.Enchant, itm.Soc1, itm.Soc2, itm.Dura, itm.MaxDura, itm.Position, 2));
                            ItemUpdate(itm.UID, itm.ItemID, itm.Plus, itm.Bless, itm.Enchant, itm.Soc1, itm.Soc2, itm.Dura, itm.MaxDura, 3, 2);
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Your Armor is now black!", Struct.ChatType.Top));
                        }
                        else
                        {
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "you Do not have armor on!", Struct.ChatType.Top));
                            Delete = false;
                        }
                        break;
                    }
               /* case 723584://BlackTulip
                    {
                        CSocket.Client.Equipment[3].Color = 2;
                        int UID = CSocket.Client.Equipment[3].UID;
                        int itemid = CSocket.Client.Equipment[3].ItemID;
                        int Plus = CSocket.Client.Equipment[3].Plus;
                        int Minus = CSocket.Client.Equipment[3].Bless;
                        int Enchant = CSocket.Client.Equipment[3].Enchant;
                        int soc1 = CSocket.Client.Equipment[3].Soc1;
                        int soc2 = CSocket.Client.Equipment[3].Soc2;
                        int currentdura = CSocket.Client.Equipment[3].Dura;
                        int maxdura = CSocket.Client.Equipment[3].MaxDura;
                        int Location = 3;
                        int Color = CSocket.Client.Equipment[2].Color;
                        //CSocket.Client.Equipment[3].Add(UID, itemid, Plus, Minus, Enchant, soc1, soc2, currentdura, maxdura, Location, Color);
                        ItemUpdate(UID, itemid, Plus, Minus, Enchant, soc1, soc2, currentdura, maxdura, Location, Color);
                        CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Armor is now black.", Struct.ChatType.Top));
                        Database.Database.UpdateItem(CSocket.Client.Equipment[3]);
                        break;
                    }*/
Quote:
It will make armor black and all but just dun know how to make it save... so u can fix that urself..
****ALL-CREDITS-TO-Taylor-AND-Me****

NEED A GOOD CODER FOR MY SeRVER

**Can someone help with MagicArtisan?**
imported_spitt_fire911 is offline  
Thanks
1 User
Old 07/14/2009, 08:04   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
next timei sucggest instead of use {Quote}{/Quote}
us {code}{/code}
Arcotemple:) is offline  
Thanks
1 User
Old 07/14/2009, 08:05   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by imported_spitt_fire911 View Post
Insert into UseItem.cs



****CREDITS-TO-Taylor-AND-Me****

NEED A GOOD CODER FOR MY SeRVER

**Can someone help with MagicArtisan?**
2 very minor things...

#1 why do you have an entire second case for the same item in comments? I assume it was something you removed? You def don't need to post both seeing as the one is entirely commented out anyways

#2: you know if you use [ code ] your stuff will keep all it's indenting and be oooohh so much more readable?

again, not major things (I didn't check all the specifics of the code cause I'm just leaving). The formatting/redundancy just kinda bugged me a bit :P No big deal though.


Quote:
Originally Posted by imported_spitt_fire911 View Post
Insert into UseItem.cs



****CREDITS-TO-Taylor-AND-Me****

NEED A GOOD CODER FOR MY SeRVER

**Can someone help with MagicArtisan?**
Quote:
Originally Posted by Arcotemple:) View Post
next timei sucggest instead of use {Quote}{/Quote}
us {code}{/code}

aww you beat me to it... except I spelled it correctly and used the right cmd xD (j/k)
pro4never is offline  
Thanks
1 User
Old 07/31/2009, 01:42   #4
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
i got it working 100% now i will be RELEASE Slater with other itmes
taylor2846 is offline  
Reply


Similar Threads Similar Threads
[HELP] CoEmu V2
08/29/2009 - CO2 Private Server - 2 Replies
Ok, if someone could help me. When I make account what do I do to make it gm.
[Help] CoEmu V2
07/12/2009 - CO2 Private Server - 5 Replies
Hello elitepvpers, I have that source on my pc and the server works but when i wanna login with the client is says Can't connect to server. I searched on allot of topics and did everything but it don't works. Can someone help me plz? add me to msn [email protected] Thank you, Stefans94
[CoEmu] Help me please.
07/01/2009 - CO2 Private Server - 23 Replies
Im new to coding and stuff but i followed every guide i have found for this. My freind tryed to help he was owner and coder of Undead co and he didnt figure it out either. i edited server.dat and all the ips in the source. started over a few times with the origional. login server runs no erros as well as the game server but everytime i try to login i get Loading like login server froze any help ill greatly appreacate THX.
CoEmu
07/01/2009 - CO2 Private Server - 9 Replies
ok i have been working and looking for stuff on the CoEmu Source...i have Downloaded Andy's version because i thought that would be the best way to go instead of all these other ones that have more problems. So Anyhow i need help with the NPC. I'm a Noobie at coding so that doesn't help but i'm in the process of learning, But I would like someone to help me code these NPC's. So If u could help me lemme know! :)
help CoEmu v2
05/30/2009 - CO2 Private Server - 1 Replies
i need video for how fixed Release code CoEmu v2 i cant put any code plase plase help



All times are GMT +1. The time now is 14:47.


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.