Wie finde ich heraus, welches das richtige ist?
Beiträge von CavuSx85
-
-
Nein, da waren nur 2 andere Includes dabei.
EDIT
Da steht in Putty bei mir
samp@vps-zap105649-1:~/samp03$ ./samp03svr
Started server on 185.249.198.181:7777, with maxplayers: 25 lanmode is OFF.
./samp03svr: symbol lookup error: plugins/mysql.so: undefined symbol: samplog_GetLastAmxLine
-
Da hat sich nichts geändert
----------
Loaded log file: "server_log.txt".
----------SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team[21:02:07]
[21:02:07] Server Plugins
[21:02:07] --------------
[21:02:07] Loading plugin: mysql.so
[21:02:07] >> plugin.mysql: R41 successfully loaded.
[21:02:07] Loaded.
[21:02:07] Loading plugin: crashdetect.so
[21:02:07] CrashDetect plugin 4.19.1
[21:02:07] Loaded.
[21:02:07] Loading plugin: sscanf.so
[21:02:07][21:02:07] ===============================
[21:02:07] sscanf plugin loaded.
[21:02:07] (c) 2009 Alex "Y_Less" Cole
[21:02:07] ===============================
[21:02:07] Loaded.
[21:02:07] Loading plugin: streamer.so
[21:02:07]*** Streamer Plugin v2.9.3 by Incognito loaded ***
[21:02:07] Loaded.
[21:02:07] Loaded 4 plugins.[21:02:07]
[21:02:07] Filterscripts
[21:02:07] ---------------
[21:02:07] Loading filterscript 'objects-server.amx'...
[21:02:07] Server Objecte werden geladen
[21:02:07] Loaded 1 filterscripts.[21:02:08] [MySQL] Verbindungsaufbau...
-
Code
Alles anzeigenecho Executing Server Config... lanmode 0 rcon_password ********** maxplayers 25 bind 185.249.198.181 port 7777 hostname [GER] SOM Reallife | NEUEROEFFNUNG! gamemode0 SOM 1 filterscripts objects-server plugins mysql.so sscanf.so streamer.so nativechecker.so announce 1 query 1 weburl Soon maxnpc 0 onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000
-
-
Soweit so gut, sieht besser aus. Jetzt bin ich hier.
----------
Loaded log file: "server_log.txt".
----------SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team[20:43:56]
[20:43:56] Server Plugins
[20:43:56] --------------
[20:43:56] Loading plugin: mysql.so
[20:43:56] >> plugin.mysql: R41 successfully loaded.
[20:43:56] Loaded.
[20:43:56] Loading plugin: sscanf.so
[20:43:56][20:43:56] ===============================
[20:43:56] sscanf plugin loaded.
[20:43:56] (c) 2009 Alex "Y_Less" Cole
[20:43:56] ===============================
[20:43:56] Loaded.
[20:43:56] Loading plugin: streamer.so
[20:43:56]*** Streamer Plugin v2.9.3 by Incognito loaded ***
[20:43:56] Loaded.
[20:43:56] Loading plugin: nativechecker.so
[20:43:56] Loaded.
[20:43:56] Loaded 4 plugins.[20:43:56]
[20:43:56] Filterscripts
[20:43:56] ---------------
[20:43:56] Loading filterscript 'objects-server.amx'...
[20:43:56] Server Objecte werden geladen
[20:43:56] Loaded 1 filterscripts.[20:43:56] [MySQL] Verbindungsaufbau...
-
Welche Dateien soll ich da verschieben. Habe Angst, etwas falsch zu machen...
-
Und wie date ich das ab?.. Bin ja nicht der Scripter von unserem Server
-
Habe jetzt meinen Script auf einem Gameserver und das mysql Plugin läuft nun.
Aber wie es natürlich sein musste, habe ich jetzt nochmal irgendeinen anderen Fehler bekommen.----------
Loaded log file: "server_log.txt".
----------SA-MP Dedicated Server
----------------------
v0.3a R7, (C)2005-2010 SA-MP Team[19:39:53]
[19:39:53] Server Plugins
[19:39:53] --------------
[19:39:53] Loading plugin: mysql.so
[19:39:53] >> plugin.mysql: R41-4 successfully loaded.
[19:39:53] Loaded.
[19:39:53] Loading plugin: sscanf.so
[19:39:53][19:39:53] ===============================
[19:39:53] sscanf plugin loaded.
[19:39:53] (c) 2009 Alex "Y_Less" Cole
[19:39:53] ===============================
[19:39:53] Loaded.
[19:39:53] Loading plugin: streamer.so
[19:39:53]*** Streamer Plugin v2.9.3 by Incognito loaded ***
[19:39:53] Loaded.
[19:39:53] Loading plugin: nativechecker.so
[19:39:53] Loaded.
[19:39:53] Loaded 4 plugins.[19:39:53]
[19:39:53] Filter Scripts
[19:39:53] ---------------
[19:39:53] Loading filter script 'objects-server.amx'...
[19:39:53] Error: Function not registered: 'RemoveBuildingForPlayer'
[19:39:53] Error: Function not registered: 'SetObjectMaterial'
[19:39:53] Error: Function not registered: 'SetObjectMaterialText'
[19:39:53] Loaded 1 filter scripts.[19:39:53] Error: Function not registered: 'NetStats_PacketLossPercent'
[19:39:53] Error: Function not registered: 'GetPlayerLastShotVectors'
[19:39:53] Error: Function not registered: 'VectorSize'
[19:39:53] Error: Function not registered: 'InterpolateCameraPos'
[19:39:53] Error: Function not registered: 'SetVehicleParamsEx'
[19:39:53] Error: Function not registered: 'RemovePlayerAttachedObject'
[19:39:53] Error: Function not registered: 'PlayAudioStreamForPlayer'
[19:39:53] Error: Function not registered: 'StopAudioStreamForPlayer'
[19:39:53] Error: Function not registered: 'CancelSelectTextDraw'
[19:39:53] Error: Function not registered: 'SetPlayerAttachedObject'
[19:39:53] Error: Function not registered: 'PlayerTextDrawShow'
[19:39:53] Error: Function not registered: 'PlayerTextDrawSetString'
[19:39:53] Error: Function not registered: 'PlayerTextDrawHide'
[19:39:53] Error: Function not registered: 'GetVehicleParamsEx'
[19:39:53] Error: Function not registered: 'InterpolateCameraLookAt'
[19:39:53] Error: Function not registered: 'SetObjectMaterialText'
[19:39:53] Error: Function not registered: 'SetObjectMaterial'
[19:39:53] Error: Function not registered: 'AttachObjectToVehicle'
[19:39:53] Error: Function not registered: 'CreateActor'
[19:39:53] Error: Function not registered: 'TextDrawSetSelectable'
[19:39:53] Error: Function not registered: 'SelectTextDraw'
[19:39:53] Error: Function not registered: 'AttachPlayerObjectToVehicle'
[19:39:53] Error: Function not registered: 'AttachCameraToPlayerObject'
[19:39:53] Error: Function not registered: 'IsPlayerAttachedObjectSlotUsed'
[19:39:53] Error: Function not registered: 'CreatePlayerTextDraw'
[19:39:53] Error: Function not registered: 'PlayerTextDrawBackgroundColor'
[19:39:53] Error: Function not registered: 'PlayerTextDrawFont'
[19:39:53] Error: Function not registered: 'PlayerTextDrawLetterSize'
[19:39:53] Error: Function not registered: 'PlayerTextDrawColor'
[19:39:53] Error: Function not registered: 'PlayerTextDrawSetOutline'
[19:39:53] Error: Function not registered: 'PlayerTextDrawSetProportional'
[19:39:53] Error: Function not registered: 'PlayerTextDrawSetShadow'
[19:39:53] Error: Function not registered: 'PlayerTextDrawUseBox'
[19:39:53] Error: Function not registered: 'PlayerTextDrawBoxColor'
[19:39:53] Error: Function not registered: 'PlayerTextDrawTextSize'
[19:39:53] Error: Function not registered: 'PlayerTextDrawDestroy'
[19:39:53] Error: Function not registered: 'PlayerTextDrawAlignment'
[19:39:53] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
[19:39:53] Number of vehicle models: 0 -
Nein, Zugriff habe ich, weil es ein Gameserver ist, nicht - so Zap.
Habe nun den Support im Chat gefragt, ob er diese Pakete installieren kann.
Gebe gleich Rückmeldung!EDIT
Er darf das anscheinend nicht... >:(MOMENT, @Rocky Balboa war gerade in diesem Thema, er hat das Script geschrieben!
EDIT 2
Also gut, er sagt, er dürfe die Pakete nicht installieren, was nun? -
Nein, ich denke nicht.
-
Ich weiß nicht was damit du damit meinst. Bin bei ZAP-Hosting.
-
Gehen beide nicht... Willst du mal über TeamViewer gucken?
-
Wenn ich die Version wie in der Include verwende, bekomme ich das:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team[18:53:28]
[18:53:28] Server Plugins
[18:53:28] --------------
[18:53:28] Loading plugin: mysql.so
[18:53:28] Failed (/usr/lib32/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by plugins/mysql.so))
[18:53:28] Loading plugin: sscanf.so
[18:53:28][18:53:28] ===============================
[18:53:28] sscanf plugin loaded.
[18:53:28] (c) 2009 Alex "Y_Less" Cole
[18:53:28] ===============================
[18:53:28] Loaded.
[18:53:28] Loading plugin: streamer.so
[18:53:28]*** Streamer Plugin v2.9.3 by Incognito loaded ***
[18:53:28] Loaded.
[18:53:28] Loading plugin: nativechecker.so
[18:53:28] Loaded.
[18:53:28] Loaded 3 plugins.[18:53:28]
[18:53:28] Filterscripts
[18:53:28] ---------------
[18:53:28] Loading filterscript 'objects-server.amx'...
[18:53:28] Server Objecte werden geladen
[18:53:28] Loaded 1 filterscripts.[18:53:28] Error: Function not registered: 'mysql_format'
[18:53:28] Error: Function not registered: 'mysql_pquery'
[18:53:28] Error: Function not registered: 'cache_get_row_count'
[18:53:28] Error: Function not registered: 'cache_get_field_count'
[18:53:28] Error: Function not registered: 'cache_get_value_name'
[18:53:28] Error: Function not registered: 'cache_get_field_name'
[18:53:28] Error: Function not registered: 'mysql_log'
[18:53:28] Error: Function not registered: 'mysql_connect'
[18:53:28] Error: Function not registered: 'mysql_errno'
[18:53:28] Error: Function not registered: 'mysql_close'
[18:53:28] Error: Function not registered: 'mysql_query'
[18:53:28] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
[18:53:28] Number of vehicle models: 0EDIT
Wilst du mal über TeamViewer drüber schauen? -
Hier bei R41 Release das Zweite.
also "mysql-R41-Debian8-i686-static.tar.gz" -
Von der Version gibt es kein mysql_static.so sondern nur mysql.so, wenn ich das richtig sehe.
-
Lade mal nur die mysql_static.so dann sollte es gehen
Ja , mache ich aber dann habe ich immernoch einen Fehler. Schicke gleich die Log
Das läuft alles auf einem Gameserver.EDIT
----------
Loaded log file: "server_log.txt".
----------SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team[18:25:51]
[18:25:51] Server Plugins
[18:25:51] --------------
[18:25:51] Loading plugin: mysql_static.so
[18:25:51] >> plugin.mysql: R38 successfully loaded.
[18:25:51] Loaded.
[18:25:51] Loading plugin: sscanf.so
[18:25:51][18:25:51] ===============================
[18:25:51] sscanf plugin loaded.
[18:25:51] (c) 2009 Alex "Y_Less" Cole
[18:25:51] ===============================
[18:25:51] Loaded.
[18:25:51] Loading plugin: streamer.so
[18:25:51]*** Streamer Plugin v2.8.2 by Incognito loaded ***
[18:25:51] Loaded.
[18:25:51] Loading plugin: nativechecker.so
[18:25:51] Loaded.
[18:25:51] Loaded 4 plugins.[18:25:51]
[18:25:51] Filterscripts
[18:25:51] ---------------
[18:25:51] Loading filterscript 'objects-server.amx'...
[18:25:51] Server Objecte werden geladen
[18:25:51] Loaded 1 filterscripts.[18:25:51] Error: Function not registered: 'cache_get_value_name'
[18:25:51] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
[18:25:51] Number of vehicle models: 0 -
Alles klar. Mach ich jetzt.
Gebe dann Rückmeldung!EDIT
Jetzt hat es etwas gefunden. Ist jemand TeamViewer bereit? Kenne mich da nicht so gut ausSA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team[18:05:00]
[18:05:00] Server Plugins
[18:05:00] --------------
[18:05:00] Loading plugin: mysql.so
[18:05:00] Failed (/usr/lib32/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by plugins/mysql.so))
[18:05:00] Loading plugin: sscanf.so
[18:05:00][18:05:00] ===============================
[18:05:00] sscanf plugin loaded.
[18:05:00] (c) 2009 Alex "Y_Less" Cole
[18:05:00] ===============================
[18:05:00] Loaded.
[18:05:00] Loading plugin: streamer.so
[18:05:00]*** Streamer Plugin v2.8.2 by Incognito loaded ***
[18:05:00] Loaded.
[18:05:00] Loading plugin: nativechecker.so
[18:05:00] Loaded.
[18:05:00] Loaded 3 plugins.[18:05:01]
[18:05:01] Filterscripts
[18:05:01] ---------------
[18:05:01] Loading filterscript 'objects-server.amx'...
[18:05:01] Server Objecte werden geladen
[18:05:01] Loaded 1 filterscripts.[18:05:01] Error: Function not registered: 'mysql_format'
[18:05:01] Error: Function not registered: 'mysql_pquery'
[18:05:01] Error: Function not registered: 'cache_get_row_count'
[18:05:01] Error: Function not registered: 'cache_get_field_count'
[18:05:01] Error: Function not registered: 'cache_get_value_name'
[18:05:01] Error: Function not registered: 'cache_get_field_name'
[18:05:01] Error: Function not registered: 'mysql_log'
[18:05:01] Error: Function not registered: 'mysql_connect'
[18:05:01] Error: Function not registered: 'mysql_errno'
[18:05:01] Error: Function not registered: 'mysql_close'
[18:05:01] Error: Function not registered: 'mysql_query'
[18:05:01] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
[18:05:01] Number of vehicle models: 0 -
Die Datenbank habe ich erstellt und habe dem Script gesagt, dass dieser drauf zugreifen soll.
Oder muss ich noch irgendwo etwas ändern?
Bild von dem Script -
An dem Script habe ich nichts geändert. Das ist von einem Freund. Den hat er mir zu Verfügung gestellt aber er will mir nicht mehr antworten