Hallo Freunde, ich grüße euch.
Nach langer Zeit habe ich mich mal wieder daran versucht meinen damaligen Last Bed Standing Gamemode zu compilen.
Problematisch war es wieder die Plugins und Includes zu finden, leider weiß ich nicht mehr welche Versionen ich damals genutzt habe, deswegen habe ich aktuell die neusten Versionen von YSI-Includes, sscanf2 und MySQL genommen.
Leider gibt es nun massive Probleme.
Meinen Gamemode möchte ich vorallem auf einer Linux Maschine laufen lassen, dort läuft es aber leider nicht.
Mein Gamemode läuft auf einer Windows Maschine einwandfrei, unter Linux gibt es mit der gleichen .amx jedoch den Fehler Run time error 19: "File or function is not found", obwohl alle Plugins vorhanden
Auch die Ausgabe im Log unterscheidet sich, unter dem Windows Server ist eindeutig erkennbar, dass YSI geladen wird, unter der Linux Maschine ist jedoch nichts dergleichen im Log zu sehen.
Habt ihr eventuell eine Idee? Die typischen Fehler wie fehlendes Plugin etc. habe ich schon ausgeschlossen.
Freue mich auf eure Tipps!
Windows Maschine:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[16:18:28] filterscripts = "" (string)
[16:18:28]
[16:18:28] Server Plugins
[16:18:28] --------------
[16:18:28] Loading plugin: sscanf
[16:18:28]
[16:18:28] ===============================
[16:18:28]
[16:18:28] sscanf plugin loaded.
[16:18:28]
[16:18:28] Version: 2.13.8
[16:18:28]
[16:18:28] (c) 2022 Alex "Y_Less" Cole
[16:18:28]
[16:18:28] ===============================
[16:18:28]
[16:18:28] Loaded.
[16:18:28] Loading plugin: mysql
[16:18:29] >> plugin.mysql: R41-4 successfully loaded.
[16:18:29] Loaded.
[16:18:29] Loaded 2 plugins.
[16:18:29]
[16:18:29] Filterscripts
[16:18:29] ---------------
[16:18:29] Loaded 0 filterscripts.
[16:18:29]
[16:18:29]
[16:18:29] ==============================================================
[16:18:29] | |
[16:18:29] | |
[16:18:29] | YYYYYYY YYYYYYY SSSSSSSSSSSSSSS IIIIIIIIII |
[16:18:29] | Y:::::Y Y:::::Y SS:::::::::::::::S I::::::::I |
[16:18:29] | Y:::::Y Y:::::Y S:::::SSSSSS::::::S I::::::::I |
[16:18:29] | Y::::::Y Y::::::Y S:::::S SSSSSSS II::::::II |
[16:18:29] | YYY:::::Y Y:::::YYY S:::::S I::::I |
[16:18:29] | Y:::::Y Y:::::Y S:::::S I::::I |
[16:18:29] | Y:::::Y:::::Y S::::SSSS I::::I |
[16:18:29] | Y:::::::::Y SS::::::SSSSS I::::I |
[16:18:29] | Y:::::::Y SSS::::::::SS I::::I |
[16:18:29] | Y:::::Y SSSSSS::::S I::::I |
[16:18:29] | Y:::::Y S:::::S I::::I |
[16:18:29] | Y:::::Y S:::::S I::::I |
[16:18:29] | Y:::::Y SSSSSSS S:::::S II::::::II |
[16:18:29] | YYYY:::::YYYY S::::::SSSSSS:::::S I::::::::I |
[16:18:29] | Y:::::::::::Y S:::::::::::::::SS I::::::::I |
[16:18:29] | YYYYYYYYYYYYY SSSSSSSSSSSSSSS IIIIIIIIII |
[16:18:29] | |
[16:18:29] | |
[16:18:29] | (c) 2021 MPL v1.1 |
[16:18:29] | Alex "Y_Less" Cole and contributors. |
[16:18:29] | |
[16:18:29] | |
[16:18:29] ==============================================================
[16:18:29]
[16:18:29]
[16:18:29] ==========================================
[16:18:29] | |
[16:18:29] | Missing YSI scriptfiles directories: |
[16:18:29] | |
[16:18:29] | /scriptfiles/YSI/fixes/ |
[16:18:29] | /scriptfiles/YSI/temp/ |
[16:18:29] | |
[16:18:29] ==========================================
[16:18:29] | |
[16:18:29] | Generating code, this may take a |
[16:18:29] | little bit of time. Note that this |
[16:18:29] | code generation works best with the |
[16:18:29] | JIT plugin, which you are not |
[16:18:29] | currently using. Get it here: |
[16:18:29] | |
[16:18:29] | https://git.io/jit-plugin |
[16:18:29] | |
[16:18:29] | Please wait... |
[16:18:29] | |
[16:18:29] | Done in 48ms! |
[16:18:29] | |
[16:18:29] ==========================================
[16:18:29] Filterscript '../scriptfiles/callbackfix.amx' loaded.
[16:18:29] | |
[16:18:29] | Server: 0.3.7-R2 (W) |
[16:18:29] | Started: 24 Nov 2023 - 16:18:29 |
[16:18:29] | |
[16:18:29] | Compiler: 3.10.10 (Windows) |
[16:18:29] | Includes: 0.3.7 |
[16:18:29] | Codepage: <none> |
[16:18:29] | Built: 24 Nov 2023 - 13:55:34 |
[16:18:29] | |
[16:18:29] | YSI: v05.09.0982 |
[16:18:29] | Master: -1 |
[16:18:29] | |
[16:18:29] | JIT: <none> |
[16:18:29] | Crashdetect: <none> |
[16:18:29] | |
[16:18:29] ==========================================
[16:18:29] | |
[16:18:29] | Unable to check the latest YSI version |
[16:18:29] | - please watch the forums and github: |
[16:18:29] | |
[16:18:29] | https://git.io/5.x |
[16:18:29] | |
[16:18:29] ==========================================
[16:18:29]
[16:18:29]
[16:18:29] I have connected to the MySQL server.
[16:18:29] Actor created, pickupid 0
[16:18:29] Array pickupid 0
[16:18:29] Actor created, pickupid 1
[16:18:29] Array pickupid 1
[16:18:29] Actor created, pickupid 2
[16:18:29] Array pickupid 2
[16:18:29] Knogles Last Bed Standing Masterpiece for SA-MP
[16:18:29] Fork of Minecrafts Bedwars
[16:18:29] Little TDM Gamemode
[16:18:29] Published under GNU GPL Public License.
[16:18:29] Copyright (C) 2017 Fabian Druschke
[16:18:29] Contact: webmaster@knogleinsi.de
[16:18:29] Mail: Postfach 32 22 50147 Kerpen Germany
[16:18:29]
This program is free software: you can redistribute it and/or modify
[16:18:29] it under the terms of the GNU General Public License as published by
[16:18:29] the Free Software Foundation, either version 3 of the License, or
[16:18:29] (at your option) any later version.
[16:18:29]
This program is distributed in the hope that it will be useful,
[16:18:29] but WITHOUT ANY WARRANTY; without even the implied warranty of
[16:18:29] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[16:18:29] GNU General Public License for more details.
[16:18:29]
You should have received a copy of the GNU General Public License
[16:18:29] along with this program. If not, see http://www.gnu.org/licenses/
[16:18:29]
Heapspace: 255 kilobytes
[16:18:29] Number of vehicle models: 114
Alles anzeigen
Linux-Maschine:
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[00:35:36] filterscripts = "" (string)
[00:35:36]
[00:35:36] Server Plugins
[00:35:36] --------------
[00:35:36] Loading plugin: sscanf.so
[00:35:36]
[00:35:36] ===============================
[00:35:36]
[00:35:36] sscanf plugin loaded.
[00:35:36]
[00:35:36] Version: 2.13.8
[00:35:36]
[00:35:36] (c) 2022 Alex "Y_Less" Cole
[00:35:36]
[00:35:36] ===============================
[00:35:36]
[00:35:36] Loaded.
[00:35:36] Loading plugin: mysql.so
[00:35:36] >> plugin.mysql: R41-4 successfully loaded.
[00:35:36] Loaded.
[00:35:36] Loaded 2 plugins.
[00:35:36]
[00:35:36] Filterscripts
[00:35:36] ---------------
[00:35:36] Loaded 0 filterscripts.
[00:35:36] Script[gamemodes/desert01.amx]: Run time error 19: "File or function is not found"
[00:35:36] Number of vehicle models: 0
[00:35:39] --- Server Shutting Down.
[00:35:40]
[00:35:40] ===============================
[00:35:40]
[00:35:40] sscanf plugin unloaded.
[00:35:40]
[00:35:40] ===============================
[00:35:40]
[00:35:40] plugin.mysql: Unloading plugin...
[00:35:40] plugin.mysql: Plugin unloaded.
Alles anzeigen
Problem gelöst. Habe den Linux Server hier im Forum heruntergeladen, jedoch werden wohl Funktionen genutzt die erst ab 0.3.7-R2 supportet werden, hier mal das Log aus crashdetect.
Nun habe ich den 0.3.7-R2 Server auf irgendeiner russischen Seite gefunden, jetzt läuft es!