Portal SAMP
Erro pawn memoria - 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: Erro pawn memoria (/showthread.php?tid=240)

Páginas: 1 2


Erro pawn memoria - Icalu - 27/10/2020

Como arruma esse erro de memoria 
https://imgur.com/tiVauhT


RE: Erro pawn memoria - SrGhost_ - 27/10/2020

oush ? Tem Erro ai nao o gm/fs compilou man .-.

se for esses bytes ai que voce esta falando e normal no meu tbm aparece isso Big Grin


RE: Erro pawn memoria - Icalu - 28/10/2020

(27/10/2020 21:42)SrGhost_ Escreveu: oush  ? Tem Erro ai nao o gm/fs compilou man .-.

se for esses bytes ai que voce esta falando e normal no meu tbm aparece isso Big Grin
Entao pq dar esse erro quando abro o samp-serve
https://imgur.com/AO2LOvF


RE: Erro pawn memoria - Hazard - 28/10/2020

(28/10/2020 08:29)Icalu Escreveu:
(27/10/2020 21:42)SrGhost_ Escreveu: oush  ? Tem Erro ai nao o gm/fs compilou man .-.

se for esses bytes ai que voce esta falando e normal no meu tbm aparece isso Big Grin
Entao pq dar esse erro quando abro o samp-serve
https://imgur.com/AO2LOvF

isso não tem nada haver com o ocorrido a cima, os plugins estão sendo carregados?


RE: Erro pawn memoria - Icalu - 28/10/2020

(28/10/2020 08:34)Hazard Escreveu:
(28/10/2020 08:29)Icalu Escreveu:
(27/10/2020 21:42)SrGhost_ Escreveu: oush  ? Tem Erro ai nao o gm/fs compilou man .-.

se for esses bytes ai que voce esta falando e normal no meu tbm aparece isso Big Grin
Entao pq dar esse erro quando abro o samp-serve
https://imgur.com/AO2LOvF

isso não tem nada haver com o ocorrido a cima, os plugins estão sendo carregados?
Como vejo c eles estao carregados?
Eu estou usando essa GM aqui http://www.mediafire.com/file/j2aijmfqjkvinu7/GM_FenixZone_Liberada.rar/file#


RE: Erro pawn memoria - Hazard - 28/10/2020

(28/10/2020 08:36)Icalu Escreveu:
(28/10/2020 08:34)Hazard Escreveu:
(28/10/2020 08:29)Icalu Escreveu:
(27/10/2020 21:42)SrGhost_ Escreveu: oush  ? Tem Erro ai nao o gm/fs compilou man .-.

se for esses bytes ai que voce esta falando e normal no meu tbm aparece isso Big Grin
Entao pq dar esse erro quando abro o samp-serve
https://imgur.com/AO2LOvF

isso não tem nada haver com o ocorrido a cima, os plugins estão sendo carregados?
Como vejo c eles estao carregados?
Eu estou usando essa GM aqui http://www.mediafire.com/file/j2aijmfqjkvinu7/GM_FenixZone_Liberada.rar/file#

manda o server.log recente aqui


RE: Erro pawn memoria - Icalu - 28/10/2020

Código:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team

[08:28:01]
[08:28:01] Server Plugins
[08:28:01] --------------
[08:28:01]  Loading plugin: streamer.dll
[08:28:01]

*** Streamer Plugin v2.7 by Incognito loaded ***

[08:28:01]   Loaded.
[08:28:01]  Loading plugin: mysql.dll
[08:28:01]   Failed.
[08:28:01]  Loading plugin: sscanf.dll
[08:28:01]

[08:28:01]  ===============================

[08:28:01]       sscanf plugin loaded.    

[08:28:01]          Version:  2.8.1        

[08:28:01]    (c) 2012 Alex "Y_Less" Cole  

[08:28:01]  ===============================

[08:28:01]   Loaded.
[08:28:01]  Loaded 2 plugins.

[08:28:01]
[08:28:01] Filterscripts
[08:28:01] ---------------
[08:28:01]   Loading filterscript 'Anticheat.amx'...
[08:28:01] [Anticheat] Cargando Anticheat...
[08:28:01] [Anticheat] Configuracion del Anticheat Actual:
[08:28:01] [Anticheat] - WeaponHack = 1
[08:28:01] [Anticheat] - MoneyHack = 1
[08:28:01] [Anticheat] - Jetpack = 1
[08:28:01] [Anticheat] - HealthHack = 0
[08:28:01] [Anticheat] - ArmourHack = 0
[08:28:01] [Anticheat] - DriveBy = 3
[08:28:01] [Anticheat] - Spam = 1
[08:28:01] [Anticheat] - CommandSpam = 1
[08:28:01] [Anticheat] - BadWords = 1
[08:28:01] [Anticheat] - CarJackHack = 1
[08:28:01] [Anticheat] - TeleportHack = 1
[08:28:01] [Anticheat] - MaxPing = 2500
[08:28:01] [Anticheat] - SpectateHack = 1
[08:28:01] [Anticheat] - Blacklist = 1
[08:28:01] [Anticheat] - IpBans = 1
[08:28:01] [Anticheat] - TempBans = 1
[08:28:01] [Anticheat] - SpawnKill = 3
[08:28:01] [Anticheat] - CapsLock = 0
[08:28:01] [Anticheat] - 3DSpeed = 0
[08:28:01] [Anticheat] - MaxSpeed = 230
[08:28:01] [Anticheat] - AdminImmunity = 1
[08:28:01] [Anticheat] - Advertisement = 0
[08:28:01] [Anticheat] - FreezeUpdate = 0
[08:28:01] [Anticheat] - SpawnTime = 10
[08:28:01] [Anticheat] - CheckpointTeleport = 1
[08:28:01] [Anticheat] - Airbrake = 150
[08:28:01] [Anticheat] - TankMode = 1
[08:28:01] [Anticheat] - WarnPlayers = 0
[08:28:01] [Anticheat] - SingleplayerCheats = 1
[08:28:01] [Anticheat] - MinFPS = 3
[08:28:01] [Anticheat] - DisableBadWeapons = 1
[08:28:01] [Anticheat] - CBug = 16
[08:28:01] [Anticheat] - AntiBugKill = 1
[08:28:01] [Anticheat] - NoReload = 20
[08:28:01] [Anticheat] - NoReloadForSawnOff = 4
[08:28:01] [Anticheat] - ActiveGMC = 2
[08:28:01] [Anticheat] - GMCBan = 0
[08:28:01] [Anticheat] - ServerSideHealth = 1
[08:28:01] [Anticheat] - CheckVMPos = 0
[08:28:01] [Anticheat] - QuickTurn = 1
[08:28:01] [Anticheat] - VehicleTeleport = 1
[08:28:01] [Anticheat] - Wallride = 170
[08:28:01] [Anticheat] - DisplayTextDraw = 1
[08:28:01] [Anticheat] - AFK = 5
[08:28:01] [Anticheat] - PickupTeleport = 1
[08:28:01] [Anticheat] - FlyHack = 40
[08:28:01] [Anticheat] - JunkBusterChrome = 1
[08:28:01] [Anticheat] - CheckWalkAnims = 1
[08:28:01] [Anticheat] - ReportMoneyHack = 1
[08:28:01] [Anticheat] - SpeedhackAdvanced = 20
[08:28:01] [Anticheat] - Joypad = 0
[08:28:01] [Anticheat] - ArmedVehicles = 0
[08:28:01] [Anticheat] - VehicleRepair = 2
[08:28:01] [Anticheat] - TuningHack = 1
[08:28:01] [Anticheat] - PayForGuns = 0
[08:28:01] [Anticheat] - SpawnVehicles = 2
[08:28:01] [Anticheat] - MaxTotalWarnings = 15
[08:28:01] [Anticheat] - TooManyWarningsAction = 1
[08:28:01] [Anticheat] - AirbrakeDetection = 1
[08:28:01] [Anticheat] - SpeedhackDetection = 0
[08:28:01]  
[08:28:01] [Anticheat] 0 IP-Prohibiciones se han cargado.
[08:28:01] [Anticheat] 0 prohibiciones temporales se han cargado.
[08:28:01] [Anticheat] 0 entradas de lista blanca se han cargado.
[08:28:01] [Anticheat] 0 entradas de la lista negra se han cargado.
[08:28:01] [Anticheat] 0 malas palabras se han cargado.
[08:28:01] [Anticheat] 5 armas prohibidas se han cargado.
[08:28:01] [Anticheat] Anticheat se ha configurado.
[08:28:01] [Anticheat] Anticheat (v0.1) con éxito se ha cargado.

[08:28:01]   Loading filterscript '123.amx'...
[08:28:01]   Loading filterscript 'Mapas.amx'...
[08:28:01]   Loading filterscript 'ls_elevator.amx'...
[08:28:01]   Loaded 4 filterscripts.

[08:28:02] Script[gamemodes/OZ.amx]: Run time error 19: "File or function is not found"
[08:28:02] Number of vehicle models: 0
Esta ai


RE: Erro pawn memoria - Hazard - 28/10/2020

não conseguiu carregar o plugin mysql, veja se ele está na pasta plugins


RE: Erro pawn memoria - Gguiz - 28/10/2020

A mensagem que aparece no compilador, significa que há vazamento de memória. Suponha que você tem o seguinte comando:



Código PHP:
cmd:teste(playerid){

  new string[200];
  format(stringsizeof(string), "Helo World!");
  SendClientMessage(playerid, -1string)

  return 
1;


Defini 200 caracteres na variável string, mas usei apenas 11. O restante é denominado de vazamento de memória.

Em questão ao erro do carregamento da plugin MySQL, por gentileza verificar o log do MySQL. 

Fico no aguardo!


RE: Erro pawn memoria - Icalu - 28/10/2020

Código:
[08:03:08] Plugin succesfully loaded!
[08:05:06] Plugin succesfully loaded!
[08:05:15] >> mysql_connect(localhost, root, omegazone, ***) on port 3306
[08:05:15] CMySQLHandler::CMySQLHandler() - constructor called.
[08:05:15] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "omegazone" | Username: "root"...
[08:05:16] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (error ID: 2003).
[08:05:16] >> mysql_query_callback(Connection handle: 1)
[08:05:18] >> mysql_query_callback(Connection handle: 1)
[08:05:18] >> mysql_query_callback(Connection handle: 1)
[08:05:18] >> mysql_query_callback(Connection handle: 1)
[08:05:42] >> mysql_query_callback(Connection handle: 1)
[08:11:18] >> mysql_query_callback(Connection handle: 1)
[08:13:29] Plugin succesfully loaded!
[08:13:29] >> mysql_connect(localhost, root, omegazone, ***) on port 3306
[08:13:29] CMySQLHandler::CMySQLHandler() - constructor called.
[08:13:29] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "omegazone" | Username: "root"...
[08:13:30] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (error ID: 2003).
[08:13:30] >> mysql_query_callback(Connection handle: 1)
[08:13:33] >> mysql_query_callback(Connection handle: 1)
[08:13:33] >> mysql_query_callback(Connection handle: 1)
[08:13:33] >> mysql_query_callback(Connection handle: 1)
[08:15:16] >> mysql_query_callback(Connection handle: 1)
[08:26:03] Plugin succesfully loaded!
[08:26:04] >> mysql_connect(localhost, root, omegazone, ***) on port 3306
[08:26:04] CMySQLHandler::CMySQLHandler() - constructor called.
[08:26:04] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "omegazone" | Username: "root"...
[08:26:05] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (error ID: 2003).
[08:26:05] >> mysql_query_callback(Connection handle: 1)
[08:26:07] >> mysql_query_callback(Connection handle: 1)
[08:26:07] >> mysql_query_callback(Connection handle: 1)
[08:26:07] >> mysql_query_callback(Connection handle: 1)
[08:26:27] >> mysql_query_callback(Connection handle: 1)
[08:37:41] >> mysql_query_callback(Connection handle: 1)
[17:34:31] Plugin succesfully loaded!
[17:34:32] >> mysql_connect(localhost, root, omegazone, ***) on port 3306
[17:34:32] CMySQLHandler::CMySQLHandler() - constructor called.
[17:34:32] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "omegazone" | Username: "root"...
[17:34:33] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (error ID: 2003).
[17:34:33] >> mysql_query_callback(Connection handle: 1)
[17:34:35] >> mysql_query_callback(Connection handle: 1)
[17:34:35] >> mysql_query_callback(Connection handle: 1)
[17:34:35] >> mysql_query_callback(Connection handle: 1)
[17:35:19] >> mysql_query_callback(Connection handle: 1)
[17:35:34] >> mysql_query_callback(Connection handle: 1)
[20:40:52] Plugin succesfully loaded!
[20:40:53] >> mysql_connect(localhost, root, omegazone, ***) on port 3306
[20:40:53] CMySQLHandler::CMySQLHandler() - constructor called.
[20:40:53] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "omegazone" | Username: "root"...
[20:40:54] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (error ID: 2003).
[20:40:54] >> mysql_query_callback(Connection handle: 1)
[20:40:56] >> mysql_query_callback(Connection handle: 1)
[20:40:56] >> mysql_query_callback(Connection handle: 1)
[20:40:56] >> mysql_query_callback(Connection handle: 1)
[20:42:34] >> mysql_query_callback(Connection handle: 1)
[20:43:28] >> mysql_query_callback(Connection handle: 1)
[21:25:42] Plugin succesfully loaded!
[21:25:43] >> mysql_connect(localhost, root, omegazone, ***) on port 3306
[21:25:43] CMySQLHandler::CMySQLHandler() - constructor called.
[21:25:43] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "omegazone" | Username: "root"...
[21:25:44] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (error ID: 2003).
[21:25:44] >> mysql_query_callback(Connection handle: 1)
[21:25:46] >> mysql_query_callback(Connection handle: 1)
[21:25:46] >> mysql_query_callback(Connection handle: 1)
[21:25:46] >> mysql_query_callback(Connection handle: 1)
[21:26:13] >> mysql_query_callback(Connection handle: 1)
[15:04:19] Plugin succesfully loaded!
[15:04:20] >> mysql_connect(localhost, root, omegazone, ***) on port 3306
[15:04:20] CMySQLHandler::CMySQLHandler() - constructor called.
[15:04:20] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "omegazone" | Username: "root"...
[15:04:21] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (error ID: 2003).
[15:04:21] >> mysql_query_callback(Connection handle: 1)
[15:04:23] >> mysql_query_callback(Connection handle: 1)
[15:04:23] >> mysql_query_callback(Connection handle: 1)
[15:04:23] >> mysql_query_callback(Connection handle: 1)
[15:04:52] >> mysql_query_callback(Connection handle: 1)
[19:41:59] Plugin succesfully loaded!
[19:42:02] >> mysql_connect(localhost, root, omegazone, ***) on port 3306
[19:42:02] CMySQLHandler::CMySQLHandler() - constructor called.
[19:42:02] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "omegazone" | Username: "root"...
[19:42:03] CMySQLHandler::Connect() - Can't connect to MySQL server on 'localhost' (10061) (error ID: 2003).
[19:42:03] >> mysql_query_callback(Connection handle: 1)
[19:42:05] >> mysql_query_callback(Connection handle: 1)
[19:42:05] >> mysql_query_callback(Connection handle: 1)
[19:42:05] >> mysql_query_callback(Connection handle: 1)
Este e o logo do mysql

(28/10/2020 09:15)Hazard Escreveu: não conseguiu carregar o plugin mysql, veja se ele está na pasta plugins

Esta na pasta plugins