Jump to content

Moving locale-string to client side


Go to solution Solved by B4RC0D3,

Recommended Posts

  • Solution

I've done this by sending the client an information what kind of datatypes in which order got send.
So i modified my ChatPacket function to some kind of this: 

23b64df42a.png

Also then i reversed this on the client-side to get the arguments and got myself a StringModifier to push args step by step.
And this is almost everything you need.

Here is how i call the strings on the Server:
ch->ChatPacket(CHAT_TYPE_INFO, 934, "dd");

I hope this few hints will help you out for a bit.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
  • Active Member

I get this part and it is actually very easy to do. What I am stuck with is sending the arguments from server to client. I don't know how to store them actually, this is the biggest issue for me. 

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.