Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Client stuck at 76% / Voting API too many re-directs [HelpRequest]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sly" data-source="post: 397078" data-attributes="member: 72035"><p><span style="font-size: 15px"><strong>The problem is, some users are able to vote, connect normally, but others arent they are either stuck at 76% or they get this error as shown in the picture below this sentence.</strong></span></p><p><span style="font-size: 15px"></span></p><p><img src="https://s30.postimg.org/jlqwqadn5/Toomany.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>I know the voting API is causing this I'll post my voting script here could someone please assist me if there is anything wrong.</p><p><strong><span style="color: #ff4d4d">Things I've done;</span></strong></p><p>forcevote.php is included in /client.php</p><p>FindRetros after voting is set to = <a href="https://robbo.pw/client?voted" target="_blank">https://robbo.pw/client?voted</a></p><p></p><p>forcevote.php script is done like this;</p><p>If this code is wrong, could someone please write me a proper clean script so I can use in my forcevote.php all help is appreciated</p><p>[PHP]<?php</p><p>if(isset($_GET['voted'])) {</p><p>}</p><p>else {</p><p>$userip = "{$_SERVER['REMOTE_ADDR']}";</p><p>$current_url = substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1);</p><p>$url = 'http://votingapi.com/validate.php?user=robbo&ip=' . $userip;</p><p>$context = stream_context_create(array('http' => array('timeout' => 1)));</p><p>$data = @file_get_contents($url, 1, $context);</p><p>if(!$data || !is_numeric($data)) {</p><p>return "Error";</p><p>}</p><p>else if ($data == 1 || $data == 2) {</p><p>}</p><p>else {</p><p>header ("Location: http://votingapi.com/vote.php?username=robbo&api=http:!!robbo.pw!index?novote");</p><p>exit;</p><p>}</p><p>}</p><p>?>[/PHP]</p><p></p><p><span style="font-size: 15px"><strong>I have posted a smiliar problem like this previously please don't get confused, the issue was not resolved.</strong></span></p><p><span style="font-size: 15px"><strong>And please read every thing I've wrote in detail so that you are aware of the problem.. all help/support is kindly appreciated. </strong></span></p><p></p><p>Please also do not hesitate to ask me for any information about this problem, anything that I havent included.</p></blockquote><p></p>
[QUOTE="Sly, post: 397078, member: 72035"] [SIZE=4][B]The problem is, some users are able to vote, connect normally, but others arent they are either stuck at 76% or they get this error as shown in the picture below this sentence.[/B] [/SIZE] [IMG]https://s30.postimg.org/jlqwqadn5/Toomany.png[/IMG] I know the voting API is causing this I'll post my voting script here could someone please assist me if there is anything wrong. [B][COLOR=#ff4d4d]Things I've done;[/COLOR][/B] forcevote.php is included in /client.php FindRetros after voting is set to = [URL]https://robbo.pw/client?voted[/URL] forcevote.php script is done like this; If this code is wrong, could someone please write me a proper clean script so I can use in my forcevote.php all help is appreciated [PHP]<?php if(isset($_GET['voted'])) { } else { $userip = "{$_SERVER['REMOTE_ADDR']}"; $current_url = substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); $url = 'http://votingapi.com/validate.php?user=robbo&ip=' . $userip; $context = stream_context_create(array('http' => array('timeout' => 1))); $data = @file_get_contents($url, 1, $context); if(!$data || !is_numeric($data)) { return "Error"; } else if ($data == 1 || $data == 2) { } else { header ("Location: http://votingapi.com/vote.php?username=robbo&api=http:!!robbo.pw!index?novote"); exit; } } ?>[/PHP] [SIZE=4][B]I have posted a smiliar problem like this previously please don't get confused, the issue was not resolved.[/B] [B]And please read every thing I've wrote in detail so that you are aware of the problem.. all help/support is kindly appreciated. [/B][/SIZE] Please also do not hesitate to ask me for any information about this problem, anything that I havent included. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Client stuck at 76% / Voting API too many re-directs [HelpRequest]
Top