Thread: Cache Item/Object/NPC Editor and Model Packer

Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1 Cache Item/Object/NPC Editor and Model Packer 
    Registered Member
    Stugger's Avatar
    Join Date
    Apr 2016
    Posts
    177
    Thanks given
    97
    Thanks received
    217
    Rep Power
    241
    I could never seem to find an editor that properly worked for my cache/client so I slapped my own together. Decided to share. I doubt this will work for any other revision considering editors for all other revisions have never worked properly for me, but I don't know. This was made for a 667 matrix source.
    I literally threw this together in about a day so it's not perfect but it does what it needs to do (on my end anyway, I haven't exactly tested every definition through the editor though)

    What it does:
    • Edit Item Definitions
    • Edit Object Definitions
    • Edit NPC Definitions
    • Pack Models


    Download: [Only registered and activated users can see links. ]

    Make sure to keep to the .properties file in the same folder as the .jar, and edit the properties file to direct to the path of the cache you're going to be editing.

    Spoiler for media:

    Switch definitions


    Item definitions, also you can search for an item/object/npc by ticking the "by name" option next to the search bar, otherwise it'll directly load the ID you enter.


    Object definitions


    NPC Definitions


    You can't create new ids outright, but you can duplicate an item/object/npc by right clicking the current definition you're editing and hitting the duplicate button, it'll append to the end




    Credits to @[Only registered and activated users can see links. ] I don't know much of anything about the Java GUI Frameworks so I ripped most of that from the open source interface editor.
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    ✥Gallifrey✥

    Castiel's Avatar
    Join Date
    Apr 2013
    Posts
    1,610
    Thanks given
    504
    Thanks received
    239
    Discord
    View profile
    Rep Power
    416
    nice man
    Reply With Quote  
     

  4. #3  
    Extreme Donator
    DayX's Avatar
    Join Date
    Dec 2014
    Posts
    72
    Thanks given
    10
    Thanks received
    19
    Discord
    View profile
    Rep Power
    61
    thank you for your contribution
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Jun 2019
    Posts
    1
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I keep getting an error whenever I try to run the editor.

    Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
    at GUI.DefEditorLauncher.populateList(DefEditorLaunch er.java:1505)
    at GUI.DefEditorLauncher.drawTree(DefEditorLauncher.j ava:1484)
    at GUI.DefEditorLauncher.<init>(DefEditorLauncher.jav a:256)
    at GUI.DefEditorLauncher$1.run(DefEditorLauncher.java :145)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(Invocation Event.java:313)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:770)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
    at java.base/java.security.AccessController.doPrivileged(Access Controller.java:391)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java: 740)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThre ad.java:90)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 0
    at com.rs.cache.loaders.ItemDefinitions.getItemDefini tionsSize(ItemDefinitions.java:1049)
    at com.rs.cache.loaders.ItemDefinitions.<clinit>(Item Definitions.java:21)
    ... 17 more
    EDIT: Problem solved. I feel like an dummy, I needed to put \\ instead of just copying the file path.
    Reply With Quote  
     

  6. #5  
    Registered Member
    Stugger's Avatar
    Join Date
    Apr 2016
    Posts
    177
    Thanks given
    97
    Thanks received
    217
    Rep Power
    241
    Quote Originally Posted by pinto View Post
    I keep getting an error whenever I try to run the editor.



    EDIT: Problem solved. I feel like an dummy, I needed to put \\ instead of just copying the file path.
    Easy mistake
    Reply With Quote  
     

  7. #6  
    Registered Member
    Join Date
    May 2020
    Posts
    23
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Can you make this open source please.

    It's like seeing something that may fix a problem, but we have to legit decompile it if nobody else works on this in two weeks which is common.
    Reply With Quote  
     

  8. #7  
    Registered Member
    Stugger's Avatar
    Join Date
    Apr 2016
    Posts
    177
    Thanks given
    97
    Thanks received
    217
    Rep Power
    241
    Quote Originally Posted by BlackMomba View Post
    Can you make this open source please.

    It's like seeing something that may fix a problem, but we have to legit decompile it if nobody else works on this in two weeks which is common.
    What problem are you having? I may be able to help. I’d prefer not to open source it at the moment. I have more refactoring to do and quite honestly I’m embarrassed with the code lmao I tossed this together like a McDonald’s Caesar salad
    Reply With Quote  
     

  9. #8  
    Registered Member
    Join Date
    May 2020
    Posts
    23
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Stugger View Post
    What problem are you having? I may be able to help. I’d prefer not to open source it at the moment. I have more refactoring to do and quite honestly I’m embarrassed with the code lmao I tossed this together like a McDonald’s Caesar salad
    It's fine, we can always work on it.
    Reply With Quote  
     

  10. #9  
    Banned

    Join Date
    Jun 2010
    Age
    23
    Posts
    4,836
    Thanks given
    1,676
    Thanks received
    1,563
    Discord
    View profile
    Rep Power
    0
    useful release, cheers.
    Reply With Quote  
     

  11. #10  
    Registered Member
    Stugger's Avatar
    Join Date
    Apr 2016
    Posts
    177
    Thanks given
    97
    Thanks received
    217
    Rep Power
    241
    UPDATED

    located a few more item/obj vars. Updated the download and pictures in thread.
    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. [592] Animation, item, object NPC and enum data.
    By Kris in forum Configuration
    Replies: 8
    Last Post: 07-13-2018, 06:09 AM
  2. Replies: 10
    Last Post: 09-16-2017, 10:25 PM
  3. Replies: 3
    Last Post: 05-03-2010, 03:39 PM
  4. Replies: 6
    Last Post: 05-09-2008, 07:07 PM
  5. Item, Object, NPC viewer v2.0
    By Amroth in forum Tools
    Replies: 5
    Last Post: 09-29-2007, 11:51 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
  •