[Guide] add block/line ITEM.EDF client side

Results 1 to 5 of 5
  1. #1
    Valued Member meylan is offline
    MemberRank
    Feb 2012 Join Date
    119Posts

    [Guide] add block/line ITEM.EDF client side

    Not to perfect guide u must combine with other guide
    but ya its clearly can be easy to understand it
    and yes u can use this guide for
    add line client all EDF / server script whatever u want just analysed it and learn it

    example :
    my tutorial for add new line weapon

    1. weapon column = 10094
    Spoiler:


    2. find offset first and last column
    Spoiler:

    Spoiler:


    3. use HXD or other tool for copy paste
    better look my other guide thread
    http://forum.ragezone.com/f480/guide...e-edf-1019160/

    4. important step (change offset)
    example i add 50 new line weapon
    Spoiler:


    *after change the column weapon (before edit 10094)(after edit 10144)
    Spoiler:

    WeaponBlock : 2785952
    WeaponOffset : 8752908
    WeaponColumn : 10094
    WeaponSize : 276


    ShieldBlock : 432728
    ShieldOffset : 11538870
    ShieldColumn : 1803
    ShieldSize : 240


    CloakBlock : 483128
    CloakOffset : 11971608
    CloakColumn : 1980
    CloakSize : 244


    this my formula :
    WeaponBlock = WeaponColumn * WeaponSize + 8
    ShieldOffset = WeaponBlock + WeaponOffset +10


    ******remember keep repeating this formula till the end of ITEM (change all offset)
    so will gain
    WeaponBlock : 2799752 < after formula
    WeaponOffset : 8752908
    WeaponColumn : 10144 < add 50
    WeaponSize : 276


    ShieldBlock : 432728
    ShieldOffset : 11552670 < after formula
    ShieldColumn : 1803
    ShieldSize : 240


    CloakBlock : 483128
    CloakOffset : 11985408 < after formula
    CloakColumn : 1980
    CloakSize : 244


    keep repeating till end

    correct please if wrong or false something
    Last edited by meylan; 05-11-14 at 06:06 PM.


  2. #2
    iam still Noob novanakal is offline
    MemberRank
    Nov 2009 Join Date
    Jaka, IndonesiaLocation
    1,164Posts

    Re: [Guide] add block/line ITEM.EDF client side

    be better write your formula in your STRS.
    im doing this since Augs 2013

    Use curoffset for get your starting offset..
    with this formula

    Code:
    calc [value=curoffset-6]

    and use this formula for getting your items block size

    Code:
    calc [value=[Example is Face]Column*[Example is Face]temSize+8]

    Attached Thumbnails Attached Thumbnails formula.jpg  

  3. #3
    Proficient Member agoenk is offline
    MemberRank
    Feb 2013 Join Date
    SystemRoot\NoobLocation
    172Posts

    Re: [Guide] add block/line ITEM.EDF client side

    nice bro, no more calcutation with calcutalor again :D

    Spoiler:


    Last edited by agoenk; 09-11-14 at 08:12 PM. Reason: add picture

  4. #4
    Member rapido18 is offline
    MemberRank
    Aug 2008 Join Date
    Medan, IndonesaLocation
    53Posts

    Re: [Guide] add block/line ITEM.EDF client side

    Quote Originally Posted by novanakal View Post
    be better write your formula in your STRS.
    im doing this since Augs 2013

    Use curoffset for get your starting offset..
    with this formula

    Code:
    calc [value=curoffset-6]

    and use this formula for getting your items block size

    Code:
    calc [value=[Example is Face]Column*[Example is Face]temSize+8]

    How to apply this to my strs? or do you have a sample file for me to look at. Please.

  5. #5
    Proficient Member agoenk is offline
    MemberRank
    Feb 2013 Join Date
    SystemRoot\NoobLocation
    172Posts

    Re: [Guide] add block/line ITEM.EDF client side

    Quote Originally Posted by rapido18 View Post
    How to apply this to my strs? or do you have a sample file for me to look at. Please.
    just example

    Code:
    //seek UpperItemseek(FaceZero+FaceOffset+10+2);
    cstr [value=("---------------------->> UPPER")] "<<--------------------------------------->>";
    u32 UpperBlock;
    calc [value=curoffset-6] "<==== New Offset ====>";
    u32 UpperOffset;
    u32 UpperColumn;
    u32 UpperSize;
    calc [value=UpperColumn*UpperSize+8] "<==== New Block ====>";
    
    //seek LowerItemseek(UpperOffset+UpperBlock+10+2);
    cstr [value=("---------------------->> LOWER")] "<<--------------------------------------->>";
    u32 LowerBlock;
    calc [value=curoffset-6] "<==== New Offset ====>";
    u32 LowerOffset;
    u32 LowerColumn;
    u32 LowerSize;
    calc [value=LowerColumn*LowerSize+8] "<==== New Block ====>";
    
    //seek GauntletItemseek(LowerOffset+LowerBlock+10+2);
    cstr [value=("---------------------->> GAUNTLET")] "<<--------------------------------------->>";
    u32 GauntletBlock;
    calc [value=curoffset-6] "<==== New Offset ====>";
    u32 GauntletOffset;
    u32 GauntletColumn;
    u32 GauntletSize;
    calc [value=GauntletColumn*GauntletSize+8] "<==== New Block ====>";



Advertisement