Jump to content
  • 0

pomoc Server nelze spustit


Thirew

Dotaz

Ahoj, už přes 6 hodin řeším problém s gamemodem, a furt nic už jsme zkoušeli hodně možností a nic zde máte log

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[16/06/2017 22:40:49] 
[16/06/2017 22:40:49] Server Plugins
[16/06/2017 22:40:49] --------------
[16/06/2017 22:40:49]  Loading plugin: mysql.so
[16/06/2017 22:40:49]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[16/06/2017 22:40:49]  Loading plugin: crashdetect.so
[16/06/2017 22:40:49]   CrashDetect v4.18.1 is OK.
[16/06/2017 22:40:49]   Loaded.
[16/06/2017 22:40:49]  Loading plugin: streamer.so
[16/06/2017 22:40:49] 

*** Streamer Plugin v2.9.1 by Incognito loaded ***

[16/06/2017 22:40:49]   Loaded.
[16/06/2017 22:40:49]  Loading plugin: sscanf.so
[16/06/2017 22:40:49] 

[16/06/2017 22:40:49]  ===============================

[16/06/2017 22:40:49]       sscanf plugin loaded.     

[16/06/2017 22:40:49]    (c) 2009 Alex "Y_Less" Cole

[16/06/2017 22:40:49]    0.3d-R2 500 Players "dnee"

[16/06/2017 22:40:49]  ===============================

[16/06/2017 22:40:49]   Loaded.
[16/06/2017 22:40:49]  Loading plugin: socket.so
[16/06/2017 22:40:49]  Socket plugin v0.2b loaded.
[16/06/2017 22:40:49]   Loaded.
[16/06/2017 22:40:49]  Loading plugin: nativechecker.so
[16/06/2017 22:40:49]   Loaded.
[16/06/2017 22:40:49]  Loaded 5 plugins.

[16/06/2017 22:40:49] 
[16/06/2017 22:40:49] Filterscripts
[16/06/2017 22:40:49] ---------------
[16/06/2017 22:40:49]   Loading filterscript 'gm_custmapping.amx'...
[16/06/2017 22:40:49]   Loaded 1 filterscripts.

[16/06/2017 22:40:49]    Error: Function not registered: 'mysql_query'
[16/06/2017 22:40:49]    Error: Function not registered: 'mysql_connect'
[16/06/2017 22:40:49]    Error: Function not registered: 'mysql_insert_id'
[16/06/2017 22:40:49]    Error: Function not registered: 'mysql_store_result'
[16/06/2017 22:40:49]    Error: Function not registered: 'mysql_num_rows'
[16/06/2017 22:40:49]    Error: Function not registered: 'mysql_retrieve_row'
[16/06/2017 22:40:49]    Error: Function not registered: 'mysql_fetch_field_row'
[16/06/2017 22:40:49]    Error: Function not registered: 'mysql_free_result'
[16/06/2017 22:40:49] [debug] Run time error 19: "File or function is not found"
[16/06/2017 22:40:49] [debug]  mysql_query
[16/06/2017 22:40:49] [debug]  mysql_connect
[16/06/2017 22:40:49] [debug]  mysql_insert_id
[16/06/2017 22:40:49] [debug]  mysql_store_result
[16/06/2017 22:40:49] [debug]  mysql_num_rows
[16/06/2017 22:40:49] [debug]  mysql_retrieve_row
[16/06/2017 22:40:49] [debug]  mysql_fetch_field_row
[16/06/2017 22:40:49] [debug]  mysql_free_result
[16/06/2017 22:40:49] [debug] Run time error 19: "File or function is not found"
[16/06/2017 22:40:49] [debug]  mysql_query
[16/06/2017 22:40:49] [debug]  mysql_connect
[16/06/2017 22:40:49] [debug]  mysql_insert_id
[16/06/2017 22:40:49] [debug]  mysql_store_result
[16/06/2017 22:40:49] [debug]  mysql_num_rows
[16/06/2017 22:40:49] [debug]  mysql_retrieve_row
[16/06/2017 22:40:49] [debug]  mysql_fetch_field_row
[16/06/2017 22:40:49] [debug]  mysql_free_result
[16/06/2017 22:40:49] Script[gamemodes/PLA.amx]: Run time error 19: "File or function is not found"
[16/06/2017 22:40:49] Number of vehicle models: 0

Díky moc za pomoc..

Link to comment
Share on other sites

14 odpovědí na tuto otázku

Recommended Posts

  • 0
  • Globální moderátor

Porušování pravidel

Téma porušuje pravidla pro přispívání. Vkládejte témata do příslušných sekcí, a tohle konkrétně sem. Více informací zde.

 

Téma byla přesunuta.

 

Link to comment
Share on other sites

  • 0

Skúšala si stiahnuť static verziu MySQL pluginu?

 

Avšak pokiaľ ten script využíva starší MySQL includ, budeš musieť skompilovať s tým novým, inak je dosť pravdepodobné, že ti to bude hádzať chyby.

Edited by Kubko
Link to comment
Share on other sites

  • 0

Zkusím tam hodit novou ale pak mě to bude dělat asi bordel


Zkusím to zcompilovat


Tak compilace na novy mysql neuspešná, 4 errory

C:\Users\Netstar-AV\\Roleplay\gamemodes\PLA.pwn(10126) : error 035: argument type mismatch (argument 1)
C:\Users\Netstar-AV\\Roleplay\gamemodes\PLA.pwn(10131) : error 035: argument type mismatch (argument 1)
C:\Users\Netstar-AV\\Roleplaygamemodes\PLA.pwn(19582) : error 035: argument type mismatch (argument 1)
C:\Users\Netstar-AV\\Roleplay\gamemodes\PLA.pwn(19590) : error 035: argument type mismatch (argument 1)
Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

compilovala jsem to s novým includem mysql se starym to normálně jde, tohle je line  10126

CheckDatabase(playerid)
{
		new q[200];
		new playername[24];
		GetPlayerName(playerid,playername,sizeof(playername));
		
		format(q, 200, "SELECT * FROM bans WHERE name = '%s' ORDER BY id DESC LIMIT 1", playername);
		mysql_query(q,THREAD_BAN_CHECK_NAME,playerid);
	
		new ip[16];
		GetPlayerIp(playerid, ip, sizeof(ip));
		format(q, 200, "SELECT * FROM bans WHERE ip = '%s' ORDER BY id DESC LIMIT 1", ip);
		mysql_query(q,THREAD_BAN_CHECK_IP,playerid);
}

Díky předem..

Link to comment
Share on other sites

  • 0
  • Hlavní moderátor

?

Podívej se na parametry, které ti ukazuje Lukasz, a argumenty, které tam dosazuješ ty.

Link to comment
Share on other sites

  • 0

Ale to jsem zkoušela jestli mě pujde tam dát nové mysql a to psalo ty errory přes staré mysql mě to jde na localhostu na windowsu ale na vps už ne


Kdyz zpoustím server na vps tak to piše v consoly tohle:


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[17/06/2017 19:11:33] 
[17/06/2017 19:11:33] Server Plugins
[17/06/2017 19:11:33] --------------
[17/06/2017 19:11:33]  Loading plugin: mysql.so
[17/06/2017 19:11:33]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[17/06/2017 19:11:33]  Loading plugin: crashdetect.so
[17/06/2017 19:11:33]   CrashDetect v4.15.1 is OK.
[17/06/2017 19:11:33]   Loaded.
[17/06/2017 19:11:33]  Loading plugin: streamer.so
[17/06/2017 19:11:33] 

*** Streamer Plugin v2.7.2 by Incognito loaded ***

[17/06/2017 19:11:33]   Loaded.
[17/06/2017 19:11:33]  Loading plugin: sscanf.so
[17/06/2017 19:11:33] 

[17/06/2017 19:11:33]  ===============================

[17/06/2017 19:11:33]       sscanf plugin loaded.     

[17/06/2017 19:11:33]          Version:  2.8.1        

[17/06/2017 19:11:33]    (c) 2012 Alex "Y_Less" Cole  

[17/06/2017 19:11:33]  ===============================

[17/06/2017 19:11:33]   Loaded.
[17/06/2017 19:11:33]  Loading plugin: crashdetect.so
[17/06/2017 19:11:33]   CrashDetect must be loaded before 'crashdetect.so'
[17/06/2017 19:11:33]   Failed.
[17/06/2017 19:11:33]  Loading plugin: socket.so
[17/06/2017 19:11:33]  Socket plugin v0.2b loaded.
[17/06/2017 19:11:33]   Loaded.
[17/06/2017 19:11:33]  Loaded 4 plugins.

[17/06/2017 19:11:33] 
[17/06/2017 19:11:33] Filterscripts
[17/06/2017 19:11:33] ---------------
[17/06/2017 19:11:33]   Loading filterscript 'gm_custmapping.amx'...
[17/06/2017 19:11:33] *** Streamer Plugin: Warning: Include file version (0x27101) does not match plugin version (0x27201) (script might need to be recompiled with the latest include file)
[17/06/2017 19:11:33]   Loaded 1 filterscripts.

[17/06/2017 19:11:34] [debug] Run time error 19: "File or function is not found"
[17/06/2017 19:11:34] [debug]  mysql_query
[17/06/2017 19:11:34] [debug]  mysql_connect
[17/06/2017 19:11:34] [debug]  mysql_insert_id
[17/06/2017 19:11:34] [debug]  mysql_store_result
[17/06/2017 19:11:34] [debug]  mysql_num_rows
[17/06/2017 19:11:34] [debug]  mysql_retrieve_row
[17/06/2017 19:11:34] [debug]  mysql_fetch_field_row
[17/06/2017 19:11:34] [debug]  mysql_free_result
[17/06/2017 19:11:34] [debug] Run time error 19: "File or function is not found"
[17/06/2017 19:11:34] [debug]  mysql_query
[17/06/2017 19:11:34] [debug]  mysql_connect
[17/06/2017 19:11:34] [debug]  mysql_insert_id
[17/06/2017 19:11:34] [debug]  mysql_store_result
[17/06/2017 19:11:34] [debug]  mysql_num_rows
[17/06/2017 19:11:34] [debug]  mysql_retrieve_row
[17/06/2017 19:11:34] [debug]  mysql_fetch_field_row
[17/06/2017 19:11:34] [debug]  mysql_free_result
[17/06/2017 19:11:34] Script[gamemodes/PLA.amx]: Run time error 19: "File or function is not found"
[17/06/2017 19:11:34] Number of vehicle models: 0

Link to comment
Share on other sites

  • 0

A jakou verzi mysql jsi měla a jakou máš? Víš o tom, že je mysql totálně překopané? Respektive názvy a tak.. v cache už ani handle nezadáváš...

 

Změny máš TU. Pokud tomu nebudeš rozumět, doporučuji ti zůstat u staré verze, nebo požádat někoho jiného o pomoc... icon_e_wink.gif

 

PS: Aspoň si to zálohuj, než začneš kouzlit... :) 

Edited by GaRGoyLeS
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...