You last visited: Today at 08:05
Advertisement
Compose problem in 5165
Discussion on Compose problem in 5165 within the CO2 Private Server forum part of the Conquer Online 2 category.
01/16/2010, 04:45
#1
elite*gold: 0
Join Date: Jan 2009
Posts: 47
Received Thanks: 6
Compose problem in 5165
Ok on the server im currently Staff on we are having a problem with Composing such as when you make a +12 item at the Wuxing oven and then log out and log back in there will be 4 exact duplicates in your inventory...any ideas at all?
01/16/2010, 05:01
#2
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
I have no clue why its making Duplicates but check the code, Nor go to the Guides and Release section a Good working Wuxing over was released,
01/16/2010, 05:09
#3
elite*gold: 0
Join Date: Jan 2009
Posts: 47
Received Thanks: 6
:D
Thanks ill suggest it to the Coder and +karma for you
01/16/2010, 06:13
#4
elite*gold: 0
Join Date: Oct 2009
Posts: 8,784
Received Thanks: 5,304
Quote:
Originally Posted by
ipwnudont
Thanks ill suggest it to the Coder and +karma for you
Go to o striides multi release thread, Iposted my fix for composition in there and it works 100%.
01/16/2010, 13:30
#5
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by
Hepatitis C
Go to o striides multi release thread, Iposted my fix for composition in there and it works 100%.
Wrong it didnt work actually coz u forgot a line, u said change to 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 ( 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 ); } }
instead of
PHP Code:
if ( MainI . ID != 0 && MinorI . ID != 0 && MainI . Plus <= 11 ) { uint Progress = MainI . Progress ; Progress += Database . StonePts [ MinorI . Plus ]; 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 ); // Here what u forgot! }
01/16/2010, 17:03
#6
elite*gold: 0
Join Date: Oct 2009
Posts: 8,784
Received Thanks: 5,304
Quote:
Originally Posted by
~Yuki~
Wrong it didnt work actually coz u forgot a line, u said change to 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 ( 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 );
}
}
instead of
PHP Code:
if ( MainI . ID != 0 && MinorI . ID != 0 && MainI . Plus <= 11 )
{
uint Progress = MainI . Progress ;
Progress += Database . StonePts [ MinorI . Plus ];
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 ); // Here what u forgot!
}
Um, no.
I've used that code ever since I started the 5165 and it worked perfectly.
01/16/2010, 18:29
#7
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Mate if u dont add a line to remove the stone it will stay in inv.
01/16/2010, 18:35
#8
elite*gold: 0
Join Date: Oct 2009
Posts: 8,784
Received Thanks: 5,304
Quote:
Originally Posted by
~Yuki~
Mate if u dont add a line to remove the stone it will stay in inv.
Well would you mind telling me why mine works perfectly without that line?
01/16/2010, 19:06
#9
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
Quote:
Originally Posted by
Hepatitis C
Well would you mind telling me why mine works perfectly without that line?
Because you are Hepatitis. Your a disease, remember?
Diseases can skip 1 line in every void, bool and struct because they are special. =)
01/16/2010, 19:56
#10
elite*gold: 0
Join Date: Oct 2009
Posts: 8,784
Received Thanks: 5,304
Quote:
Originally Posted by
Hepatitis X
Because you are Hepatitis. Your a disease, remember?
Diseases can skip 1 line in every void, bool and struct because they are special. =)
Oh yeah, I forgot that I read that in the C# handbook!
01/16/2010, 20:11
#11
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Here you go this is stigs thread for fixed compose...
Goodluck
01/22/2010, 09:53
#12
elite*gold: 0
Join Date: Jan 2009
Posts: 47
Received Thanks: 6
ty
**EDIT
Problem fixed thanks to everyone
#request to close thread please
Similar Threads
[Problem] Can not compose items (5095)
06/08/2010 - CO2 Private Server - 1 Replies
Hello everyone, I have a problem with my PServer.
When I talk to my WuxingOven I send the composition packet (0x3f2), but when I try to make the composition and receive the composition packet (2036) the server tell me that I'm standing too far away...
I tried to insert the Character coords into the packet but still no result.
If someone had the same problem or an idea, please tell me :)
Thanks.
http://img707.imageshack.us/img707/5358/371516.jp g
i cant compose to +12 houres and iteams in sql 5165
05/06/2010 - CO2 Private Server - 3 Replies
hay all i cant compose to +12 houres and iteams in sql 5165
dose any one know how fix it?
Help 5165 Problem
05/01/2010 - CO2 Private Server - 5 Replies
Weird thing I was able to create a private server on my laptop worked nicely simple to set one of these up but I decided to make one on my cpu. Last resort was to ask for help but I can't think of anything else.
Problem Im getting is opening NewestCOServer i get cant find database cannot start the server. I know your supose to put the source in the c drive so why it's doing that I have no clue.
Im using windows vista with net framework 2.0.
If anyone has any ideas please share I will...
problem with 5165
04/09/2010 - CO2 Private Server - 2 Replies
The login keep getting freeze how do i fix that?
plz need Code Compose to +12 [5165]
02/12/2010 - CO2 Private Server - 5 Replies
Hello all
plz i need Code Compose to +12 and Disappear the ston
or file compose
All times are GMT +2. The time now is 08:06 .