Hallo
Ich habe mir einen Server gemietet und benutze Filezilla habe einen Script
Mein script hat keinerlei probleme aber sobald ich es mit der Db verbinden will
bekomme ich ein error unzwar
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function joinHandler() setElementDimension ( source, 5 ) fadeCamera( so' at line 1
und
function joinHandler()
setElementDimension ( source, 5 )
fadeCamera( source, true)
setCameraTarget( source, source )
if isWithinNightTime () then
setCameraMatrix ( source, 2100.9990234375, 1003.1977539063, 56.554607391357, 2021.591796875, 1007.6619873047, 17.013711929321, 0, 70 )
else
setCameraMatrix ( source, -2681.7158203125, 1934.0498046875, 216.9231262207, -2681.8959960938, 1834.5554199219, 204.25393676758, 0, 70 )
end
end
addEventHandler("onPlayerJoin", getRootElement(), joinHandler)
--[[function isSerialValid ( player )
local serial = getPlayerSerial ( player )
local validserial = true
for i = 32, 46 do
if gettok ( serial, 1, string.byte(i) ) == serial then
else
validserial = false
outputDebugString ( "Char "..tostring(i) )
outputDebugString ( serial )
outputDebugString ( gettok ( serial, 1, string.byte(i) ) )
end
end
for i = 58, 64 do
if gettok ( serial, 1, string.byte(i) ) ~= serial then
validseri[...]
Mein Kumpel hat es geschafft den Fehler zu beheben aber bei mir nicht und hier ist Rcon+Log
[2012-12-13 05:04:27] ERROR: Couldn't find script server/admin_acl.lua for resource admin2
[2012-12-13 05:04:31] Loading of resource 'admin2' failed
[2012-12-13 05:05:06] ERROR: Couldn't find script register_login/camflight_client.lua for resource platin
[2012-12-13 05:05:09] Loading of resource 'platin' failed
[2012-12-13 05:05:44] Resources: 188 loaded, 0 failed
[2012-12-13 05:05:45] Querying game-monitor.com master server... failed! (302: Moved temporarily)
[2012-12-13 05:05:45] Querying backup master server... success!
[2012-12-13 05:05:45] MODULE: Unable to find modules/mtamysql.so (libmysqlclient.so.15: cannot open shared object file: No such file or directory)!
[2012-12-13 05:05:45] MODULE: Unable to find modules/sample_win32.dll (/games/ni144346_1/ftproot/mta/mods/deathmatch/modules/sample_win32.dll: cannot open shared object file: No such file or directory)!
[2012-12-13 05:05:45] MODULE: Unable to find modules/sample_linux.so (/games/ni144346_1/ftproot/mta/mods/deathmatch/modules/sample_linux.so: cannot open shared object file: No such file or directory)!
[2012-12-13 05:05:45] Starting resources...............
[2012-12-13 05:05:45] ERROR: Couldn't find resource platin. Check it exists.
[2012-12-13 05:05:45] Server started and is ready to accept connections!
[2012-12-13 05:05:45] To stop the server, type 'shutdown' or press Ctrl-C
[2012-12-13 05:05:45] Type 'help' for a list of commands.
[2012-12-13 12:25:02] CONNECT: OffbeatScout90 connected (IP: 159.0.22.145 Serial: B27FB7F3F298FE7FF80E238C4482DCF3 Version: 1.3.1-9.04710.0)
[2012-12-13 12:25:02] JOIN: OffbeatScout90 joined the game (IP: 159.0.22.145)
[2012-12-13 12:25:19] QUIT: OffbeatScout90 left the game [Quit]
[2012-12-13 18:32:58] CONNECT: NicBas36 connected (IP: 88.152.76.71 Serial: 4FDC19DAE04811CC60A414CA4E72AE52 Version: 1.3.1-9.04710.2)
[2012-12-13 18:32:58] JOIN: NicBas36 joined the game (IP: 88.152.76.71)
[2012-12-13 18:33:22] QUIT: NicBas36 left the game [Quit]
[2012-12-13 19:46:18] CONNECT: Mete connected (IP: 84.181.251.163 Serial: 0A27F0F8093EB43BF5570B0554F00C43 Version: 1.3.1-9.04710.2)
[2012-12-13 19:46:23] JOIN: Mete joined the game (IP: 84.181.251.163)
[2012-12-13 19:47:01] QUIT: Mete left the game [Quit]
hoffe ihr könnt mir weiter helfen
MFG Mete






