use varps and get away from the default farming bullfuckery
|
topic : https://www.rune-server.ee/runescape...g-release.html
so i'm trying another farming system it's working fine even, only thing i don't know how to fix and an example i remove the weeds from the allotment when i log out and soon it appears again there but when i click to remove it says there's nothing there anymore
another explanation is when I plant some seed as soon as I log off and then again it will show weed but when I click on it it says the seed is there
use varps and get away from the default farming bullfuckery
Look into the the code of the farming system see how they handle the switching of the objects on the alotment, then save a status of the alotment in the players data.
Also he stated in the post with big red letters that the farming system does not save and that you have to add that by yourself
Based on the link you've provided: https://www.rune-server.ee/runescape...g-release.html
The Farming.java file - find the startRake method and have a look at the 'configByFile' configs that are being sent when raking the patch, try and implement those when the player file is being initiated upon login.
I'm sure somewhere in the player class other classes will be called to initiate/link data, or even sending configs upon login
In all honestly, trial and error is the best way to educate yourself. Give it a go
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |