I know HB is down, but the last few days i've been trying to execute this: console autointeract 0
to disable click to move.
Lua.DoString("ConsoleExec(autointeract 0");
doesnt seem to work, any ideas ?
Lua.GetReturnVal<int>("if GetCVar(\"AutolootDefault\") == \"1\" then return 1; else return 0; end", 0)
Lua.DoString("SetCVar(\"autoLootDefault\", 0)", "fishingbuddy.lua")
public override void Pulse()
{
if (!initializeDone)
{
Method.DisableClickToMove();
}
initializeDone = true;
base.Pulse();
}
static int DisableChecked = 0;
public override Composite CombatBehavior
{
get
{
if (DisableChecked <= 2)
{
Method.DisableClickToMove();
DisableChecked++;
}
return Behavior;
}
}
Ok bad idea, dont touch pulse() xD
abit of spamming the method seems to work:
PHP:static int DisableChecked = 0; public override Composite CombatBehavior { get { if (DisableChecked <= 2) { Method.DisableClickToMove(); DisableChecked++; } return Behavior; } }