FunnDonn Posted June 1, 2024 Posted June 1, 2024 Is it possible to execute the JavaScript code for the Crash game using a browser extension, code injector, or Console? If yes, please assist me with this. I wanted to avoid losses caused by errors like those in the image. I appreciate any help can provide.
HappyFuther Posted June 6, 2024 Posted June 6, 2024 I think you can Code Injector. what is the code you want to use? I will test it on my platform and send the result to you.
FunnDonn Posted June 8, 2024 Author Posted June 8, 2024 var config = { bet: { label: "bet", value: currency.minAmount, type: "number" }, payout: { label: "payout", value: 2, type: "number" }, }; var waitRounds = 5; var currentRound = 0; function main() { game.onBet = function() { if (currentRound === 0) { game.bet(config.bet.value, config.payout.value).then(function(payout) { if (payout > 1) { log.success("We won, payout " + payout + "X!"); } else { log.error("We lost, payout " + payout + "X!"); } // Set the number of rounds to wait before placing the next bet currentRound = waitRounds; // Decrease the waitRounds by 1, and reset to 5 if it goes below 1 waitRounds = waitRounds > 1 ? waitRounds - 1 : 5; }); } else { // Decrease the current round counter currentRound--; } }; } Thanks for the quick response. Could you please modify this JavaScript code to run through Code Injector?
FunnDonn Posted June 19, 2024 Author Posted June 19, 2024 On 6/8/2024 at 10:07 AM, FunnDonn said: var config = { bet: { label: "bet", value: currency.minAmount, type: "number" }, payout: { label: "payout", value: 2, type: "number" }, }; var waitRounds = 5; var currentRound = 0; function main() { game.onBet = function() { if (currentRound === 0) { game.bet(config.bet.value, config.payout.value).then(function(payout) { if (payout > 1) { log.success("We won, payout " + payout + "X!"); } else { log.error("We lost, payout " + payout + "X!"); } // Set the number of rounds to wait before placing the next bet currentRound = waitRounds; // Decrease the waitRounds by 1, and reset to 5 if it goes below 1 waitRounds = waitRounds > 1 ? waitRounds - 1 : 5; }); } else { // Decrease the current round counter currentRound--; } }; } Thanks for the quick response. Could you please modify this JavaScript code to run through Code Injector? Can someone help me how can I capture the crash events from the console like Bet end or game end result? 3 minutes ago, FunnDonn said: Can someone help me how can I capture the crash events from the console like Bet end or game end result? @Jamiekson Could you please help me On 6/8/2024 at 10:07 AM, FunnDonn said: var config = { bet: { label: "bet", value: currency.minAmount, type: "number" }, payout: { label: "payout", value: 2, type: "number" }, }; var waitRounds = 5; var currentRound = 0; function main() { game.onBet = function() { if (currentRound === 0) { game.bet(config.bet.value, config.payout.value).then(function(payout) { if (payout > 1) { log.success("We won, payout " + payout + "X!"); } else { log.error("We lost, payout " + payout + "X!"); } // Set the number of rounds to wait before placing the next bet currentRound = waitRounds; // Decrease the waitRounds by 1, and reset to 5 if it goes below 1 waitRounds = waitRounds > 1 ? waitRounds - 1 : 5; }); } else { // Decrease the current round counter currentRound--; } }; } Thanks for the quick response. Could you please modify this JavaScript code to run through Code Injector? @Jamiekson Could you please help me with this
Mxnexdltitac Posted October 26, 2024 Posted October 26, 2024 var config = { bet: { label: "bet", value: currency.minAmount, type: "number" }, payout: { label: "payout", value: 2, type: "number" }, }; var waitRounds = 5; var currentRound = 0; function main() { game.onBet = function() { if (currentRound === 0) { game.bet(config.bet.value, config.payout.value).then(function(payout) { if (payout > 1) { log.success("We won, payout " + payout + "X!"); } else { log.error("We lost, payout " + payout + "X!"); } // Set the number of rounds to wait before placing the next bet currentRound = waitRounds; // Decrease the waitRounds by 1, and reset to 5 if it goes below 1 waitRounds = waitRounds > 1 ? waitRounds - 1 : 5; }); } else { // Decrease the current round counter currentRound--; } }; } Thanks for the quick response. Could you please modify this JavaScriptcode to run through Code Injector?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.