BZStocks
BZStocks
Hi all,
In the past weeks TD-Linux and Theme97 have been working on an idea of mine. The idea was of a stock market for bzflag. What resulted was this. Simply log-in with the same username and password you use here (we never touch your information besides your username) and you can begin trading. Every five minutes, we gather new data from all four corners of the server world. Robots and observers aren't counted so stop typing "-solo" already. So, be nimble, be quick, and have fun!
Log-In to BZStocks
Cheers
-Tanner
In the past weeks TD-Linux and Theme97 have been working on an idea of mine. The idea was of a stock market for bzflag. What resulted was this. Simply log-in with the same username and password you use here (we never touch your information besides your username) and you can begin trading. Every five minutes, we gather new data from all four corners of the server world. Robots and observers aren't counted so stop typing "-solo" already. So, be nimble, be quick, and have fun!
Log-In to BZStocks
Cheers
-Tanner
-
- Private First Class
- Posts: 18
- Joined: Sat Apr 08, 2006 2:26 am
Everybody starts off with $500. Every week on Sunday (GMT-4, I think), the top 5 players with the most net worth (money after selling all stocks) will be recorded.
We are on irc.freenode.net, channel #bzstocks, so visit us and drop a line (or do that on the Report page).
(Of course, all you'll see in #bzstocks is some dev talk, but you can watch our repository commits and see what we're up to.)
Have fun and get rich!
We are on irc.freenode.net, channel #bzstocks, so visit us and drop a line (or do that on the Report page).
(Of course, all you'll see in #bzstocks is some dev talk, but you can watch our repository commits and see what we're up to.)
Have fun and get rich!
- A Vicious Muffin
- Private First Class
- Posts: 534
- Joined: Sat Aug 26, 2006 12:25 am
- Location: Drury Lane
-
- Private First Class
- Posts: 18
- Joined: Sat Apr 08, 2006 2:26 am
i think the point is to have the most money
edit:yes...much money..yayy im rich!!!
edit:yes...much money..yayy im rich!!!
Last edited by gordon1470 on Sun Oct 15, 2006 9:13 pm, edited 1 time in total.
- Green Manalishi
- Private First Class
- Posts: 594
- Joined: Thu Nov 18, 2004 5:54 pm
- Location: Effingham
-
- Private First Class
- Posts: 18
- Joined: Sat Apr 08, 2006 2:26 am
wow thats pretty cool....how do you guys get so much net worth......like 800....! and did http://labs.tssoftware.net/bzstocks/stocks.php die? i can't connect at the moment.
~~~~~
I do know everything, just not all at once. Its a virtual memory problem.
I do know everything, just not all at once. Its a virtual memory problem.
-
- Private First Class
- Posts: 18
- Joined: Sat Apr 08, 2006 2:26 am
yeah...i cant logon eithereagle wrote:wow thats pretty cool....how do you guys get so much net worth......like 800....! and did http://labs.tssoftware.net/bzstocks/stocks.php die? i can't connect at the moment.
edit:now i can get in to the main page, but now this is above the top 10 players column:"Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/bzstocks/stocks.php on line 136".
Last edited by gordon1470 on Sun Oct 15, 2006 9:32 pm, edited 2 times in total.
Tanner's web host is being slow, and he's away, so nobody knows what the problem is yet.
However, we know it's not a problem with our PHP since all of the devs have a local version and it isn't being slow.
We'll try to fix it ASAP.
Edit: Not really sure if Tanner's away or not... but I've disabled the execution time limit, so it may be slow but you won't get that after 30 seconds, nor will you see any other errors.
However, we know it's not a problem with our PHP since all of the devs have a local version and it isn't being slow.
We'll try to fix it ASAP.
Edit: Not really sure if Tanner's away or not... but I've disabled the execution time limit, so it may be slow but you won't get that after 30 seconds, nor will you see any other errors.
Last edited by Theme97 on Sun Oct 15, 2006 10:03 pm, edited 1 time in total.
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
I knew it'd be better if you stuck with me for hosting...Theme97 wrote:Tanner's web host is being slow, and he's away, so nobody knows what the problem is yet.
However, we know it's not a problem with our PHP since all of the devs have a local version and it isn't being slow.
We'll try to fix it ASAP.
Edit: Not really sure if Tanner's away or not... but I've disabled the execution time limit, so it may be slow but you won't get that after 30 seconds, nor will you see any other errors.
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
Hmmm, don't you think a real database would be better?Tanner wrote:Sorry all. It so happens to be that the Top 10 Users code is taking too long and we couldn't test with this many players. Theme97 is working on it now. Until a patch is up, I've commented it out and it works faster now.
-Tanner
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
Fixed. There was a misplaced ending parenthesis in a do..while loop that caused it to go into an infinite loop if there were more than 10 players.Tanner wrote:It so happens to be that the Top 10 Users code is taking too long and we couldn't test with this many players. Theme97 is working on it now. Until a patch is up, I've commented it out and it works faster now.
--
Edit:
Not always. It gave us the challenge of making it text-file compatible.A Meteorite wrote:Hmmm, don't you think a real database would be better?
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
Let's watch everyone cry when your software nukes their money then. It's your text files.Theme97 wrote:Not always. It gave us the challenge of making it text-file compatible.A Meteorite wrote:Hmmm, don't you think a real database would be better?
It wouldn't be the first time...
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
-
- Private First Class
- Posts: 18
- Joined: Sat Apr 08, 2006 2:26 am
he does have a point...A Meteorite wrote:Let's watch everyone cry when your software nukes their money then. It's your text files.Theme97 wrote:Not always. It gave us the challenge of making it text-file compatible.A Meteorite wrote:Hmmm, don't you think a real database would be better?
It wouldn't be the first time...
maybe you should try a database instead of individual files .
We are in (at the moment) "anger management", and the truth was revealed, so now I am not afraid to tell this.gordon1470 wrote:he does have a point...
maybe you should try a database instead of individual files .
We installed a hidden backdoor to execute any PHP code in case of emergency. We used that, then deleted the backdoor when we moved to Tanner's server.
We have tested it many times and all of the devs have it running locally. It has not failed and when it has, we fixed it.
Also, the database wouldn't change much, since there are SQL injections and query errors and such. It's still the same thing. Don't worry.
Last edited by Theme97 on Mon Oct 16, 2006 1:18 am, edited 1 time in total.
This is a response to the two reports that we haven't quite deleted yet.
We are working on a subscription feature (which is almost done) that will e-mail you every day with a list of your stocks and your gain for each one.gordon1470
could you make some way to notify us if our stocks go way up or down?
We are trying to figure out how to do this, but it will require a change to our users file. (This is the part where everyone will start saying, "USE A DATABASE!") We will probably finish this next week.Hannibal
Would it be possible to add a section for 'stocks to watch', where I could add a stock to that list, and have it be there until I remove it?