Jump to content
  • 0

[HowTo] The "hello world" of metin2

Go to solution Solved by VegaS™,


  • VIP
Posted (edited)

Hello everybody,


So I'm getting back to a game i loved and i wanna customise a server, but I really get lost on it all, what I'm asking is for a little bump, a little success from which i can build upon.

I'm pretty good with python/OOP which I saw is client side, in the packages, but i got no idea how to create a server side function(C++ Embbedes python) that passes a value to the client, and actually display the value in the client (reveiced by the client, and displayed by ther UI) so basically, i need the "hello world" of metin2 that would look like this:



UI definted button called "Start"

Client side function/class Method named "onStartClick" that calls a Server-Side method "getHelloWorld" which returns to the clientside method (Or to another clientside method) a string called "Hello world"

Client side UI displays the string received from serverside in the UI saying "Hello world" in a little grey box.



I hope this isn't viewed as a negative thing, I just work better with examples.

I'm good with python, OOP, not so much with C++ but i catch up fast, just as a fyi.


Thanks :D

Edited by astroNOT
Link to post

2 answers to this question

Recommended Posts

  • 0
  • VIP
On 3/8/2021 at 7:57 PM, VegaS™ said:


While it's a great post, I've got into trouble when it came to the button creation, i don't know in which module to create the button_event method, and under what class, if you got any idea :D, ive left a commet on the actual post also.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.