Portal SAMP
[Ajuda] fixes.inc problema no log do server - Versão de Impressão

+- Portal SAMP (https://portalsamp.com)
+-- Fórum: SA-MP (https://portalsamp.com/forumdisplay.php?fid=5)
+--- Fórum: Área de suporte (https://portalsamp.com/forumdisplay.php?fid=6)
+--- Tópico: [Ajuda] fixes.inc problema no log do server (/showthread.php?tid=811)



fixes.inc problema no log do server - zBL4CK - 23/02/2021

eae galera bom vi uns tutoriais de otimizações e vi a recomendação da include fixes

porem no log do meu server ta acusando isso:

Código:
* FIXES_PRINTF (GM):

********************************************************************************
* Could not open "DANGEROUS_SERVER_ROOT/server.cfg".  Make sure your server is *
* configured to allow server root access.  Either via:                         *
*                                                                              *
*     https://github.com/Misiur/YSI/raw/master/links.rar                       *
*                                                                              *
* Or (Windows - CMD):                                                          *
*                                                                              *
*     cd scriptfiles                                                           *
*     mklink /J DANGEROUS_SERVER_ROOT ..                                       *
*                                                                              *
* Or (Windows - PowerShell):                                                   *
*                                                                              *
*     cd scriptfiles                                                           *
*     cmd /c mklink /J DANGEROUS_SERVER_ROOT ..                                *
*                                                                              *
* Or (Linux):                                                                  *
*                                                                              *
*     cd scriptfiles                                                           *
*     ln -s .. DANGEROUS_SERVER_ROOT                                           *
*                                                                              *
* If you're not able to, or just don't want to make these changes you can      *
* suppress the warning by defining this at the top of your mode:               *
*                                                                              *
*     #define FIXES_ServerVarMsg 0                                             *
*                                                                              *
* Or (preferably) disable the relevant fixes with:                             *
*                                                                              *
*     #define FIX_GetServerVarAsString 0                                       *
*     #define FIX_GetServerVarAsFloat  0                                       *
*     #define FIX_GetServerVarAsInt    0                                       *
*     #define FIX_GetServerVarAsBool   0                                       *
*                                                                              *
********************************************************************************

*** fixes.inc warning: Server var `maxplayers` (50) < `MAX_PLAYERS` (1000), wasting memory.
***
***                    Disable this message with:
***
***                        #define FIXES_GetMaxPlayersMsg 0
***
  Filterscript '../scriptfiles/callbackfix.amx' loaded.
50

devo me atentar a isso ou se eu ignorar não terá problemas

no topo da minha gm eu declarei o seguinte:

#if defined MAX_PLAYERS
#undef MAX_PLAYERS
#endif
#define MAX_PLAYERS 50


e mais uma coisa:

https://github.com/Misiur/YSI/raw/master/links.rar

esse link apontado fiz o download porem como uso? tem arquivos .bat isso fará algum dano ao meu sistema operacional?

help ;-;


RE: fixes.inc problema no log do server - zBL4CK - 25/02/2021

alguem?


RE: fixes.inc problema no log do server - xbruno1000x - 26/02/2021

Tá tudo certo, é apenas um aviso. Caso não use a include, a única diferença seria que você nem saberia disso...

Sobre o .bat, você pode edita-lo com o bloco de notas e ver o seu conteúdo.


RE: fixes.inc problema no log do server - zBL4CK - 26/02/2021

(26/02/2021 00:17)xbruno1000x Escreveu: Tá tudo certo, é apenas um aviso. Caso não use a include, a única diferença seria que você nem saberia disso...

Sobre o .bat, você pode edita-lo com o bloco de notas e ver o seu conteúdo.

valeu mano