-
Posts
73 -
Joined
-
Last visited
-
Days Won
2
Posts posted by ][NT3L][G3NC][
-
-
Bringing My Old Hotkey Script Back To Life. bcGame adding hotkeys to their platform never actually replaced the functionality of my old script.
As of right now only Crash/Trendball, Video Poker, Coinflip, Plinko & Wheel are implemented.
Unlike my old version this one doesn't come with an input box to capture the keys. The Chat & Private Chat & Game Search Etc. Etc. all have `placeholders` So when a keyEvent is captured and its target has a placeholder it stops processing it and doesn't prevent default. So it shouldn't double your bet and make you bet while you are typing/talking in chat. "NO PROMISES"
Script will also check if bcGame's hotkeys are enabled and if they are, the script will disable them. Very bad things happen when you have 2 separate Hotkeys enabledIf anyone actually uses this and wants other games added, let me know.
// ==UserScript== // @name bcGame Hotkeys // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author ][NT3L][G3NC][ // @match https://bc.game/game/crash* // @match https://bc.game/game/video-poker // @match https://bc.game/game/coinflip // @match https://bc.game/game/plinko // @match https://bc.game/game/wheel // @icon https://www.google.com/s2/favicons?sz=64&domain=bc.game // @grant none // ==/UserScript== //========================================================##================================## // || || // Crash/Trendball || VIDEO POKER || // =================== || =============== || // || || // A: 1/2 Bet || A: 1/2 Bet || // S: 2x Bet || S: 2x Bet || // T: Switch To/From Crash|Trendball || 1: Hold/Unhold 1st Card || // R: TrendBall Red || 2: Hold/Unhold 2nd Card || // G: TrendBall Green || 3: Hold/Unhold 3rd Card || // Y: TrendBall Yellow (MOON) || 4: Hold/Unhold 4th Card || // SPACE: Bet/Cash Out/Cancel Bet OR Bets Red Trendball || 5: Hold/Unhold 5th Card || // || SPACE: Bet / Deal || //=====================##=====================##==========## || // || || ##====================## // COIN FLIP || PLINKO || WHEEL || // =============== || ============ || =========== || // || || || // A: 1/2 Bet || A: 1/2 Bet || A: 1/2 Bet || // S: 2x Bet || S: 2x Bet || S: 2x Bet || // T: Tails || R: Risk || R: Risk || // H: Heads || W: Rows || W: Segment || // SPACE: Bet / Deal || SPACE: Bet / Deal || SPACE: Bet / Deal || // || || || //=====================##=====================##======================## document.addEventListener('keydown', sexyKeys, false); function checkHotKeys(game) { try { // Check If bcGame Hotkeys Is Enabled if(game.settings.hotkeyEnable) { // Disable Hotkeys Otherwise Very Bad Things Will Happen game.settings.hotkeyEnable = false; } } catch(e) { // } return } function sexyKeys(event) { // Check that event isnt targeting Chat/Priv Chat/ Game Search... Anything With a Placeholder if(!event.target.attributes.getNamedItem('placeholder')) { if(location.href.includes('trenball')) { checkHotKeys(window.crash); switch(event.keyCode) { case 65: // A : 1/2 Bet try { document.querySelector(".button-group > button:nth-child(1)").click(); event.preventDefault(); } catch(err) { // } break; case 83: // S: 2x Bet try { document.querySelector(".button-group > button:nth-child(2)").click(); event.preventDefault(); } catch(err) { // } break; case 32: // SPACE: Bet Crash/ Red In Trendball try { document.querySelector('.game-control-panel').querySelectorAll('button')[3].click(); event.preventDefault(); } catch(err) { // } break; case 84: // T: Switch Between Crash & Trendball try { document.querySelector(".tabs-navs > button:nth-child(1)").click(); event.preventDefault(); } catch(err) { // } break; case 82: // R: Bet Red try { document.querySelector('.game-control-panel').querySelectorAll('button')[3].click(); event.preventDefault(); } catch(err) { // } break; case 71: // G: Bet Green try { document.querySelector('.game-control-panel').querySelectorAll('button')[4].click(); event.preventDefault(); } catch(err) { // } break; case 89: // Y: Bet Yellow (MOON) try { document.querySelector('.game-control-panel').querySelectorAll('button')[5].click(); event.preventDefault(); } catch(err) { // } break; } } else if(location.href.includes('crash')) { checkHotKeys(window.crash); switch(event.keyCode) { case 65: try { document.querySelector(".button-group > button:nth-child(1)").click(); event.preventDefault(); } catch(err) { // } break; case 83: try { document.querySelector(".button-group > button:nth-child(2)").click(); event.preventDefault(); } catch(err) { // } break; case 32: try { document.querySelector('.game-control-panel').querySelector('button').click(); event.preventDefault(); } catch(err) { // } break; case 84: try { document.querySelector(".tabs-navs > button:nth-child(2)").click(); event.preventDefault(); } catch(err) { // } break; } } else if(location.href.includes('video-poker')) { checkHotKeys(window.hdg); switch(event.keyCode) { case 65: // A : 1/2 Bet try { document.querySelector(".button-group > button:nth-child(1)").click(); event.preventDefault(); } catch(err) { // } break; case 83: // S: 2x Bet try { document.querySelector(".button-group > button:nth-child(2)").click(); event.preventDefault(); } catch(err) { // } break; case 32: // SPACE: Bet try { document.querySelector('.game-control-panel').querySelectorAll('button')[3].click(); event.preventDefault() } catch(err) { // } break; case 49: // 1: First Card try { document.querySelectorAll('.card-model')[0].click() event.preventDefault(); } catch(err) { // } break; case 50: // 2: Second Card try { document.querySelectorAll('.card-model')[1].click() event.preventDefault(); } catch(err) { // } break; case 51: // 3: Third Card try { document.querySelectorAll('.card-model')[2].click() event.preventDefault(); } catch(err) { // } break; case 52: // 4: Fourth Card try { document.querySelectorAll('.card-model')[3].click() event.preventDefault(); } catch(err) { // } break; case 53: // 5: Fifth Card try { document.querySelectorAll('.card-model')[4].click() event.preventDefault(); } catch(err) { // } break; } } else if(location.href.includes('coinflip')) { checkHotKeys(window.cfg); switch(event.keyCode) { case 65: try { document.querySelector(".game-control-panel *> button:nth-child(1)").click() event.preventDefault(); } catch(err) { // } break; case 83: try { document.querySelector(".game-control-panel *> button:nth-child(2)").click() event.preventDefault(); } catch(err) { // } break; case 32: try { document.querySelectorAll(".game-control-panel *> button")[5].click(); event.preventDefault(); } catch(err) { // } break; case 84: try { document.querySelectorAll(".game-control-panel *> button")[4].click(); event.preventDefault(); } catch(err) { // } break; case 72: try { document.querySelectorAll(".game-control-panel *> button")[3].click(); event.preventDefault(); } catch(err) { // } break; } } else if(location.href.includes('plinko')) { checkHotKeys(window.dg); switch(event.keyCode) { case 65: try { document.querySelector(".game-control-panel *> button:nth-child(1)").click() event.preventDefault(); } catch(err) { // } break; case 83: try { document.querySelector(".game-control-panel *> button:nth-child(2)").click() event.preventDefault(); } catch(err) { // } break; case 32: try { document.querySelector('.bet-button').click(); event.preventDefault(); } catch(err) { // } break; case 82: try { if(window.dg.risk == 3) { window.dg.risk = 1; } else { window.dg.risk += 1; } event.preventDefault(); } catch(err) { // } break; case 87: try { if(window.dg.rows == 16) { window.dg.rows = 8; } else { window.dg.rows += 1; } event.preventDefault(); } catch(err) { // } break; } } else if(location.href.includes('wheel')) { checkHotKeys(window.wlg); switch(event.keyCode) { case 65: try { document.querySelector(".game-control-panel *> button:nth-child(1)").click() event.preventDefault(); } catch(err) { // } break; case 83: try { document.querySelector(".game-control-panel *> button:nth-child(2)").click() event.preventDefault(); } catch(err) { // } break; case 32: try { document.querySelector('.bet-button').click(); event.preventDefault(); } catch(err) { // } break; case 82: try { if(window.wlg.risk == 3) { window.wlg.risk = 1; } else { window.wlg.risk += 1; } event.preventDefault(); } catch(err) { // } break; case 87: try { if(window.wlg.segment == 50) { window.wlg.segment = 10; } else { window.wlg.segment += 10; } event.preventDefault(); } catch(err) { // } break; } } } else { // Key Event May Be Targeting Something Other Than The Game So We Do Not Process & Block It.... } }
0 -
The shoe is created with 12 decks. It reshuffles after 8 decks. So theres still 4 decks to cover the 'negative'. can't just shuffle in the middle of a game. That would make 1 bet across 2 Provably Fair bets. Talk about headaches lol.
I have gone thru all the verification code for bcGame's in house games and they Unfortunately all check out.
0 -
Crash is a Hash Chain. Round 1 would be the end of the hash chain. Any funny business and it breaks the chain.
The hash you see is the Seed for that round. When you take next round's seed/hash and Sha256 it, you get the round before its Hash/Seed.
So again "There's 0 Machine learning in a Provably Fair System.
You should research what Provably Fair is. and learn how it works, You would most likely Benefit from the Knowledge. "
So they have provided everything that is needed to know/check that Crash isnt cheating. As far as predicting the outcome goes, Its rather impossible to know/find/crack what was Sha256 to make this:9742f09d30d81cbffa5d6a816a010a3450ebaa9c2be9cb4ab15bc7db2b2a908e
Even if you did somehow magically figure out '4067c28bd2e7d67999295fbb70212abd0bcfe987a56117325f3662c00229ea2c' was hashed to create it, you would still need to figure out what was hashed to create that. Keep in mind you would have to do this in the instant between rounds.
# You Sha256 This af92dbab3040325027fc1bad41919514ec862909be62ae2660343bfca689e6f2 # And You Get This. Sha256 This 164471edbbce01e89ff51a4c05c57129a024f38e7fef2abad5973e422e92be02 # And You Get This 713e90e114a0d8f1fc95ec0e4e9708644baa5016252c8067218d732b1298bdee # Rinse 4b53e7f8886afbfe714907d5c73589778f749663e2c00e449640850976beabb9 # And 4067c28bd2e7d67999295fbb70212abd0bcfe987a56117325f3662c00229ea2c # Repeat 9742f09d30d81cbffa5d6a816a010a3450ebaa9c2be9cb4ab15bc7db2b2a908e
0 -
On 1/20/2022 at 6:23 PM, Skele said:
I can help you make it. because i haven't actually played hash dice that much and was looking for some sort of strategy to implement with. i will take a look and see if i can't crank it out tonight, however from looking at the API in the past i don't remember it being immediately obvious how to switch from low to high without actually having to change the value in the form before it was submitted, which since the scripts who web workers means the script doesn't have access to the UI directly.
For both 1 and 2 just based on my experience with my crash scripts. You want to avoid patterns because i am fairly sure there is some sort of machine learning looking for patterns and then breaking them. If i can figure out how to switch from high to low, i would recommend that you go with like a range for high then low then back
something like 1-4 then everytime it switches it will just grab a random number (you may want that range bigger) and does that many of low or high before switching.number 3 is easy to to i already do that in all my crash scripts the only problem is you pretty much have to keep a running total as the balance value doesn't get updated while the script is running except the initial when it starts. At least for crash and i don't know why but i just copied it and had a running total which worked out just fine. Also what kind of logging are you going to want.
There's 0 Machine learning in a Provably Fair System.
You should research what Provably Fair is. and learn how it works, You would most likely Benefit from the Knowledge.0 -
-
Accident
0
BC Game Presents Provably Fair Hackathon
in General Events
Posted
I'm pretty sure all but the Egyptian Slots game has already been paid out.