Natychmiastowy kick,

Indorek

Active User
Zarejestrowany
Dołączył
Maj 11, 2009
Posty
55
Liczba reakcji
7
Mam wlasnego ots 8.5 i nie mog? na niego wbic poniewaz odrazu mnie wywala . Czy ktos wie o co chodzi ?? Prosz? o pomoc

GoD Sander has logged in.
mysql_real_query(): SELECT `auction_balance` FROM `players` WHERE `id` = 2; - MYSQL ERROR: Unknown column 'auction_balance' in 'field list' (1054)

Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/login.lua:onLogin

data/lib/database.lua:60: [Result:getDataInt] Result not set!
stack traceback:
[C]: in function 'error'
data/lib/database.lua:60: in function 'getDataInt'
data/creaturescripts/scripts/login.lua:45: in function <data/creaturescripts/scripts/login.lua:5>
GoD Sander has logged out.
 
Odp: Natychmiastowy kick,

Oczywi?cie problem tkwi w pliku creaturescripts/scripts/login.lua
Podmie? go na ten:
Kod:
local config = {
	loginMessage = getConfigValue('loginMessage')
}
function onLogin(cid)
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
	end
	local accountManager = getPlayerAccountManager(cid)
	if(accountManager == MANAGER_NONE) then
		local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
		if(lastLogin > 0) then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
			str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
		else
			str = str .. " Please choose your outfit."
			doPlayerSendOutfitWindow(cid)
		end
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
	elseif(accountManager == MANAGER_NAMELOCK) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
	elseif(accountManager == MANAGER_ACCOUNT) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
	else
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
	end
	if(not isPlayerGhost(cid)) then
		doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
	end
	registerCreatureEvent(cid, "Mail")
	registerCreatureEvent(cid, "GuildMotd")
	registerCreatureEvent(cid, "SkullCheck")
	registerCreatureEvent(cid, "ReportBug")
	return true
end
Je?eli pomog?em to prosz? klikna? w moj? sygnatur? po czym klikna? taki ma?y button na stronie, kt?ra si? otworzy. W ten spos?b bardziej mi pomo?esz.
 
Back
Do góry