- Joined
- Nov 19, 2016
- Messages
- 9
- Thread Author
- #1
Please kindly refer to these videos:
I had wanted to upload a 4th video showing the rest of the script but it was too long and youtube didn't let me upload it :\
For the first video:
This occurs at some different locations sometimes. Should I reduce my predefined areas so the chances of that happening becomes zero? But then again my bot is already very bot-like and I want that bit of extra randomness :O
Perhaps I can do a failsafe for this kind of problem where the bot repeatedly attempts to move onto an unreachable tile? My idea of a failsafe would be to start a timer whenever the bot does an action, so if it stops doing anything for a long period of time, it can go back to doing what it was doing previously. Also, I would make it so that the timer wouldn't be reset if the bot clicks onto the same area over and over again. Is this kind of failsafe possible?
For the second video:
I seem to have some issues with interacting with the staircase at lumby castle... If I use interact("climb-up"), it will go upstairs TWICE even if I attempt to do a check for the player's location to ensure he's on the first floor before interacting with the staircase. Based on what little experience, I have determined that many of runemate's functions have a tendency to double click or have lags/delays.
Once again, I need some help with implementing failsafes when talking to NPCs. My current failsafe is very efficient if you could kindly refer to my code. My bot would start a new conversation with a NPC if it doesn't finish talking after attempting to continue the conversation or if it doesn't get to choose any option after trying to continue with the dialog 15 times. Plus, I have to make the bot wait 2+ seconds between every dialog because it seems like I get null from ChatDialog.getContinue() or even getOption(0 very often. Is there a better way of implementing my failsafe? I would totally love to make it so that if I get nulls, I simply restart the conversation if I don't reach the endpoint I want, but it doesn't seem practical to me.
Also, occasionally, my bot just stops continuing with the conversation for some reason. If i move my mouse on-screen anywhere, it just goes right back to selecting the right options. This is a really troubling issue, and I believe I resolved it by adding a check for an option/continue after each loop. Any idea what might be the issue?
For the third video:
I'm just confused with what's going on here... To get a clearer picture of what's going on you may have to help me take a quick look at my code :\
Overall, I also seem to have a problem with webwalk. Sometimes, it just gets stuck at some random spot, and doesn't move anymore. However, if I move my character anywhere, it just gets back to webwalking normally/correctly. Any idea what's up?
I also need some help with closing interfaces and ending the bot... I tried to use Environment.getBot().shutdown (something similar to that with the correct class/function) but I got some error :O
In general, I'm just looking for any advice/tips about my bot :O
(Sorry for my long post)
I had wanted to upload a 4th video showing the rest of the script but it was too long and youtube didn't let me upload it :\
For the first video:
This occurs at some different locations sometimes. Should I reduce my predefined areas so the chances of that happening becomes zero? But then again my bot is already very bot-like and I want that bit of extra randomness :O
Perhaps I can do a failsafe for this kind of problem where the bot repeatedly attempts to move onto an unreachable tile? My idea of a failsafe would be to start a timer whenever the bot does an action, so if it stops doing anything for a long period of time, it can go back to doing what it was doing previously. Also, I would make it so that the timer wouldn't be reset if the bot clicks onto the same area over and over again. Is this kind of failsafe possible?
For the second video:
I seem to have some issues with interacting with the staircase at lumby castle... If I use interact("climb-up"), it will go upstairs TWICE even if I attempt to do a check for the player's location to ensure he's on the first floor before interacting with the staircase. Based on what little experience, I have determined that many of runemate's functions have a tendency to double click or have lags/delays.
Once again, I need some help with implementing failsafes when talking to NPCs. My current failsafe is very efficient if you could kindly refer to my code. My bot would start a new conversation with a NPC if it doesn't finish talking after attempting to continue the conversation or if it doesn't get to choose any option after trying to continue with the dialog 15 times. Plus, I have to make the bot wait 2+ seconds between every dialog because it seems like I get null from ChatDialog.getContinue() or even getOption(0 very often. Is there a better way of implementing my failsafe? I would totally love to make it so that if I get nulls, I simply restart the conversation if I don't reach the endpoint I want, but it doesn't seem practical to me.
Also, occasionally, my bot just stops continuing with the conversation for some reason. If i move my mouse on-screen anywhere, it just goes right back to selecting the right options. This is a really troubling issue, and I believe I resolved it by adding a check for an option/continue after each loop. Any idea what might be the issue?
For the third video:
I'm just confused with what's going on here... To get a clearer picture of what's going on you may have to help me take a quick look at my code :\
Overall, I also seem to have a problem with webwalk. Sometimes, it just gets stuck at some random spot, and doesn't move anymore. However, if I move my character anywhere, it just gets back to webwalking normally/correctly. Any idea what's up?
I also need some help with closing interfaces and ending the bot... I tried to use Environment.getBot().shutdown (something similar to that with the correct class/function) but I got some error :O
In general, I'm just looking for any advice/tips about my bot :O
(Sorry for my long post)