Thread: How to add new items into your client

Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1 How to add new items into your client 
    Extreme Donator


    Join Date
    Mar 2009
    Posts
    1,461
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    Ok I see a ton of request threads in the Models section and I'd like to show people how to do it themselves instead of being so lazy.

    Tools:
    (optional) The RSMV - Xaves - http://www.rune-server.org/runescape...41-models.html

    The itemDef dump - Josh - UppIT - Free File Sharing - ItemConfiguration.rar

    The model grabber - Galkon - http://www.rune-server.org/runescape...l-grabber.html

    ~Getting the Models~

    Ok, the current RS revision is 667. In the model grabber, edit Export New Cache and replace it with this:

    Code:
    @ECHO OFF
    COLOR 1F
    CLS
    ECHO.
    ECHO Exporting New Cache Files.
    ECHO.
    java -cp ./data/CacheExport2.jar cacheexport2.Main ./data/667.dat
    ECHO.
    pause
    Now go into the data folder and make a new .dat file and name it 667.

    Inside of 667, add:

    Code:
    #
    # This File defines the Rules for extraction of runescape files
    # 
    # I cant really be fucked documenting this so heres some quickies:
    #
    # input=(location of cache files)
    # output=(destination to output files)
    # data=(input filename), (number of indexes)
    # index(input filename), (title), (extension)
    #
    # -----------
    #
    # New Runescape Rules
    #
    # -----------
    input=C:\Users\-----\Desktop\RSPS Tools\Public Model Grabber\Public Model Grabber\667 Cache\
    output=./newcache/
    version=2
    data=main_file_cache.dat2,16
    index=main_file_cache.idx7,models,dat
    In this above, change the input path and output path to yours.

    Now load the current revision of RuneScape (just by loading the game up until the login screen).

    Now go to C:/.jagex_cache_32/runescape/

    Copy all of the main_file_cache.dat files.

    Now go back to your model grabber and make a new folder in the main directory and call it 667 Cache.

    Now paste all of the main_file_cache.dat files in that folder.

    After you're finished that, start Export New Cache.

    It should start to extract the models from the cache.

    You now have all of the latest models from RuneScape.

    Getting the itemDef Configs


    Now open the new ItemConfiguration dump that you were given above (it is only up to revision 666 however).

    Find the item name you would like to add to your client.

    A lot of these have useless code in them that you do not need to have in your "ints".

    You gotta do some renaming now (PI).

    Base yours off of this one:

    Code:
    if (i == ****) {
    itemDefinition.femaleOffset = 0;
    itemDefinition.value = 20000;
    itemDefinition.membersObject = true;
    itemDefinition.femaleEmblem = -1;
    itemDefinition.certTemplateId = -1;
    itemDefinition.femaleArm = -1;
    itemDefinition.maleModel = ****;
    itemDefinition.maleHat = -1;
    itemDefinition.scaleX = 128;
    itemDefinition.groundActions = new int[5];
    itemDefinition.groundActions[2] = "Take";
    itemDefinition.offsetX = 3;
    itemDefinition.femaleHat = -1;
    itemDefinition.groundModel = ****;
    itemDefinition.maleDialogue = -1;
    itemDefinition.stackable = false;
    itemDefinition.description = "It's a ****";
    itemDefinition.certId = 21791;
    itemDefinition.modelZoom = 900;
    itemDefinition.shading = 0;
    itemDefinition.maleEmblem = -1;
    itemDefinition.maleArm = ****;
    itemDefinition.inventoryActions = new int[5];
    itemDefinition.inventoryActions[1] = "Wear";
    itemDefinition.inventoryActions[4] = "Drop";
    itemDefinition.rotationY = 165;
    itemDefinition.scaleY = 128;
    itemDefinition.scaleZ = 128;
    itemDefinition.offsetY = -7;
    itemDefinition.lightness = 0;
    itemDefinition.femaleDialogue = -1;
    itemDefinition.rotationX = 99;
    itemDefinition.femaleModel = -1;
    itemDefinition.team = 0;
    itemDefinition.scaleInventory = 0;
    itemDefinition.maleOffset = 0;
    itemDefinition.lendID = ****;
    itemDefinition.lentItemID = -1;
    }
    Code:
    case ****:
    itemDef.name = "****";
    itemDef.modelid = ****;
    itemDef.modelZoom = 900;
    itemDef.modelRotationY = 165;
    itemDef.modelRotationX = 99;
    itemDef.modelOffset1 = 3;
    itemDef.modelOffset2 =-7;
    itemDef.anInt165 = ****;
    itemDef.anInt200 = ****;
    itemDef.itemActions = new String[5];
    itemDef.itemActions[1] = "Wear";
    itemDef.description = "****";
    break;

    Now go into your your model grabber and find the model that the item you want needs (it will specify in the dump the models needed).

    Take those models and place them into your Raw folder. Place your ints into your itemDef and compile.

    If there is any problems or it needs clarification, tell me.

    ~If Xaves, Josh or Galkon don't want their work on this thread I will remove it.~

    Good luck, if this helped, rep/thanks is nice.

    ~Depending on the amount of replies, the feedback, etc. determines the life-span of this thread.~
    Attached image
    Quote Originally Posted by MaxXi View Post
    Your combat is so awsome that i almost forgot its the combat matrix coded.
    Quote Originally Posted by twobrosplay View Post
    Try allowing the batch file through your firewall?
    Quote Originally Posted by SS_Alophonse View Post
    i have no life u say ha anything u say kid.i doubt u can even get a girlfriend
    i bet u cant even code anything.
    Reply With Quote  
     


  2. #2  
    Registered Member
    gomomo11's Avatar
    Join Date
    May 2010
    Posts
    2,379
    Thanks given
    268
    Thanks received
    196
    Rep Power
    177
    Thanks, pretty basic, but helpful for noobs
    Attached image
    no external links without affiliate
    Reply With Quote  
     

  3. #3  
    Extreme Donator


    Join Date
    Mar 2009
    Posts
    1,461
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    Attached image
    Quote Originally Posted by MaxXi View Post
    Your combat is so awsome that i almost forgot its the combat matrix coded.
    Quote Originally Posted by twobrosplay View Post
    Try allowing the batch file through your firewall?
    Quote Originally Posted by SS_Alophonse View Post
    i have no life u say ha anything u say kid.i doubt u can even get a girlfriend
    i bet u cant even code anything.
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Oct 2010
    Posts
    1,309
    Thanks given
    63
    Thanks received
    257
    Rep Power
    0
    nice work im sure itll help out people
    Reply With Quote  
     

  5. #5  
    Mysteria Developer

    DatguyJay's Avatar
    Join Date
    Mar 2011
    Age
    28
    Posts
    2,139
    Thanks given
    302
    Thanks received
    161
    Rep Power
    212
    gonna sound a little nooby but i have never used the model grabber so what should i do with this?
    Code:
    Exporting New Cache Files.
    
      Runescape Cache Exporter 3.0
     -/- (C) 2008 Troy Osborne (defyboy) -/-
    --------------------------------
    The sprite extracter thingy was by Miss Silabsoft (EWW)
    --------------------------------
    Things added in This Version:
            Fixed Some of the broken rules
            A Easier Names parser
            Sprite Dumper (old Engine Cache)
    --------------------------------
    Parsing Rules...
    Read Error: C:\Users\james\Desktop\Public Model Grabber\667 Cachemain_file_cache
    .idx7
    Exception in thread "main" java.lang.NullPointerException
            at cacheexport2.CacheFile.<init>(CacheFile.java:19)
            at cacheexport2.Main.ProcessRules(Main.java:149)
            at cacheexport2.Main.main(Main.java:36)
    
    Press any key to continue . . .
    Reply With Quote  
     

  6. #6  
    Extreme Donator


    Join Date
    Mar 2009
    Posts
    1,461
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    Quote Originally Posted by cry 4 merci View Post
    gonna sound a little nooby but i have never used the model grabber so what should i do with this?
    Code:
    Exporting New Cache Files.
    
      Runescape Cache Exporter 3.0
     -/- (C) 2008 Troy Osborne (defyboy) -/-
    --------------------------------
    The sprite extracter thingy was by Miss Silabsoft (EWW)
    --------------------------------
    Things added in This Version:
            Fixed Some of the broken rules
            A Easier Names parser
            Sprite Dumper (old Engine Cache)
    --------------------------------
    Parsing Rules...
    Read Error: C:\Users\james\Desktop\Public Model Grabber\667 Cache\main_file_cache
    .idx7
    Exception in thread "main" java.lang.NullPointerException
            at cacheexport2.CacheFile.<init>(CacheFile.java:19)
            at cacheexport2.Main.ProcessRules(Main.java:149)
            at cacheexport2.Main.main(Main.java:36)
    
    Press any key to continue . . .
    The fuck? You told me you were good for something.

    OT: You had to copy all of the main_file_cache files from the jagex cache into the folder, and you forgot an \ which I have highlighted.
    Attached image
    Quote Originally Posted by MaxXi View Post
    Your combat is so awsome that i almost forgot its the combat matrix coded.
    Quote Originally Posted by twobrosplay View Post
    Try allowing the batch file through your firewall?
    Quote Originally Posted by SS_Alophonse View Post
    i have no life u say ha anything u say kid.i doubt u can even get a girlfriend
    i bet u cant even code anything.
    Reply With Quote  
     

  7. #7  
    Mysteria Developer

    DatguyJay's Avatar
    Join Date
    Mar 2011
    Age
    28
    Posts
    2,139
    Thanks given
    302
    Thanks received
    161
    Rep Power
    212
    Quote Originally Posted by Conner View Post
    The fuck? You told me you were good for something.

    OT: You had to copy all of the main_file_cache files from the jagex cache into the folder, and you forgot an \ which I have highlighted.
    which / am i missing?and i copied all the oens that were in there ,i left the dll files.
    Reply With Quote  
     

  8. #8  
    Extreme Donator


    Join Date
    Mar 2009
    Posts
    1,461
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    Quote Originally Posted by cry 4 merci View Post
    which / am i missing?and i copied all the oens that were in there ,i left the dll files.
    I highlighted and place it in there for you.
    Attached image
    Quote Originally Posted by MaxXi View Post
    Your combat is so awsome that i almost forgot its the combat matrix coded.
    Quote Originally Posted by twobrosplay View Post
    Try allowing the batch file through your firewall?
    Quote Originally Posted by SS_Alophonse View Post
    i have no life u say ha anything u say kid.i doubt u can even get a girlfriend
    i bet u cant even code anything.
    Reply With Quote  
     

  9. #9  
    Mysteria Developer

    DatguyJay's Avatar
    Join Date
    Mar 2011
    Age
    28
    Posts
    2,139
    Thanks given
    302
    Thanks received
    161
    Rep Power
    212
    i tried to fix it in 667.dat and i got the exact same error .ill send my folders.
    UPLOAD.EE - Download files.rar
    Reply With Quote  
     

  10. #10  
    Extreme Donator


    Join Date
    Mar 2009
    Posts
    1,461
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    Quote Originally Posted by cry 4 merci View Post
    i tried to fix it in 667.dat and i got the exact same error .ill send my folders.
    UPLOAD.EE - Download files.rar
    Why do you have this?

    Code:
    #
    # This File defines the Rules for extraction of runescape files
    # 
    # I cant really be fucked documenting this so heres some quickies:
    #
    # input=(location of cache files)
    # output=(destination to output files)
    # data=(input filename), (number of indexes)
    # index(input filename), (title), (extension)
    #
    # -----------
    #
    # New Runescape Rules
    #
    # -----------
    input=C:\Users\james\Desktop\Public Model Grabber\667 Cache\main_file_cache.idx7
    output=./newcache/
    version=2
    data=main_file_cache.dat2,16
    index=main_file_cache.idx7,models,dat
    Attached image
    Quote Originally Posted by MaxXi View Post
    Your combat is so awsome that i almost forgot its the combat matrix coded.
    Quote Originally Posted by twobrosplay View Post
    Try allowing the batch file through your firewall?
    Quote Originally Posted by SS_Alophonse View Post
    i have no life u say ha anything u say kid.i doubt u can even get a girlfriend
    i bet u cant even code anything.
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [REQ]474 Items For 317 Client[REQ]
    By Kristjan in forum Requests
    Replies: 2
    Last Post: 12-21-2009, 06:32 AM
  2. All 474 Items on 317 Client
    By Jeremy Yak in forum Show-off
    Replies: 19
    Last Post: 09-08-2009, 01:12 PM
  3. [REQ]New items for my client[REQ]
    By Hooligan in forum Models
    Replies: 10
    Last Post: 01-13-2008, 07:42 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •