UNPKG

koc

Version:

Library to parse data from the online MMORPG Kings of Chaos

535 lines (515 loc) 24.7 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Kings of Chaos :: TestAccount's Camp</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/Humans.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/Humans/small_topbanner_01.gif"></td> <td><img src="/images/Humans/small_topbanner_02.gif"></td> <td><img src="/images/Humans/small_topbanner_03.gif"></td> </tr> <tr> <td><a href="http://www.kingsofchaos.com/"><img alt="Main" src="/images/Humans/small_topbanner_04.gif"></a></td> <td><a href="http://www.kingsofchaos.com/"><img alt=" K " src="/images/Humans/small_topbanner_05.jpg"></a></td> <td><a href="http://www.giveupalready.com/forumdisplay.php?f=31" target="_new"><img alt="Forum" src="/images/Humans/small_topbanner_06.gif"></a></td> </tr> <tr> <td><a href="battlefield.php?start=0"><img alt="Rankings" src="/images/Humans/small_topbanner_07.gif"></a></td> <td><a href="http://www.kingsofchaos.com/"><img alt=" o " src="/images/Humans/small_topbanner_08.jpg"></a></td> <td><a href="javascript: openchatwin()"><img alt="Chat" src="/images/Humans/small_topbanner_09.gif"></a></td> </tr> <tr> <td><a href="help.php#Command_Center"><img alt="Help" src="/images/Humans/small_topbanner_10.gif"></a></td> <td><a href="http://www.kingsofchaos.com/"><img alt=" f " src="/images/Humans/small_topbanner_11.jpg"></a></td> <td>&nbsp;</td> </tr> <tr> <td><img src="/images/Humans/small_topbanner_13.gif"></td> <td><a href="http://www.kingsofchaos.com/"><img alt=" C " src="/images/Humans/small_topbanner_14.gif"></a></td> <td><img src="/images/Humans/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><a href="base.php"><img alt="Command Center" border="0" src="/images/menubar/menulinks_02.gif" width="137" height="28"></a></td></tr> <tr><td id="attack_nav"><a href="attack.php"><img alt="Attack" border="0" src="/images/menubar/menulinks_03.gif" width="137" height="22"></a></td></tr> <tr><td><a href="attacklog.php"><img alt="Attack Log" border="0" src="/images/menubar/menulinks_04.gif" width="137" height="27"></a></td></tr> <tr><td id="conquest_nav"><a href="conquest.php"><img alt="Conquest" border="0" src="/images/menubar/menubar_conquest.gif" width="137" height="22"></a></td></tr> <tr><td id="armory_nav"><a href="armory.php"><img alt="Armory" border="0" src="/images/menubar/menulinks_05.gif" width="137" height="22"></a></td></tr> <tr><td><a href="alliances.php"><img alt="Alliances" border="0" src="/images/menubar/menubar_alliance.gif" width="137" height="22"></a></td></tr> <tr><td><a href="train.php"><img alt="Training" border="0" src="/images/menubar/menulinks_06.gif" width="137" height="25"></a></td></tr> <tr><td><a href="intel.php"><img alt="Intelligence" border="0" src="/images/menubar/menulinks_07.gif" width="137" height="22"></a></td></tr> <tr><td><a href="recruit.php"><img alt="Recruit" border="0" src="/images/menubar/menubar_recruit.gif" width="137" height="22"></a></td></tr> <tr><td><a href="mercs.php"><img alt="Mercenaries" border="0" src="/images/menubar/menulinks_09.gif" width="137" height="23"></a></td></tr> <tr><td><a href="buddylist.php"><img alt="Buddy List" border="0" src="/images/menubar/menubar_buddylist.gif" width="137" height="22"></a></td></tr> <tr><td><a href="logout.php"><img alt="Logout" border="0" src="/images/menubar/logoutbutton.gif" width="137"></a></td></tr> </table> <p> <center> <style> span.textad, span.textad a { font-size: 8pt; } </style> <span class="textad"> Bored? Play <a href="flashgames.php" style="font-size: 8pt;">Flash Games</a> </font> </center> <p> <table width="137" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="/images/menubar/menubox_top.gif"></td> </tr> <tr> <td align="center" valign="top" class="menu_cell_repeater_vert" style="padding-left: 8px; padding-right: 8px;"> <table cellspacing="3" cellpadding="1" width="100%"> <tr> <td align="center" colspan = 2 style="color: BLACK; font-size: 8pt;">Gold:<font color="#250202"> 50,480 </font></td> </tr> <tr> <td align="right" style="color: BLACK; font-size: 8pt;">Experience:</td><td style="font-size: 8pt"><font color="#250202"> 0 </font></td> </tr> <tr> <td align="right" style="color: BLACK;font-size: 8pt;">Turns:</td><td style="font-size: 8pt"><font color="#250202">1,524</font></td> </tr> <tr> <td align="right" style="color: BLACK;font-size: 8pt;" width="30%">Rank:</td><td width="70%" style="font-size: 8pt"><font color="#250202">Unranked</font></td> </tr> <tr> <td align="center" colspan = 2 style="color: BLACK; font-size: 8pt;">Last Attacked:<br /> <font color="#250202">never</td> </tr> <tr> <td align="right" colspan=2 style="color: BLACK; font-size: 8pt;">Mail:<a href="inbox.php" style="font-size: 9pt; color: BLACK;">0</font></a> <font color="black" style="font-size: 7pt;">(<a style="font-size: 7pt;" href="inbox.php">read</a>)</font></td> </tr> </table> </td> </tr> <tr> <td><img src="/images/menubar/menubox_bottom.gif"></td> </tr> </table> <p> <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"> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr><th><span class="close" style="float: right; cursor: pointer" onclick="document.location = '/toggle_advisor.php'; return false">x</span>New User Advisor</th></tr> <tr><td> <p>This is your Command Center. From here you can see the current size and state of your army, and see your officers if you have any. Additionally, you can see any recent attacks on your army. <p>From here, you can <b onmouseover="$('#armory_nav').css('outline', '3px solid red')" onmouseout="$('#armory_nav').css('outline', '0')">go to the Armory to buy weapons for your Army</b>. Once you have done this, you may <b onmouseover="$('#conquest_nav').css('outline', '3px solid red')" onmouseout="$('#conquest_nav').css('outline', '0')">go on a Conquest</b> or <b onmouseover="$('#attack_nav').css('outline', '3px solid red')" onmouseout="$('#attack_nav').css('outline', '0')">attack other players</b>. </td></tr> </table> <br><br> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr> <th align="center" colspan="2">Grow Your Army!</th> </tr> <tr> <td align="center" colspan="2"><font size="3">Want a larger fighting force? Want more gold per turn?<br>Give this link to your friends so they can join your army!</font> </tr> <tr> <td align="center" width="55%"> <a href="http://www.kingsofchaos.com/recruit.php?uniqid=v7n58984">http://www.kingsofchaos.com/recruit.php?uniqid=v7n58984</a> </td> <td align="center"> <script type="text/javascript"> SHARETHIS.addEntry({ title: 'Join my army now!', url: 'http://www.kingsofchaos.com/recruit.php?uniqid=v7n58984' }, {button: true}) </script> <img src="/images/email.gif" border="0" /> <a href="invite.php">Email Invites</a> </td> </td> </tr> <tr> <td style="border-bottom: 0px" colspan="2"> <ul> <li>For each friend who signs up for Kings of Chaos as your officer, you will receive a 50 soldier bonus</li> <li>For each active officer you have, you will receive a rating boost</li> <li>For each unique click on your link, you will receive a one soldier bonus</li> </ul> </td> </tr> </table> <table width="100%"> <tr> <td width="50%" valign="top" style="padding-right: 25px;"> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr> <th colspan="2" align="center">User Info</th> </tr> <tr> <td><b>Name</b></td> <td><a href="stats.php?id=4502389">Test Account</a></td> </tr> <tr> <td><b>Race</b></td> <td> Humans </td> </tr> <tr> <td><b>Rank</b></td> <td>Unranked</td> </tr> <tr> <td><b>Highest Rank</b></td> <td>unranked / never</td> </tr> <tr> <td><b>Commander</b></td> <td>None</td> </tr> </table> <br><br> <style type="text/css"> table.personnel th { cursor: pointer } </style> <table class="table_lines personnel" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr> <th colspan="3"><span style="float: right" class="expando">-</span>Personnel</th> </tr> <tr> <td><b>Trained Attack Soldiers</b></td> <td align="right">5</td> <td align="right">[ <a href="train.php">train more</a> ]</td> </tr> <tr> <td><b>Trained Attack Mercenaries</b></td> <td align="right">0</td> <td align="right">[ <a href="mercs.php">hire more</a> ]</td> </tr> <tr> <td><b>Trained Defense Soldiers</b></td> <td align="right">5</td> <td align="right">[ <a href="train.php">train more</a> ]</td> </tr> <tr> <td><b>Trained Defense Mercenaries</b></td> <td align="right">0</td> <td align="right">[ <a href="mercs.php">hire more</a> ]</td> </tr> <tr> <td><b>Untrained Soldiers</b></td> <td align="right">5</td> <td align="right">[ <a href="base.php">recruit more</a> ]</td> </tr> <tr> <td><b>Untrained Mercenaries</b></td> <td align="right">0</td> <td align="right">[ <a href="mercs.php">hire more</a> ]</td> </tr> <tr> <td class="subh"><b>Spies</b></td> <td class="subh" align="right">0</td> <td align="right">[ <a href="train.php">train more</a> ]</td> </tr> <tr> <td class="subh"><b>Sentries</b></td> <td class="subh" align="right">0</td> <td align="right">[ <a href="train.php">train more</a> ]</td> </tr> <tr> <td><b>Army Morale</b></td> <td align="right">0</td> <td align="right">[ <a href="recruit.php">recruit more</a> ]</td> </tr> <tr> <td><b>Total Fighting Force</b></td> <td align="right">15</td> <td align="right">[ <a href="recruit.php">recruit more</a> ]</td> </tr> <tr><td colspan="3" align="center" style="display:none">15 soldiers</td></tr> </table> <script type="text/javascript"> $('table.personnel th').click(function(){ $(this).parents('table:first').find('tr td').toggle() if ($(this).parents('table:first').find('tr td:first').is(':visible')) $(this).find('span.expando').html('-') else $(this).find('span.expando').html('+') }).click()</script> <br><br> <form method=GET action=message_officers.php> <input type="submit" value="Send Notice to All Direct Officers" style="width: 100%; font-size: 11pt; padding: 3px"> </form> <form method=GET action=pm_officers.php> <input type="submit" value="PM All Direct Officers" style="width: 100%; font-size: 11pt; padding: 3px"> </form> <table class="table_lines officers" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr> <th colspan="6" align="center">Officers</th> </tr> <tr> <th class="subh" align="left">Name</th> <th class="subh" align="right">Rank</th> <th class="subh" align="center" colspan="2">Army</th> <th class="subh" align="right">Morale</th> <th class="subh">Unique Link</th> </tr> <tr> <td colspan="6" align="center">No Officers</td> </tr> <tr class="nav"> <td>&nbsp;</td> <td colspan="4" align="center">0 officers total | page 1 of 1 <br />0 officers logged in today (x 1)</td> <td>&nbsp;</td> </tr> </table> <script type="text/javascript"> function officers_nav(){ $('table.officers tr.nav a').click(function(){ $.get($(this).attr('href'), function(data){ $('table.officers').replaceWith(data) officers_nav() }) return false; }) } officers_nav() </script> </td> <td valign="top"> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr><th colspan="4">Recent Attacks on You</th></tr> <tr><th class="subh">Time</th><th class="subh">Enemy</th><th class="subh">Result</th><th class="subh">&nbsp;</th></tr> <tr><td colspan="4" align="center">No incoming attacks reported.</td></tr> </table> <br><br> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr><th>Notice from Commander</th></tr> <tr><td align="left">No new notices from your commander.</td></tr> </table> <br><br> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr> <th colspan="2" align="center">Military Overview</th> </tr> <tr> <td><b>Fortification</b></td> <td>Camp</td> </tr> <tr> <td><b>Siege Technology</b></td> <td>None</td> </tr> <tr> <td><b>Economy</b></td> <td>None</td> </tr> <tr> <td><b>Technology</b></td> <td>None (x 1)</td> </tr> <tr> <td><b>Conscription</b></td> <td>0 soldiers per 24 hours</td> </tr> <tr> <td><b>Available Funds</b></td> <td>50,480 Gold</td> </tr> <tr> <td><b>Projected Income</b></td> <td>20 Gold (in 1 min)</td> </tr> <tr> <td><b>Game Turns</b></td> <td>1,524 / 50000 </td> </tr> <tr> <td><b>Covert Level</b></td> <td>0</td> </tr> </table> <br><br> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr> <th colspan="3">Military Effectiveness</th> </tr> <tr> <td><b>Strike Action</b></td> <td align="right">0</td> <td align="right">Ranked #unranked</td> </tr> <tr> <td><b>Defensive Action</b></td> <td align="right">0</td> <td align="right">Ranked #unranked</td> </tr> <tr> <td><b>Spy Rating</b></td> <td align="right">0</td> <td align="right">Ranked #unranked</td> </tr> <tr> <td><b>Sentry Rating</b></td> <td align="right">0</td> <td align="right">Ranked #unranked</td> </tr> </table> <br><br> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr><th colspan="3">Previous Logins</th></tr> <tr><td align="center" colspan="3">No recorded logins</td></tr> </table> <br><br> <table class="table_lines" width="100%" cellspacing="0" cellpadding="6" border="0"> <tr><th>Preferences</th></tr> <tr><td align="center"><form action="base.php" method="post">Change race to <select name="change_race_to"> <option label="Humans" value="Humans">Humans</option> <option label="Orcs" value="Orcs">Orcs</option> <option label="Elves" value="Elves">Elves</option> <option label="Dwarves" value="Dwarves">Dwarves</option> <option label="Undead" value="Undead">Undead</option> </select> <input type="submit" name="change_race" value="Go"></form> (3 changes left)</td></tr> <tr><td align="center"><a href="prefs.php">Change E-Mail or Password</a></td></tr> <tr><td align="center"><a href="reset.php">Reset Account</a></td></tr> <tr><td align="center"><a href="delete.php">Delete Account</a></td></tr> <tr><td align="center"><a href="toggle_advisor.php">Show New User Help</a></td></tr> <tr><td align="center"><form action="vacationmode.php" method="get">Suspend Account / Vacation Mode for <select name="vacation_days"><option label="3 days" value="3">3 days</option> <option label="4 days" value="4">4 days</option> <option label="5 days" value="5">5 days</option> <option label="6 days" value="6">6 days</option> <option label="1 week" value="7">1 week</option> <option label="1 week and 1 day" value="8">1 week and 1 day</option> <option label="1 week and 2 days" value="9">1 week and 2 days</option> <option label="1 week and 3 days" value="10">1 week and 3 days</option> <option label="1 week and 4 days" value="11">1 week and 4 days</option> <option label="1 week and 5 days" value="12">1 week and 5 days</option> <option label="1 week and 6 days" value="13">1 week and 6 days</option> <option label="2 weeks" value="14">2 weeks</option> <option label="2 weeks and 1 day" value="15">2 weeks and 1 day</option> <option label="2 weeks and 2 days" value="16">2 weeks and 2 days</option> <option label="2 weeks and 3 days" value="17">2 weeks and 3 days</option> <option label="2 weeks and 4 days" value="18">2 weeks and 4 days</option> <option label="2 weeks and 5 days" value="19">2 weeks and 5 days</option> <option label="2 weeks and 6 days" value="20">2 weeks and 6 days</option> <option label="3 weeks" value="21">3 weeks</option> <option label="3 weeks and 1 day" value="22">3 weeks and 1 day</option> <option label="3 weeks and 2 days" value="23">3 weeks and 2 days</option> <option label="3 weeks and 3 days" value="24">3 weeks and 3 days</option> <option label="3 weeks and 4 days" value="25">3 weeks and 4 days</option> <option label="3 weeks and 5 days" value="26">3 weeks and 5 days</option> <option label="3 weeks and 6 days" value="27">3 weeks and 6 days</option> <option label="4 weeks" value="28">4 weeks</option> <option label="4 weeks and 1 day" value="29">4 weeks and 1 day</option> <option label="1 month" value="30">1 month</option> </select> <input type="submit" value="Go"></form></td></tr> </table> <p> <input type="hidden" name="do" value="email"> <input type="hidden" name="hash" value=""> </form> </td> </tr> </table> <p> <span id="bananas" style="display:none">1667e5df8e664c3ac8d47166c3867711</span> <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 valign="top" align="center" width="120" style="padding-top: 11px"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td style="padding: 3px;"> <!-- 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> </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>