Need help with the bot or want someone to talk to?
FORUM.SEUNTJIE.COM

The forum is a good platform for asking or offering help with programmer mode scripts

LUA Scripts

Download a script for your bot, or upload your own to share with other users. Login or Register to upload

How do I use this?


Name:still need some work
Uploaded by: Tisuwajah
Discription:
Hello, i made this script from the Double Chance script made by spiritual3
it's 90% chance and 25% chance in a beauty dynamical comeback for me :)

but i want to make every 1 loss switch to betlow (lets just say that the roll is currently on high) and stay low event when it goes back to 90% chance event if it win, until another 1 loss is come, then it goes to bethigh with 25% chance, and after a win it switch to 90% chance but STAY high, until another lose came in, and so on, and so on.

and another thing's i want to make is, after a certain condition (let's just say have 10 win strike or 10 loss strike)the bot update the current balanced we have, and then update the basebet from the current balance we have (which will make the basebet keep adjusting with our current balance)

is this possible to be done with DiceBot?

anyway if anyone try to run this script that haven't finish yet(i think), please i beg of you to just using free fauchet >.< to prevent an unnecessary and unwanted loss

thank you. 





CommentsLogin or Register
LTDice206:11:2017 23:35
I finally finished a script of mine, Ill see if I can help with what you want done. I know it is possible, basically anything is possible because of Seuntjie.
    Login or Register
LTDice206:11:2017 23:47
For your loss and win measure youll need to add a wincounter +=1 on your if (win) command and on both of the 25% chance ones add losscounter +=1 and in your settings add wincounter=0 and losscounter=0 

as for your high low just add bethigh = false on the win and 
bethigh = math.random(0,100)%2 == 0 
on the losses so it can do the random calculation each time. I found if you dont repeat the command, the program will glitch and use the same values over and over. I will test and let you know once I edited it, but I am tipsy right now.
    Login or Register
LTDice206:11:2017 23:53
chance = 90
bethigh = true
basebet = balance/2500
nextbet = basebet
enablesrc = true
rollcount = 7
profittarget= balance+100000.00000000
wincounter=0
losscounter=0

function dobet()

--change seed every 7 bet
if rollcount == 7 then
rollcount = 0
resetseed();
else
rollcount = rollcount + 1
end

if (balance) < (nextbet) then
stop();
print(balance)
print("INSUFFICIENT FUNDS")
end

--bet progression 


	if (balance) >= profittarget then

  
	stop();
  
  
	print(balance)

  
        print("TARGET ACHIEVED!!!")
	print("You Won")
  
	print(profit)

  
	print("for this Session")


end

--Randomizer
r=math.random(10)

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

--Randomly select High/Low
--bethigh = math.random(0,100)%2 == 0
 

	if (win) then
                                bethigh = false
                                wincounter +=1
		chance = 90
   		nextbet = basebet
                                print(wincounter)
                                print(losscounter)
	
	else   
		if chance == 25.00  then
			nextbet = previousbet * 1.33738
                                                losscounter +=1
                                                print(losscounter)
                                                print(wincounter)
		else
			chance = 25.00
   			nextbet = basebet/3.3
                                                print(wincounter)
                                                print(losscounter)
		end
	


end
end
    Login or Register
Tisuwajah07:11:2017 00:27
yaayy thanks sir, you are a script guru :D

gonna tested it now
    Login or Register
irek17:11:2017 23:24
so mathematically what this script does except o swallowing money?
How it increases chances?
Which version is the working one the main one or the one in the comments?
    Login or Register
LTDice206:11:2017 23:54
Good job man. Good script. Im saving it on gold USB.
    Login or Register
LTDice207:11:2017 00:09
https://postimg.org/image/4b6tj3qhkb/
    Login or Register
LTDice207:11:2017 00:22
https://postimg.org/image/7lz0cfmkcr/

Everything rolls out eventually maybe percentage base stoploss and profit tipping method for 999dice, Ill try adjusting bankroll because with 8m/2500 my base is pretty high, I know its around 800k divider for my set level of basebet also I set a rediculous profit stop that needs changing. Adjust it to what you want, you know how.
    Login or Register
LTDice207:11:2017 00:26
Ill post up tomorrow for the functions to make the alternating basebet based off of bankroll with reset function to trick the script into thinking the bankroll is back at your original when your really 300k above where you started.
    Login or Register
Tisuwajah07:11:2017 00:44
ohh my, i was getting that long loss strike with the old script when on 25% that random high/low can get to switch on a very2 wrong bet (bet high and the result is low, and low and the result is high)
it happen around after between 2 - 4 hour maybe... but IT always happen

i thought if we just make the bot don't do switch high/low when on lossing strike = fix that problem above... but apparently not T_T


and by the way sir LTDice2 Thank you so much for reviewing and testing my script Sir, I do need all the suggestion or critics or input or anything, as i start get interested in this LUA programing language :)
    Login or Register
LTDice207:11:2017 01:13
To be honest I just taught myself everything for LUA never took a class in my life. Im testing some numbers but a percentage based profit reset might work. So lets say on average when it gets within 75% of the max losses(bankrolling) it will still be in the profit by 2%. Simply trick the program to reset when it hits that point, collects 2% profits and it can handle a max loss 4 times in a row. 

Your welcome for the help, you have more of my respect then most by attempting a script and posting. Most people just want a get rich quick program for free but the truth is that doesnt exist. If you create something that works, you let people rent your service for a % of their profits. Plenty of websites out there that let you do that.
    Login or Register
LTDice207:11:2017 01:20
I gotta say though my max losses in a row with a randomized high low at 25% were 150-170 range on 999dice, didnt test for CryptoGames which is what I use now. 999Dice uses a system similar to the bustabit/bustaclam system which will gives you an increased chance of losing with the bigger bet you place. Its their attempt at throttling to detour faucet abuse/scripts that use banking accounts which can break a provably fair system.
    Login or Register
LTDice207:11:2017 01:31
This comment has been removed.
    Login or Register
LTDice207:11:2017 01:34
https://postimg.org/image/3erblrve7v/

https://postimg.org/image/78nbqkdwi3/

https://postimg.org/image/4vxgnj23jv/

https://postimg.org/image/18rx008nxn/
    Login or Register
LTDice207:11:2017 05:59
Im going to bed but I did a quick runtime test on the script after several profitable simulations and this was my yield. I will add my tricks when I wake up.

https://postimg.org/image/1tl8lgb30b/

you can see my balance. I still have endless profit stop due to fact I want to see how long it will run.



rollcount = 0
resetseed();
else
rollcount = rollcount + 1
end

if (balance) < (nextbet) then
stop();
print(balance)
print("INSUFFICIENT FUNDS")
end

--bet progression 


	if (balance) >= profittarget then

  
	stop();
  
  
	print(balance)

  
        print("TARGET ACHIEVED!!!")
	print("You Won")
  
	print(profit)

  
	print("for this Session")


end

--Randomizer
r=math.random(10)

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

--Randomly select High/Low
--bethigh = math.random(0,100)%2 == 0
 

	if (win) then
                                bethigh = false
                                wincounter +=1
		chance = 90
   		nextbet = basebet
                                print("total wins are")
                                print(wincounter)
                                print("total losses are")
                                print(losscounter)
                                print(profit)
	
	else   
		if chance == 25.00  then
			nextbet = previousbet * 1.33738
                                                losscounter +=1
                                                print("total wins are")
                                                print(wincounter)
                                                print("total losses are")
                                                print(losscounter)
                                                print(profit)
		else
			chance = 25.00
   			nextbet = basebet/3.3
                                                print("total wins are")
                                                print(wincounter)
                                                print("total losses are")
                                                print(losscounter)
                                                print(profit)
		end
	


end
end

    Login or Register
Tisuwajah07:11:2017 10:22
Sir, Sir, first of all i'am sorry for slow reply, i was at work and just got home now, here is at 4:34 pm now XD

btw about keep updating the basebet and trick the script to think that our balance is not our actual balance i tried some of the following, but none of them seem's to work

first i input this (wicth i'm sure you know where it is :)

chance = 90
bethigh = true
balance = 0.20000000
startbal = balance/2
basebet = balance/2500
nextbet = basebet
enablesrc = true
rollcount = 7
profittarget= balance+0.00010000
wincounter=0
losscounter=0


and then in do bet i try this

         if (win) then
               bethigh = false
               wincounter +=1
         end

         if wincounter >= 2 then
               balance = startbal
         end
but then after one roll and win, it stop and print out this
Betting Stopped!
0.68521765
TARGET ACHIEVED!!!
You Won
0.00230178037841614
for this Session
total wins are
1
total losses are
0
0.00230178037841614
witch the 0.68521765 is my actual balance.



And another one i try this:

first i remove the balance = 0.20000000

and i add another command line right above the profittarget but the decimal is diferent


profittarget1 = balance+0.00010000
profittarget = balance+0.10000000

--bet progression 

     --i add this
        if (balance) >= profittarget1 then
             balance = startbal
        print ("Updating balance")
        end


	if (balance) >= profittarget then

  
	stop();
  
  
	print(balance)

  
        print("TARGET ACHIEVED!!!")
	print("You Won")
  
	print(profit)

  
	print("for this Session")
end


and the result is this:

Betting 0.000274137572 at 90% chance to win, low
Updating balance
total wins are
18
total losses are
0
0.00297050881346439
Betting 0.000274137572 at 90% chance to win, low
Updating balance
total wins are
19
total losses are
0
0.00300065124146439
Betting 0.000274137572 at 90% chance to win, low
Updating balance
total wins are
20
total losses are
0
0.00303079366946439
Betting 0.000274137572 at 90% chance to win, low
Updating balance
total wins are
21
total losses are
0
0.00306093609746439
Betting 0.000274137572 at 90% chance to win, low
stop()
Betting Stopped!


it doesn't stop but it' doesn't updating the basebet according to basebet = balance/2500


after doing some thinking it snap to me that, maybe when profittarget1 is achieved...."He" knows he have to do balance become startbal but what is balance????

or is there some wrong doing i make???

ps: and still haven't got the high/low bet that i desire... well i;am gonna work it after this updateing basebet fix >.<
    Login or Register
Tisuwajah07:11:2017 10:53
and another try sir :)

	if wincounter >= 2 then
		balance = startbal
	end
	
	if losscounter >= 2 then
		wincounter = 0
	end


	if (win) then
                                bethigh = false
                                wincounter +=1
		losscounter = 0
		chance = 90
   		nextbet = basebet
                	print("total wins are")
                                print(wincounter)
                                print("total losses are")
                                print(losscounter)
                                print(profit)
end


but still not updating the basebet
i'am gonna do some googling now hope to find something i can use sir 
    Login or Register
Tisuwajah07:11:2017 10:18
This comment has been removed.
    Login or Register
Tisuwajah07:11:2017 10:23
Double post, sorry
    Login or Register
LTDice207:11:2017 11:57
No worries I dont mind the timezone difference, while you work I am asleep because its night time haha Im adding the trick here in a second its a lot simpler then what you did, but first I need a coffee. I just woke up ;D
    Login or Register
Tisuwajah07:11:2017 12:02
lol, ok Sir :)
    Login or Register
Tisuwajah07:11:2017 13:11
Sir i got this message on trying to do the zig zag

LUA ERROR!!
'then' expected, got '='

but i think i done it correctly
here is the code


	if losscounter >= 1 then
		bethigh = false
		wincounter = 0

	end
	
	if wincounter <= 0 then
		losscounter2 +=1
	end

	if losscounter2 >= 2 then
		bethigh = true
	end
	
	if bethigh = true then
		losscounter2 = 0
	end


could you please teach me where did i do wrong?
thank you :)
    Login or Register
Tisuwajah07:11:2017 13:16
ouuhhh nevermind, i got it :)

sorry for asking a dumb question >.<
    Login or Register
LTDice207:11:2017 14:31
You dont know how many time I do that a day hahahaha I finally got the balance trick to calculate properly, the settings are for my balance just adjust it accordingly for whatever basebet you want. My minimum is 10 but its sets at 1k right now. I left extra counters in the script for future additions. (still working on the reset functions, I have a temporary one set in place))


chance = 90
bethigh = true
basebet = b2/8187.4500107110 ---(erase this text after but change this setting for your balance)---
nextbet = b2/8187.4500107110  ---(erase this text after but change this setting for your balance)---
enablesrc = true
rollcount = 7
profittarget= balance+10000000.00000000  ---(set to a realistic profit goal)---
wincounter = 0
losscounter = 0
losscountertwo = 0
b2 = 8187450.01047110    ---(this is your balance or how much you want to risk)---

function dobet()

--change seed every 7 bet
if rollcount == 7 then
rollcount = 0
resetseed();
else
rollcount = rollcount + 1
end

if (balance) < (nextbet) then
stop();
print(balance)
print("INSUFFICIENT FUNDS")
end

--bet progression 


	if (balance) >= profittarget then

  
	stop();
  
  
	print(balance)

  
        print("TARGET ACHIEVED!!!")
	print("You Won")
  
	print(profit)

  
	print("for this Session")


end

--Randomizer
r=math.random(10)

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

--Randomly select High/Low
--bethigh = math.random(0,100)%2 == 0
 

	if (win) then
                                bethigh = false
                                losscountertwo = 0
                                wincounter +=1
                                b2 = b2 + (b2 + (profit - b2))
		chance = 90
   		nextbet = b2/8187.4500107110  ---(erase this text after but change this setting for your balance)---
                                print("total wins are")
                                print(wincounter)
                                print("total losses are")
                                print(losscounter)
                                print("current profit is")
                                print(profit)
                                print("Hacking bankroll balace is")
                                print(b2)
	
	else   
		if chance == 25.00  then
                                                b2 = (b2 - previousbet)
			nextbet = (previousbet * 1.33738)
                                                losscountertwo +=1
                                                losscounter +=1
                                                print("total wins are")
                                                print(wincounter)
                                                print("total losses are")
                                                print(losscounter)
                                                print("current profit is")
                                                print(profit)
                                                print("Hacking bankroll balace is")
                                                print(b2)
		else
			chance = 25.00
                                                b2 = b2 - previousbet
                                                losscountertwo +=1
   			nextbet = basebet/3.3
                                                print("second loss counter is")
                                                print(losscountertwo)
                                                print("total wins are")
                                                print(wincounter)
                                                print("total losses are")
                                                print(losscounter)
                                                print("current profit is")
                                                print(profit)
                                                print("Hacking bankroll balace is")
                                                print(b2)
		end

if b2 > 8207450.0107110 then  ---(erase this text after but change this setting for your balance)---
b2 = 8187450.0107110          ---(erase this text after but change this setting for your balance)---
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")
print("$$$$$$$$$") print("PROFIT MADE B2 RESETS") print("$$$$$$$$")
end

end
end
    Login or Register
LTDice207:11:2017 14:32
It took 3 hours but thats roughly what you wanted.
    Login or Register
LTDice207:11:2017 14:33
I just realized some conflicting values with the Bankroll hack since I added the reset at the bottom of the script. Ill fix it as fast as possible.
    Login or Register
Tisuwajah07:11:2017 14:54
oh my God, thank you so much for this sir, and i am so sorry i took your time for 3 hour sir >.<

i dunno how i can repay you...
thanks again sir

and can i ask a permission to try and study the Calculated randomness script of yours sir?
:)
    Login or Register
LTDice207:11:2017 15:21
study whatever you like, if its on here its public and free information :) no need to repay me, I am still working on the script added a lot :P

Calculated Randomness isnt that calculated really rough on the numbers just a heads up
    Login or Register
LTDice207:11:2017 15:30
chance = 90
bethigh = true
basebet = b2/81874.500107110
nextbet = b2/81874.500107110
enablesrc = true
rollcount = 7
profittarget= balance+10000000.00000000
wincounter = 0
losscounter = 0
losscountertwo = 0
b2 = 8187450.01047110
bone=0.010
btwo=0.050
sone=1.8
stwo=1.9
b = balance
restcounter = 0
stopprofit = 1
function dobet()

--change seed every 7 bet
if rollcount == 7 then
rollcount = 0
resetseed();
else
rollcount = rollcount + 1
end

if (balance) < (nextbet) then
stop();
print(balance)
print("INSUFFICIENT FUNDS")
end

--bet progression 


	if (balance) >= profittarget then

  
	stop();
  
  
	print(balance)

  
        print("TARGET ACHIEVED!!!")
	print("You Won")
  
	print(profit)

  
	print("for this Session")


end

--Randomizer
r=math.random(10)

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

--Randomly select High/Low
--bethigh = math.random(0,100)%2 == 0

 

	if (win) then
                                
                                prof = (balance - b) * 100 / b
                                bethigh = false
                                losscountertwo = 0
                                wincounter +=1
                                b2 = b2 + (b2 + (profit - b2))
		chance = 90
   		nextbet = b2/81874.500107110
                                print("total wins are")
                                print(wincounter)
                                print("total losses are")
                                print(losscounter)
                                print("current profit is")
                                print('profit='..prof..'%')
                                print(profit)
                                print("Hacking bankroll balace is")
                                print(b2)
	
	else   
		if chance == 25.00  then
                                                
                                                prof = (balance - b) * 100 / b
                                                b2 = (b2 - previousbet)
			nextbet = (previousbet * 1.33738)
                                                losscountertwo +=1
                                                losscounter +=1
                                                print("total wins are")
                                                print(wincounter)
                                                print("total losses are")
                                                print(losscounter)
                                                print("current profit is")
                                                print('profit='..prof..'%')
                                                print(profit)
                                                print("Hacking bankroll balace is")
                                                print(b2)
		else
                                                
                                                prof = (balance - b) * 100 / b
	        		chance = 25.00
                                                b2 = b2 - previousbet
                                                losscountertwo +=1
                                                losscounter +=1
   			nextbet = basebet/3.3
                                                print("second loss counter is")
                                                print(losscountertwo)
                                                print("total wins are")
                                                print(wincounter)
                                                print("total losses are")
                                                print(losscounter)
                                                print("current profit is")
                                                print('profit='..prof..'%')
                                                print(profit)
                                                print("Hacking bankroll balace is")
                                                print(b2)
		end


             
                
                prof = (balance - b) * 100 / b
	print('profit='..prof..'%')
                print(lostgames)
                print(profit)

	if prof > 0.01 then
		print('[_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯]')
			print('cheers!!!! we increased the balance on '..stopprofit..'%,stop,and you can smoke') 
			print('[_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯]')
			print('............................................................................................')
                                                restcounter +=1
                                                print("total resets are")
                                                print(restcounter)
                                                print("second loss counter is")
                                                print(losscountertwo)
                                                print("total wins are")
                                                print(wincounter)
                                                print("total losses are")
                                                print(losscounter)
                                                print("current profit is")
                                                print('profit='..prof..'%')
                                                print(profit)
                                                print("Hacking bankroll balace is")
                                                print(b2)
                                                b = balance
                                                prof = (balance - b) * 100 / b
                                                wincounter +=1
                                                b2=8187450.0107110
	                                nextbet = b2/81874.500107110
	                                chance = 90.001
		end
		
	if prof <= (1.0 - 2.0) then

                         b = balance
                         prof = (balance - b) * 100 / b
                         restcounter +=1
                         losscountertwo +=1
                         losscounter +=1
                         b2=8187450.0107110
                         nextbet = b2/81874.500107110
                         chance = 90.001
                                                print("total resets are")
                                                print(restcounter)
                                                print("second loss counter is")
                                                print(losscountertwo)
                                                print("total wins are")
                                                print(wincounter)
                                                print("total losses are")
                                                print(losscounter)
                                                print("current profit is")
                                                print('profit='..prof..'%')
                                                print(profit)
                                                print("Hacking bankroll balace is")
                                                print(b2)
end

if b2 > 8207450.0107110 then  
b2 = 8187450.0107110 
end

end
end
    Login or Register
LTDice207:11:2017 15:32
that is the final version of the script you wanted. just adjust all nextbet/b2/dividers/profit reset and the loss reset. you can also change that to a stop function by changing it to.  

if prof <= (1.0 - 2.0) then
stop()
end
    Login or Register
Tisuwajah07:11:2017 15:36
and much much double thank you again good sir :)

i'am gonna study it and try it now until i get to sleepy to hold my eye's open XD
    Login or Register
LTDice207:11:2017 17:05
I am so mad right now, just wrote an epic description with the script and marked everything for people to edit. I guess it took so long to write the post, the website logged me out and when I hit the submit button everything was erased, no chance  to recover what I wrote. Simply brought me back to the scripts list page. Im sorry but I am not doing that again, wasted over half an hour.
    Login or Register
LTDice207:11:2017 18:55
reset glitched out gotta fix it
    Login or Register
Tisuwajah08:11:2017 01:21
is this glich right sir?

prof = (balance - b) * 100 / b
	print('profit='..prof..'%')
                print(lostgames)
                print(profit)

	if prof > 0.01 then
		print('[_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯]')
			print('cheers!!!! we increased the balance on '..stopprofit..'%,stop,and you can smoke') 
			print('[_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯] [_¯$_¯(_¯1_¯)_¯$_¯]')

and this one i think?

if b2 > 8207450.0107110 then  
b2 = 8187450.0107110 
end
    Login or Register
Tisuwajah08:11:2017 07:54
btw sir, what is this variable use for?

bone=0.010
btwo=0.050
sone=1.8
stwo=1.9
    Login or Register
Tisuwajah08:11:2017 01:19
yeah that happen to me almost 2 times to sir

the first time i have to wrote everything all over again

and the second time almos happen again, i click submit and nothing happen, and i said oohhh shit, gonna loss everiting again!!!

so i copy it to notepad then refresh the page.
that double post up there.... that's when it happen XD
    Login or Register
Tisuwajah08:11:2017 07:45
so now everytime i'm posting something, if long, i paste it first to notepad XD
    Login or Register
Tisuwajah08:11:2017 08:36
and it snap to me just now....
is houd have given my email address to you sir...........

if i give it then, maybe we start comunicating via email, and the description wont gone missing (because like, gmail,yahoo ect, because as far is i know, the website dont logged people out in short time.)

my mistake T_T
    Login or Register
Tisuwajah08:11:2017 08:47
and my email is

sedikit2lama2menjadibukit@gmail.com

:)
    Login or Register
LTDice208:11:2017 23:14
I sent a group email to bunch of people. I wrote a new script, testing and found an error but it doesn't seem to be in my code. The counters get picked up but the bet reset does not get implamented. So then I decided to throw it literally everywhere in the script, every counter gets picked up but still the nextbet does not get reset. Which is funny because it will return to basebet within other parts of the script where it is written. I dont know if this my writing or not, my maxloss is set to previousbet >= 1400

https://postimg.org/image/9jee3tam2j/
    Login or Register
vinceuk01:12:2019 01:54
i get the same error and i'm struggling to find the solution.. how did you solve it?
    Login or Register