Very nice Release, Mijago.
Gefällt mir, sehr.
Gefällt mir, sehr.
habe schon mehrmals ne neue questing.lua auf deiner seite erstellt aber nichts hilft.Quote:
locale/germany/quest/questing.lua:281: attempt to index global `zt' (a nil value)
Assertion failed: (ms_singleton), function instance, file ../../common/singleton.h, line 26.
Abort trap (core dumped)
Jetzt sollte es funktionieren :)Quote:
Ich bekomme immer fehler beim starten vom server..
habe schon mehrmals ne neue questing.lua auf deiner seite erstellt aber nichts hilft.
Und hab ich richtig verstanden, dass man damit die schnittstelle von hanashi nicht benötigt um mysql befehle durchzuführen?
Quote:
locale/germany/quest/questing.lua:796: attempt to index global `col' (a nil value)
ehm joa ...Quote:
Äquivalent zur PHP-Funktion mysql_escape_real_string()
mysql_real_escape_string()
Quest:Quote:
mysql: not found
Quote:
quest test begin
state start begin
when letter with pc.is_gm() begin
send_letter("Test Funktion")
end
when info or button with pc.is_gm() begin
local e = input()
if e == '' then return end
local qu = mysql_query('select level from player.player where name LIKE '..string.format('%q',e)..' LIMIT 1')
if type(qu) ~= 'table' or qu.level == nil or table.getn(qu.level) == 0 then return end -- ERROR, user existiert nicht
say('Der Spieler ist Level ', qu.level[1])
end
end
end
und bei einer anderen quest bekomm ich dasQuote:
mysql: ambiguous option '--e=select level from player.player where name LIKE "Papaya" LIMIT 1' (enable_cleartext_plugin, execute)
quest:Quote:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Quote:
os.execute('mysql account --execute=\\"UPDATE account SET coins = coins + 1 WHERE name = '.."\\'"..pc.get_account_id().."\\'"..'\\"')
man mysql