|
Okay so I built a tool for my server (Server Suite) and part of it is an Item Definitions reader/writer/editor. It has the ability to grab the item's information from RuneWiki, I released some snippets for it awhile ago.
Anyways, I finally perfected the item grabbing/dumping so there are no errors thrown during grabbing them, and dumped all the item definitions for my server. These include:
- Grabbed from RuneWiki
- All item bonuses for the 317 revision
- Item price (market price on RS)
- Low alch value
- High alch value
- Weight
- Examine information
- Other
- Stackable (dumped from the client's definitions)
- Noteable (dumped from the client's definitions)
- Still to do (can't be grabbed from RuneWiki)
- Animations (attack, block, stand, walk, run, etc)
Here is the download for the file:
Download itemdef.gsu @ UppIT
itemdef.gsu
This file should go in Data/data/itemdef.gsu for emulous/riot/PI servers. You can change it if you need to.
Here is the reader for your server. Simply call "ItemDefinitions.read();" upon startup to read the items. I made the package for default emulous/riot/PI since that's the most commonly used.
Spoiler for ItemDefinitions.java:
You can reference anything you need such as item bonuses like:
Code:bonuses = ItemDefinitions.getBonuses(id); price = ItemDefinitions.getPrice(id);
This is very nice work, like always. You my friend, are the best of this community
there's no need to explicitly set fields to their default, uninitialised value.
the client only does it because its overwriting a cached definition
I remember your other one you did. Nice man.
Well done, as always!
I was planning on making something similar to this
Nice good job.
Thanks man
Hi, Bro, i like your codes, it's very simple and very good...TY!
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |