#server don't save players
53 messages · Page 1 of 1 (latest)
i have done what u said but same error and in server list the mode it's called "unknown"
v0.3.7-R2, (C)2005-2015 SA-MP Team
[04:00:13] filterscripts = "" (string)
[04:00:13]
[04:00:13] Server Plugins
[04:00:13] --------------
[04:00:13] Loading plugin: crashdetect
[04:00:13] Failed (plugins/crashdetect: cannot open shared object file: No such file or directory)
[04:00:13] Loading plugin: sscanf
[04:00:13] Failed (plugins/sscanf: cannot open shared object file: No such file or directory)
[04:00:13] Loading plugin: Whirlpool
[04:00:13] Failed (plugins/Whirlpool: cannot open shared object file: No such file or directory)
[04:00:13] Loading plugin: streamer
[04:00:13] Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[04:00:13] Loaded 0 plugins.
[04:00:13]
[04:00:13] Filterscripts
[04:00:13] ---------------
[04:00:13] Loaded 0 filterscripts.
[04:00:13] Script[gamemodes/ALRP.amx]: Run time error 19: "File or function is not found"
[04:00:13] Number of vehicle models: 0
what i have done wrong?
It cant find the plugins placed in your plugins folder it literally says no such file or directory, or it doesnt have access to that location because you didnt use sudo when starting your server
i'm using optiklink how to do that
Place the plugins you are missing in plugins folder i dont know how else to explain this
i placed the plugins in the plugins folder but it keep to fail loading the plugins
Did you put .so type plugins or .dll type plugins because you cant use .dll files on a linux hosting
so if a plugin is .dll i rename it to .so or i need to search the .so version?
i have only one plugin that is .dll
You need the .so version also in your server cfg on plugins line you need to add .so to plugin names
Since linux will not try to fill in file type automatically when it reads server.cfg
Yes
i try and let u know
And make sure you use .so version of plugin .so is for linux its different than dll type windows oriented files
[Pterodactyl Daemon]: Checking server disk space usage, this could take a few seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@optiklink~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
:/home/container$ ./samp03svr
Started server on port: 2059, with maxplayers: 50 lanmode is OFF.
container@optiklink~ Server marked as running...
samp03svr: amx/amxfile.c:101: fgets_cell: Assertion `fp!=((void *)0)' failed.
/entrypoint.sh: line 11: 15 Aborted (core dumped) ${MODIFIED_STARTUP}
container@optiklink~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 134
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Checking server disk space usage, this could take a few seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@optiklink~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
now the server starts but then goes off a second later, this is what i see on the console
everything fine in server log
how i fix mate?
SA-MP Dedicated Server
v0.3.7-R2, (C)2005-2015 SA-MP Team
[04:17:20] filterscripts = "" (string)
[04:17:20]
[04:17:20] Server Plugins
[04:17:20] --------------
[04:17:20] Loading plugin: crashdetect.so
[04:17:20] CrashDetect v4.12 is OK.
[04:17:20] Loaded.
[04:17:20] Loading plugin: sscanf.so
[04:17:20]
[04:17:20] ===============================
[04:17:20] sscanf plugin loaded.
[04:17:20] Version: 2.8.3
[04:17:20] (c) 2018 Alex "Y_Less" Cole
[04:17:20] ===============================
[04:17:20] Loaded.
[04:17:20] Loading plugin: Whirlpool.so
[04:17:20]
[04:17:20] ==================
[04:17:20]
[04:17:20] Whirlpool loaded
[04:17:20]
[04:17:20] ==================
[04:17:20]
[04:17:20] Loaded.
[04:17:20] Loading plugin: streamer.so
[04:17:20]
*** Streamer Plugin v2.9.4 by Incognito loaded ***
[04:17:20] Loaded.
[04:17:20] Loaded 4 plugins.
[04:17:20]
[04:17:20] Filterscripts
[04:17:20] ---------------
[04:17:20] Loaded 0 filterscripts.
on the server log all fine as you can see
Its something wrong in your script, you are trying to use fread function when you dont even check if fopen is returning result as 1
So when it cant read the file
Crashes your server
so what can i do to fix?
You can fix it by editing your script
Read your script
See if you find any fread function
not mine but downloaded don't know what to edit what i need to search?
so i need to edit the pawn?
Yes
If you dont know about it i cant help you further since you will need to know how to edit and add code in pwn
i'm searching this freud function and for the moment i don't see anything wrong
and btw if i host the gamemode on my pc everything works like a charm, but only in optiklink it gives eeror
Did you upload everything in scriptfiles folder to optiklink?
no i didn't man shit can be that problem so?
Fread function reads txt and ininfiles in scriptfiles folder
So most probably thats what it cant read
fixed
thx dude u helped me alot
can't host a server it keeps saying [fixed]
[04:51:56] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:56] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:56] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:56] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:57] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:57] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:57] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:51:58] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[04:52:04] [alt tab vw debug] tabvw: 0 | tabvw type: 0
now we have another problem
at the same it saves the player and it doesn't
the .ini of the player appear but doesn't save the progress
@crisp ledge
server don't save players
fixed i needed the database i'm stupid
sorry for bother hahaha