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

Web Free Premium Account??

kof3000

New Member
Joined
Sep 5, 2012
Messages
7
Reaction score
0
Hi

every account created on the site is Free Premium Account??

Why?

already change


Config.Lua

freePremium = no
premiumForPromotion = true

"C:\xampp\htdocs\config\config.Lua"

$config['site']['newaccount_premdays'] = 0; // how many days receive new account

help????
 
Check account table if there is a column with premium days, or might be called premend, if so set it to 0
 
Is there nothing related to premium? Not sure on the correct string since I do not know which server you are using
 
What use modern or gesior doubt why this
freePremium = no
premiumForPromotion = true
???
you use false not - NO in config.lua
Code:
freePremium = false
premiumForPromotion = true
 
What use modern or gesior doubt why this
freePremium = no
premiumForPromotion = true
???
you use false not - NO in config.lua
Code:
freePremium = false
premiumForPromotion = true

Changed to false

freePremium = false

But still Free Premium Account in new account.
 
browse accounts table for premdays column, check if values are 0 or greater
Yes. It´s OK.

I realized a test during the game and it´s OK - "Free Account". But the site status is wrong "Free Premium Account"

How can I change that?
 
Last edited:
edit the aac functions maybe - isPremium?

I found this in accountmanagement.php but I don´t know if is wrong or not.

if($action == "")
{
$account_reckey = $account_logged->getRecoveryKey();
if(!$account_logged->isPremium())
$account_status = '<strong><font color="green">Premium Account Grátis</font></strong>';
else
$account_status = '<strong><font color="green">Premium Account, '.$account_logged->getPremDays().' days left</font></strong>';
if(empty($account_reckey))
$account_registred = '<strong><font color="red">No</font></strong>';
else
if($config['site']['generate_new_reckey'] && $config['site']['send_emails'])
$account_registred = '<strong><font color="green">Yes&nbsp;(<a href="?subtopic=accountmanagement&action=newreckey">Buy new Rec key</a>)</font></strong>';
else
$account_registred = '<strong><font color="green">Yes</font></strong>';
$account_created = $account_logged->getCreated();
$account_email = $account_logged->getEMail();
$account_email_new_time = $account_logged->getCustomField("email_new_time");
if($account_email_new_time > 1)
$account_email_new = $account_logged->getCustomField("email_new");
$account_rlname = $account_logged->getRLName();
$account_location = $account_logged->getLocation();
 
Back
Top