I'd like to suggest that maybe you add 'ai_clientSuspend <timeout>' to the timeouts.txt
For me, I had to edit it to do this for one of my accounts because it takes longer to switch maps on Xkore 1, so I had to extend the timeout longer than 10 seconds, or else it would not load the map.. it'd lock up the client and show nothing, but I just made it where I can change it in timeouts.txt so its easier.
This is my code for it, I just changed one little line:
AI.pm
Code: Select all
##########################################
##
# ai_clientSuspend(packet_switch, duration, args...)
# initTimeout: a number of seconds.
#
# Freeze the AI for $duration seconds. $packet_switch and @args are only
# used internally and are ignored unless XKore mode is turned on.
sub ai_clientSuspend {
my ($type, $duration, @args) = @_;
my %args;
$args{type} = $type;
$args{time} = time;
$args{timeout} = $timeout{ai_clientSuspend}{timeout};
@{$args{args}} = @args;
AI::queue("clientSuspend", \%args);
debug "AI suspended by clientSuspend for $args{timeout} seconds\n";
}
Of course, you would take out the un-needed duration variable, which I didn't do because I did this in just 5 seconds so I could go back to botting.
Thank you:)