alotoffluffy 3 Author Share Posted December 29, 2018 Have you modified anything in the files like changed the case of variable names of the inner class. You can test it not in game by using this code: public class Main { public static void main(String [] args) { PriceFetcher.PricedItem item = PriceFetcher.getPricedItem(861); System.out.println(item.getName()); System.out.println(item.getSellAverage()); } } Link to comment Share on other sites More sharing options...
Astrate 1 Share Posted December 29, 2018 Idk, I'm using this exact on start and it doesn't log anything just Started experience listener log("Item: " + PriceFetcher.getPricedItem(465).getName()); Trying to figure this out is giving me a headache lol Link to comment Share on other sites More sharing options...
Astrate 1 Share Posted December 29, 2018 Yeah it works without the client and I indeed have not modified anything 55 minutes ago, alotoffluffy said: Have you modified anything in the files like changed the case of variable names of the inner class. You can test it not in game by using this code: public class Main { public static void main(String [] args) { PriceFetcher.PricedItem item = PriceFetcher.getPricedItem(861); System.out.println(item.getName()); System.out.println(item.getSellAverage()); } } Link to comment Share on other sites More sharing options...
alotoffluffy 3 Author Share Posted December 29, 2018 26 minutes ago, Astrate said: Yeah it works without the client That seems to suggest that Gson is not being packaged correctly into the output jar, I really do not have much experience using eclipse im afraid. Link to comment Share on other sites More sharing options...
Astrate 1 Share Posted December 29, 2018 1 minute ago, alotoffluffy said: That seems to suggest that Gson is not being packaged correctly into the output jar, I really do not have much experience using eclipse im afraid. I switched over to intellij, I have both... and my output looks exactly like yours idk, I'm hoping you or someone who's extremely experienced to come in and solve this problem Link to comment Share on other sites More sharing options...
alotoffluffy 3 Author Share Posted December 29, 2018 Okay go into the artifact build an instead of adding the gson.jar try clicking the plus and adding it as an "extracted directory" then selecting the gson.jar in the file search. Link to comment Share on other sites More sharing options...
Astrate 1 Share Posted December 29, 2018 !!! ^^^ Please include that! That's extremely vital and fixed the problem thanks! - Idk how to do this exact process on eclipse but I'd suggest adding that too for new beginners Link to comment Share on other sites More sharing options...
RetroBot 35 Share Posted January 16, 2019 Thanks. Link to comment Share on other sites More sharing options...
ABOOD221 1 Share Posted December 27, 2020 thanks alot, i used this in my script to pick up items > 1000 gp ,the script picks up most items put doesnt pick up adamant platebody (g) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.