Jump to content
MakeWebGames

Dayo

Administrators
  • Posts

    2,491
  • Joined

  • Last visited

  • Days Won

    196

Everything posted by Dayo

  1. Common Question Coming Soon ...
  2. <table> <thead> <tr> <th>User</th> <th>Damage</th> </tr> </thead> <tbody> {#each hits} <tr> <td>{>userName}</td> <td>{damage} Damage</td> </tr> {/each} </tbody> </table> You could do somrthing like this in the tpl.php file
  3. I was looking at about £250 just to cover the mods/theme/a little bit of my time. The crews are a bit different to the paid gang mod that i have, I've also changes most modules just tweaking the UI to make it a bit cleaner.
  4. I started this project a while back but i don't think i will have enough time to finish it. This project has not made any money yet as I've not released it. The project uses Gangster Legends v2 and has several paid and free mods along with a custom theme. I am open to any offers for the code, database and domain. I can provide support installing and any bug fixes.
  5. You need a module.json file see any other module as an example. I’ll add some documentation later You are getting the blank white screen as there is no HTML output in constructModule it’s a bug I’m looking into 🙂
  6. I have a working IPN for sale but for the GL game engine, you should be able to alter the IPN for your game though https://makewebgames.io/files/file/10-buy-points/
  7. Do you provide proof of earnings? $5.3k is alot
  8. I am working on a few edits on the garage that adds a few little features
  9. To cut down on code you could just use if (mt_rand(0, 1)) { //true } else { //false }
  10. This is something that I have made before for another game. It is something that I have thought about adding to the travel page (along with the gang ownership) but never got round to it
      • 5
      • Like
  11. No you need to install the module via the admin panel > Module & themes > Module Manager > Install Module
  12. Im glad you are liking it, hopefully people start to use it more 😄
  13. Within the markey place there is a version control along with a change log so this would be displayed to the user
  14. Yeah using oauth is the way to go, if we ever needed to change the API we would then break it for all games
  15. I have used oauth before when working on a gov.uk api so I could use that code ? Inthink this would be an awesome addition to GL, coukd even have it as a seperate module outside of the core
  16. I could make it so you could install modules from MWG from the GL admin panel
  17. You can have a look at the logic i used for the GLv2 workout module. $secondsBetweenGain = 60; $timer = "statRegen"; $last = $user->getTimer($timer); /* Get the users last action */ $seconds = (time() - $last); $energyPerMinute = 1; $times = floor($seconds / $secondsBetweenGain) * $energyPerMinute; /* calculate how energy you need to add */ if ($times) { $newEnergy = $times + $user->info->US_energy; $maxEnergy = $user->info->US_maxEnergy; if ($newEnergy > $maxEnergy) $newEnergy = $maxEnergy; $newWill = $times + $user->info->US_will; $maxWill = $user->info->US_maxWill; if ($newWill > $maxWill) $newWill = $maxWill; $user->set("US_energy", $newEnergy); $user->set("US_will", $newWill); $user->updateTimer($timer, $last + ($times * $secondsBetweenGain)); /* Set the last action time */ $page->addToTemplate("energy", $newEnergy); $page->addToTemplate("will", $newWill); } this code does not rely on crons
  18. Got to say the market place has been really good, not just for me but for GL v2 in general. The past month GL v2s popularity has risen quite a bit and i put that down to the market place!
  19. There is quite the market for GL v2 modules at the moment, if you need ideas I can pass you some
  20. Ive updated this module to allow for the energy and will to be reset via points. The cost is adjustable within the ACP
  21. I have been working on a OC mod for a while its near completion, i can have it ready some time next week.
×
×
  • Create New...