Jump to content

Recommended Posts

  • Contributor

No need for a description, here's the code:

This is the hidden content, please
 or 
This is the hidden content, please

207033801-eb301906-1604-460c-93d7-27e89c

Q: Is this the best way to do it? Is there a better way?

A: Don't know, don't care. That's how I've done it, get over it.

 

Q: Any checks you didn't add?

A: There might be some stuff that I missed/forgot about(done it in a rush). If you notice something, let me know and I'll update the code accordingly.

 

Q: It's not working for me. Support?

A: Only in the topic(when I have time), don't fucking message me.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 109
  • Good 15
  • Love 1
  • Love 115
Link to comment
https://metin2.dev/topic/30021-cross-channel-friend-request/
Share on other sites

  • 2 years later...

If i am on ch99, and i sent PM on a player that is on ch1, he cannot receive it.

“𝓐𝓵𝓵 𝔀𝓮 𝓱𝓪𝓿𝓮 𝓽𝓸 𝓭𝓮𝓬𝓲𝓭𝓮 𝓲𝓼 𝔀𝓱𝓪𝓽 𝓽𝓸 𝓭𝓸 𝔀𝓲𝓽𝓱 𝓽𝓱𝓮 𝓽𝓲𝓶𝓮 𝓽𝓱𝓪𝓽 𝓲𝓼 𝓰𝓲𝓿𝓮𝓷 𝓾𝓼.” ~ 𝓖𝓪𝓷𝓭𝓪𝓵𝓯 𝓽𝓱𝓮 𝓖𝓻𝓮𝔂

  • 8 months later...
  • Active+ Member

I've added the system for a few days now and I've been testing it and I love how simple yet effective it's been so far. I was just wondering if it would be easy for someone to share how to effectively reactivate the message that says "%s if offline.".

This message was disabled in input_main.cpp so that MessengerManager::instance().P2PRequestToAdd_Stage1(ch, name); can replace it. The thing is that now the system searches through all the available channels and it doesn't know where to stop and show the message.

I tried some logging in the new functions to see where it stops but my logs either get ignored or fire in a per-channel rate (before reaching the end).

 

I was also wondering how is it possible to send notices from the new functions to either account or companion. My ChatPackets are ignored when targeting a different channel through P2P. I tried using `LPCHARACTER ch = CHARACTER_MANAGER::Instance().FindPC(characterName);` for example but nothing happens in the game.

 

Thank you for this amazing system! 🙏

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.