keitaro 0 Share Posted October 25, 2015 I know I posted something before but i need a little help with some things that i cant quite figure out on my mining bot. http://pastebin.com/cnftAajr the errors i get are that the sleepuntil are not aplicable, and that the GameObjects bank and bank2 value field are not used I could use some help im stumped on what i need to do. Link to comment Share on other sites More sharing options...
Dreamlicker 749 Share Posted October 25, 2015 I know I posted something before but i need a little help with some things that i cant quite figure out on my mining bot. http://pastebin.com/cnftAajr the errors i get are that the sleepuntil are not aplicable, and that the GameObjects bank and bank2 value field are not used I could use some help im stumped on what i need to do. You never use your two bank gameobjects. You declare them but haven't called a method on them. For sleep until, you need () -> before the Boolean. Link to comment Share on other sites More sharing options...
RealEngine 24 Share Posted October 25, 2015 ^ and before you fix that... you have state == 0 twice in your loop and it does the same thing. also your return value for the loop should be something high. 0 will loop as many times as the machine can. make it something like 1000, its a mining script. Link to comment Share on other sites More sharing options...
keitaro 0 Author Share Posted October 26, 2015 You never use your two bank gameobjects. You declare them but haven't called a method on them. For sleep until, you need () -> before the Boolean. i try putting the () -> before the boolean statement but it still comes up as an error and before you fix that... you have state == 0 twice in your loop and it does the same thing. also it errors when i dont have the second state == 0 Link to comment Share on other sites More sharing options...
Dreamlicker 749 Share Posted October 26, 2015 Look @ the differences between this http://pastebin.com/vSTw4hZ2 and your code. I've edited it a bit. Link to comment Share on other sites More sharing options...
keitaro 0 Author Share Posted October 26, 2015 Look @ the differences between this http://pastebin.com/vSTw4hZ2 and your code. I've edited it a bit. yea i see the difference and it make more sense, its still giving me the same errors on the sleepuntil lines saying 'syntax error on tokens, and misplaced contradicts. and that the method isn't applicable.' Link to comment Share on other sites More sharing options...
Dreamlicker 749 Share Posted October 26, 2015 yea i see the difference and it make more sense, its still giving me the same errors on the sleepuntil lines saying 'syntax error on tokens, and misplaced contradicts. and that the method isn't applicable.' Make sure your project's JDK is Java 8, not Java 7 as 7 doesn't support lambda expressions. Screenshot your error log and post it here as well Link to comment Share on other sites More sharing options...
keitaro 0 Author Share Posted October 26, 2015 Make sure your project's JDK is Java 8, not Java 7 as 7 doesn't support lambda expressions. Screenshot your error log and post it here as well it wont let me post the image here but heres a link http://imgur.com/gallery/m4fT22j and yes my it is java 8 Link to comment Share on other sites More sharing options...
Dreamlicker 749 Share Posted October 26, 2015 it wont let me post the image here but heres a link http://imgur.com/gallery/m4fT22j and yes my it is java 8 Resize your window so we can see the whole lines and move your cursor so there's no error box over the code Link to comment Share on other sites More sharing options...
keitaro 0 Author Share Posted October 26, 2015 Resize your window so we can see the whole lines and move your cursor so there's no error box over the code http://imgur.com/gallery/Ogentc6 that better? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.