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

The best VIP system ever! [Action/Movevent/Globalevent]

Hello, I get this error, any idea?

Code:
[Error - Action Interface]
data/actions/scripts/vipmedal.lua:onUse
Description:
data/lib/050-function.lua:13: attempt to call field 'executeQuery' (a nil value)
stack traceback: 
data/lib/050-function.lua:13: in function 'doAddVipDays' 
data/actions/scripts/vipmedal.lua:6: in function <data/actions/scripts/vipmedal.lua:2>

Solved! Remove the line on 100-compact.lua:

db.executeQuery = db.query
 
Last edited:
im sry but igot BUG Error during getDataInt(vipdays). can someone help me
 
you can do everything already with the built-in premium system 😰

should i put a request or can you eaplain the details here?
what do you mean by built-in premium system?

automatic day remover/count
vip door or tile
vip medal (or whatever i configure)
talk action to see days left

all of those functions in this tfs 1.2 built-in premium system?
 
should i put a request or can you eaplain the details here?
what do you mean by built-in premium system?

automatic day remover/count
vip door or tile
vip medal (or whatever i configure)
talk action to see days left

all of those functions in this tfs 1.2 built-in premium system?

by built-in premium system, I mean the tibia premium account system, yes it already supports day remover, premium door or tile, days left are displayed on character select window, and the medal you can use this
 
by built-in premium system, I mean the tibia premium account system, yes it already supports day remover, premium door or tile, days left are displayed on character select window, and the medal you can use this
isnt it gonna mess up most of the stuff?

i mean, premium spells, premium offline trainner, premium outfits + addons, promotion..
all those exclusive to premium accounts. all i need give access to VIP town via door and tp and few more privileges.
 
isnt it gonna mess up most of the stuff?

i mean, premium spells, premium offline trainner, premium outfits + addons, promotion..
all those exclusive to premium accounts. all i need give access to VIP town via door and tp and few more privileges.
?
 
isnt it gonna mess up most of the stuff?

i mean, premium spells, premium offline trainner, premium outfits + addons, promotion..
all those exclusive to premium accounts. all i need give access to VIP town via door and tp and few more privileges.
just set them to free account
 
1) You shouldnt use a globalevent to remove VIP days. It should be done with os.time()
2) Add another table in your database that whenever a player enters or leaves a VIP area the value is changed. That way you can teleport non-vip players only if they are in a VIP area.
 
[05/03/2020 17:13:47] [Error - Action Interface]
[05/03/2020 17:13:47] data/actions/scripts/vipmedal.lua:eek:nUse
[05/03/2020 17:13:47] Description:
[05/03/2020 17:13:47] data/lib/050-function.lua:13: attempt to call field 'Query' (a nil value)
[05/03/2020 17:13:47] stack traceback:
[05/03/2020 17:13:47] data/lib/050-function.lua:13: in function 'doAddVipDays'
[05/03/2020 17:13:47] data/actions/scripts/vipmedal.lua:6: in function <data/actions/scripts/vipmedal.lua:2>

help pls xD
 
[05/03/2020 17:13:47] [Error - Action Interface]
[05/03/2020 17:13:47] data/actions/scripts/vipmedal.lua:eek:nUse
[05/03/2020 17:13:47] Description:
[05/03/2020 17:13:47] data/lib/050-function.lua:13: attempt to call field 'Query' (a nil value)
[05/03/2020 17:13:47] stack traceback:
[05/03/2020 17:13:47] data/lib/050-function.lua:13: in function 'doAddVipDays'
[05/03/2020 17:13:47] data/actions/scripts/vipmedal.lua:6: in function <data/actions/scripts/vipmedal.lua:2>

help pls xD
SQL:
ALTER TABLE `accounts` ADD
`vipdays` int(11) NOT NULL DEFAULT 0;

add this to your database
 
Back
Top