Gear Hex Code

Results 1 to 11 of 11
  1. #1
    Valued Member Zettacorn is offline
    MemberRank
    Jan 2010 Join Date
    127.0.0.1Location
    135Posts

    Gear Hex Code

    Ok so... I have been looking and looking for a guide on exactly how to find out what the hex code is for a property ID. Basically I would like to know exactly where and/or how to generate a hex code for a gear addon from just knowing the ID. this probably sounds really dumb but I really dont want to screw something over server side and make all my friends mad... -.- Someone please guide me. Thanks

    EDIT: if additional details are needed please let me know.


  2. #2
    Account Upgraded | Title Enabled! Bryanek is offline
    MemberRank
    Nov 2011 Join Date
    Under your bedLocation
    448Posts

    Re: Gear Hex Code

    Useful links:

    Hex

    Hex again

    Another one

  3. #3
    Valued Member Zettacorn is offline
    MemberRank
    Jan 2010 Join Date
    127.0.0.1Location
    135Posts

    Re: Gear Hex Code

    hmmm well you se my question is not where do I get an editor.. i have one however it does not have all the "Special effect" such as alot of these:
    1275 Pierce: Has a chance to decrease opponent's physical defence
    1276 Distract: Has a chance to decrease opponent's magic defence
    1277 Fright: has a chance to decrease target's physical attack
    1278 Muddle: has a chance to decrease target's magic attack
    1279 Atrophy: has a chance to decrease target's attack rate
    1280 Stupefy: Has a chance to slow target's channeling
    1281 Blind: Has a chance to decrease opponent's accuracy
    1282 Daze: Has a chance to decrease enemy's evasion
    1283 Toughen: Has a chance to increase physical defence
    1284 Wisen: Has a chance to increase character's magic defence
    1285 Slow: Has a chance to slow the opponent
    1286 Sharpen: Has a chance to increase physical attack
    1287 Quicken: Has a chance to increase attack rate
    1288 Nimble: Has a chance to increase accuracy
    1289 Regeneration: Has a chance to recover 5% HP
    1290 Enlighten: Has a chance to recover MP by 5%
    1291 Gloom: Has a chance to greatly increase physical attack at the cost of losing 5% MP
    1292 Unrelenting: Has a chance to greatly increase physical attack at the cost of reducing physical defence
    1293 Provoke: Increase your threat level
    1294 Has a chance to stun target for 3 seconds
    1295 Freeze: Has a chance to freeze the opponent for 3 seconds
    1296 Seal: Has a chance to make the target unable to attack for 5 seconds
    1297 Sacrificial Strike: Has a chance to inflict double damage at the cost of losing 5% HP
    1298 Berserk: Has a chance to make the wielder go berserk, increasing physical attack and attack rate along with damage taken
    1299 Meditation: Has a chance to recover HP and MP both by 5%
    1300 Blood Defect: Has a chance to recover 10% HP
    1301 Spirit Defect: Has a chance to recover 10% MP
    1302 Revenge: Has a chance to recover 5% HP, and increase physical attack
    1303 Comprehend: Has a chance to increase MP by 5% and increase physical attack
    1304 Spikes: Has a chance to increase physical defence as well as return 25% melee damage to attacker
    1305 Shield of Chi: Has a chance to cast a shield of Chi around you which reduces all damage taken by 20%
    1306 Bless: Has a chance to increase Physical Attack and Physical Defense
    1307 Faith: Has a chance to recover 5% HP and increase both physical defence and magic defence
    1308 Determination: Has a chance to stun opponent for 5 seconds but also freeze yourself for 10 seconds
    1309 Holy: Has a chance to recover HP by 5%, and remove all debuffs
    1310 Darken: Has a chance to freeze and seal the enemy

    I need the hex data for them or an editor that can add them. Thanks though.

  4. #4
    Valued Member Goodlookinguy is offline
    MemberRank
    Dec 2010 Join Date
    101Posts

    Re: Gear Hex Code

    Going into my post for my program, you would have stumbled upon this very recent post. Where the discovery of how to generate addons properly was made.

    http://forum.ragezone.com/f694/item-...ml#post6765465

  5. #5
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: Gear Hex Code

    Welcome back Zettacorn :)

    There isn't an editor that can add them yet, or at least that I know of. The hex for these stats is handled differently to normal stats so its harder to get. Just recently Goodlookinguy has figured out how to generate the hex for these addons. You can find 1291-1310 in this post.
    http://forum.ragezone.com/f694/item-...ml#post6765465

    He is going to include this in his latest release of his hex data generator when its finished.

    Now I can tell you how to generate the hex for these addons. This will be included in my hex data guide when I finish it.

    Lets start with pierce. I am going to add it to Sakyamuni's Light. I have my base hex data which is slightly modified already.
    Code:
    0100ff00010000000000010010270000102700002c00040c61006400610066006400660000000000240100000a000000000000004a010000ee0100008e02000013030000070000000000404000000000010000000000000000000000


    Now I am going to find the number addons and increment it by 1.
    Code:
    0100ff00010000000000010010270000102700002c00040c61006400610066006400660000000000240100000a000000000000004a010000ee0100008e02000013030000070000000000404000000000010000000000000001000000
    Now I open my elements.data and I find ID 1275.


    I am interested in two things in the elements, the ID and Value 1.

    I pop 1275 into my hex converter (I use pwgen1 from Romulan's Tool pack).
    I get
    Code:
    fb040000
    Now here is the important part. You must change the 0 to a 2. Your code should look like this.
    Code:
    fb240000
    Now we look at Value 1. This is 141. We put this into our hex converter and get;
    Code:
    8d000000
    We add this to the code we generated for the ID.
    Code:
    fb2400008d000000
    This is the hex code for pierce.

    Lastly we add it to end of our hex data for our Sakyamuni's Light.

    Code:
    0100ff00010000000000010010270000102700002c00040c61006400610066006400660000000000240100000a000000000000004a010000ee0100008e02000013030000070000000000404000000000010000000000000001000000fb2400008d000000
    The blue is the number of addons we changed earlier and the red is the hex data we generated.

    Result.

  6. #6
    Valued Member Zettacorn is offline
    MemberRank
    Jan 2010 Join Date
    127.0.0.1Location
    135Posts

    Re: Gear Hex Code

    thanks guys so much it is much appreciated. =) i will get to work with the learning of this so I can hopefully be a productive member of the community again =)

  7. #7
    Banned LegalSin(scam) is offline
    BannedRank
    Dec 2011 Join Date
    RaGEZONELocation
    489Posts

    Re: Gear Hex Code

    There was a editor somewhere in this forum try using the search button, the name was xtml editor.

  8. #8
    Viva la Vida NaMeLeS is offline
    MemberRank
    Jul 2011 Join Date
    613Posts

    Re: Gear Hex Code

    Drakear, you are amazing

  9. #9
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: Gear Hex Code

    Quote Originally Posted by NaMeLeS View Post
    Drakear, you are amazing
    Who is this Drakear of which you speak?

  10. #10
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Gear Hex Code

    I noticed that you said you wanted a way to read elements.data, I did that with something I wrote a while ago and you can actually call Ronny's code, with a few modifications to sELedit, inside any other .NET application.

    Modified sELedit should crash if you try opening it, but add it as a reference to your project and you can now call it like so.

    Note: Ronny didn't use a namespace so it is always available.

    Code:
    eListCollection eLC = new eListCollection(cfgPath, elPath);
    eList eL = eLC.Lists[0]; //select the first list, which is the properties one we are interested in
    Dictionary <Int32, Int32> nums = new Dictionary<Int32, Int32>();
    for (Int32 i = 0; i < eL.elementFields.Length; i++)
    {
    nums.add(eL.elementFields[i][0], el.elementFields[i][3]);
    }
    And there you have a dictionary full of the ID and Value 1 rows!

  11. #11
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: Gear Hex Code

    Thanks, I'm no programmer though so I don't know how much I will be able to do with it.



Advertisement