Jump to content

Arsouille

Member
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

3 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

WAGERED DETAIL

  • TOTAL 7593.505873
  • TRX 96.974952
  • TRTL 261594.953732966
  • ETH 1.201538319
  • LINK 0.119643508
  • DOGE 92117.249489205
  • XLM 56.25852294
  • BCD 124.182931
  1. Hello, Why TRTL is not in BC Swap ? A good idea would be to insert a small mining coin who small player can mining with XMrig CPU This coin must be exchangeable in BC Swap XMR is to big for personal mining TRTL isn't a very good idea because TRTL V2 coming soon KVA / QRL / DCY / EPIC / WOW...... looks good Thanks for your attention Arsouille
  2. Exact It's the reason why just after GAME_ENDED I receive my new Balance if (currency.amount > Balance) { Balance = currency.amount; } We can close the Topip. thanks
  3. Big Thanks. Miracles have to happen to believe in them a little longer I copied my/our code and past it back, and it also work for me .... I was able to finish my tought with this : if (((MiseBet - Soustraction_MiseBet) > Base_MiseBet) && (currency.amount < Balance)) Thanks again
  4. Of course. This is certainly not the cleanest code, I am an amateur Very thanks for your help var config = { mainTitle: { label: ' Custom Script Title ', type: 'title' }, bet: { label: 'Base Bet', value: currency.minAmount, type: 'number' }, }; function main () { var Nbr_Pause = 0; var Multiple = 1; var Base_MiseBet = config.bet.value; var Balance = currency.amount; var Cashout = 2; var Multiplication_MiseBet = 2; var Division_MiseBet = 2; var Soustraction_MiseBet = 0; var MiseBet = Base_MiseBet; var Nbr_Crash_Pause = 0; var History = []; var LastGame = History[0]; var LastCrash = 2; engine.on('GAME_STARTING', function () { if (Nbr_Crash_Pause >= Nbr_Pause) { engine.bet((Multiple * MiseBet), Cashout); } } ); engine.on('GAME_ENDED', function (data) { // Should be changed to: History = engine.getHistory(); LastGame = History[0]; LastCrash = (LastGame.crash / 100); if (LastGame.cashedAt) { if ((MiseBet - Soustraction_MiseBet) > Base_MiseBet) { MiseBet = MiseBet - Soustraction_MiseBet; Soustraction_MiseBet = MiseBet / Division_MiseBet; } else { MiseBet = Base_MiseBet; } } else { MiseBet = MiseBet * Multiplication_MiseBet; Soustraction_MiseBet = MiseBet / Division_MiseBet; } if (LastCrash < Cashout) { Nbr_Crash_Pause = Nbr_Crash_Pause + 1; } else if (LastCrash >= Cashout) { Nbr_Crash_Pause = 0; } console.log('MiseBet : ' + MiseBet); console.log('Soustraction_MiseBet : ' + Soustraction_MiseBet); log.success('Balance : ' + Balance); } ); }
  5. Thanks for our help SyntaxError: Invalid or unexpected token I try to only integrate the var and only the log.success, same error
  6. Hi, For my crash script, I try to create a var who contain my balance I try this but I obtain errors var Balance = currency.amount; and console.log('Balance : ' + currency.amount); Where is my mistakes ? Thanks
×
×
  • Create New...