PDA

View Full Version : Stock Market Script for Sale.


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 ^^

Kael
11-18-2007, 04:40 PM
How much are you expecting to get?

Laska
11-18-2007, 05:06 PM
Well nobody has made any bids yet.. So nothing i guess XD

Kilza
11-30-2007, 11:18 PM
you might want to show an example of it running

cyopets
01-09-2008, 01:10 AM
If I can see it working and its not running all funky I will bid.

stuffradio
01-09-2008, 02:06 AM
This was from November... how do we know she is still selling?