kodepiko 38 Posted July 5, 2016 Share Posted July 5, 2016 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 Share on other sites More sharing options...
Thorer 19 Posted July 5, 2016 Share Posted July 5, 2016 Its impossible. Link to comment Share on other sites More sharing options...
kodepiko 38 Posted July 5, 2016 Author Share Posted July 5, 2016 Damn, so there's no any option to use CHAR functions on player at other core/channel? It's so sad Anyway, thanks Link to comment Share on other sites More sharing options...
Denis 1474 Posted July 5, 2016 Share Posted July 5, 2016 CCI * pkCCI = P2P_MANAGER::instance().Find("PlayerName"); if (pkCCI) { pkCCI->pkDesc->ChatPacket(CHAT_TYPE_INFO, "Hello"); } 2 Link to comment Share on other sites More sharing options...
VegaS 1086 Posted July 5, 2016 Share Posted July 5, 2016 10 hours ago, Thorer said: Its impossible. Fcking shit, everything is possible with the source game. 1 Link to comment Share on other sites More sharing options...
Thorer 19 Posted July 5, 2016 Share Posted July 5, 2016 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. 1 Link to comment Share on other sites More sharing options...
kodepiko 38 Posted July 5, 2016 Author Share Posted July 5, 2016 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now