Convoy Trucking

Server related => Help => Topic started by: Bonito[CZ] on July 26, 2013, 11:05

Title: Police test
Post by: Bonito[CZ] on July 26, 2013, 11:05
Security alert: You cannot do police test with this IP. Use the same IP you use in-game or join server to update your IP data.  This i see when i want do police test pease, i don't know what do with it. :( Help me.
Title: Re: Police test
Post by: Bruno_2MLG4CT on July 26, 2013, 11:09
First join in game then join on convoytrucking.net so the IPs will match.
Title: Re: Police test
Post by: Bonito[CZ] on July 26, 2013, 11:30
How this show me this :(

Basic knowledge test

Cadet name: Bonito[CZ]
score: 105
ip:  no

Answer all questions correctly to pass the test. Any mistake will fail the test, so check your answers carefully. There is no time limit for the test. You need to answer the questions by yourself, asking for answers is not accepted.
If you are not familiar with police rules, read this first.
Fatal error: Call to undefined function session_register() in /home/mick88/public_html/policetest.php on line 185
Title: Re: Police test
Post by: TheSandman on July 26, 2013, 11:36
You have to use the same IP you use on the server, as you do your test. Login to the server, go afk, alt-tab, open your browser, go to convoytrucking.net and do your police test, there should be no issue with this.

Your forum IP is the same as your website + server IP.
Title: Re: Police test
Post by: Bonito[CZ] on July 26, 2013, 11:41
i have same Ip,but nothing :( I do allthing,but nothing do. :(
Title: Re: Police test
Post by: TheSandman on July 26, 2013, 11:46
Do you get the same as this?
(http://i.imgur.com/dI5pyxJ.png)
If you do, it means theres a problem on the website, i will talk to mick about it.
Title: Re: Police test
Post by: Bonito[CZ] on July 26, 2013, 11:50
yes this, it is show me
Title: Re: Police test
Post by: Joshy on July 26, 2013, 12:30
session_register() is a now-removed function in PHP, since Volt has updated the webserver to PHP 5.4. Use $_SESSION instead, make sure to session_start() beforehand however so the session is correct initiated.
Title: Re: Police test
Post by: Bonito[CZ] on July 26, 2013, 15:56
What ?  :o
Title: Re: Police test
Post by: Bonito[CZ] on July 26, 2013, 16:01
How do it ?
Title: Re: Police test
Post by: Joshy on July 26, 2013, 17:40
Mick needs to change the police test code, we can't do anything :/
Title: Re: Police test
Post by: Dobby on July 26, 2013, 17:49
Quote from: Joshy on July 26, 2013, 17:40
Mick needs to change the police test code, we can't do anything :/

Sorry for posting if i'm not supposed to. But Konali has done the test IG with somebody before, i'm guessing he's used commands to allow him to gain Police badge

http://www.forum.convoytrucking.net/index.php/topic,39125.msg225499.html#msg225499

Can you not do the same @Admins?
Title: Re: Police test
Post by: TheSandman on July 27, 2013, 03:29
You could, but its too much hassle finding the time to both be ingame, thats me personally, id rather fix the problem than have to keep doing this over and over.
Title: Re: Police test
Post by: R16RACA on July 28, 2013, 01:19
apologies if this is not supposed to be here, but temporarily (until it is fixed) could you not create a test online and then every 12 hours or so manually add people who pass? (this saves both player and admin being IG at the same time)