|
You last visited: Today at 01:49
Advertisement
+12 Item Composition
Discussion on +12 Item Composition within the CO2 Private Server forum part of the Conquer Online 2 category.
04/09/2011, 14:01
|
#1
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
+12 Item Composition
Hi there!
My problem is that I can compose my items till +9 with stones like +1 +2 +3 +4 +5 and +6 , BUT , I can't use +7 / +8 stones.
So it doesn't work to +12 any item , it works only from +1 to +9.
What should I add/modify to get it work till +12 with all kind of stones?
Thanks.
P.S: I can only generate +12 items by command ( /item 14563 12 7 255 13 13 )
If you are a flamer don't comment.
I'm using Chris's source!
|
|
|
04/09/2011, 15:11
|
#2
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
The real question is how are you getting the + stones? By command?
Make sure they have an ACTUAL plus value and are not just the item itself.
IE
+8Stone(+8)
not just +8Stone
If not it won't work in composition.
|
|
|
04/09/2011, 18:29
|
#3
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
I don't understand,I searched for +8Stone(+8) in Items.txt and I didn't found it.
|
|
|
04/09/2011, 18:39
|
#4
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
No, it all has to do with where you are getting these +8 stones from. You need to be manually giving them a +8 when you purchase/give them out.
|
|
|
04/09/2011, 18:42
|
#5
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
So,it doesn't work by command?
Gotta make a NPC that sells it?
|
|
|
04/09/2011, 19:14
|
#6
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
it can work by command.. hes just saying you need to make sure you are making the Item with the Correct values else it wount work in the Composition Stove
|
|
|
04/09/2011, 20:14
|
#7
|
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
|
just go to the Composition.cs and find the GetPlusReq void and edit the highlighted part of the code to whatever is the right req points thats whats wrong .
Quote:
private static uint GetPlusReq(int p)
{
switch (p)
{
case 0:
{
return 20;
}
case 1:
{
return 20;
}
case 2:
{
return 80;
}
case 3:
{
return 240;
}
case 4:
{
return 720;
}
case 5:
{
return 2160;
}
case 6:
{
return 6480;
}
case 7:
{
return 19440;
}
case 8:
{
return 58320;
}
case 9:
{
return 116640; to 2700;
}
case 10:
{
return 233280; to 5500;
}
case 11:
{
return 466560; to 9000;
}
default:
{
return 0;
}
}
}
|
Ps. the numbers i used up there are not the right ones you need to figure them or w/e
Edit. or they are the right ones wtf i think i better go to bed i cant think any more :P
one more thing .
find this in the Composition.cs
Quote:
while (MainItem.Composition >= GetPlusReq(MainItem.Plus))
{
MainItem.Composition -= GetPlusReq(MainItem.Plus);
MainItem.Plus++;
}
|
and change it to
Quote:
while (MainItem.Composition >= GetPlusReq(MainItem.Plus) && MainItem.Plus < 12)
{
MainItem.Composition -= GetPlusReq(MainItem.Plus);
MainItem.Plus++;
if (MainItem.Plus == 12) { MainItem.Composition = 0; }
}
|
cus the way it was its gonna keep racing the item plus as long as the item composition points is greater than 0 and the GetPlusReq void is returning 0 as default;
|
|
|
04/09/2011, 21:19
|
#8
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
You guys didn't understand me right!
Look at this picture and you'll know what I mean!
|
|
|
04/09/2011, 22:06
|
#9
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
Quote:
Originally Posted by { Angelius }
just go to the Composition.cs and find the GetPlusReq void and edit the highlighted part of the code to whatever is the right req points thats whats wrong .
Ps. the numbers i used up there are not the right ones you need to figure them or w/e
Edit. or they are the right ones wtf i think i better go to bed i cant think any more :P
one more thing .
find this in the Composition.cs
and change it to
cus the way it was its gonna keep racing the item plus as long as the item composition points is greater than 0 and the GetPlusReq void is returning 0 as default;
|
It works now to upgrade till +12.
But only with +1 , +2 , +3 , +4 , +5 and +6 stones.
It doesn't work with +7 and +8 stones
Look at my previous post!
|
|
|
04/09/2011, 22:13
|
#10
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Again... are the +8 stones actually +8? How are you getting them? From a cmd or how? Sounds like you haven't given them a plus.
Eg adding the item using a +8 stone does NOT make it +8. You still need to give it a + value like any other item.
|
|
|
04/09/2011, 22:17
|
#11
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
Quote:
Originally Posted by pro4never
Again... are the +8 stones actually +8? How are you getting them? From a cmd or how? Sounds like you haven't given them a plus.
Eg adding the item using a +8 stone does NOT make it +8. You still need to give it a + value like any other item.
|
I'm getting the +8 stones by command.
/item 730008 0 0 0 0 0
|
|
|
04/09/2011, 23:06
|
#12
|
elite*gold: 0
Join Date: Dec 2007
Posts: 63
Received Thanks: 0
|
Quote:
Originally Posted by alexalx
I'm getting the +8 stones by command.
/item 730008 0 0 0 0 0
|
I'm not using your source but try this /item 730008 8 0 0 0 0
(Will only work if the third command argument is "plus")
The problem is that you are creating +0 +8Stones. +8Stones are not +8 by themselves. (that's why you see in game "+8Stone(+8)" not "+8Stone". If you see only "+8Stone", tada, problem found.)
[Edit]
I don't know if the problem is already solved but whatever.
|
|
|
04/10/2011, 00:09
|
#13
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
Quote:
Originally Posted by kill_acvc
I'm not using your source but try this /item 730008 8 0 0 0 0
(Will only work if the third command argument is "plus")
The problem is that you are creating +0 +8Stones. +8Stones are not +8 by themselves. (that's why you see in game "+8Stone(+8)" not "+8Stone". If you see only "+8Stone", tada, problem found.)
[Edit]
I don't know if the problem is already solved but whatever.
|
Thank you,that was the problem.
So,the right command for stones is:
/item IDOFSTONE +OFSTONE 0 0 0 0
|
|
|
04/10/2011, 00:19
|
#14
|
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
|
#Solved
#Request closed
|
|
|
04/10/2011, 00:32
|
#15
|
elite*gold: 0
Join Date: Dec 2007
Posts: 63
Received Thanks: 0
|
Quote:
Originally Posted by alexalx
Thank you,that was the problem.
So,the right command for stones is:
/item IDOFSTONE +OFSTONE 0 0 0 0
|
Precisely, in your server, at least.
|
|
|
Similar Threads
|
[Fix] Breeding & Item Composition System [5165 LOFT]
02/21/2010 - CO2 PServer Guides & Releases - 18 Replies
I have no idea if this has been released but I looked and couldn't find one that worked. The problem I kept having was that the WuxingOven wasn't deleting the minor items after composing... It's a very simple fix... (again, if this was released, then I'm sorry.)
Here is my fix.
I noticed that the packet "Compose.cs" had a line with this code:
if (MainI.ID != 0 && MinorI.ID != 0 && MainI.Plus <= 11)
I deleted everything under that so that it looked like this:
if (MainI.ID != 0 &&...
|
Item Composition Calculator!
01/10/2007 - CO2 Exploits, Hacks & Tools - 11 Replies
Here's a spread sheet I made that calculates +1's you need..
Uses Microsoft Excel, but you can view it using OpenOffice
Posted in rar file, because xls files can't be uploaded. =.=
Improvements?
Enjoy!
|
All times are GMT +1. The time now is 01:50.
|
|