frisiangamer Posted March 15, 2019 Share Posted March 15, 2019 Im trying to load an script in C:\USERS\USER\Documenten\XoBot\Scripts\SoulPlay. When i place Core.java class directly in that class it loads fine but when I I.E. place it in map/Core.java it wont. Can anyone explain what im doing wrong? Link to comment Share on other sites More sharing options...
Jake Posted March 15, 2019 Share Posted March 15, 2019 Classes that extend the ActiveScript class can't be within packages. If that isn't the case then make sure the package locations are correct (if Core.java isn't in the map package then it shouldn't be in the map/ folder) Link to comment Share on other sites More sharing options...
frisiangamer Posted March 15, 2019 Author Share Posted March 15, 2019 (edited) 11 minutes ago, Jake said: Classes that extend the ActiveScript class can't be within packages. If that isn't the case then make sure the package locations are correct (if Core.java isn't in the map package then it shouldn't be in the map/ folder) A oke, did'nt know about "Classes that extend the ActiveScript class can't be within packages." This is too bad, it makes my scripts map very messy. Edited March 15, 2019 by frisiangamer Link to comment Share on other sites More sharing options...
Quintana Posted March 16, 2019 Share Posted March 16, 2019 19 hours ago, frisiangamer said: A oke, did'nt know about "Classes that extend the ActiveScript class can't be within packages." This is too bad, it makes my scripts map very messy. It is just one of your classes that needs to extend the activescript, so it shouldn't be too messy Link to comment Share on other sites More sharing options...
frisiangamer Posted March 16, 2019 Author Share Posted March 16, 2019 35 minutes ago, Quintana said: It is just one of your classes that needs to extend the activescript, so it shouldn't be too messy Well thats true but I like to name my main class Core.class wich gets messy when i create multiple scripts. Thats why i asked Thanks for the help tho. Link to comment Share on other sites More sharing options...
Recommended Posts