Bot wont move after 11/15/17 update

International

Moderator: Moderators

Message
Author
grandia2002
Noob
Noob
Posts: 2
Joined: 16 Nov 2017, 02:52
Noob?: Yes

Bot wont move after 11/15/17 update

#1 Post by grandia2002 »

None of my bots will walk route after update. If monsters aggro they will attack but wont route. Everything was fine before update. Just copied the control config to update. This is on the ragnarok restart official server.

anneroselle
Noob
Noob
Posts: 1
Joined: 16 Nov 2017, 06:04
Noob?: Yes

Re: Bot wont move after 11/15/17 update

#2 Post by anneroselle »

:idea: My bot doest work in the new update? Please help..

MrRobot
Noob
Noob
Posts: 1
Joined: 16 Nov 2017, 21:27
Noob?: No

Re: Bot wont move after 11/15/17 update

#3 Post by MrRobot »

Go to src/network/send/servertype0.pm

Edit the servertype0.pm

foreach ( sort keys %shuffle ) {
# We can only patch packets we know about.
next if !$self->{packet_list}->{$_};
# Ignore changes to packets which aren't used by this server.
my $handler = $self->{packet_list}->{$_}->[0];
next if $self->{packet_lut}->{$handler} && $self->{packet_lut}->{$handler} ne $_;
[/b]
$new->{ $shuffle{$_} } = $self->{packet_list}->{$_};
}

Add the bolded lines to the code

Credit to github

Pachu
Plain Yogurt
Plain Yogurt
Posts: 55
Joined: 04 Apr 2008, 14:21
Noob?: No

Re: Bot wont move after 11/15/17 update

#4 Post by Pachu »

or maybe just download the latest from github

Post Reply