Bitcoin Forum

Economy => Gambling => Topic started by: klaaas on April 15, 2019, 09:10:10 PM



Title: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on April 15, 2019, 09:10:10 PM
What is it
A python script hosted on trinket to run the code in any browser.

What will it do
Make random bets with random payouts with random delays.
default: random bet between 1 and 3 satoshi with a payout between 2 and 9920 with a delay between 1 and 5 seconds and flip hi and low on a loss.
[It can be adjusted to your needs]

What will you need
Your API key from crypto-games and a positive balance

What can you expect
https://i.imgur.com/Li5tksW.png


how ? where ?
crypto-gamer/random/ (https://crypto-gamer.eu/random/)
Edit line 8 and hit the run button
Or edit line 30 and 31 and 37, 38, 39 to your needs

You could also copy and paste it towards a local python instance if you dont trust the domain or the trinket service

Have fun.

Random bet and payout : crypto-gamer/random/ (https://crypto-gamer.eu/random/)
Double up : crypto-gamer/x2/ (https://crypto-gamer.eu/x2/)
-50 down : crypto-gamer/minus50/ (https://crypto-gamer.eu/minus50/)
luckyshot : crypto-gamer/luckyshot/ (https://crypto-gamer.eu/luckyshot/)



Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: hyunee on April 15, 2019, 09:56:42 PM
-snip-
Don't know much about codes but I found this interesting. Is this automated api dice code works on any sites that has dice on it? It would be so much fun and if the code works, I think it'll be profitable to all.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: Joel_Jantsen on April 15, 2019, 10:17:23 PM
Do you have the permission to use their logo and stuff on your website? Don't get me wrong but people might misunderstand it as crypto-game's official script or something. The domain : https://crypto-gamer.eu/ is also somewhat like the original one so I doubt the owners of the casino will be happy with it. The script looks quite simple. Just confirm once with the owner/manager that is DodgecoinMachine/Lutpin if they're okay with it.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: Bitinity on April 16, 2019, 05:05:39 AM
-snip-
Don't know much about codes but I found this interesting. Is this automated api dice code works on any sites that has dice on it? It would be so much fun and if the code works, I think it'll be profitable to all.

As its name, I'm sure it works for Crypto-games.net only unless you have the skill to edit the script. And what do you mean by it will be profitable to all? Profitable in what case? In case of winning or in case of something else?


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: alisafidel58 on April 16, 2019, 06:43:40 AM
-snip-
Don't know much about codes but I found this interesting. Is this automated api dice code works on any sites that has dice on it? It would be so much fun and if the code works, I think it'll be profitable to all.

In case you didn't read what just said let me remind you to it. I think it only works on crypto-gamer gambling site as OP said.

What will it do
Make random bets with random payouts with random delays.
default: random bet between 1 and 3 satoshi with a payout between 2 and 9920 with a delay between 1 and 5 seconds and flip hi and low on a loss.
[It can be adjusted to your needs]





Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: Haunebu on April 16, 2019, 06:46:30 AM
-snip-
Don't know much about codes but I found this interesting. Is this automated api dice code works on any sites that has dice on it? It would be so much fun and if the code works, I think it'll be profitable to all.

As its name, I'm sure it works for Crypto-games.net only unless you have the skill to edit the script. And what do you mean by it will be profitable to all? Profitable in what case? In case of winning or in case of something else?

Profitable = Obviously winning money. What else do you think he is trying to infer here? Anyway, I don't usually trust such scripts and don't bother fiddling around with them. Also, I think that digital goods is the right board for this topic.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on April 16, 2019, 08:21:10 AM
Is this automated api dice code works on any sites that has dice on it?
It can be modified to be able to work on other sites that are using API calls but this script only works for crypto-games

Do you have the permission to use their logo and stuff
I used a static banner, https://www.crypto-games.net/banners/animated/list.html
And there api calls https://www.crypto-games.net/api/
I will inform them but im pretty sure they already saw the post ; )

I don't usually trust such scripts and don't bother fiddling around with them. Also, I think that digital goods is the right board for this topic.
I made this as a start for some who do like to fiddle around.
Since it was more gamble orientated then a digital service i went for this sub.





Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: nauane on April 16, 2019, 03:38:27 PM
There are few things which needs to be addressed here.

1- What is the success percentage of this script ?
2- Is this made with the consent of the owners which i really doubt.
3- As per the description the script is free is use for anyone.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on April 16, 2019, 04:14:25 PM
There are few things which needs to be addressed here.

1- What is the success percentage of this script ?
2- Is this made with the consent of the owners which i really doubt.
3- As per the description the script is free is use for anyone.

1- That is unknown/random. The picture is showing 3 results over the same time span. You could test it out with playmoney.
2- No, why ? the api documentation is free to use for all.
3- Yes it is.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: 2double0 on April 17, 2019, 09:26:07 AM
What will it do
Make random bets with random payouts with random delays.
default: random bet between 1 and 3 satoshi with a payout between 2 and 9920 with a delay between 1 and 5 seconds and flip hi and low on a loss.
[It can be adjusted to your needs]

The type of script this is, is the style I am used to. I make bets the same way, almost everything random but what I didn't like here is the "adjustment" you are talking about, which means that it can't really assure wins on one side neither both.

Quote

Purely hypothetical as past performance are not a guarantee for future results - this is what I used to read at many websites offering such hypothetical services.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: AhmadM on April 17, 2019, 12:58:19 PM
It can be modified to be able to work on other sites that are using API calls but this script only works for crypto-games

Do you have any plan to provide the guide for changing the code to be used on other sites? Im pretty sure many people here don't understand coding/programming language properly and not all of people plays there. It will be more helpful if you can do it.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: dark08 on April 17, 2019, 01:09:19 PM
Can you give us instruction how this automated api dice betting works do you plan to add script in some online dice betting site? Because this is only for crypto-games as the tittle of this thread.
Then I also ask if the winning chances of this script is too high?
Can we assure a profit if using this api dice script?


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on April 17, 2019, 06:14:38 PM
Purely hypothetical as past performance are not a guarantee for future results - this is what I used to read at many websites offering such hypothetical services.
Since there isnt a repeating pattern the outcome is random. It would fit better to say this is a working example how you can use python to make automated bets at crypto-games.

Do you have any plan to provide the guide for changing the code to be used on other sites?
No not at the time of writing. Maybe some more examples for crypto-games.

Can we assure a profit if using this api dice script?
No, it is totally random.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: okala on April 17, 2019, 06:47:53 PM
Coding have not been and an easy thing but your site look so interesting but will need more skills in handling the coding process because it all about team work and the automated process make it even look more interesting I will keep trying it out.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: wwzsocki on April 17, 2019, 06:49:15 PM
Thanks for sharing because this is a great way to start learning about API's and the best way is to try it by yourself and do mistakes along the road.

Trial and error is my favorite method of expanding knowledge. Pleasant and useful.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: omonuyak on April 17, 2019, 06:58:29 PM
It can be modified to be able to work on other sites that are using API calls but this script only works for crypto-games

Do you have any plan to provide the guide for changing the code to be used on other sites? Im pretty sure many people here don't understand coding/programming language properly and not all of people plays there. It will be more helpful if you can do it.
Of a truth the whole thing look confusing and I am did not understand all things op has said.  I hope he comes back and expand what he is saying and educate us on how this automated dice betting work as some of us may have interest in it.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: stomachgrowls on April 17, 2019, 07:08:00 PM
It can be modified to be able to work on other sites that are using API calls but this script only works for crypto-games

Do you have any plan to provide the guide for changing the code to be used on other sites? Im pretty sure many people here don't understand coding/programming language properly and not all of people plays there. It will be more helpful if you can do it.
Of a truth the whole thing look confusing and I am did not understand all things op has said.  I hope he comes back and expand what he is saying and educate us on how this automated dice betting work as some of us may have interest in it.
Its not confusing if you do try to read once again on whats being posted on OP.

What is it
A python script hosted on trinket to run the code in any browser.

What will it do
Make random bets with random payouts with random delays.




I will inform them but im pretty sure they already saw the post ; )

So whats their response? Would like to know.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: AhmadM on April 17, 2019, 09:24:57 PM
Its not confusing if you do try to read once again on whats being posted on OP.

Maybe what his trying to say is he don't understand about python script and how to apply it to the casino. So he hopes to the OP to explain more details about it (step by step if its possible).


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on April 17, 2019, 09:44:39 PM
this is a great way to start learning about API's and the best way is to try it by yourself and do mistakes along the road.
It was made with that in mind, It is a stripped down version of a much bigger script i made. It got a few variables to get you going but didnt want to make it to complex as a starter.

I hope he comes back and expand what he is saying and educate us
Try this page (https://realpython.com/python-first-steps/#5-language-primitives)

So whats their response? Would like to know.
i didnt reached out to the staff yet. Why are you curious ?

Its not confusing if you do try to read once again on whats being posted on OP.

Maybe what his trying to say is he don't understand about python script and how to apply it to the casino. So he hopes to the OP to explain more details about it (step by step if its possible).
yes but i cant beat the beginners guide. ; )


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: wwzsocki on April 17, 2019, 11:48:53 PM
It was made with that in mind, It is a stripped down version of a much bigger script i made. It got a few variables to get you going but didnt want to make it to complex as a starter.

I would be very happy to see such a detailed tutorial on how to start and work with API's. Step by step for an average person to be able to follow and start learning.

This is the best way to scrap data and many services offer API data which is a great advantage for let's say traders if they have all available information from an exchange in their hands when trading.  

They have a big advantage when using API and I was looking today at services which are selling data but one has to master API's first to be able to make use of it, I suppose.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on April 18, 2019, 10:58:51 AM
Step by step for an average person to be able to follow and start learning.
I cant do that since it is going outside of post/script and i already tried to keep it as simple/hard as it is.
If you want to know how python works start here (https://realpython.com/python-first-steps/#5-language-primitives)


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: wwzsocki on April 19, 2019, 10:08:57 AM
I cant do that since it is going outside of post/script and i already tried to keep it as simple/hard as it is.
If you want to know how python works start here (https://realpython.com/python-first-steps/#5-language-primitives)

Thanks for the link.

Already tried to learn by myself on another page with courses but I have to be honest that I wasn't able to follow on my own at some point. I think if you already have some programming background then this is a different story. With absolute zero knowledge about coding is really hard to grasp and continue to a lot more complex tasks. I tried to find service which will be a newbie friendly but all of them are just too much complicated to follow on your own.

If you know such a service I will be glad if you share it here.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on April 19, 2019, 02:59:46 PM
Trial and error will get you going, Trinket will point out where the things go wrong. You can always jump back with the reset button in the menu.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on April 22, 2019, 08:46:26 AM
Added a new script.
It will double up on any loss and start over when it hit 2 winners after each other.
It can be found here crypto-gamer/x2/ (https://crypto-gamer.eu/x2/)

Edit line 13 and hit run.
line 10 is your bet amount to start with. line 57 is the amount used after it hits 2 winners


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on May 09, 2019, 10:21:52 PM
Made a new one.
This script will run down from the max payout to the lowest with steps of 50% and start over on a win or a payout smaller then 2.0
It can be found here crypto-gamer/minus50/ (https://crypto-gamer.eu/minus50/)

Edit line 13 and hit run.
line 10 is the bet amount for every turn and line 58 the % per step.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: thin on May 14, 2019, 06:43:07 PM
Made a new one.
This script will run down from the max payout to the lowest with steps of 50% and start over on a win or a payout smaller then 2.0
It can be found here crypto-gamer/minus50/ (https://crypto-gamer.eu/minus50/)

Edit line 13 and hit run.
line 10 is the bet amount for every turn and line 58 the % per step.


Wins  0
Loss  0
Traceback (most recent call last):
  File "/tmp/sessions/9e76d1fe654e042a/main.py", line 39, in <module>
    profit_ = r_['Profit']
KeyError: 'Profit'


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on May 20, 2019, 01:55:14 PM
profit_ = r_['Profit']
Thank you for the notice, fixed. I forgot 2 spaces and caught a typo. It should work again. Im busy with a new script and will add it later on.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: okala on May 20, 2019, 03:29:13 PM
It sims this is working from.the review of users I have seen and am prompt to try it out, but do I need to edit any thing before the code work on my browser and hope the code formula will work on mobile browser.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on May 21, 2019, 07:57:48 AM
but do I need to edit any thing before the code work
No not for the default settings but its highly advised to take a shot and edit the settings to customize it. You can always hit the reset button to start over.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on May 23, 2019, 10:30:04 AM
Added a new script.
It will lower your payout after losing x bets and start with the highest payout.  It uses random bet sizes that will be higher on a longer losing streak.
It starts over on a winning bet.
As it is the lowest payout is 3x after 10 losing bets with a max bet of 32 sat.
There is a pause of 1 to 2 secs on line 44, remove the line if you dont want betting delays.

It can be found here crypto-gamer/luckyshot/ (https://crypto-gamer.eu/luckyshot/)


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: okala on May 23, 2019, 02:47:51 PM
but do I need to edit any thing before the code work
No not for the default settings but its highly advised to take a shot and edit the settings to customize it. You can always hit the reset button to start over.
OK am going to try this out with some changes and editing of the default setting, I have always known that the only way it can work is when you change from the default but some user tend to place it like that and when they lose the call the whole process fake.


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on May 23, 2019, 07:09:52 PM
the default but some user tend to place it like that and when they lose the call the whole process fake.
Test it out with playmoney to get a idea what the default settings will do.

updated the OP


Title: Re: Crypto-Games casino [-] automated api dice betting
Post by: klaaas on August 06, 2019, 06:38:41 PM
Rearranged the links a bit and updated the op.

I bumped onto the bcgame (https://bitcointalk.org/index.php?topic=5088875.0) crash game when i was searching for places that accept lightning payments. Since they support the use of scripts and there examples only had a stop function i made one (https://crypto-gamer.eu/restart/restart.txt) that will restart instead.