Jump to content
MakeWebGames

SwiftGameR

Members
  • Posts

    262
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by SwiftGameR

  1. I have a heists module but it's for grog or Mccodes Each heist requires x amount of players and certain amount of power which each person in the heist contributes to based on stats I have a demo up on my test site
  2. Hi sorry i have not been online my pc is broken down I have to get it taken in for repairs let me go grab a quick read of what I have missed if support still needed. Sorry again for any inconvenience I will get this fixes a soon as I can get my pc repaired its not very good time to break down with it being the new year. Thank you Dave for sorting that out I must of missed something ill have a look over the module and sort it as soon as possible is there a chance you can put the module on pause or something so people can't buy it until i put up a patch Again sorry for any errors
  3. I have been looking at trying to get some work done for GL engine and have been running into some issues. Let me explain what i was trying to do for a simple learning purpose i was trying to do a simple daily reward system. 1. User can goto page and click button 2. code runs then they are rewarded etc I managed to figure out how to get the links on the side to show up but when i click on it just says cant be found. My Steps: 1. Created a folder in "installed" named it daily 2. Inside this folder i have 3 files ( module.json , daily.tpl.php , daily.hooks.php) Here's my files. daily.tpl.php <?php class dailytemplate extends template { public $dailygift = ' <div class="alert alert-warning"> You can claim up to 1 reward a day. </div> <div class="panel panel-default"> <div class="panel-heading">Would you like to open a gift?</div> <div class="panel-body"> <div style="text-align:center;"> <a class="button-fixed-width btn btn-default" href="?page=dailyGifts&action=claim">Claim Gift</a> </div> </div> </div> '; } ?> daily.hooks.php <?php new hook("userInformation", function ($user) { global $page; $time = $user->getTimer("daily"); if (($time-time()) > 0) { $page->addToTemplate('daily_timer', $time); } else { $page->addToTemplate('daily_timer', 0); } }); new hook("actionMenu", function () { return array( "url" => "?page=daily", "text" => "Daily Gift", "sort" => 100 ); }); ?> When i try to access my page i get
  4. Petty you were not running mccodes i have just uploaded a drugs module. Users can buy drug buildings which produce drug per day (there is a base amount but things like stats, being active contributes) There is a drug dealer with all the drug you choose to have in the game with his own stock and prices which changes daily. You can also pay special credit like crystals to buy a extra % bonus to your productions on your buildings. Oh and there is also a special event that can trigger which wants a certain type of drug for a higher cost than the drug dealer does
  5. I have experience in both "Mccodes ans GRPG" if you wish to get any help ill be here to answer any questions you might have
  6. I have been speaking to the owner of gl engine and he referred me to a wikki page to understand how the engine works more which is great because ill be able to put stuff up quicker without having to spend hour or days trying to look through the code to understand it. I know from your PM that you are looking for an attack system is there anything else you are interested in
  7. Thanks mate ?
  8. Hi there not very many people know me but i have uploaded modules to the new market place with some screenshots some will be added at a later date was in a rush to get everything transferred over. There are some free ones there for users who don't have funds or just not interested in my work. I will be planning on releasing some more free modules for Mccodes, GRPG, and soon to be GL (Gangster Legends). Please do go check them out and see what you think.
  9. i like both lol
×
×
  • Create New...