serverConfig.dat

PJX

Newbie Spellweaver
Joined
Dec 23, 2006
Messages
42
Reaction score
0
In my opinion, I think the launcher is getting this "serverConfig.dat" file from somewhere. This file seems to be hidden until you run the launcher. When the launcher is ran it appears inside the folder but the IP addresses in this file doesn't match any IPs I edited. What are your insights to this issue?
 
Are you talking about the client? If so, I tried EQG and RFReactor. If the launcher can download that info from the update server, then what is causing it to not connect?
 
Upvote 0
The IPs are not the same but I already set my server pc to use a dynamic IP. I checked all my serverConfig files and they do not contain the IP that the launcher is showing in that file. I'm using the latest structure to edit the IP in the launcher. I I'm puzzled....
 
Upvote 0
apache access log:

HTTP/1.1" 200 43841
192.168.2.104 - - [02/Sep/2012:12:40:50 -0500] "GET /home/rfweb/list_files/index.php HTTP/1.1" 200 4386
192.168.2.104 - - [02/Sep/2012:12:40:50 -0500] "GET /home/rfweb/list_files/index.php HTTP/1.1" 200 4386
192.168.2.104 - - [02/Sep/2012:12:41:10 -0500] "GET /home/rfweb/list_files/index.php HTTP/1.1" 200 4386
192.168.2.104 - - [02/Sep/2012:14:15:27 -0500] "GET /update.dll?717 HTTP/1.1" 200 5231
192.168.2.104 - - [02/Sep/2012:14:46:50 -0500] "GET /NULL HTTP/1.1" 200 177
192.168.2.104 - - [02/Sep/2012:14:55:48 -0500] "GET /home/ HTTP/1.1" 200 11806
192.168.2.104 - - [02/Sep/2012:14:55:49 -0500] "GET /home/stylesheets/site/images/main-bg78f8.jpg?1336552361 HTTP/1.1" 304 -
192.168.2.104 - - [02/Sep/2012:14:55:49 -0500] "GET /home/stylesheets/site/images/patern879b.png?1336624056 HTTP/1.1" 304 -
192.168.2.104 - - [02/Sep/2012:14:55:49 -0500] "GET /home/stylesheets/site/images/footer-bgd230.jpg?1336547959 HTTP/1.1" 304 -
192.168.2.104 - - [02/Sep/2012:14:55:49 -0500] "GET /home/stylesheets/site/images/logo0fc2.png?1336987868 HTTP/1.1" 304 -
192.168.2.104 - - [02/Sep/2012:14:55:49 -0500] "GET /home/stylesheets/site/images/sprited018.png?1336622491 HTTP/1.1" 304 -
192.168.2.104 - - [02/Sep/2012:14:55:49 -0500] "GET /home/stylesheets/site/images/ajax-loader5c23.gif?1336983401 HTTP/1.1" 304 -
192.168.2.104 - - [02/Sep/2012:14:55:49 -0500] "GET /home/rfweb/list_files/index.php HTTP/1.1" 200 4374
192.168.2.104 - - [02/Sep/2012:14:56:11 -0500] "GET /home/rfweb/list_files/index.php HTTP/1.1" 200 4374
192.168.2.104 - - [02/Sep/2012:14:56:33 -0500] "GET /home/rfweb/list_files/site_web_hover.jpg HTTP/1.1" 200 5241
192.168.2.104 - - [02/Sep/2012:14:56:33 -0500] "GET /home/rfweb/list_files/site_web.jpg HTTP/1.1" 200 5203
192.168.2.104 - - [02/Sep/2012:14:56:33 -0500] "GET /home/rfweb/list_files/index.php HTTP/1.1" 200 4374
78.5.57.13 - - [03/Sep/2012:07:24:18 -0500] "GET /manager/html HTTP/1.1" 404 1122
192.168.2.1 - - [03/Sep/2012:11:21:52 -0500] "GET / HTTP/1.1" 302 -
192.168.2.1 - - [03/Sep/2012:11:21:52 -0500] "GET /xampp/ HTTP/1.1" 200 604
211.148.135.82 - - [03/Sep/2012:18:06:46 -0500] "HEAD /manager/html HTTP/1.0" 404 -


apache error log:

[Sun Sep 02 14:47:03 2012] [notice] Child 1588: Child process is exiting
[Sun Sep 02 14:47:03 2012] [notice] Parent: Child process exited successfully.
[Sun Sep 02 14:47:13 2012] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Sun Sep 02 14:47:13 2012] [notice] Server built: Jun 14 2008 19:02:12
[Sun Sep 02 14:47:13 2012] [notice] Parent: Created child process 880
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Child process is running
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Acquired the start mutex.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting 250 worker threads.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 443.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 10007.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 2224.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 8080.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 2224.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 10007.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 80.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 8080.
[Sun Sep 02 14:47:16 2012] [notice] Child 880: Starting thread to listen on port 80
 
Upvote 0
192.168.2.104 - - [02/Sep/2012:14:15:27 -0500] "GET /update.dll?717 HTTP/1.1" 200 5231

There should be other lines after that, like GET /update717/file.ext

Doesn't seem like the updater is working correctly. Double check your update.dll and make sure you modified all of the IPS (open with notepad).
 
Upvote 0
Ron, here is my update.dll file:

<?php

/////////////////////////////////////////////////////////////////////////////////////
//
// UPDATE.DLL PHP emulation.
//
// SPg(sm), November, 2006.
//
/////////////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////////////
//
// Variables
//
//
$PatchInfo_ver = 91;
$LPServerInfo_ver = 1;
$main_launcher_ver = 717; // Current (new) RF.exe version.

$main_launcher_file_path = 'c:/xamp/htdocs/home'; // Relative path from root RF site.
$LPServerInfo_file_path = 'c:/xamp/htdocs/home'; // Relative path from root RF site.
$PatchInfo_path = 'c:/xamp/htdocs/home'; // Relative path from root RF site.

$use_archive_three = true; // We will use "indexed" patch location.

$main_launcher_host = '192.168.2.101';

$LPServerInfo_host[0] = '192.168.2.101';
// $LPServerInfo_host[1] = '192.168.2.101';
// ...
// $LPServerInfo_host[n] = '192.168.2.101';

$PatchInfo_host[0] = '192.168.2.101';
// $PatchInfo_host[1] = '192.168.2.101';
// ...
// $PatchInfo_host[n] = '192.168.2.101';



/////////////////////////////////////////////////////////////////////////////////////
//
// Functions, and program body.
//

function terminate_script() {

header('Connection: close');
header('Content-Length: 0');

exit;

}


if (!isset($_SERVER['HTTP_USER_AGENT'])) {

// terminate_script();

} elseif (!$_SERVER['HTTP_USER_AGENT']=='HTTP') {

// terminate_script();

} else {

// terminate_script();

}



if (!isset($_SERVER['QUERY_STRING'])) {

terminate_script();

}


$query_ver=$_SERVER['QUERY_STRING'];


if (!is_numeric($_SERVER['QUERY_STRING'])) {

terminate_script();

}


$user_launcher_ver = intval($_SERVER['QUERY_STRING']);


if ($user_launcher_ver < $main_launcher_ver && $user_launcher_ver > 0) {

// 1st request (root site port 80). Check for new RF.exe
// 1st answer if new version exist.
// ------------------------------------------------------------
// -> http://<FQDN|IP>/update.dll?<Launcher_ver>
// sample:

$streamtxt = "[Update]\n";
$streamtxt .= "NewVersion=$main_launcher_ver\n";
$streamtxt .= "UpdateFileNumber=1\n";

if ($use_archive_three) {

$streamtxt .= "UpdateFile1=$main_launcher_file_path$main_launcher_ver/newRF.cab\n";

} else {

$streamtxt .= "UpdateFile1=$main_launcher_file_path/newRF.cab\n";

}

$streamtxt .= "ServerNumber=1\n";
$streamtxt .= "Server1=http://$main_launcher_host/\n";
$streamtxt .= "[Launcher]\n";
$streamtxt .= "LauncherVersion=$main_launcher_ver";

echo $streamtxt;
exit;

// 2nd request (root site port 80) with new RF.exe installed version.
// 2nd answer (after loaded and installed new RF.exe) or
// (or ^1st answer if 1st request with valid launcher version)
// --------------------------------------------------------------------
// -> http://<FQDN|IP>:80/update.dll?<new_launcher_ver>
// sample:

} elseif ($user_launcher_ver >= $main_launcher_ver) {

$streamtxt = "[Update]\n";
$streamtxt .= "UpdateFileNumber=0";

echo $streamtxt;
exit;

} elseif ($user_launcher_ver == 0) {

if ($_SERVER['SERVER_PORT']==8080) {

// 3rd (or ^2nd) request (root site port 8080), Receive LPServerInfo.dat
// -----------------------------------------------------------------------
// -> http://<FQDN|IP>:8080/update.dll?0
// sample:

$streamtxt = "[Update]\n";
$streamtxt .= "NewVersion=$LPServerInfo_ver\n";
$streamtxt .= "UpdateFileNumber=1\n";

if ($use_archive_three) {

$streamtxt .= "UpdateFile1=$LPServerInfo_file_path$LPServerInfo_ver/LPServerInfo.dat\n";

} else {

$streamtxt .= "UpdateFile1=$LPServerInfo_file_path/LPServerInfo.dat\n";

}

$streamtxt .= "ServerNumber=".sizeof($LPServerInfo_host);

for ($i=0; $i<sizeof($LPServerInfo_host); $i++) {

$streamtxt .= "\nServer".($i+1)."=http://".$LPServerInfo_host[$i]."/";

}

echo $streamtxt;
exit;

} elseif ($_SERVER['SERVER_PORT']==10007) {

// 4th (or 3rd^) request (root site port 10007), Receive PatchInfo.z
// -------------------------------------------------------------------
// -> http://<FQDN|IP>:10007/update.dll?0
// sample:

$streamtxt = "[Update]\n";
$streamtxt .= "NewVersion=$PatchInfo_ver\n";
$streamtxt .= "UpdateFileNumber=1\n";

if ($use_archive_three) {

$streamtxt .= "UpdateFile1=$PatchInfo_path$PatchInfo_ver/PatchInfo.z\n";

} else {

$streamtxt .= "UpdateFile1=$PatchInfo_path/PatchInfo.z\n";

}

$streamtxt .= "ServerNumber=".sizeof($PatchInfo_host);

for ($i=0; $i<sizeof($LPServerInfo_host); $i++) {

$streamtxt .= "\nServer".($i+1)."=http://".$PatchInfo_host[$i]."/";

}

echo $streamtxt;
exit;

} else {

terminate_script();
}
}
?>

Does the update folders go in the root folder of xamp/htdocs?
 
Upvote 0
No but I can install it. My server is a dedicated machine and I'm trying to connect from my desktop. I don't think I would need to forward any ports. Firewall is turned off. PM me your aim so I can add you and we can tackle this problem.
 
Upvote 0
Back