xXBlasterXx Posted April 9, 2012 Share Posted April 9, 2012 When I turn on the console, there are such errors: [2012-04-09 01:24] Resources: 81 loaded, 0 failed [2012-04-09 01:24] Querying game-monitor.com master server... unavailable! [2012-04-09 01:24] Querying backup master server... success! [2012-04-09 01:24] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [2012-04-09 01:24] MODULE: Unable to load modules/libmysql.dll! [2012-04-09 01:24] Starting resources.... [2012-04-09 01:24] WARNING: account-system/langpacks/english.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2012-04-09 01:24] WARNING: account-system/langpacks/gaelic.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2012-04-09 01:24] WARNING: account-system/langpacks/estonian.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2012-04-09 01:24] WARNING: account-system/langpacks/dutch.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2012-04-09 01:24] WARNING: account-system/langpacks/german.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2012-04-09 01:24] WARNING: account-system/langpacks/swedish.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2012-04-09 01:24] Some files in 'account-system' use deprecated functions. [2012-04-09 01:24] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (global) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (anticheat-system) [string "?"] [2012-04-09 01:24] ERROR: account-system\s_account_system_sapphire.lua:88: attempt to index local 'motdresult' (a nil value) [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: animation-system\s_animation_system.lua:4: bad argument #1 to 'ipairs' (table expected, got nil) [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: Couldn't find resource elevator-system. Check it exists. [2012-04-09 01:24] WARNING: fuel-system\s_fuel_system.lua:90: Bad argument @ 'setTimer' [Expected number at argument 3, got function] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] INFO: Stevie will spawn in 418 minutes. [2012-04-09 01:24] INFO: Giovanni will spawn in 418 minutes. [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] Please wait... [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: gps-system\s_gps.lua:4: bad argument #1 to 'ipairs' (table expected, got nil) [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: id-system\s_id_system.lua:31: bad argument #1 to 'ipairs' (table expected, got nil) [2012-04-09 01:24] WARNING: killmessages\vgkillmessages_server.lua:80: Bad argument @ 'addEvent' [Expected bool at argument 2, got string 'wasted,killer,weapon'] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: language-system\s_language_system.lua:111: bad argument #1 to 'ipairs' (table expected, got nil) [2012-04-09 01:24] INFO: Lottery will be drawn in 358 minutes. [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: shop-system\s_generalshop_system.lua:480: attempt to index local 'result' (a nil value) [2012-04-09 01:24] ERROR: Couldn't find resource toolstip-system. Check it exists. [2012-04-09 01:24] Server started and is ready to accept connections! [2012-04-09 01:24] Type 'help' for a list of commands. [2012-04-09 01:24] WARNING: startup\s_startup.lua:10: Access denied @ 'restartResource' When I log on the character such errors occur and I can not move: [iNFORMATIONS ABOUT PLAYER CONNECTED] [2012-04-09 01:26] WARNING: account-system\s_account_system_sapphire.lua:57: Access denied @ 'getClientIP' [2012-04-09 01:26] WARNING: global\country_globals.lua:3: Access denied @ 'getClientIP' [2012-04-09 01:26] WARNING: global\country_globals.lua:4: Bad argument @ 'gettok' [2012-04-09 01:26] WARNING: global\country_globals.lua:5: Bad argument @ 'gettok' [2012-04-09 01:26] ERROR: global\country_globals.lua:5: attempt to perform arithmetic on a boolean value [2012-04-09 01:26] ERROR: call: failed to call 'global:getPlayerCountry' [string "?"] [2012-04-09 01:26] WARNING: account-system\s_account_system_sapphire.lua:825: Access denied @ 'getClientIP' [2012-04-09 01:26] ERROR: mysql\connection.lua:206: bad argument #2 to 'mysql_escape_string' (string expected, got nil) [2012-04-09 01:26] ERROR: mysql\connection.lua:206: bad argument #2 to 'mysql_escape_string' (string expected, got nil) [2012-04-09 01:26] ERROR: call: failed to call 'mysql:escape_string' [string "?"] [2012-04-09 01:26] ERROR: account-system\s_account_system_sapphire.lua:827: attempt to concatenate a boolean value Link to comment
drk Posted April 9, 2012 Share Posted April 9, 2012 Start resource "mysql", "global" and "account-system". Add these scripts to the Admin group and upgrade text format to UTF-8 of the needed scripts. Link to comment
xXBlasterXx Posted April 9, 2012 Author Share Posted April 9, 2012 (edited) [2012-04-09 01:24] ERROR: account-system\s_account_system_sapphire.lua:88: attempt to index local 'motdresult' (a nil value) exports['anticheat-system']:changeProtectedElementDataEx(getRootElement(), "account:motd", motdresult["value" ], false ) ------------------------------------------------------------------------------------------------------------------------------------------ [2012-04-09 01:26] ERROR: mysql\connection.lua:206: bad argument #2 to 'mysql_escape_string' (string expected, got nil) return mysql_escape_string(MySQLConnection, str) ------------------------------------------------------------------------------------------------------------------------------------------ [2012-04-09 01:26] ERROR: account-system\s_account_system_sapphire.lua:827: attempt to concatenate a boolean value mysql:query("UPDATE accounts SET lastlogin=NOW(), ip='" .. mysql:escape_string(ip) .. "', country='" .. mysql:escape_string(country) .. "', mtaserial='" .. mysql:escape_string(getPlayerSerial(source)) .. "' WHERE id='" .. mysql:escape_string(id) .. "'") ------------------------------------------------------------------------------------------------------------------------------------------ Why this resources dont running? [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (pool) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (global) [string "?"] [2012-04-09 01:24] ERROR: exports: Call to non-running server resource (anticheat-system) [string "?"] Edited April 9, 2012 by Guest Link to comment
xXBlasterXx Posted April 9, 2012 Author Share Posted April 9, 2012 Start resource "mysql", "global" and "account-system". Add these scripts to the Admin group and upgrade text format to UTF-8 of the needed scripts. How add it to Admin Group? I start only mysql, global, account-system, and log: [2012-04-09 13:43:54] Resources: 81 loaded, 0 failed [2012-04-09 13:43:54] Querying game-monitor.com master server... unavailable! [2012-04-09 13:43:54] Querying backup master server... success! [2012-04-09 13:43:55] MODULE: Loaded "MySQL 5.0 database module" (0.41) by "Alberto Alonso <[email protected]>" [2012-04-09 13:43:55] MODULE: Loaded "SHA Module" (1.02) by "mabako" [2012-04-09 13:43:55] MODULE: Loaded "Sockets Module" (1.10) by "Gamesnert, MCvarial & x86" [2012-04-09 13:43:55] Starting resources.... [2012-04-09 13:43:55] WARNING: account-system/s_account_system_sapphire.lua(Line 296) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2012-04-09 13:43:55] Some files in 'account-system' use deprecated functions. [2012-04-09 13:43:55] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-04-09 13:43:55] ERROR: exports: Call to non-running server resource (global) [string "?"] [2012-04-09 13:43:55] ERROR: exports: Call to non-running server resource (anticheat-system) [string "?"] [2012-04-09 13:43:55] ERROR: account-system\s_account_system_sapphire.lua:88: attempt to index local 'motdresult' (a nil value) [2012-04-09 13:43:55] Server started and is ready to accept connections! [2012-04-09 13:43:55] Type 'help' for a list of commands. Link to comment
BriGhtx3 Posted April 9, 2012 Share Posted April 9, 2012 Close the Mtaserver.exe Open mtaserver.conf Add the resources to autostart like this : <resource src="RESOURCENAME" startup="1" protected="0"/> Open acl.xml Add this to groupname admin: <object name="resource.RESOURCENAME"></object> Link to comment
drk Posted April 9, 2012 Share Posted April 9, 2012 Seems like your code have errors Blaster, you should fix them. Link to comment
xXBlasterXx Posted April 9, 2012 Author Share Posted April 9, 2012 The same errors and warnings. DrakeN, how i can fix it? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now