![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2008
Posts: 16
Rep Power: 0
![]() |
PHP browser game resource question
How could i make a php browser game add resources on to every player per minute or hour.
So if they had money as a resource. how could i make it so that every hour they get 5 more money or something like that. Thank you Apophis. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
Re: PHP browser game resource question
In general, there are two ways to do this:
Picking your weapon will completely depend on the server you're running, your long term plans for the project, and the amount of time and effort you want to commit. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Apr 2008
Posts: 16
Rep Power: 0
![]() |
Re: PHP browser game resource question
A cron job sounds the best but how could i set one up?
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() |
Re: PHP browser game resource question
You will have to check your hosting plan's FAQ or talk to customer support. If they are a good hosting service, they should give you some from of cron setup in your control panel. If you're on a $3/month plan, then it's not so likely.
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Apr 2008
Posts: 16
Rep Power: 0
![]() |
Re: PHP browser game resource question
Thank you- i have now set one up
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| installing php (beginners question) | spekkio7 | PHP | 4 | Jan 11th, 2008 10:06 AM |
| Hardware hacking question - Game ports | mackenga | Coder's Corner Lounge | 1 | Jun 11th, 2007 11:37 AM |
| Multiplayer Game Question | Duck | Existing Project Development | 7 | Jan 2nd, 2007 12:19 PM |
| Conflict Online (Browser Game) | JavaMan | Existing Project Development | 7 | Apr 28th, 2006 12:02 PM |
| Game Development question | n3o_X | Coder's Corner Lounge | 0 | Aug 5th, 2005 11:57 PM |