Alwaysmore Posted June 6, 2023 Share Posted June 6, 2023 Hey guys, Do you know how to get the result of the bet after betting? I mean, you bet 1 for a payout 2 for example, and the result is that you lost (payout was 1.2). How do you get this 1.2 ? Thanks a lot ! In crash it's game.history[0]. How do you get the same in hash dice? Link to comment Share on other sites More sharing options...
Alwaysmore Posted June 7, 2023 Author Share Posted June 7, 2023 Hi, No idea ? :(:(:( Link to comment Share on other sites More sharing options...
Alwaysmore Posted June 12, 2023 Author Share Posted June 12, 2023 Hi all, Is my question not clear or is it just not feasible? Thanks a lot Link to comment Share on other sites More sharing options...
Skele Posted June 22, 2023 Share Posted June 22, 2023 They removed this I am fairly sure. If one were to use the client side Javascript instead of their sandbox scripts though, you could retrieve this information by hdg.myBets[0].gameValue.gameValue Link to comment Share on other sites More sharing options...
gwilson Posted June 26, 2023 Share Posted June 26, 2023 It's been sometimes im lacking of devices to figure things out someone bug my iMac I wouldn't turn on anymore. So much isn't being fair in the game I wanna know where is the humanity fits this days. It's grace Link to comment Share on other sites More sharing options...
Skele Posted June 26, 2023 Share Posted June 26, 2023 its a casino lnot clean water. There is no humanity involved, it isn't a god given right to gamble or to do well at it. The only claim that it is deterministic, provably fair by their own definition is only that. That the outcome is predetermined based on the inputs. Link to comment Share on other sites More sharing options...
rungxanhlv Posted June 30, 2023 Share Posted June 30, 2023 console.log(JSON.stringify(game.history[0],null, 4)); output: { "_events": {}, "_eventsCount": 0, "history": 0, "isHistoryWarning": false } Link to comment Share on other sites More sharing options...
Skele Posted June 30, 2023 Share Posted June 30, 2023 right said you can't do it in the sand boxed scripting environment because they aren't passing the complete informaqtion to you so you have to go to the dev console Link to comment Share on other sites More sharing options...
Vexgjfthnyb Posted August 26, 2023 Share Posted August 26, 2023 There have been occasions when I faced challenges due to a shortage of devices to help me troubleshoot issues. At one point, my iMac was compromised and refused to power on, which was quite frustrating. Amidst these experiences, I've noticed instances where fairness seems to be lacking, particularly in certain situations within the gaming realm. It makes me ponder about the role of humanity in the present day and how it fits into these circumstances. Link to comment Share on other sites More sharing options...
Alwaysmore Posted November 28, 2023 Author Share Posted November 28, 2023 Thanks a lot. It doesn't work :(. I tested 3 proposals log.info('Dernier jeu : ' + game.history[0]); log.info('Dernier jeu : ' + JSON.stringify(game.history[0],null, 4)); log.info('Dernier jeu : ' + hdg.myBets[0].gameValue.gameValue); I don't understand why we can get that value in CRASH game, but not for HASH DICE... Link to comment Share on other sites More sharing options...
Skele Posted November 28, 2023 Share Posted November 28, 2023 This one like i said works client side not in the sandboxed scripts: log.info('Dernier jeu : ' + hdg.myBets[0].gameValue.gameValue); as in use the dev console. The game object itself does have a history property but it doesn't look like they populate it before handing it to us. but when i ran log.info(JSON.stringify(game)) it came back with the output:{"_events":{},"_eventsCount":0,"history":[],"isHistoryWarning":false} so clientside is the only way you will be able to get it. Link to comment Share on other sites More sharing options...
Alwaysmore Posted November 28, 2023 Author Share Posted November 28, 2023 Mmmmh OK, clear, thanks. I don't really know how I can use this combined with my script Link to comment Share on other sites More sharing options...
Skele Posted November 28, 2023 Share Posted November 28, 2023 you rewrite the script to be client side. Inject an html div that has a form for your input. Call the javascript object model to actually power the game etc.. Then you will get the full set of information and not just a subset of info that they choose to give to you in the sandbox environment. Link to comment Share on other sites More sharing options...
Recommended Posts
You need to be a member in order to leave a comment
Sign up for a new account in our community. It's easy!
Register a new accountAlready have an account? Sign in here.
Sign In Now