Unknown Switch + Detect Player As NPC

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

Moderator: Moderators

hung205102296
Human
Human
Posts: 20
Joined: 10 Dec 2009, 21:29
Noob?: No

Unknown Switch + Detect Player As NPC

#1 Post by hung205102296 »

Hi guys. I am facing TWO PROBLEMS with my bot.

1) Packet Parser: Unknown switch: 0915

Here is the server.txt configuration
[Joker Ragnarok Online]
ip 14.102.150.250
port 6900
version 30
master_version 14
charBlockSize 144
serverType kRO_RagexeRE_2012_04_10a
addTableFolders kRO
recvpackets recvpackets-joker1.txt
serverEncoding Western

2) Detect player as NPC
Openkore doesn't detect any npc and any players around are detected as NPC instead.

Any idea how to solve these problems? Thanks.
azakura014
Noob
Noob
Posts: 4
Joined: 12 Jun 2013, 07:09
Noob?: No

Re: Unknown Switch + Detect Player As NPC

#2 Post by azakura014 »

i also have the same problem hope we can have any solution for this
sobad123
Human
Human
Posts: 48
Joined: 17 Mar 2015, 06:48
Noob?: Yes

Re: Unknown Switch + Detect Player As NPC

#3 Post by sobad123 »

sobad123 wrote:go to openkore\src\Network\Receive\kRO\RagexeRE_2012_04_10a
they should look like this:

use strict;
use base qw();
_________________________
sub new {
my ($class) = @_;
my $self = $class->SUPER::new(@_);
my %packets = (
'0914' => ['actor_exists', 'v C a4 v3 V v5 a4 v6 a4 a2 v V C2 a6 C2 v2 Z*', [qw(len object_type ID walk_speed opt1 opt2 option type hair_style weapon shield lowhead tick tophead midhead hair_color clothes_color head_dir costume guildID emblemID manner opt3 stance sex coords xSize ySize lv font name)]],
'0915' => ['actor_moved', 'v C a4 v3 V v5 a4 v6 a4 a2 v V C2 a6 C2 v2 Z*', [qw(len object_type ID walk_speed opt1 opt2 option type hair_style weapon shield lowhead tick tophead midhead hair_color clothes_color head_dir costume guildID emblemID manner opt3 stance sex coords xSize ySize lv font name)]],
);

foreach my $switch (keys %packets) {
$self->{packet_list}{$switch} = $packets{$switch};
}

return $self;
}

1;

dont copy the part above the _____ its only for you that you know where to add.
use notepad+
HAVE FUN!
that should solve your problems btw. I dont know if you need 0915 and 0914 so use first both and if it not work use only 0915
hung205102296
Human
Human
Posts: 20
Joined: 10 Dec 2009, 21:29
Noob?: No

Re: Unknown Switch + Detect Player As NPC

#4 Post by hung205102296 »

Hi. I'm facing this problem.

1) Packet Tokenizer: Unknown switch: 0990
2) Item Exist ?$$(*%&. Failed to take.

Any idea what's wrong? Thanks :D
hercolinoo
Noob
Noob
Posts: 6
Joined: 23 Aug 2009, 18:58
Noob?: No

Re: Unknown Switch + Detect Player As NPC

#5 Post by hercolinoo »

Hello!

Try to replace the file with the attached on this message.

This is the path:
Openkore\src\Network\Receive\kRO
You do not have the required permissions to view the files attached to this post.
hung205102296
Human
Human
Posts: 20
Joined: 10 Dec 2009, 21:29
Noob?: No

Re: Unknown Switch + Detect Player As NPC

#6 Post by hung205102296 »

It works! Thank you so much!
hercolinoo
Noob
Noob
Posts: 6
Joined: 23 Aug 2009, 18:58
Noob?: No

Re: Unknown Switch + Detect Player As NPC

#7 Post by hercolinoo »

hung205102296 wrote:It works! Thank you so much!
Awesome!