GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: Illuminati - 2016. augusztus 29. - 10:45:40

Cím: Nem indul el a mod
Írta: Illuminati - 2016. augusztus 29. - 10:45:40
Üdv, az a problémám hogy a modom nem indul el, házi szerveren elindul, de hoston nem, illetve a pluginokat átírtam .so-ra. Írta hogy hiányzik valami libmysql.so, de azt nem találtam, így letöltöttem egy mysql_static.so-t és azzal jó lett, de akkor se indul el a mod..
 
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[10:33:51] filterscripts = \"\"  (string)
[10:33:51] password = \"\"  (string)
[10:33:51]
[10:33:51] Server Plugins
[10:33:51] --------------
[10:33:51]  Loading plugin: sscanf.so
[10:33:51]
[10:33:51]  ===============================
[10:33:51]       sscanf plugin loaded.     
[10:33:51]    (c) 2009 Alex \"Y_Less\" Cole
[10:33:51]    0.3d-R2 500 Players \"dnee\"
[10:33:51]  ===============================
[10:33:51]   Loaded.
[10:33:51]  Loading plugin: Whirlpool.so
[10:33:51] 
[10:33:51]  ==================
[10:33:51] 
[10:33:51]   Whirlpool loaded
[10:33:51] 
[10:33:51]  ==================
[10:33:51] 
[10:33:51]   Loaded.
[10:33:51]  Loading plugin: mysql.so
[10:33:51]  >> plugin.mysql: R39-6 successfully loaded.
[10:33:51]   Loaded.
[10:33:51]  Loading plugin: mysql_static.so
[10:33:51]  >> plugin.mysql: R39-6 successfully loaded.
[10:33:51]   Loaded.
[10:33:51]  Loaded 4 plugins.
[10:33:51]
[10:33:51] Ban list
[10:33:51] --------
[10:33:51]  Loaded: samp.ban
[10:33:51]
[10:33:51]
[10:33:51] Filterscripts
[10:33:51] ---------------
[10:33:51]   Loaded 0 filterscripts.
[10:33:51] Script[gamemodes/Bnyson.amx]: Run time error 19: \"File or function is not found\"
[10:33:51] Number of vehicle models: 0
Cím: Nem indul el a mod
Írta: blackdog476 - 2016. augusztus 29. - 10:58:57

Mielõtt témát nyitnál, a keresõt használva nézz utána, hogy nem született e már válasz a problémádra. Illetve nézd meg a Gyakran Ismételt Kérdések címû témánkat is, amelyben elõfordulhat, hogy már le van írva a megoldás a problémádra[/quote]
 
Idézetet írta: Dfoglalo date=1407611953\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"62901\" data-ipsquote-contentclass=\"forums_Topic
Nativechecker
A Nativechecker plugin beleírja a server_log.txt-be azokat a hibákat, amelyek fennállnak a módban annak ellenére, hogy a módot sikeresen lefordították. Ritkább esetekben elõfordulhat, hogy akkor is hibát jelez, mikor a mód tökéletesen fut, azonban ekkor is érdemes utána járni a hibának és javítani azokat. Leggyakrabban akkor válik segítségünkre, amikor a mód nem indul el egy \"File or function is not found\" üzenettel, esetleg még a szerver is leáll és nem tudjuk, hogy pontosan mi a hiba. Errõl bõvebben itt (#post_run_time_error_19) olvashatsz.
Letöltés
Hivatalos téma
Cím: Nem indul el a mod
Írta: Illuminati - 2016. augusztus 29. - 11:26:11
Köszi, viszont ezekkel mit kéne kezdjek?
 
[11:14:59]    Error: Function not registered: \'mysql_debug\'
[11:14:59]    Error: Function not registered: \'mysql_connect\'
[11:14:59]    Error: Function not registered: \'mysql_close\'
[11:14:59]    Error: Function not registered: \'mysql_query\'
[11:14:59]    Error: Function not registered: \'mysql_store_result\'
[11:14:59]    Error: Function not registered: \'mysql_num_rows\'
[11:14:59]    Error: Function not registered: \'mysql_free_result\'
[11:14:59]    Error: Function not registered: \'mysql_fetch_row_format\'
[11:14:59]    Error: Function not registered: \'mysql_fetch_field_row\'
[11:14:59]    Error: Function not registered: \'mysql_real_escape_string\'

 
Mysql-es a szerver, de nem tudom mi hiányzik amit nem raktam be, a libmysql.dll-t nem raktam be a szerver főmappájába, mert a host az linuxos.
Cím: Nem indul el a mod
Írta: blackdog476 - 2016. augusztus 29. - 11:38:48
Idézetet írta: Illuminati date=1472462771\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"62901\" data-ipsquote-contentclass=\"forums_Topic
a libmysql.dll-t nem raktam be a szerver főmappájába, mert a host az linuxos.
meg is van a hiba... A linuxos pluginok .so kiterjesztések míg a windowsosak .dll. Nyílván ha a libmysql.dll windowsos akkor a libmysql.so a linuxos, nem?  :sly:  Keresd meg a legfrisebb libmysql.so plugint, rakd be, és menni fog
Cím: Nem indul el a mod
Írta: Illuminati - 2016. augusztus 29. - 11:39:41
Jelenleg nem találok olyat sehol.
Cím: Nem indul el a mod
Írta: TrentonG - 2016. augusztus 29. - 11:53:50
http://forum.sa-mp.com/showthread.php?t=122983
Cím: Nem indul el a mod
Írta: Illuminati - 2016. augusztus 29. - 11:59:08
Ezzel is egy baj van, a letöltési linkje nem máködik.
Cím: Nem indul el a mod
Írta: zsoolt997 - 2016. augusztus 29. - 12:00:26
Akkor a pluginok közül szedd ki a mysql.so-t és CSAK a mysql_static.so-t hagyd bent. Azzal működni fog.
Cím: Nem indul el a mod
Írta: Illuminati - 2016. augusztus 29. - 12:02:28
Kivettem a mysql-so-t, de még most se indul el a mod  :Cry2:
 
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[11:53:16] filterscripts = \"\"  (string)
[11:53:16]
[11:53:16] Server Plugins
[11:53:16] --------------
[11:53:16]  Loading plugin: crashdetect.so
[11:53:16]   Failed (plugins/crashdetect.so: cannot open shared object file: No such file or directory)
[11:53:16]  Loading plugin: mysql_static.so
[11:53:16]  >> plugin.mysql: R39-6 successfully loaded.
[11:53:16]   Loaded.
[11:53:16]  Loading plugin: sscanf.so
[11:53:16]
[11:53:16]  ===============================
[11:53:16]       sscanf plugin loaded.     
[11:53:16]    (c) 2009 Alex \"Y_Less\" Cole
[11:53:16]    0.3d-R2 500 Players \"dnee\"
[11:53:16]  ===============================
[11:53:16]   Loaded.
[11:53:16]  Loading plugin: streamer.so
[11:53:16]
*** Streamer Plugin v2.7.8 by Incognito loaded ***
[11:53:16]   Loaded.
[11:53:16]  Loading plugin: nativechecker.so
[11:53:16]   Loaded.
[11:53:16]  Loaded 4 plugins.
[11:53:16]
[11:53:16] Filterscripts
[11:53:16] ---------------
[11:53:16]   Loaded 0 filterscripts.
[11:53:16] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x278001) (script might need to be recompiled with the latest include file)
[11:53:16]    Error: Function not registered: \'mysql_debug\'
[11:53:16]    Error: Function not registered: \'mysql_store_result\'
[11:53:16]    Error: Function not registered: \'mysql_num_rows\'
[11:53:16]    Error: Function not registered: \'mysql_free_result\'
[11:53:16]    Error: Function not registered: \'mysql_fetch_row_format\'
[11:53:16]    Error: Function not registered: \'mysql_fetch_field_row\'
[11:53:16]    Error: Function not registered: \'mysql_real_escape_string\'
[11:53:16] Script[gamemodes/Bnyson.amx]: Run time error 19: \"File or function is not found\"
[11:53:16] Number of vehicle models: 0
Cím: Nem indul el a mod
Írta: zsoolt997 - 2016. augusztus 29. - 12:05:34
Hanyas msql-t használsz?
1. Nem tölti be a crashdetect plugint.
2. Frissítsd a streamer.inc-edet és futtasd le újból a modot.
Cím: Nem indul el a mod
Írta: Illuminati - 2016. augusztus 29. - 12:07:59
Streamer.inc a legfrissebbet használom ha jól tudom, de megnézem.
A mod olyan 2 éves, de hogy érted hogy hanyas mysql?
+
Frissítettem a streamert, illetve a crashdetect plugint kivettem.
 
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[12:03:13] filterscripts = \"\"  (string)
[12:03:13]
[12:03:13] Server Plugins
[12:03:13] --------------
[12:03:13]  Loading plugin: mysql_static.so
[12:03:13]  >> plugin.mysql: R39-6 successfully loaded.
[12:03:13]   Loaded.
[12:03:13]  Loading plugin: sscanf.so
[12:03:13]
[12:03:13]  ===============================
[12:03:13]       sscanf plugin loaded.     
[12:03:13]    (c) 2009 Alex \"Y_Less\" Cole
[12:03:13]    0.3d-R2 500 Players \"dnee\"
[12:03:13]  ===============================
[12:03:13]   Loaded.
[12:03:13]  Loading plugin: streamer.so
[12:03:13]
*** Streamer Plugin v2.8.2 by Incognito loaded ***
[12:03:13]   Loaded.
[12:03:13]  Loading plugin: nativechecker.so
[12:03:13]   Loaded.
[12:03:13]  Loaded 4 plugins.
[12:03:13]
[12:03:13] Filterscripts
[12:03:13] ---------------
[12:03:13]   Loaded 0 filterscripts.
[12:03:13]    Error: Function not registered: \'mysql_debug\'
[12:03:13]    Error: Function not registered: \'mysql_store_result\'
[12:03:13]    Error: Function not registered: \'mysql_num_rows\'
[12:03:13]    Error: Function not registered: \'mysql_free_result\'
[12:03:13]    Error: Function not registered: \'mysql_fetch_row_format\'
[12:03:13]    Error: Function not registered: \'mysql_fetch_field_row\'
[12:03:13]    Error: Function not registered: \'mysql_real_escape_string\'
[12:03:13] Script[gamemodes/Bnyson.amx]: Run time error 19: \"File or function is not found\"
[12:03:13] Number of vehicle models: 0

 
+Beraktam egy frissebb a_mysql.inc-et, de akkor meg tele lesz erroral a mod.
Cím: Nem indul el a mod
Írta: zsoolt997 - 2016. augusztus 29. - 12:31:33
Idézetet írta: Illuminati date=1472465279\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"62901\" data-ipsquote-contentclass=\"forums_Topic
A mod olyan 2 éves, de hogy érted hogy hanyas mysql?
 
Tehát túl friss a mysql-ed. Akkor vagy újraírod a legfrissebbre, vagy keresgélsz itt.
Cím: Nem indul el a mod
Írta: Illuminati - 2016. augusztus 29. - 12:33:54
Megoldottam, letöltöttem egy libmysqlclient.so.15-öt, majd átírtam libmysqlclient_r.so.15-ra, és így elindult.