Jump to content
MakeWebGames

Recommended Posts

Posted

I'm looking for someone to help me fix an issue with my hospital and jail both always showing 0 players whether empty or not. Paying by paypal. Thanks

Posted
I'm looking for someone to help me fix an issue with my hospital and jail both always showing 0 players whether empty or not. Paying by paypal. Thanks

I had the same problem. I finally figured out that the crons needed to be running to show the people in the jail or hospital. Are your crons running?

Posted
Every v2 release has had the crons update hospital/jail count since otherwise it wasted 2 queries every page. Making sure they're on will solve any such problem

No it wouldnt if you did it correctly.

Posted
No it wouldnt if you did it correctly.

Do elaborate if you wish here or in a PM; i see a way to make it 1 query per pageload for the both but no more efficient than that without *some* form of cache, or updating a count every time someone enters/leaves one of the two.

Posted

I don't think you understand the concept of "Caching".

Also, if your game has 1000 active user's, theres no need for a number to be displayed in any case. As you'll always know there WILL be some one in the hospital or jail. To me, having a counter next to the jail or hospital is for small games.

Posted

My 1 minute cron isn't running, when I manually run it I get this error message on the page

Critical Error

A critical error has occurred, and this page cannot be displayed. Please try again later.

Query failed.

Any help would be much appreciated

Posted

The v2.0.4 cron_minute file has a small bug in it causing this issue.

It will be fixed in a future patch but here's the immediate fix:

Open the file, and replace every time it has GREATER (there should be 2) with GREATEST.

Save and it should work.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...