Guest User

Untitled

a guest
Jun 20th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.89 KB | None | 0 0
  1. </div>
  2. </div>
  3. </div>
  4.  
  5. </div>
  6. <footer class="footer">
  7. <div class="container" style="width:92%;">
  8. <div class="col-lg-5">
  9. <a href="javascript:void(0)" onclick="$('#staffModal').modal('show'); return false;">STAFF</a>
  10. <a href="javascript:void(0)" onclick="$('#faqModal').modal('show'); return false;">FAQ</a>
  11. <a href="javascript:void(0)" onclick="$('#tosModal').modal('show'); return false;">TOS</a>
  12. <a href="javascript:void(0)" onclick="$('#provablyModal').modal('show'); return false;">PROVABLY FAIR</a>
  13. <!-- <a href="<?php echo $cfg["site_url"]; ?>?module=provably-fair">PROVABLY FAIR</a> -->
  14. </div>
  15.  
  16. <div class="col-lg-3 stats">
  17. <a href="javascript:void(0)" id="onlinePlayers">
  18. ONLINE PLAYERS: 0
  19. </a>
  20.  
  21. </div>
  22. <div class="col-lg-4">
  23. <a href="https://kwindo.ro/" style="float:right">MAINTAINED BY KWINDO STUDIOS</a>
  24. </div>
  25. </div>
  26. </footer>
  27.  
  28. <!-- Modal -->
  29. <div class="modal fade" id="supportModal" role="dialog">
  30. <div class="modal-dialog modal-lg">
  31.  
  32. <!-- Modal content-->
  33. <div class="modal-content">
  34. <div class="modal-header text-center">
  35. <button type="button" class="close" data-dismiss="modal">&times;</button>
  36. <h4 class="modal-title">Support</h4>
  37. </div>
  38. <div class="modal-body">
  39. <p>Join our Official Discord <a href="https://discord.gg/TPnu9rp" target="_blank" rel="noopener noreferrer"><h4>HERE</h4></a></p>
  40. <p>Or send us an email to: contact@RustyRoll.com</p>
  41. </div>
  42. <div class="modal-footer">
  43. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  44. </div>
  45. </div>
  46.  
  47. </div>
  48. </div>
  49.  
  50. <!-- Modal -->
  51. <div class="modal fade" id="faqModal" role="dialog">
  52. <div class="modal-dialog modal-lg">
  53.  
  54. <!-- Modal content-->
  55. <div class="modal-content">
  56. <div class="modal-header text-center">
  57. <button type="button" class="close" data-dismiss="modal">&times;</button>
  58. <h4 class="modal-title">Get Started</h4>
  59. </div>
  60. <div class="modal-body">
  61. <h1>Frequent Asked Questions.</h1> What is rustyroll.com ? Rustyroll.com is a rust gambling website mainly focused on the jackpot game. Here you can try your luck by betting your items againts other real people.
  62.  
  63. <h2>1. General</h2>
  64. <b>1.1 What is the jackpot game?</b>
  65. <br> a.The jackpot game is pretty self-explanatory. Multiple people deposit their skins thourgh steam in our bot, the bot runs complex algorithms to identify your item(s) value and then sends a package with data to our server where it's decoded and uploaded to the website.
  66. <br>
  67. <br>
  68. <b>1.2 How do I bet?</b>
  69. <br> a.First off you will have to LOG IN with your steam account, you MUST have steam authenticator for at least 7 days on your account before trading to the bot. Also, make sure your inventory is set to public.
  70. <br> b.
  71. <a href="http://steamcommunity.com/id/me/tradeoffers/privacy#trade_offer_access_url">GET YOUR TRADE LINK FROM YOUR ACCOUNT</a> and write it in the <a href="./?module=profile">MY PROFILE</a> section.
  72. <br> c.Deposit the items you wish to bet(max amount of items : 20), accept the trade on your phone and, good luck!
  73. <br>
  74. <br>
  75. <b>1.3 How long is one round?</b>
  76. <br> a.One round starts when the timer stops or when the limit of 100 items is reached.
  77. <br>
  78. <br>
  79. <b>2. How is the winner picked?</b>
  80. <br> a.Check that out in the <a href="./?module=provably-fair">PROVABLY FAIR</a> page.
  81. <br>
  82. <br>
  83. <b>3. How can I contact you?</b>
  84. <br> a.You can contact us on <a href="https://discord.gg/wZCDeBY">DISCORD</a>, <a href="https://twitter.com/rusty_roll">TWITTER</a> or by emailing us @ <a href="mailto:support@rustyroll.com">support@rustyroll.com</a>
  85. <br>
  86. <br>
  87. <b>4. Website issues/bugs.</b>
  88. <br> a.If you've encountered any kind of bug/issue please let us know by emailing us the details. You will be rewarded.
  89. <br>
  90. <br>
  91. <b>5. I did not recive the trade offer.</b>
  92. <br> a.If any kind of issues occur while playing/winning a jackpot game. We will manually do the trades. Please mail us if that happens @ <a href="mailto:support@rustyroll.com">support@rustyroll.com</a>
  93.  
  94. </div>
  95. <div class="modal-footer">
  96. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  97. </div>
  98. </div>
  99.  
  100. </div>
  101. </div>
  102.  
  103. <div class="modal fade" id="staffModal" role="dialog">
  104. <div class="modal-dialog modal-lg">
  105.  
  106. <!-- Modal content-->
  107. <div class="modal-content">
  108. <div class="modal-header text-center">
  109. <button type="button" class="close" data-dismiss="modal">&times;</button>
  110. <h4 class="modal-title">RUSTYROLL.COM STAFF</h4>
  111. </div>
  112. <div class="modal-body">
  113. <ul id="staffList" class="staffList">
  114. <li>
  115. <img class="historyProfilePicture" src="https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/98/9822070fa29260403afa6acf00b29eeb4980ada5_medium.jpg" alt="Avatar">
  116. Felis Catus <span class="transparent">(Developer)</span>
  117. <div class="pull-right text-center">
  118. <span class="label label-danger">Offline</span>
  119. </div>
  120. </li>
  121. <li>
  122. <img class="historyProfilePicture" src="https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/98/9822070fa29260403afa6acf00b29eeb4980ada5_medium.jpg" alt="Avatar">
  123. Felis Catus <span class="transparent">(Developer)</span>
  124. <div class="pull-right text-center">
  125. <span class="label label-danger">Offline</span>
  126. </div>
  127. </li>
  128. <li>
  129. <img class="historyProfilePicture" src="https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/98/9822070fa29260403afa6acf00b29eeb4980ada5_medium.jpg" alt="Avatar">
  130. Felis Catus <span class="transparent">(Developer)</span>
  131. <div class="pull-right text-center">
  132. <span class="label label-danger">Offline</span>
  133. </div>
  134. </li>
  135. </ul>
  136. </div>
  137. <div class="modal-footer">
  138. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  139. </div>
  140. </div>
  141.  
  142. </div>
  143. </div>
  144.  
  145.  
  146. <!-- Modal -->
  147. <div class="modal fade" id="provablyModal" role="dialog">
  148. <div class="modal-dialog modal-lg">
  149.  
  150. <!-- Modal content-->
  151. <div class="modal-content">
  152. <div class="modal-header text-center">
  153. <button type="button" class="close" data-dismiss="modal">&times;</button>
  154. <h4 class="modal-title">Provably Fair</h4>
  155. </div>
  156. <div class="modal-body">
  157. At the beginning of a round a "Secret"(Salt) is randomly created, and a SHA-1 Hash gets generated out of it and shared publicly. Other than similar services, the winning ticket is generated at the end of a round, with unpredictable values. As soon as a round is closed an MD5 Hash is generated with the total value of the round (eg. 123.10) and the Salt that was generated in the beginning.
  158. <br>
  159. <br> As an example, the MD5 hash of <b>123.10-04495e619935d08c</b> is <b>4963362068a5aae28c0ab8e7994a0e75</b>. Changing the value or salt the tiniest bit will result in a completely different hash.
  160. <br><b class="text-info">The total value and salt are seperated by a dash(-). The decimal point of the value is always a dot(.) and not a comma. The total value always has two decimal places.</b>
  161. <br>
  162. <br> After generating the MD5 hash the first 8 characters of it are converted from hexadecimal to decimal (32 bit integer), and divided by <b>4294967296</b> (Maximum value of a 32 bit integer). This will result in a Decimal number between 0 and 1 which is the winnerticket. The operators cannot manipulate the outcome of any roll. You can replicate the system using NodeJS:
  163.  
  164. <pre>
  165. var random = getWinnerTicket(Number(roundTotal).toFixed(2));
  166. var winningAmountAt = parseFloat((roundTotal * random).toFixed(2));
  167.  
  168. function generateSalt(){
  169. currentSalt = generateRandomString(8);
  170.  
  171. log('Salt generated!: '+currentSalt);
  172. }
  173.  
  174. function generateHash(){
  175. currentHash = crypto.createHash('sha1').update(currentSalt).digest('hex');
  176.  
  177. log('Hash generated!: '+currentHash);
  178. }
  179.  
  180. function getWinnerTicket(total){
  181. var hash = crypto.createHash('md5').update(total+'-'+currentSalt).digest('hex');
  182. hash = hash.slice(0, 8);
  183.  
  184. var ticket = parseInt(hash, 16);
  185. ticket = ticket / 4294967296;
  186.  
  187. return ticket;
  188. }
  189. </pre> For any other perplexities please <a href="javascript:void(0)" onclick="$('#faqModal').modal('show'); return false;">contact us</a>.
  190. </div>
  191. <div class="modal-footer">
  192. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  193. </div>
  194. </div>
  195.  
  196. </div>
  197. </div>
  198. <!-- Modal -->
  199. <div class="modal fade" id="tosModal" role="dialog">
  200. <div class="modal-dialog modal-lg">
  201.  
  202. <!-- Modal content-->
  203. <div class="modal-content">
  204. <div class="modal-header text-center">
  205. <button type="button" class="close" data-dismiss="modal">&times;</button>
  206. <h4 class="modal-title">ToS</h4>
  207. </div>
  208. <div class="modal-body">
  209. <h1>Terms of Service.</h1>
  210. <b>1.Legal Notice</b>
  211. <br> a. The terms and conditions set out below (the "Terms and Conditions") apply to and govern any services used by you ("You", the "user") and marketed by us under the brand name "rustyroll" including any services provided through any website with a domain name ending "rustyroll.com" (the "Website"), and to any email and other correspondence between us relating to such a service.
  212. <br>
  213. <br>
  214. <b>2.Bet participation</b>
  215. <br> a. By placing a bet on rustyroll.com you are 18 years of age or over, of sound mind and capable of taking responsibility for your own actions. rustyroll.com comes with no guarantees, expressed or implied, in connection with the service which is provided to you "as is" and we provide you with no warranty whatsoever regarding its quality, completeness or accuracy. As such, rustyroll.com cannot be held responsible in any event, direct, indirect or consequential with the use of the website. rustyroll.com reserves the right to suspend and/or cancel any bet/wager at any time. When a platform is suspended, any bets entered will be on hold. rustyroll.com also reserves the right to cease betting at any time without notice.
  216. <br>
  217. <br>
  218. <b>3.Deposit, withdraw or lost items:</b>
  219. <br> a. If any loss occur during a bet caused by a software or network issue, you have 5 days to make a claim by emailing us at support@rustyroll.com, after which these items will be considered surrendered. We strongly encourage you to accept your winning as soon as possible to avoid any issues.For every round played on rustyroll.com a 0-10% commission will be taken. It is calculated of the total pot value and is taken from the item pool, except the winners deposited item.
  220. <br>
  221. <br>
  222. <b>4.Content</b>
  223. <br> a. The content of the pages of this website is for your general information and use only. It is subject to change without notice. This website contains material which is owned by us. This material includes, but is not limited to, the design, layout, look, appearance and graphics. Reproduction is prohibited other than in accordance with the copyright notice, which forms part of these terms and conditions.
  224. <br>
  225. <br>
  226. <b>5.Affiliation</b>
  227. <br> a. rustyroll.com is not affiliated with Facepunch Studios, Rust or any other trademarks of the Facepunch Studios.
  228. </div>
  229. <div class="modal-footer">
  230. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  231. </div>
  232. </div>
  233.  
  234. </div>
  235. </div>
  236.  
  237. <!-- Modal -->
  238. <div class="modal fade" id="roundModal" role="dialog">
  239. <div class="modal-dialog modal-lg">
  240.  
  241. <!-- Modal content-->
  242. <div class="modal-content">
  243. <div class="modal-header text-center">
  244. <button type="button" class="close" data-dismiss="modal">&times;</button>
  245. </div>
  246. <div class="modal-body roundModalBody"></div>
  247. <div class="modal-footer">
  248. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  249. </div>
  250. </div>
  251.  
  252. </div>
  253. </div>
  254.  
  255. <div class="modal fade" id="partnersModal" role="dialog">
  256. <div class="modal-dialog modal-lg">
  257.  
  258. <!-- Modal content-->
  259. <div class="modal-content">
  260. <div class="modal-header text-center">
  261. <button type="button" class="close" data-dismiss="modal">&times;</button>
  262. <h4 class="modal-title text-center">Partners</h4>
  263. </div>
  264. <div class="modal-body roundModalBody">
  265. <table class="table">
  266. <thead>
  267. <tr>
  268. <th>Avatar</th>
  269. <th>Name</th>
  270. <th>Channel</th>
  271. </tr>
  272. </thead>
  273. <tbody>
  274. <?php
  275. echo $Functions->getPartners();
  276. ?>
  277. </tbody>
  278. </table>
  279.  
  280. <br>
  281. <br>
  282. <br>
  283. </div>
  284. <div class="modal-footer">
  285. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  286. </div>
  287. </div>
  288.  
  289. </div>
  290. </div>
  291.  
  292. <!-- Modal -->
  293. <div class="modal fade" id="depositModal" role="dialog">
  294. <div class="modal-dialog modal-lg">
  295.  
  296. <!-- Modal content-->
  297. <div class="modal-content">
  298. <div class="modal-header">
  299. <button type="button" class="close" data-dismiss="modal">&times;</button>
  300. <h4 class="modal-title text-center">Deposit</h4>
  301. </div>
  302. <div class="modal-body">
  303. <div class="row" style="margin: 0 5px 10px 5px;">
  304. <div class="col-lg-10">
  305. <input type="text" class="form-control" onkeyup="search();" placeholder="Search..." id="itemSearch" value="">
  306. </div>
  307. <div class="col-lg-2">
  308. <div class="dropdown">
  309. <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown"><span id="sortButtonText">Price descending</span>
  310. <span class="caret"></span></button>
  311. <ul class="dropdown-menu">
  312. <li><a href="#" onclick="sortItems('desc', false); return false;">Price descending</a></li>
  313. <li><a href="#" onclick="sortItems('asc', false); return false;">Price ascending</a></li>
  314. </ul>
  315. </div>
  316. </div>
  317. </div>
  318. <div class="row">
  319.  
  320. <div class="col-lg-12 depositModalBody">
  321. <div style="margin-left: 47%;">
  322. <i class="fa fa-refresh fa-spin fa-3x fa-fw"></i>
  323. <span class="sr-only">Loading...</span>
  324. </div>
  325. </div>
  326. </div>
  327. <div class="modal-footer">
  328. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  329. <button type="button" class="btn btn-default" onclick="refresh();">Refresh Inventory</button>
  330. <button type="button" class="btn btn-default" onclick="deposit();">Deposit<span class="deposit_total"></span></button>
  331. </div>
  332. </div>
  333.  
  334. </div>
  335. </div>
  336. </div>
  337.  
  338. <script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
  339. <script
  340. src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
  341. integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
  342. crossorigin="anonymous"></script>
  343. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
  344.  
  345. <script>
  346. console.log("%c WARNING! This is a browser feature intended for developers. If someone has told you to copy-paste something here to enable a hack IT IS a scam and will give them access to your account!!! ", "background: #222; color: #bada55; font-size: 25px;");
  347. var loggedIn = "<?php if(isset($data['loggedIn'])) { echo $data['loggedIn']; } ?>",
  348. userHash = "<?php if(isset($data['userHash'])) { echo $data['userHash']; } ?>",
  349. currentpage = "<?php if(isset($data['currentpage'])) { echo $data['currentpage']; } ?>",
  350. tradelink = "<?php if(isset($data['userTradelink'])) { echo $data['userTradelink']; } ?>";
  351.  
  352. function showSocial() {
  353. $("#followsocialmedia").css("display", "block"), $("#main").css("filter", "blur(4px)"), $(".scroll").niceScroll({
  354. cursorborder: "1px solid #303030"
  355. }), $("#followsocialmediaButton").click(function(e) {
  356. $.cookie("socialMedia", 1, {
  357. expires: 1
  358. }), 1 == $("#followsocialmediaButton").data("agree") && ($("#followsocialmedia").css("display", "none"), $("#main").css("filter", "blur(0px)"))
  359. })
  360. }
  361.  
  362. function profileDetails(e, a) {
  363. $("#depositModal").after('<div class="modal fade" style="background: rgba(0,0,0,0.25);" id="profileDetails" role="dialog"><div class="modal-dialog modal-lg"><div class="modal-content"><div class="modal-header text-center"><button type="button" class="close" data-dismiss="modal">&times;</button><h3 class="modal-title">' + a + '</h3> <span style="font-size:16px;">STEAMID: ' + e + '</span></div><div class="modal-body" style="height: 60px;"><div class="col-lg-6"><center><span style="color: #00ff14;font-size: 30px;"><a href="<?php echo $cfg["site_url"]; ?>?module=profile&profile=' + e + '" target="_blank">CLICK</a></span> RustyRoll Profile</center></div> <div class="col-lg-6" style="border-left:1px solid #353535;"><center><span style="color: #e73231;font-size: 30px;"><a href="https://steamcommunity.com/profiles/' + e + '" target="_blank">CLICK</a></span> Steam Profile</center></div> </div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div>'), $("#profileDetails").modal("show")
  364. }
  365.  
  366. function insertEmoji(e) {
  367. if (["joy", "100", "+1", "-1", "arrow_up", "arrow_down", "grimacing", "hushed", "imp", "japanese_ogre", "kissing_heart", "laughing"].indexOf(e) > -1) {
  368. var a = $("#chatMessage").val();
  369. a += ":" + e + ":", $("#chatMessage").val(a)
  370. }
  371. }
  372. $(document).ready(function() {
  373. $(".scroll").niceScroll({
  374. cursorborder: "1px solid #303030"
  375. });
  376. if($.cookie("agreeLegal") != 1) {
  377. $("body").css("overflow", "hidden");
  378. $("#main").css("filter", "blur(4px)");
  379. $("#18legalButton").click(function(e) {
  380. $.cookie("agreeLegal", 1, {
  381. expires: 1
  382. });
  383. if($("#18legalButton").data("agree") == 1) {
  384. $("#18legal").css("display", "none");
  385. $("body").css("overflow", "initial");
  386. $("#main").css("filter", "blur(0px)");
  387. if($.cookie("socialMedia") != 1)
  388. showSocial();
  389. }
  390. });
  391. setTimeout(() => { $("#18legal").css("display", "block"); }, 150);
  392. } else {
  393. if($.cookie("socialMedia") != 1)
  394. showSocial();
  395.  
  396. }
  397.  
  398. // 1 != $.cookie("agreeLegal") ? ($("#18legal").css("display", "block"), $("#main").css("filter", "blur(4px)"), $("body").css("overflow", "hidden"), $(".scroll").niceScroll({
  399. // cursorborder: "1px solid #303030"
  400. // }), $("#18legalButton").click(function(e) {
  401. // $.cookie("agreeLegal", 1, {
  402. // expires: 1
  403. // }), 1 == $("#18legalButton").data("agree") && ($("#18legal").css("display", "none"), $("body").css("overflow", "initial"), $("#main").css("filter", "blur(0px)"), 1 != $.cookie("socialMedia") && showSocial())
  404. // })) : 1 != $.cookie("socialMedia") && showSocial()
  405. });
  406. </script>
  407. <?php if($data['loggedIn'] && isset($data['options'])): ?>
  408. <script>
  409. const options = JSON.parse("<?php echo str_replace("\"", "\\\"", $data['options']) ?> ");
  410. </script>
  411. <?php else: ?>
  412. <script>
  413. const options = [
  414. 'chatSounds' => true,
  415. 'itemAddedSound' => true,
  416. 'toggleMusic' => true,
  417. 'notificatonSounds' => true,
  418. 'noAnimation' => false
  419. ];
  420. </script>
  421. <?php endif; ?>
  422. <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.1.0/socket.io.js"></script>
  423.  
  424. <script src="https://rustyroll.com/views/js/bootstrap.min.js"></script>
  425. <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.js"></script>
  426. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.nicescroll/3.7.6/jquery.nicescroll.min.js"></script>
  427.  
  428. <?php if($moduleGet == "coinflip") { ?>
  429.  
  430. <script src="./views/js/coinflip.js"></script>
  431.  
  432. <?php } ?>
  433. <?php if($moduleGet === 'profile'): ?>
  434. <script src="./views/js/switchery.min.js"></script>
  435.  
  436. <script>
  437. let elems = Array.prototype.slice.call(document.querySelectorAll('.js-switch'));
  438.  
  439. elems.forEach(function(html) {
  440. let switchery = new Switchery(html, {
  441. size: 'small',
  442. color: '#ee5555',
  443. secondaryColor: '#1a1a1a'
  444. });
  445. });
  446. </script>
  447. <?php endif; ?>
  448. <script>
  449. $(".scroll").niceScroll({
  450. cursorborder: "1px solid #303030",
  451. horizrailenabled: false
  452. });
  453. </script>
  454.  
  455. <?php if($settings['jackpotPaused']): ?>
  456. <script>
  457. pauseJackpot();
  458. </script>
  459. <?php endif; ?>
  460.  
  461. <script type="text/javascript" src="./views/js/app.js" ></script>
  462. </body>
  463. </html>
Add Comment
Please, Sign In to add comment