• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior] [Result:getDataInt] Result not set!

Novap

Learning LUA
Joined
Apr 24, 2011
Messages
69
Reaction score
7
Hello, im using a Reborn Mod and when im trying to reborn i just get this error;
Code:
[01/06/2011 23:07:29] [Error - TalkAction Interface] 
[01/06/2011 23:07:29] buffer
[01/06/2011 23:07:29] Description: 
[01/06/2011 23:07:29] data/lib/database.lua:60: [COLOR="red"][Result:getDataInt] Result not set![/COLOR]

Database.lua, Line 60;
Code:
function Result:getDataInt(s)
	if(self:getID() == -1) then
		[COLOR="red"]error("[Result:getDataInt] Result not set!")[/COLOR]
	end

This function makes the error;
Code:
		function getPlayerReborns(name)
		   return [COLOR="red"]db.getResult[/COLOR]("SELECT `reborns` FROM `players` WHERE `name` = "..db.escapeString(name)..""):getDataInt("reborns")
		end

I need help fast as possible, thanks.
 
Back
Top