Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it won't let me edit my latest post so here we go
- that's because you wrote a wrong Remote Access port , 8085 is your worldserver port , telnet port is 3443 , fsockopen is a telnet function. But idk what does that have anything to do with the postback vote script that script only check if vote site send you a $_GET or $_POST value wich can be either your player username or id.
- to check if your telnet port is opened create a new php file name it test.php and post the following code inside
- [code]
- <?php
- if(function_exists('fsockopen')) {
- echo "fsockopen function is enabled";
- }
- else {
- echo "fsockopen is not enabled";
- }
- ?>
- [/code]
- if it is enabled then go ahead and in the same file paste the following code
- [code]
- $fp = fsockopen(" 31.146.222.161 ", 8085, $errno, $errstr, 30);
- if (!$fp)
- echo "$errstr ($errno)<br />\n";
- else
- echo "Connection established on the selected port 8085"
- $fp1 = fsockopen(" 31.146.222.161 ", 3443, $errno, $errstr, 30);
- if (!$fp1)
- echo "$errstr ($errno)<br />\n";
- else
- echo "Connection established on the selected port 3443"
- [/code]
- this code will show if connection can be stablished on the given ip and ports , make sure that those ports are enabled and you have set in the worldserver.conf the following
- [code]
- Console.Enable = 1
- Ra.Enable = 1
- Ra.IP = "0.0.0.0" <-- here you can set an unique ip wich will be allowed to execute remote commands
- Ra.Port = 3443
- Ra.MinLevel = 3
- [code]
- also make sure the account you use for remote access have rank 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement