Animera
* * * * *
soon im going to compile to from tfs crying damson 0.3.6 to 8.61 client server it does still support it? Pm me with the anwer please
ALTER TABLE `accounts` ADD
`vipdays` int(11) NOT NULL DEFAULT 0;
I got this error :S:S
[16/12/2010 17:08:24] [Error - Action Interface]
[16/12/2010 17:08:24] data/actions/scripts/vipmedal.luanUse
[16/12/2010 17:08:24] Description:
[16/12/2010 17:08:24] data/lib/050-function.lua:12: attempt to call field 'executeQuery' (a nil value)
[16/12/2010 17:08:24] stack traceback:
[16/12/2010 17:08:24] data/lib/050-function.lua:12: in function 'doAddVipDays'
[16/12/2010 17:08:24] data/actions/scripts/vipmedal.lua:5: in function <data/actions/scripts/vipmedal.lua:1>
And for remove vip days too! :S
PHP:ALTER TABLE `accounts` ADD `vipdays` int(11) NOT NULL DEFAULT 0;
i have already done this in my data base any idea more of this error?
is doAddVipDays a function in your 000-constant and 050-functions?
@raul
Are you using 0.4 or 0.3?
doPlayerSetRate(cid, SKILL__LEVEL, 1.25)
where I add that to win the VIP 25% experience?
I'm sorry for my bad English
function onLogin(cid)
local n = getPlayerVipDays(cid)
if n > 0 then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, "You have ".. n .." vip days left.")
doPlayerSetRate(cid, SKILL__LEVEL, 1.25)
end
return true
end