rodit / RBot

A fully scriptable bot for AQW.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RBot crashes if a script with bot.Player.UseSkill() is stopped

Silook opened this issue · comments

If a script is using bot.Player.UseSkill(), the bot application will crash upon clicking the "stop script" button

example script that crashes:

using RBot;
public class Script
{
public void ScriptMain(ScriptInterface bot)
{
bot.Options.RestPackets = true;
bot.Options.AggroMonsters = true;
bot.Options.InfiniteRange = true;
while(!bot.ShouldExit())
{
bot.Player.UseSkill(1);
bot.Player.UseSkill(2);
bot.Player.UseSkill(3);
}
}
}

Hi guys, I'm new to this platform and I don't know where to report errors about the program. I'm using Rbot and when I load a script, it says an error and it doesn't work.