IPB

Welcome Guest ( Log In | Register )

2 Pages  1 2 > 

Outline · [ Standard ] · Linear+

 Hop In Rj!

*HAMSTAR*
post Dec 13 2009, 11:51 PM
Post #1


Master


Group: -=RJ=-Clan
Posts: 456
Joined: 20-August 03
From: Kashyyyk
Member No.: 49



Alright guys and gals I am going to try to frequent the server periodically throughout the day as much as I can. I've been doing it the past few days. I usually just open the game in a separate window and slide it into my vacant monitor and surf the web etc. etc. while I wait for players.

Anyways if anyone is wondering, I'd say the best time to catch me on the server would be around 9PM-11PM EST. I'll try to be on the server at that time everyday. Otherwise I'll pop in from time to time when I get a chance during the day.

Hope to see you all there! smile.gif


--------------------
user posted image
<<~**/-/amstaR**~>>
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Dec 14 2009, 12:26 PM
Post #2


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



QUOTE(*HAMSTAR* @ Dec 13 2009, 11:51 PM)
Alright guys and gals I am going to try to frequent the server periodically throughout the day as much as I can. I've been doing it the past few days. I usually just open the game in a separate window and slide it into my vacant monitor and surf the web etc. etc. while I wait for players.

Anyways if anyone is wondering, I'd say the best time to catch me on the server would be around 9PM-11PM EST. I'll try to be on the server at that time everyday. Otherwise I'll pop in from time to time when I get a chance during the day.

Hope to see you all there!  smile.gif
*




Let me see if I have it all installed ok... I think I still do... somewhere....

R


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LPDarkJedi583
post Dec 15 2009, 05:40 PM
Post #3


Master


Group: Members
Posts: 183
Joined: 20-January 04
From: Farmingdale, NY
Member No.: 98



I found you on the random day when i reinstalled it since then i've yet to see you Hammy


--------------------
user posted image
Forfeit the game / Before somebody else
Takes you out of the frame / Puts your name to shame
Cover up your face / You can’t run the race
The pace is too fast / You just won't last
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Dec 23 2009, 01:45 PM
Post #4


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



Will search for CDs next week (away for holidays).

Until then, Oobawanga to you!


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Jan 4 2010, 04:57 PM
Post #5


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



Hey.... looking for my own little fix here... and looking for the server IP.... anyone know it offhand?

R


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JayBaen
post Jan 4 2010, 06:29 PM
Post #6


Lord


Group: Admin
Posts: 1,073
Joined: 13-June 03
From: Atlanta, GA
Member No.: 3



FYI - just checked, it's on the in-game list (at least for me ... let me know if you and/or others still don't see it) as -=RJ=- Clan Classic (173.15.218.91)

JB


--------------------
Yellow Is Golden

DelphiGT

"There's nothing in this universe that can't be explained. Eventually." -- House, M.D.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Jan 7 2010, 11:19 PM
Post #7


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



Hey...

could you send me the code for the php server tracker? I am a little interested in it (and also was wondering if we could get it working again).

Also:

this URL will work in a pinch:

http://www.jeditracker.com/ja/online.pl?ip...d&window=333333

or

LINK

The below will work too:

<!--Start JAcker Code-->
<IFRAME SRC='http://www.jeditracker.com/ja/tracker.pl?ipaddress=173.15.218.91&port=28070&bgcolor=#ffffff&titlebar=#000000&display=#888888&window=#444444&language=' WIDTH='450' HEIGHT='170' FRAMEBORDER='0' MARGINWIDTH='0' MARGINHEIGHT='0' SCROLLING='no'></IFRAME>
<!--End JAcker Code-->


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JayBaen
post Jan 8 2010, 01:03 PM
Post #8


Lord


Group: Admin
Posts: 1,073
Joined: 13-June 03
From: Atlanta, GA
Member No.: 3



By the way - fun time the other night Rugg and Ham. It's like riding a bicyle.

Also, I believe the bit of code that's not working here on our site is because of the current hosting provider not allowing the query. /methinks I'm going to move the hosting back which should solve that problem ... but, I'm happy to have you take a look and see if there's even (possibly) another method of query that may work.

SOMEONE WAKE THE SLEEPING LIZARD and see if he wants to take a stab, too.

JB


--------------------
Yellow Is Golden

DelphiGT

"There's nothing in this universe that can't be explained. Eventually." -- House, M.D.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Jan 8 2010, 01:12 PM
Post #9


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



QUOTE(JayBaen @ Jan 8 2010, 01:03 PM)
By the way - fun time the other night Rugg and Ham.  It's like riding a bicyle.

Also, I believe the bit of code that's not working here on our site is because of the current hosting provider not allowing the query.  /methinks I'm going to move the hosting back which should solve that problem ... but, I'm happy to have you take a look and see if there's even (possibly) another method of query that may work.

SOMEONE WAKE THE SLEEPING LIZARD and see if he wants to take a stab, too.

JB
*




that would be great... could you email it to me or something of the ilk?

R



--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JayBaen
post Jan 8 2010, 01:20 PM
Post #10


Lord


Group: Admin
Posts: 1,073
Joined: 13-June 03
From: Atlanta, GA
Member No.: 3



Here you go. I can take no credit - this was all the Lizard Boy

CODE

<?php

$server_ip = '173.15.218.91';
$server_port = '28070';

$server_ip_jk3 = '173.15.218.91';
$server_port_jk3 = '29070';

$server_data = QueryServer($server_ip, $server_port);
$variables = GetServerVariables($server_data);
$players = GetPlayers($server_data);

$server_data_jk3 = QueryServer($server_ip_jk3, $server_port_jk3);
$variables_jk3 = GetServerVariables($server_data_jk3);
$players_jk3 = GetPlayers($server_data_jk3);

function QueryServer($server_address, $server_port) {
   $command = "\xFF\xFF\xFF\xFFgetstatus\n";

   if (!$socket = fsockopen("udp://$server_address", $server_port)) {
       echo "Error:  Could not establish a connection to $server_address";
       return false;
   }

   stream_set_blocking($socket, true);
   stream_set_timeout($socket, 0, 1000000);
   fwrite($socket, $command, strlen($command));

   do {
       $server_data .= fgetc($socket);
       $socket_status = socket_get_status($socket);
   } while ($socket_status["unread_bytes"]);
       fclose($socket);
   
   if (strlen($server_data) > 20) {
       $server_data = substr($server_data, 20);
   } else {
       return false;
   }

   $color_code = array('^0', '^1', '^2', '^3', '^4', '^5', '^6', '^7');
   $server_data = str_replace($color_code, '', $server_data);

   return $server_data;
}

function GetServerVariables($server_data) {
   $variables = substr($server_data, 0, strpos($server_data, "\n")) . "\\";

   $key = strtok($variables, "\\");
   $value = strtok("\\");

   $server_vars = array();

   while (strlen($key)) {
       $server_vars[$key] = $value;
       $key = strtok("\\");
       $value = strtok("\\");
   }
   return $server_vars;
}

function GetPlayers($server_data) {
   $players = substr($server_data, strpos($server_data, "\n") + 1);
   $players = substr($players, 0, strlen($players) - 1);

   $player_count = 0;

   if (strlen($players)) {
       $players = explode("\n", $players);
       while (list($key, $data) = each ($players)) {
           eregi("^([-0-9]+) ([-0-9]+) \"(.*)\"", $data, $player);
           $player_array[$key] = array('score'=>$player[1], 'ping'=>$player[2], 'name'=>$player[3]);
       }
   }

   return $player_array;
}

?>


JB


--------------------
Yellow Is Golden

DelphiGT

"There's nothing in this universe that can't be explained. Eventually." -- House, M.D.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
InfiniteWarrior
post Jan 8 2010, 06:24 PM
Post #11


Emperor


Group: Members
Posts: 800
Joined: 21-June 03
Member No.: 20



Nobody allows fsockopen anymore. You have to use CURL. How? No idea. (Sorry.)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Jan 12 2010, 12:25 AM
Post #12


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



odd thing is that the link I gave somehow does it (with pearl I think)

R


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JayBaen
post Jan 12 2010, 07:36 AM
Post #13


Lord


Group: Admin
Posts: 1,073
Joined: 13-June 03
From: Atlanta, GA
Member No.: 3



QUOTE(InfiniteWarrior @ Jan 8 2010, 07:24 PM)
Nobody allows fsockopen anymore.


Exactly the problem (it's a webserver querrying problem, not a game server answering one).

If anyone can take a stab at re-writing it for CURL, I'd like to keep the hosting where it is just from a bandwidth perspective for downloading files, etc (and, administratively it's a pain in the royal behind to migrate). If not, I may be able to split the difference and migrate just a piece of the web back to a spot where the "fsockopen" will work and leave everything else in place.

JB


--------------------
Yellow Is Golden

DelphiGT

"There's nothing in this universe that can't be explained. Eventually." -- House, M.D.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Jan 12 2010, 03:03 PM
Post #14


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



Can you see anything in server logs when the linky I posted queries it?

In any case I will take a closer look. I already have one that is SORT OF working... sending me a text when an RJ jumps on....

wink.gif

Anyway, I could test it better... IF THE SERVER WAS UP; which it seems not to be.... hanging on a map change

Rugg


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Jan 12 2010, 03:05 PM
Post #15


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



check that./ back up


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

2 Pages  1 2 >
Topic Options
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 

Lo-Fi Version Time is now: 28th March 2024 - 06:39 AM