UNPKG

koc

Version:

Library to parse data from the online MMORPG Kings of Chaos

361 lines (333 loc) 15.9 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Kings of Chaos :: Battle Report</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 != '1027' || myHeight != '634') 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#"><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"> 11,233 </font></td> </tr> <tr> <td align="right" style="color: BLACK; font-size: 8pt;">Experience:</td><td style="font-size: 8pt"><font color="#250202"> 800 </font></td> </tr> <tr> <td align="right" style="color: BLACK;font-size: 8pt;">Turns:</td><td style="font-size: 8pt"><font color="#250202">49,850</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">1,686</font></td> </tr> <tr> <td align="center" colspan = 2 style="color: BLACK; font-size: 8pt;">Last Attacked:<br /> <font color="#250202">1 day ago</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 battle" style="width: 100%" border="0" cellspacing="0" cellpadding="6"> <tr> <th>Battle Report</th> </tr> <tr> <td class="report" style="display: none"> <p> <br> Your soldiers march onto the battlefield <br> <p> Your generals report on your army's status: <blockquote> <b>52</b> of your soldiers are trained attack specialists<br> <b>0</b> of your army consists of untrained soldiers <p> <font size="3" color="GREEN">13</font> of your trained soldiers receive weapons and <font size="3" color="RED">39</font> are weaponless <blockquote> <b>2</b> are given a <b>Blackpowder Missile</b><br> <b>8</b> are given a <b>Chariot</b><br> <b>3</b> are given a <b>Steed</b><br> </blockquote> <p> <font size="3" color="RED">None</font> of your 0 untrained soldiers have weapons <blockquote> <b>0</b> are given a <b>Blackpowder Missile</b><br> <b>0</b> are given a <b>Chariot</b><br> <b>0</b> are given a <b>Steed</b><br> </blockquote> </blockquote> Your field scouts report on the status of the enemy: <blockquote> None of the enemy's 5 trained soldiers have weapons <p> <font size="3" color="RED">None</font> of the enemy's 12,863 untrained soldiers have weapons </blockquote> <br> <p align="center"> Both sides <font size="5" color=RED>charge!</font><br> Your army <font size="5" color=GREEN>strikes!</font> </p> <br> <p> <font size="3" color=RED>0</font> <b>Blackpowder Missile</b> were sabotaged by enemy spies!!<br> <font size="3" color=RED>0</font> <b>Chariot</b> were sabotaged by enemy spies!!<br> <font size="3" color=RED>0</font> <b>Steed</b> were sabotaged by enemy spies!!<br> <p> Your troops inflict <font size="3" color=GREEN>66,073</font> damage on the enemy!<br> The enemy sustains <font size="3" color=RED>21</font> casualties! <p> ThomasA's forces counter-attack and inflict <font size="3" color=GREEN>152,612</font> damage on your army!<br> Your army sustains <font size="3" color=RED>0</font> casualties!<br> <blockquote> </blockquote> Your generals report on your weapon damage: <blockquote> <b>Blackpowder Missile</b> <blockquote> <font size="3" color=GREEN>All</font> were used<br> <font size="3" color=RED>0</font> were found to be sabotaged<br> Weapon strength went from <font size="3" color=GREEN>1,000</font> to <font size="3" color=RED>1,000</font> </blockquote> <b>Chariot</b> <blockquote> <font size="3" color=GREEN>All</font> were used<br> <font size="3" color=RED>0</font> were found to be sabotaged<br> Weapon strength went from <font size="3" color=GREEN>600</font> to <font size="3" color=RED>600</font> </blockquote> <b>Steed</b> <blockquote> <font size="3" color=GREEN>All</font> were used<br> <font size="3" color=RED>0</font> were found to be sabotaged<br> Weapon strength went from <font size="3" color=GREEN>64</font> to <font size="3" color=RED>63.92</font> </blockquote> </blockquote> <br> <b>ThomasA's</b> forces <font size="4" color=RED>destroyed</font> your army! <blockquote> As your soldiers flee the battlefield you try to figure out what happened.<br> Were you overwhelmed by superior force? Were your soldiers tired?<br> Were your weapons in poor condition? Perhaps your soldiers were cowardly?<br> If you continue to fight and lose word will spread throughout the land about your army's incompetence! </blockquote> </td> </tr> </table> <br> <form method="get" action="attack.php"> <input type="hidden" name="id" value="3899616"> <input type="submit" value="Attack / Spy Again"> </form> <script type="text/javascript"> $(function(){ $('table.battle tr:last td > *').hide(); $('table.battle td.report').show(); var t = 100; $('table.battle tr:last td > *').each(function(){ var o = $(this); setTimeout(function(){ o.show(); document.body.scrollTop = $('table.battle').height() }, t+=500) }) }) </script> <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><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> </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>