Jump to content

Problem with server.


1ssnnab

Recommended Posts

Posted

I'm using valhalla 4.0.24 Script. I started to edit it in my computer testing the changes in my dedicated server (in windows 7). Now Im trying to run server in a vps, in linux but i can't.

In my computer i use a xampp server. In linux server im using a remote mysql host.

server.logs in Windows Server (i can join and works ok)

=========================================================== 
= Multi Theft Auto: San Andreas v1.3 
=========================================================== 
= Server name      : ((Edited to hidden server identity)) 
= Server IP address: 127.0.0.1 
= Server port      : 22003 
=  
= Log file         : ..a_sv/server/mods/deathmatch/logs/server.log 
= Maximum players  : 301 
= HTTP port        : 22003 
= Voice Chat       : Disabled 
=========================================================== 
[2012-07-29 23:09:53] ERROR: Problem with resource: editor;  
[2012-07-29 23:09:53] ERROR: Problem with resource: editor_main; Failed to link to freecam 
[2012-07-29 23:09:53] ERROR: Not processing resource 'freecam' as it has duplicates on different paths: 
                  Path #1: "resources\freecam" 
                  Path #2: "resources\[editor]\freecam" 
[2012-07-29 23:09:53] ERROR: Not processing resource 'parachute' as it has duplicates on different paths: 
                  Path #1: "resources\parachute" 
                  Path #2: "resources\[gameplay]\parachute" 
[2012-07-29 23:09:53] ERROR: Not processing resource 'runcode' as it has duplicates on different paths: 
                  Path #1: "resources\runcode" 
                  Path #2: "resources\[admin]\runcode" 
[2012-07-29 23:09:53] Resources: 269 loaded, 2 failed 
[2012-07-29 23:09:53] Querying game-monitor.com master server... failed! (Not available) 
[2012-07-29 23:09:53] Querying backup master server... failed! (Not available) 
[2012-07-29 23:09:53] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" 
[2012-07-29 23:09:53] Starting resources.... 
[2012-07-29 23:09:53] ERROR: exports: Call to non-running server resource (mysql) [string "?"] 
[2012-07-29 23:09:53] WARNING: admin-system/Vehicle/s_vehicle_commands.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:09:53] WARNING: admin-system/s_check.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:09:53] WARNING: admin-system/c_check.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:09:53] WARNING: admin-system/c_overlay.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:09:53] Some files in 'admin-system' use deprecated functions. 
[2012-07-29 23:09:53] Use the 'upgrade' command to perform a basic upgrade of resources. 
[2012-07-29 23:09:53] WARNING: Script 'admin-system\Vehicle\s_vehicle_commands.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-29 23:09:53] WARNING: Script 'admin-system\s_check.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-29 23:09:54] WARNING: faction-system/c_faction_system.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:09:54] WARNING: faction-system/s_faction_admin.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:09:54] Some files in 'faction-system' use deprecated functions. 
[2012-07-29 23:09:54] Use the 'upgrade' command to perform a basic upgrade of resources. 
[2012-07-29 23:09:54] WARNING: Script 'faction-system\s_faction_admin.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-29 23:09:54] ERROR: Couldn't find resource freecam. Check it exists. 
[2012-07-29 23:09:54] Please wait... 
[2012-07-29 23:09:57] INFO: Loaded all world items in 0ms 
[2012-07-29 23:09:57] ERROR: Couldn't find resource parachute. Check it exists. 
[2012-07-29 23:09:58] WARNING: shop-system/s_generalshop_system.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:09:58] Some files in 'shop-system' use deprecated functions. 
[2012-07-29 23:09:58] Use the 'upgrade' command to perform a basic upgrade of resources. 
[2012-07-29 23:09:58] WARNING: Script 'shop-system\s_generalshop_system.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-29 23:09:58] ERROR: shop-system\s_generalshop_system.lua:520: attempt to index local 'result' (a nil value) 
[2012-07-29 23:10:01] ERROR: Couldn't find resource runcode. Check it exists. 
[2012-07-29 23:10:02] WARNING: account-system/g_events.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:10:02] WARNING: account-system/g_events.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:10:02] WARNING: account-system/s_characters.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:10:02] WARNING: account-system/c_characters.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:10:02] WARNING: account-system/c_login.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:10:02] WARNING: account-system/c_create_character.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:10:02] WARNING: account-system/c_options.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-29 23:10:02] Some files in 'account-system' use deprecated functions. 
[2012-07-29 23:10:02] Use the 'upgrade' command to perform a basic upgrade of resources. 
[2012-07-29 23:10:02] WARNING: Script 'account-system\g_events.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-29 23:10:02] WARNING: Script 'account-system\s_characters.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-29 23:10:02] ERROR: account-system\s_main.lua:31: attempt to index local 'motdresult' (a nil value) 
[2012-07-29 23:10:03] ERROR: Couldn't find resource animtest. Check it exists. 
[2012-07-29 23:10:03] Server started and is ready to accept connections! 
[2012-07-29 23:10:03] Type 'help' for a list of commands. 
[2012-07-29 23:10:03] Stopping global 
[2012-07-29 23:10:18] Starting global 
[2012-07-29 23:10:19] global restarted successfully 
[2012-07-29 23:10:32] CONNECT: Javi connected (IP: 127.0.0.1  Serial: D7B5798C78E743D6AFF08F0B432C2602  Version: 1.3.0-9.04400.0) 
[2012-07-29 23:10:35] JOIN: Javi joined the game (IP: 127.0.0.1) 
  

server.logs in Linux Server (i can't join) 64bits (i added the mta_mysql.so module and the library libmysqlclient.so.15 in usr/lib without installing).

================================================================== 
= Multi Theft Auto: San Andreas v1.3 
================================================================== 
= Server name      : ((Edited to hidden server identity)) 
= Server IP address: 37.59.73.205 
= Server port      : 22003 
=  
= Log file         : ..i/service10/mods/deathmatch/logs/server.log 
= Maximum players  : 16 
= HTTP port        : 22005 
= Voice Chat       : Disabled 
= Bandwidth saving : Medium 
================================================================== 
[2012-07-30 01:06:01] ERROR: [2012-07-30 01:06:01] ERROR: near "3": syntax error 
[2012-07-30 01:06:01] ERROR: Errors were encountered loading 'internal.db' database 
[2012-07-30 01:06:01] ERROR: Maybe now is the perfect time to panic. 
[2012-07-30 01:06:01] ERROR: See - [url=https://wiki.multitheftauto.com/wiki/fixdb]https://wiki.multitheftauto.com/wiki/fixdb[/url] 
[2012-07-30 01:06:01] ERROR: ************************ 
[2012-07-30 01:06:02] Resources: 91 loaded, 0 failed 
[2012-07-30 01:06:02] Querying game-monitor.com master server... success! 
[2012-07-30 01:06:02] Querying backup master server... success! 
[2012-07-30 01:06:02] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" 
[2012-07-30 01:06:02] Starting resources.... 
[2012-07-30 01:06:02] ERROR: exports: Call to non-running server resource (mysql) [string "?"] 
[2012-07-30 01:06:02] WARNING: admin-system/c_check.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:02] WARNING: admin-system/c_overlay.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:02] Some files in 'admin-system' use deprecated functions. 
[2012-07-30 01:06:02] Use the 'upgrade' command to perform a basic upgrade of resources. 
[2012-07-30 01:06:03] WARNING: faction-system/c_faction_system.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:03] WARNING: faction-system/s_faction_admin.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:03] Some files in 'faction-system' use deprecated functions. 
[2012-07-30 01:06:03] Use the 'upgrade' command to perform a basic upgrade of resources. 
[2012-07-30 01:06:03] WARNING: Script 'faction-system/s_faction_admin.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-30 01:06:03] SCRIPT ERROR: faction-system/s_faction_admin.lua:1: unexpected symbol near '?' 
[2012-07-30 01:06:03] WARNING: Loading script failed: faction-system/s_faction_admin.lua:1: unexpected symbol near '?' 
[2012-07-30 01:06:03] Please wait... 
[color=#FF0000]I spotted the logs difference here but i dont know what can i do...[/color] 
[2012-07-30 01:06:03] INFO: MYSQL ERROR 1054: Unknown column 'protected' in 'where clause' 
[2012-07-30 01:06:03] ERROR: exports: Call to non-running server resource (logs) [string "?"] 
[2012-07-30 01:06:03] ERROR: item-world/s_load_items.lua:41: bad argument #1 to 'mysql_rows' (mysqlResult expected, got nil) 
[2012-07-30 01:06:04] WARNING: shop-system/s_generalshop_system.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:04] Some files in 'shop-system' use deprecated functions. 
[2012-07-30 01:06:04] Use the 'upgrade' command to perform a basic upgrade of resources. 
[2012-07-30 01:06:04] WARNING: Script 'shop-system/s_generalshop_system.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-30 01:06:04] SCRIPT ERROR: shop-system/s_generalshop_system.lua:1: unexpected symbol near '?' 
[2012-07-30 01:06:04] WARNING: Loading script failed: shop-system/s_generalshop_system.lua:1: unexpected symbol near '?' 
[2012-07-30 01:06:04] WARNING: account-system/g_events.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:04] WARNING: account-system/g_events.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:04] WARNING: account-system/s_characters.lua [server] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:04] WARNING: account-system/c_characters.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:04] WARNING: account-system/c_login.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:04] WARNING: account-system/c_create_character.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:04] WARNING: account-system/c_options.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8. 
[2012-07-30 01:06:04] Some files in 'account-system' use deprecated functions. 
[2012-07-30 01:06:04] Use the 'upgrade' command to perform a basic upgrade of resources. 
[2012-07-30 01:06:04] WARNING: Script 'account-system/g_events.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-30 01:06:04] SCRIPT ERROR: account-system/g_events.lua:1: unexpected symbol near '?' 
[2012-07-30 01:06:04] WARNING: Loading script failed: account-system/g_events.lua:1: unexpected symbol near '?' 
[2012-07-30 01:06:04] WARNING: Script 'account-system/s_characters.lua' is not encoded in UTF-8.  Loading as ANSI... 
[2012-07-30 01:06:04] SCRIPT ERROR: account-system/s_characters.lua:1: unexpected symbol near '?' 
[2012-07-30 01:06:04] WARNING: Loading script failed: account-system/s_characters.lua:1: unexpected symbol near '?' 
[2012-07-30 01:06:04] WARNING: account-system/s_news.lua:2: Bad argument @ 'callRemote' [Expected string at argument 1, got nil] 
  

What can i do? Thanks so much.

Posted

This error is already reported in windows server and it works fine.

Anyway how can i do it

With notepad++ in codification and in UTF 8?

Thanks so much guy, im going to try

Posted
This error is already reported in windows server and it works fine.

Anyway how can i do it

With notepad++ in codification and in UTF 8?

Thanks so much guy, im going to try

Yes, you can do it in Notepad++.

Note: you should save file as UTF-8 without BOM.

 #define if while#define TRUE FALSE// problems?
Posted

"UTF-8 without BOM" can be compiled, "UTF-8" can't.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

How can i add Ñ and Á É Í Ó Ú in utf 8?

PD: Thanks all, specially _Dark_. The server has started to work since i changed from ascii to utf8. Thanks so much guys.

Posted

PD: Thanks all, specially _Dark_. The server has started to work since i changed from ascii to utf8. Thanks so much guys.

You're welcome.

Without BOM? what's the difference?

If you use UTF-8 with BOM in the beginning of the file will be invisible special characters that are incorrectly recognized by Lua.

 #define if while#define TRUE FALSE// problems?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...