How to Make Custom Gems

Results 1 to 4 of 4
  1. #1
    Enthusiast Skillsurfer22 is offline
    MemberRank
    Sep 2010 Join Date
    25Posts

    How to Make Custom Gems

    First of all, Credits got to Lightblade at Serverdev.net!!!!!


    Making a gem isn't as easy like making an item. It Takes more time. First time for me it took like 10-15 Min

    Well Lets get Started
    First You Need these Components

    Stoneinfo.Txt //If you dont have you can get from downloading V2 server files

    Bin. Compiler //
    Compiler Download: zSHARE - bin compile.bat

    BIN COMPILER NEEDS TO BE PUT IN YOUR CLIENT FOLDER

    Guide for compiler: YouTube - ToP compiler for v2 iteminfo

    =================================================================
    Lets Get Started shall we???


    Lets Start out Easy go to Server Files>Resource>ItemInfo
    Press Ctrl+F then type in 863 then press Enter.
    (Its Gem of Rage but it isnt gonna change the stats of ur gem XD)

    Copy and paste it somewhere in your Iteminfo Give it a New Id and Name then Save and Close Out
    Here are some good Icons anonym.to - free dereferer service
    ================================================================
    LightBlade's Guide starts here..
    ================================================================
    :NOTICE WHEN PASTING BLANK VALUES YOU MAY NEED TO SPACE IT CORRECTLY TO MATCH OTHERS :
    Now heres where things get tricky

    Goto Server files / resource / scripts / calculation / variable.lua


    Ctrl + f ( FIND ) "StoneAttrType_Num"
    edit the number to + 1 w/e it is currently is (adding 1 gem) this will be known as ##

    (For example if StoneAttrType_Num = 45)
    and ur adding 1 gem chang it to StoneAttrType_Num = 46)


    StoneAttrType_Num = ##
    Continue scrolling to the end of "StoneAttrType" list, add, and edit this
    StoneAttrType [##] = ITEMATTR_VAL_AAAA
    ## = same as above
    Replace AAAA with one of the following
    STR --Strength
    DEX --Accuracy
    AGI --Agility
    CON --Constitution
    STA --Spirit
    MXHP --Max Hp
    MXSP --Max Sp
    MNATK --Attack
    DEF --Defense
    HIT --Hit rate
    FLEE --Dodge
    MF --Raise drop rate o_O untested --lol pick pocket--
    CRT --Crit rate
    HREC --Hp rec
    SREC --Sp rec
    ASPD --Attack speed
    MSPD --Movement speed
    PDEF --Physical resistance
    Next Find "StoneEff_Num"
    Then edit the number ## to same as above
    Continue Scrolling to the end of "StoneEff" list, add, and edit this
    StoneEff [##] = #
    ## = same as above
    Replace # with the amount of stats the gem will give

    Next Find "StoneTpye_ID_Num"
    Then edit the number ## to same as above
    Continue Scrolling to the end of "StoneTpye_ID" list, add, and edit this
    StoneTpye_ID [##] = ####
    ## = same as above
    Replace #### with Iteminfo.txt ID

    Next find "StoneEffType"
    Continue Scrolling to the end of "StoneEffType" list, add, and edit this
    StoneEffType[##] = #
    ## = same as above
    Replace # with effect type 1-4
    1) attack
    2) defense
    3) havent seen it used
    4) other
    Next find "StoneItemType"
    Continue Scrolling to the end of "StoneItemType" list, add, and edit this
    StoneItemType[##] = { #,0 }
    ## = same as above
    Replace # with where u want the gem to go (can be more than one ex: {11,22,27,0})DO NOT DELETE THE '0'
    1) 1 handed sword
    2) 2 handed sword
    3) Bow
    4) Firegun
    7) daggers
    9) Staffs
    11) shield
    20) ami caps
    22) armors
    23) gloves
    24) shoes
    27) tattoos
    Save and close out

    ==================================================================================================================================

    That was Hard part now here is easy part.
    ALMOST DONE ^^

    Next
    Server files / resource / Stoneinfo.txt
    The very bottom add and edit this
    (add spacing if needed)
    ## ASDF #### #,#,# # ItemHint_QWERTY
    ID = ## from above
    ASDF = Name u gave it in Iteminfo.txt
    #### = Iteminfo ID
    #,#,# = ItemType from above(where it goes)
    # = EffType from above(1-4)
    ItemHint_QWERTY = the function hint in the client (see scripts.lua)
    change QWERTY to whatever you want

    Now go to
    Client / scripts / lua / table / scripts.lua
    add this at the very bottom
    function ItemHint_QWERTY( Lv )
    local eff = Lv * #
    local Hint ="Gem Bonus AAAA +"..eff
    return Hint
    end
    change QWERTY to whatever you want
    # is the stat amount
    replace AAAA with one the one that matchs "ITEMATTR_VAL_AAAA"
    Strength
    Accuracy
    Agility
    Constitution
    Spirit
    Max Hp
    Max Sp
    Attack
    Defense
    Hit rate
    Dodge
    Raise drop rate
    Crit rate
    Hp rec
    Sp rec
    Attack speed
    Movement speed
    Physical resistance
    Then Save and Close out

    ==================================================================================================================================
    COMPILING :)

    Now Go to ClientFolder>Scripts>table

    Delete Or Cut Iteminfo.Bin and StoneInfo.Bin

    Now go to ServerFiles>resourse

    Copy Iteminfo.txt and Stoneinfo.txt and paste them in
    Clientfolder>scripts>table

    Go to ur clientfolder
    Start the Compiler
    Click 'OK' for all the errors. (THE ERRORS ARE SUPPOSED TO COME UP!!!!)
    GO back to your Table folder and chest and see you have iteminfo.bin and Stoneinfo.bin

    If you do, thats great because your Done and you can enjoy your gems now :))
    =================================================================
    If you get a missing Stoneinfo You might of made a gem wrong.
    (Ussualy I get errors when making attack type gems)


    Possible reasons

    You messed up configuring the gem

    You made too many gems at a time and made mistake

    you forgot to change the Max gems in Variable.LUA

    ================================================================

    CONGRATS YOU MADE A GEM :)
    TY AGAIN Lightblade for this Guide!!!

    ---------- Post added at 10:49 PM ---------- Previous post was at 10:47 PM ----------

    Oh and please dont request Support ty :)
    Last edited by Skillsurfer22; 04-09-10 at 01:08 AM.


  2. #2
    N0th!ng !$ 3vEryTh!nG DragonCryx is offline
    MemberRank
    Jun 2009 Join Date
    Milicz, PolandLocation
    311Posts

    Re: How to Make Custom Gems

    again ;x 1st check heres not thats same guides later make new one

  3. #3
    Apprentice monstertaurine is offline
    MemberRank
    Jan 2010 Join Date
    7Posts

    Re: How to Make Custom Gems

    This is Nice XD
    Last edited by monstertaurine; 11-09-10 at 03:05 AM.

  4. #4
    Novice rsleandro is offline
    MemberRank
    Jul 2012 Join Date
    3Posts

    Re: How to Make Custom Gems

    hi, i have problem with mi gems
    have "Error"



Advertisement