Jump to content

How to create casino custom strategies (API similar solution)


ivand2128

Featured Comment

Posted

HI all, i applied same method to KENO game, but if i try to change value bet with   $('#betAmount').value(), when i click on the page or the start button it reset the bet with the previous one.. someone knows the solution for this problem?
thanks

  • 9 months later...
Posted

Why bets list cannot be retrieved with API ??

In order to get list of last bets (for several puproses, mainly checkings), I copied and paste the API from the frontend (transactions>>bets  page)... when I used from my bot, it looks working, but better checking, it return always same 5 bets (which I've done at July), so it don't show effectively the bet list.

I also changed offset and limit values in the request, but always with same result.

I also deleted all sessions and started new one, so getting its new token to use into my bot... but always with same result.

I also re-login... but always with same result.

Basically the API to retrieve own bet list, only return 5 bets, which aren't absolutely the latest ones (being of July, while I've done my last bet today).

Anyone able to solve this, and provide an API command/query to retrieve the own bet list (at least the few lasts bets) ??

Thanks in advance

Posted
On 10/22/2020 at 11:35 PM, ivand2128 said:

Hello Seuntjie, thanks for reply.

I was already saw your 'DiceBotDiceBet' which include balance and nonce into the query, and I also tried to use it, however I have admit that after copy/past it don't work (I've done several attempts checking every single character from your original string -and also applied correct variables taken by Stake.cs file-... all of them, included spaces \n etc, seems to be ok, however it don't work after copy.. so I left). Others of your queries instead (which are written on a single line) works correctly. So I taken only your 'DiceBotLogin' query which include balances, nonce, and some other detail could be useful.

To be clear, I like your DiceBot, and suggest it to all readers who want play dice game... however I stopped to use it several years ago, for few personal reason:

the mainly reason, like said in previous post, is because DiceBot allow to play only on dice game, while I use also others like roulette and baccarat mainly (like you can see in below images); further, I code in javascript, creating also test, optimizations, and complex things (for me :) ), so it's more easy for me the my way; further, I was playing on Luckygames (PD too slow) before it's start to close (where I've done some nice profit on balls game :)... in 2018 I made a crazy thing, which was betting about 80millions of bets per day :)... great %gain in few days :) ); few other reasons.

Multigame.thumb.PNG.a13d6e9bbea79252e73732c904ae10c5.PNG

roulettegame.thumb.PNG.bfcc3b936e59b25e4d83fa49dc0f6844.PNG

About this...

I'm not agreed...

Yes in most cases it's ok, and me too was think so... however in much other cases it's not ok. For instance, especially during the step of test a strategy in real (since test could be performed even not real), that's an important thing to see, which can help you to check everything is ok, or help you to discover problems (in the first above image, I discovered some problems to adjust, right checking the balance bet by bet). Internal calculation can be done anyway, to compare, and check correctness of the code. Further it's also a way to check that doesn't happen nothing strange by server side. Some other cases may be. So, in my opinion, it's an important thing to have bet by bet (in fact you included them into your query :) rightly).

Thus, I hope that play queries which includes balances will be posted... even if, it's the same for me, since I've already solved. Mine was simply a suggestion for the casino, which could reduce the server workload.

Thanks again

Hey, i wanted to ask how far you got with programming the bots? Im very interested and starting myself. But did you managed to make more than just the graphql post?

Posted

yo thank you for the topic man

i have some hopefully useful answers if you still looking for theese

On 10/22/2020 at 2:56 PM, ivand2128 said:

would be great to have API to change only client-seed (single subfunfction surely exists), to have again more strongness against manipulations.

you can use "changeClientSeed" mutation to change only clientseed

example http body:

{"query":"mutation x {\n  changeClientSeed (seed:\"newseed\") { __typename} }\n",}

 

On 12/27/2021 at 8:14 PM, ivand2128 said:

Why bets list cannot be retrieved with API ??

In order to get list of last bets (for several puproses, mainly checkings), I copied and paste the API from the frontend (transactions>>bets  page)... when I used from my bot, it looks working, but better checking, it return always same 5 bets (which I've done at July),

I can fetch bets with the query you mentioned "MyBetList". it is not perfectly synced for me too 

i think it updates (something) every 10-30 seconds

i'm not sure if that's the case but can't use this query effectively while you betting at the same time

 

 

  • 2 weeks later...
Posted
On 1/2/2022 at 8:30 PM, kingnayim2 said:

yo thank you for the topic man

i have some hopefully useful answers if you still looking for theese

you can use "changeClientSeed" mutation to change only clientseed

example http body:

{"query":"mutation x {\n  changeClientSeed (seed:\"newseed\") { __typename} }\n",}

Hello, thanks.

I was aknowledge about that query... but it shouldn't work anymore... or better, till some time ago, query was marked and locked (only front'end exactly matching strings was wroking). I don't know at nowaday, but me work normally changing both seeds in same time using front-end query. Thanks.

Anyway you can try to check if work or not (in the past it was working, and I had all primedice graphql stake schema).

On 1/2/2022 at 8:30 PM, kingnayim2 said:

I can fetch bets with the query you mentioned "MyBetList". it is not perfectly synced for me too 

i think it updates (something) every 10-30 seconds

i'm not sure if that's the case but can't use this query effectively while you betting at the same time

 

 

For me would been good if updated also every minute... but my problem was that function is returning always same response... basically it show my last bet on july 2021, which is pretty more than 30sec or 1 min :))).

Anyway, also for this I've applied a work-around right for my purpose, and keeping higher bets speed.

On 1/2/2022 at 4:12 AM, centaxfn said:

Hey, i wanted to ask how far you got with programming the bots? Im very interested and starting myself. But did you managed to make more than just the graphql post?

I'm programming casino bots since 2017 about I believe or slightly earlier... starting on primedice, and luckygames (making good money here, but now it's closed).

I use javascript, and yes, apart the graphql queryes, you should at least write the code about the strategy... loop for continue betting... checkings... calculations... calculations... and calculations :))) ... and try to keep in the better optimized way in order to keep code and bets fast.

Thanks anyway for your replies

 

  • 2 weeks later...
Posted
On 12/27/2021 at 8:14 PM, ivand2128 said:

Why bets list cannot be retrieved with API ??

In order to get list of last bets (for several puproses, mainly checkings), I copied and paste the API from the frontend (transactions>>bets  page)... when I used from my bot, it looks working, but better checking, it return always same 5 bets (which I've done at July), so it don't show effectively the bet list.

I also changed offset and limit values in the request, but always with same result.

I also deleted all sessions and started new one, so getting its new token to use into my bot... but always with same result.

I also re-login... but always with same result.

Basically the API to retrieve own bet list, only return 5 bets, which aren't absolutely the latest ones (being of July, while I've done my last bet today).

Anyone able to solve this, and provide an API command/query to retrieve the own bet list (at least the few lasts bets) ??

Thanks in advance

Здраствуйте! есть ли у Вас разрешенный список для запросов для получения пары сидхэша и rлиетнского сида   для ставок на DICE .Из предыдущих постов мне непонятно откуда брать ID ставки ,остальное для делания ставок в принципе понятно 

Posted
On 1/14/2022 at 2:37 AM, ivand2128 said:

Hello, thanks.

I was aknowledge about that query... but it shouldn't work anymore... or better, till some time ago, query was marked and locked (only front'end exactly matching strings was wroking). I don't know at nowaday, but me work normally changing both seeds in same time using front-end query. Thanks.

Anyway you can try to check if work or not (in the past it was working, and I had all primedice graphql stake schema).

For me would been good if updated also every minute... but my problem was that function is returning always same response... basically it show my last bet on july 2021, which is pretty more than 30sec or 1 min :))).

Anyway, also for this I've applied a work-around right for my purpose, and keeping higher bets speed.

I'm programming casino bots since 2017 about I believe or slightly earlier... starting on primedice, and luckygames (making good money here, but now it's closed).

I use javascript, and yes, apart the graphql queryes, you should at least write the code about the strategy... loop for continue betting... checkings... calculations... calculations... and calculations :))) ... and try to keep in the better optimized way in order to keep code and bets fast.

Thanks anyway for your replies

 

What JS clients do you use for your bots or GraphQL requests?

Posted
3 hours ago, nuuuitsjdragon said:

What JS clients do you use for your bots or GraphQL requests?

I am new to this business and I run my script through Imacros , it only supports XMLHttpRequest() , I send requests through it, can you give a hint where to get the bet number, so that later I can check the previously issued seed

  • 3 months later...
Posted

I like it when you can use ready-made solutions to expand your business, for example, sports betting agent software. This greatly facilitates the workflow, as this is an opportunity to access a powerful tool to create a large and multi-level system to advance and expand your business without any issues.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

Privacy Policy Terms of Use