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

[Gesior ACC] Tutor Test => Rewritten

Status
Not open for further replies.
If you have too many refresh, script blocks your account for 7 days.
 
If you have too many refresh, script blocks your account for 7 days.

It is happen always...
In my first time I try do this test =/
with all accounts XP

and when I change in database "block = 0" and "refresh = 0" xP
 
search in *.php
PHP:
if((time() - $_SESSION['time']) > 300 && $_SESSION['time'] > 0)
-- and change 300 to your time in seconds
and in countTime.js search
Code:
mm = when.getMinutes()+5;
-- and change +5 to +your_time_in_minutes

remember that in *.php and *.js must be the same time
 
WoW ? Are you master of code?
Maybe this:
PHP:
	if(!function_exists('isPremium'))
	{
		function isPremium($premdays, $lastday)
		{
			return (int) $premdays - floor((time() - $lastday) / 86400);
		}
	}

[size=+1]Thanks Victor :D[/size]

You're welcome. If you wanna, thing about move your fields to new table. The question-answer array is not good, too.
 
You're welcome. If you wanna, thing about move your fields to new table. The question-answer array is not good, too.

In first version question was in mysql, but array for newbie is more friendly.
If you want have questions and answers in mysql table, you will make your script.


I know that my english is very bad.
 
Last edited:
averatec can you read the pm I sent for you and answer the most faster you can? I rly need help xP

Thank you!
 
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'refresh' in 'field list'' in C:\xampp\htdocs\pot\OTS_Account.php:610 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Account.php(610): PDO->query('SELECT `refresh...') #1 C:\xampp\htdocs\test.php(56): OTS_Account->getCustomField('refresh') #2 C:\xampp\htdocs\index.php(220): include('C:\xampp\htdocs...') #3 {main} thrown in C:\xampp\htdocs\pot\OTS_Account.php on line 610

hmm?
 
You haven't field refresh in table accounts...
 
As other people have stated, I continuously get this error.

You haven't access to this page, reasons:

Too many refreshes.

I can set block = 0 and refresh = 0 in database, reload page, pick char and answer the questions, click submit, and too many refreshes. Every time.
 
It's your fault. I tested the script on many servers and script works fine.
 
It's an awesome idea but the time system can be easily bypassed :S
 
Status
Not open for further replies.

Similar threads

Back
Top