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)
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.
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. [Only registered and activated users can see links. Click Here To Register...]
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 [Only registered and activated users can see links. Click Here To Register...]
Credits to @[Only registered and activated users can see links. Click Here To Register...] I don't know much of anything about the Java GUI Frameworks so I ripped most of that from the open source interface editor.
06-01-2020, 04:06 AM
Castiel
nice man
06-02-2020, 02:49 PM
DayX
thank you for your contribution :)
06-03-2020, 04:06 PM
pinto
I keep getting an error whenever I try to run the editor.
Quote:
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.
06-03-2020, 05:16 PM
Stugger
Quote:
Originally Posted by pinto[Only registered and activated users can see links. Click Here To Register...]
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 :D
06-03-2020, 05:17 PM
BlackMomba
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.
06-03-2020, 05:23 PM
Stugger
Quote:
Originally Posted by BlackMomba[Only registered and activated users can see links. Click Here To Register...]
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
06-03-2020, 05:27 PM
BlackMomba
Quote:
Originally Posted by Stugger[Only registered and activated users can see links. Click Here To Register...]
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.
06-03-2020, 06:17 PM
Tyluur
useful release, cheers.
06-04-2020, 01:00 AM
Stugger
UPDATED
located a few more item/obj vars. Updated the download and pictures in thread.