ThatGuyLo 1 Share Posted October 8, 2019 Hello, I am making my first script. I'm not a total scrub at scripting, and am a programming student in college now. I just wrote a layout for the script I want to make, and want to make sure that it will work as intended (given I fill in the functions with the correct instructions). I attached a small .txt file if you dont mind looking at it :) Here is the intended use: Go to my desired location (im leaving this unnamed) to loot runes. Once the bot has looted enough runes (as specified) it will go to bank them, and return. if it dies, it will simply return to the location The slight catch is that there are enemies there and the bot has to get tolerance first by being in the area in a safespot for x amount of time That's pretty much the jist of it. Rather Simple. Thanks so much in advance! RuneLooterLayout.txt Link to comment Share on other sites More sharing options...
NovaGTX 106 Share Posted October 9, 2019 Would be better off using States rather than a ton of nested if statements. (search the forums for basic script videos). You're also missing the declaration for the class as well as the script manifest. Link to comment Share on other sites More sharing options...
ThatGuyLo 1 Author Share Posted October 9, 2019 1 hour ago, NovaGTX said: Would be better off using States rather than a ton of nested if statements. (search the forums for basic script videos). You're also missing the declaration for the class as well as the script manifest. Yeah, I want to use states in my next rendition. I was just using this approach for my first attempt at a working script. And yeah, it wasn't meant to be actual code, just an outline. Was just checking to see if it will work properly, but I'm almost done writing it now, so hopefully I'll be able to see soon Link to comment Share on other sites More sharing options...
yeeter 521 Share Posted October 9, 2019 1 hour ago, tweakin said: Careful... Yeeter may grab that script, tweak it for 5 minutes, and then use it as his own. Just kidding @yeeter01 This script is much higher quality than anything I've released in a bit so ya never know~ On another note since tweak out here calling me out 🙃. The logic behind the script should work but like Nova suggested I would look into states or nodes. Even better if you want to go hard in the paint trees with @Articron's framework. https://github.com/articron/Tree-script Any Q's hmu! Link to comment Share on other sites More sharing options...
ThatGuyLo 1 Author Share Posted October 10, 2019 Im just having one issue. How do I get the bot to confirm crossing the wilderness ditch if/when the box pops up? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.