Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[HeavenMS] PlayerNPC bug

Newbie Spellweaver
Joined
Dec 21, 2010
Messages
59
Reaction score
2
Hi, have anyone faced an issue where playernpc sometimes cant be clicked / interacted and will dissapear from map after you re-enter the map? I realise it is an character-specific issue, for example:

Character A can't interact with PNPC 1, but Character B can interact with PNPC 1 (Both character can come from the same account). Since Character A clicked on PNPC 1, when Character A & B re-enter the map, the PNPC will dissapear, only on that specific channel though & will still appear on other channel. If Character A proceed to intereact with PNPC 1 on other channels, the PNPC will dissapear on the respective channels as well.

Edit:
Found pattern of the bug, it depends on the character id & playernpc id. Character with ID 3 wont be able to interact with playernpc ID 3 @@

Edit2:
Seems like it is the ObjectId that caused the issue. If I use getUsableOID() for the objectId instead of the playernpc id as objectid, the issue will be resolved. But not sure if it will cause any conflict since there's this msg - clashes with playernpc on curOid >= 2147000000, developernpc uses >= 2147483000 in getUsableOID() function
 
Last edited:
Back
Top