• 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!

Unknown column 'acesstime' in 'field list'

1268995

Member
Joined
Sep 9, 2010
Messages
422
Reaction score
13
1fu0j5.jpg


Help!
 
Last edited:
It seems like you are missing a column called acesstime in guild's table.

Run this query
Code:
ALTER TABLE `guilds` ADD `acesstime` INT NOT NULL DEFAULT 0;
 
Dammit, new problem: @narko @Limos

stamina.lua =

Code:
function onUse(cid, item, frompos, item2, topos)
    doPlayerAddStamina(cid, 2520)
    doSendMagicEffect(frompos, 1)
    doRemoveItem(item.uid, 1)
return 1
end

edit: bump:
1zi2aq.png
 
Last edited:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local cfg = {}
cfg.refuel = 42 * 60 * 1000
if(getPlayerStamina(cid) >= cfg.refuel) then
doPlayerSendCancel(cid, "Your stamina is already full.")
elseif(not isPremium(cid)) then
doPlayerSendCancel(cid, "You must have a premium account.")
else
doPlayerSetStamina(cid, cfg.refuel)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your stamina has been refilled.")
doRemoveItem(item.uid)
end
return true
end
 
Worked @narko ... When i use the stamina refiler item, i need to log out to stamina go full, stamina do not go full imediatly when i use the item, but
thats okay! thank you!! <im br, sorry crap english>

Player @Danger II also maded a script... this:

Code:
function onUse(cid, item, frompos, item2, topos)
doPlayerSetStamina(cid, getPlayerStamina(cid) + 2520)
doSendMagicEffect(frompos, 1)
doRemoveItem(item.uid, 1)
return 1
end

and happened the same thing: need to log out to stamina go full, stamina do not go full imediatly when i use the item.

Thanks to both!
 
Back
Top