x3PrinzPix3 10 Posted June 26, 2016 Share Posted June 26, 2016 Hey everyone, Today i setup the Prevo2 files for hamachi because i want to make pvp with my friends. The problem is that when my friends want to start the game and pick a char they get a kick. Would be great if someone could help me. Thx Link to comment Share on other sites More sharing options...
Former Staff arves100 1549 Posted June 26, 2016 Former Staff Share Posted June 26, 2016 28 minutes ago, x3PrinzPix3 said: Hey everyone, Today i setup the Prevo2 files for hamachi because i want to make pvp with my friends. The problem is that when my friends want to start the game and pick a char they get a kick. Would be great if someone could help me. Thx Syserr server\client please Everyday you wake up as a Metin2 developer is a bad day... METIN1 src when Link to comment Share on other sites More sharing options...
x3PrinzPix3 10 Posted June 26, 2016 Author Share Posted June 26, 2016 9 minutes ago, arves100 said: Syserr server\client please Server syserr is empty, client syserr 0626 16:16:00546 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/login_window.mp3 0626 16:16:08532 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/characterselect.mp3 0626 16:16:08750 :: invalid idx 0 0626 16:16:15224 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/login_window.mp3 Every port that i could found works, everyone has the right hamachi ip Link to comment Share on other sites More sharing options...
x3PrinzPix3 10 Posted June 26, 2016 Author Share Posted June 26, 2016 2 minutes ago, arves100 said: If you are using 40k, you have to set the PUBLIC_IP Where can i find this? Link to comment Share on other sites More sharing options...
x3PrinzPix3 10 Posted June 26, 2016 Author Share Posted June 26, 2016 6 minutes ago, arves100 said: CONFIG for any core PUBLIC_IP: your hamachi ip Alright i already found it but nothing changed... i tried everything ._. Link to comment Share on other sites More sharing options...
x3PrinzPix3 10 Posted June 26, 2016 Author Share Posted June 26, 2016 52 minutes ago, arves100 said: Here what you have to do in CONFIG for all core CONNECTION_IP: your hamachi ip Game\config.cpp Line 56 and add: Hide contents char g_ipfix[16] = "0"; line 1169 and add: Hide contents TOKEN("connection_ip") { strlcpy(g_ipfix, value_string, sizeof(g_ipfix)); } Game\config.h line 56,add: Hide contents extern char g_ipfix[16]; Game\desc_client.cpp line 149 and replace: Hide contents memcpy(p.szIP, g_szPublicIp, 16); with: Hide contents memcpy(p.szIP, g_ipfix, 16); Go on line 159 and replace: Hide contents strlcpy(p.szPublicIP, g_szPublicip, sizeof(p.szPublicIP)); with: Hide contents strlcpy(p.szPublicIP, g_ipfix, sizeof(p.szPublicIP)); Well... Thats very kind of you but i cant compile the prevo source.. i think i should give up Link to comment Share on other sites More sharing options...
Premium EnKor 43 Posted June 26, 2016 Premium Share Posted June 26, 2016 if u use 40k and cant compile ur source.... yes. give up now and start with some source for server and client. if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end 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