Help Fast please!
#1

Hi, I was scripting an administrative system and everything was fine when I finished and compiled, but I miss a warning so now when starting the GM do not load the commands or anything ...
Error:
GL.pwn (326: warning 203: symbol is never used: "ret_memcpy"
I tried to look for the symbol but it does not even appear written
I need help fast!!
Reply
#2

It's not an error, but a warning that doesn't affect the code, to hide it use:

pawn Код:
#pragma unused ret_memcpy
Reply
#3

Yes, I solved that but now I have another problem. When entering the server, it does not load the GM, that is, you appear in LV and do not load the commands
Reply
#4

Show the server's log please.
Reply
#5

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[14:09:36] password = "" (string)
[14:09:36]
[14:09:36] Server Plugins
[14:09:36] --------------
[14:09:36] Loading plugin: sscanf.dll
[14:09:36] Failed (plugins/sscanf.dll: invalid ELF header)
[14:09:36] Loading plugin: streamer
[14:09:36] Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[14:09:36] Loading plugin: sscanf.so
[14:09:36]

[14:09:36] ===============================

[14:09:36] sscanf plugin loaded.

[14:09:36] © 2009 Alex "******" Cole

[14:09:36] ===============================

[14:09:36] Loaded.
[14:09:36] Loaded 1 plugins.

[14:09:36]
[14:09:36] Ban list
[14:09:36] --------
[14:09:36] Loaded: samp.ban
[14:09:36]
[14:09:36]
[14:09:36] Filterscripts
[14:09:36] ---------------
[14:09:36] Loading filterscript 'Registro.amx'...
[14:09:36]
------------------------------------
[14:09:36] Sistema de Registro y Guardado de datos - Encendido
[14:09:36] ------------------------------------
[14:09:36] Hora: 14:9:36 Fecha: 30/10/2018
[14:09:36] ------------------------------------

[14:09:36]
> Las "Cuentas" han sido cargadas correctamente


[14:09:36] Loading filterscript 'fsdebug.amx'...
[14:09:36]
*********************
* SA:MP DEBUG 0.2 *
[14:09:36] * By Simon Campbell *
*********************
[14:09:36] * Version: 0.5d *
*********************
[14:09:36] * -- LOADED *
*********************

[14:09:36] Loading filterscript 'flymode.amx'...
[14:09:36] Loading filterscript 'UltraHost.amx'...
[14:09:36] Loading filterscript 'Recortadas.amx'...
[14:09:36] Loading filterscript 'skinchanger.amx'...
[14:09:36]
--Admin Player Skin Changer Loaded

[14:09:36] Loading filterscript 'gl_mapicon.amx'...
[14:09:36] Loading filterscript 'vspawner.amx'...
[14:09:36]
--Admin Vehicle Spawner Loaded

[14:09:36] Loading filterscript 'ls_mall.amx'...
[14:09:36] Loading filterscript 'V.amx'...
[14:09:36] Loading filterscript 'gl_realtime.amx'...
[14:09:36] Loading filterscript 'gl_property.amx'...
[14:09:36]
-----------------------------------
[14:09:36] Grand Larceny Property Filterscript
[14:09:36] -----------------------------------

[14:09:36] Loading filterscript 'ls_beachside.amx'...
[14:09:36]

[14:09:36] |---------------------------------------------------
[14:09:36] |--- LS BeachSide Filterscript
[14:09:36] |-- Script v1.03
[14:09:36] |-- 19th April 2015
[14:09:36] |---------------------------------------------------
[14:09:36] |-- LS BeachSide Building Elevator created
[14:09:36] |---------------------------------------------------
[14:09:36] Loading filterscript 'adminspec.amx'...
[14:09:36] Loading filterscript 'ArmasEspalda.amx'...
[14:09:36] Loading filterscript 'Badmin.amx'...
[14:09:36] Unable to load filterscript 'Badmin.amx'.
[14:09:36] Loaded 15 filterscripts.

[14:09:36] Reading File: blank
[14:09:36] Reading File: properties/houses.txt
[14:09:36] Reading File: properties/businesses.txt
[14:09:36] Reading File: properties/banks.txt
[14:09:36] Reading File: properties/police.txt
[14:09:36] Script[gamemodes/GL.amx]: Run time error 19: "File or function is not found"
[14:09:36] Number of vehicle models: 0




i added a system administrator with variables, when i compiled i dont had problems but in the server yes
Reply
#6

Код:
[14:09:36] Script[gamemodes/GL.amx]: Run time error 19: "File or function is not found"
Re-compile the gamemode, or replace the name in your server.cfg in case the gamemode's name is different than the one in your server.cfg
Reply
#7

I already recompile it and the name matches, I do not know what can be
Reply
#8

Oh. I didn't notice the plugins, they're not loaded.

Код:
[14:09:36] Server Plugins
[14:09:36] --------------
[14:09:36] Loading plugin: sscanf.dll
[14:09:36] Failed (plugins/sscanf.dll: invalid ELF header)
[14:09:36] Loading plugin: streamer
[14:09:36] Failed (plugins/streamer: cannot open shared object file: No such file or directory)
I assume you're on Linux, so just delete the ".dll" plugins both from the folder plugins, and the server cfg, they're useless, and then update the streamer plugin.

Even your Admin filterscript isn't loading correctly.

Код:
[14:09:36] Loading filterscript 'Badmin.amx'...
[14:09:36] Unable to load filterscript 'Badmin.amx'.
Reply
#9

You have to download .so or Linux versions of all Plugins and put them inside Plugins folder. sscanf was not able to load because its .DLL no .SO and you have no Streamer.so in your plugins folder thats why it was not loaded. Make sure to write full plugin names for linux. for eg,
Код:
 plugins streamer.so sscanf.so Whirlpool.so
Reply
#10

Quote:
Originally Posted by GTLS
Посмотреть сообщение
You have to download .so or Linux versions of all Plugins and put them inside Plugins folder. sscanf was not able to load because its .DLL no .SO and you have no Streamer.so in your plugins folder thats why it was not loaded. Make sure to write full plugin names for linux. for eg,
Код:
 plugins streamer.so sscanf.so Whirlpool.so
He has the right version for sscanf and it's loaded,
Код:
[14:09:36] Loading plugin: sscanf.so
[14:09:36] 

[14:09:36] ===============================

[14:09:36] sscanf plugin loaded. 

[14:09:36] © 2009 Alex "******" Cole

[14:09:36] ===============================

[14:09:36] Loaded.
[14:09:36] Loaded 1 plugins.
(...)he just had in his server.cfg both the dll version and the linux' one like that:

Код:
plugins sscanf sscanf.so
So yeah, open up your server.cfg and go to the plugins line, replace it with:

Код:
plugins streamer.so sscanf.so
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)