Bot wont move after 11/15/17 update
Moderator: Moderators
-
- Noob
- Posts: 2
- Joined: 16 Nov 2017, 02:52
- Noob?: Yes
Bot wont move after 11/15/17 update
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.
-
- Noob
- Posts: 1
- Joined: 16 Nov 2017, 06:04
- Noob?: Yes
Re: Bot wont move after 11/15/17 update
My bot doest work in the new update? Please help..
Re: Bot wont move after 11/15/17 update
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
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
Re: Bot wont move after 11/15/17 update
or maybe just download the latest from github