How to identify a Monster NPC ?
Moderators: Moderators, Developers
How to identify a Monster NPC ?
In map pay_dun03, there is a "Nine Tail" monster, actually it is a NPC but not a monster.
There are 3 Monster NPCs in map bra_fild01.
How to identify them, and How to avoid to attach them ?
There are 3 Monster NPCs in map bra_fild01.
How to identify them, and How to avoid to attach them ?
Re: How to identify a Monster NPC ?
mon_control.txt
Ninetail 0
You don't attack it unless it attacks you which the NPCs don' do.
Ninetail 0
You don't attack it unless it attacks you which the NPCs don' do.
Re: How to identify a Monster NPC ?
mon_control.txt:
nine tail 0
I was not sure but if the change to 0 later bot will not attack the monster
so let the bot was to it talking to the NPC
This is just my opinion
sorry for my english
nine tail 0
I was not sure but if the change to 0 later bot will not attack the monster
so let the bot was to it talking to the NPC
This is just my opinion
sorry for my english
Re: How to identify a Monster NPC ?
I know this solution !madnoh wrote: nine tail 0
It could be "nine tail 0 0 0".
But, this soltion make the role couldn't attach the true nine tail monsters activily.
Re: How to identify a Monster NPC ?
Ninetails are aggressive so they will attack you unless you use telesearch.
Re: How to identify a Monster NPC ?
I know that Ninetails are aggressive !Daedalus wrote:Ninetails are aggressive so they will attack you unless you use telesearch.
But, I want to get a algrithm to identify all Monster NPCs !
Re: How to identify a Monster NPC ?
Hmm. does OpenKore build in Player/NPC/Mob recognizer does not recognize it as NPC?
I think it should. Or it should be improved, because all the today server have build in flag to show who is who.
I think it should. Or it should be improved, because all the today server have build in flag to show who is who.
Re: How to identify a Monster NPC ?
I already try this !kLabMouse wrote:Hmm. does OpenKore build in Player/NPC/Mob recognizer does not recognize it as NPC?
I think it should. Or it should be improved, because all the today server have build in flag to show who is who.
My method is : Add code lines before "Monster" recognizer.
To identify the Monsters NPCs with map and positions...
But, I think this is not a good method !
The code lines as:
Code: Select all
} elsif ($args->{type} >= 1000) { # FIXME: in rare cases RO uses a monster sprite for NPC's (JT_ZHERLTHSH = 0x4b0 = 1200) ==> use object_type ?
if (($field->baseName eq "bra_fild01") &&
(($coordsFrom{x} == 245 && $coordsFrom{y} == 52) ||
($coordsFrom{x} == 34 && $coordsFrom{y} == 184) ||
($coordsFrom{x} == 75 && $coordsFrom{y} == 83))) {
$actor = $npcsList->getByID($args->{ID});
if (!defined $actor) {
$actor = new Actor::NPC();
$actor->{appear_time} = time;
$mustAdd = 1;
}
$actor->{nameID} = $nameID;
} elsif (($field->baseName eq "pay_dun03") && ($coordsFrom{x} == 48 && $coordsFrom{y} == 84)) {
$actor = $npcsList->getByID($args->{ID});
if (!defined $actor) {
$actor = new Actor::NPC();
$actor->{appear_time} = time;
$mustAdd = 1;
}
$actor->{nameID} = $nameID;
} else {
Re: How to identify a Monster NPC ?
That's not a solution. It's a hack!sofax222 wrote:I already try this !kLabMouse wrote:Hmm. does OpenKore build in Player/NPC/Mob recognizer does not recognize it as NPC?
I think it should. Or it should be improved, because all the today server have build in flag to show who is who.
My method is : Add code lines before "Monster" recognizer.
To identify the Monsters NPCs with map and positions...
But, I think this is not a good method !
There is a flag in packets, that indicate what type of Actor it is.
Re: How to identify a Monster NPC ?
Which flag in packets ? I did not get it !!kLabMouse wrote:That's not a solution. It's a hack!sofax222 wrote:I already try this !kLabMouse wrote:Hmm. does OpenKore build in Player/NPC/Mob recognizer does not recognize it as NPC?
I think it should. Or it should be improved, because all the today server have build in flag to show who is who.
My method is : Add code lines before "Monster" recognizer.
To identify the Monsters NPCs with map and positions...
But, I think this is not a good method !
There is a flag in packets, that indicate what type of Actor it is.