span4o 0 Share Posted September 3, 2020 Noob question - I made my first script with empty classes, nothing should happen, but when I run the script It makes a random click. Ideas? Link to comment Share on other sites More sharing options...
Stoned 52 Share Posted September 3, 2020 Are you sure it's clicking something? Is your onLoop/onStart completely empty? Where does it click? Definitely going to need some more info on this one Link to comment Share on other sites More sharing options...
span4o 0 Author Share Posted September 4, 2020 Thanks for your reply, Yes It Is clicking on the bottom of the screen. The loop is empty package tutIsland; import org.dreambot.api.methods.Calculations; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.script.Category; @ScriptManifest(author = "Janill", name = "My First Script", version = 1.0, description = "Tutorial Island", category = Category.QUEST) public class main extends AbstractScript { public void onStart() { } public void onExit() { } public int onLoop() { return 0; } } The full code. I tried deleting and exporting from the start - still the same. Link to comment Share on other sites More sharing options...
Realistic 20 Share Posted September 9, 2020 On 9/4/2020 at 12:08 PM, span4o said: Thanks for your reply, Yes It Is clicking on the bottom of the screen. The loop is empty package tutIsland; import org.dreambot.api.methods.Calculations; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.script.Category; @ScriptManifest(author = "Janill", name = "My First Script", version = 1.0, description = "Tutorial Island", category = Category.QUEST) public class main extends AbstractScript { public void onStart() { } public void onExit() { } public int onLoop() { return 0; } } The full code. I tried deleting and exporting from the start - still the same. When you start a script DreamBot will run some "RandomEvent" solvers. This includes disabling roofs, changing the zoom level, changing the client to fixed mode from resizable ect... It could be one of those random event solvers running. Does the screen flash red when logging in with the script/when it first starts? Link to comment Share on other sites More sharing options...
span4o 0 Author Share Posted September 10, 2020 Thanks for reply, I don't think It's the case I tried to disable those random events on the settings still the same. Link to comment Share on other sites More sharing options...
LordJashin32 54 Share Posted September 14, 2020 On 9/10/2020 at 3:38 PM, span4o said: Thanks for reply, I don't think It's the case I tried to disable those random events on the settings still the same. umm. I don't think you should call your class "main". Try changing that. Also make sure you're on Dreambot 3. And put some actual code in there to see if it's not just doing that to troll you. 💫 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.