index.php 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. <?php
  2. include("./include/config.php");
  3. include("./include/func.php");
  4. $irpg_page_title = "Game Info";
  5. include("./include/header.php");
  6. ?>
  7. <body id="body" data-spy="scroll" data-target=".sidebar-nav">
  8. <!-- NAVBAR
  9. ================================================== -->
  10. <div class="navbar-wrapper">
  11. <div class="container">
  12. <div class="navbar navbar-inverse">
  13. <div class="navbar-inner">
  14. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
  15. <span class="icon-bar"></span>
  16. <span class="icon-bar"></span>
  17. <span class="icon-bar"></span>
  18. </a>
  19. <div class="nav-collapse collapse">
  20. <ul class="nav">
  21. <li class="active"><a href="index.php" class="brand" rel="tooltip" data-placement="bottom" title="Game Information" >IdleRPG</a></li>
  22. <li><a href="players.php" rel="tooltip" data-placement="bottom" title="Player Information" >Players</a></li>
  23. <li><a href="world.php" rel="tooltip" data-placement="bottom" title="IdleRPG World Map" >World Map</a></li>
  24. <li><a href="quest.php" rel="tooltip" data-placement="bottom" title="Questing Information" >Quest Info</a></li>
  25. <li><a href="about.php" rel="tooltip" data-placement="bottom" title="About Game" >About</a></li>
  26. </ul>
  27. </div><!--/.nav-collapse -->
  28. </div><!-- /.navbar-inner -->
  29. </div><!-- /.navbar -->
  30. </div> <!-- /.container -->
  31. </div><!-- /.navbar-wrapper -->
  32. <div class="container">
  33. <div class="row-fluid">
  34. <div class="span3">
  35. <div class="well sidebar-nav affix">
  36. <ul class="nav nav-list">
  37. <li><a href="#body">Welcome!</a></li>
  38. <li class="nav-header">Bot Commands</li>
  39. <li><a href="#location">Location</a></li>
  40. <li><a href="#register">Registering</a></li>
  41. <li><a href="#login">Logging In</a></li>
  42. <li><a href="#logout">Logging Out</a></li>
  43. <li><a href="#status">Check Status</a></li>
  44. <li><a href="#password">Change Password</a></li>
  45. <li><a href="#align">Change Alignment</a></li>
  46. <li><a href="#quests">Quests</a></li>
  47. <li><a href="#remove">Remove Account</a></li>
  48. <li><a href="#help">Help / Information</a></li>
  49. <li class="divider"></li>
  50. <li class="nav-header">General Game Help</li>
  51. <li><a href="#levels">Levels</a></li>
  52. <li><a href="#battles">Battles</a></li>
  53. <li><a href="#penalty">Penalties</a></li>
  54. <li><a href="#items">Items</a></li>
  55. <li><a href="#godsends">Godsends</a></li>
  56. <li><a href="#hog">Hand of God</a></li>
  57. <li><a href="#calamities">Calamities</a></li>
  58. <li><a href="#critstrike">Critical Strikes</a></li>
  59. <li><a href="#grid">Grid System</a></li>
  60. </div>
  61. </div><!--/span-->
  62. <div class="span9">
  63. <div class="hero-unit">
  64. <h1>Welcome!</h1>
  65. <p>Idle RPG is just what it sounds like: an RPG in which the players idle.<br />
  66. In addition to merely gaining levels, players can find items and battle other players.<br />
  67. However, this is all done for you; you just idle. There are no set classes; you can name your character anything you like, and have its class be anything you like as well!</p>
  68. <p><a href="players.php" class="btn btn-primary btn-large">View Players &amp; Stats &raquo;</a></p>
  69. </div>
  70. <hr>
  71. <div class="well" id="location">
  72. <h3>Location / How to Access</h3>
  73. The IdleRPG game can be played on the <a href="http://www.corrupt-net.org">Corrupt-Net IRC</a> Network in the channel #IdleRPG<br /><br />
  74. There is also a chat and statistics channel #IdleRPG.Chat on the same network that you can chat and see player stats.
  75. </div>
  76. <hr>
  77. <div class="well" id="register">
  78. <h3>Registering</h3>
  79. In order to play IdleRPG, you will need to register with the bot, registering is simple.<br /><br />
  80. Type: <b>/msg IdleRPG REGISTER [character name] [password] [character class]</b><br /><br />
  81. Where:<br />
  82. <ul>
  83. <li>"Character Name" can be up to 16 characters long</li>
  84. <li>"Password" can be up to 8 characters long</li>
  85. <li>"Character Class" can be up to 30 characters long.</li>
  86. </ul><br />
  87. <i>This is a p0 (see <a href="#penalty">Penalties</a>) command.</i>
  88. </div>
  89. <hr>
  90. <div class="well" id="login">
  91. <h3>Logging In</h3>
  92. If you leave the channel, once you return you may need to re-authenticate with the bot.<br /><br />
  93. Type: <b>/msg IdleRPG LOGIN [character name] [password]</b><br />
  94. <i>This is a p0 (see <a href="#penalty">Penalties</a>) command.</i>
  95. </div>
  96. <hr>
  97. <div class="well" id="logout">
  98. <h3>Logging Out</h3>
  99. If you need to leave IdleRPG, it is suggested you logout first. (else you may incur additional penalties)<br /><br />
  100. Type: <b>/msg IdleRPG LOGOUT</b><br />
  101. <i>This is a p20 (see <a href="#penalty">Penalties</a>) command.</i>
  102. </div>
  103. <hr>
  104. <div class="well" id="status">
  105. <h3>Checking your Status</h3>
  106. If you would like to make sure you are logged in, you can check using this command.<br /><br />
  107. Type: <b>/msg IdleRPG WHOAMI</b><br />
  108. <i>This is a p0 (see <a href="#penalty">Penalties</a>) command.</i>
  109. </div>
  110. <hr>
  111. <div class="well" id="password">
  112. <h3>Changing your Password</h3>
  113. In order to change your character's password, you can use the following command. (you will need to be logged in first)<br /><br />
  114. Type: <b>/msg IdleRPG NEWPASS [new password]</b><br />
  115. <i>This is a p0 (see <a href="#penalty">Penalties</a>) command.</i><br /><br />
  116. <i>If you have forgotten your password, you may contact an online admin to help you. You can use the <b>#IdleRPG.Chat</b> channel for this.</i>
  117. </div>
  118. <hr>
  119. <div class="well" id="align">
  120. <h3>Change your Alignment</h3>
  121. Your alignment can affect certain aspects of the game. You may align with good, neutral, or evil.<br /><br />
  122. <ul>
  123. <li>"Neutral" users haven't had anything changed, and all users start off as neutral.</li>
  124. <li>"Good" users have a 10% boost to their item sum for battles, and a 1/12 chance each day that they, along with a 'good' friend, will have the light of their god shine upon them, accelerating them 5-12% toward their next level.</li>
  125. <li>"Evil" users have a 10% detriment to their item sum for battles (ever forsaken in their time of most need...), but have a 1/8 chance each day that they will either a) attempt to steal an item from a 'good' user (whom they cannot help but hate) or b) be forsaken (for 1-5% of their TTL) by their evil god.</li>
  126. </ul><br />
  127. Also, 'good' users have only a 1/50 chance of landing a Critical Strike when battling, while 'evil' users (who always fight dirty) have a 1/20 chance.<br /><br />
  128. Type: <b>/msg IdleRPG ALIGN [good|neutral|evil]</b><br />
  129. <i>This is a p0 (see <a href="#penalty">Penalties</a>) command.</i>
  130. </div>
  131. <div class="well" id="quests">
  132. <h3>Quests</h3>
  133. Four level 40+ users that have been online for more than ten hours are chosen to represent and assist the Realm by going on a quest.<br /><br />
  134. If all four users make it to the quest's end, all questers are awarded by removing 25% of their TTL (ie, their TTL at quest's end).<br />
  135. To complete a quest, no user can be penalized until the quest's end.<br />
  136. There are two kinds of quests: grid-based quests and time-based quests.<br />
  137. Time-based quests last a random time between 12 and 24 hours.<br />
  138. Grid-based quests are based on the grid system and do not have a set time to completion. Rather, the questers must reach certain points on the map for their quest to be complete.<br /><br />
  139. If the quest is not completed, ALL online users are penalized a p15 as punishment.<br /><br />
  140. Type: <b>/msg IdleRPG QUEST</b><br />
  141. <i>This is a p0 (see <a href="#penalty">Penalties</a>) command.</i>
  142. </div>
  143. <hr>
  144. <div class="well" id="remove">
  145. <h3>Removing your Account</h3>
  146. If you want to remove your account from the system, you are able to by using the following command. :'(<br /><br />
  147. Type: <b>/msg IdleRPG REMOVEME</b>
  148. <i>This is a p0 (see <a href="#penalty">Penalties</a>) command.</i>
  149. </div>
  150. <hr>
  151. <div class="well" id="help">
  152. <h3>Help / Bot / Game Information</h3>
  153. If you need help using IdleRPG, or would like more information, you can use this command.<br /><br />
  154. Type: <b>/msg IdleRPG HELP</b><br /><br />
  155. <i>This is a p0 (see <a href="#penalty">Penalties</a>) command.</i>
  156. </div>
  157. <hr>
  158. <div class="well" id="levels">
  159. <h3>Levelling</h3>
  160. In order to gain levels, you must be logged in and idle.<br /><br />
  161. The time between levels is based on your character level, and is calculated by the formula:<br />
  162. <code>600 * ( 1.16 ^ YOUR_LEVEL )</code> <i>'^' represents the exponentiation operator</i><br /><br />
  163. Very high levels are calculated differently. Levels after level 60 have a next time to level of:<br />
  164. <code>(time to level @ 60) + ((1 day) * (level - 60))</code><br />
  165. The exponent method code had simply gotten to that point that levels were taking too long to complete.
  166. </div>
  167. <hr>
  168. <div class="well" id="battles">
  169. <h3>Battling other Players</h3>
  170. Each time you level, if your level is less than 25, you have a 25% chance to challenge someone to combat. If your level is greater than or equal to 25, you have a 100% chance to challenge someone.<br />
  171. A pool of opponents is chosen of all online players, and one is chosen randomly. If there are no other online players, you fight no one.<br /><br />
  172. If you do challenge someone, this is how the victor is decided:<br />
  173. <ol>
  174. <li>Your item levels are summed.</li>
  175. <li>Their item levels are summed.</li>
  176. <li>A random number between zero and your sum is taken.</li>
  177. <li>A random number between zero and their sum is taken.</li>
  178. <li>If your roll is larger than theirs, you win.</li>
  179. </ol>
  180. <br />
  181. If you win, your time towards your next level is lowered. The amount that it is lowered is based on your opponent's level. The formula is:<br />
  182. <code>((the larger number of (OPPONENT_LEVEL/4) and 7) / 100) * YOUR_NEXT_TIME_TO_LEVEL</code><br />
  183. This means that you lose no less than 7% from your next time to level. If you win, your opponent is not penalized any time, unless you land a <a href="#critstrike">Critical Strike</a>.<br /><br />
  184. If you lose, you will be penalized time. The penalty is calculated using the formula:<br />
  185. <code>((the larger number of (OPPONENT_LEVEL/7) and 7) / 100) * YOUR_NEXT_TIME_TO_LEVEL</code><br />
  186. This means that you gain no less than 7% of your next time to level. If you lose, your opponent is not awarded any time.<br /><br />
  187. <b>Battling the IRPG bot is a special case. The bot has an item sum of 1+[highest item sum of all players]. The percent awarded if you win is a constant 20%, and the percent penalized if you lose is a constant 10%.</b><br /><br />
  188. If more than 15% of online players are level 45 or higher, then a random level 45+ user will battle another random player every hour. This is to speed up levelling among higher level players.<br />
  189. A successful battle may result an item being stolen.<br />
  190. <h3>Team Battles</h3>
  191. Every online user has (roughly) 1/4 chance per day of being involved in a "team battle". Team battles pit three online players against three other online players. Each sides items are summed, and a winner is chosen as in regular battling. If the first group bests the second group in combat, 20% of the lowest of the three's TTL is removed from their clocks. If the first group loses, 20% of their lowest member's TTL is added to their TTL.<br />
  192. </div>
  193. <div class="well" id="penalty">
  194. <h3>Penalty Information</h3>
  195. If you do something other than idle, you are penalized. The penalties are time, in seconds, added to your next time to level and are based on your character level.<br /><br />
  196. These are the formulas for each penalty:<br />
  197. <table class="table table-bordered table-striped table-hover">
  198. <thead>
  199. <tr>
  200. <th>Action</th>
  201. <th>Penalty</th>
  202. </tr>
  203. </thead>
  204. <tbody>
  205. <tr>
  206. <td>/nick</td>
  207. <td>30 * (1.14^(YOUR_LEVEL))</td>
  208. </tr>
  209. <tr>
  210. <td>/part</td>
  211. <td>200 * (1.14^(YOUR_LEVEL))</td>
  212. </tr>
  213. <tr>
  214. <td>/quit</td>
  215. <td>20 * (1.14^(YOUR_LEVEL))</td>
  216. </tr>
  217. <tr>
  218. <td>LOGOUT Command</td>
  219. <td>20 * (1.14^(YOUR_LEVEL))</td>
  220. </tr>
  221. <tr>
  222. <td>Being Kicked</td>
  223. <td>250 * (1.14^(YOUR_LEVEL))</td>
  224. </tr>
  225. <tr>
  226. <td>Channel Message</td>
  227. <td>[message_length] * (1.14^(YOUR_LEVEL))</td>
  228. </tr>
  229. <tr>
  230. <td>Channel Notice</td>
  231. <td>[message_length] * (1.14^(YOUR_LEVEL))</td>
  232. </tr>
  233. </tbody>
  234. </table>
  235. As an example, a level 25 character changing their nick would be penalized 30*(1.14^25)=793 seconds towards their next level.<br /><br />
  236. Penalty shorthand is p[num]. So, a nick change is a p30 event, parting the channel is a p200 event, and quitting IRC is a p20 event. Messages and notices are p[length of message in characters].
  237. </div>
  238. <hr>
  239. <div class="well" id="items">
  240. <h3>Items</h3>
  241. Each time you level, you find an item. You can find an item as high as <code>1.5*YOUR_LEVEL</code> <i>(unless you find a unique item)</i>. There are 10 types of items: rings, amulets, charms, weapons, helms, tunics, gloves, leggings, shields, and boots. You can find one of each type.<br />
  242. When you find an item with a level higher than the level of the item you already have, you toss the old item and start using the new one.<br /><br />
  243. As you may guess, you have a higher chance of rolling an item of a lower value than you do of rolling one of a higher value level. The exact formula is as follows:<br />
  244. for each 'number' from 1 to YOUR_LEVEL*1.5, you have a 1 / ((1.4)^number) chance to find an item at this level<br /><br />
  245. As for item type, you have an equal chance to roll any type.<br /><br />
  246. After level 25, you have a chance to roll items significantly higher than items you would normally find at that level. These are unique items, and have the following stats:<br />
  247. <table class="table table-bordered table-striped table-hover">
  248. <thead>
  249. <tr>
  250. <th>Name</th>
  251. <th>Item Level Range</th>
  252. <th>Required User Level</th>
  253. <th>Chance to Roll</th>
  254. </tr>
  255. </thead>
  256. <tbody>
  257. <tr>
  258. <td>Mattt's Omniscience Grand Crown</td>
  259. <td>50-74</td>
  260. <td>25 or greater</td>
  261. <td>1 / 40</td>
  262. </tr>
  263. <tr>
  264. <td>Juliet's Glorious Ring of Sparkliness</td>
  265. <td>50-74</td>
  266. <td>25 or greater</td>
  267. <td>1 / 40</td>
  268. </tr>
  269. <tr>
  270. <td>Res0's Protectorate Plate Mail</td>
  271. <td>75-99</td>
  272. <td>30 or greater</td>
  273. <td>1 / 40</td>
  274. </tr>
  275. <tr>
  276. <td>Dwyn's Storm Magic Amulet</td>
  277. <td>100-124</td>
  278. <td>35 or greater</td>
  279. <td>1 / 40</td>
  280. </tr>
  281. <tr>
  282. <td>Jotun's Fury Colossal Sword</td>
  283. <td>150-174</td>
  284. <td>40 or greater</td>
  285. <td>1 / 40</td>
  286. </tr>
  287. <tr>
  288. <td>Drdink's Cane of Blind Rage</td>
  289. <td>175-200</td>
  290. <td>45 or greater</td>
  291. <td>1 / 40</td>
  292. </tr>
  293. <tr>
  294. <td>Mrquick's Magical Boots of Swiftness</td>
  295. <td>250-300</td>
  296. <td>48 or greater</td>
  297. <td>1 / 40</td>
  298. </tr>
  299. <tr>
  300. <td>Jeff's Cluehammer of Doom</td>
  301. <td>300-350</td>
  302. <td>52 or greater</td>
  303. <td>1 / 40</td>
  304. </tr>
  305. </tbody>
  306. </table>
  307. Additionally, After each battle, if the challenger wins, he has a slightly less than 2% chance of stealing an item from the challengee. Only items of a higher value are stolen, and the challenger's old item is given to the challengee in a moment of pity.
  308. </div>
  309. <div class="well" id="godsends">
  310. <h3>Godsends</h3>
  311. Every online user has a (roughly) 1/8 chance per day of a godsend occurring to them. A godsend is a bit of extremely good luck that either:<br />
  312. <ul>
  313. <li type="a">accelerates a player 5-12% of their next time to level</li>
  314. <li type="a">increases one of their item's value by 10%</li>
  315. </ul>
  316. </div>
  317. <div class="well" id="hog">
  318. <h3>Hand of God</h3>
  319. Every online user has a (roughly) 1/20 chance per day of a "Hand of God" affecting them.<br />
  320. A HoG can help or hurt your character by carrying it between 5 and 75 percent towards or away from its next time to level.<br />
  321. The odds are in your favor, however, with an 80% chance to help your character, and only a 20% chance of your character being smitten.<br /><br />
  322. In addition to occurring randomly, admins may summon the HoG at their whim.
  323. </div>
  324. <div class="well" id="calamities">
  325. <h3>Calamities</h3>
  326. Every online user has a (roughly) 1/8 chance per day of a calamity occurring to them. A calamity is a bit of extremely bad luck that either:<br />
  327. <ul>
  328. <li type="a">slows a player 5-12% of their next time to level</li>
  329. <li type="a">lowers one of their item's value by 10%</li>
  330. </ul>
  331. </div>
  332. <div class="well" id="critstrike">
  333. <h3>Critical Strike</h3>
  334. If a challenger beats his opponent in battle, he has a 1/35 chance of landing a Critical Strike. If this occurs, his opponent is penalized time towards his next time to level. This amount is calculated by the formula:<br />
  335. <code>(random number from 5 to 25) / 100) * OPPONENT'S_NEXT_TIME_TO_LEVEL</code><br /><br />
  336. Meaning he gains no less than 5% and no more than 25% of his next time to level.
  337. </div>
  338. <div class="well" id="grid">
  339. <h3>Grid System</h3>
  340. There is also a grid system. The grid can be considered a 500 x 500 point map on which the players may walk.<br />
  341. Every second, each player has an equal chance to step up, down, or neither, and an equal chance to step left, right, or neither.<br /><br />
  342. If you encounter another player on the grid, you have a 1 / (NUMBER_OF_ONLINE_PLAYERS) chance that you will battle the other player. Normal battling rules apply.<br />
  343. Some quests require that users walk to certain points on the map. In the spirit of IRPG, of course, the trek is made for you. Your character will automatically walk in the direction that it is supposed to, although at a much slower than normal pace (to avoid accidents, of course. you don't want to fall down and risk a Realm-wide p15!).
  344. </div>
  345. <?php
  346. include("./include/footer.php");
  347. ?>