Myway
New Member
- Joined
- May 7, 2008
- Messages
- 15
- Reaction score
- 0
morden acc work ?
no or at less not full work you cant log in or created characyer but new and high scorse can be work!
morden acc work ?
morden acc work ?
There are no updates to 8.70 on rme or ip changer :/
Try changing your vocation, i got this problem changed my vocation and solved iti cast spell and game over :/ server crash
dofile("./config.lua")
function onDeath(cid, corpse, killer)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You are dead.")
if deathListEnabled == "yes" then
if sqlType == "mysql" then
env = luasql.mysql()
sql = env:connect(mysqlDatabase, mysqlUser, mysqlPass, mysqlHost, mysqlPort)
else -- sqlite
env = luasql.sqlite3()
sql = env:connect(sqliteDatabase)
end
local byPlayer = FALSE
if killer == FALSE then
killerName = "field item"
else
if isPlayer(killer) == TRUE then
byPlayer = TRUE
end
killerName = getCreatureName(killer)
end
sql:execute("INSERT INTO `player_deaths` (`player_id`, `time`, `level`, `killed_by`, `is_player`) VALUES (" .. getPlayerGUID(cid) .. ", " .. os.time() .. ", " .. getPlayerLevel(cid) .. ", '" .. escapeString(killerName) .. "', " .. byPlayer .. ");")
local result = sql:execute("SELECT `player_id` FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. ";")
local deathRecords = numRows(result)
if sqlType == "mysql" then
while deathRecords > maxDeathRecords do
delete = sql:execute("DELETE FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. " ORDER BY `time` LIMIT 1;")
deathRecords = deathRecords - 1
end
else
while deathRecords > maxDeathRecords do
delete = sql:execute("DELETE FROM `player_deaths` WHERE `rowid` = (SELECT `rowid` FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. " ORDER BY `time` LIMIT 1);")
deathRecords = deathRecords - 1
end
end
sql:close()
env:close()
end
end
[14/01/2011 05:46:47] Lua Script Error: [CreatureScript Interface]
[14/01/2011 05:46:47] data/creaturescripts/scripts/playerdeath.lua:onDeath
[14/01/2011 05:46:47] data/creaturescripts/scripts/playerdeath.lua:26: attempt to concatenate local 'byPlayer' (a boolean value)
[14/01/2011 05:46:48] stack traceback:
[14/01/2011 05:46:48] [C]: in function '__concat'
[14/01/2011 05:46:48] data/creaturescripts/scripts/playerdeath.lua:26: in function <data/creaturescripts/scripts/playerdeath.lua:3>
My database got bugged and isnt saving any player
ERROR MSG: DATABASE DISK IMAGE IS MALFORMED
Anyone knows how i can fix it ?
You got virus
Someone can help me?cc1plus: warnings being treated as errors
otserv.cpp: In function ‘void badAllocationHandler()’:
otserv.cpp:237: error: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
make: *** [otserv.o] Błąd 1
can someone tell me the reason why beholder and undead legion spell were removed?
I got this error.
Someone can help me?