• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

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

but, how can i put this part on sqlitestudio

ALTER TABLE `accounts` ADD
`vipdays` int(11) NOT NULL DEFAULT 0;
 
omgh

[04/06/2010 13:37:36] mysql_real_query(): SELECT `vipdays` FROM `accounts` WHERE `id` = 2 LIMIT 1 - MYSQL ERROR: Unknown column 'vipdays' in 'field list' (1054)

[04/06/2010 13:37:36] [Error - GlobalEvent Interface]
[04/06/2010 13:37:36] data/globalevents/scripts/vipEffect.lua:eek:nThink
[04/06/2010 13:37:36] Description:
[04/06/2010 13:37:36] data/lib/004-database.lua:60: [Result:getDataInt] Result not set!
[04/06/2010 13:37:36] stack traceback:
[04/06/2010 13:37:36] [C]: in function 'error'
[04/06/2010 13:37:36] data/lib/004-database.lua:60: in function 'getDataInt'
[04/06/2010 13:37:36] data/lib/050-function.lua:667: in function 'getPlayerVipDays'
[04/06/2010 13:37:36] data/globalevents/scripts/vipEffect.lua:4: in function <data/globalevents/scripts/vipEffect.lua:1>
[04/06/2010 13:37:36] [Error - GlobalEvents::think] Couldn't execute event: vipEffect
[04/06/2010 13:37:39] mysql_real_query(): SELECT `vipdays` FROM `accounts` WHERE `id` = 2 LIMIT 1 - MYSQL ERROR: Unknown column 'vipdays' in 'field list' (1054)


wtf , what i did wrong?
I have version 0.3.6 (Crying Damson).
 
Last edited:
[04/06/2010 13:37:36] mysql_real_query(): SELECT `vipdays` FROM `accounts` WHERE `id` = 2 LIMIT 1 - MYSQL ERROR: Unknown column 'vipdays' in 'field list' (1054)

[04/06/2010 13:37:36] [Error - GlobalEvent Interface]
[04/06/2010 13:37:36] data/globalevents/scripts/vipEffect.lua:eek:nThink
[04/06/2010 13:37:36] Description:
[04/06/2010 13:37:36] data/lib/004-database.lua:60: [Result:getDataInt] Result not set!
[04/06/2010 13:37:36] stack traceback:
[04/06/2010 13:37:36] [C]: in function 'error'
[04/06/2010 13:37:36] data/lib/004-database.lua:60: in function 'getDataInt'
[04/06/2010 13:37:36] data/lib/050-function.lua:667: in function 'getPlayerVipDays'
[04/06/2010 13:37:36] data/globalevents/scripts/vipEffect.lua:4: in function <data/globalevents/scripts/vipEffect.lua:1>
[04/06/2010 13:37:36] [Error - GlobalEvents::think] Couldn't execute event: vipEffect
[04/06/2010 13:37:39] mysql_real_query(): SELECT `vipdays` FROM `accounts` WHERE `id` = 2 LIMIT 1 - MYSQL ERROR: Unknown column 'vipdays' in 'field list' (1054)


wtf , what i did wrong?
I have version 0.3.6 (Crying Damson).

Missing column vipdays in accounts table.
 
Code:
ALTER TABLE `accounts` ADD `vipdays` INT(11);
 
Tnx Man
I got 2 problem -.-
If i click on medal of honour it says : We added 30 days vip...
And if i try to open vip door , it says : ONLY VIP account can go there.
But im vip ? :O
Second problem
If i log in i don't see how much vip days left.
How i can fix this problem?
 
Last edited:
I have 1 question for you. When off server ( i have debian system and kill proces) in days reset herself ? And where save informations in days for all players. Ohh and sorry have additional questions. Is the days run away even as you are not logged in. Sorry in my bad English.
 
I got 2 problem -.-
If i click on medal of honour it says : We added 30 days vip...
And if i try to open vip door , it says : ONLY VIP account can go there.
But im vip ? :O
Second problem
If i log in i don't see how much vip days left.
How i can fix this problem?
 
This is normal?? appear when character login, but all is perfect, only have this dude

Code:
[05/06/2010 14:04:09] mysql_real_query(): SELECT `vip_time` FROM `accounts` WHERE `name` = 'Nightshae'; - MYSQL ERROR: Unknown column 'vip_time' in 'field list' (1054)
[05/06/2010 14:04:09] mysql_real_query(): SELECT `vip_time` FROM `accounts` WHERE `name` = 'Nightshade'; - MYSQL ERROR: Unknown column 'vip_time' in 'field list' (1054)
[05/06/2010 14:04:09] mysql_real_query(): SELECT `vip_time` FROM `accounts` WHERE `name` = 'Nighsthade'; - MYSQL ERROR: Unknown column 'vip_time' in 'field list' (1054)
 
lol that must be another script that you installed, I did not made a script with a query with column 'vip_time'
 
Is there any way to add vip days on an offline player?
 
Last edited:
Back
Top Bottom