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

how show VIP TIME on login account?

beenii

Well-Known Member
Joined
Jul 26, 2010
Messages
580
Solutions
1
Reaction score
57
-- account
if account.premDays > 0 and account.premDays < 65535 then
accountStatusLabel:setText(tr("Premium Account (%s) days left", account.premDays))
elseif account.premDays >= 65535 then
accountStatusLabel:setText(tr("Lifetime Premium Account"))
else
accountStatusLabel:setText(tr('Free Account'))
end

if account.premDays > 0 and account.premDays <= 7 then
accountStatusLabel:setOn(true)
else
accountStatusLabel:setOn(false)
end
end


how change name of table premium? for show vip time here
 
Idk how OTC handles premium days, but try to just send the vip days insted of premium days.
If they handle spells like flash you will run into some issues, but otherwise it would be fine and not require any changes to OTC itself.
Otherwise add a new parser to OTC and a sender from TFS to send vip days (make sure that the hex isen't taken before)
 
Back
Top