[Ajuda] O que tem de errado com meu GMX?
#1

Peguei um servidor pra testes e to criando um SV de DM, como й teste, constantemente tenho que dar GMX, mas toda vez que da GMX o sv nгo volta, tenho que fechar e abrir no painel, ativei o log de erros no mysql e apareceu isso dps do gmx e tals
Код:
[14:26:51] [ERROR] cache_get_field_content_int - invalid datatype
[14:26:51] [ERROR] cache_get_field_content_int - invalid datatype
[14:27:21] [ERROR] CMySQLConnection::Connect - (error #1226) User 'port_2538' has exceeded the 'max_user_connections' resource (current value: 5)
[14:27:21] [ERROR] CMySQLConnection::Connect - (error #1226) User 'port_2538' has exceeded the 'max_user_connections' resource (current value: 5)
O que isso quer dizer?
Aqui em localhost o GMX ta funcionando normalmente! O que pode ser?
Reply
#2

Pelo pouco que entendo, ultrapassou o maximo de conecзгo espeficicado pela host.
Reply
#3

Vocк tem que finalizar a conexгo

Poe assim no OnGameModeExit

mysql_close();
Reply
#4

Quote:
Originally Posted by pWesley
Посмотреть сообщение
Vocк tem que finalizar a conexгo

Poe assim no OnGameModeExit

mysql_close();
Eu jб estou fazendo isso
editado

Nгo sei, mas to comeзando a achar q o problema nгo й no gmx, parece ser alguma outra coisa

Me ajuda aн! Nгo sei o que fazer!
Reply
#5

PHP код:
SendRconCommand("gmx"); 
Reply
#6

Trocar
Код:
public OnGMX() { GameModeExit(); }
Por
Код:
public OnGMX() { SendRconCommand("gmx");   }
Vc quis dizer?
Reply
#7

Quote:
Originally Posted by ubunttu
Посмотреть сообщение
Trocar
Код:
public OnGMX() { GameModeExit(); }
Por
Код:
public OnGMX() { SendRconCommand("gmx");   }
Vc quis dizer?
Examente. O GameModeExit sу fecha, o SendRconCommand reinicia.
Reply
#8

Quote:
Originally Posted by Monotox
Посмотреть сообщение
Examente. O GameModeExit sу fecha, o SendRconCommand reinicia.
Opa, vlw, tentei aqui:


Quando eu dou GMX nгo consigo mais logar no servidor, nгo sei o que й, o que pode ser, nгo sei se й sу no GMX...
Mas enfim, to preso, preciso da ajuda de vcs, nгo sei mais o que fazer

Код:
[04:48:46] [ERROR] CMySQLConnection::Connect - (error #1226) User 'port_2538' has exceeded the 'max_user_connections' resource (current value: 5)
[04:48:46] [ERROR] CMySQLConnection::Connect - (error #1226) User 'port_2538' has exceeded the 'max_user_connections' resource (current value: 5)
Код:
CMD:gmx(playerid) {
	new string[80];
	format(string, sizeof(string), "AdmCmd: %s comeзou um GMX.", PlayerName(playerid) );
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	SetTimer("OnGMX", 5000,1);
	return 1;
}
Код:
public OnGMX() {
	SalvarCasas();
	SalvarORGs();
	SalvarServer();
	for(new i = 0; i < MAX_PLAYERS; i++) {
		if(IsPlayerConnected(i)) {
			Kick(i); // player й salvo ao desconectar
		}
	}
	SendRconCommand("gmx");
}
Reply
#9

Jб tentou colocar o mysql_close() assim...
PHP код:
public OnGMX() {
    
SalvarCasas();
    
SalvarORGs();
    
SalvarServer();
    for(new 
0MAX_PLAYERSi++) {
        if(
IsPlayerConnected(i)) {
            
Kick(i); // player й salvo ao desconectar
        
}
    }
    
mysql_close();
    
SendRconCommand("gmx");

Reply
#10

vocк esta chutando os players assim nгo vai funcionar ...
PHP код:
public OnGMX() {
    
SalvarCasas();
    
SalvarORGs();
    
SalvarServer();
    
mysql_close();
    
SendRconCommand("gmx");

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)