ERROR COLANDREAS - nilat - 25/06/2021
Boa Noite Pessoal! Venho aqui pedir um auxílio de vocês para resolver um problema com o ColAndreas.
A Princípio, ao inicializar a gamemode, ela efetua o carregamento do mapa, mas depois retorna "Tried to reload Map.".
Os "DEBUG: ca-carregado" foram algumas verificações que eu fiz para saber se o CA_Init() retornava 1, e ele retorna, mas da erro novamente.
Removi todos os CA_RemoveBuilding e coloquei em uma FS, ela carregou corretamente, mas a gamemode não carrega o ColAndreas nem mesmo sem os CA_RemoveBuilding.
Estou usando o Rogue-AC como anti-cheater.
OBS: A ordem de carregamento é conforme a descrita pelo ColAndreas(CA_RemoveBuilding, CA_Init, CA_CreateDynamicObject);
A Seguir o Log do servidor:
Código: [16:29:21] Loading Map.
[16:29:21] Loaded Map.
[16:29:21] Tried to reload Map.
[16:29:21] DEBUG: ca-carregado
[16:29:22] Tried to reload Map.
[16:29:22] DEBUG: ca-carregado 1
[16:29:22] Tried to reload Map.
[16:29:22] DEBUG: ca-carregado 2
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_RemoveBuilding : Map has already been initialized. Use this before CA_Init.
[16:29:22] ERROR: CA_Remo........(Flood de Erros)
Que erros estou cometendo para que o ColAndreas Não Carregue? Tem algum Plugin que Impede o Carregamento na Gamemode?
RE: ERROR COLANDREAS - xbruno1000x - 25/06/2021
O tópico foi movido por mim para a área correta, atente-se as diferenças entre as áreas:
Suporte Client é para problemas com o programa SA-MP.
Área de suporte é para suporte para a linguagem pawn.
RE: ERROR COLANDREAS - xbruno1000x - 26/06/2021
Outros scripter's com esse problema relataram que isso pode resolver:
Código: //No ínicio da OnGameModeInit
public OnGameModeInit()
{
if(GetSVarInt("gmxCounter") == 0)
{
//Do your remove objects stuff
CA_Init();
}
SetSVarInt("gmxCounter", GetSVarInt("gmxCounter") + 1);
return 1;
}
|