SHARE
TWEET

Untitled

a guest Jul 30th, 2016 34 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. it won't let me edit my latest post so here we go
  2.  
  3. 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.
  4.  
  5.  
  6.  
  7. to check if your telnet port is opened create a new php file name it test.php and post the following code inside 
  8.  
  9. [code]
  10.  
  11. <?php
  12. if(function_exists('fsockopen')) {
  13. echo "fsockopen function is enabled";
  14. }
  15. else {
  16. echo "fsockopen is not enabled";
  17. }
  18. ?>
  19.  
  20. [/code]
  21.  
  22. if it is enabled then go ahead and in the same file paste the following code 
  23.  
  24. [code]
  25.  
  26. $fp = fsockopen(" 31.146.222.161 ", 8085, $errno, $errstr, 30);
  27. if (!$fp) 
  28.     echo "$errstr ($errno)<br />\n";
  29. else 
  30.     echo "Connection established on the selected port 8085"
  31.     
  32. $fp1 = fsockopen(" 31.146.222.161 ", 3443, $errno, $errstr, 30);
  33. if (!$fp1) 
  34.     echo "$errstr ($errno)<br />\n";
  35. else 
  36.     echo "Connection established on the selected port 3443"
  37.  
  38. [/code]
  39.  
  40. 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
  41.  
  42. [code]
  43.  
  44. Console.Enable = 1
  45.  
  46. Ra.Enable = 1
  47.  
  48. Ra.IP = "0.0.0.0" <-- here you can set an unique ip wich will be allowed to execute remote commands
  49.  
  50. Ra.Port = 3443
  51.  
  52. Ra.MinLevel = 3
  53.  
  54. [code]
  55.  
  56. also make sure the account you use for remote access have rank 3
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top