Jump to content

adaptar un resource de server sql a server de windows


david_mikito

Recommended Posts

muchas gracias por responder , jejeje os explico , yo por ejemplo cojo un resource y no meto en donde se ponen los resources en el mta , y al ejecutar la consola del server me da error al ejecutar el resource , jeje si sabéis de algun tutorial o algo para hacer esa base de datos o para que los resources y tal funcionen bien os lo agradecería muchiisiiimo jejeje , estoy empezando ahora en la programación lua y tal así que no se mucho jejeje . Un saludo y muchas gracias jeje

Posdata : tambien deciros que cuando abro un archivo de algun resource , no aparece como siempre , que esta escrito por columnas y tal , estos no estos estan escritos como si fueran un texto normal , cuando pueda os pongo unas fotos jeje .

Link to comment

Tienes que editar esto en el sql/mysql.lua

  
    local server = get( "server" ) or "HOSTDELMYSQL" 
    local user = get( "user" ) or "USERDEMYSQL" 
    local password = get( "password" ) or "PASSDEMYSQL" 
    local db = get( "database" ) or "BASEDEDATOSMYSQL" 
  
  
--Esto lo dejas como esta.! 
    local port = get( "port" ) or 3306 
    local socket = get( "socket" ) or nil 
  

Link to comment
  • 4 weeks later...

ok mira te pongo lo que me sale jeje intentare ponerte todo jeje:7

==================================================================

= Multi Theft Auto: San Andreas v1.3.1

==================================================================

= Server name : paradise ~ Roleplay

= Server IP address:

= Server port : 22003

=

= Log file : ...3.0/server/mods/deathmatch/logs/server.log

= Maximum players : 32

= HTTP port : 22005

= Voice Chat : Disabled

= Bandwidth saving : Medium

==================================================================

[2012-10-19 18:34:39] File 'settings.xml' not present, creating new node.

[2012-10-19 18:34:47] ERROR: Not processing resource 'admin' as it has duplicates on different paths:

Path #1: "resources\admin"

Path #2: "resources\[admin]\admin"

[2012-10-19 18:34:47] ERROR: Problem with resource: editor;

[2012-10-19 18:34:47] ERROR: Problem with resource: editor_main; Failed to link to freecam

[2012-10-19 18:34:47] ERROR: Not processing resource 'freecam' as it has duplicates on different paths:

Path #1: "resources\freecam"

Path #2: "resources\[editor]\freecam"

[2012-10-19 18:34:47] ERROR: Not processing resource 'interiors' as it has duplicates on different paths:

Path #1: "resources\interiors"

Path #2: "resources\[gameplay]\interiors"

[2012-10-19 18:34:47] ERROR: Problem with resource: job-carrier; Failed to link to interiors

[2012-10-19 18:34:47] ERROR: Not processing resource 'runcode' as it has duplicates on different paths:

Path #1: "resources\runcode"

Path #2: "resources\[admin]\runcode"

[2012-10-19 18:34:47] Resources: 207 loaded, 3 failed

[2012-10-19 18:34:47] Querying game-monitor.com master server... failed! (302: Moved temporarily)

[2012-10-19 18:34:48] Querying backup master server... success!

[2012-10-19 18:34:49] MODULE: Unable to find modules/mta_mysql.dll!

[2012-10-19 18:34:49] MODULE: Loaded "SHA Module" (1.02) by "mabako"

[2012-10-19 18:34:49] Starting resources.....

[2012-10-19 18:34:49] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:49] Start up of resource sql cancelled by script

[2012-10-19 18:34:49] ERROR: Unable to start resource sql; Start up of resource cancelled by script

[2012-10-19 18:34:49] Start up of resource irc cancelled by script

[2012-10-19 18:34:49] ERROR: Unable to start resource irc; Start up of resource cancelled by script

[2012-10-19 18:34:52] WARNING: players/main.lua(Line 379) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday.

[2012-10-19 18:34:52] Some files in 'players' use deprecated functions.

[2012-10-19 18:34:52] Use the 'upgrade' command to perform a basic upgrade of resources.

[2012-10-19 18:34:52] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:52] Start up of resource sql cancelled by script

[2012-10-19 18:34:52] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:52] Start up of resource players cancelled by script

[2012-10-19 18:34:52] ERROR: Unable to start resource players; Start up of resource cancelled by script

[2012-10-19 18:34:53] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:53] Start up of resource sql cancelled by script

[2012-10-19 18:34:53] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:53] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:53] Start up of resource vehicles cancelled by script

[2012-10-19 18:34:53] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script

[2012-10-19 18:34:53] ERROR: Couldn't find resource interiors. Check it exists.

[2012-10-19 18:34:53] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:53] Start up of resource sql cancelled by script

[2012-10-19 18:34:54] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:54] Start up of resource sql cancelled by script

[2012-10-19 18:34:54] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:54] Start up of resource players cancelled by script

[2012-10-19 18:34:54] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:54] Start up of resource sql cancelled by script

[2012-10-19 18:34:54] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:54] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:54] Start up of resource items cancelled by script

[2012-10-19 18:34:54] ERROR: Unable to start resource items; Start up of resource cancelled by script

[2012-10-19 18:34:54] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:54] Start up of resource sql cancelled by script

[2012-10-19 18:34:54] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:54] Start up of resource players cancelled by script

[2012-10-19 18:34:54] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:54] Start up of resource sql cancelled by script

[2012-10-19 18:34:54] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:54] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:54] Start up of resource vehicles cancelled by script

[2012-10-19 18:34:54] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:54] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] Start up of resource players cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] Start up of resource items cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] Start up of resource players cancelled by script

[2012-10-19 18:34:55] ERROR: Couldn't find resource admin. Check it exists.

[2012-10-19 18:34:55] WARNING: shops/shop.lua(Line 57) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday.

[2012-10-19 18:34:55] Some files in 'shops' use deprecated functions.

[2012-10-19 18:34:55] Use the 'upgrade' command to perform a basic upgrade of resources.

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] Start up of resource players cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] Start up of resource items cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] Start up of resource players cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:55] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:55] Start up of resource shops cancelled by script

[2012-10-19 18:34:55] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:55] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] Start up of resource players cancelled by script

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] Start up of resource items cancelled by script

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] Start up of resource players cancelled by script

[2012-10-19 18:34:56] ERROR: Unable to start resource shops; Start up of resource cancelled by script

[2012-10-19 18:34:56] ERROR: Unable to start resource job-carrier; Failed to link to interiors

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] Start up of resource vehicles cancelled by script

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] Start up of resource vehicles cancelled by script

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] Start up of resource maps cancelled by script

[2012-10-19 18:34:56] ERROR: Unable to start resource maps; Start up of resource cancelled by script

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] Start up of resource teleports cancelled by script

[2012-10-19 18:34:56] ERROR: Unable to start resource teleports; Start up of resource cancelled by script

[2012-10-19 18:34:56] ERROR: Couldn't find resource freecam. Check it exists.

[2012-10-19 18:34:56] WARNING: bank/bank.lua(Line 59) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen before Tuesday.

[2012-10-19 18:34:56] Some files in 'bank' use deprecated functions.

[2012-10-19 18:34:56] Use the 'upgrade' command to perform a basic upgrade of resources.

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:56] Start up of resource players cancelled by script

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:56] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:56] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] Start up of resource players cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] Start up of resource items cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] Start up of resource players cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] Start up of resource bank cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] Start up of resource players cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] Start up of resource players cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] Start up of resource items cancelled by script

[2012-10-19 18:34:57] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:57] Start up of resource sql cancelled by script

[2012-10-19 18:34:57] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:57] Start up of resource players cancelled by script

[2012-10-19 18:34:57] ERROR: Unable to start resource bank; Start up of resource cancelled by script

[2012-10-19 18:34:58] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:58] Start up of resource sql cancelled by script

[2012-10-19 18:34:58] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:58] Start up of resource players cancelled by script

[2012-10-19 18:34:58] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:58] Start up of resource factions cancelled by script

[2012-10-19 18:34:58] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:58] Start up of resource sql cancelled by script

[2012-10-19 18:34:58] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:58] Start up of resource players cancelled by script

[2012-10-19 18:34:58] ERROR: Unable to start resource factions; Start up of resource cancelled by script

[2012-10-19 18:34:58] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:58] Start up of resource sql cancelled by script

[2012-10-19 18:34:58] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:58] Start up of resource 3dtext cancelled by script

[2012-10-19 18:34:58] ERROR: Unable to start resource 3dtext; Start up of resource cancelled by script

[2012-10-19 18:34:58] Server started and is ready to accept connections!

[2012-10-19 18:34:58] To stop the server, type 'shutdown' or press Ctrl-C

[2012-10-19 18:34:58] Type 'help' for a list of commands.

[2012-10-19 18:34:58] _ _ _

[2012-10-19 18:34:58] | | | (_)

[2012-10-19 18:34:58] _ __ ___ | |_ __ _ _ __ __ _ _ __ __ _ __| |_ ___ ___

[2012-10-19 18:34:58] | '_ ` _ \| __/ _` | | '_ \ / _` | '__/ _` |/ _` | / __|/ _ \

[2012-10-19 18:34:58] | | | | | | || (_| | | |_) | (_| | | | (_| | (_| | \__ \ __/

[2012-10-19 18:34:58] |_| |_| |_|\__\__,_| | .__/ \__,_|_| \__,_|\__,_|_|___/\___|

[2012-10-19 18:34:58] | |

[2012-10-19 18:34:58] |_| v1.00

[2012-10-19 18:34:58] Server stopped!

[2012-10-19 18:34:59] Stopping resources.......

[2012-10-19 18:34:59] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:59] Start up of resource sql cancelled by script

[2012-10-19 18:34:59] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:59] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:59] Start up of resource vehicles cancelled by script

[2012-10-19 18:34:59] Server shutdown as requested by resource sql (MySQL module missing.)

[2012-10-19 18:34:59] Start up of resource sql cancelled by script

[2012-10-19 18:34:59] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:59] ERROR: exports: Call to non-running server resource (sql) [string "?"]

[2012-10-19 18:34:59] Start up of resource vehicles cancelled by script

[2012-10-19 18:34:59] Closing SQLite3 database

muchas gracias de antemano amigo jeje la base de datos la tengo puesta en su correspondiente archivo y todo pero me salen todos esos errores

Link to comment
  • Recently Browsing   0 members

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