Cryptomillo Posted April 14, 2020 Share Posted April 14, 2020 var config = { bet: { label: 'Apuesta', value: currency.minAmount, type: 'number' }, payout: {label: 'Retirada', type: 'radio', value: 2.0, options: [{value: 2.00, label: '2x'}, {value: 1.40, label: '1.4x'}, {value: 2.20, label: '2.2x'}, {value: 2.30, label: '2.3x'}]}, } function main () { var current = config.bet.value; engine.on('GAME_STARTING', function () { var latest = engine.getHistory()[0]; if(latest.crash > 199) { // verde engine.bet(current, config.payout.value); } }); engine.on('GAME_ENDED', function () { var latest = engine.getHistory()[0]; // If we wagered, it means we played if (!latest.wager) { return; } // perdimos if (!latest.cashedAt) { log.info('Perdimos ' + current + currency.currencyName); current = current * 2; } else { current = config.bet.value; } }); } Link to comment Share on other sites More sharing options...
Lehens Givris Posted August 2, 2020 Share Posted August 2, 2020 Thanks for your script, it works better than the basic ones.I made a little addition when we win and went from 5k JB to 29k JB in 2-3 hours. Link to comment Share on other sites More sharing options...
eriit Posted March 10, 2021 Share Posted March 10, 2021 On 4/14/2020 at 12:06 PM, Cryptomillo said: var config = { bet: { label: 'Apuesta', value: currency.minAmount, type: 'number' }, payout: {label: 'Retirada', type: 'radio', value: 2.0, options: [{value: 2.00, label: '2x'}, {value: 1.40, label: '1.4x'}, {value: 2.20, label: '2.2x'}, {value: 2.30, label: '2.3x'}]}, } function main () { var current = config.bet.value; engine.on('GAME_STARTING', function () { var latest = engine.getHistory()[0]; if(latest.crash > 199) { // verde engine.bet(current, config.payout.value); } }); engine.on('GAME_ENDED', function () { var latest = engine.getHistory()[0]; // If we wagered, it means we played if (!latest.wager) { return; } // perdimos if (!latest.cashedAt) { log.info('Perdimos ' + current + currency.currencyName); current = current * 2; } else { current = config.bet.value; } }); } hey como lo uso ? } Link to comment Share on other sites More sharing options...
Erikloco Posted June 16, 2021 Share Posted June 16, 2021 On 4/14/2020 at 1:06 PM, Cryptomillo said: var config = { bet: { label: 'Apuesta', value: currency.minAmount, type: 'number' }, payout: {label: 'Retirada', type: 'radio', value: 2.0, options: [{value: 2.00, label: '2x'}, {value: 1.40, label: '1.4x'}, {value: 2.20, label: '2.2x'}, {value: 2.30, label: '2.3x'}]}, } function main () { var current = config.bet.value; engine.on('GAME_STARTING', function () { var latest = engine.getHistory()[0]; if(latest.crash > 199) { // verde engine.bet(current, config.payout.value); } }); engine.on('GAME_ENDED', function () { var latest = engine.getHistory()[0]; // If we wagered, it means we played if (!latest.wager) { return; } // perdimos if (!latest.cashedAt) { log.info('Perdimos ' + current + currency.currencyName); current = current * 2; } else { current = config.bet.value; } }); } Cómo se usa el script On 4/14/2020 at 1:06 PM, Cryptomillo said: var config = { bet: { label: 'Apuesta', value: currency.minAmount, type: 'number' }, payout: {label: 'Retirada', type: 'radio', value: 2.0, options: [{value: 2.00, label: '2x'}, {value: 1.40, label: '1.4x'}, {value: 2.20, label: '2.2x'}, {value: 2.30, label: '2.3x'}]}, } function main () { var current = config.bet.value; engine.on('GAME_STARTING', function () { var latest = engine.getHistory()[0]; if(latest.crash > 199) { // verde engine.bet(current, config.payout.value); } }); engine.on('GAME_ENDED', function () { var latest = engine.getHistory()[0]; // If we wagered, it means we played if (!latest.wager) { return; } // perdimos if (!latest.cashedAt) { log.info('Perdimos ' + current + currency.currencyName); current = current * 2; } else { current = config.bet.value; } }); } Si pudieras ayudarme Link to comment Share on other sites More sharing options...
abdil Posted July 4, 2021 Share Posted July 4, 2021 bet: { label: 'Apuesta', value: currency.minAmount, type: 'number' }, payout: {label: 'Retirada', type: 'radio', value: 2.0, options: [{value: 2.00, label: '2x'}, {value: 1.40, label: '1.4x'}, {value: 2.20, label: '2.2x'}, {value: 2.30, label: '2.3x'}]}, } function main () { var current = config.bet.value; engine.on('GAME_STARTING', function () { var latest = engine.getHistory()[0]; if(latest.crash > 199) { // verde engine.bet(current, config.payout.value); } }); engine.on('GAME_ENDED', function () { var latest = engine.getHistory()[0]; // If we wagered, it means we played if (!latest.wager) { return; } // perdimos if (!latest.cashedAt) { log.info('Perdimos ' + current + currency.currencyName); current = current * Link to comment Share on other sites More sharing options...
Yindro Posted February 5, 2022 Share Posted February 5, 2022 Hola soy nuevo por aki me gusta mucho los juegos pero en específico este de choke me pueden decir como hago lo ke están diciendo en este tema Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.