Jump to content

Recommended Posts

  • Active Member

Short back story:

       I remember long time ago I had a map that had many NPCs on it and I got a problem with the packet that sends the NPCs to the client to be displayed on the big atlas map

 

Fix:

input_login.cpp

    Search:

                SECTREE_MANAGER::instance().SendNPCPosition(ch);

    Couple lines under it you should find:

                d->SetPhase(PHASE_GAME);

    Put the "d->SetPhase(PHASE_GAME);"    before the SendNPCPosition line

 

Like this:

                .png

  • Metin2 Dev 1
  • Good 2
  • Love 1
  • Love 5
Link to comment
https://metin2.dev/topic/29274-sendnpcposition/
Share on other sites

  • Forum Moderator

Thank you for sharing! Note that you do not need this fix if you use the method below, which remove the need of a server -> client packet which sends NPC informations.

 

 

  • Metin2 Dev 1
  • Love 1

Gurgarath
coming soon
My Services

Link to comment
https://metin2.dev/topic/29274-sendnpcposition/#findComment-150318
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.