|
|
Hello all, i've tried to search everywhere to figure out what's going on.
Basically, i'm working on trying to figure out why i can edit item bonuses for items up until a certain number through data/items/bonuses. Except when i hit anything higher than a certain number no matter how i compile, the item stats stay 0. To explain im using a 900 cache. So editing anything up until a new "Source" ID will always make the item bonuses 0. no matter what numbers are listed in the text file. For example: item 31733 - For Nox bow have been edited in the text file except when you pack the bonuses, regardless of deleting bonuses.ib. it's always 0. Now if i edit 15016 for ring of charos it will load the item bonuses that i put into the text file.
Also i have tested working by loading the bonuses directly from the cache not using text files. it works surprisingly with RS3 bonuses from cache load. Except manually editing the bonuses through the text file does not work for anything higher than the assumed base source.
Another thing, whether this is connected or not, i also have this notification when loading the server run.bat. Except locally the server still functions, eclipse shows no errors.
ERROR! THREAD NAME: main
java.nio.BufferUnderflowException
at java.nio.DirectByteBuffer.getShort(Unknown Source)
at com.rs.utils.ItemBonuses.loadItemBonuses (ItemBonuses.java:37)
at com.rs.utils.ItemBonuses.lnit (ItemBonuses.java:21)
at com.rs.ServerLauncher.init(ServerLauncher.java150)
at com.rs.ServerLauncher.main(ServerLauncher.97)
As you can imagine its extremely frustrating. i am new to coding so please go easy lol.
*Problem solved, Cache wasn't registering properly with item id's.*
| « [876] Run Matrix 3 as a singleplayer server | removing a ladder » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
| Tags for this Thread |