Jump to content

Recommended Posts

Hello,
i need help with compare version of client. In "mainline_releasedmainline_sgSrcsServer" in config.cpp its broken function CheckClientVersion.
 
SERVER_CHECK: 1
SERVER_VERSION: 258884585
 
i would like to do it same like Valinal core in config file.
 
Thank you a lot
Link to comment
https://metin2.dev/topic/868-helpcheckclientversion/
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium

Hi,

 

  1. Make a CONFIG options, follow this tutorial: http://metin2dev.org/board/topic/304-src-making-new-config-options
  2. Extern the variable and use it in input_main, input_login
  3. "Fix" the comparing:
if(!strcmp(g_stClientVersion.c_str(), d->GetClientVersion())
	{
		// equal
	}
	else
	{
		// not equal
	}
Link to comment
https://metin2.dev/topic/868-helpcheckclientversion/#findComment-6600
Share on other sites

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.