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

Action [Release] VIP System

I know it's a old topic but I am using tfs 0.2.10 and I get this error

[10/04/2011 17:22:51] Lua Script Error: [Action Interface]
[10/04/2011 17:22:51] data/actions/scripts/vip.lua: onUse
[10/04/2011 17:22:51] data/actions/scripts/vip.lua:6: attempt to call global 'isPlayerVip' (a nil value)
[10/04/2011 17:22:51] stack traceback:
[10/04/2011 17:22:51] [C]: in function 'isPlayerVip'
[10/04/2011 17:22:51] data/actions/scripts/vip.lua:6: in function <data/actions/scripts/vip.lua:4>
 
what should i do??
Warning: [Event::checkScript] Can not load script. /scripts/other/vip.lua
[12/02/2012 01:38:36] data/actions/scripts/other/vip.lua:4: <name> or '...' expected near '5785'
[12/02/2012 01:38:36] Warning: [Event::checkScript] Can not load script. /scripts/other/vip.lua
[12/02/2012 01:38:36] data/actions/scripts/other/vip.lua:4: <name> or '...' expected near '5785'
 
Can u make an item so when u step on it you respawn in VIP City temple when you die? Like Mystic Flame or something :)
 
Make a City, the home city?... use the same portal that makes you citizen on temple of enigma city or incase of rl map, thais one.... isnt very hard... Do by your self, use the search function.
 
Make a City, the home city?... use the same portal that makes you citizen on temple of enigma city or incase of rl map, thais one.... isnt very hard... Do by your self, use the search function.

I'm not a scripter :/
 
Who I see players Vip tome I dont now who tu use the command getPlayerVipDays(cid) -- get player current Vip days left // return days
 
This is the error i get
[01/09/2013 01:19:00] Warning: [Event::checkScript] Can not load script. /scripts/other/vip door.lua
[01/09/2013 01:19:00] cannot open data/actions/scripts/other/vip door.lua: No such file or directory

the vip scroll works perfectly, but I cannot enter the door i did everything like you said but it just says
01:27 Only the worthy may pass.
01:27 You see a gate of expertise for level 4786.
ItemID: [5130], ActionID: [5786], UniqueID: [1000].
 
This is the error i get
[01/09/2013 01:19:00] Warning: [Event::checkScript] Can not load script. /scripts/other/vip door.lua
[01/09/2013 01:19:00] cannot open data/actions/scripts/other/vip door.lua: No such file or directory

the vip scroll works perfectly, but I cannot enter the door i did everything like you said but it just says
01:27 Only the worthy may pass.
01:27 You see a gate of expertise for level 4786.
ItemID: [5130], ActionID: [5786], UniqueID: [1000].


Are you shure that u have the script vip door.lua in action/scripts/other??
 
Ok I fixed it thanks haha common mistake i had the script file labled vipdoor instead of vip door -_-
 
[04/06/2014 09:55:58] Warning: [Event::checkScript] Can not load script. /scripts/vipdoor.lua
[04/06/2014 09:55:58] cannot open data/actions/scripts/vipdoor.lua: No such file or directory
[04/06/2014 09:55:58] Warning: [Event::checkScript] Can not load script. /scripts/vip.lua
[04/06/2014 09:55:58] cannot open data/actions/scripts/vip.lua: No such file or directory
[04/06/2014 09:55:58] Warning: [Event::checkScript] Can not load script. /scripts/firstitems.lua
[04/06/2014 09:55:58] data/creaturescripts/scripts/firstitems.lua:16: 'end' expected (to close 'if' at line 12) near 'else'
[04/06/2014 09:55:58] Warning: [BaseEvents::loadFromXml] Can not open globalevents.xml
[04/06/2014 09:55:58] > ERROR: Unable to load GlobalEVents!
 
oops ! it was a mistake ... but its not working with me :/ ... when i use the vip item it brings me a text field like blysco, and if i try to open the door it says: only the worthy may pass and its a gate of expertise of level 4786 ! please help
 
Lua Script Error: [Action Interface]
data/actions/scripts/vip10.lua:eek:nUse
data/actions/scripts/vip10.lua:6: attempt to call global 'isPlayerVip' (a nil value)
stack traceback:
[C]: in function 'isPlayerVip'
data/actions/scripts/vip10.lua:6: in function <data/actions/scripts/vip10.lua:4>

Lua Script Error: [Action Interface]
data/actions/scripts/vip30.lua:eek:nUse
data/actions/scripts/vip30.lua:6: attempt to call global 'isPlayerVip' (a nil value)
stack traceback:
[C]: in function 'isPlayerVip'
data/actions/scripts/vip30.lua:6: in function <data/actions/scripts/vip30.lua:4>

Lua Script Error: [Action Interface]
data/actions/scripts/vipdoor.lua:eek:nUse
data/actions/scripts/vipdoor.lua:2: attempt to call global 'isPlayerVip' (a nil value)
stack traceback:
[C]: in function 'isPlayerVip'
data/actions/scripts/vipdoor.lua:2: in function <data/actions/scripts/vipdoor.lua:1>

I'm with these errors in TFS .
I use TFS 1.2, Tibia Server 10.82 .
When I use the medals should be to win the VIP it opens a text editor just like a scroll .
 
is there a way to convert this into tfs 1.2?

by use this little sweet collection?
[TFS 1.2] All main interface functions

i have tiny understanding of the script but i can't say i can do it myself..

this seems like the main error on tfs 1.2

Code:
Lua Script Error: [Action Interface]
data/actions/scripts/vipdoor.lua:onUse
data/actions/scripts/vipdoor.lua:2: attempt to call global 'isPlayerVip' (a nil value)
stack traceback:
        [C]: in function 'isPlayerVip'
        data/actions/scripts/vipdoor.lua:2: in function <data/actions/scripts/vipdoor.lua:1>
 
Back
Top