Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Krypton

Pages: [1] 2
1
Programmer Mode / Re: Hide Console Output
« on: January 11, 2019, 10:25:57 am »
Although un-professional and funny and will slow your operations  ....
.. you may try print with spaces for say about 45 times which will clear (fill) the screen with spaces and at the bottom will be ready to print your output only

Code: [Select]
for i = 45,1,-1
do
   print("      ")
end

this will first print 45 lines of spaces which will push the old contents up and below will be ready to print your fresh output
put the above code at appropriate place where you will need a clear screen like effect ... Good luck :P

2
DiceBot General Discussion / Re: Reset seed
« on: December 03, 2018, 11:57:21 am »
-- The following example will reset seed only once during the whole game play
resetseed()
function dobet()
      {DO SOMETHING}
end

-- The following example will reset seed after each and every winning bet only
function dobet()
  if win then
      resetseed()
      {DO SOMETHING}
  end
end

-- The following example will reset seed after each and every loosing bet only
function dobet()
  if !win then
      resetseed()
      {DO SOMETHING}
  end
end

-- The following example will reset seed after each and every bet
function dobet()
      resetseed()
      {DO SOMETHING}
end

3
Bugs and Suggestions / Re: Nonce numbering
« on: November 29, 2018, 08:25:18 am »
YoloDices API is a tcp socket, instead of a rest API like most other sites.
.
.
.
To be clear, sockets are usually much faster than REST APIs, you don't need to wait for the call to connect and the person to answer with every request. I will look into a way to prevent this from happening in the future without causing other issues.

Thank you so much for taking so much time in writing a detailed answer ... This adds to our knowledge too ...
Warm Regards

4
Bugs and Suggestions / Nonce numbering
« on: November 25, 2018, 04:25:39 pm »
Hello Seuntjie,
Please check the screen shot ... I Had used "reset seed after 1 win" ... usually the nonce numbering starts from 1 after the resetseed ... but in the screen shot you can see the numbering problem immediately after win and also that nonce starts from 1 in middle of red streaks too.
May be the numbering is from dice site (Yolo) or may be really a bug too  ... Just bringing it to your attention ... :)
Regards and with Seasons Greetings
Krypton

5
Programmer Mode / Re: need help for a script
« on: November 01, 2018, 08:04:56 am »
what help u want?

6
Programmer Mode / Re: Need help in creating a script
« on: October 28, 2018, 08:15:34 pm »
Below is your final code   ... hope it helps


-- More Credits  https://forum.seuntjie.com/index.php?topic=215.0
-- By Krypton
-- Scripted for Learning Purpose only
-- Please use at your own risk (there may be errors)
-- if this script is profitable please consider donating
-- BTC:  3Ds6p7KH785SXwgh8Xs9U2GXfcR5tv8Z6F
-- LTC:   MJd5NFEnmsvbqFc2ZbbpW7XU614NNThq9c

chance1=90
chance2=49.95
multiplier=2
base1=0.00001000
base2=0.00000100

chance=chance1
nextbet=base1

highestb=balance
bet1=1

function dobet()

  if win then

      if bet1==1 then
         chance=chance1
         nextbet=base1
      end

      if bet1==2  then
         chance=chance2
         nextbet=base2
   if balance >=  highestb then
      bet1=1
      chance=chance1
            nextbet=base1
         end
      end

      if balance> highestb then
    highestb=balance
      end

  else

      if bet1== 2 then
         nextbet=previousbet*multiplier
      end

      if bet1== 1 then
         chance=chance2
         nextbet=base2
   bet1=2
      end

  end

end

7
Programmer Mode / Re: Need help in creating a script
« on: October 23, 2018, 04:00:06 pm »
cryptoshaan#????
full with number please

8
Programmer Mode / Re: Need help in creating a script
« on: October 23, 2018, 03:21:02 pm »
are you on discord? chatting will be convenient and quick without wasting time and waiting for answers

9
Programmer Mode / Re: Need help in creating a script
« on: October 23, 2018, 11:08:09 am »
Done ... once i get some time again I have few errors to be corrected and testing it ...

10
Programmer Mode / Re: Need help in creating a script
« on: October 22, 2018, 08:33:54 pm »
1. Your first bet is
-  bet is 0.00001, and chance is 90%
what will be your 2nd bet if win ... same?

2. if above bet is loss then your next bet will be ..
-  bet is 0.000001 and chance is 49.95%
what will be your next bet if this is lost ... same?  or increase by some factor?

11
Programmer Mode / Re: Need help in creating a script
« on: October 22, 2018, 08:24:01 pm »
Your Inbox is full cant send message
Try to make a script for u ... just give some time
Regards

12
Programmer Mode / Re: help for bet-strategy
« on: August 20, 2018, 04:47:15 pm »
do you want this way?
if base bet is 10 sat ... then on loss increase by 200% (20 sats) that means next bet will be 30 sats?
on 2nd loss 300% of 30 sats ... that is 120 sats?
on losses will it be like this? 10 .. 30 .. 120 .. 720 ????

Also remember on 3rd win you will be loosing 10+30+120= 160   ... while profit will be only 72

13
Programmer Mode / Re: help for bet-strategy
« on: August 20, 2018, 11:03:11 am »
I will make a script for you ... but ...
your loosing streak will not stop after 3 losses ... then what?
what if there is 4th or 5th or 6th loss?

14
Find attached screen shot of working of above script

15
Code: [Select]

-- more credits https://forum.seuntjie.com/index.php?topic=147.0
-- By Krypton
-- Scripted for Learning Purpose only
-- Please use at your own risk (there may be errors)
-- Next bet is double the basebet only after 3 losses
-- Rest all bets Zero
-- if this script is profitable please consider donating
-- BTC:  3Ds6p7KH785SXwgh8Xs9U2GXfcR5tv8Z6F
-- LTC:   MJd5NFEnmsvbqFc2ZbbpW7XU614NNThq9c

chance=49.5
basebet=0.0000005   -- keep this half of what first bet you want
nextbet=0
actualbet=basebet
bethigh=true
enablezz=false
enablesrc=false
losscount=0

function dobet()
if win then
losscount=0
if previousbet >0 then
nextbet=0
actualbet=basebet
end
     else
losscount=losscount+1
if losscount%3==0 then
actualbet=actualbet*2
nextbet=actualbet
     else
nextbet=0
end
if previousbet >0 then
losscount=0
end
end
end


Pages: [1] 2