bot does not attack

Private server support - Only post connectivity issues in the subforum!

Moderator: Moderators

oscar171
Noob
Noob
Posts: 3
Joined: 30 Mar 2011, 09:38
Noob?: Yes

bot does not attack

#1 Post by oscar171 »

OpenKore's settings are normal, but the bot does not attack, already looked at the macro and all this oks asim but even so the bot is walking the map scheduled to go xega it but when he is walking so randomly but does not attack any mob
a warning is showing Packet Parser: Unknown switch: 0977
kalansay
Human
Human
Posts: 39
Joined: 15 Apr 2008, 18:58
Noob?: Yes

Re: bot does not attack

#2 Post by kalansay »

Adding the '0977' packet in the Network Receive serverType works. I don't know if it really solves what it should solve and I don't know what that packet 0977 is for.

The serverType I am using is "RagexeRE_2012_04_10a"

Here is what I did, I opened the serverType then I added these lines...
Add these line after the "use base" thingy..

Code: Select all

sub new {
	my ($class) = @_;
	my $self = $class->SUPER::new(@_);
	my %packets = (
		'0977' => ['attack'],
	);

	foreach my $switch (keys %packets) {
		$self->{packet_list}{$switch} = $packets{$switch};
	}
	my %handlers = qw(
		attack 0977
	);
	$self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;
	
	return $self;
}
If your serverType already has this big chunk of code.. check this thread on where to add that packet..
http://forums.openkore.com/viewtopic.ph ... 630#p83630
For your CPU Usage & Memory usage concerns...
http://forums.openkore.com/viewtopic.php?f=10&t=33261
Image