Bitcoin Forum
May 05, 2024, 05:25:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 »
1  Economy / Trading Discussion / Re: PHP martingale bot for satoshiDICE on: January 26, 2013, 01:55:29 PM
This is the best way to go bankrupt!

;(
2  Other / Beginners & Help / Re: Favorite Class In Diablo 3? on: September 15, 2012, 09:35:46 AM
I guess you havent played inferno at ohhhhh act 3!
the wizard, you can solo so much with it and kite endlessly if you play it right <3
3  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 14, 2012, 11:31:58 AM
Hi, I lost my labels again! This time I didn't do anything out of place and I don't see any error messages.....
4  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 12, 2012, 11:40:06 AM
I don't see any electrum.dat files, just electrum files. i deleted everything and the shadow window still comes up. Somehow, it remembers my wallet transaction details??? I thought I deleted everything...
5  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 11, 2012, 07:58:27 PM
I did see this message though in the console (electrum still works though)...

Python 2.7.3 (default, Apr 10 2012, 23:31:26)

Type "electrum -help" for a list of available commands.
(Full documentation at https://en.bitcoin.it/wiki/Electrum)
---

11/09/2012 10:00:24.56> e
Install zbar package to enable QR scans
Connected to electrum.bitcoins.sk:50001
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Users\Sovereign108\AppData\Roaming\Electrum_SysFiles\1.01-g2\C_\Pyt
hon27\lib\threading.py", line 551, in __bootstrap_inner
    self.run()
  File "C:\Users\Sovereign108\AppData\Roaming\Electrum_SysFiles\1.01-g2\C_\Ele
ctrumPY\lib\interface.py", line 426, in run
    self.handle_response(response)
  File "C:\Users\Sovereign108\AppData\Roaming\Electrum_SysFiles\1.01-g2\C_\Ele
ctrumPY\lib\interface.py", line 376, in handle_response
    self.wallet.receive_history_callback(addr, result)
  File "C:\Users\Sovereign108\AppData\Roaming\Electrum_SysFiles\1.01-g2\C_\Ele
ctrumPY\lib\wallet.py", line 865, in receive_history_callback
    self.save()
  File "C:\Users\Sovereign108\AppData\Roaming\Electrum_SysFiles\1.01-g2\C_\Ele
ctrumPY\lib\wallet.py", line 670, in save
    f = open(self.path,"w")
IOError: [Errno 22] invalid mode ('w') or filename: 'C:\\Users\\Sovereign108\\
AppData\\Local\\Electrum\\electrum.dat'

Disconnected.
Poking
6  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 11, 2012, 09:10:47 AM
Didn't do anything Just a restart from a BSOD, and a couple of times closing and opening electrum for various reason.....
HI, I've got another issue with electrum! basically, all of my receive address labels have vanished! Are they supposed to be saved or what?

Address Labels and other preferences are saved in the wallet (electrum.dat) file. Can you give more details as to what happened?   Did you try to edit, move or delete  the wallet file?
7  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 10, 2012, 04:04:38 PM
HI, I've got another issue with electrum! basically, all of my receive address labels have vanished! Are they supposed to be saved or what?
8  Other / MultiBit / Re: MultiBit on: September 08, 2012, 11:48:20 AM
Oh, I understand now. It just sort of points to a silver standard at first! Its ok though!!!!

Hi Sovereign108,

That is quite an observant comment - originally (in the very first release)  it WAS the gold Bitcoin icon. But then I could not tell the difference between the MultiBit I had running and the Satoshi client. Both looked the same in my dock on my Mac.

So I opened it up with Seashore (graphics app). Made it monochrome and fiddled around with the contrast and thought - yeah that will do.

Now of course it is in every installed MultiBit, on the website, twitter account, in the send confirmation dialog etc. Apparently with anything 'iconic' or brand related it is better just to leave well alone and not change things (unless absolutely necessary).

:-)
9  Other / MultiBit / Re: MultiBit on: September 08, 2012, 10:24:08 AM
Multibit's great, but surely the icon should be a nice gold colour! Tongue Just an opinion...
10  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 07, 2012, 09:11:02 PM
Well, it just happened once after startup without me loading the console. After it loaded once, that shadow window doesn't come up again console or not. The shadow remains after I quit electrum and I have no idea how to get rid of it!
.....but loading electrum still leaves that halo of a shadow for a small window. I posted a screenshot some time ago. What could be causing that?

Now gonna google python vs ruby Smiley Love those showdowns...

 
No other users reported this "shadow window" issue on Windows 7 (both 32 and 64bit), so it's pretty strange...

Does it also happen when you type "e"?
And are you able to close it somehow or do you have to kill the process?
11  Economy / Trading Discussion / Re: PHP martingale bot for satoshiDICE on: September 07, 2012, 08:58:17 PM
Yea! You have better chance with the stock markets with Apple Cheesy
12  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 07, 2012, 08:55:17 PM
.....but loading electrum still leaves that halo of a shadow for a small window. I posted a screenshot some time ago. What could be causing that?

Now gonna google python vs ruby Smiley Love those showdowns...
13  Economy / Trading Discussion / Re: PHP martingale bot for satoshiDICE on: September 07, 2012, 07:54:36 PM
Ok, I might as well post a modified php script. Its based on this strategy to make it safer to not loose too much btcs. I just hard coded the values for 8x betting to be used for the bets that the R script outputted (check out that link).

Lol I got broke twice now, not playing satoshidice anymore or any other game for that matter :-0

The btcs were increasing, but every so often the house would turn against me, thats the time to give yourself a short break lol

Code:
<?php
require_once('jsonRPCClient.php');
/** BITCOIN **/
$btcu = array("user" => "BitcoinRPC",             // RPC Username
            
"pass" =>   "password",               // RPC Password
            
"host" =>   "127.0.0.1",      // RPC Hostname/IP
            
"port" =>   9332);            // RPC Port
$b = new jsonRPCClient("http://{$btcu['user']}:{$btcu['pass']}@{$btcu['host']}:{$btcu['port']}");

define('MIN_BET'0.05);
define('MAX_BET'2.519995);
define('ADDRESS''1dice6YgEVBf88erBFra9BHf6ZMoyvG88');

$bet_8x=array(0.010562,0.012070,0.013795,0.015765,0.018018,0.020592,0.023533,0.026895,0.030737,0.035128,0.040147,0.045882,0.052436,0.059927,0.068488,0.078272,0.089454,0.102233,0.116838,0.133529,0.152605,0.174406,0.199321,0.227795,0.260337,0.297528,0.340033,0.388609,0.444124,0.507570,0.580081,0.662949,0.757656,0.865893,0.989592,1.130962,1.292528,1.477175,1.688200,1.929371,2.204996,2.519995,2.879994,3.291422);

$total_fees 0;
$count 0;
$count_won 0;
$current_bet_index=0;
$bet $bet_8x[0];
$total_lost=0;
while ((
$bet <= MAX_BET) && ($count_won 200))
{
        
$balance_a $b->getbalance('*'0);
        if (!isset(
$starting_balance)) $starting_balance $balance_a;
        if(
$b->getbalance('*'1) < $bet) { // If we don't have enough confirmed bitcoins to send to satoshi dice...
            
echo "Waiting for confirmed balance";
            while(
$b->getbalance('*'1) < $bet
            {
                echo 
".";
                
sleep(60); // Wait a full minute before checking the balance again.
            
}
            echo 
"\n";
        }
    
try // Wrapped in a try catch block just incase we run out of cash.
        
{
            
$b->sendtoaddress(ADDRESS, (float) $bet);
    
}
        catch(
Exception $e
        {
            echo 
"Have: " $b->getbalance('*'1) . " Needed: " $bet "\n";
    
die("Ran out of money?\n");
    
}
        
$balance_b $b->getbalance('*'0);
        
$count++;
        
$fee $balance_a $balance_b $bet;
        
$total_fees += $fee;
        
$total_fees number_format($total_fees,8,'.','')+0;

        echo 
'Game #'.$count."---------------------------------------------\n";
        echo 
"\n".'Balance:                ' $balance_a."";
        echo 
"\n".'Bet Amount Sent:        -'$bet."";
        echo 
"\n".'Fee:                    -'. (number_format($fee8'.''') +0) . "";
        echo 
"\n".'Total Fees:             -'$total_fees"";
        echo 
"\n".'Balance after bet sent: ' $balance_b "       ".'Waiting';

        
$balance_c 0;

        while (
$balance_b >= $balance_c)
        {
        sleep(4);
$balance_c $b -> getbalance('*'0);
echo '.';
        }

        echo 
"\nNew Balance:            $balance_c";

        
$diff $balance_c $balance_b;

        if (
$diff $bet)
        {
                
$bet $bet_8x[0];
                
$current_bet_index=0;
                
$count_won++;
                echo 
"\n*****Win!*****           (Won $count_won out of $count games)";
                echo 
"\nTotal lost:             ".$total_lost."";
                echo 
"\nProfit made:            ".$diff."";
                
$net_profit=$diff-$total_lost;
                echo 
"\n"."Net profit:             ".$net_profit."\n";
                
$total_lost=0;
        }
        else
        {
                echo 
"\n".'_____Lose!_____'."";
                
$total_lost += $balance_a-$balance_c;
                echo 
"\nTotal lost:             ".$total_lost."\n";
                
$bet $bet_8x[$current_bet_index++];
        }

        echo 
"\n";
}

echo 
'Starting Balance: '.$starting_balance."\n";
echo 
'Ending Balance: '$balance_c."\n";
echo 
'Total Fees: '$total_fees."\n";
$amt_won $balance_c $starting_balance;
echo 
'Net Profit: '. (number_format($amt_won,8,'.','') + 0). "\n\n";
?>

14  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 07, 2012, 07:35:57 PM
Yea, that worked like a charm Wink thanks for your efforts! I still hate Python though!!!

Electrum is a great lightweight client

Sorry to be the bearer of bad news but it doesn't work! It does work via the Python cmd console though, I just type e and thats it! using python 27.

Just curious, does electrum work with python 32?
@Sovereign108:

How does this build work out for you?

Hopefully this should fix the startup problem that you've experienced.

OK, we're almost there... What about this one?

As for Python 3.2, I don't know if Electrum runs on it, but the 2.7 branch is usually considered more stable for mission-critical applications (for now) and still has more libraries available anyway. Also, it is still being officially updated.
15  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 07, 2012, 07:08:45 PM
Sorry to be the bearer of bad news but it doesn't work! It does work via the Python cmd console though, I just type e and thats it! using python 27.

Just curious, does electrum work with python 32?
@Sovereign108:

How does this build work out for you?

Hopefully this should fix the startup problem that you've experienced.
16  Bitcoin / Electrum / Re: [ANNOUNCE] Electrum - a new thin client on: September 07, 2012, 05:13:46 PM
Hi, am  correct to assume that electrum can't run with Python32? Just am stuck in the python dependency hell in windows an am beginning to hate Python! ;( flatfly has been helpful with his windows port however Smiley
17  Economy / Trading Discussion / Re: PHP martingale bot for satoshiDICE on: September 06, 2012, 08:56:16 PM
Its quite easy to recover 1BTC. The amounts are small only for the first few bets. I try not to do the >2 BTC bets though, thats dangerous territory as it can spiral out of control - it did once for me Sad.
Its like, I won 16 games out of 111 games total for this round and I haven't lost any BTCs! hahaha

I imagine that a loss of close to 1 BTC tho.. makes it very hard to recover from that?
What i mean is that it would take a lot of wins at a small amount to recover that 1 BTC and
get back on the plus side?
18  Economy / Trading Discussion / Re: PHP martingale bot for satoshiDICE on: September 06, 2012, 08:24:11 PM
Its like, I won 16 games out of 111 games total for this round and I haven't lost any BTCs! hahaha
19  Economy / Trading Discussion / Re: PHP martingale bot for satoshiDICE on: September 06, 2012, 07:22:28 PM
I modified the PHP script to conform to the formulas listed on this forum page. It's supposed to be safer lol. All I did is pushed the numbers from what the R script generated and put it into an array and point the bet variable to that array Smiley. LOL I'll post my script eventually, just testing it atm Tongue

I haven't had any losses for a day tbh. All that happens is a see saw action on my balance but it eventually goes up. My cut off point is just over 1 BTC cos after that the numbers increase exponentially more. My win rate is consistent with the game I am playing 12% at 8x the bet - the statistics I get are surprising similar to the chance of winning a bet. It really is fair!

I have like 36 bets before the cut off point of 1BTC and there always is 1 win Smiley

Well.....forget Powershell, I am using PHP now which I modified and boy is my Bitcoins increasing Smiley

can you explain what initial bet you are making and any other info like most losses in a row or what
have you?
20  Bitcoin / Electrum / Re: Minimal Electrum builds for Windows XP & 7 on: September 06, 2012, 09:18:26 AM
Why not just standardize it, it can only remove incompatibilities? Also, I tried removing the environment variables where python was present and that didn't go too well!

Hey, this finally worked! Electrum is definitely fast and simple, I like the brain wallet thing and the fact that the wallet is in the cloud.

So I hope I don't have to always start electrum via Python Console?

Also, its called a compact build. Does that mean some features were trimmed off?

Also try these commands:

set PythonHome=
set PythonPath=


and then:

e




Great news!

I will try to make another build that fixes this issue for you (within the next few days).
In the meantime, I guess it should work if you just clear the PYTHONPATH and PYTHONHOME
 environment variables in your Windows settings.

This build is compact in the sense that it only includes essential Electrum files and dependencies,
anything extra (add-on scripts, scanning module, etc) are not included to keep the package small
and fast. If you want to experiment with all the extras, you will need to install it from source, at this time.

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