Hello,
MuCore WebShop is not compatible with MuOnline 97D.
The items are all wrong and messed up.
How can we fix this?
I've tried to look in the code, but the HEX CODE from the vault for example, has no indication of what that is.
What is the item calculation for the 97D version?
It recognize all the options, item level, etc, but it always misses in the category ID. I've tried many ways but I can't find out the item category. This is my main problem.
Im using this:
The code above is for another seasons, but not 97D.PHP Code:$aa = hexdec(substr($icode, 0, 2)); // Item ID
$bb = hexdec(substr($icode, 2, 2)); // Item Level/Skill/Option Data
$cc = hexdec(substr($icode, 4, 2)); // Item Durability
$ddeeffgg = substr($icode, 6, 8); // Item SKey
$hh = hexdec(substr($icode, 14, 2)); // Item Excellent Info/ Option
$ii = hexdec(substr($icode, 16, 2)); // Ancient data
$jj = hexdec(substr($icode, 18, 1)); // Item Type
$_ref = hexdec(substr($icode, 19, 1)); // Refinery
$k = hexdec(substr($icode, 20, 1)); // Harmony type
$l = hexdec(substr($icode, 21, 1)); // Garmony Value
$jj does not get the Item Type correctly.
It always get a different Item Type from the true code.
Like:
This the is hexcode from the vault:
ea201a00450d1a000000 should be the item.PHP Code:ea201a00450d1a000000ffffffffffffffffffffffffffffffffffffffff.....
The 18th character is not equivalent to the item in the vault (It is a vine helm, and 18th char is FF [sometimes is higher but never equivalent])
I've observed that EA = 234 which is 7(Cat)*32(random number I got ^^ because I don't know what else to do) + 10(ItemID) = 234.
So maybe something like that.
Now... How can I revert all this and separate them into ItemID and CAT?
I might be doing something wrong, but its the closest I get so far...
Please help :)
Edit: Now I manage to get the Item ID, but it is also getting FF as an item, and "ea201a00450d1a000000" means 1 slot, so everything is mixed togheter... :(
Edit2: I thought I finally did it, but then I add more items... The help appears correctly, but the other items are messed up and they are not the as the ones in the vault :(
Someone could please post a php code to fix MuCore for lower versions?
