• 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.
It's your fault. I tested the script on many servers and script works fine.

I've got everything from your first post, space for space. I set passed, block, refresh = 0 for my account in sql. I load my webpage, login, and go to ?subtopic=team. It starts a timer from 5 minutes, displays an option to pick what character, and the default questions (I didn't add questions yet, not until it works good for me). I answered all the default questions correctly, clicked submit, and it says "Too many refreshes."

I repeated the same process for a new account that does not have a GOD character and got the SAME error.

What did I do wrong?
 
Code:
   $question[1] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    $answer[1][1] = array("xxxxxx", 0);
    $answer[1][2] = array("xxxxxx", 0);
    $answer[1][3] = array("xxxxxx", 0);
    $answer[1][4] = array("xxxxxx", 1);
    $answer[1][5] = array("xxxxxx", 0);
    $answer[1][6] = array("xxxxxx", 0);

    $question[2] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    $answer[2][1] = array("xxxxxxxxxxxx", 0);
    $answer[2][2] = array("xxxxxxxxxxxx", 0);
    $answer[2][3] = array("xxxxxxxxxxxx", 1);

    $question[3] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?.";
    $answer[3][1] = array("xxxxxxxxxx", 1);
    $answer[3][2] = array("xxxxxxxxxx", 0);
    $answer[3][3] = array("xxxxxxxxxx", 0);
    $answer[3][4] = array("xxxxxxxxxx", 0);

    $question[4] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?";
    $answer[4][1] = array("xxx", 1);
    $answer[4][2] = array("xxx", 0);

    $question[5] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?";
    $answer[5][1] = array("xxxxxxxx", 0);
    $answer[5][2] = array("xxxxxxxx", 0);
    $answer[5][3] = array("xxxxxxxx".", 0);
    $answer[5][4] = array("xxxxxxxx".", 1);

    $question[6] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    $answer[6][1] = array("xxxxxx", 1);
    $answer[6][2] = array("xxxxxx", 0);
    $answer[6][3] = array("xxxxxx", 0);
    $answer[6][4] = array("xxxxxx", 0);


Its didn't work... why?
 
I've got everything from your first post, space for space. I set passed, block, refresh = 0 for my account in sql. I load my webpage, login, and go to ?subtopic=team. It starts a timer from 5 minutes, displays an option to pick what character, and the default questions (I didn't add questions yet, not until it works good for me). I answered all the default questions correctly, clicked submit, and it says "Too many refreshes."

I repeated the same process for a new account that does not have a GOD character and got the SAME error.

What did I do wrong?

I'm having the same problem -.-"
 
Code:
   $question[1] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    $answer[1][1] = array("xxxxxx", 0);
    $answer[1][2] = array("xxxxxx", 0);
    $answer[1][3] = array("xxxxxx", 0);
    $answer[1][4] = array("xxxxxx", 1);
    $answer[1][5] = array("xxxxxx", 0);
    $answer[1][6] = array("xxxxxx", 0);

    $question[2] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    $answer[2][1] = array("xxxxxxxxxxxx", 0);
    $answer[2][2] = array("xxxxxxxxxxxx", 0);
    $answer[2][3] = array("xxxxxxxxxxxx", 1);

    $question[3] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?.";
    $answer[3][1] = array("xxxxxxxxxx", 1);
    $answer[3][2] = array("xxxxxxxxxx", 0);
    $answer[3][3] = array("xxxxxxxxxx", 0);
    $answer[3][4] = array("xxxxxxxxxx", 0);

    $question[4] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?";
    $answer[4][1] = array("xxx", 1);
    $answer[4][2] = array("xxx", 0);

    $question[5] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?";
    $answer[5][1] = array("xxxxxxxx", 0);
    $answer[5][2] = array("xxxxxxxx", 0);
    $answer[5][3] = array("xxxxxxxx".", 0);
    $answer[5][4] = array("xxxxxxxx".", 1);

    $question[6] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    $answer[6][1] = array("xxxxxx", 1);
    $answer[6][2] = array("xxxxxx", 0);
    $answer[6][3] = array("xxxxxx", 0);
    $answer[6][4] = array("xxxxxx", 0);


Its didn't work... why?

I fixed my bug. In anwer and in questions can't be word in ""
 
Sorry for dubble post. Can't edit.

I got new error. when i make my test corect than i got this anwer:


Code:
You haven't access to this page, reasons:

    * Too many refreshes.

Any idea??
 
Read the posts up and don't spamming. Your acc has blocked to 7 days... You can change it in db MySql
Code:
blocked = ""
to "0"
 
hey averatec can you tell me how can I change too the account group_ip to the tutor positio ID if I pass in this test?
 
Changing $refresh_to_block=2; -> $refresh_to_block=3; worked.

Also note:

Line 249: (tutor)
PHP:
$main_content .= '<br><a href="index.php?subtopic=tutor&adm=clean">[CLEAN]</a><br>';
Should be: (test)
PHP:
$main_content .= '<br><a href="index.php?subtopic=test&adm=clean">[CLEAN]</a><br>';
since you said to name it test.php.
 
I can't edit post, because my account donor is over.
 
if somebody want...find it:
if($num['num'] >= $number_of_tutors && $account_logged->getCustomField("passed") != 1)
{
$errors[] = 'Too many tutors are now.';
}
if(isPremium($account_logged->getCustomField("premdays"), $account_logged->getCustomField("lastday")) < $premium && $account_logged->getCustomField("passed") != 1)
{
$errors[] = 'You do not have '.$premium.' days premium account.';
}
and change to it:
if($num['num'] >= $number_of_tutors && $account_logged->getCustomField("passed") != 1)
{
$errors[] = 'Too many tutors are now.';
}
if($account_logged->getCustomField("warnings") > 0)
{
$errors[] = "You must have no criminal records to make this test.";
}
if(isPremium($account_logged->getCustomField("premdays"), $account_logged->getCustomField("lastday")) < $premium && $account_logged->getCustomField("passed") != 1)
{
$errors[] = 'You do not have '.$premium.' days premium account.';
}
This will check if the player who are trying to make this test has been banished any time...if not, he can make the test. If yes, he will receive an error msg like that:
You haven't access to this page, reasons:

* You must have no criminal records to make this test.
 
Status
Not open for further replies.

Similar threads

Back
Top