How to know the faction of the players on the map

06/10/2020 23:07 Limoo#1
Hi, I'm making a program for NosTale.
I need to filter the angels players and the demons players. I have already checked the IN packet ([Only registered and activated users can see links. Click Here To Register...]) There isn't value that differentiates them.

Do you know if it's possible to get it?
I would need it for act 4.

Thanks :D
06/11/2020 08:40 Bejine#2
There actually is a value in `in` packet. OpenNos is a shitty source of information, just go into a4 and take packets of angels and demons and compare them. It's more of "is in your faction" instead of "angel/demon/none" iirc.
06/11/2020 16:15 Apourtartt#3
If it has not changed :
Code:
Faction PacketIn1::getFaction()
{
    return static_cast<Faction>(packet[30].toInt());
}
split by ' '
06/12/2020 00:12 Limoo#4
Quote:
Originally Posted by Bejine View Post
There actually is a value in `in` packet. OpenNos is a shitty source of information, just go into a4 and take packets of angels and demons and compare them. It's more of "is in your faction" instead of "angel/demon/none" iirc.
I went to act 4 to get two packets but I don't find the variant between enemy and ally.

in 1 ALLY - 1149793 125 85 2 0 0 1 9 3 [Equipments] 2241 50 0 -1 4 1 0 0 0 1564 24 23 29918 [guild] 14 0 0 4 0 61 5 0|0|0 0 0 10 0 9373
in 1 ENEMY1 - 721336 29 52 2 0 1 2 49 2 [Equipments] 94 0 -1 4 2 0 0 0 2527 86 86 4184918 [guild] 25 1 0 4 14 90 11 0|0|0 0 16 10 1 9352
in 1 ENEMY2 - 710626 101 77 2 0 1 2 90 2 [Equipments] 100 43 22 -1 4 1 0 40 0 1 87 97 3790917 [guild] 28 0 14 3 0 99 13 0|0|0 0 0 10 52 9351
in 1 ENEMY3 - 514842 111 66 2 0 0 3 100 1 [Equipments] 65 89 0 -1 4 3 0 42 0 10 85 87 3790915 [guild] 29 0 15 3 16 99 13 0|0|0 0 0 10 60 9341

I attach an image for aligned values
[Only registered and activated users can see links. Click Here To Register...]