#server don't save players

53 messages · Page 1 of 1 (latest)

crisp ledge
#

You are missing some required plugins on your amx file, whatever plugins you include in your pwn file, you should also add them in plugins folder and add them in your server.cfg.

If its a leak script and you dont know what plugins are being used by script good luck figuring it out

simple swift
#

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?

crisp ledge
#

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

simple swift
#

i'm using optiklink how to do that

crisp ledge
#

Place the plugins you are missing in plugins folder i dont know how else to explain this

simple swift
#

i placed the plugins in the plugins folder but it keep to fail loading the plugins

crisp ledge
#

Did you put .so type plugins or .dll type plugins because you cant use .dll files on a linux hosting

simple swift
#

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

crisp ledge
#

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

simple swift
#

so like this in the cfg?

crisp ledge
#

Yes

simple swift
#

i try and let u know

crisp ledge
#

And make sure you use .so version of plugin .so is for linux its different than dll type windows oriented files

simple swift
#

[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

crisp ledge
#

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

simple swift
#

so what can i do to fix?

crisp ledge
#

You can fix it by editing your script

#

Read your script

#

See if you find any fread function

simple swift
#

not mine but downloaded don't know what to edit what i need to search?

#

so i need to edit the pawn?

crisp ledge
#

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

simple swift
#

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

crisp ledge
#

Did you upload everything in scriptfiles folder to optiklink?

simple swift
#

no i didn't man shit can be that problem so?

crisp ledge
#

Fread function reads txt and ininfiles in scriptfiles folder

#

So most probably thats what it cant read

simple swift
#

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