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
Hide IP with Javascript
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="uttmmmm5" data-source="post: 426498" data-attributes="member: 68424"><p>Hey there,</p><p>I saw something in the HoloRP Cms and i have a question about it.</p><p>[CODE]<?php</p><p></p><p> $hosts = array(</p><p> 'ip:port',</p><p> 'ipb:port',</p><p> //'ipc:port',</p><p> //'ipd:portb',</p><p> //'ipe:port'</p><p> );</p><p> </p><p> $wshosts = array(</p><p> 'ip:sport',</p><p> 'ipb:sport',</p><p> //'ipc:sport'</p><p> //'ipe:sport'</p><p> );</p><p> </p><p> </p><p> $host = explode(":", $hosts[array_rand($hosts)], 2);</p><p> $wshost = explode(":", $wshosts[array_rand($wshosts)], 2);</p><p></p><p>?>[/CODE]</p><p>this is on the top of client.php</p><p></p><p>[CODE]"connection.info.host" : <?= $host[0]; ?>,</p><p>"connection.socket.host" : <?= $wshost[0]; ?>,</p><p>"connection.info.port" : <?= $host[1]; ?>,</p><p>"connection.socket.port" : <?= $wshost[1]; ?>,[/CODE]</p><p></p><p>and this is in flashvars section in client.php</p><p></p><p>Now my question: Is it possible to say, that the server should connect everytime with "ip : port" but always show in the client.php file the fake-informations from "ipb : port" ?</p><p></p><p>Best Regards</p></blockquote><p></p>
[QUOTE="uttmmmm5, post: 426498, member: 68424"] Hey there, I saw something in the HoloRP Cms and i have a question about it. [CODE]<?php $hosts = array( 'ip:port', 'ipb:port', //'ipc:port', //'ipd:portb', //'ipe:port' ); $wshosts = array( 'ip:sport', 'ipb:sport', //'ipc:sport' //'ipe:sport' ); $host = explode(":", $hosts[array_rand($hosts)], 2); $wshost = explode(":", $wshosts[array_rand($wshosts)], 2); ?>[/CODE] this is on the top of client.php [CODE]"connection.info.host" : <?= $host[0]; ?>, "connection.socket.host" : <?= $wshost[0]; ?>, "connection.info.port" : <?= $host[1]; ?>, "connection.socket.port" : <?= $wshost[1]; ?>,[/CODE] and this is in flashvars section in client.php Now my question: Is it possible to say, that the server should connect everytime with "ip : port" but always show in the client.php file the fake-informations from "ipb : port" ? Best Regards [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Hide IP with Javascript
Top