Jump to content

[SCRIPT] Stake community, I present you HILOMATIC. PLEASE READ INSIDE


xrflive
 Share

Featured Comment

Posted (edited)

27/07/2021: SCRIPT UPDATED WITH NEW FEATURES

 

Hello Stakers,

after some work I'm ready to present you my first script made in powershell. HILOMATIC.

Hilomatic allows you to play HiLo with automation. You can set the desired multiplier that you would like to reach, game style, and other parameters, and the script will play it for you.

Please note: I or Stake do not support scripts / bots and will not be held liable if you lose funds during usage of one. Please use with caution, especially when betting with real balance

I have tested the Script by myself and I haven't found a bug so far.

Please note: A script is not made to cheat the game or to exploit Stake. The script helps to automate the selection of the next cards. Nothing else.

When you will open the script, the first thing that you need to insert is the desired multiplier. The Desired multiplier is basically the multiplier target that you want to cashout. If you write 2, as soon a winning bet is generated with at least 2x cashout, the script will interrupt itself and will send the cashout procedure.

image.thumb.png.59e18509a9ef72eb8f5ae21c99891494.png

The next selection that you need to write is the start card. Write any between A,2,3,4,5,6,7,8,9,10,J,Q,K or write random for random cards at every game. Please do not write any symbol or character, just the card, as in the example.

image.thumb.png.ef5d1ac6db7365008ebf027df7556728.png

Now you need to select the game style. You can choose between safe,risky,lol or random. WRITE ONLY safe OR risky OR lol OR random

  • Safe will select always the next card with higher probability. Example: If you start with A, it will always select HI as game move. Or if your current card is 8, it will always select Lo
  • Risky will select always the next card with less probability (and higher profit). Example: If you start with A, it will always select EQUAL as game move. Or if your current card is 8, it will always select HI
  • LOL will go always hi>lo>hi>lo>hi...
  • Crazy will go always for the same card (Example: 6 = 6 = 6 etc..)
  • Random will randomly choose between Hi and Lo as game move, without being influenced by the current card. It's just random :P 

image.thumb.png.553031fdb32bea1bc9620ac653b5b265.png

Now you need to write the desired crypto that you would like to play. Write only the abbreviation (example: btc) and not the full name.

After writing the crypto, you need to write the bet size. PLEASE PAY EXTREMELY ATTENTION HERE, YOU CAN LOSE YOUR FULL BALANCE IN FEW SECONDS. You will write your bet in crypto format, not in $ amount.

You need to write the bet in this format XX.XXXXXX. If you want to bet 1 XRP (NOT 1$), you will write 1. If you want to bet 1.5 LTC, you will write 1.5. You can also bet 0.00000001, there isn't any limit.

You can also write 0 for free betting.

image.thumb.png.ee7b1e9a4a73d3a439fcbccd27117c19.png

Now write the loss multiplier. If you want to double the bet at every loss, you will write 2. If you want to increase the bet size of 1.01x at every loss, you will write 1.01. if you don't want to increase and keep always the same bet, write 1WRITING 0 WILL RESULT IN FREE BETTING

image.thumb.png.195d0c884ef3d5f55eac900926902ee8.png

 

The last thing mandatory that you need to write is your API KEY. You can find the API KEY in the security settings, or by opening the developer console on the browser.

Let's start with some examples.  

Start card A, Multi: 50, Game style: safe

The script will start to play HiLo until a winning bet is done or until you quit it.

image.thumb.png.2bf079b52776a9ecfdff8fddef624102.png

Once the winning bet is done, the script will close and you can find your bet in your history.

image.thumb.png.c6e9caed944372ca6820c1bc72372cba.png

image.thumb.png.40ae0caf137d62c232c7bfa4d93f27ef.png

 

Another example:

Start card random, Multi: 10, Game style: risky

image.png.9193916576f22308e9d4245ef14419db.png

The script will start playing with the risky option, selecting cards with less probability. In this case I've reached my desired multiplier within 3 games.

 

image.thumb.png.d31d2e5600878f8d0b435c82d1fdf8a0.png

 

How to run the script?

Copy the following text and paste it on a notepad, then save it as powershell script (.ps1) extension.


 

Quote

Write-Output "Welcome to Hilomatic. Made by xrflive. If you like my work feel free to offer me a coffee ;)...or a tip :P"
Write-Output "Please note: I or Stake do not support scripts / bots and will not be held liable if you lose funds during usage of one. "
$target= Read-Host -Prompt "Please write your multi (just in numbers, example: 100) that you would like to reach."
$choice= Read-Host -Prompt "Select your start card. You can choose between A,2,3,4,5,6,7,8,9,10,J,Q,K or write random for random cards"
$card = $choice
$setting = Read-Host -Prompt "Please select the game style between safe, risky, lol, crazy or random. [Safe] will select the safest option available when choosing between Hi and Lo, [Risky] will select the option with less probability (and higher payout), [LOL] will go always hi>lo>hi>lo>hi...., [Crazy] will go always for the same card (5 = 5 = 5 etc...). [Random] is just random."
$coin = Read-Host -Prompt "Please write your desider crypto to play (btc,ltc,xrp...)"
[float]$bet = Read-Host -Prompt "Please write your desider bet in CRYPTO (example: 0.0000001). Write 0 if you just want to play with it without using your balance."
[float]$multiplier = Read-Host -Prompt "Please write your multiplier bet in case of loss (Example: 2 = double the bet at every loss | 1.01 = Increase the bet of 1% every loss). Write 1 if you don't want to multiply the bet and keep it always the same"
$apikey=Read-Host -Prompt "Please paste here your api key. Look up on the forum if you need help on how to get one."
$multi=0
$roundf ="z"
$new=""
$lol = 2

$suit="H"
$guessing=""
$resulted =""
$symbol =""
$gamenumbers = 0
$options ='A','2','3','4','5','6','7','8','9','10','J','Q','K'

while ($multi -lt $target){
$lol = 2

if($choice -eq "random"){$card=Get-Random -InputObject $options}
    $gamenumbers += 1
$resulted =$card
$iter= 0
$roundf =Invoke-WebRequest -Uri "https://api.stake.com/graphql" `
-Method "POST" `
-Headers @{
"method"="POST"
  "authority"="api.stake.com"
  "scheme"="https"
  "path"="/graphql"
  "sec-ch-ua"="`" Not;A Brand`";v=`"99`", `"Google Chrome`";v=`"91`", `"Chromium`";v=`"91`""
  "dnt"="1"
  "x-language"="en"
  "sec-ch-ua-mobile"="?0"
  "user-agent"="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
  "accept"="*/*"
  "x-lockdown-token"=""
  "x-access-token"=$apikey
  "origin"="https://stake.com"
  "sec-fetch-site"="same-site"
  "sec-fetch-mode"="cors"
  "sec-fetch-dest"="empty"
  "referer"="https://stake.com/"
  "accept-encoding"="gzip, deflate, br"
  "accept-language"="en-GB,en;q=0.9,it-IT;q=0.8,it;q=0.7,en-US;q=0.6,tr;q=0.5"
} `
-ContentType "application/json" `
-Body "{`"operationName`":`"HiloBet`",`"variables`":{`"currency`":`"$coin`",`"amount`":$bet,`"startCard`":{`"suit`":`"$suit`",`"rank`":`"$card`"}},`"query`":`"mutation HiloBet(`$amount: Float!, `$currency: CurrencyEnum!, `$startCard: HiloBetStartCardInput!) {\n  hiloBet(amount: `$amount, currency: `$currency, startCard: `$startCard) {\n    ...CasinoBetFragment\n    state {\n      ...HiloStateFragment\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment CasinoBetFragment on CasinoBet {\n  id\n  active\n  payoutMultiplier\n  amountMultiplier\n  amount\n  payout\n  updatedAt\n  currency\n  game\n  user {\n    id\n    name\n    __typename\n  }\n  __typename\n}\n\nfragment HiloStateFragment on CasinoGameHilo {\n  startCard {\n    suit\n    rank\n    __typename\n  }\n  rounds {\n    card {\n      suit\n      rank\n      __typename\n    }\n    guess\n    payoutMultiplier\n    __typename\n  }\n  __typename\n}\n`"}"
if($setting -eq "safe")
{

switch ( $card )
{
    A { $guessing = "higher"   }
    2 { $guessing = "higherEqual" }
    3 { $guessing = "higherEqual" }
    4 { $guessing = "higherEqual"}
    5 { $guessing = "higherEqual"}
    6 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    8 { $guessing = "lowerEqual"}
    9 { $guessing = "lowerEqual"}
    10 { $guessing = "lowerEqual"}
    J { $guessing = "lowerEqual" }
    Q { $guessing = "lowerEqual"}
    K { $guessing = "lower"}

}
}
elseif($setting -eq "risky")
{
switch ( $card )
{
    A { $guessing = "equal"}
    Q { $guessing = "higherEqual"}
    J { $guessing = "higherEqual"}
    10 { $guessing = "higherEqual"}
    9 { $guessing = "higherEqual"}
    8 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    6 { $guessing = "lowerEqual"}
    5 { $guessing = "lowerEqual"}
    4 { $guessing = "lowerEqual"}
    3 { $guessing = "lowerEqual" }
    2 { $guessing = "lowerEqual" }
    K { $guessing = "equal"}

}
}
elseif($setting -eq "crazy")
{
$guessing = "equal"
}
elseif($setting -eq "lol")
{

if($lol % 2 -eq 0)
{
switch ( $card )
{
    A { $guessing = "higher"}
    Q { $guessing = "higherEqual"}
    J { $guessing = "higherEqual"}
    10 { $guessing = "higherEqual"}
    9 { $guessing = "higherEqual"}
    8 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    6 { $guessing = "higherEqual"}
    5 { $guessing = "higherEqual"}
    4 { $guessing = "higherEqual"}
    3 { $guessing = "higherEqual" }
    2 { $guessing = "higherEqual" }
    K { $guessing = "equal"}

}}
else
{
switch ( $card )
{
    A { $guessing = "equal"}
    Q { $guessing = "lowerEqual"}
    J { $guessing = "lowerEqual"}
    10 { $guessing = "lowerEqual"}
    9 { $guessing = "lowerEqual"}
    8 { $guessing = "lowerEqual"}
    7 { $guessing = "lowerEqual"}
    6 { $guessing = "lowerEqual"}
    5 { $guessing = "lowerEqual"}
    4 { $guessing = "lowerEqual"}
    3 { $guessing = "lowerEqual" }
    2 { $guessing = "lowerEqual" }
    K { $guessing = "lower"}

}
}

}
else
{
$random= Get-Random -Maximum 2

if($random -eq 0)
{
if($card -eq "A")
{
$guessing = "equal"
$symbol ="="
}
elseif($card -eq "K")
{
$guessing = "lower"
$symbol ="<"
}
else
{
$guessing = "lowerEqual"
$symbol ="<="
}
}
else
{
if($card -eq "A")
{
$guessing = "higher"
$symbol =">"
}
elseif($card -eq "K")
{
$guessing = "equal"
$symbol ="="
}
else
{
$guessing = "higherEqual"
$symbol =">="
}
}
}
switch ( $guessing)
{
    higher { $symbol= ">"   }
    higherEqual { $symbol= "=>"}
    lowerEqual {  $symbol= "=<"}
    lower {  $symbol= "<"}
    equal {  $symbol= "="}

}
$lol++

$new = Invoke-WebRequest -Uri "https://api.stake.com/graphql" `
-Method "POST" `
-Headers @{
"method"="POST"
  "authority"="api.stake.com"
  "scheme"="https"
  "path"="/graphql"
  "sec-ch-ua"="`" Not;A Brand`";v=`"99`", `"Google Chrome`";v=`"91`", `"Chromium`";v=`"91`""
  "dnt"="1"
  "x-language"="en"
  "sec-ch-ua-mobile"="?0"
  "user-agent"="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
  "accept"="*/*"
  "x-lockdown-token"=""
  "x-access-token"=$apikey
  "origin"="https://stake.com"
  "sec-fetch-site"="same-site"
  "sec-fetch-mode"="cors"
  "sec-fetch-dest"="empty"
  "referer"="https://stake.com/"
  "accept-encoding"="gzip, deflate, br"
  "accept-language"="en-GB,en;q=0.9,it-IT;q=0.8,it;q=0.7,en-US;q=0.6,tr;q=0.5"
} `
-ContentType "application/json" `
-Body "{`"operationName`":`"HiloNext`",`"variables`":{`"guess`":`"$guessing`"},`"query`":`"mutation HiloNext(`$guess: CasinoGameHiloGuessEnum!) {\n  hiloNext(guess: `$guess) {\n    ...CasinoBetFragment\n    state {\n      ...HiloStateFragment\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment CasinoBetFragment on CasinoBet {\n  id\n  active\n  payoutMultiplier\n  amountMultiplier\n  amount\n  payout\n  updatedAt\n  currency\n  game\n  user {\n    id\n    name\n    __typename\n  }\n  __typename\n}\n\nfragment HiloStateFragment on CasinoGameHilo {\n  startCard {\n    suit\n    rank\n    __typename\n  }\n  rounds {\n    card {\n      suit\n      rank\n      __typename\n    }\n    guess\n    payoutMultiplier\n    __typename\n  }\n  __typename\n}\n`"}"
$rank = $new
$rank = $rank |  ConvertFrom-JSON | Select-Object data | select -expand data | select -expand hiloNext |select -expand state |select -expand rounds 
if($iter -eq 0){

$rank= $rank.card.rank
}
if($iter -gt 0)
{$rank =$rank[$iter].card.rank}


$new = $new  |  ConvertFrom-JSON | Select-Object data | select -expand data | select -expand hiloNext |select -expand state |select -expand rounds |select payoutMultiplier
$resulted += $symbol
$resulted +=$rank
write-Output "Game $($gamenumbers) $($resulted) Multi $($new.payoutMultiplier)"

if($iter -eq 0){

$temp = $new.payoutMultiplier
}
if($iter -gt 0)
{$temp =[float]$new[$iter].payoutMultiplier}

if($temp -ge $target){
$multi =[float]$new[$iter].payoutMultiplier

Invoke-WebRequest -Uri "https://api.stake.com/graphql" `
-Method "POST" `
-Headers @{
"method"="POST"
  "authority"="api.stake.com"
  "scheme"="https"
  "path"="/graphql"
  "sec-ch-ua"="`" Not;A Brand`";v=`"99`", `"Google Chrome`";v=`"91`", `"Chromium`";v=`"91`""
  "dnt"="1"
  "x-language"="en"
  "sec-ch-ua-mobile"="?0"
  "user-agent"="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
  "accept"="*/*"
  "x-lockdown-token"=""
  "x-access-token"=$apikey
  "origin"="https://stake.com"
  "sec-fetch-site"="same-site"
  "sec-fetch-mode"="cors"
  "sec-fetch-dest"="empty"
  "referer"="https://stake.com/"
  "accept-encoding"="gzip, deflate, br"
  "accept-language"="en-GB,en;q=0.9,it-IT;q=0.8,it;q=0.7,en-US;q=0.6,tr;q=0.5"
} `
-ContentType "application/json" `
-Body "{`"operationName`":`"HiloCashout`",`"variables`":{`"identifier`":`"464ad18e228a852d9ea1`"},`"query`":`"mutation HiloCashout(`$identifier: String!) {\n  hiloCashout(identifier: `$identifier) {\n    ...CasinoBetFragment\n    state {\n      ...HiloStateFragment\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment CasinoBetFragment on CasinoBet {\n  id\n  active\n  payoutMultiplier\n  amountMultiplier\n  amount\n  payout\n  updatedAt\n  currency\n  game\n  user {\n    id\n    name\n    __typename\n  }\n  __typename\n}\n\nfragment HiloStateFragment on CasinoGameHilo {\n  startCard {\n    suit\n    rank\n    __typename\n  }\n  rounds {\n    card {\n      suit\n      rank\n      __typename\n    }\n    guess\n    payoutMultiplier\n    __typename\n  }\n  __typename\n}\n`"}"}
$multi =$temp
$iter= $iter +1
if($setting -eq "safe")
{

switch ( $rank )
{
    A { $guessing = "higher"}
    2 { $guessing = "higherEqual"}
    3 { $guessing = "higherEqual"}
    4 { $guessing = "higherEqual"}
    5 { $guessing = "higherEqual"}
    6 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    8 { $guessing = "lowerEqual"}
    9 { $guessing = "lowerEqual"}
    10 { $guessing = "lowerEqual"}
    J { $guessing = "lowerEqual"}
    Q { $guessing = "lowerEqual"}
    K { $guessing = "lower" }

}
}
elseif($setting -eq "crazy")
{
$guessing = "equal"
}
elseif($setting -eq "lol")
{
if($lol % 2 -eq 0)
{
switch ( $rank )
{
    A { $guessing = "higher"}
    Q { $guessing = "higherEqual"}
    J { $guessing = "higherEqual"}
    10 { $guessing = "higherEqual"}
    9 { $guessing = "higherEqual"}
    8 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    6 { $guessing = "higherEqual"}
    5 { $guessing = "higherEqual"}
    4 { $guessing = "higherEqual"}
    3 { $guessing = "higherEqual" }
    2 { $guessing = "higherEqual" }
    K { $guessing = "equal"}

}}
else
{
switch ( $rank )
{
    A { $guessing = "equal"}
    Q { $guessing = "lowerEqual"}
    J { $guessing = "lowerEqual"}
    10 { $guessing = "lowerEqual"}
    9 { $guessing = "lowerEqual"}
    8 { $guessing = "lowerEqual"}
    7 { $guessing = "lowerEqual"}
    6 { $guessing = "lowerEqual"}
    5 { $guessing = "lowerEqual"}
    4 { $guessing = "lowerEqual"}
    3 { $guessing = "lowerEqual" }
    2 { $guessing = "lowerEqual" }
    K { $guessing = "lower"}

}
}

}
elseif($setting -eq "risky")
{
switch ( $rank )
{
    A { $guessing = "equal"}
    Q { $guessing = "higherEqual"}
    J { $guessing = "higherEqual"}
    10 { $guessing = "higherEqual"}
    9 { $guessing = "higherEqual"}
    8 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    6 { $guessing = "lowerEqual"}
    5 { $guessing = "lowerEqual"}
    4 { $guessing = "lowerEqual"}
    3 { $guessing = "lowerEqual" }
    2 { $guessing = "lowerEqual" }
    K { $guessing = "equal"}

}
}
else
{
$random= Get-Random -Maximum 2

if($random -eq 0)
{
if($rank -eq "A")
{
$guessing = "equal"
$symbol ="="
}
elseif($rank -eq "K")
{
$guessing = "lower"
$symbol ="<"
}
else
{
$guessing = "lowerEqual"
$symbol ="<="
}
}
else
{
if($rank -eq "A")
{
$guessing = "higher"
$symbol =">"
}
elseif($rank -eq "K")
{
$guessing = "equal"
$symbol ="="
}
else
{
$guessing = "higherEqual"
$symbol =">="
}
}
}
switch ( $guessing)
{
    higher { $symbol= ">"   }
    higherEqual { $symbol= "=>"}
    lowerEqual {  $symbol= "=<"}
    lower {  $symbol= "<"}
    equal {  $symbol= "="}

}
$lol++
while (($temp -ne 0) -and ($temp -lt $target)){

$new=Invoke-WebRequest -Uri "https://api.stake.com/graphql" `
-Method "POST" `
-Headers @{
"method"="POST"
  "authority"="api.stake.com"
  "scheme"="https"
  "path"="/graphql"
  "sec-ch-ua"="`" Not;A Brand`";v=`"99`", `"Google Chrome`";v=`"91`", `"Chromium`";v=`"91`""
  "dnt"="1"
  "x-language"="en"
  "sec-ch-ua-mobile"="?0"
  "user-agent"="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
  "accept"="*/*"
  "x-lockdown-token"=""
  "x-access-token"=$apikey
  "origin"="https://stake.com"
  "sec-fetch-site"="same-site"
  "sec-fetch-mode"="cors"
  "sec-fetch-dest"="empty"
  "referer"="https://stake.com/"
  "accept-encoding"="gzip, deflate, br"
  "accept-language"="en-GB,en;q=0.9,it-IT;q=0.8,it;q=0.7,en-US;q=0.6,tr;q=0.5"
} `
-ContentType "application/json" `
-Body "{`"operationName`":`"HiloNext`",`"variables`":{`"guess`":`"$guessing`"},`"query`":`"mutation HiloNext(`$guess: CasinoGameHiloGuessEnum!) {\n  hiloNext(guess: `$guess) {\n    ...CasinoBetFragment\n    state {\n      ...HiloStateFragment\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment CasinoBetFragment on CasinoBet {\n  id\n  active\n  payoutMultiplier\n  amountMultiplier\n  amount\n  payout\n  updatedAt\n  currency\n  game\n  user {\n    id\n    name\n    __typename\n  }\n  __typename\n}\n\nfragment HiloStateFragment on CasinoGameHilo {\n  startCard {\n    suit\n    rank\n    __typename\n  }\n  rounds {\n    card {\n      suit\n      rank\n      __typename\n    }\n    guess\n    payoutMultiplier\n    __typename\n  }\n  __typename\n}\n`"}"

$rank = $new
$rank = $rank |  ConvertFrom-JSON | Select-Object data | select -expand data | select -expand hiloNext |select -expand state |select -expand rounds
if($iter -eq 0){

$rank= $rank.card.rank
}
if($iter -gt 0)
{$rank =$rank[$iter].card.rank}

$new = $new  |  ConvertFrom-JSON | Select-Object data | select -expand data | select -expand hiloNext |select -expand state |select -expand rounds |select payoutMultiplier


if($iter -eq 0){

$temp = $new.payoutMultiplier
}
if($iter -gt 0)
{$temp =[float]$new[$iter].payoutMultiplier}
$resulted += $symbol
$resulted +=$rank
write-Output "Game $($gamenumbers) $($resulted) Multi $($temp)"

if($temp -ge $target){
$multi =[float]$new[$iter].payoutMultiplier
Invoke-WebRequest -Uri "https://api.stake.com/graphql" `
-Method "POST" `
-Headers @{
"method"="POST"
  "authority"="api.stake.com"
  "scheme"="https"
  "path"="/graphql"
  "sec-ch-ua"="`" Not;A Brand`";v=`"99`", `"Google Chrome`";v=`"91`", `"Chromium`";v=`"91`""
  "dnt"="1"
  "x-language"="en"
  "sec-ch-ua-mobile"="?0"
  "user-agent"="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
  "accept"="*/*"
  "x-lockdown-token"=""
  "x-access-token"=$apikey
  "origin"="https://stake.com"
  "sec-fetch-site"="same-site"
  "sec-fetch-mode"="cors"
  "sec-fetch-dest"="empty"
  "referer"="https://stake.com/"
  "accept-encoding"="gzip, deflate, br"
  "accept-language"="en-GB,en;q=0.9,it-IT;q=0.8,it;q=0.7,en-US;q=0.6,tr;q=0.5"
} `
-ContentType "application/json" `
-Body "{`"operationName`":`"HiloCashout`",`"variables`":{`"identifier`":`"464ad18e228a852d9ea1`"},`"query`":`"mutation HiloCashout(`$identifier: String!) {\n  hiloCashout(identifier: `$identifier) {\n    ...CasinoBetFragment\n    state {\n      ...HiloStateFragment\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment CasinoBetFragment on CasinoBet {\n  id\n  active\n  payoutMultiplier\n  amountMultiplier\n  amount\n  payout\n  updatedAt\n  currency\n  game\n  user {\n    id\n    name\n    __typename\n  }\n  __typename\n}\n\nfragment HiloStateFragment on CasinoGameHilo {\n  startCard {\n    suit\n    rank\n    __typename\n  }\n  rounds {\n    card {\n      suit\n      rank\n      __typename\n    }\n    guess\n    payoutMultiplier\n    __typename\n  }\n  __typename\n}\n`"}"}
if($setting -eq "safe")
{

switch ( $rank )
{
    A { $guessing = "higher"}
    2 { $guessing = "higherEqual"}
    3 { $guessing = "higherEqual"}
    4 { $guessing = "higherEqual"}
    5 { $guessing = "higherEqual"}
    6 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    8 { $guessing = "lowerEqual"}
    9 { $guessing = "lowerEqual"}
    10 { $guessing = "lowerEqual"}
    J { $guessing = "lowerEqual"}
    Q { $guessing = "lowerEqual"}
    K { $guessing = "lower" }

}
}
elseif($setting -eq "crazy")
{
$guessing = "equal"
}
elseif($setting -eq "lol")
{
if($lol % 2 -eq 0)
{
switch ( $rank )
{
    A { $guessing = "higher"}
    Q { $guessing = "higherEqual"}
    J { $guessing = "higherEqual"}
    10 { $guessing = "higherEqual"}
    9 { $guessing = "higherEqual"}
    8 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    6 { $guessing = "higherEqual"}
    5 { $guessing = "higherEqual"}
    4 { $guessing = "higherEqual"}
    3 { $guessing = "higherEqual" }
    2 { $guessing = "higherEqual" }
    K { $guessing = "equal"}

}}
else
{
switch ( $rank )
{
    A { $guessing = "equal"}
    Q { $guessing = "lowerEqual"}
    J { $guessing = "lowerEqual"}
    10 { $guessing = "lowerEqual"}
    9 { $guessing = "lowerEqual"}
    8 { $guessing = "lowerEqual"}
    7 { $guessing = "lowerEqual"}
    6 { $guessing = "lowerEqual"}
    5 { $guessing = "lowerEqual"}
    4 { $guessing = "lowerEqual"}
    3 { $guessing = "lowerEqual" }
    2 { $guessing = "lowerEqual" }
    K { $guessing = "lower"}

}
}

}
elseif($setting -eq "risky")
{
switch ( $rank )
{
    A { $guessing = "equal"}
    Q { $guessing = "higherEqual"}
    J { $guessing = "higherEqual"}
    10 { $guessing = "higherEqual"}
    9 { $guessing = "higherEqual"}
    8 { $guessing = "higherEqual"}
    7 { $guessing = "higherEqual"}
    6 { $guessing = "lowerEqual"}
    5 { $guessing = "lowerEqual"}
    4 { $guessing = "lowerEqual"}
    3 { $guessing = "lowerEqual" }
    2 { $guessing = "lowerEqual" }
    K { $guessing = "equal"}

}
}
else
{
$random= Get-Random -Maximum 2

if($random -eq 0)
{
if($rank -eq "A")
{
$guessing = "equal"
$symbol ="="
}
elseif($rank -eq "K")
{
$guessing = "lower"
$symbol ="<"
}
else
{
$guessing = "lowerEqual"
$symbol ="<="
}
}
else
{
if($rank -eq "A")
{
$guessing = "higher"
$symbol =">"
}
elseif($rank -eq "K")
{
$guessing = "equal"
$symbol ="="
}
else
{
$guessing = "higherEqual"
$symbol =">="
}
}
}
switch ( $guessing)
{
    higher { $symbol= ">"   }
    higherEqual { $symbol= "=>"}
    lowerEqual {  $symbol= "=<"}
    lower {  $symbol= "<"}
    equal {  $symbol= "="}

}
$lol++
$iter= $iter +1
$multi = $temp
}
$bet = $bet * $multiplier
}

$done= Read-Host -Prompt  "Winning bet done! You can find it in your transaction history :)"
 

 

  As @Tristan said:

On 7/15/2021 at 1:48 AM, Tristan said:

Whilst i don't believe there are any solid rules regarding this, we do not support scripts / bots and will not be held liable if you lose funds during usage of one. These will compromise your accounts security.

Pay extremely attention. If you need help/support, reply in this topic but NEVER AND EVER post your api key here.

Edited by xrflive
Link to comment
Share on other sites

3 minutes ago, arvie28 said:

did they allow you to use and spread the script?

Yes, but again, it's only under your responsibility.  No one is liable for any loss incurred when wrongly used.

16 minutes ago, poky1084 said:

To improve code just add probability math. And i think one HiloNext webrequest enough, i see its two times written in the code 

Yes, code can definitely be optimized. There are two HiloNext calls as one is outside the while loop to control if the multi has been reached and one inside.

Link to comment
Share on other sites

  • Forum Admin
16 hours ago, xrflive said:

The last thing mandatory that you need to write is your API KEY

Im not trying to fud or bad-mouth him, hes actually created a thoroughly well written post. Whilst hes supplied how to find the API Key, if a user doesnt know how to find their API key prior to reading his explanation, then they shouldn't be using their API key for anything as they are unaware of the implications for their API key potentially being leaked.

I say this simply to protect our users. Again, not trying to insinuate / suggest anything against the scripts creator.

Link to comment
Share on other sites

6 hours ago, Tristan said:

Im not trying to fud or bad-mouth him, hes actually created a thoroughly well written post. Whilst hes supplied how to find the API Key, if a user doesnt know how to find their API key prior to reading his explanation, then they shouldn't be using their API key for anything as they are unaware of the implications for their API key potentially being leaked.

I say this simply to protect our users. Again, not trying to insinuate / suggest anything against the scripts creator.

+1

Link to comment
Share on other sites

4 minutes ago, Dogecoinbrotx said:

Hey, is or will there be a function to play equal on any card?

e.g. 7=7 or 4=4 ? like in madcoins hilobot ^^

In theory, when playing with "risky" mode, it will always select equal with A or K

Link to comment
Share on other sites

  • 2 weeks later...
Posted (edited)

ive been racking my brain trying every which way i could.. but really just bet *1.007 each losing round @xrflive

 

what would be best imo is a -prompt in the beginning with a user definable inc on loss

Edited by lolskeffa
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...