SMF Shop

SMFShop => Items => Topic started by: thubab2 on December 31, 2010, 05:05:55 pm

Title: Fluxuating Prices
Post by: thubab2 on December 31, 2010, 05:05:55 pm
A good bit of code would to increase or decrease the price of an item based on popularity and rarity. If someone buys an item the price slowly goes up. Maybe add some code that if it has been awhile since the last purchase once someone buys the item the price goes down. Or just add a cron job that checks all the items and changes values based on item activity. Once items get closer and closer to 1 they go up significantly.

I guess along the same manor you could do stocks. people can buy stocks and create a php that is called in a cron job that gives random stocks money.

Just some ideas.
_________

neon lighting (http://store.everything-neon.com)
La Jolla Shores Beach Hotel La Jolla Ca. Packages and Rate Specials (http://hotels.socalbeachmag.net/2219_hotel-info_h140.html)