Hello Guest

print(lastBet.Id) does not work? How to get the correct ID?

  • 4 Replies
  • 280 Views
*

ombrerico

  • *
  • 4
  • +0/-0
    • View Profile
print(lastBet.Id) does not work? How to get the correct ID?
« on: January 28, 2021, 08:26:17 pm »
How to get the correct ID? 

print(tostring(lastBet.Id))
Result:
a7d3ea11-54c8-4686-a8ce-f3b1ed6db351

print(lastBet.Id)
Result:
a7d3ea11-54c8-4686-a8ce-f3b1ed6db351

https://api.stake.com/bets/a7d3ea11-54c8-4686-a8ce-f3b1ed6db351
404 page not found

In Primedice or Stake,
I can't get the bet ID.

*

Seuntjie

  • *****
  • 581
  • +15/-3
    • View Profile
Re: print(lastBet.Id) does not work? How to get the correct ID?
« Reply #1 on: January 29, 2021, 08:02:07 am »
That is the betid as stake uses in their internal systems and how they return it to dicebot. If you want the numeric betid, create a text file called slow or slow.txt in the root directory of the bot, and restart it. This will get the numeric  bet id but will slow down your betting speed, (by about half).

If you just want one bets numeric id, use "/bet betid" in the stake chat

*

ombrerico

  • *
  • 4
  • +0/-0
    • View Profile
Re: print(lastBet.Id) does not work? How to get the correct ID?
« Reply #2 on: January 30, 2021, 03:41:35 pm »
You are the best. Thanks.  :D
Putting the file slow, I have the Id, correctly.

Now I don't understand this:
If you only want a numerical betting id, use "/ bet betid" in the bet chat

Where to put the code?
I did asism but it is wrong.
     print (/ bet betid)

Where to put the code?
I did asism but it is wrong.

     print (/ bet betid)

------------------------
Please, if you could you could change the image verification system. He is very bad. Whenever I'm going to post I have to repeat it several times, until I can recognize the image of the lyrics.
I get really angry, and I often quit posting.
Right now I'm on the 3rd try ...
------------------------
Still, you have done a wonderful job, I can only thank you.

Thank you very much.

 :-[

*

Seuntjie

  • *****
  • 581
  • +15/-3
    • View Profile
Re: print(lastBet.Id) does not work? How to get the correct ID?
« Reply #3 on: January 30, 2021, 03:46:06 pm »
You are the best. Thanks.  :D
Putting the file slow, I have the Id, correctly.

Now I don't understand this:
If you only want a numerical betting id, use "/ bet betid" in the bet chat

Where to put the code?
I did asism but it is wrong.
     print (/ bet betid)

Where to put the code?
I did asism but it is wrong.

     print (/ bet betid)


It's not code, Read what I wrote.
Go to stake.com. Open the chat. Type the chat message /bet <your bet id here> and click send.

Please, if you could you could change the image verification system. He is very bad. Whenever I'm going to post I have to repeat it several times, until I can recognize the image of the lyrics.
I get really angry, and I often quit posting.
Right now I'm on the 3rd try ...

The forum is plagued by spammers if I lower the the validation (as in thousands of posts per day). The validation falls away after you've made enough posts on the forum.

*

ombrerico

  • *
  • 4
  • +0/-0
    • View Profile
Re: print(lastBet.Id) does not work? How to get the correct ID?
« Reply #4 on: February 04, 2021, 02:46:00 pm »
OK,
Thank you.

11th attempt ...
Sorry, but honestly I will think 100 times before I dare to post anything on the forum, it is very stressful.