26/03/2022 11:21
(Esta mensagem foi modificada pela última vez a: 26/03/2022 18:28 por xbruno1000x.)
Eu estou usando o ./samp03svr & dentro da minha VPS, eu dei chhmod 777 em todos os programas, mas o servidor não está ligando, ele executa, mas não liga, ele fica até o ysi... olhem o log:
Bom, agora ele inicou, mas o banco de dados não!
Sendo que está tudo certo na conexão na gamemode
Código:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[14:18:58]
[14:18:58] Server Plugins
[14:18:58] --------------
[14:18:58] Loading plugin: crashdetect.so
[14:18:58] CrashDetect plugin 4.20
[14:18:58] Loaded.
[14:18:58] Loading plugin: TOTP.so
[14:18:58] TOTP plugin v1.0.1 by Games loaded.
[14:18:58] Loaded.
[14:18:58] Loading plugin: pawnregex.so
[14:18:58] Pawn.Regex plugin v1.1.1 by urShadow loaded
[14:18:58] Loaded.
[14:18:58] Loading plugin: streamer.so
[14:18:58]
*** Streamer Plugin v2.9.3 by Incognito loaded ***
[14:18:58] Loaded.
[14:18:58] Loading plugin: sscanf.so
[14:18:58]
[14:18:58] ===============================
[14:18:58] sscanf plugin loaded.
[14:18:58] Version: 2.8.3
[14:18:58] (c) 2018 Alex "Y_Less" Cole
[14:18:58] ===============================
[14:18:58] Loaded.
[14:18:58] Loading plugin: mysql.so
[14:18:58] >> plugin.mysql: R41-4 successfully loaded.
[14:18:58] Loaded.
[14:18:58] Loading plugin: pawnraknet.so
[14:18:58] Pawn.RakNet plugin v1.3.0 by urShadow has been loaded
[14:18:58] Loaded.
[14:18:58] Loading plugin: pawncmd.so
[14:18:58] Pawn.CMD plugin v3.1.4 by urShadow loaded
[14:18:58] Loaded.
[14:18:58] Loading plugin: FakeOnline.so
[14:18:58] >> FakeOnline plugin v2.2 by urShadow loaded.
[14:18:58] Loaded.
[14:18:58] Loading plugin: samp-custom-query-flood-check.so
[14:18:58] Loading SA-MP Custom Query Flood Check v1.0 ...
[14:18:58] Loaded.
[14:18:58] Loaded 10 plugins.
[14:18:58]
[14:18:58] Ban list
[14:18:58] --------
[14:18:58] Loaded: samp.ban
[14:18:58]
[14:18:58]
[14:18:58] Filterscripts
[14:18:58] ---------------
[14:18:58] Loading filterscript 'Mapas.amx'...
[14:18:59] Loading filterscript 'fs-block-player-list.amx'...
[14:18:59] Loading filterscript 'fs-block-rcon-queries.amx'...
[14:18:59] Loading filterscript 'fs-original-check.amx'...
[14:18:59] Loading filterscript 'pickups.amx'...
[14:18:59] Loading filterscript '3dtext.amx'...
[14:18:59] Loading filterscript 'mapicon.amx'...
[14:18:59] Loaded 7 filterscripts.
[14:19:00]
[14:19:00] =======================================
[14:19:00] | |
[14:19:00] | Optimising code, this may take |
[14:19:00] | a little bit of time. |
[14:19:00] | |
[14:19:00] | Please wait... |
[14:19:00] | |
[14:19:00] |=====================================|
[14:19:00] | |
[14:19:00] | Note that these optimisations are |
[14:19:00] | designed to improve performance |
[14:19:00] | with the JIT plugin, which you are |
[14:19:00] | not currently using. Get it here: |
[14:19:00] | |
[14:19:00] | https://git.io/jit-plugin |
[14:19:00] | |
[14:19:00] =======================================
[14:19:00]
Bom, agora ele inicou, mas o banco de dados não!
Código:
[14:20:18] |-----------------------------------------
[14:20:18] | Conexão perdida com o banco de dados |
[14:20:18] | O servidor vai se fechar em 5 segundos... |
[14:20:18] |-----------------------------------------
Sendo que está tudo certo na conexão na gamemode
Código PHP:
#define HOST_DB "localhost"
#define USER_DB "admin"
#define SELE_DB "life"
#define PASS_DB "senha da db"