lpiob / MTA-XyzzyRP

Gamemod RP do gry Multi Theft Auto, napisany głównie w języku LUA, w oparciu o bazę danych MySQL. Stworzony oryginalnie w 2012 roku i rozwijany dalej na potrzeby serwera http://lss-rp.pl/
Other
44 stars 96 forks source link

ERROR: [XyzzyRP]\DB2\sql.lua:16: dbConnect failed; Can't connect to MySQL server on 'localhost' (10061) #94

Closed krinek closed 10 years ago

krinek commented 10 years ago

Witam, gdy zrobiłem już wszystko i wchodzę na serwer, wpisuję Login: tester Hasło: tester

I gdy wciskam "Zaloguj" to nic się nie dzieje. Dodam że w consoli są błędy. Pewnie powiecie że nie ma modułów mta_mysql. Ale oby dwa są, więc nie wiem co robić:

= Multi Theft Auto: San Andreas v1.3.4

= Server name : XyzzyRP swieza instalacja = Server IP address:

= Server port : 22003

= Log file : .. 1.3/server/mods/deathmatch/logs/server.log = Maximum players : 100 = HTTP port : 22003 = Voice Chat : Disabled

= Bandwidth saving : Medium

[2014-01-04 16:43:59] ERROR: Couldn't find file ak47.txd for resource lss-ak47 [2014-01-04 16:43:59] Loading of resource 'lss-ak47' failed [2014-01-04 16:43:59] ERROR: Couldn't find file comet.txd for resource lss-club [2014-01-04 16:43:59] Loading of resource 'lss-club' failed [2014-01-04 16:43:59] ERROR: Couldn't find file colt45.txd for resource lss-colt45 [2014-01-04 16:43:59] Loading of resource 'lss-colt45' failed [2014-01-04 16:43:59] ERROR: Couldn't find file dft30.txd for resource lss-dft [2014-01-04 16:43:59] Loading of resource 'lss-dft' failed [2014-01-04 16:43:59] ERROR: Couldn't find file n/wheel_sr1.dff for resource lss-kola [2014-01-04 16:43:59] Loading of resource 'lss-kola' failed [2014-01-04 16:44:00] ERROR: Couldn't find file vcnmav.txd for resource lss-pp488 [2014-01-04 16:44:00] Loading of resource 'lss-pp488' failed [2014-01-04 16:44:00] ERROR: Couldn't find file newsvan.txd for resource lss-pp582 [2014-01-04 16:44:00] Loading of resource 'lss-pp582' failed [2014-01-04 16:44:00] ERROR: Couldn't find file wmomib.dff for resource lss-skin-51 [2014-01-04 16:44:00] Loading of resource 'lss-skin-51' failed [2014-01-04 16:44:00] ERROR: Couldn't find file bmymib.dff for resource lss-skin-52 [2014-01-04 16:44:00] Loading of resource 'lss-skin-52' failed [2014-01-04 16:44:00] ERROR: Couldn't find file wmoprea.dff for resource lss-skin-62 [2014-01-04 16:44:00] Loading of resource 'lss-skin-62' failed [2014-01-04 16:44:00] ERROR: Couldn't find file 64.dff for resource lss-skin-fd [2014-01-04 16:44:00] Loading of resource 'lss-skin-fd' failed [2014-01-04 16:44:00] ERROR: Couldn't find file lekarka.dff for resource lss-skin-mc [2014-01-04 16:44:00] Loading of resource 'lss-skin-mc' failed [2014-01-04 16:44:00] ERROR: Couldn't find file 32.dff for resource lss-skin-mechanicy [2014-01-04 16:44:00] Loading of resource 'lss-skin-mechanicy' failed [2014-01-04 16:44:00] ERROR: Couldn't find file policjantka_biala.dff for resource lss-skin-pd [2014-01-04 16:44:00] Loading of resource 'lss-skin-pd' failed [2014-01-04 16:44:00] ERROR: Couldn't find file 105.dff for resource lss-skiny-co [2014-01-04 16:44:00] Loading of resource 'lss-skiny-co' failed [2014-01-04 16:44:00] ERROR: Couldn't find file 137.dff for resource lss-skiny-premium [2014-01-04 16:44:00] Loading of resource 'lss-skiny-premium' failed [2014-01-04 16:44:00] ERROR: Couldn't find file silenced.txd for resource lss-taser [2014-01-04 16:44:00] Loading of resource 'lss-taser' failed [2014-01-04 16:44:00] ERROR: Couldn't find file billbrdlawn.txd for resource lss-txd [2014-01-04 16:44:00] Loading of resource 'lss-txd' failed [2014-01-04 16:44:00] ERROR: Couldn't find file knifecur.txd for resource lss-weapon-noz [2014-01-04 16:44:00] Loading of resource 'lss-weapon-noz' failed [2014-01-04 16:44:00] ERROR: Couldn't find file lrp_cagoule.txd for resource lss-wear [2014-01-04 16:44:00] Loading of resource 'lss-wear' failed [2014-01-04 16:44:00] ERROR: Couldn't find file PoliceLight1.dff for resource samp_objects [2014-01-04 16:44:00] Loading of resource 'samp_objects' failed [2014-01-04 16:44:00] Resources: 266 loaded, 0 failed [2014-01-04 16:44:01] MODULE: Unable to find modules/mta_mysql.so! [2014-01-04 16:44:01] Starting resources... [2014-01-04 16:44:01] ERROR: Couldn't find resource parachute. Check it exists. [2014-01-04 16:44:01] ERROR: Couldn't find resource realdriveby. Check it exists. [2014-01-04 16:44:01] ERROR: [XyzzyRP]\DB\sql.lua:20: attempt to call global 'mysql_connect' (a nil value) [2014-01-04 16:44:02] ERROR: [XyzzyRP]\DB2\sql.lua:16: dbConnect failed; Can't connect to MySQL server on 'localhost' (10061) [2014-01-04 16:44:02] WARNING: lss-core section in the meta.xml is incorrect or missing (expected at least server 1.3.1-9.04935 because of 'setPedWalkingStyle') [2014-01-04 16:44:02] WARNING: lss-core requires upgrade as section in the meta.xml is incorrect or missing (expected at least server 1.3.1-9.04935 because of 'setPedWalkingStyle') [2014-01-04 16:44:02] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:02] ERROR: [XyzzyRP]\DB\sql.lua:47: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:02] ERROR: call: failed to call 'DB:pobierzTabeleWynikow' [string "?"] [2014-01-04 16:44:02] ERROR: [XyzzyRP]\lss-budynki\biznesy.lua:224: bad argument #1 to 'ipairs' (table expected, got boolean) [2014-01-04 16:44:02] ERROR: Couldn't find resource lss-skiny-co. Check it exists. [2014-01-04 16:44:02] WARNING: [XyzzyRP]\DB2\sql.lua:28: Bad argument @ 'dbQuery' [Expected db-connection at argument 1, got boolean] [2014-01-04 16:44:02] ERROR: [XyzzyRP]\lss-domy\interiory.lua:15: bad argument #1 to 'ipairs' (table expected, got nil) [2014-01-04 16:44:02] WARNING: [XyzzyRP]\DB2\sql.lua:47: Bad argument @ 'dbQuery' [Expected db-connection at argument 1, got boolean] [2014-01-04 16:44:02] WARNING: [XyzzyRP]\DB2\sql.lua:48: Bad argument @ 'dbPoll' [Expected db-query at argument 1, got boolean] [2014-01-04 16:44:02] WARNING: [XyzzyRP]\DB2\sql.lua:28: Bad argument @ 'dbQuery' [Expected db-connection at argument 1, got boolean] [2014-01-04 16:44:02] ERROR: [XyzzyRP]\lss-domy\domy.lua:101: bad argument #1 to 'ipairs' (table expected, got nil) [2014-01-04 16:44:02] WARNING: lss-frakcje/taxi_c.lua(Line 40) [Client] getVehicleModel is deprecated and may not work in future versions. Please replace with getElementModel. [2014-01-04 16:44:02] Some files in 'lss-frakcje' use deprecated functions. [2014-01-04 16:44:02] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:02] ERROR: [XyzzyRP]\DB\sql.lua:47: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:02] ERROR: call: failed to call 'DB:pobierzTabeleWynikow' [string "?"] [2014-01-04 16:44:02] ERROR: [XyzzyRP]\lss-frakcje\frakcje.lua:469: bad argument #1 to 'ipairs' (table expected, got boolean) [2014-01-04 16:44:02] ERROR: [XyzzyRP]\DB\sql.lua:61: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:02] ERROR: call: failed to call 'DB:pobierzWyniki' [string "?"] [2014-01-04 16:44:02] WARNING: lss-gui guic.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:02] WARNING: lss-gui ekwipunek.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:02] WARNING: lss-gui/ekwipunek_s.lua(Line 46) [Server] isPlayerDead is deprecated and may not work in future versions. Please replace with isPedDead. [2014-01-04 16:44:02] WARNING: lss-gui telefonc.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:02] WARNING: lss-gui afk_c.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:02] Some files in 'lss-gui' use deprecated functions. [2014-01-04 16:44:02] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:02] Server minclientversion is now 1.3.0-9.04710 [2014-01-04 16:44:02] ERROR: Couldn't find resource lss-clickandbuy. Check it exists. [2014-01-04 16:44:02] WARNING: lss-cn cam_c.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:02] WARNING: lss-linaheli/lh_c.lua(Line 71) [Client] isPedInWater is deprecated and may not work in future versions. Please replace with isElementInWater. [2014-01-04 16:44:02] Some files in 'lss-linaheli' use deprecated functions. [2014-01-04 16:44:02] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:02] ERROR: Couldn't find resource lss-logging. Check it exists. [2014-01-04 16:44:02] WARNING: lss-mapa ro.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:02] WARNING: lss-naprawapojazdow section in the meta.xml is incorrect or missing (expected at least server 1.3.1-9.04935 because of 'setPedWalkingStyle') [2014-01-04 16:44:02] WARNING: lss-naprawapojazdow requires upgrade as section in the meta.xml is incorrect or missing (expected at least server 1.3.1-9.04935 because of 'setPedWalkingStyle') [2014-01-04 16:44:02] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:02] WARNING: lss-misc section in the meta.xml is incorrect or missing (expected at least client 1.3.0-9.03931 because of 'dxDrawMaterialLine3D') [2014-01-04 16:44:02] WARNING: lss-misc requires upgrade as section in the meta.xml is incorrect or missing (expected at least client 1.3.0-9.03931 because of 'dxDrawMaterialLine3D') [2014-01-04 16:44:02] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:02] WARNING: lss-muzyka eq_c.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:03] WARNING: lss-ochrona/ochrona_c.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2014-01-04 16:44:03] Some files in 'lss-ochrona' use deprecated functions. [2014-01-04 16:44:03] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:03] ERROR: Couldn't find resource lss-paliwo. Check it exists. [2014-01-04 16:44:03] ERROR: Couldn't find resource lss-payment. Check it exists. [2014-01-04 16:44:03] ERROR: Couldn't find resource lss-pociagi. Check it exists. [2014-01-04 16:44:03] ERROR: Couldn't find resource lss-kartoteka. Check it exists. [2014-01-04 16:44:03] ERROR: [XyzzyRP]\DB\sql.lua:47: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:03] ERROR: call: failed to call 'DB:pobierzTabeleWynikow' [string "?"] [2014-01-04 16:44:03] ERROR: [XyzzyRP]\lss-pojemniki\pojemniki.lua:15: bad argument #1 to 'ipairs' (table expected, got boolean) [2014-01-04 16:44:03] WARNING: lss-vehicles/vehicles.lua(Line 347) [Server] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2014-01-04 16:44:03] WARNING: lss-vehicles/vehicles_c.lua(Line 332) [Client] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2014-01-04 16:44:03] Some files in 'lss-vehicles' use deprecated functions. [2014-01-04 16:44:03] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:03] ERROR: [XyzzyRP]\DB\sql.lua:47: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:03] ERROR: call: failed to call 'DB:pobierzTabeleWynikow' [string "?"] [2014-01-04 16:44:03] ERROR: [XyzzyRP]\lss-vehicles\vehicles.lua:170: bad argument #1 to 'ipairs' (table expected, got boolean) [2014-01-04 16:44:03] WARNING: lss-silownia laweczka_c.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:03] WARNING: lss-silownia bieznia_c.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:03] WARNING: [XyzzyRP]\DB2\sql.lua:37: Bad argument @ 'dbQuery' [Expected db-connection at argument 1, got boolean] [2014-01-04 16:44:03] ERROR: [XyzzyRP]\DB\sql.lua:47: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:03] ERROR: call: failed to call 'DB:pobierzTabeleWynikow' [string "?"] [2014-01-04 16:44:03] SyncMapElementData is now disabled [2014-01-04 16:44:03] WARNING: lss-global_god section in the meta.xml is incorrect or missing (expected at least client 1.3.0-9.03783 because of 'setObjectBreakable') [2014-01-04 16:44:03] WARNING: lss-global_god requires upgrade as section in the meta.xml is incorrect or missing (expected at least client 1.3.0-9.03783 because of 'setObjectBreakable') [2014-01-04 16:44:03] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:03] WARNING: lss-kafejka1 section in the meta.xml is incorrect or missing (expected at least client 1.3.0-9.03783 because of 'setObjectBreakable') [2014-01-04 16:44:03] WARNING: lss-kafejka1 requires upgrade as section in the meta.xml is incorrect or missing (expected at least client 1.3.0-9.03783 because of 'setObjectBreakable') [2014-01-04 16:44:03] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:04] INFO: obiektow: 351 [2014-01-04 16:44:04] ERROR: [XyzzyRP]\DB\sql.lua:61: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:04] ERROR: call: failed to call 'DB:pobierzWyniki' [string "?"] [2014-01-04 16:44:04] ERROR: [XyzzyRP]\DB\sql.lua:47: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:04] ERROR: call: failed to call 'DB:pobierzTabeleWynikow' [string "?"] [2014-01-04 16:44:04] ERROR: [XyzzyRP][obiekty]\lss-prom\import_pojazdow.lua:31: bad argument #1 to 'ipairs' (table expected, got boolean) [2014-01-04 16:44:04] WARNING: lss-scena naglosnienie_c.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:04] WARNING: [XyzzyRP][obiekty]\lss-urzadmiasta\zasilki.lua:65: Bad argument @ 'setElementInterior' [Expected number at argument 2, got nil] [2014-01-04 16:44:04] WARNING: [XyzzyRP][obiekty]\lss-urzadmiasta\zasilki.lua:66: Bad argument @ 'setElementDimension' [Expected number at argument 2, got nil] [2014-01-04 16:44:04] WARNING: lss-warsztat1/warsztat_c.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2014-01-04 16:44:04] Some files in 'lss-warsztat1' use deprecated functions. [2014-01-04 16:44:04] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:04] WARNING: lss-wysypisko_smieci/pedy.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2014-01-04 16:44:04] Some files in 'lss-wysypisko_smieci' use deprecated functions. [2014-01-04 16:44:04] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:07] WARNING: wb-taxi Interior.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:07] WARNING: wb-taxi Na_zewnatrz.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:08] WARNING: wb-warsztat3 Interior.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:08] WARNING: wb-warsztat4 Interior.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:08] WARNING: wb-warsztat4 Warsztat4.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:08] WARNING: zasieg_obiektow zasieg_obiektow.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:08] ERROR: Couldn't find resource samp_objects. Check it exists. [2014-01-04 16:44:08] ERROR: Couldn't find resource . Check it exists. [2014-01-04 16:44:08] ERROR: Couldn't find resource chatbubble. Check it exists. [2014-01-04 16:44:08] ERROR: [XyzzyRP]\DB\sql.lua:70: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:08] ERROR: call: failed to call 'DB:zapytanie' [string "?"] [2014-01-04 16:44:08] ERROR: [XyzzyRP]\DB\sql.lua:47: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:08] ERROR: call: failed to call 'DB:pobierzTabeleWynikow' [string "?"] [2014-01-04 16:44:08] ERROR: [XyzzyRP][community]\drawtag\sync.lua:166: attempt to get length of local 'tagi' (a boolean value) [2014-01-04 16:44:08] WARNING: syncedfire/synced_fire_c.lua(Line 60) [Client] getVehicleRotation is deprecated and may not work in future versions. Please replace with getElementRotation. [2014-01-04 16:44:08] Some files in 'syncedfire' use deprecated functions. [2014-01-04 16:44:08] Use the 'upgrade' command to perform a basic upgrade of resources. [2014-01-04 16:44:08] ERROR: Couldn't find resource fireworkz. Check it exists. [2014-01-04 16:44:08] Querying MTA master server... success! [2014-01-04 16:44:08] Server started and is ready to accept connections! [2014-01-04 16:44:08] To stop the server, type 'shutdown' or press Ctrl-C [2014-01-04 16:44:08] Type 'help' for a list of commands. [2014-01-04 16:44:08] INFO: zmiana pogody na 10 [2014-01-04 16:44:17] CONNECT: DetailedPaper24 connected (IP: 10.0.0.76 Serial: 35642C857DA318825BD1F47220C8ECB3 Version: 1.3.4-9.06007.5) [2014-01-04 16:44:17] JOIN: DetailedPaper24 joined the game (IP: 10.0.0.76) [2014-01-04 16:44:23] DIAGNOSTIC: DetailedPaper24 #1003 CLIENT SCRIPT ERROR: lss-gui\guic.luac is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/ [2014-01-04 16:44:32] ERROR: [XyzzyRP]\DB\sql.lua:43: attempt to call global 'mysql_escape_string' (a nil value) [2014-01-04 16:44:32] ERROR: call: failed to call 'DB:esc' [string "?"] [2014-01-04 16:44:32] ERROR: [XyzzyRP]\lss-core\auth.lua:22: bad argument #2 to 'format' (string expected, got boolean) [2014-01-04 16:44:33] ERROR: @[XyzzyRP]\lss-core\server_stats.lua:11 [XyzzyRP]\DB\sql.lua:70: attempt to call global 'mysql_query' (a nil value) [2014-01-04 16:44:33] ERROR: call: failed to call 'DB:zapytanie' [string "?"] [2014-01-04 16:44:36] QUIT: DetailedPaper24 left the game [Quit]

lpiob commented 10 years ago

Tu masz podany powód:

[2014-01-04 16:44:02] ERROR: [XyzzyRP]\DB2\sql.lua:16: dbConnect failed; Can't connect to MySQL server on 'localhost' (10061)