my english is very bad so I have translated the following text with google
I have a DoD WP for a groupe, the problem that is occurring as the Manchester Group members would disconnect after X unsticki (which is not bad) but since my group manager is always waiting for everything else
Now I have edited the file "bot.lua" and my profile, now that he no longer disconnects but too many of the players has unsticki just killed.
I just wanted to share with you (can even be useful)
=======================
Bot.lua
find
Code: Select all
if( type(settings.profile.events.onUnstickFailure) == "function" ) and
player.Unstick_counter == settings.profile.options.MAX_UNSTICK_TRIALS + 1 then
pcall(settings.profile.events.onUnstickFailure);
elseif( settings.profile.options.LOGOUT_WHEN_STUCK ) then
if settings.profile.options.CLOSE_WHEN_STUCK == false then
player:logout() -- doesn't close client
else
player:logout(nil,true); -- closes client
end
else
Code: Select all
if( type(settings.profile.events.onUnstickFailure) == "function" ) and
player.Unstick_counter == settings.profile.options.MAX_UNSTICK_TRIALS + 1 then
pcall(settings.profile.events.onUnstickFailure);
elseif( settings.profile.options.LOGOUT_WHEN_STUCK ) then
if settings.profile.options.CLOSE_WHEN_STUCK == false and settings.profile.options.KILL_WHEN_STUCK == false then
player:logout() -- doesn't close client
elseif settings.profile.options.KILL_WHEN_STUCK == true then
local eggslot = settings.profile.options.EGGPET_ASSIST_SLOT
cprintf(cli.yellow, "Save Pet slot: %s\n.", eggslot);
sendMacro('ReturnPet(eggslot)')
yrest(1000)
sendMacro('SetCameraPosition(0,0,100000)')
cprintf(cli.red, "Kill Player");
yrest(10000);
player.Unstick_counter = 0;
else
player:logout(nil,true); -- closes client
end
else
=======================
in you profile
add
Code: Select all
<option name="KILL_WHEN_STUCK" value="false" />
Code: Select all
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="KILL_WHEN_STUCK" value="true" />
<option name="CLOSE_WHEN_STUCK" value="false" />
Have a nice day