Lesser Fanatic Posted August 30, 2018 Posted August 30, 2018 So im trying to write my first fishing script, but dropping methods (any of them ) i can think of does not work, also tried to run unoffical script, dropping also does not work on that. I put log code to see if the "if" statement works. The logger prints "Dropping Inventory" but dropping does not happen. my drop code is : if (getInventory().isFull()){ getInventory().dropAll("Raw salmon" , "Raw trout") log("Dropping Inventory"); } the unoffical script i tried : https://osbot.org/forum/topic/141906-simplefisherman-effortless-1-99-fishing-open-source/ Any kind of help appreciated.
Juggles Posted August 30, 2018 Posted August 30, 2018 (edited) Pretty sure you're using it wrong. Do get inventory.drop("Raw salmon","Raw trout"); \\Not on my IDEA so not sure if this one works or inventory.dropAllExcept("Fishing rod","Feather); \\This one will drop everything except the rod and feather. I use this for fishing scripts Edited August 30, 2018 by Juggles
Lesser Fanatic Posted August 30, 2018 Author Posted August 30, 2018 12 minutes ago, Juggles said: Pretty sure you're using it wrong. Do get inventory.drop("Raw salmon","Raw trout"); \\Not on my IDEA so not sure if this one works or inventory.dropAllExcept("Fishing rod","Feather); \\This one will drop everything except the rod and feather. I use this for fishing scripts you mean this? if (getInventory().isFull()){ getInventory().dropAllExcept("Fly fishing rod" , "Feather"); log("Dropping Inventory"); } does not work. This one also does not work: if (getInventory().isFull()){ getInventory().drop("Raw salmon" , "Raw trout"); log("Dropping Inventory"); }
Alek Posted August 30, 2018 Posted August 30, 2018 Today is Thursday which means there has been a game update. This update schedule has remained the same way for over 5 years. Sometimes our auto-updater works, sometimes it doesn't. From now on whenever you have problems with the client on a Thursday, just be patient and try every few hours or so. Sometimes the update is automatic, sometimes it takes us a little bit of work, sometimes it takes us a lot of work.