Anyone!?!? Re-Creating Servers?
So far i havent even planned hosting a DB i just need to get it to run the actual game code, thats why i am needing to bypass all the login and authentication. I dont think we need much from the servers other than occasional verification. But i need to get the game to a point where its actually doing something rather than just looking for IP's. I like the idea of just directing the computer towards the DB that we all have, thats prolly the best way to do it. Right now I'm doing everything i can to get past the login stuff and i will be sure to keep everyone posted as to how its going.
-
- MB Bar Patron
- Posts: 920
- Joined: Sat Mar 29, 2003 6:28 pm
- Location: Lincoln Nebraska
- Contact:
MrMaxx, have u looked at the authlogin.dll in the nps folder? i believe that is where it is looking for the IP address that you posted above.
i have no idea what im doing really but i opened it with notepad and it was all a bunch of special characters(is it encrypted or somethin?). but at the bottom you can see some writing. it also mentions a library of C++.
im at the login stage also. hope that helps.
i have no idea what im doing really but i opened it with notepad and it was all a bunch of special characters(is it encrypted or somethin?). but at the bottom you can see some writing. it also mentions a library of C++.
im at the login stage also. hope that helps.
-
- MB Janitor
- Posts: 23
- Joined: Fri Jun 18, 2004 8:40 pm
-
- MB Janitor
- Posts: 58
- Joined: Wed Aug 06, 2003 8:03 am
- Location: Ohio
- Contact:
try frhed a hex editor. it is amazing what they can do. you can find frhed here: http://www.kibria.de/frhed.html" onclick="window.open(this.href);return false;
i've also used XVI32 which can be gotten here: http://www.chmaas.handshake.de/delphi/f ... /xvi32.htm" onclick="window.open(this.href);return false;
that is what you need to find your information. or a decompiler. try frhed first.
i've also used XVI32 which can be gotten here: http://www.chmaas.handshake.de/delphi/f ... /xvi32.htm" onclick="window.open(this.href);return false;
that is what you need to find your information. or a decompiler. try frhed first.
-
- MB Bar Patron
- Posts: 920
- Joined: Sat Mar 29, 2003 6:28 pm
- Location: Lincoln Nebraska
- Contact:
well i opened up to authlogin.dll and basically just took out where it tries to get authenticated(dont know if i can do that or not). its turns out, when i start the game, it skips patching and what not and goes straigt to the login. i type in some name and some password(random) and it sits there and says authenticating. then a few seconds later a window pops up and say servers are down for maintainance.
so basically im stuck. im looking in every file but i just dont understand how everything gets called up. i dont see where it decides to launch the game or anything. i dont know, i will keep messin.
so basically im stuck. im looking in every file but i just dont understand how everything gets called up. i dont see where it decides to launch the game or anything. i dont know, i will keep messin.
-
- MB Bar Patron
- Posts: 920
- Joined: Sat Mar 29, 2003 6:28 pm
- Location: Lincoln Nebraska
- Contact:
-
- MB Janitor
- Posts: 23
- Joined: Fri Jun 18, 2004 8:40 pm
what did u take out? add me to ur yahoo messanger raiden_x2002@yahoo.com
-
- MB Bar Patron
- Posts: 920
- Joined: Sat Mar 29, 2003 6:28 pm
- Location: Lincoln Nebraska
- Contact:
Hey guys sorry I haven't been posting. I have been really busy building a race car and getting software setup. I found the IP through my firewall. It asks to allow an outgoing connection to that IP. I will be back working on MCO within a few days I hope. We only have 8 days or so to finish the race car so its crunch time on that project. Keep searching around I think we can get past this last connection. But from there I think its going to get harder. I should have some of the important files decompiled soon hopefully. So I will try to keep you informed. Good luck guys.
-
- MB Janitor
- Posts: 23
- Joined: Fri Jun 18, 2004 8:40 pm
Yea thats ok I have been working on it abit,looking in some .dll files trying to find out where it looks and at what to start the game,its a lil frustrating but we will get it sooner or later,and i think ur right about it only getting harder after we get past where we are right now.I am getting a message cant connect to service now,its when i changed the authlogin info but that didnt do any good right now.And by the way i dont know y but i downloaded zonealert and it tells me what IP its connectiong to or trying to connect to,it gives me a diff IP then what MRMAXX posted,it gives me this one......68.168.96.133:DNS :?
-
- MB Janitor
- Posts: 23
- Joined: Fri Jun 18, 2004 8:40 pm
i think i got it,the IP it says its looking for when MCO tries to connect has gotta be the ISP's remot computers IP because if it wasnt then we wouldnt be getting diff IPs listed,and i ran another program and it asked me for access to let it connect to this ip and the IP was the same as the one when MCO was trying to connect to so it has to be the ISP's remote computers IP so we need to find out where its trying to connect to and maybe make a dummy login server so we can get in the game......Next Route.
-
- MB Janitor
- Posts: 14
- Joined: Mon Jul 12, 2004 3:43 pm
-
- Majic Bus GOD
- Posts: 2268
- Joined: Thu Apr 03, 2003 10:33 am
- Location: Heaven Hilltown
- Contact:
Hey guys I know this won't help alot but this is the php from the server statis monitor from the mcotournaments.com days.
I know the ips in this were gotten from a ini file in the main MCO dir but I do not know which one.
and the actually check function
and the population function
Hope that helps in some way.
I know the ips in this were gotten from a ini file in the main MCO dir but I do not know which one.
Code: Select all
<?
include("../lib-common.php");
include "/***/***/mcotourn/config.php";
echo COM_siteHeader();?>
<br>
<div align="center"><font size="+1">MCO Servers Status Detail</font></div><br><br>
<table align="center" cellspacing="2" cellpadding="10" border="0">
<tr>
<td align="center">
<table bgcolor="#ffffff" height="225" width="180" align="center" cellspacing="0" cellpadding="10" border="1" frame="box" rules="groups" bordercolor="#000000">
<tr>
<td colspan="2" align="center"><b>General</b><br><hr width="100%" size="1"></td>
</tr>
<tr>
<td>ea.com:</td>
<td><?echo mco_chk("80","ea.com");?></td>
</tr>
<tr>
<td>MCO Forum:</td>
<td><?echo mco_chk("80","www.boards.mco.ea.com");?></td>
</tr>
<tr>
<td>EA Login:</td>
<td><?echo mco_chk("80","www.ea.com");?></td>
</tr>
<tr>
<td><br></td>
<td><?// echo mco_chk("80","shardlist.mco.ea.com/ShardList");?></td>
</tr>
</table>
</td>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
<table bgcolor="#ffffff" height="225" width="180" align="center" cellspacing="0" cellpadding="10" border="1" frame="box" rules="groups" bordercolor="#000000">
<tr>
<td colspan="2" align="center"><b>Uptown Pacific</b><br><hr width="100%" size="1"></td>
</tr>
<tr>
<td>Population:</td>
<td><b><?echo get_pop(uptown);?></b></td>
</tr>
<tr>
<td>Patch Server:</td>
<td><?echo mco_chk("80","downloads.mco.ea.com");?></td>
</tr>
<tr>
<td>Login Server:</td>
<td><?echo mco_chk("8226","159.153.202.9");?></td>
</tr>
<tr>
<td>Lobby Server:</td>
<td><?echo mco_chk("7003","159.153.203.36");?></td>
</tr>
<tr>
<td>Diagnostic Server:</td>
<td><?echo mco_chk("80","mcoweb.s2-sjc.mco.ea.com");?></td>
</tr>
</table>
</td>
<td align="center">
<table bgcolor="#ffffff" height="225" width="180" align="center" cellspacing="0" cellpadding="10" border="1" frame="box" rules="groups" bordercolor="#000000">
<tr>
<td colspan="2" align="center"><b>Midtown Pacific</b><br><hr width="100%" size="1"></td>
</tr>
<tr>
<td>Population:</td>
<td><b><?echo get_pop(midtown);?></b></td>
</tr>
<tr>
<td>Patch Server:</td>
<td><?echo mco_chk("80","downloads.mco.ea.com");?></td>
</tr>
<tr>
<td>Login Server:</td>
<td><?echo mco_chk("8226","159.153.202.8");?></td>
</tr>
<tr>
<td>Lobby Server:</td>
<td><?echo mco_chk("7003","159.153.203.32");?></td>
</tr>
<tr>
<td>Diagnostic Server:</td>
<td><?echo mco_chk("80","mcoweb.s1-sjc.mco.ea.com");?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
<table bgcolor="#ffffff" height="225" width="180" align="center" cellspacing="0" cellpadding="10" border="1" frame="box" rules="groups" bordercolor="#000000">
<tr>
<td colspan="2" align="center"><b>Crossroads Atlantic</b><br><hr width="100%" size="1"></td>
</tr>
<tr>
<td>Population:</td>
<td><b><?echo get_pop(xroads);?></b></td>
</tr>
<tr>
<td>Patch Server:</td>
<td><?echo mco_chk("80","downloads.mco.ea.com");?></td>
</tr>
<tr>
<td>Login Server:</td>
<td><?echo mco_chk("8226","159.153.234.9");?></td>
</tr>
<tr>
<td>Lobby Server:</td>
<td><?echo mco_chk("7003","159.153.235.36");?></td>
</tr>
<tr>
<td>Diagnostic Server:</td>
<td><?echo mco_chk("80","mcoweb.s2-iad.mco.ea.com");?></td>
</tr>
</table>
</td>
<td align="center">
<table bgcolor="#ffffff" height="225" width="180" align="center" cellspacing="0" cellpadding="10" border="1" frame="box" rules="groups" bordercolor="#000000">
<tr>
<td colspan="2" align="center"><b>City Center Atlantic</b><br><hr width="100%" size="1"></td>
</tr>
<tr>
<td>Population:</td>
<td><b><?echo get_pop(cca);?></b></td>
</tr>
<tr>
<td>Patch Server:</td>
<td><?echo mco_chk("80","downloads.mco.ea.com");?></td>
</tr>
<tr>
<td>Login Server:</td>
<td><?echo mco_chk("8226","159.153.234.8");?></td>
</tr>
<tr>
<td>Lobby Server:</td>
<td><?echo mco_chk("7003","159.153.235.32");?></td>
</tr>
<tr>
<td>Diagnostic Server:</td>
<td><?echo mco_chk("80","mcoweb.s1-iad.mco.ea.com");?></td>
</tr>
</table>
</td>
</tr>
</table>
<?echo COM_siteFooter(true);
exit;
?>
Code: Select all
function mco_chk($port,$ip){
$fp = fsockopen($ip, $port, &$errno, &$errstr, 1);
if (!$fp){
$data = "<img src=\"down.gif\" width=\"16\" height=\"15\" border=\"0\">";
} else {
$data = "<img src=\"up.gif\" width=\"16\" height=\"15\" border=\"0\">";
fclose($fp);
}
return $data;
}
and the population function
Code: Select all
function get_pop($where){
$shardlist = "http://shardlist.mco.ea.com/ShardList/index.html";
$tc_shardlist = "http://mcoweb1.eatc.iad.ea.com/ShardList/index.html";
$pop_cache = file($shardlist);
$tc_pop_cache = file($tc_shardlist);
if ($where=="uptown"){
$pop = ereg_replace ("Population=", "", $pop_cache[11]);
if ($pop <= 25){
$pop_display = "<font color=\"red\">$pop</font>";
}else{
$pop_display = "<font color=\"green\">$pop</font>";
}
return $pop_display;
}elseif ($where=="midtown"){
$pop = ereg_replace ("Population=", "", $pop_cache[27]);
if ($pop <= 25){
$pop_display = "<font color=\"red\">$pop</font>";
}else{
$pop_display = "<font color=\"green\">$pop</font>";
}
return $pop_display;
}elseif ($where=="xroads"){
$pop = ereg_replace ("Population=", "", $pop_cache[43]);
if ($pop <= 25){
$pop_display = "<font color=\"red\">$pop</font>";
}else{
$pop_display = "<font color=\"green\">$pop</font>";
}
return $pop_display;
}elseif ($where=="cca"){
$pop = ereg_replace ("Population=", "", $pop_cache[59]);
if ($pop <= 25){
$pop_display = "<font color=\"red\">$pop</font>";
}else{
$pop_display = "<font color=\"green\">$pop</font>";
}
return $pop_display;
}elseif ($where=="tc"){
$pop = ereg_replace ("Population=", "", $tc_pop_cache[11]);
if ($pop <= 25){
$pop_display = "<font color=\"red\">$pop</font>";
}else{
$pop_display = "<font color=\"green\">$pop</font>";
}
return $pop_display;
}
}
?>
-
- MB Bar Patron
- Posts: 920
- Joined: Sat Mar 29, 2003 6:28 pm
- Location: Lincoln Nebraska
- Contact:
-
- MB Bar Patron
- Posts: 920
- Joined: Sat Mar 29, 2003 6:28 pm
- Location: Lincoln Nebraska
- Contact:
-
- MB Janitor
- Posts: 23
- Joined: Fri Jun 18, 2004 8:40 pm
Yes this info will help lots man,thanks abunch,we were looking for some of the IP's last night and had no luck,now we can search for them and find out where they r stored and then maybe figure a way to maybe trick it to a dummy IP server to get the game to launch,but we'll see its gonna take some time but this has helped alot. I will do some work with it tonight and myabe have abit of luck but gotta wait and see,thanks again man ur a lifesaver. 8)
-
- Majic Bus GOD
- Posts: 2268
- Joined: Thu Apr 03, 2003 10:33 am
- Location: Heaven Hilltown
- Contact:
I know I got that info from some ini file, or at least I thought I did.tjk wrote:sonjeir, well im at home now and im browsing through the mco folder, but i dont see anythin ini files. well there is one but it has nothing of what we are look for. just a quick question, how did u get the info that u posted above. was it like a logging program?
:gruebel: :gruebel: :gruebel: :gruebel:
It may have come from the "Shardlist" file that used to be accessable.
I'll look into some of my other MCO php stuff and see if I can find what my source was.
EDIT: now that I think about it I am almost positive those ips came from the Shardlist.
-
- Majic Bus GOD
- Posts: 2268
- Joined: Thu Apr 03, 2003 10:33 am
- Location: Heaven Hilltown
- Contact:
This has auction ip #'s and item id's
and this section of another script kinda shows how all that was used to access the auctions url directly using the above.
But really you'd have to see the entire auctions scripts to really see how it worked.
If you want them let me know and I'll zip them up and put them somewhere you can download them.
Code: Select all
<?
// ** MCO AUCTION IP #'s and ID #'s **
$ip_num_array = array("Midtown Pacific" => "159.153.202.12",
"Uptown Pacific" => "159.153.202.13",
"City Center Atlantic" => "159.153.234.12",
"Crossroads Atlantic" => "159.153.234.13"
);
$dealerID_array = array("Original GM" => "8",
"Classic Chrysler" => "5",
"All Factory Ford" => "6",
"Fat Fender Freddies" => "3",
"Cool Cats Customs" => "7",
"Muscle Mikes" => "1",
"Player Hosted Auctions" => "-1"
);
$engineID_array = array("All" => "-1",
"Chrysler Big Block" => "1",
"Chrysler Small Block" => "2",
"Ford Big Block" => "3",
"Ford Small Block" => "4",
"Chevrolet Big Block" => "5",
"Chevrolet Small Block" => "6",
"Buick Big Block" => "7",
"Buick Small Block" => "8",
"Cadillac Big Block" => "9",
"Ford Flathead" => "10",
"Oldsmobile Small Block" => "11",
"Oldsmobile Big Block" => "12",
"Pontiac Block" => "13",
"AMC Block" => "14",
"Ford Y Block" => "15",
"Ford Cleveland Block" => "16",
"Ford 385 Block" => "17",
"Chrysler Hemi Block" => "18",
"Chevrolet W Block" => "19",
"Cadillac L Block" => "20",
"Buick Nailhead Block" => "21"
);
$partTypeID_array = array("Brakes" => "10001",
"Shocks" => "11001",
"Springs" => "12001",
"Sway Bars" => "13001",
"Traction Bars" => "14001",
"Chin Spoilers" => "29001",
"Rear Spoilers" => "30001",
"Rims" => "100001",
"Tires" => "110001",
"Transmissions" => "130001",
"Rear Ends" => "140001",
"Transmission Coolers" => "150001",
"Engine Blocks" => "160001",
"Crankshafts" => "180001",
"Connecting Rods" => "190001",
"Pistons" => "200001",
"Cooling Systems" => "230001",
"Electrical Systems" => "240001",
"Lubrication Systems" => "250001",
"Exhaust Manifolds" => "280001",
"Exhaust Pipes" => "290001",
"Mufflers" => "300001",
"Intake Manifolds" => "320001",
"Carburetors" => "330001",
"Air Cleaners" => "340001",
"Air Scoop" => "340333",
"Blowers" => "350001",
"Nitrous Injectors" => "360001",
"Cylinder Heads" => "1000001",
"Camshafts" => "1100001",
"Valve Trains" => "1200001"
);
/*extra partTypeID #'s
101=Vehicles
1001=Suspensions
2001=Chassis
4001=Drive Lines
5001=Brake Sets
20001=Bodys
36001=Engines
37001=Exhausts
"Wheels" => "15001",
*/
?>
and this section of another script kinda shows how all that was used to access the auctions url directly using the above.
Code: Select all
$url = "http://" . $ip;
$url .= "/Auctions/" . $auctionType;
$url .= "?verb=cachedResults&dealerID=14&partTypeID=" . $partTypeID;
$url .= "&engineID=" . $engineID . "&page=" . $page;
$url .= "&sort=";
$url .= $sort;
$url .= "&reverse=";
$url .= $reverse;
If you want them let me know and I'll zip them up and put them somewhere you can download them.
-
- MB Janitor
- Posts: 14
- Joined: Mon Jul 12, 2004 3:43 pm
-
- Majic Bus GOD
- Posts: 2268
- Joined: Thu Apr 03, 2003 10:33 am
- Location: Heaven Hilltown
- Contact:
The shardlist was internet accessable the url used to be:maximus04 wrote:what did u open it with?
http://shardlist.mco.ea.com/ShardList/index.html
for the main servers and
http://mcoweb1.eatc.iad.ea.com/ShardList/index.html
for the Test Center.
Obviously they aren't availible anymore.
One thing I find intersting is the Patch server is still accessable but says :
EA Production PSW Transmitter 4.7.1.2
No channels.
-
- MB Bartender
- Posts: 183
- Joined: Tue Nov 18, 2003 4:12 am
- Location: North Carolina
- Contact: