Jump to content

Error Server ON VPS


Recommended Posts

Hello everyone, are you alright? I hope so ❤️ My question is as follows ... I added the server in a vps-GoogleCloud Freebsd 12.2 I installed the server, but I'm having these errors

1-Error after opening server sh start.sh

*https://metin2.download/picture/IzHIvx6RnbF8v11lB8o71U1VrNufP53U/.png

2-my comand   ee /etc/rc.conf

*https://metin2.download/picture/z5md7NLsT7Dq9NDtx26YC6oUWXvr2X9A/.png

3-my /usr/src/game/src  config.cpp

*https://metin2.download/picture/OV6pb9j1860lQ8r0Blf9j3wF7nSj7R3i/.png

4-my /usr/game/server/ch1/core_1

*https://metin2.download/picture/4AASV12aIs3Aiqu680spAPKi0K1W0030/.png

5-possible settings that sometimes help with something/vps

*https://metin2.download/picture/469qgCZ3fadQh9vAa0IX8G2VBMNUDWVc/.png

6-my ifconfig

*https://metin2.download/picture/tQJPIq3gKFAiPfaTf7lf5Tr61K3r3uBo/.png

7-my /etc/rc.d/netif restart

*https://metin2.download/picture/8t0h81kTjPuwPys7QNzxyu6S2F90a2x8/.png

8-myVPS

*https://metin2.download/picture/c5KJUsoC8McrTAOKKZtk1x93hpp04Rn1/.png

 

Desde de já agradeço muito vocês eu aprendo muito coisa por aqui s2

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
Share on other sites

hiiiii  Karbust, 

 

 

how are you? so... some lines I can't find, should I add them?

For exemple

in my desc.cpp

https://metin2.download/picture/M3k0cu0WQI2rYE59zMPZNk5r4mHGUDt5/.png

in topic 

https://metin2.download/picture/M0UiQ369b1AQ72e3FAm04KKw4rEh4IVj/.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Management
5 hours ago, Premium said:

hiiiii  Karbust, 

 

 

how are you? so... some lines I can't find, should I add them?

For exemple

in my desc.cpp

https://metin2.download/picture/M3k0cu0WQI2rYE59zMPZNk5r4mHGUDt5/.png

in topic 

https://metin2.download/picture/M0UiQ369b1AQ72e3FAm04KKw4rEh4IVj/.png

Ignore my define, I usually disable it on localhost, unless I have friends joining in.

void DESC::SendLoginSuccessPacket()
{
	TAccountTable & rTable = GetAccountTable();

	TPacketGCLoginSuccess p;

	p.bHeader    = HEADER_GC_LOGIN_SUCCESS_NEWSLOT;

	p.handle     = GetHandle();
	p.random_key = DESC_MANAGER::instance().MakeRandomKey(GetHandle()); // FOR MARK
	thecore_memcpy(p.players, rTable.players, sizeof(rTable.players));

	for (int i = 0; i < PLAYER_PER_ACCOUNT; ++i)
	{   
#ifdef ENABLE_PROXY_IP
		if (!g_stProxyIP.empty())
			rTable.players[i].lAddr=inet_addr(g_stProxyIP.c_str());
#endif
			
		CGuild* g = CGuildManager::instance().GetLinkedGuild(rTable.players[i].dwID);

		if (g)
		{   
			p.guild_id[i] = g->GetID();
			strlcpy(p.guild_name[i], g->GetName(), sizeof(p.guild_name[i]));
		}   
		else
		{
			p.guild_id[i] = 0;
			p.guild_name[i][0] = '\0';
		}
	}

	Packet(&p, sizeof(TPacketGCLoginSuccess));
}

 

 

Edited by Metin2 Dev
Core X - External 2 Internal

raw

raw

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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