Search content
Sort by

Showing 20 of 42 results by LuanX3M
Post
Topic
Board Games and rounds
Re: ★ Crypto-Games.net ★ Presents from santa! ★
by
LuanX3M
on 23/12/2017, 12:22:19 UTC
Crypto-games nickname: LuanX3
Post
Topic
Board Brasil
Re: Bitsport
by
LuanX3M
on 03/11/2017, 01:17:31 UTC
E justamente por isso que eu quero fazer um fork de algum software que nem o Google Fit ou Mi Fit (da Xiaomi), já que essas empresas investem pessado em segurança; ou pelo menos usar parte do código. Uma solução seria por uma AI pra avaliar se aquilo é uma atividade física ou nao
Post
Topic
Board Brasil
Re: Bitsport
by
LuanX3M
on 02/11/2017, 14:44:40 UTC
Olá pessoas, tenho uma ideia de criar uma altcoin e gostaria da opinião de vocês. Ela seria ganha pela prática de exercícios físicos. Os mineradores minerariam as moedas e receberiam uma fração (não tão pequena) do montante minerado, o resto iria para cold wallets que redistribuiriam essas moedas para os usuários de um aplicativo (que mede atividade física) de acordo com as suas atividades seguindo um algoritmo específico (que não gostaria de revelar). O que acham? Dúvidas ou sugestões, me mandem uma msg privada (pm).

Oi! Como você implentará o pagamento destas moedas para as pessoas que exercitarem?
Dá para você elaborar um pouco melhor?

Na minha cabeça veio que o usuário investiria um dinheiro (fiat ou crypto) para comprar a moeda e conseguiria parte dela (ou tudo) em reembolso através dos exercicios que poderiam ser medido pelo smart phone ou algo similar!

As pessoas que não fizessem os exercicios pre-estabelecidos perderiam a chance de ter as moedas de volta (e através de um timer-contrato) o valor das mesmas poderiam ser distribuídas para todos os outros donos das moedas!

Se precisar de alguém pro time me deixe saber! Abraços!

Então cara, isso se assemelha a um ICO, e eu acho que ICO's não são uma boa maneira de começar uma nova altcoin, já que a desconfiança quanto a eles é grande. E sim, adoraria(mos) ter mais um no time, porém precisamos fazaer mais pesquisas pra ver se tem uma base de usuários consistente. Sobre a distribuição pros usuários: o aplicativo se integraria com o smartwatch/smartband do usuário, e caso ele não tivesse, suas atividades seriam medidas pelo smartphone. No final de cada dia, o aplicativo pegaria o numero de calorias perdidas, tempo de exercicio e outras coisas assim e iria por num algoritmo e calcularia quanto aquele usuario ganhou pelas atividades daquele dia, e então avisaria a um servidor, que transferiria essa quantia pra carteira do usuario.

Achei a ideia interessante. Acredito que no facebook você encontre mais gente que possa ajuda-lo na empreitada.
O único"problema" é que essa galera da programação não faz exercício nenhum e seria um puta marketing negativo kkkk teria qje escolher bem os " garotos propaganda"

Realmente, kkk. Eu programo e me exercito bastante. Jogo handebol e tudo mais, acho que é possível achar mais pessoas assim.
Post
Topic
Board Brasil
Re: Bitsport
by
LuanX3M
on 01/11/2017, 08:51:25 UTC
Gostei bastante da ideia, com certeza acompanharei esse tópico  Wink

Valeu Pedro! Só estou preocupado com o pouco número de respostas.
Post
Topic
Board Brasil
Bitsport
by
LuanX3M
on 31/10/2017, 08:52:37 UTC
Olá pessoas, tenho uma ideia de criar uma altcoin e gostaria da opinião de vocês. Ela seria ganha pela prática de exercícios físicos. Os mineradores minerariam as moedas e receberiam uma fração (não tão pequena) do montante minerado, o resto iria para cold wallets que redistribuiriam essas moedas para os usuários de um aplicativo (que mede atividade física) de acordo com as suas atividades seguindo um algoritmo específico (que não gostaria de revelar). O que acham? Dúvidas ou sugestões, me mandem uma msg privada (pm).
Post
Topic
Board Criptomoedas Alternativas
Bitsport
by
LuanX3M
on 27/10/2017, 14:38:50 UTC
Olá pessoas, tenho uma ideia de criar uma altcoin e gostaria da opinião de vocês. Ela seria ganha pela prática de exercícios físicos. Os mineradores minerariam as moedas e receberiam uma fração (não tão pequena) do montante minerado, o resto iria para cold wallets que redistribuiriam essas moedas para os usuários de um aplicativo (que mede atividade física) de acordo com as suas atividades seguindo um algoritmo específico (que não gostaria de revelar). O que acham?
Post
Topic
Board Brasil
Re: Oferta de Parceria no Mercado Brasileiro
by
LuanX3M
on 08/05/2017, 19:08:03 UTC
Dear Brazilian friends,

Eu estou a procura de parceria no Mercado Brasileiro a fim de lançar um novo projeto voltado ao publico (customers) Brasileiros.

Send me a PM to more information
Let posted here on the topic the name of your favorite wallet


Thanks
-- Captain Group


Sir, I guess I speak for all of us in this thread when I ask what kind of business you are trying to bring here, give us more information so we can try to help you.


Post
Topic
Board Brasil
Re: debit card brl
by
LuanX3M
on 08/05/2017, 19:06:23 UTC
Hello Brazilian friends and sorry for english.

Do you know a good working debit card which allow brl withdrawl?

Thanks!!

Sir, all cards out there use GBP, USD or EUR, but you can withdraw in BRL at any Brazilian 24hr ATM, plus the fees.
Post
Topic
Board Brasil
Re: debit card brl
by
LuanX3M
on 08/05/2017, 19:04:52 UTC

Não sabia que vocês tinham esse serviço. Muito bom. Acho que vou experimentá-lo.

É um serviço que ainda está em beta, mas como o ambiente é todo controlado por nós, pode ficar tranquilo.

Qualquer problema que acontecer, pode me enviar uma MP ou email para s+btctalk@foxbitcom.br

Vocês pretendem aumentar o limite dos cartões?
Post
Topic
Board Brasil
Re: Adaptar script
by
LuanX3M
on 29/01/2017, 15:40:56 UTC
A variável win não está declarada, provavelmente nem no script original em lua funciona.
Code:
var basebet = 3
var nextbet = basebet;

//THIS SCRIPT IS JUST FOR DOGECOIN and you can use the command debugInfo() to check your current stats

//your balance must be at least times 2725 bigger than the base bet, but it can be bigger, never smaller

//balance that when hit will withdraw your earnings, they will be withdrawn automatically, read all line until you read the one which configures the address, but DO NOT withdraw an amount that makes your balance smaller then the balance you started with

//how much you want to withdraw when hitting final target (10% of this amount will be discounted as a donation to me, you are free to erase this donation that's down below, but remember that making this script took time, effort and money just to code it)

var startbalance = balance;
var chance = 40;
var martimulti = 1.85;
var bethigh = true;
var low = 0;
var high = 0;
var wincount = 0;
var losecount = 0;
var losecount2 = 0;
var biggestLoseStreak = 0;
var biggestBet = 0;
var nextwinbet = basebet * martimulti;
var X = 0;
var Alpha = false;
var Beta = 0;
var go = false;
var set = false;
var Z = false;
var Alphaprofit = 0;
var A = false;
var B = 0;
function dobet(){
Beta=Beta+currentprofit;
if(!Alpha){
//WITHDRAW SETTINGS AND DONATION SETTINGS
var min = 0;
var max = 10;
// and the formula is:
r= Math.floor(Math.random() * (max - min + 1)) + min;
if(r>=5){
bethigh = true;
}else{
bethigh = false;
}
if (previousbet == basebet){
if (!win){
losecount2 = losecount2 + 1;
}else{
losecount2 = losecount2 - 1;
}
}
if (X >= 0){
losecount2 = 0;
}
 if (losecount2 < 3) {losecount3 = 0};
 if (losecount2 >= 3){losecount3 = losecount2;}
 if (losecount3 != 0){ martimulti = martimulti + (losecount3 / 465);}
 if (win){
wincount = wincount+1;
if (wincount == 1 && go=true){
nextbet = nextwinbet;
go = false;
set = false
}else{
nextbet = basebet;
}
 }
if (wincount == 2 && previousbet != basebet && A==false){
nextwinbet = basebet * martimulti;
set = true;
}
if (wincount == 2){
go = true;
}else{
if (wincount == 1 && previousbet != basebet && A==false){
nextwinbet = previousbet * martimulti;
}else{
wincount = 0;
nextbet = basebet;
}
}
if (A==true){ nextbet = basebet;}
if (A==true && previousbet == basebet){ B = B+1;}
if (B == 10){
A = false;
B = 0;
}
if (nextwinbet >= basebet * 10 && losecount2 == 0){ nextwinbet = basebet * martimulti;}
if (previousbet != basebet && chance == 40){
//win é true ou false ? scrypt com erro sem declaracao da variavel
if (!win){
losecount = losecount+1;
wincount = 0;
X = X + currentprofit;
alert(X);
}else{
losecount = 0;
wincount = wincount + 1;
X = X + currentprofit;
alert(X);
}
}
 if (X > 0){
 nextbet = basebet;
 chance = 40;
 wincount = 0;
 losecount = 0;
 losecount2 = 0;
 losecount3 = 0;
 martimulti = 1.85;
 nextwinbet = basebet * martimulti;
 X = 0;
 martimulti = 1.85;
 Alphaprofit = 0;
 }
 //win é true ou false ? scrypt com erro sem declaracao da variavel
 if (losecount == 4 && chance == 40 && !win){
 losecount = 0;
 A = true;
 nextbet = basebet;
 Z = true;
 }
 if (Z==true){
 Chance = 70;
 Alpha = false;
 }
 //win é true ou false ? scrypt com erro sem declaracao da variavel
 if (win){
 chance = 70;
 C = 0;
 nextbet = basebet;
 losecount = 0;
 X = X + currentprofit;
 alert(X);
 }else{
if (A==false){
nextbet = previousbet * 4;
losecount = losecount + 1;
}
X = X + currentprofit;
alert(X);
 }
 if (losecount == 1) {chance = 70;}
 if (losecount == 2) {chance = 75;}
 if (losecount == 3) {
 nextbet = basebet / 3;
 Alphaprofit = 0;
 Alpha = true;
 }
 if (X > 0){
 A = true;
 B = 0;
 chance = 40;
 nextbet = basebet;
 wincount = 0;
 losecount = 0;
 X = 0;
 martimulti = 1.85;
 Alphaprofit = 0;
 Z = false;
 }
 if (losecount > biggestLoseStreak){ biggestLoseStreak = losecount;}
 if (nextbet > biggestBet) {biggestBet = nextbet;}

function debugInfo(){
alert("Bets Made = " + bets);
alert("Biggest Bet = " + biggestBet);
alert("Total Profit = " + profit);
}
}else{
chance = 66;
Z = false;
//win é true ou false ? scrypt com erro sem declaracao da variavel
if (win){
nextbet = previousbet * 1.05;
Alphaprofit = Alphaprofit+ currentprofit;
X = X + currentprofit;
alert(X);
losecount = 0;
}else{
nextbet = previousbet * 1.1;
Alphaprofit = Alphaprofit+currentprofit;
X = X + currentprofit;
alert(X);
losecount = losecount + 1;
}
if (Alphaprofit >= basebet * 1.5){
Alphaprofit = 0;
nextbet = basebet / 3;
}
if (X > 0){
nextbet = basebet;
Alphaprofit = 0;
A = true;
B = 0;
Alpha = false;
resetseed();
Z = true;
}
if (-Alphaprofit > startbalance / 50 ){
nextbet = basebet;
wincount = 0;
losecount = 0;
losecount2 = 0;
X = 0;
chance = 40;
martimulti = 1.85;
Alphaprofit = 0;
resetseed();
A = true;
B = 0;
Z = false;
Alpha = false;
}
function debugInfo(){
alert("Bets Made = " + bets);
alert("Biggest Bet = " + biggestBet);
alert("Total Profit = " + profit);
}

}
}

O código em si não foi testado, tem que fazer o teste e ver se está tudo ok.
Não me responsabilizo por prejuízos.

muito obrigado
Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
LuanX3M
on 14/01/2017, 12:57:07 UTC
Hi programmers, I recently opened a separate thread about a bitsler dice strategy. If anyone can code it into a lua script, that would be great. I shouldn't be hard. Please look at https://bitcointalk.org/index.php?topic=1748508.0. Thanks.

any reward?
Post
Topic
Board Português (Portuguese)
Re: Adaptar script
by
LuanX3M
on 13/01/2017, 12:18:37 UTC
Qual a porcentagem dos lucros a gente leva com isso?

nenhuma, pq ainda to testando, é um beta
Post
Topic
Board Português (Portuguese)
Topic OP
Adaptar script
by
LuanX3M
on 11/01/2017, 22:07:20 UTC
Pessoal, algm pode me ajudar a adaptar esse código em LUA pro javascript do bustabit? Ou seja, com as variáveis que são usadas no bustabit? segue o script e as variáveis do bustabit:

Code:
basebet = 3
nextbet = basebet

-- THIS SCRIPT IS JUST FOR DOGECOIN and you can use the command debugInfo() to check your current stats

-- your balance must be at least times 2725 bigger than the base bet, but it can be bigger, never smaller

-- balance that when hit will withdraw your earnings, they will be withdrawn automatically, read all line until you read the one which configures the address, but DO NOT withdraw an amount that makes your balance smaller then the balance you started with

-- how much you want to withdraw when hitting final target (10% of this amount will be discounted as a donation to me, you are free to erase this donation that's down below, but remember that making this script took time, effort and money just to code it)

startbalance = balance
chance = 40
martimulti = 1.85
bethigh = true
low = 0
high = 0
wincount = 0
losecount = 0
losecount2 = 0
biggestLoseStreak = 0
biggestBet = 0
nextwinbet = basebet * martimulti
X = 0
Alpha = false
Beta = 0
go = false
set = false
Z = false
Alphaprofit = 0
A = false
B = 0

function dobet()

Beta += currentprofit



if !Alpha then

-- WITHDRAW SETTINGS AND DONATION SETTINGS




r=math.random(10)

if r >= 5 then
  bethigh = true
else
  bethigh = false
end

  if previousbet == basebet then
    if !win then
      losecount2 += 1
    else
      losecount2 = losecount2 - 1
    end
    if X >= 0 then
      losecount2 = 0
    end
  end

  if losecount2 < 3 then losecount3 = 0 end

  if losecount2 >= 3 then losecount3 = losecount2 end

  if losecount3 != 0 then martimulti += losecount3 / 465 end

if (win) then
   wincount += 1
  if (wincount == 1 and go) then
     nextbet = nextwinbet
    go = false
      set = false
  else
      nextbet = basebet
  end
   if (wincount == 2 and previousbet != basebet and !A) then
        nextwinbet = basebet * martimulti
        set = true
   end
    if (wincount == 2) then go = true end
  else
   if (wincount == 1 and previousbet != basebet and !A)  then
      nextwinbet = previousbet * martimulti
   else
      
   end
   wincount = 0
   nextbet = basebet
 end

if A then nextbet = basebet end

if A and previousbet == basebet then B += 1 end

if B == 10 then A = false B = 0 end

if nextwinbet >= basebet * 10 and losecount2 == 0 then nextwinbet = basebet * martimulti end

if previousbet != basebet and chance == 40 then
   if (!win) then
     losecount += 1
     wincount = 0
     X += currentprofit
     print(X)
   else
     losecount = 0
     wincount += 1
     X += currentprofit
     print(X)
  end
 end

  if (X > 0) then
   nextbet = basebet
   chance = 40
   wincount = 0
   losecount = 0
   losecount2 = 0
   losecount3 = 0
   martimulti = 1.85
   nextwinbet = basebet * martimulti
   X = 0
   martimulti = 1.85
   Alphaprofit = 0
  end

 if losecount == 4 and chance == 40 and !win then
   losecount = 0
   A = true
   nextbet = basebet
   Z = true
end

if Z then
chance = 70
Alpha = false

  if win then
    chance = 70
    C = 0
    nextbet = basebet
    losecount = 0
    X += currentprofit
    print(X)
  else
  if !A then
    nextbet = previousbet * 4
    losecount += 1
  end
    X += currentprofit
    print(X)
  end

  if (losecount == 1) then
    chance = 70
  end

  if (losecount == 2) then
    chance = 75
  end

  if losecount == 3 then
    nextbet = basebet / 3
    Alphaprofit = 0
    Alpha = true
  end

  if X > 0 then
   A = true
   B = 0
   chance = 40
   nextbet = basebet
   wincount = 0
   losecount = 0
   X = 0
   martimulti = 1.85
   Alphaprofit = 0
   Z = false
  end
end

  if (losecount > biggestLoseStreak) then
    biggestLoseStreak = losecount
  end

  if (nextbet > biggestBet) then
    biggestBet = nextbet
  end

function debugInfo()
  print("Bets Made = " ..  bets)
  print("Biggest Bet = " ..  string.format("%9.8f", biggestBet))
  print("Total Profit = " .. string.format("%9.8f", profit))
end

else
chance = 66
Z = false

  if win then
    nextbet = previousbet * 1.05
    Alphaprofit += currentprofit
    X += currentprofit
    print(X)
    losecount = 0
  else
    nextbet = previousbet * 1.1
    Alphaprofit += currentprofit
    X += currentprofit
    print(X)
    losecount += 1
  end

if Alphaprofit >= basebet * 1.5 then Alphaprofit = 0 nextbet = basebet / 3 end

  if X > 0 then
   nextbet = basebet
   Alphaprofit = 0
   A = true
   B = 0
   Alpha = false
   resetseed()
   Z = true
  end

  if -Alphaprofit > startbalance / 50 then
    nextbet = basebet
    wincount = 0
    losecount = 0
    losecount2 = 0
    X = 0
    chance = 40
    martimulti = 1.85
    Alphaprofit = 0
    resetseed()
    A = true
    B = 0
    Z = false
    Alpha = false
  end

function debugInfo()
  print("Bets Made = " ..  bets)
  print("Biggest Bet = " ..  string.format("%9.8f", biggestBet))
  print("Total Profit = " .. string.format("%9.8f", profit))
end

end
end

Quote
// This strategy editor is in BETA mode, please
// exercise extreme caution and use exclusively at
// your own risk. No bets can or will be refunded in
// case of errors.

// Please note the strategy editor executes arbitrary
// javascript without a sandbox and as such, only use
// strategies from trusted sources, as they can be
// backdoored to lose all your money or have
// intentional exploitable weaknesses etc.

// To see the full engine API see this mirror:
///https://github.com/kungfuant/webserver/blob/master/client_new/scripts/game-logic/script-controller.js

//Engine events:

engine.on('game_starting', function(info) {
    console.log('Game Starting in ' + info.time_till_start);
});

engine.on('game_started', function(data) {
    console.log('Game Started', data);
});

engine.on('game_crash', function(data) {
    console.log('Game crashed at ', data.game_crash);
});

engine.on('player_bet', function(data) {
    console.log('The player ', data.username, ' placed a bet. This player could be me Shocked.')
});

engine.on('cashed_out', function(resp) {
    console.log('The player ', resp.username, ' cashed out. This could be me.');
});

engine.on('msg', function(data) {
    console.log('Chat message!...');
});

engine.on('connect', function() {
    console.log('Client connected, this wont happen when you run the script');
});

engine.on('disconnect', function() {
    console.log('Client disconnected');
});


//Getters:
console.log('Balance: ' + engine.getBalance());
console.log('The current payout is: ' + engine.getCurrentPayout());
console.log('My username is: ', engine.getUsername());
console.log('The max current bet is: ', engine.getMaxBet()/100, ' Bits');
console.log('The current maxWin is: ', engine.getMaxWin()/100, ' Bits');
// engine.getEngine() for raw engine


//Helpers:
console.log('Was the last game played? ', engine.lastGamePlayed()?'Yes':'No');
console.log('Last game status: ', engine.lastGamePlay());


//Actions:
//Do this between the 'game_starting' and 'game_started' events
//engine.placeBet(betInSatoshis, autoCashOutinPercent, autoPlay);

//engine.cashOut(); //Do this when playing
//engine.stop(); //Stops the strategy
//engine.chat('Hello Spam');
Post
Topic
Board Gambling
Topic OP
Adapt script
by
LuanX3M
on 11/01/2017, 22:05:17 UTC
Guys, can someone plz help me to adapt this LUA script to bustabit javascript? bustabit javascript means javascript with bustabit vars? code and bustabit vars are down below

Code:
basebet = 3
nextbet = basebet

-- THIS SCRIPT IS JUST FOR DOGECOIN and you can use the command debugInfo() to check your current stats

-- your balance must be at least times 2725 bigger than the base bet, but it can be bigger, never smaller

-- balance that when hit will withdraw your earnings, they will be withdrawn automatically, read all line until you read the one which configures the address, but DO NOT withdraw an amount that makes your balance smaller then the balance you started with

-- how much you want to withdraw when hitting final target (10% of this amount will be discounted as a donation to me, you are free to erase this donation that's down below, but remember that making this script took time, effort and money just to code it)

startbalance = balance
chance = 40
martimulti = 1.85
bethigh = true
low = 0
high = 0
wincount = 0
losecount = 0
losecount2 = 0
biggestLoseStreak = 0
biggestBet = 0
nextwinbet = basebet * martimulti
X = 0
Alpha = false
Beta = 0
go = false
set = false
Z = false
Alphaprofit = 0
A = false
B = 0

function dobet()

Beta += currentprofit



if !Alpha then

-- WITHDRAW SETTINGS AND DONATION SETTINGS




r=math.random(10)

if r >= 5 then
  bethigh = true
else
  bethigh = false
end

  if previousbet == basebet then
    if !win then
      losecount2 += 1
    else
      losecount2 = losecount2 - 1
    end
    if X >= 0 then
      losecount2 = 0
    end
  end

  if losecount2 < 3 then losecount3 = 0 end

  if losecount2 >= 3 then losecount3 = losecount2 end

  if losecount3 != 0 then martimulti += losecount3 / 465 end

if (win) then
   wincount += 1
  if (wincount == 1 and go) then
     nextbet = nextwinbet
    go = false
      set = false
  else
      nextbet = basebet
  end
   if (wincount == 2 and previousbet != basebet and !A) then
        nextwinbet = basebet * martimulti
        set = true
   end
    if (wincount == 2) then go = true end
  else
   if (wincount == 1 and previousbet != basebet and !A)  then
      nextwinbet = previousbet * martimulti
   else
      
   end
   wincount = 0
   nextbet = basebet
 end

if A then nextbet = basebet end

if A and previousbet == basebet then B += 1 end

if B == 10 then A = false B = 0 end

if nextwinbet >= basebet * 10 and losecount2 == 0 then nextwinbet = basebet * martimulti end

if previousbet != basebet and chance == 40 then
   if (!win) then
     losecount += 1
     wincount = 0
     X += currentprofit
     print(X)
   else
     losecount = 0
     wincount += 1
     X += currentprofit
     print(X)
  end
 end

  if (X > 0) then
   nextbet = basebet
   chance = 40
   wincount = 0
   losecount = 0
   losecount2 = 0
   losecount3 = 0
   martimulti = 1.85
   nextwinbet = basebet * martimulti
   X = 0
   martimulti = 1.85
   Alphaprofit = 0
  end

 if losecount == 4 and chance == 40 and !win then
   losecount = 0
   A = true
   nextbet = basebet
   Z = true
end

if Z then
chance = 70
Alpha = false

  if win then
    chance = 70
    C = 0
    nextbet = basebet
    losecount = 0
    X += currentprofit
    print(X)
  else
  if !A then
    nextbet = previousbet * 4
    losecount += 1
  end
    X += currentprofit
    print(X)
  end

  if (losecount == 1) then
    chance = 70
  end

  if (losecount == 2) then
    chance = 75
  end

  if losecount == 3 then
    nextbet = basebet / 3
    Alphaprofit = 0
    Alpha = true
  end

  if X > 0 then
   A = true
   B = 0
   chance = 40
   nextbet = basebet
   wincount = 0
   losecount = 0
   X = 0
   martimulti = 1.85
   Alphaprofit = 0
   Z = false
  end
end

  if (losecount > biggestLoseStreak) then
    biggestLoseStreak = losecount
  end

  if (nextbet > biggestBet) then
    biggestBet = nextbet
  end

function debugInfo()
  print("Bets Made = " ..  bets)
  print("Biggest Bet = " ..  string.format("%9.8f", biggestBet))
  print("Total Profit = " .. string.format("%9.8f", profit))
end

else
chance = 66
Z = false

  if win then
    nextbet = previousbet * 1.05
    Alphaprofit += currentprofit
    X += currentprofit
    print(X)
    losecount = 0
  else
    nextbet = previousbet * 1.1
    Alphaprofit += currentprofit
    X += currentprofit
    print(X)
    losecount += 1
  end

if Alphaprofit >= basebet * 1.5 then Alphaprofit = 0 nextbet = basebet / 3 end

  if X > 0 then
   nextbet = basebet
   Alphaprofit = 0
   A = true
   B = 0
   Alpha = false
   resetseed()
   Z = true
  end

  if -Alphaprofit > startbalance / 50 then
    nextbet = basebet
    wincount = 0
    losecount = 0
    losecount2 = 0
    X = 0
    chance = 40
    martimulti = 1.85
    Alphaprofit = 0
    resetseed()
    A = true
    B = 0
    Z = false
    Alpha = false
  end

function debugInfo()
  print("Bets Made = " ..  bets)
  print("Biggest Bet = " ..  string.format("%9.8f", biggestBet))
  print("Total Profit = " .. string.format("%9.8f", profit))
end

end
end

Quote
// This strategy editor is in BETA mode, please
// exercise extreme caution and use exclusively at
// your own risk. No bets can or will be refunded in
// case of errors.

// Please note the strategy editor executes arbitrary
// javascript without a sandbox and as such, only use
// strategies from trusted sources, as they can be
// backdoored to lose all your money or have
// intentional exploitable weaknesses etc.

// To see the full engine API see this mirror:
///https://github.com/kungfuant/webserver/blob/master/client_new/scripts/game-logic/script-controller.js

//Engine events:

engine.on('game_starting', function(info) {
    console.log('Game Starting in ' + info.time_till_start);
});

engine.on('game_started', function(data) {
    console.log('Game Started', data);
});

engine.on('game_crash', function(data) {
    console.log('Game crashed at ', data.game_crash);
});

engine.on('player_bet', function(data) {
    console.log('The player ', data.username, ' placed a bet. This player could be me Shocked.')
});

engine.on('cashed_out', function(resp) {
    console.log('The player ', resp.username, ' cashed out. This could be me.');
});

engine.on('msg', function(data) {
    console.log('Chat message!...');
});

engine.on('connect', function() {
    console.log('Client connected, this wont happen when you run the script');
});

engine.on('disconnect', function() {
    console.log('Client disconnected');
});


//Getters:
console.log('Balance: ' + engine.getBalance());
console.log('The current payout is: ' + engine.getCurrentPayout());
console.log('My username is: ', engine.getUsername());
console.log('The max current bet is: ', engine.getMaxBet()/100, ' Bits');
console.log('The current maxWin is: ', engine.getMaxWin()/100, ' Bits');
// engine.getEngine() for raw engine


//Helpers:
console.log('Was the last game played? ', engine.lastGamePlayed()?'Yes':'No');
console.log('Last game status: ', engine.lastGamePlay());


//Actions:
//Do this between the 'game_starting' and 'game_started' events
//engine.placeBet(betInSatoshis, autoCashOutinPercent, autoPlay);

//engine.cashOut(); //Do this when playing
//engine.stop(); //Stops the strategy
//engine.chat('Hello Spam');
Post
Topic
Board Brasil
Topic OP
Adaptar script
by
LuanX3M
on 11/01/2017, 22:02:55 UTC
Pessoal, algm pode me ajudar a adaptar esse código em LUA pro javascript do bustabit? Ou seja, com as variáveis que são usadas no bustabit? segue o script e as variáveis do bustabit:

Code:
basebet = 3
nextbet = basebet

-- THIS SCRIPT IS JUST FOR DOGECOIN and you can use the command debugInfo() to check your current stats

-- your balance must be at least times 2725 bigger than the base bet, but it can be bigger, never smaller

-- balance that when hit will withdraw your earnings, they will be withdrawn automatically, read all line until you read the one which configures the address, but DO NOT withdraw an amount that makes your balance smaller then the balance you started with

-- how much you want to withdraw when hitting final target (10% of this amount will be discounted as a donation to me, you are free to erase this donation that's down below, but remember that making this script took time, effort and money just to code it)

startbalance = balance
chance = 40
martimulti = 1.85
bethigh = true
low = 0
high = 0
wincount = 0
losecount = 0
losecount2 = 0
biggestLoseStreak = 0
biggestBet = 0
nextwinbet = basebet * martimulti
X = 0
Alpha = false
Beta = 0
go = false
set = false
Z = false
Alphaprofit = 0
A = false
B = 0

function dobet()

Beta += currentprofit



if !Alpha then

-- WITHDRAW SETTINGS AND DONATION SETTINGS




r=math.random(10)

if r >= 5 then
  bethigh = true
else
  bethigh = false
end

  if previousbet == basebet then
    if !win then
      losecount2 += 1
    else
      losecount2 = losecount2 - 1
    end
    if X >= 0 then
      losecount2 = 0
    end
  end

  if losecount2 < 3 then losecount3 = 0 end

  if losecount2 >= 3 then losecount3 = losecount2 end

  if losecount3 != 0 then martimulti += losecount3 / 465 end

if (win) then
   wincount += 1
  if (wincount == 1 and go) then
     nextbet = nextwinbet
    go = false
      set = false
  else
      nextbet = basebet
  end
   if (wincount == 2 and previousbet != basebet and !A) then
        nextwinbet = basebet * martimulti
        set = true
   end
    if (wincount == 2) then go = true end
  else
   if (wincount == 1 and previousbet != basebet and !A)  then
      nextwinbet = previousbet * martimulti
   else
     
   end
   wincount = 0
   nextbet = basebet
 end

if A then nextbet = basebet end

if A and previousbet == basebet then B += 1 end

if B == 10 then A = false B = 0 end

if nextwinbet >= basebet * 10 and losecount2 == 0 then nextwinbet = basebet * martimulti end

if previousbet != basebet and chance == 40 then
   if (!win) then
     losecount += 1
     wincount = 0
     X += currentprofit
     print(X)
   else
     losecount = 0
     wincount += 1
     X += currentprofit
     print(X)
  end
 end

  if (X > 0) then
   nextbet = basebet
   chance = 40
   wincount = 0
   losecount = 0
   losecount2 = 0
   losecount3 = 0
   martimulti = 1.85
   nextwinbet = basebet * martimulti
   X = 0
   martimulti = 1.85
   Alphaprofit = 0
  end

 if losecount == 4 and chance == 40 and !win then
   losecount = 0
   A = true
   nextbet = basebet
   Z = true
end

if Z then
chance = 70
Alpha = false

  if win then
    chance = 70
    C = 0
    nextbet = basebet
    losecount = 0
    X += currentprofit
    print(X)
  else
  if !A then
    nextbet = previousbet * 4
    losecount += 1
  end
    X += currentprofit
    print(X)
  end

  if (losecount == 1) then
    chance = 70
  end

  if (losecount == 2) then
    chance = 75
  end

  if losecount == 3 then
    nextbet = basebet / 3
    Alphaprofit = 0
    Alpha = true
  end

  if X > 0 then
   A = true
   B = 0
   chance = 40
   nextbet = basebet
   wincount = 0
   losecount = 0
   X = 0
   martimulti = 1.85
   Alphaprofit = 0
   Z = false
  end
end

  if (losecount > biggestLoseStreak) then
    biggestLoseStreak = losecount
  end

  if (nextbet > biggestBet) then
    biggestBet = nextbet
  end

function debugInfo()
  print("Bets Made = " ..  bets)
  print("Biggest Bet = " ..  string.format("%9.8f", biggestBet))
  print("Total Profit = " .. string.format("%9.8f", profit))
end

else
chance = 66
Z = false

  if win then
    nextbet = previousbet * 1.05
    Alphaprofit += currentprofit
    X += currentprofit
    print(X)
    losecount = 0
  else
    nextbet = previousbet * 1.1
    Alphaprofit += currentprofit
    X += currentprofit
    print(X)
    losecount += 1
  end

if Alphaprofit >= basebet * 1.5 then Alphaprofit = 0 nextbet = basebet / 3 end

  if X > 0 then
   nextbet = basebet
   Alphaprofit = 0
   A = true
   B = 0
   Alpha = false
   resetseed()
   Z = true
  end

  if -Alphaprofit > startbalance / 50 then
    nextbet = basebet
    wincount = 0
    losecount = 0
    losecount2 = 0
    X = 0
    chance = 40
    martimulti = 1.85
    Alphaprofit = 0
    resetseed()
    A = true
    B = 0
    Z = false
    Alpha = false
  end

function debugInfo()
  print("Bets Made = " ..  bets)
  print("Biggest Bet = " ..  string.format("%9.8f", biggestBet))
  print("Total Profit = " .. string.format("%9.8f", profit))
end

end
end

Quote
// This strategy editor is in BETA mode, please
// exercise extreme caution and use exclusively at
// your own risk. No bets can or will be refunded in
// case of errors.

// Please note the strategy editor executes arbitrary
// javascript without a sandbox and as such, only use
// strategies from trusted sources, as they can be
// backdoored to lose all your money or have
// intentional exploitable weaknesses etc.

// To see the full engine API see this mirror:
///https://github.com/kungfuant/webserver/blob/master/client_new/scripts/game-logic/script-controller.js

//Engine events:

engine.on('game_starting', function(info) {
    console.log('Game Starting in ' + info.time_till_start);
});

engine.on('game_started', function(data) {
    console.log('Game Started', data);
});

engine.on('game_crash', function(data) {
    console.log('Game crashed at ', data.game_crash);
});

engine.on('player_bet', function(data) {
    console.log('The player ', data.username, ' placed a bet. This player could be me Shocked.')
});

engine.on('cashed_out', function(resp) {
    console.log('The player ', resp.username, ' cashed out. This could be me.');
});

engine.on('msg', function(data) {
    console.log('Chat message!...');
});

engine.on('connect', function() {
    console.log('Client connected, this wont happen when you run the script');
});

engine.on('disconnect', function() {
    console.log('Client disconnected');
});


//Getters:
console.log('Balance: ' + engine.getBalance());
console.log('The current payout is: ' + engine.getCurrentPayout());
console.log('My username is: ', engine.getUsername());
console.log('The max current bet is: ', engine.getMaxBet()/100, ' Bits');
console.log('The current maxWin is: ', engine.getMaxWin()/100, ' Bits');
// engine.getEngine() for raw engine


//Helpers:
console.log('Was the last game played? ', engine.lastGamePlayed()?'Yes':'No');
console.log('Last game status: ', engine.lastGamePlay());


//Actions:
//Do this between the 'game_starting' and 'game_started' events
//engine.placeBet(betInSatoshis, autoCashOutinPercent, autoPlay);

//engine.cashOut(); //Do this when playing
//engine.stop(); //Stops the strategy
//engine.chat('Hello Spam');
Post
Topic
Board Digital goods
Re: [1000+ SATISFIED CUSTOMERS] The best bustabit.com autopilot script [$5]
by
LuanX3M
on 14/12/2016, 20:53:18 UTC
man, selling it is dumbness, ask for donations, it's better, convince people to do that
Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
LuanX3M
on 14/12/2016, 18:16:29 UTC
Is there a way to the script update automatically the basebet? And can someone rewrite the following code in lua?

Edit: it's in portuguese

Code:
var basebet = 10;
var multiply = 1.25;
var baseL4M = 0.1;
var no2lr = 20;
var pm = 4; // é o multicador de diferença, tipo 1.25 é = 4,

var nmexe1 = 0;
var nmexe2 = 0;
var nmexe3 = 0;
var lastbet = 0;
var perdas = 0;
var mor = 0;
var ab = 0;
var jtr = 0;




engine.on('game_starting', function(info) {
cl("");
switch (nmexe1) {
case 0:
cl("On 0");
bet(basebet);
break;
case 1:
cl("On 1");
if (nmexe3 >= 6) {
bet(perdas * pm);
} else {
nmexe3 ++;
}
break;
case 2:
cl("On 2");
if (mor <= no2lr) {
if (mor == 0) ab = basebet; else {
ab = ab * (1 + baseL4M);
}
bet(ab, multiply);
mor ++;
} else {
resettobase();
cl("Não conseguir recuperar mesmo com " + no2lr + " rounds, restou " + perdas + " de perdas.");
}
break;
}
});

//perder
engine.on('game_crash', function(data) {if (jtr == 1) {
cl("Perdeu");
jtr = 0;
switch (nmexe1) {
case 0:
nmexe2 ++;
perdas += lastbet;
if (nmexe2 >= 3) {
nmexe1 = 1;
}
break;
case 1:
nmexe1 = 2;
perdas += lastbet;
break;
case 2:
perdas += lastbet;
break;
}
}});

//ganhar
engine.on('cashed_out', function(resp) {if (jtr == 1){if (resp.username == engine.getUsername()) {
cl("Ganhou");
jtr = 0;
switch (nmexe1) {
case 0:
resettobase();
break;
case 1:
resettobase();
break;
case 2:
perdas -= lastbet / pm;
if (perdas <= 0) {
resettobase();
cl("Recuperou tudo.");
}
break;
}
}}});


function resettobase() {
nmexe1 = 0;
nmexe2 = 0;
nmexe3 = 0;
perdas = 0;
mor = 0;
ab = 0;
cl("Resetando tudo");
}

function bet(b) {
engine.placeBet(Math.round(b) * 100, Math.round(multiply * 100), false);
cl("Betando " + b + "bits com X=" + Math.round(multiply * 100));
lastbet = Math.round(b);
jtr = 1;
}
function cl(m){console.log(m);}
[/s]

EDIT Not needed anymore
Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
LuanX3M
on 09/12/2016, 23:24:50 UTC
How to enable debugInfo() ?
Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
LuanX3M
on 09/12/2016, 20:02:38 UTC
Hey, is there, or will be a "currentbet" var?
Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
LuanX3M
on 06/12/2016, 17:23:18 UTC
how to use presetlist on progammer mode?