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

Windows Gesior VIPSystem

Status
Not open for further replies.

Natan Beckman

Well-Known Member
Joined
Aug 1, 2010
Messages
548
Reaction score
54
Location
Teresina-PI/Br
PHP:
$buy_player_account->setCustomField('vip_time', '86400' * $buy_offer['days'] + time());
                                                                                        $buy_player_account->setCustomField('vip_time', $player_vip_time +('86400' * $buy_offer['days']));

13:31 You're not a vip player. Your vip has finished in 30 January 1970 22:00:00 and now is 05 October 2010 13:31:21

Why stay that date?
 
remove ' ' around 86400 :p
PHP:
$buy_player_account->setCustomField('vip_time', 86400 * $buy_offer['days'] + time());

$buy_player_account->setCustomField('vip_time', $player_vip_time + 86400 * $buy_offer['days']);

& this code will have to be executed again :p
 
No found ;C

$buy_player_account->setCustomField('vip_time', 86400 * $buy_offer['days'] + time());
$buy_player_account->setCustomField('vip_time', $player_vip_time + 86400 * $buy_offer['days']);

!vipdays

09:13 You're not a vip player. Your vip has finished in 30 January 1970 22:00:00 and now is 06 October 2010 09:13:19
 
I add:

PHP:
$buy_player_account->setCustomField('vip_time', 86400 * $buy_offer['days'] + time());
                                                                                        $buy_player_account->setCustomField('vip_time', $player_vip_time + 86400 * $buy_offer['days'] + time());

I buy 30 days:

!vipdays:
PHP:
09:21 Your vip end in 05 November 2010 10:21:53
/\(correct)/\
I buy + 30 days
!vipdays
PHP:
09:22 Your vip end in 19 January 2038 01:14:07
;C error
 
Show me what returns $player_vip_time.

And you should use

$buy_player_account->setCustomField('vip_time', $player_vip_time + 86400 * $buy_offer['days'] + time());

ONLY!
 
i buy 15 days
i use command !vipdays
16:57 Your vip end in 21 October 2010 17:57:50
i buy + 15 days
i use command !vipdays
16:58 Your vip end in 19 January 2038 01:14:07

=C
 
We can't help you out, if you don't understand English language. Anyway I will try one more time.

Show your whole script please.
 
Status
Not open for further replies.
Back
Top