|
You last visited: Today at 06:17
Advertisement
help wuxing oven
Discussion on help wuxing oven within the CO2 Private Server forum part of the Conquer Online 2 category.
02/06/2010, 02:40
|
#1
|
elite*gold: 0
Join Date: Jan 2010
Posts: 54
Received Thanks: 6
|
help wuxing oven
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.
Sorry for my bad English.
|
|
|
02/06/2010, 02:48
|
#2
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Try looking at one of the modified CoEmu sources. They have composition fully working and would provide a very good reference on how to code it properly for lotf.
SwordCo would be a nice example to try.
|
|
|
02/06/2010, 02:50
|
#3
|
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
|
Quote:
Originally Posted by pro4never
Try looking at one of the modified CoEmu sources. They have composition fully working and would provide a very good reference on how to code it properly for lotf.
SwordCo would be a nice example to try.
|
read my mind
|
|
|
02/06/2010, 02:52
|
#4
|
elite*gold: 0
Join Date: Feb 2010
Posts: 80
Received Thanks: 29
|
This is not my work. Its Arco's. Couldn't find the thread so i decide to post it here. D=
And Don't thank me! Rofl. Give thank to Arco.
Go to compose.cs and search for
PHP Code:
if (MainI.ID != 0 && MinorI.ID != 0 && MainI.Plus <= 8)
Replace the entire void with this
PHP Code:
if (MainI.ID != 0 && MinorI.ID != 0 && MainI.Plus <= 11)
{
uint Progress = MainI.Progress;
Progress += Database.StonePts[MinorI.Plus];
GC.MyChar.RemoveItem(MinorI);
GC.MyChar.RemoveItem(MainI);
while (Progress >= Database.ComposePts[MainI.Plus] && MainI.Plus <= 11)
{
Progress -= Database.ComposePts[MainI.Plus];
MainI.Plus++;
}
if (MainI.Plus == 12)
Progress = 0;
MainI.Progress = (ushort)Progress;
GC.MyChar.AddItem(MainI);
GC.MyChar.RemoveItem(MinorI);
}
Then go to database.cs and search for
PHP Code:
public static ushort[] ComposePts = new ushort[12] { 20, 20, 80, 240, 720, 2160, 6480, 19440, 58320, 2700, 5500, 9000 };
And replace that with
PHP Code:
public static ushort[] ComposePts = new ushort[13] { 20, 20, 80, 240, 720, 2160, 6480, 19440, 58320, 2700, 5500, 9000, 29160 };
|
|
|
02/06/2010, 02:52
|
#5
|
elite*gold: 0
Join Date: Jan 2010
Posts: 54
Received Thanks: 6
|
Pro4never, thx very much,
I think to compare, but I must look into what? composition.cs?
Edit: xSynthesis, I'll try, thank you so much to arco
I have one last question time as a beginner, to add a npc via a release, I am in npcdialog.cs, and I must copy and paste exactly?
Because I try to add this on my server:
|
|
|
02/06/2010, 03:07
|
#6
|
elite*gold: 0
Join Date: Feb 2010
Posts: 80
Received Thanks: 29
|
Basicly you only have to do is Copy/Paste on that release. Just Copy/Paste everything exactly like it says but the problem on that release is Mobs won't moves. So after you done copy and pasting on that release move to this one. And do everything what exactly says again. Then Mobs starts to move.
|
|
|
02/06/2010, 03:23
|
#7
|
elite*gold: 0
Join Date: Jan 2010
Posts: 54
Received Thanks: 6
|
xSynthesis, thank you for your help, but my concern is mostly that I can not add a npc, I must go npcdialog.cs, but after the copy / paste or do I?
Because before you make your fix, I must first pass, the other release.
Can you show me where I need to copy and paste if you please:
Anyway thank you for you're support.
|
|
|
02/06/2010, 03:32
|
#8
|
elite*gold: 0
Join Date: Feb 2010
Posts: 80
Received Thanks: 29
|
Just paste the codes under the boxes.

Did you see the red line on the picture?
Paste the codes right there
|
|
|
02/06/2010, 03:42
|
#9
|
elite*gold: 0
Join Date: Jan 2010
Posts: 54
Received Thanks: 6
|
xSynthesis, It's very nice of you for several days I could not, I do not know anyone around me who knows about coding, so I am only to start, thank you.
For cons, the composition of the stones do not always disappear after you put in the object> <
|
|
|
 |
Similar Threads
|
[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!
|
[help] with wuxing oven
06/06/2009 - CO2 Private Server - 6 Replies
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.
|
All times are GMT +1. The time now is 06:17.
|
|