Bitcoin Forum
June 22, 2024, 02:41:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Off-topic / Re: Any ideea? on: December 04, 2016, 08:49:51 AM
Yes, you are right, but i don't know where to put it
2  Other / Off-topic / Any ideea? on: December 03, 2016, 11:27:30 PM
Hey, i'm new on codeing and i am stuck
I have a code in bash and i want to make it to increment or decrement, but i can t make it right
When i run the script, it\s workin' but increments only 1 number
Exemple:
1
1
1
1


This is the code

Code:
#!/bin/bash#
#Alchimie Fibonacci




nrstreak=0
bet=0.00000000




id=$1




echo "BET $bet"
won=`./bet 0.1 49 "<"`




############# CURRENTSTREAK #######################
if [ "$won" == "true" ] && [ "$nrstreak" -ge 0 ];
then
((nrstreak++))
echo "WON! +++"
elif [ "$won" == "true" ] && [ "$nrstreak" -lt 0 ];
then
echo "WON!"
fi






if [[ "$won" == "false" && "$nrstreak" -le 0 ]];
then
((nrstreak--))
echo "LOSE! ---"
elif [[ "$won" == "false" && "$nrstreak" -gt 0 ]];
then
echo "LOSE!"
fi
####################################################




echo "Nr_Streak = $nrstreak"


echo "---------------------------"
sleep 0.5



This in the result

Code:
BET 0.1
LOSE!
Nr_Streak = -1
---------------------------
BET 0.1
LOSE!
Nr_Streak = -1
---------------------------
BET 0.1
WON!
Nr_Streak = 1
---------------------------
BET 0.1
WON!
Nr_Streak = 1
---------------------------








Thank you, please excuse my bad english.
3  Economy / Gambling / Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! on: November 30, 2016, 09:34:49 AM



Your issues seems to be unrelated.


I don't know what to say, i tried the same settings on different computers, different windows.
And yes, i don't have any other programs running to "eat" my Rams...
I think i m paranoic.... the PD, blocking me  Huh Huh Huh
4  Economy / Gambling / Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! on: November 30, 2016, 09:02:07 AM
Please help, after 11 hours of running the bot is Not responding and force to close.
try renaming the dicebot.db file while the bot is closed and see if that helps

i tried to rename de .db , it's always the same error...and stuck




and this is the content of error:


Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.TimeZoneInfo.GetDaylightTime(Int32 year, AdjustmentRule rule)
   at System.TimeZoneInfo.GetIsDaylightSavingsFromUtc(DateTime time, Int32 Year, TimeSpan utc, AdjustmentRule rule, Boolean& isAmbiguousLocalDst, TimeZoneInfo zone)
   at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc(DateTime time, Boolean& isAmbiguousLocalDst)
   at System.DateTime.get_Now()
   at DiceBot.cDiceBot.tmBetting_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DiceBot
    Assembly Version: 3.2.3.0
    Win32 Version: 3.2.3.0
    CodeBase: file[Suspicious link removed]
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SharpLua
    Assembly Version: 2.0.4696.34005
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Users/wpuser05/Desktop/DiceBot-3.2.4/SharpLua.DLL
----------------------------------------
System.Windows.Forms.DataVisualization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.94.0
    Win32 Version: 1.0.94.0
    CodeBase: file:///C:/Users/wpuser05/Desktop/DiceBot-3.2.4/System.Data.SQLite.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
PresentationCore
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

5  Economy / Gambling / Re: Primedice Python Bot on: November 30, 2016, 01:23:05 AM
hello,
How can i implement the QR Code because im getting this error  "Unauthorized", and im sure 100% is from that QR Code Security..
And another question is : i have a my own strategy that I have been using on primedice , how can i add to this python code?


thanks
6  Economy / Gambling / Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! on: November 29, 2016, 11:40:45 PM
Hey,

Please help, after 11 hours of running the bot is Not responding and force to close.
7  Economy / Gambling discussion / Re: Script error? Please help! on: November 27, 2016, 06:08:01 PM
anybody? Cry
8  Economy / Gambling discussion / Script error? Please help! on: November 27, 2016, 05:36:57 PM
I have an issue with a script, when is on 24-26 bet hand, the dice bot remain stuck for 5 minutes after gives me the error from picture




This is the script:
Code:
chance1=18
chance2=21
chance3=24
chance4=28
chance5=37
chance6=45
chance7=48
base=0.00000000
nextbet=base
contorserie=0
samanta=0
lowsauhigh=0
lowhighRANDOM=1

function fibonacci(n)
    if n<3 then
        return 1
    else
        return fibonacci(n-1) + fibonacci(n-2)
    end
end


function dobet()

samanta=math.random(1,8)

if lowhighRANDOM==1 then
lowsauhigh=math.random(0,1)
if lowsauhigh==0 then
bethigh=false
else
bethigh=true
end
else
bethigh=true
end



-- A castigat! Reseteaza contorserie, nextbet si seriemartingale
if (win and currentstreak==1) and (contorserie>0 and previousbet>0) then
nextbet=base
contorserie=0
chance=math.random(chance1,chance2)
end


--  CICLU NORMAL
-- ----------------------------

-- A pierdut. Mareste pariul
if (win==false and currentstreak==-3) and contorserie<=10 then
nextbet=fibonacci(contorserie)/100000000
end

--  Au venit doua rosii. Mareste contorserie si fa urmatorul BET la cat a ajuns seriemartingale
if win==false and currentstreak==-2 and contorserie<=10 then
contorserie=contorserie+1
chance=math.random(chance1,chance2)
nextbet=fibonacci(contorserie)/100000000
end

-- ----------------------------


--  CICLU DE URGENTA 1
-- ----------------------------

-- A pierdut. Mareste pariul
if win==false and currentstreak==-3 and (contorserie>10 and contorserie<=15) then
nextbet=fibonacci(contorserie)/100000000
end

--  Au venit doua rosii. Mareste contorserie si fa urmatorul BET la cat a ajuns seriemartingale
if win==false and currentstreak==-2 and (contorserie>10 and contorserie<=15) then
contorserie=contorserie+1
chance=math.random(chance2,chance3)
nextbet=fibonacci(contorserie)/100000000
end

-- ----------------------------


--  CICLU DE URGENTA 2
-- ----------------------------

-- A pierdut. Mareste pariul
if win==false and currentstreak==-3 and (contorserie>15 and contorserie<=22) then
nextbet=fibonacci(contorserie)/100000000
end

--  Au venit doua rosii. Mareste contorserie si fa urmatorul BET la cat a ajuns seriemartingale
if win==false and currentstreak==-2 and (contorserie>15 and contorserie<=22) then
contorserie=contorserie+1
chance=math.random(chance3,chance4)
nextbet=fibonacci(contorserie)/100000000
end

-- ----------------------------

--  CICLU DE URGENTA 3
-- ----------------------------

-- A pierdut. Mareste pariul
if win==false and currentstreak==-3 and (contorserie>22 and contorserie<=27) then
nextbet=fibonacci(contorserie)/100000000
end

--  Au venit doua rosii. Mareste contorserie si fa urmatorul BET la cat a ajuns seriemartingale
if win==false and currentstreak==-2 and (contorserie>22 and contorserie<=27) then
contorserie=contorserie+1
chance=math.random(chance4,chance5)
nextbet=fibonacci(contorserie)/100000000
end

-- ----------------------------

--  CICLU DE URGENTA 4
-- ----------------------------

-- A pierdut. Mareste pariul
if win==false and currentstreak==-3 and (contorserie>27 and contorserie<=30) then
nextbet=fibonacci(contorserie)/100000000
end

--  Au venit doua rosii. Mareste contorserie si fa urmatorul BET la cat a ajuns seriemartingale
if win==false and currentstreak==-2 and (contorserie>27 and contorserie<=30) then
contorserie=contorserie+1
chance=math.random(chance6,chance7)
nextbet=fibonacci(contorserie)/100000000
end

-- ----------------------------





-- Pica RED dar secventa nu e de DOUA
if (win==false and currentstreak>-2) or (win==false and currentstreak<-2) then
nextbet=base
chance=math.random(chance1,chance2)
end


if samanta==3 then
resetseed()
end

end






Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!