Jump to content
MakeWebGames

Leaderboard

Popular Content

Showing content with the highest reputation on 01/07/2021 in all areas

  1. Not quiet sure what you're on about sim? In his screen shot he has clearly circled the "crime" timer in the header? and the question was to make that go red when crimes are committed. Which my fix does. So with my code, it will update the new "crime-{id}" timers as usual but will also update the original "crime" timer that is set in header, ASLONG as the crime cooldown + current time is higher than currently set "crime" timer (I'm crap at explaining xD) Basically say you did a crime with a 45 second timer.. then immediately after committed a crime that is 25 seconds long th
    2 points
  2. Ill post an updated fix for people later, im also chnaging the module a bit so you can have several crimes use the same timer. i.e. Crimes 1, 2, 4 and 6 share the same timer. if you do any of these they wioll stop you doing the others. But you can still do crimes 3 and 5. This allows you to have different types of crimes.
    2 points
  3. Thank you @forumdime for the easy, very civilised and pleasant sale of your web property, its appreciated. 😀
    1 point
  4. @BeNiiiBoiii dunno why i posted that, was super tired. Lol... I said same thing.
    1 point
  5. After looking at benniboiis response that is probably more efficient then what i did before.
    1 point
  6. This fix will do it for now thanks 😄 Lets wait for the update from Dayo 🤩
    1 point
  7. This pretty much solved the problem, thanks mate 🙂 Only problem now is that all crimes have to be ready before its "green". Possible to change it so its green if 1 of the crimes are ready? Looking forward to it 🙂
    1 point
  8. Inside crimes.inc line 56 change to else { then below line 139 add if ($crimeInfo->C_cooldown + time() > $this->user->getTimer('crime')) { $this->user->updateTimer('crime', $crimeInfo->C_cooldown, true); } Hope this helps.
    1 point
  9. This is my development setup. PC - Acer Aspire A515-54 I have 2 USB monitor adapters. I use my TV as a monitor. Using a cheap table from Walmart, with my monitors mounted for more table space 🙂 Its a little less than $1000 setup and gets the job done. (Might even be overkill lmao) All I need now is to manage all those cables like Dayo 😛
    1 point
  10. That green bar is not for timers. As u can see your timers are res. That green bar is your % chance of committing that crime if im not mistaken, and the more you commit a certain crime, the higher it goes. We both looked at wrong spot. He circled it in picture. Its in header The problem is, i never see the crime timer updated. Only individual crime timers, so $this->user->updateTimer('crime-' . $id, $crimeInfo->C_cooldown, true); Im crimes.inc.php needs to.be something like this: $this->user->updateTimer('crime-' . $id, $crimeInfo->C_cooldown, true);
    0 points
×
×
  • Create New...