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 )
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
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++;
}
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;
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!
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.
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
[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!