Jump to content

aka Blue

Members
  • Posts

    2,106
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by aka Blue

  1. Buenas, tras quitar el módulo de sha.so de MTA Paradise el cual no iba ya que era 32 bits y mi servidor era 64 bits, estaba haciendo el nuevo registro y logueo pero ahora tengo un problema con el logueo. El registro va bien, se almacena el usuario y la contraseña pero en el logueo, no loguea básicamente. Ésto es el registro addEvent( getResourceName( resource ) .. ":register", true ) addEventHandler( getResourceName( resource ) .. ":register", root, function( username, password ) if source == client then if allowRegistration then if username and password then username = trim( username ) password = trim( password ) -- client length checks are the same if #username >= 3 and #password >= 8 then -- see if that username is free at all local info = exports.sql:query_assoc_single( "SELECT COUNT(userID) AS usercount FROM wcf1_user WHERE username = '%s'", username, password ) if not info then triggerClientEvent( source, getResourceName( resource ) .. ":registrationResult", source, 1 ) elseif info.usercount == 0 then -- generate a salt (SHA1) -- create the user if exports.sql:query_free("INSERT INTO wcf1_user (username, password) VALUES ('%s', '%s')", username, password) then triggerClientEvent( source, getResourceName( resource ) .. ":registrationResult", source, 0 ) -- will automatically login when this is sent else triggerClientEvent( source, getResourceName( resource ) .. ":registrationResult", source, 4 ) end else triggerClientEvent( source, getResourceName( resource ) .. ":registrationResult", source, 3 ) end else -- shouldn't happen triggerClientEvent( source, getResourceName( resource ) .. ":registrationResult", source, 1 ) end else -- can't do much without a username and password triggerClientEvent( source, getResourceName( resource ) .. ":registrationResult", source, 1 ) end else triggerClientEvent( source, getResourceName( resource ) .. ":registrationResult", source, 2, registrationErrorMessage ) end end end ) Éste es el logueo, lo que da problemas. addEvent( getResourceName( resource ) .. ":login", true ) addEventHandler( getResourceName( resource ) .. ":login", root, function( username, password ) if source == client then triedTokenAuth[ source ] = true if username and password and #username > 0 and #password > 0 then local info = exports.sql:query_assoc_single( "SELECT username, password FROM wcf1_user WHERE username = '%s'", username) p[ source ] = nil if not info then triggerClientEvent( source, getResourceName( resource ) .. ":loginResult", source, 1 ) -- Wrong username/password loginAttempts[ source ] = ( loginAttempts[ source ] or 0 ) + 1 else loginAttempts[ source ] = nil performLogin( source, info.token, true ) end end end end ) function performLogin( source, token, isPasswordAuth, ip ) if source and ( isPasswordAuth or not triedTokenAuth[ source ] ) then triedTokenAuth[ source ] = true if token then if #token == 80 then local info = exports.sql:query_assoc_single( "SELECT userID, username, banned, activationCode, password, userOptions FROM wcf1_user WHERE username = '%s'") p[ source ] = nil if not info then if isPasswordAuth then triggerClientEvent( source, getResourceName( resource ) .. ":loginResult", source, 1 ) -- Wrong username/password end return false else if info.banned == 1 then triggerClientEvent( source, getResourceName( resource ) .. ":loginResult", source, 2 ) -- Banned return false elseif info.activationCode > 0 then triggerClientEvent( source, getResourceName( resource ) .. ":loginResult", source, 3 ) -- Requires activation return false else -- check if another user is logged in on that account for player, data in pairs( p ) do if data.userID == info.userID then triggerClientEvent( source, getResourceName( resource ) .. ":loginResult", source, 5 ) -- another player with that account found return false end end local username = info.username p[ source ] = { userID = info.userID, username = username, options = info.userOptions and fromJSON( info.userOptions ) or { } } -- check for admin rights aclUpdate( source, true ) -- show characters local chars = exports.sql:query_assoc( "SELECT characterID, characterName, skin FROM characters WHERE userID = " .. info.userID .. " ORDER BY lastLogin DESC" ) local chars2 = exports.sql:query_assoc( "SELECT COUNT(*) AS count FROM characters WHERE userID = ".. info.userID .."" ) if chars2 then for key, value in ipairs( chars2 ) do --(value.count < 3) then local cuenta = value.count end end local chars = exports.sql:query_assoc( "SELECT characterID, characterName, skin FROM characters WHERE userID = " .. info.userID .. " ORDER BY lastLogin DESC" ) p[source].cuenta = #chars if isPasswordAuth then triggerClientEvent( source, getResourceName( resource ) .. ":characters", source, chars, true, token, getPlayerIP( source ) ~= "127.0.0.1" and getPlayerIP( source ), #chars ) else triggerClientEvent( source, getResourceName( resource ) .. ":characters", source, chars, true, _, _, #chars ) end outputServerLog( "FLINT LOGIN: " .. getPlayerName( source ) .. " logueado como " .. info.username .. " (IP: " .. getPlayerIP( source ) .. ", Serial: " .. getPlayerSerial( source ) .. ")" ) exports.server:message( "%C04[" .. getID( source ) .. "]%C %B" .. info.username .. "%B se logueo (Nick: %B" .. getPlayerName( source ):gsub( "_", " " ) .. "%B)." ) exports.sql:query_free( "UPDATE wcf1_user SET lastIP = '%s', lastSerial = '%s' WHERE userID = " .. tonumber( info.userID ), getPlayerIP( source ), getPlayerSerial( source ) ) return true end end end end end return false end Las líneas a las cuales quité el SHA1 son éstas dos. La primera es del evento players:login, local info = exports.sql:query_assoc_single( "SELECT username, password FROM wcf1_user WHERE username = '%s'", username) Y la segunda es la cual debería comprobar todo y loguear. local info = exports.sql:query_assoc_single( "SELECT userID, username, banned, activationCode, password, userOptions FROM wcf1_user WHERE username = '%s'")
  2. Normal que te ponga nil value, ¿qué es hp para la función?
  3. Para qué te va a robar algo que sabe hacer. Deja de hablar tonterías Kilfmwan que ni siquiera le conoces.
  4. Creo que estamos hablando de MI vps y lo que hago con MI vps es cosa mía y desde aquí te digo que no tengo ningún problema así que no tengo por qué discutir contigo.
  5. Tranquilo que he usado VNC y antes y no he tenido ningunos problemas. Actualmente tengo un VPS alojado en OVH y no me ha causado ningún problema aparte de mi tontuna al instalar cosas que no tuve que instalar y tuve que reiniciar el VPS. Por lo demás, todo me va perfecto y sin ningún error de momento así que diría que estoy bastante satisfecho. PD: @4evergaming, no te obligo a parar de publicar pero ten en cuenta que tu página web da un error de la hostia al entrar así que yo que tú primero arreglaría eso antes de seguir publicando
  6. Ah perfecto, eso es, hora del servidor. Muchas gracias
  7. Oh, perfecto. La hora de mi sv es la hora real española por lo cual, funcionaría, ¿correcto?
  8. Creo que me he quedado igual jaja. Lo que quiero hacer es que a esa hora, 13:00, le envíe el payday a todos los jugadores. El sistema está hecho que si estás en tal facción te de el payday y sino, no.
  9. Estaba mirando yo por la comunidad y derrepente me salió éste script y ví que tenía el HUD con imágenes como tú dijiste. Míralo a ver. https://community.multitheftauto.com/in ... w&id=11880
  10. ¿Lo que tengo yo no sirve? Osea, if hora == 13 and minutes == 0 then y lo que hace el payday. Eso fue solo un ejemplo pero ahora que lo pienso...
  11. Exacto pero el mismo está roto ya que es de la versión 1.0 de MTA por lo tanto, debo usar el de Alberto Alonso.
  12. Solo se trata de leer... en fin.
  13. Lee antes de publicar, por favor. No he pedido hacer eso. PD: Además, has puesto mal el dxDrawText.
  14. Bueno, vengo a preguntar una pequeña duda sobre el Payday. Quiero que sea a una hora exacta, algo como a las 13:00 o así que realice la función del Payday. ¿Qué se tendría que usar? Estaba por usar getRealTime y hacer algo como... local time = getRealTime() local horas = time.hour local minutos = time.minute if horas == 13 and minutos == 0 then --Aquí que haga el payday y demás
  15. Nada, ya lo sulucioné. Resulta que editando xampp, el archivo de MySQL, su configuración básicamente, sale el directorio de ese archivo. Lo puse en mi GM y ya funciona correctamente.
  16. Tras solucionar el problema con el servidor, el cual ahora inicia, me ha salido un nuevo problema. La GM que yo uso, depende de un módulo, sha.so que es el que hace el encriptado de las contraseñas hasta donde sé. El problema ahora viene en que yo tengo un servidor x64, además, mi vps es x64 y no lee el módulo ya que es 32 bits. Aquí el error. [2015-08-16 15:05:51] MODULE: Unable to load x64/modules/sha.so (/root/Documentos/servidor/x64/modules/sha.so: wrong ELF class: ELFCLASS32) Resumiendo, que no se pueden ni registrar ni loguear porque ese módulo es de 32 bits.
  17. Tras haberme dicho asus el tremendo fail que cometí, ahora tengo otro problema el cual es éste:
  18. Bueno, creo que éste es el mejor apartado para publicar mi problema. Me explico, uso una GM MTA Paradise bastante mejorada, añadidos bastantes scripts, editados bastantes scripts default de la GM, total, todo bien me iba en Windows pero a la hora de pasarlo a mi VPS y meter la version 1.5 de mta (linux), solo me ha dado problemas con el módulo MySQL. He instalado todas las librerias con ayuda de @venadHD pero sigue igual. Os dejo todo lo que se tenía que editar. Todos los errores: ================================================================== = Multi Theft Auto: San Andreas v1.5 [64 bit] ================================================================== = Server name : Default MTA Server = Server IP address: auto = Server port : 22003 = = Log file : ..os/servidor/mods/deathmatch/logs/server.log = Maximum players : 32 = HTTP port : 22005 = Voice Chat : Disabled = Bandwidth saving : Medium ================================================================== [2015-08-16 01:58:56] Resource 'guieditor' requests some acl rights. Use the command 'aclrequest list guieditor' [2015-08-16 01:58:56] WARNING: Ignoring duplicate client file in resource 'radar': 'radar/radar_10_10.jpg' [2015-08-16 01:58:56] WARNING: Ignoring duplicate client file in resource 'radar': 'radar/radar_10_11.jpg' [2015-08-16 01:58:56] Resources: 68 loaded, 0 failed [2015-08-16 01:58:56] Starting resources... [2015-08-16 01:58:56] ERROR: Couldn't find resource parasite. Check it exists. [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] ERROR: Unable to start resource sql; Start up of resource cancelled by script [2015-08-16 01:58:56] Start up of resource irc cancelled by script [2015-08-16 01:58:56] ERROR: Unable to start resource irc; Start up of resource cancelled by script [2015-08-16 01:58:56] WARNING: players/main_c.lua(Line 84) [Client] isPlayerDead is deprecated and may not work in future versions. Please replace with isPedDead. [2015-08-16 01:58:56] WARNING: players/reglas.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2015-08-16 01:58:56] WARNING: players/respawn_c.lua(Line 51) [Client] isPlayerDead is deprecated and may not work in future versions. Please replace with isPedDead. [2015-08-16 01:58:56] Some files in 'players' use deprecated functions. [2015-08-16 01:58:56] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] Start up of resource players cancelled by script [2015-08-16 01:58:56] ERROR: Unable to start resource players; Start up of resource cancelled by script [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] ERROR: vehicles/vehicles.lua:108: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] ERROR: vehicles/fuel.lua:22: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] Start up of resource vehicles cancelled by script [2015-08-16 01:58:56] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] ERROR: interiors/interiors.lua:114: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] Start up of resource interiors cancelled by script [2015-08-16 01:58:56] ERROR: Unable to start resource interiors; Start up of resource cancelled by script [2015-08-16 01:58:56] WARNING: items/telefono_c.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2015-08-16 01:58:56] Some files in 'items' use deprecated functions. [2015-08-16 01:58:56] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] Start up of resource players cancelled by script [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] ERROR: items/items.lua:245: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] ERROR: items/items.lua:258: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] ERROR: items/phones.lua:20: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] Start up of resource items cancelled by script [2015-08-16 01:58:56] ERROR: Unable to start resource items; Start up of resource cancelled by script [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] Start up of resource players cancelled by script [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:56] ERROR: vehicles/vehicles.lua:108: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] ERROR: vehicles/fuel.lua:22: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:56] Start up of resource vehicles cancelled by script [2015-08-16 01:58:56] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:56] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: items/items.lua:245: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/items.lua:258: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/phones.lua:20: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource items cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] WARNING: admin/player.lua(Line 237) [server] setPedFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2015-08-16 01:58:57] WARNING: admin/player.lua(Line 240) [server] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2015-08-16 01:58:57] Some files in 'admin' use deprecated functions. [2015-08-16 01:58:57] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: items/items.lua:245: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/items.lua:258: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/phones.lua:20: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource items cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: shops/shop.lua:88: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource shops cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: items/items.lua:245: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/items.lua:258: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/phones.lua:20: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource items cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] ERROR: Unable to start resource shops; Start up of resource cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: vehicles/vehicles.lua:108: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: vehicles/fuel.lua:22: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource vehicles cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: items/items.lua:245: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/items.lua:258: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/phones.lua:20: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource items cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: shops/shop.lua:88: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource shops cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: items/items.lua:245: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/items.lua:258: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: items/phones.lua:20: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource items cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource players cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: interiors/interiors.lua:114: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource interiors cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: vehicles/vehicles.lua:108: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: vehicles/fuel.lua:22: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource vehicles cancelled by script [2015-08-16 01:58:57] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:57] Start up of resource sql cancelled by script [2015-08-16 01:58:57] ERROR: vehicles/vehicles.lua:108: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] ERROR: vehicles/fuel.lua:22: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:57] Start up of resource vehicles cancelled by script [2015-08-16 01:58:57] ERROR: Couldn't find resource job-bus. Check it exists. [2015-08-16 01:58:58] ERROR: maps/maps.lua:89: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource maps cancelled by script [2015-08-16 01:58:58] ERROR: Unable to start resource maps; Start up of resource cancelled by script [2015-08-16 01:58:58] ERROR: teleports/teleports.lua:82: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource teleports cancelled by script [2015-08-16 01:58:58] ERROR: Unable to start resource teleports; Start up of resource cancelled by script [2015-08-16 01:58:58] WARNING: anims/anims_c.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2015-08-16 01:58:58] Some files in 'anims' use deprecated functions. [2015-08-16 01:58:58] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource players cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource players cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: items/items.lua:245: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] ERROR: items/items.lua:258: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] ERROR: items/phones.lua:20: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource items cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource players cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: bank/bank.lua:105: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource bank cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource players cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource players cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: items/items.lua:245: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] ERROR: items/items.lua:258: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] ERROR: items/phones.lua:20: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource items cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.) [2015-08-16 01:58:58] Start up of resource sql cancelled by script [2015-08-16 01:58:58] ERROR: players/main.lua:279: exports: Call to non-running server resource (sql) [string "?"] [2015-08-16 01:58:58] Start up of resource players cancelled by script [2015-08-16 01:58:58] ERROR: Unable to start resource bank; Start up of resource cancelled by script [2015-08-16 01:58:58] Server shutdown as requested by resource sql (MySQL module missing.)
  19. Tú has puesto source. Pon thePlayer en la función y thePlayer en el export.
  20. ¿No es getPlayerCoins? Si es el sistema de Enargy, en su propio post en la comunidad te da los exports.
  21. Hombre que si voy a disfrutar jaja, lo espero con ansias. PD: ¿Estará compilado?
×
×
  • Create New...