Decoding The Items (binary)(better english version, thx Clust3r)

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Enthusiast endar is offline
    MemberRank
    Jun 2007 Join Date
    49Posts

    Decoding The Items (binary)(better english version, thx Clust3r)

    Original guide here: http://forum.ragezone.com/showthread.php?t=430732
    Full credits to Clust3r, this guide has been cleaned up for better English, that's the only changes.



    1: Introduction


    Our example item: Osmium Blade (ItemID: 68 ItemOpt: 0)

    First, get the id of your character by this command in GAMEDB:

    SELECT CharacterIdx FROM cabal_character_table WHERE Name = 'YourCharacterName'

    MSSQL server outputs:

    xx

    We will call your character id "xx".

    Now we get the inventory of your character.

    exec dbo.cabal_tool_GetInventory xx

    MSSQL server outputs:

    CharacterIdx: xx Data: 0x440047000028000000000000896B4685

    0x440047000028000000000000896B4685 is an example of what your inventory might look like.

    Now we can decode our inventory and inject items into it.
    It is wise to put all your items in your storage, or wear them, so that they don't get deleted in case you screw up.

    0x440047000028000000000000896B4685

    • 0x: 0x is the start of your inventory, you must always have this at the start of your inventory.
    • 4400: This is the item id. You read this backwards so it's not 4400 but 0044, and if you convert 0044 to decimal you get 68, which is the id of the Osmium Blade.
    • 896B4685: This is the remaining tag so if you want to convert your item to an unlimited item just replace this number by 00000000.


    Now the inventory code is:

    0x44004700002800000000000000000000

    We can now inject our inventory code into the database:

    exec dbo.cabal_tool_SetInventory xx, 0x44004700002800000000000000000000


    2: Item degree and binding


    Our inventory code should look like this:

    0x44004700002800000000000000000000

    Which is an unlimited Osmium Blade +0 in slot 0 of your inventory.

    44004700002800000000000000000000
    To mess with the item degree and binding, just replace this number by one of these:

    • 0: +0 with no binding
    • 1: +0 with binding
    • 2: +1 with no binding
    • 3: +1 with binding
    • 4: +2 with no binding
    • 5: +2 with binding
    • 6: +3 with no binding
    • 7: +3 with binding
    • 8: +4 with no binding
    • 9: +4 with binding
    • A: +5 with no binding
    • B: +5 with binding
    • C: +6 with no binding
    • D: +6 with binding
    • E: +7 with no binding
    • F: +7 with binding


    We going to make the item have a +5 degree with no bind.

    exec dbo.cabal_tool_SetInventory xx, 0x44A04700002800000000000000000000


    3: Crafting effects


    Now you have an Osmium Blade +5 with no bind. We can put a crafting effect on our item.

    The part of this code that defines the crafting effect is:
    0x44A0470000280000XY00000000000000

    X:

    • 9: 3% (amp/deathblow rate) +4% (Deathblow damage) or +4 (Destruction) or 1 (Luck/Adept) or +100 (Destruction attack rate)
    • A: 4% (amp/deathblow rate) +7% (Deathblow damage) or +8 (Destruction) or 2 (Luck/Adept) or +175 (Destruction attack rate)
    • B: 5% (amp/deathblow rate) +10% (Deathblow damage) or +16(Destruction) or 4 (Luck/Adept) or +300 (Destruction attack rate)
    • C: 8% (amp/deathblow rate) +16% (Deathblow damage) or +24(Destruction) or 5 (Luck/Adept) or +400 (Destruction attack rate)
    • D: 8%
    • E: 9%
    • F: 10%

    Y:
    • 1: of Destruction (Attack)
    • 2: of Destruction (Magic)
    • 3: of Destruction (Attack rate)
    • 4: of Deathblow (Damage)
    • 5: of Deathblow (Rate)
    • 6: of Luck (2 slot item drop)
    • 7: of Adept (Skill EXP)
    • 8: of Amp (Sword)
    • 9: of Amp (Magic)


    For this example, I have put a 3% Sword Amp on my blade so X would be 9 and Y would be 8.

    So the final code was:

    0x44A04700002800009800000000000000


    4: Item slots upgrades


    Our item so far is an Osmium Blade of Amp (3% Sword Amp) +5 without any slots.

    To edit the slots and what they have in it:

    0x44A04700002800009800000000000000

    00: This number defines what upgrade you have in the 1st slot.
    00: This number defines what upgrade you have in the 2nd slot.
    00: This number defines how many slots you have on the item. (0, 1, or 2)

    If you want 1 slot, change 00 to 10.
    If you want 2 slots, change 00 to 20.

    Note: The upgrade code is different for other items.

    Upgrades:

    • 10: Clean
    • 11: Attack +2
    • 12: Magic +2
    • 13: Attack Rate +???
    • 14: Critical Damage +10%
    • 15: Critical Rate +5%
    • 16: 2 slot items drop chances doubled
    • 17: Skill EXP +4
    • 18: Sword Amp +7%
    • 19: Magic Amp +7%


    I am going to put 2 slots on my blade. The first slot will have Critical Rate +5% (15) and the second one will have Sword Amp +7% (18).

    0x44A04700002815189820000000000000


    5: Conclusion


    0x440047000028000000000000896B4685

    • 4400: Item ID in hex: 0044
    • 0: Defines the degree and binding option
    • 47: Defines the serial of the item
    • 00: Defines the upgrade in the first slot of the item
    • 00: Defines the upgrade in the second slot of the item
    • 00: Defines the crafting effect on it (first digit defines the effect, second digit defines the power)
    • 00: Defines how many slots item will have (00 = 0 slots, 10 = 1 slot, 20 = 2 slots)
    • 0000: Defines where the item was be in your inventory (first and second digit define the line and last 2 digits define the column)
    • 896B4685: Defines the remaining time before expiration of the item (00000000 = unlimited item)


    6: Bonus! Calculating the ItemOpt

    Instead of going through all that inventory code, you can directly add the item to your inventory.

    ItemID: 68
    ItemOpt: 0

    This is our normal Osmium Blade +0 with no slots.

    We want to add an Osmium Blade of Deathblow (5% Rate) +3 with 2 slots. The slots will be filled with Critical Rate +5% in the first slot and Critical Damage +5% in the second slot.

    The +3 degree can be achieved in the item id octet.

    So the item id in decimal was 68. In hex, it was 44. (4400)
    Now we add an "A" to the 3rd digit to give the +3 degree.

    Now the hex of the item is 44A0. We read it backwards and get A044.

    Convert A044 into decimal and you will get 41028. This is your new item id.

    Now we calculate the ItemOpt for the crafting effect and slots.

    You need to have 1514B520. (See parts 3, 4, and 5 if you are totally lost)

    Convert 201514B5 to decimal and you will get 538252469.

    Now we can add our new item.

    ItemID: 41028
    ItemOpt: 538252469


  2. #2
    [MBT]Disconnect Disconnect1 is offline
    MemberRank
    Apr 2006 Join Date
    C:\Windows...Location
    969Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    Lol... already leeching >.>

  3. #3
    Enthusiast endar is offline
    MemberRank
    Jun 2007 Join Date
    49Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    Quote Originally Posted by Disconnect1 View Post
    Lol... already leeching >.>
    No noob, learn to read.

  4. #4
    [MBT]Disconnect Disconnect1 is offline
    MemberRank
    Apr 2006 Join Date
    C:\Windows...Location
    969Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    Quote Originally Posted by endar View Post
    No noob, learn to read.
    U gest copy/paste noob

    This Clust3r`s guide was in chinese or what ? OMG

  5. #5
    Enthusiast endar is offline
    MemberRank
    Jun 2007 Join Date
    49Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    Quote Originally Posted by Disconnect1 View Post
    U gest copy/paste noob

    This Clust3r`s guide was in chinese or what ? OMG
    Original guide here: http://forum.ragezone.com/showthread.php?t=430732
    Full credits to Clust3r, this guide has been cleaned up for better English, that's the only changes.

    Learn to read.

  6. #6
    Apprentice DixErx is offline
    MemberRank
    Aug 2008 Join Date
    PhilippinesLocation
    23Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    He doesn know how to read

  7. #7
    Account Upgraded | Title Enabled! zaugola is offline
    MemberRank
    Dec 2006 Join Date
    252Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    any example for binary when creating item with 4 slots like i saw in other guide? that guide using itemopt, wat i wanna see is using binary data, hope that any1 here can help...

    P.S : sorry to bump an old post

  8. #8
    Valued Member danielwhelan is offline
    MemberRank
    Dec 2012 Join Date
    118Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    0x440047000028000000000000896B4685 what is the 47 and 28 for??? i know 47: Defines the serial of the item but where can you find the serial of the item and what is the 28?

  9. #9
    Valued Member danielwhelan is offline
    MemberRank
    Dec 2012 Join Date
    118Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    Quote Originally Posted by danielwhelan View Post
    0x440047000028000000000000896B4685 what is the 47 and 28 for??? i know 47: Defines the serial of the item but where can you find the serial of the item and what is the 28?
    ok i have figured out these bits, however i do not understand the duration section i understand the forever and the permanent code however no the others like 1 day or 7 days, I dont believe this section explains this in enough detail
    896B4685: Defines the remaining time before expiration of the item (00000000 = unlimited item)
    is the information given....

  10. #10
    Apprentice hunterx2210 is offline
    MemberRank
    Oct 2013 Join Date
    11Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    I do as you say, but I'm stuck
    my inventory has toooooo many items
    Its look like this
    0x44E0010000000004F4F4F5450500000000F8EDE0010000000004FDFDFB4B0300000000F893E00100010000041C1C1C4C0100000000F8C0E00100010000041C1C1C4C0200000000F81AE1010001000004151514440000000000F835E0010000000004F4F4F5450400000000F879EC010001000004151515451100000000F87AEC010001000004151515451200000000F879EC010002000004151516460800000000F87AEC010002000004151516460900000000F847E3010000000004F6F6F6460D00000000F82304000000000004FC1C2C4C0600000000F898E1010003000004121212420700000000F8B5E1010001000004161616460A00000000F80FED010001000004181818480F00000000F80FED010000000004181818481000000000F8012400002D050000010000000B00000000F8

    I wonder which one is the first, which one is the second items
    HELP plz

  11. #11
    Valued Member danielwhelan is offline
    MemberRank
    Dec 2012 Join Date
    118Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    0x - basic

    44E0010000000004F4F4F5450500000000F8
    EDE0010000000004FDFDFB4B0300000000F8
    93E00100010000041C1C1C4C0100000000F8
    C0E00100010000041C1C1C4C0200000000F8
    1AE1010001000004151514440000000000F8
    35E0010000000004F4F4F5450400000000F8
    79EC010001000004151515451100000000F8
    7AEC010001000004151515451200000000F8
    79EC010002000004151516460800000000F8
    7AEC010002000004151516460900000000F8
    47E3010000000004F6F6F6460D00000000F8
    2304000000000004FC1C2C4C0600000000F8
    98E1010003000004121212420700000000F8
    B5E1010001000004161616460A00000000F8
    0FED010001000004181818480F00000000F8
    0FED010000000004181818481000000000F8
    012400002D050000010000000B00000000F8 - your item list... i can also tell you the items if needed, unless you figured it out

  12. #12
    Apprentice hunterx2210 is offline
    MemberRank
    Oct 2013 Join Date
    11Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    I own you bro ! Tks for the help
    btw, I want to ask
    In my item there is some option effect like slot 2 is +20% critical damage
    But the upgrade code from endar
    The Critical Damage +10% code 14
    Mine is +20 %, so what code should it be ?
    Last edited by hunterx2210; 05-11-14 at 10:49 AM.

  13. #13
    Valued Member danielwhelan is offline
    MemberRank
    Dec 2012 Join Date
    118Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    which item? also when creating an CDI in 2 slots instead of 14 you need to make it 24... or else it will be 10,10 seperate in each slot if you place the code 24 the 10,10 so that it says 20cdi.... idk how to explain but if you create one try it out ^^

  14. #14
    Apprentice hunterx2210 is offline
    MemberRank
    Oct 2013 Join Date
    11Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    I did it so far now ! :)
    There is somethings I find out. About the last slot of item is Extended, Show as the last slot has a plus in it.
    Awesome effect. Amulet can push more then 10% max critical rate. Weapon can push over 80% Critical damage if the last slot is Extended
    The problem is, I dunno how to cal or generate Item Id for Extended slot
    Ex: Forcium Katana Id is 55
    Forcium Katana +15 Id is 122935
    Forcium Katana +15 Last slot is Extended, it show the Id as 127031
    Now how to calculate that

  15. #15
    Valued Member danielwhelan is offline
    MemberRank
    Dec 2012 Join Date
    118Posts

    Re: Decoding The Items (binary)(better english version, thx Clust3r)

    for item slot you need to E to an F in the 44E001 also make sure that you code the correct amount of slots you want as i can see thought your binary code you have alot of slots say this code 1be019002c010004d4240020020000000000 Basics are the 1be0 you read it backwards removing the E(whatever number or letter it is) meaning 01b - this you need to convert to get the IDX of the item D424002 this means D4 being the craft option and 24 being 24CDI however each 10CDI is 14....with the 2 at the end representing the amount of slots you want, going back to the start of the code 1b(e)0 meaning this item is not extended you will have 20CDI however if this was to be extended you need to change to F then this item will be a 24cdi, 1 slot and 1 extended if you would like a 3rd slot extended change the E to F and the new code will be D4(CRAFT)24(20CDI) with the 00 you need to change to an option then change the 2 into a 3. hope you understand if not PM me



Page 1 of 2 12 LastLast

Advertisement