UNPKG

koc

Version:

Library to parse data from the online MMORPG Kings of Chaos

662 lines (603 loc) 23.9 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Kings of Chaos :: Build Your Army, Conquer Your Enemies, Become a King of Chaos!</title> <link rel="icon" href="http://www.kingsofchaos.com/favicon.ico" /> <link rel="shortcut icon" href="http://www.kingsofchaos.com/favicon.ico" /> <link href="/images/css/common.css" rel="stylesheet" type="text/css" /> <link href="/images/css/main.css" rel="stylesheet" type="text/css" /> <link type="text/css" href="/inviter/res/style.css" rel="stylesheet" /> <script src="/images/jquery.min.js" type="text/javascript"></script> <script type="text/javascript" src="http://w.sharethis.com/widget/?tabs=web%2Cpost&amp;charset=utf-8&amp;style=rotate&amp;publisher=61b27ec8-6172-4261-a2f9-f5eed4bfffcb&amp;linkfg=%23545e7d"></script> <META name="verify-v1" content="W8cx8aSLkZX2ZC64sipZmhlBY149culcmvlJ0orWkAA=" /> <script language="javascript"> <!-- function newcap() { thesrc = "/chk/turing.image.php"; newsrc = thesrc+"?"+Math.round(Math.random()*100000); document.getElementById('curcap').src = newsrc; if (document.getElementById('curcap2')) document.getElementById('curcap2').src = newsrc; if (document.getElementById('curcap3')) document.getElementById('curcap3').src = newsrc; } function openchatwin() { var popurl="chat/"; winpops=window.open(popurl,"","width=750,height=550"); } function checksize() { var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myWidth = document.body.clientWidth; myHeight = document.body.clientHeight; } if (myWidth != '1910' || myHeight != '934') document.write("<img width=1 height=1 src=\"/setres.php?height=" + myHeight + "&width=" + myWidth + "\">"); } if (top.frames.length > 0) top.location = self.location; if (top != self) top.location=self.location; document.domain = 'kingsofchaos.com'; --> </script> <META NAME="keywords" CONTENT="kingsofchaos, chaos, elves, humans, dwarves, orcs, rpg, mmorpg, role playing, game, online game, text based game, armory, mercenaries, spy, attack, army, battle, recruit, spies, spy skill, weapons, messaging, sabotage, recon, intelligence, pnp, mud, games, stockade, free, browser game"> <META NAME="description" CONTENT="Build your army, conquer your enemies, become a King of Chaos!"> <META NAME="author" CONTENT="Kings of Chaos"> <script language="javascript" type="text/javascript"> function checkCR(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); if ((evt.keyCode == 13) && (node.type=="text") && (node.id != 'recaptcha_response_field') && (node.id != "box")) { return false; } } document.onkeypress = checkCR; </script> </head> <body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" text="#FFFFFF" onload="if (box = document.getElementById('box')) box.focus();"> <span style="position: absolute; right: 2; top: 2; z-index:10;font-size:x-small; color:#999999;"></span> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="164" background="/images/main/small_repeater.jpg"> <tr> <td valign="top" align="center" > <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="/images/main/small_topbanner_01.gif"></td> <td><img src="/images/main/small_topbanner_02.gif"></td> <td><img src="/images/main/small_topbanner_03.gif"></td> </tr> <tr> <td><a href="http://www.kingsofchaos.com/"><img alt="Main" src="/images/main/small_topbanner_04.gif"></a></td> <td><a href="http://www.kingsofchaos.com/"><img alt=" K " src="/images/main/small_topbanner_05.jpg"></a></td> <td><a href="http://www.giveupalready.com/forumdisplay.php?f=31" target="_new"><img alt="Forum" src="/images/main/small_topbanner_06.gif"></a></td> </tr> <tr> <td><a href="battlefield.php?start=0"><img alt="Rankings" src="/images/main/small_topbanner_07.gif"></a></td> <td><a href="http://www.kingsofchaos.com/"><img alt=" o " src="/images/main/small_topbanner_08.jpg"></a></td> <td><a href="javascript: openchatwin()"><img alt="Chat" src="/images/main/small_topbanner_09.gif"></a></td> </tr> <tr> <td><a href="help.php#"><img alt="Help" src="/images/main/small_topbanner_10.gif"></a></td> <td><a href="http://www.kingsofchaos.com/"><img alt=" f " src="/images/main/small_topbanner_11.gif"></a></td> <td>&nbsp;</td> </tr> <tr> <td><img src="/images/main/small_topbanner_13.gif"></td> <td><a href="http://www.kingsofchaos.com/"><img alt=" C " src="/images/main/small_topbanner_14.gif"></a></td> <td><img src="/images/main/small_topbanner_15.gif"></td> </tr> </table> </td> <td valign="top" style="padding-top: 25px;"> <!-- Kings of Chaos - 728x90 - Game Advertising Online --> <iframe marginheight=0 marginwidth=0 scrolling=no frameborder=0 width=728 height=90 src=http://www.game-advertising-online.com/index.php?section=serve&id=146 target=_blank></iframe><noframes><a href="http://www.game-advertising-online.com/" target=_blank>Game Advertising Online</a><br> banner requires iframes</noframes> <!-- END GAO 728x90 --> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td width="140" class="menu_cell" style="padding-left: 10px;" valign="top"> <table width="137" border="0" cellspacing="0" cellpadding="0"> <tr><td><img src="/images/menubar/age17.gif?v2" width="137" height="56"></td></tr> <tr><td class="menu_cell_repeater"><form action="login.php" method="post"> <input type="hidden" name="username"> <input type="hidden" name="pword"> <table align="center" class="small" style="padding: 0px 0px 5px 0px;" width="130"> <tr> <td align="center"><font color="black">Username:</font></td> </tr> <tr> <td align="center"><input class="login_input" type="text" name="usrname" value=""></td> </tr> <tr> <td align="center"><font color="black">Password:</font></td> </tr> <tr> <td align="center"><input class="login_input" type="password" name="peeword"></td> </tr> <tr> <td align="center" style="padding-top: 5px;"><input class="login_input" type="submit" value="Login" style="width: 50px;"></td> </tr> </table> <input type="hidden" name="hash" value=""> </form></td></tr> <tr><td class="menu_cell_repeater_vert" align="center"><a href="index.php?register=true">Register</a></td></tr> <tr><td class="menu_cell_repeater_vert" align="center"><a href="forgotpass.php">Forgot Login?</a></td></tr> <tr><td><img border="0" src="/images/menubar/menulinks_12.gif"></a></td></tr> </table> <p> <center> <style> span.textad, span.textad a { font-size: 8pt; } </style> <span class="textad"> </font> </center> <p> <p> <table width="137" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="/images/menubar/skyscraper_top.gif"></td> </tr> <tr> <td align="center" class="menu_cell_repeater_vert"> <!-- Kings of Chaos - 120x600 - Game Advertising Online --> <iframe marginheight=0 marginwidth=0 scrolling=no frameborder=0 width=120 height=600 src=http://www.game-advertising-online.com/index.php?section=serve&id=150 target=_blank></iframe><noframes><a href="http://www.game-advertising-online.com/" target=_blank>Game Advertising Online</a><br> banner requires iframes</noframes> <!-- END GAO 120x600 --> </td> </tr> <tr> <td><img src="/images/menubar/skyscraper_bottom.gif"></td> </tr> </table> <center> <p> <a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=8415&amp;t=71"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="/images/safer.gif"/></a><br> <p> <script type="text/javascript" language="javascript1.2"> checksize(); </script> </center> </td> <td style="padding-left: 10px; padding-top: 5px; padding-right: 5px;" valign="top" align="left" class="content"> <center> <style type="text/css"> input.loud { font-family:"Verdana"; font-size:14pt; font-weight:bold; } table.races table td { border-bottom: 0px; } input.error { border: 1px solid red; } td.errors { color: red; vertical-align: top; } </style> <table cellspacing="5" cellpadding="4" class="races"> <tr class="tagline"> <th colspan="5" style="font-size:20pt; font-family: Tahoma, Verdana, sans-serif; background-color: #000000; border: #AA0000 3px solid;"> <center> <i><b>Build your army, conquer your enemies, become a King of Chaos!</i></b> </center> </th> </tr> <tr class="subheader" style="display: none"> <th class="Humans" style="background-color: #000033; border: #0000FF 1px solid;">Humans</th> <th class="Dwarves" style="background-color: #330000; border: #FF0000 1px solid;">Dwarves</th> <th class="Elves" style="background-color: #003300; border: #008800 1px solid;">Elves</th> <th class="Orcs" style="background-color: #333300; border: #666600 1px solid;">Orcs</th> <th class="Undead" style="background-color: #223322; border: #88AA88 1px solid;">Undead</th> <th class="signup" style="background-color: #cc7700; border: #eebb00 1px solid; display: none;">Signup Now!</th> </tr> <tr> <td class="Humans" align="center"><img src="/images/main/human_shield.gif"></td> <td class="Dwarves" align="center"><img src="/images/main/dwarves_shield.gif"></td> <td class="Elves" align="center"><img src="/images/main/elves_shield.gif"></td> <td class="Orcs" align="center"><img src="/images/main/orcs_shield.gif"></td> <td class="Undead" align="center"><img src="/images/main/undead_shield.gif"></td> <td class="signup" align="center" style="display: none; width: 80%" rowspan="4"> <form class="signup" action="signup.php" method="post"> <input class="race" type="hidden" name="race" value=""> <table class="signup" border="0" class="table_lines" cellspacing="0" cellpadding="6"> <tr class="username"> <td style="font-weight:bold" align="right">Username</td> <td><input type="text" name="username" value=""></td> <td class="errors" rowspan="4"></td> </tr> <tr class="password"> <td style="font-weight:bold" align="right">Password</td> <td><input type="password" name="password" value=""></td> </tr> <tr class="password2"> <td style="font-weight:bold" align="right">Password (again)</td> <td><input type="password" name="password2" value=""></td> </tr> <tr> <td style="font-weight:bold" align="right">Commander</td> <td valign="middle">None</td> </tr> <tr> <td colspan="2" align="center"> <script type="text/javascript"> var RecaptchaOptions = { theme : 'blackglass' }; </script> <style> #recaptcha_response_field{ color: white } </style> <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6LcvaQQAAAAAACnjh5psIedbdyYzGDb0COW82ruo"></script> <noscript> <iframe src="http://api.recaptcha.net/noscript?k=6LcvaQQAAAAAACnjh5psIedbdyYzGDb0COW82ruo" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/> </noscript> </td> </tr> <input type="hidden" name="turing" value="bmfe"> <tr> <td align="center"><input class="loud register" type="submit" value="Sign Up Now!"></td> <td align="center"><input class="loud another" type="submit" value="Pick Another Race"></td> </tr> </table> </form> </td> </tr> <tr> <td class="Humans" align=center valign=top> Gather your troops to fight the coming horde! </td> <td class="Dwarves" align=center valign=top> Come to the aid of your allies and destroy your enemies! </td> <td class="Elves" align=center valign=top> Harness your strength and fight for your people! </td> <td class="Orcs" align=center valign=top> Use your might to spread evil throughout the land! </td> <td class="Undead" align=center valign=top> Fulfill your oath, gather your fallen, and find final rest! </td> </tr> <tr class="races"> <td class="Humans" align="center"><input type="submit" class="loud" name="join" style="color:#0000FF" value="Join Humans!"></td> <td class="Dwarves" align="center"><input type="submit" class="loud" name="join" style="color:red" value="Join Dwarves!"></td> <td class="Elves" align="center"><input type="submit" class="loud" name="join" style="color:#00FF00" value="Join Elves!"></td> <td class="Orcs" align="center"><input type="submit" class="loud" name="join" style="color:#669900" value="Join Orcs!"></td> <td class="Undead" align="center"><input type="submit" class="loud" name="join" style="color:#CC3300" value="Join Undead!"></td> </tr> <tr> <td class="Humans" align="center">Manage your army flexibly:<br /><b>30% Income Bonus</b> <br /><b>35% Spy Bonus</b></td> <td class="Dwarves" align="center">Defend stoutly:<br /><b>40% Defense Bonus</b> <br /><b>15% Income Bonus</b></td> <td class="Elves" align="center">Recon and Sabotage stealthily:<br /><b>45% Spy Bonus</b> <br /><b>70% Fewer casualties</b></td> <td class="Orcs" align="center">Attack fiercely:<br /><b>35% Attack Bonus</b> <br /><b>20% Defense Bonus</b></td> <td class="Undead" align="center">Keep eternal watch:<br /> <b>35% Sentry Bonus</b><br /> <b>85% Fewer Casualties</b><br /> </td> </tr> </table> <script type="text/javascript"> function signup_races(){ $('table.races tr.races input[type="submit"]').click(function(){ var klass = $(this).parents('td:first').attr('class') $(this).hide() $('table.races td.'+klass+', table.races th.'+klass).nextAll().hide() $('table.races td.'+klass+', table.races th.'+klass).prevAll().hide() $('table.races td.signup, table.races th.signup').show() $('table.signup tr.username input').focus() $('form.signup input.race').val(klass) return false }) $('table.races td.signup input.another').click(function(){ $('table.races td, table.races th').show() $('table.races td.signup, table.races th.signup').hide() $('table.races tr.races input[type="submit"]').show() return false }) $('table.signup tr.username input').blur(function(){ var field = $(this) if (field.val()) $.post('signup.php', $('form.signup').serialize(), function(json){ if (json.username) { field.addClass('error') $('table.signup td.errors').html(json.username) field.focus().select() } else { field.removeClass('error') $('table.signup td.errors').html('') } }, 'json') }) $('table.signup tr.password input, table.signup tr.password2 input').blur(function(){ var field = $(this) if (field.val()) $.post('signup.php', $('form.signup').serialize(), function(json){ if (json.password) { field.addClass('error') $('table.signup td.errors').html(json.password) field.focus().select() } else { $('input.error').removeClass('error') $('table.signup td.errors').html('') } }, 'json') }) } signup_races() </script><br> <table width="100%" border="0" cellpadding="5" cellspacing="0"> <tr> <td valign="top" align="center"> <table class="table_lines" cellpadding="6" cellspacing="0" width="100%"> <tr> <th><font size="4">News</font></th> </tr> <tr> <th class="subh" align="left">June 16th, 2013</th> </tr> <tr> <td> <b>Welcome to Age 17! A new battlefield awaits you!</b> <p> Good luck, but most importantly, have fun! <p> <a href="/age16_final_stats.php">Age 16 Final Stats</a> and <a href="/age16_final_alliance_stats.php">Age 16 Alliance Stats</a> have been posted. Congratulations to Phoenix-SR for finishing first!<p> Age 16 Honorable Mentions:<p> <blockquote> Top Alliance: Sweet Revenge<br /><br> Top Orcs: Phoenix-SR (1st)<br /> Top Dwarves: Ele-SR (5th)<br /> Top Humans: Halcyon-SR (2nd)<br /> Top Undead: Wulfric_RLoP (6th)<br /> Top Elves: Kevin-MI (4th)<br /><br> Smallest army in top 50: Shuyin (38th)<br /> </blockquote> </td> </tr> </table> </td> <td valign="top"> <p> <table width="100%" class="table_lines" bgcolor="#000000" border="0" cellspacing="0" cellpadding="6"> <tr> <th colspan="3">Race Populations</th> </tr> <tr> <td style="font-weight: bold;">Orcs</td> <td align="right">501</td> <td align="right">24%</td> </tr> <tr> <td style="font-weight: bold;">Elves</td> <td align="right">447</td> <td align="right">21%</td> </tr> <tr> <td style="font-weight: bold;">Humans</td> <td align="right">581</td> <td align="right">28%</td> </tr> <tr> <td style="font-weight: bold;">Dwarves</td> <td align="right">250</td> <td align="right">12%</td> </tr> <tr> <td style="font-weight: bold;">Undead</td> <td align="right">310</td> <td align="right">15%</td> </tr> <tr> <td style="font-weight: bold;">Total</td> <td align="right">2,089</td> <td align="right"></td> </tr> <tr> <th colspan="3">Current Users</th> </tr> <tr> <td style="font-weight: bold;">Players Online</td> <td align="right">161</td> <td align="right">91%</td> </tr> <tr> <td style="font-weight: bold;">Guests Online</td> <td align="right">15</td> <td align="right">8%</td> </tr> <tr> <td style="font-weight: bold;">Total Online</td> <td align="right">177</td> <td align="right">8%</td> </tr> <tr> <th colspan="3">Battles Today</th> </tr> <tr> <td>Type</td> <td align="right">Total</td> <td align="right">Success</td> </tr> <tr> <td style="font-weight: bold;">Attacks</td> <td align="right">8,059</td> <td align="right">94%</td> </tr> <tr> <td style="font-weight: bold;">Recons</td> <td align="right">22,144</td> <td align="right">66%</td> </tr> <tr> <td style="font-weight: bold;">Sabotages</td> <td align="right">28,007</td> <td align="right">48%</td> </tr> <tr> <td style="font-weight: bold;">Raids</td> <td align="right">2,900</td> <td align="right">37%</td> </tr> <tr> <td style="font-weight: bold;">Conquests</td> <td align="right">47,778</td> <td align="right"></td> </tr> <tr><th colspan="3">Top 10 Alliances</th></tr> <tr> <td>Name</td> <td>Members</td> <td align="right">Power</td> </tr> <tr> <td style="font-weight: bold;">Sweet Revenge</td> <td align="right">370</td> <td align="right">148</td> </tr> <tr> <td style="font-weight: bold;">RL-LoP-FF</td> <td align="right">108</td> <td align="right">127</td> </tr> <tr> <td style="font-weight: bold;">~LGC~</td> <td align="right">42</td> <td align="right">35</td> </tr> <tr> <td style="font-weight: bold;">Against All Authority</td> <td align="right">48</td> <td align="right">28</td> </tr> <tr> <td style="font-weight: bold;">-Gladiators-</td> <td align="right">59</td> <td align="right">21</td> </tr> <tr> <td style="font-weight: bold;">NextGenerationFighters</td> <td align="right">10</td> <td align="right">20</td> </tr> <tr> <td style="font-weight: bold;">The United Empires</td> <td align="right">20</td> <td align="right">17</td> </tr> <tr> <td style="font-weight: bold;">La Cosa Nostra</td> <td align="right">22</td> <td align="right">12</td> </tr> <tr> <td style="font-weight: bold;">ThunderSt0rm Alliance</td> <td align="right">16</td> <td align="right">10</td> </tr> <tr> <td style="font-weight: bold;">DEMK</td> <td align="right">17</td> <td align="right">9</td> </tr> <tr><th colspan="3">Fiercest Alliances</th></tr> <tr> <td>Name</td> <td>Members</td> <td align="right">Strength</td> </tr> <tr> <td style="font-weight: bold;">Sweet Revenge</td> <td align="right">370</td> <td align="right">171</td> </tr> <tr> <td style="font-weight: bold;">RL-LoP-FF</td> <td align="right">108</td> <td align="right">126</td> </tr> <tr> <td style="font-weight: bold;">~LGC~</td> <td align="right">42</td> <td align="right">34</td> </tr> <tr> <td style="font-weight: bold;">Against All Authority</td> <td align="right">48</td> <td align="right">32</td> </tr> <tr> <td style="font-weight: bold;">The United Empires</td> <td align="right">20</td> <td align="right">21</td> </tr> <tr><th colspan="3">Stoutest Alliances</th></tr> <tr> <td>Name</td> <td>Members</td> <td align="right">Fortitude</td> </tr> <tr><td colspan="3" align="center">Updating rankings</td></tr> <tr><th colspan="3">Stealthiest Alliances</th></tr> <tr> <td>Name</td> <td>Members</td> <td align="right">Stealth</td> </tr> <tr><td colspan="3" align="center">Updating rankings</td></tr> <tr><th colspan="3">Most Vigilant Alliances</th></tr> <tr> <td>Name</td> <td>Members</td> <td align="right">Alertness</td> </tr> <tr><td colspan="3" align="center">Updating rankings</td></tr> <tr><td colspan="3" align="center"><a href="help.php#allianceranking">How are alliance ranks calculated?</a></td></tr> </table> </td> </tr> </table> <p> <center> <p> <p> <font style="font-size: 8pt;"> <a href="spam.php">Report Spam</a> | <a href="privacy.php">Privacy Policy</a> | <a href="mailto:%62%69%7a%64%65%76%40%6b%69%6e%67%73%6f%66%63%68%61%6f%73%2e%63%6f%6d">Business Queries</a> | <a href="tos.php">Terms of Service</a> <p> <i>Copyright &copy; 2003-2012 Kings of Chaos, LLC. All rights reserved.<br>Kings of Chaos &reg; is a registered trademark of Kings of Chaos, LLC.</i><br> </font> </center> </td> </td> </tr> </table> <!-- Start Quantcast tag --> <script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script> <script type="text/javascript">_qacct="p-a6NrObxziz_36";quantserve();</script> <noscript> <a href="http://www.quantcast.com/p-a6NrObxziz_36" target="_blank"><img src="http://pixel.quantserve.com/pixel/p-a6NrObxziz_36.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/></a> </noscript> <!-- End Quantcast tag --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-75146-1"; urchinTracker(); </script> </body> </html>