Gobalopper Posted August 5, 2003 Share Posted August 5, 2003 This thread will be used to deal with any issues coming from the FED2k Ladder.I've started a small helpfile, let me know if it covers enough of the common problems/issues you've experienced or areas it could be expanded in. Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted August 7, 2003 Author Share Posted August 7, 2003 Here is the code used for adding new results to the ladder. I had to make a few tweaks to it tonight but so far it is working fine. Is anyone here using the ladder? The names listed there don't seem familiar... # update the ladder games table with points for this game # if ($base == '1' && $cred == '6000' && $plrs == '2' && $unit == '5') { $pts0 = mysql_query("SELECT pts, wins, loss FROM ladder_players WHERE name = '$nam0'"); $pts1 = mysql_query("SELECT pts, wins, loss FROM ladder_players WHERE name = '$nam1'"); $pts0 = mysql_fetch_row($pts0); $pts1 = mysql_fetch_row($pts1); $stat0 = array(($pts0[0] ? $pts0[0] : 0), ($pts0[1] ? $pts0[1] : 0), ($pts0[2] ? $pts0[2] : 0)); $stat1 = array(($pts1[0] ? $pts1[0] : 0), ($pts1[1] ? $pts1[1] : 0), ($pts1[2] ? $pts1[2] : 0)); if ($cmp0 == 256) $game = array(array($_POST['nam0'], $stat0[0], $stat0[1], $stat0[2]), array($nam1, $stat1[0], $stat1[1], $stat1[2])); else $game = array(array($_POST['nam1'], $stat1[0], $stat1[1], $stat1[2]), array($nam0, $stat0[0], $stat0[1], $stat0[2])); $wins_pts = round(64 * (1 - (1 / (pow(10, ($game[1][1] - $game[0][1]) / 400) + 1)))); $loss_diff = round(64 * (0 - (1 / (pow(10, ($game[0][1] - $game[1][1]) / 400) + 1)))); $loss_prct = round($game[1][1] * 0.1); $loss_pts = ($loss_diff < 0 && $loss_diff < -$loss_prct) ? -$loss_prct : $loss_diff; mysql_query("REPLACE INTO ladder_players (pts, wins, loss, name) VALUES ('" . ($wins_pts + $game[0][1]) . "', '" . $game[0][2] . " + 1', '" . $game[0][3] . "', '" . $game[0][0] . "')"); mysql_query("REPLACE INTO ladder_players (pts, wins, loss, name) VALUES ('" . ($loss_pts + $game[1][1]) . "', '" . $game[1][2] . "', '" . $game[1][3] . " + 1', '" . $game[1][0] . "')"); if ($cmp0 == 256) mysql_query("INSERT INTO ladder_games VALUES ('$idno', '$wins_pts', '$loss_pts')"); else mysql_query("INSERT INTO ladder_games VALUES ('$idno', '$loss_pts', '$wins_pts')"); } Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted August 9, 2003 Author Share Posted August 9, 2003 Ok I've added in a few new links on the ladder page. You can now get a listing of all games currently stored in the database, even those that aren't included on the ladder. I also have a link of BC games and player listing, still working on those two sections though. Quote Link to comment Share on other sites More sharing options...
wraith126 Posted August 9, 2003 Share Posted August 9, 2003 i know this is a bit off topic but is there anyway to join clans at all? Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted August 9, 2003 Author Share Posted August 9, 2003 I don't think you can anymore. Someone else might know for sure. Quote Link to comment Share on other sites More sharing options...
wraith126 Posted August 9, 2003 Share Posted August 9, 2003 :(oh ok :(thanx for answering anyway Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted August 9, 2003 Author Share Posted August 9, 2003 http://www.dune2k.com/ladder/?idno=112658315zamboe or brennq what happened in this game? Did someone actually win? Quote Link to comment Share on other sites More sharing options...
Kyle Posted August 10, 2003 Share Posted August 10, 2003 Gob i think brennq won because on the ladder it says brennq 6-0 and zamboe 0-6. I also talked to brennq and he said that he beat zamboe 6 times. Quote Link to comment Share on other sites More sharing options...
lowzeewee Posted August 10, 2003 Share Posted August 10, 2003 I think after brennq won each time,zamboe would ask for a rematch.So I guess brennq is still the overall champ.Yes he won all 6 against zamboe ;) Quote Link to comment Share on other sites More sharing options...
darkd3th Posted August 10, 2003 Share Posted August 10, 2003 yo whats the download u need to get on the fed2k ladder i need it..... Quote Link to comment Share on other sites More sharing options...
Scy Posted August 10, 2003 Share Posted August 10, 2003 U just need to download XCL Proxy, if u wanna be in fed2k 1vs1 ladder u must follow this setting:1.6000 credits2.5 start units3.Pre-build on Quote Link to comment Share on other sites More sharing options...
Andrew Posted August 10, 2003 Share Posted August 10, 2003 yo whats the download u need to get on the fed2k ladder i need it.....If you read the top post on this page...This thread will be used to deal with any issues coming from the FED2k Ladder.I've started a small helpfile, let me know if it covers enough of the common problems/issues you've experienced or areas it could be expanded in.I would recommend reading the small helpfile. Quote Link to comment Share on other sites More sharing options...
Brennq Posted August 11, 2003 Share Posted August 11, 2003 http://www.dune2k.com/ladder/?idno=112658315zamboe or brennq what happened in this game? Did someone actually win?I won. All 6 of em ;D.Hehe u saw that 30 min game? look at my # planes... 8)I dont think im going to be first this month coz im going to Bar Quote Link to comment Share on other sites More sharing options...
Navaros Posted August 11, 2003 Share Posted August 11, 2003 is every game on the "ladder" link being added manually by Gob?EDIT: another Q - does it make a diff which version of the proxy is used (june 16 or june 20, i believe.....) ?if the answer to both of these is "No", then you definitely got some big defective bugs in that coding Quote Link to comment Share on other sites More sharing options...
graveside Posted August 15, 2003 Share Posted August 15, 2003 think autmattically added.i just played dawg and we both musta recorded it but 1 says i won other says i lost even though we only played once. is that bug or just simple mistake? Quote Link to comment Share on other sites More sharing options...
lowzeewee Posted August 16, 2003 Share Posted August 16, 2003 Looks quite fun!And BC is coming soon?Maybe I will reconsider not buying Empy now. ;)http://www.dune2k.com/ladder/?idno=112873733 ;D Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted August 16, 2003 Author Share Posted August 16, 2003 Yep its a bug. If you look at the game report:http://www.dune2k.com/ladder/?idno=112940820It looks like harkdawg left early and the game didn't know who really won. I'll fix it and update the standings this weekend. Quote Link to comment Share on other sites More sharing options...
lowzeewee Posted August 17, 2003 Share Posted August 17, 2003 Games of any setting will be recorded right? ;) Quote Link to comment Share on other sites More sharing options...
Harkdawg Posted August 17, 2003 Share Posted August 17, 2003 http://dune2k.com/ladder/?idno=113039487gob the game recorded wrong. Quote Link to comment Share on other sites More sharing options...
graveside Posted August 18, 2003 Share Posted August 18, 2003 gob could you remove the 1st game me and sarbaukar played, he couldnt move his units so we restarted, thx Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted August 19, 2003 Author Share Posted August 19, 2003 Yep I've got a few bugs to fix still with reporting. I didn't have time this weekend to fix them due to regular work but I should have time midweek. Quote Link to comment Share on other sites More sharing options...
Navaros Posted August 21, 2003 Share Posted August 21, 2003 please delete this game, or give me the Winhttp://www.dune2k.com/ladder/?idno=113193260as you can see, i was winning. due to some sort of weird lag bug, my base exploded for no reason. all he killed of mine was one scout, and i had 3 of his 4 carryalls dead and just as many units and buildings. if you can't give me the Win, then just delete this game entirely. thx. Quote Link to comment Share on other sites More sharing options...
desertway Posted August 22, 2003 Share Posted August 22, 2003 "Now whenever you play Emperor and want your games to be recorded to the FED2k Ladder run XCL Proxy in the background while playing Emperor."This is step 4 in how to play a recorded match. I am unclear as to wether or not BOTH players need to be running the proxy for the game to be recorded? If only one is needed you may want to look at changing that.Example: Player one runs proxy and anticipates the game being recorded, so he goes with his normal game plan. Player 2 thinks the game is just for fun and tries something he has never tried before, just to see how it pans out. This was a game plan that really didn't fare to well for player 2 and he loses horribly. If Player 2 had known it was a recorded game he would have gone with a proven tactic and the outcome could have been different. If only one player needs to run it, now you have a game that really should not be a valid game.This is just a thought...and may have already been answered in a thread that I haven't read yet. Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted August 22, 2003 Author Share Posted August 22, 2003 If that happens the second player can request the game to be removed. The problem with enforcing two is that one player could just close the program if they are going to lose. Quote Link to comment Share on other sites More sharing options...
lowzeewee Posted August 22, 2003 Share Posted August 22, 2003 Then pple can just cheat in this way.Isn't it unfair? :( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.