Register for your free account! | Forgot your password?

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

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

Advertisement



[help] with wuxing oven

Discussion on [help] with wuxing oven within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 14
Received Thanks: 10
[help] with wuxing oven

Hey guys I was just wondering if someone can point me in the right direction for coding the oven (to enchant gear/compose) on coemuv2 source. I checked out the sql's npc/direction but just occured to me that the window is npc link activated (at least it is on co) and that there are no other npcs that have a similar structure i can look at. any help would be great. thanks.
iamanoob is offline  
Old 06/05/2009, 16:10   #2
 
elite*gold: 0
Join Date: Jul 2007
Posts: 68
Received Thanks: 10
Quote:
Originally Posted by iamanoob View Post
Hey guys I was just wondering if someone can point me in the right direction for coding the oven (to enchant gear/compose) on coemuv2 source. I checked out the sql's npc/direction but just occured to me that the window is npc link activated (at least it is on co) and that there are no other npcs that have a similar structure i can look at. any help would be great. thanks.
here here, i would love a little help, but alot of people are to stubborn to offer there knowledge and help, =/ so dont expect much lol
Shayne93 is offline  
Old 06/05/2009, 17:33   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
compose
Code:
case 35016:
                    {
                        CSocket.Send(ConquerPacket.General(CSocket.Client.ID, 1, 0, 0, 0, 0, Struct.DataType.Dialog));
                        break;
                    }
this is just to activate the windows.
i don't know how to read the final packet "2036"
Code:
[COLOR="Red"]case 2036:
                        {
                            Console.WriteLine("Composing");
                            break;
                        }[/COLOR]

                    default:
						{
							Console.WriteLine("[GameServer] Unknown packet type: " + Type);
							CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[Handler-Error] Please report: Unable to handle packet type " + Type, Struct.ChatType.Top));
							break;
						}
yuko is offline  
Thanks
1 User
Old 06/05/2009, 19:56   #4
 
elite*gold: 0
Join Date: Dec 2007
Posts: 14
Received Thanks: 10
ooo okay that helps a ton ^^ tyvm
iamanoob is offline  
Old 06/05/2009, 21:10   #5
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
How to unable Stones IDs? to compose?
felipeboladao is offline  
Old 06/06/2009, 15:25   #6
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
for the time being i'll send what i got so far on the wix oven
Code:
case 2036:
                        {
                            int ItemUID = ReadLong(Data, 8);
							int Stone = ReadLong(Data, 12);
                            if (CSocket.Client.Inventory.ContainsKey(ItemUID) && CSocket.Client.Inventory.ContainsKey(Stone))
                            {
                                Struct.ItemInfo Item = CSocket.Client.Inventory[ItemUID];
                                Struct.ItemInfo PlusStone = CSocket.Client.Inventory[Stone];
                                if (Item.Plus < PlusStone.Plus)
                                {
                                    Item.Plus = PlusStone.Plus;
                                }
                                else if (Item.Plus == PlusStone.Plus)
                                {
                                    Item.Plus += 1;
//the problem here is that the client thinks it works with progression so you need 2 stones
//i'll add the progression when i get back 
                                }
                                Database.Database.UpdateItem(Item);
                                CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, Item.Plus, Item.Bless, Item.Enchant, Item.Soc1, Item.Soc2, Item.Dura, Item.MaxDura, Item.Position, Item.Color));
                                CSocket.Send(ConquerPacket.ItemUsage(Stone, 255, Struct.ItemUsage.RemoveItem));
                                Database.Database.DeleteItem(Stone);
                                CSocket.Client.Inventory.Remove(Stone);
                            }
yuko is offline  
Old 06/06/2009, 20:08   #7
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
Zeroxelli is offline  
Reply


Similar Threads Similar Threads
help wuxing oven
02/06/2010 - CO2 Private Server - 8 Replies
Hi everyone, So, here I have an annoying problem on my server when I use the oven for wuxing composition, after mounting the item with the stone, the stone does not disappear from my bag, so the stones can be reused to infinity Help me please, I use the source published 5165. If someone with this problem, it could make a copy / paste are coding please. Thank you very much.
[Release] Wuxing Oven
12/29/2009 - CO2 PServer Guides & Releases - 247 Replies
I did this a few days ago, but some people asked me to post it; so why not. First, add this code above this case in PacketProcessor.cs default: { Console.WriteLine(" Unknown packet type: " + Type); CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, " Please report: Unable to handle packet type " + Type, Struct.ChatType.Top)); break; }
[Release]Fully working Wuxing Oven
12/26/2009 - CO2 PServer Guides & Releases - 10 Replies
Okay well I looked into the source and I see wuxing oven composes and enchant. I took 12tails bless npc and fixed it up and put it into wuxing oven code. This npc works perfectly. Only does -1 to fan and tower and does -7 to all other equips. The one that 12tails released was just a bit buggy. Just change all the Linkback to Control and it will work. Hope you enjoy. #region Enchanter case 35016: {
[Help]Wuxing Oven
08/17/2009 - CO2 Private Server - 11 Replies
Anyone can help how to make +7 - +9 works in wuxing oven.. Thanks.
[REQUEST] Wuxing oven help o.o
07/22/2009 - CO2 Private Server - 5 Replies
Ive followed Zeroxelli's guide pn adding the wuxing oven and i have fixed all the errors but one: Error 1 } expected C:\Documents and Settings\Owner\Desktop\CoRv1\CoEmu v2 GameServer\PacketProcessor.cs 2002 5 CoEmu v2 GameServer I dont know if its important or not but i wanna know how to fix it. The other thing is, the wuxing oven is NOT WORKING . For some strange reason. Wonder if anyone can help me fix that error and see why my oven is not working o.o. Thanks!



All times are GMT +2. The time now is 00:21.


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.