3 Replies - 490 Views - Last Post: 26 June 2009 - 03:50 PM Rate Topic: -----

#1 konk353535  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 165
  • Joined: 04-December 08

Texted Based ORPG (mafia) (jobs help)

Posted 25 June 2009 - 09:19 PM

hello could anyone tell me how they did jobs in there text based ORPG i have been designing one for a while and got to jobs and i went blank

could anyone tell me how they have done it
Is This A Good Question/Topic? 0
  • +

Replies To: Texted Based ORPG (mafia) (jobs help)

#2 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2881
  • View blog
  • Posts: 9,938
  • Joined: 08-August 08

Re: Texted Based ORPG (mafia) (jobs help)

Posted 26 June 2009 - 06:42 AM

Are you receiving any errors? Does this code not work that way you intended it? When asking for help there are a couple items that are vital in order for someone to properly help you:
  • Post the code you're having problems with
  • Post the exact error you're receiving, if you are receiving one
  • If no error explain what the code is doing versus what you want it to do
  • Post your question in the body of your post, not the description field

Was This Post Helpful? 0
  • +
  • -

#3 konk353535  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 165
  • Joined: 04-December 08

Re: Texted Based ORPG (mafia) (jobs help)

Posted 26 June 2009 - 02:12 PM

View PostCTphpnwb, on 26 Jun, 2009 - 05:42 AM, said:

Are you receiving any errors? Does this code not work that way you intended it? When asking for help there are a couple items that are vital in order for someone to properly help you:
  • Post the code you're having problems with
  • Post the exact error you're receiving, if you are receiving one
  • If no error explain what the code is doing versus what you want it to do
  • Post your question in the body of your post, not the description field

ye no bud its not the code or errors i can code alright :) but i dont know how to do it ive done code before like seeing how many days since they logged on and i thought bought using that but then i thought they could get of at midnight get on at 1 and bam they get payed :S or maybe that would work
Was This Post Helpful? 0
  • +
  • -

#4 SilentRoss  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 35
  • Joined: 23-June 09

Re: Texted Based ORPG (mafia) (jobs help)

Posted 26 June 2009 - 03:50 PM

View Postkonk353535, on 25 Jun, 2009 - 08:19 PM, said:

hello could anyone tell me how they did jobs in there text based ORPG i have been designing one for a while and got to jobs and i went blank

could anyone tell me how they have done it


I'm presuming you want it to be 24 hours between each job:

In which case make a countdown field in the user database and when they work make it update the field to 24. Then make a cron which every hour takes away 1 from that field. If the field is set to zero they may work again. If not throw an error in their face :rolleyes:

That's how i'd do it anyway

This post has been edited by SilentRoss: 26 June 2009 - 03:51 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1