[TIPS]How to decode ITEM Binary

Page 1 of 5 12345 LastLast
Results 1 to 15 of 65
  1. #1
    Account Inactive Clust3r is offline
    InactiveRank
    Feb 2006 Join Date
    FRANCE - LilleLocation
    96Posts

    Cool [TIPS]How to decode ITEM Binary

    [TIPS]How to decode ITEM Binary
    Woot Woot after many hours of works with my honey (grumly ^^) we have (maybe) found the "logic"(:poster_do) of the hexa.

    Well, for explain my self i'll illustrating by an example, different point and gay color :)

    I: The Remaining Time
    Taking an item: Osmium Blade (ItemID : 68 ItemOpt: 0)

    For the example i have took new characters called "test" with in inventory only an Osmium Blade +0 Clean no slot.

    First get the ID of the char by this command in GAMEDB:
    Code:
    SELECT CharacterIdx FROM cabal_character_table WHERE Name = 'test'
    Server send: 20

    Now we get the inventory of this Char

    Code:
    exec dbo.cabal_tool_GetInventory 20
    Server send: CharacterIdx: 20 Data: 0x440047000028000000000000896B4685

    We keep the Data Value: 0x440047000028000000000000896B4685
    Time to decode it... (gay color enter in the party ^^)
    0x440047000028000000000000896B4685
    • 0x 0x are alltime in the start of line, that normal, that because this is a "Binary" table ^^
    • 4400: This is the ITEM ID, you nees to read it in the Asian way <= so it's not 4400 but 0044 and if you convert 0044 in decimal you got 68 (Item of the Blade Osmium)
    • 896B4685: This is the REMAINING TAG so if you want to convert your item to unlimited item just replace this number by "00000000"


    So for do that it's easy. The new line code was now: 44004700002800000000000000000000

    Code:
    exec dbo.cabal_tool_SetInventory 20, 0x44004700002800000000000000000000
    II: Put +X on an item or/and put "Binding Item" effect on it
    We keep the reference of the last point
    44004700002800000000000000000000 <= unlimited Osmium Blade +0 clean 0 slot.

    Now let see what is the binary used for describe the +0 +1 +2 etc..
    44004700002800000000000000000000
    Just replace this number by one of this list:
    • 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


    For the example we going to make the Blade +5 with no bind

    Code:
    exec dbo.cabal_tool_SetInventory 20, 0x44A04700002800000000000000000000

    III: Put a craft effect to an item
    Now you have an Osmium Blade +5 0 slot Clean. That cool but we can do more damage with a Craft effect.

    Retake the code of the blade : 44A04700002800000000000000000000

    The part of this number who define the craft effect are this one:
    44A0470000280000XY00000000000000
    For put a craft effect on this blade just replace this by what you want:
    for X:
    • 9="3%(amp/deathblow rate) +4%(Deathblow dmg) or +4(Destruction) or 1(Luck/Adept) or +100(Destruction attk rate)"
    • A="4%(amp/deathblow rate) +7%(Deathblow dmg) or +8(Destruction) or 2(Luck/Adept) or +175(Destruction attk rate)"
    • B="5%(amp/deathblow rate) +10%(Deathblow dmg) or +16(Destruction) or 4(Luck/Adept) or +300(Destruction attk rate)"
    • C="8%(amp/deathblow rate) +16%(Deathblow dmg) or +24(Destruction) or 5(Luck/Adept) or +400(Destruction attk rate)"
    • D="8%"
    • E="9%"
    • F="10%"

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


    For this example i have decided to put more Sword Amp on my blade :p hummm... 3%
    so X need to be "9" and Y need to be "8"

    So final code was:
    44A04700002800009800000000000000

    reinject the code with the same procedure has point I or II ^^

    IV: Put slot on item and put upgrade in it
    Ok, continue to keep the same code
    44A04700002800009800000000000000 so for your little memory, and because you read so fast without remember anythink ^^ i resume what is this line,

    this line was an Osmium Blade of Amp (3% Sword Amp) +5 without slot.

    What ? This blade have no slot ? ok ok i'll going to fix that :)

    for edit the slot and what they have in it, this is this number:
    44A04700002800009800000000000000
    COLOR="Red"]00[/COLOR]: This number define what upgrade you have in [B]the 1st slot
    00: This number define what upgrade you have in [B]the 2nd slot
    00: Define how many slot you have on the item (0 1 or 2)
    if you want 1 slot change 00 by 10, if you want 2 edit 00 by 20.

    The list of the code depends of what kinf of part you edit. The upgrade code are different between Blade, Suit, Helmet, etc... etc.. (We don't have make all list so stay tuned ^^)

    For this exemple the item was a Blade:
    • 10 = Clean
    • 11 = Attack + 2
    • 12 = Magic +2
    • 13 = Attack Rate +??? (I have Forgot :p)
    • 14 = Critical Dmg +10%
    • 15 = Critical RAte +5%
    • 16 = 2slot item Drop 2.0times
    • 17 = Skill EXP +4
    • 18 = Sword Amp +7%
    • 19 = Magic Amp +7%


    /!\ TAKE CARE !!! IF YOU WANT 2SLOT ITEM WITH SAME UPGRADE IN BOTH SLOT DON'T USE 1414XX20 for example but use: 2400XX20/!\

    So for the example, i'll going to put 2 slot on my blade, first slot with Critical Rate +5% (15) and the second one with Sword Amp +7% (18)

    44A04700002815189820000000000000

    Reinject this code with the same method has Point I or II :)

    V: Conclusion
    440047000028000000000000896B4685
    • 4400: Item ID in hexa (/!\ Read it in reverse not 4400 but 0044/!\)
    • 0: Define the +X and Binding option
    • 47: Define the serial of the item
    • 00: Define the upgrade in the first slot of the item
    • 00: Define the upgrade in the second slot of the item
    • 00: Define the craft bonus on it, first digit define the effect, second define the power
    • 00: Define how many slot have the item 00 = 0 slot - 10 = 1 slot - 20 = 2 slot
    • 0000: Define where the item was situate in your inventory First and second degit define the line and last 2 digit define the column
    • 896B4685: Define the remaining time before expiration of the item, 00000000 for unexpireable item.

    VI: "I'M TOTALY NERD I WANT MORE !!!!!:scratch:"
    Humm ok honey calm down, you want more? You try to find the BONUS of the How to ?

    Allright, this is for you ! :cupidarro

    Has you know, editing inventory with binary make us nervous, so now for you (yes you only you behind your screen) i'll give to you, the method for get the ItemOpt for directly get in game the item with all option you want !

    For explain myself be attentive :)

    I'm keeping my Osmium Blade for most facility

    ItemId: 68
    ItemOpt: 0
    for Clean one no slot.

    But you want Osmium Blade of Deathblow (5% Rate) +3 2 slots with Critical Rate +5% in the first one and Critical Dmg +5% in the second
    So if you have read the how to on the top you going to understand rapidly :)

    You want a Blade +3 and the number who define the +3 effect are in the ItemNumber octect.
    So Item Number in decimal was 68 = 44 in hexa, so 4400 (if you refer @ part I)
    Now you need to put 3td digit to A for give the +3 on the Blade.

    So the new Hexa of the Bladewas 44A0. (Don't forget to read it in reverse not 44A0 but A044) Convert A044 into decimal = 41028 (This is your Item number) Keep it and go to next stage.

    Now calc the ItemOpt for the bonus craft and slot

    You need to have 1514B520 (cf PART III IV V if you are totaly lost)
    /!\ Read it in this way for calc your Opt: 201514B5 convert this hexa in decimal: 538252469 /!\

    Resuming: Item Number: 41028 Opt: 538252469 TADAM ! ^^ (cf Thumb Picture)

    VII: Thanks
    "Merci" @ Grumly, nothing can do without him :)
    I hope i'll be clear for us

    And excuse my English :s

    VIII: Note
    This is the same system for Wharehouse.

    And the same base for Skill and Quest but for this we need to know all Hexa code for all quest and skill. Very very hard and long work for get all code. But if one day someone get it, the base was the same.

    Still under dev: http://www.oldsch00l.net/item_calc.php ugly but be usefull in a couple of day
    Attached Thumbnails Attached Thumbnails Cabal(Ver22-080713-0810-0000).jpg  
    Last edited by Clust3r; 13-07-08 at 01:56 PM.


  2. #2
    Account Inactive grumly is offline
    InactiveRank
    Jul 2008 Join Date
    franceLocation
    1Posts

    Re: [TIPS]How to decode ITEM Binary(Not Finish)

    now whith this go create your new ubber stuff :)

  3. #3
    Account Inactive john_d is offline
    InactiveRank
    Feb 2004 Join Date
    PhilippinesLocation
    2,868Posts

    Re: [TIPS]How to decode ITEM Binary(Not Finish)

    that's very nice ... ill keep this bookmarked for now

  4. #4
    Alpha Member terzo is offline
    Alpha MaleRank
    Sep 2007 Join Date
    BrazilLocation
    1,604Posts

    Re: [TIPS]How to decode ITEM Binary(Not Finish)

    really nice, thank you

  5. #5
    Akaruz - The Legend [hidden] is offline
    True MemberRank
    Jun 2006 Join Date
    ClassifiedLocation
    1,120Posts

    Re: [TIPS]How to decode ITEM Binary

    very nice finding. this will help a lot.

  6. #6
    Game Developer snaity is offline
    True MemberRank
    Oct 2005 Join Date
    BrazilLocation
    947Posts

    Re: [TIPS]How to decode ITEM Binary

    nice analize(economized time to me to analize it) now a can edita start items for new characters or add.

  7. #7
    Account Inactive vladiks is offline
    InactiveRank
    Feb 2008 Join Date
    128Posts

    Re: [TIPS]How to decode ITEM Binary

    Clust3r niCE :) I LOVE yoU :D NO GEY :D

  8. #8
    The Dinosaur chumpywumpy is offline
    The OmegaRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: [TIPS]How to decode ITEM Binary

    Great work, keep it up!

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

    Re: [TIPS]How to decode ITEM Binary

    Great job :)

    Now we need Deathway to make a super editor like CzFEditor ^^

  10. #10
    Account Inactive Clust3r is offline
    InactiveRank
    Feb 2006 Join Date
    FRANCE - LilleLocation
    96Posts

    Re: [TIPS]How to decode ITEM Binary

    Quote Originally Posted by Disconnect1 View Post
    Great job :)

    Now we need Deathway to make a super editor like CzFEditor ^^
    Yep, i'm totaly tired so i'll go to sleep :p

    But i have start this:
    http://www.oldsch00l.net/item_calc.php

    Craft option not still impletented but other option look to works.. Use with caution :)

    I'll finish it in phiew hours after a little time in my bed :)

  11. #11
    Account Inactive fasiok is offline
    InactiveRank
    Aug 2006 Join Date
    thaiLocation
    41Posts

    Re: [TIPS]How to decode ITEM Binary

    http://www.oldsch00l.net/item_calc.php ------> I love u *0*. Thk Clust3r

  12. #12
    Member Aezeroth is offline
    MemberRank
    Jan 2005 Join Date
    127.0.0.1Location
    85Posts

    Re: [TIPS]How to decode ITEM Binary(Not Finish)

    Quote Originally Posted by john_d View Post
    that's very nice ... ill keep this bookmarked for now
    @offtopic
    nice to see you in this section supaman! ^_~
    been a while since i started to run priv servs again..
    still hosting MuKidz?
    and oh, btw, did you made the web for DukeGr?
    as long as i remember, you rock on those stuffs :D

  13. #13
    Account Inactive john_d is offline
    InactiveRank
    Feb 2004 Join Date
    PhilippinesLocation
    2,868Posts

    Re: [TIPS]How to decode ITEM Binary(Not Finish)

    Quote Originally Posted by Aezeroth View Post
    @offtopic
    nice to see you in this section supaman! ^_~
    been a while since i started to run priv servs again..
    still hosting MuKidz?
    and oh, btw, did you made the web for DukeGr?
    as long as i remember, you rock on those stuffs :D
    i nevver hosted mukidz.. i just managed it sometimes ... cause my friend Q is busy sometimes.

    honestly i cant remember which and wat web i made .... but i see some of my work here and there... remade, edit and redone ^^

    lol @ supaman .. good old times

  14. #14
    4ever Alone = my religion nanoman is offline
    True MemberRank
    Jul 2006 Join Date
    564Posts

    Re: [TIPS]How to decode ITEM Binary

    Genius! I love you! P.S. God thank you for these peoples!

  15. #15
    Account Inactive `CcyClOnE` is offline
    InactiveRank
    Jul 2008 Join Date
    USLocation
    270Posts

    Re: [TIPS]How to decode ITEM Binary

    wow nice thnx alot men ^_^



Page 1 of 5 12345 LastLast

Advertisement