Laska
11-18-2007, 05:11 AM
It's basically a replica of Neopets stock market (including the drop down things on the portfolio), but can easily be changed. Included is are two perl scripts for cron jobs to make it all automated.
Will cost a little bit more extra if you want it implemented onto your server. (Setting it up basically.. making the tables, changing the variables in the script to use your users table, etc).
It's all done and has been tested on a private pet server of about 120 users.
If you want the only copy (I'll take it off my private pet server and won't distribute it to anyone else), then it will cost a bit extra.
Sample Perl Snippet
while (@row = $gettickers->fetchrow_array) {
($ticker, $now) = @row;
$closestock->execute($now,$ticker);
Sample PHP Snippets
$qty=mysql_result($result2,$i,"qty");
if($ticker!=$storedticker){
$queryl="SELECT * FROM stocks WHERE ticker='$ticker'";
Post, PM or IM me offers or any questions you might have ^^
Will cost a little bit more extra if you want it implemented onto your server. (Setting it up basically.. making the tables, changing the variables in the script to use your users table, etc).
It's all done and has been tested on a private pet server of about 120 users.
If you want the only copy (I'll take it off my private pet server and won't distribute it to anyone else), then it will cost a bit extra.
Sample Perl Snippet
while (@row = $gettickers->fetchrow_array) {
($ticker, $now) = @row;
$closestock->execute($now,$ticker);
Sample PHP Snippets
$qty=mysql_result($result2,$i,"qty");
if($ticker!=$storedticker){
$queryl="SELECT * FROM stocks WHERE ticker='$ticker'";
Post, PM or IM me offers or any questions you might have ^^