Jump to content

Recommended Posts

Hello guys,

can you tell me method to get LPCHARACTER pointer of player (online) but on another core/channel by having player name or something?

I want to use CHAR class functions with this.

 

This method is working only on same game core

LPCHARACTER pkChr = CHARACTER_MANAGER::instance().FindPC(name);

 

Regards

Link to comment
https://metin2.dev/topic/12512-c-character-pointer-outside-of-core/
Share on other sites

2 hours ago, Denis said:

        CCI * pkCCI = P2P_MANAGER::instance().Find("PlayerName");
        if (pkCCI)
        {
            pkCCI->pkDesc->ChatPacket(CHAT_TYPE_INFO, "Hello");
        }

ChatPacket is from CHARACTER class, not description.

 

2 hours ago, VegaS said:

Fcking shit, everything is possible with the source game.

Its POINTER, pointing on adress of process, you cannot merge it to another process.

  • Love 1
4 hours ago, Thorer said:

ChatPacket is from CHARACTER class, not description.

 

Its POINTER, pointing on adress of process, you cannot merge it to another process.

I also think in that way, but what @Denis said it seemed to work in my case, lol.

 

Thank you guys for respond.

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.