Jump to content
MakeWebGames

Sim

Members
  • Posts

    2,392
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by Sim

  1. I never thought about that @KyleMassacre
  2. Add that echo line he posted in the file u want it displayed in
  3. Sim

    Gang raids ...

    Which engine?
  4. Try domain whois? Or contact @a_bertrand Who knows if he still lingers around. I would bet his personal site is still online, but i don't remember his URL.
  5. A little troubles coding JS on my phone. Not a way to display JS errors. Im getting close though. 🙂
  6. I highly recommend @ags_cs4 for web design.
  7. $100 to add data for GL
  8. You mentioned something about widgets?
  9. I didn't even notice that when i scimmed threw the files. @Dayo autoloader. I did notice all the included files from init.php was moved. Where are they now? Or what file loaded from? Edit: nvm. 1st line of init.php 😂
  10. $100 to add crimes n other stuff for gl.
  11. A universal moduleData hook? function($module, $data)?
  12. Change log displays 1.3 but 1.0.0 released fyi. Very nice ACP UI.
  13. They Dont need added. Just moved for the most part. The &$data will reference the data automatically. (Knowledge for others. Not directed to you @Dayo im 99.9% sure you know this).
  14. Instead of 5 secs. Just never remove them from jail? 5 secs is not much time anyway?
  15. I was thinking about tagging you @Magictallguy
  16. mysql_real_escape_string($message) Or htmlentities($message) I cant remember which is correct, been so long since i had to use those fumctions. Change your database encoding to UTF-8 should help(i could be wrong).
  17. Id love to know how yourn going to increase a users crime theft chance without altering crime/theft files in the current GL system. This would help me tremendously with a lot of mod ideas i have myself. Edit: Independence Day Event July 4th?
  18. An updated forum system is a definite. Ive thought about recreating it several times. I did code a forum hosting service from scratch(BAD IDEA for any1 thinking of doing it). He cant build upon mine @Canjucks It edits the core code which @Dayo is against and TBH it kind of needs a recode. The custom item types code is a mess since i originally didnt have it as an idea or realize the complexity of it at first. And its a paid mod which means he cant legally release it. I did give him permission to go over the code to give himself ideas, or release mods upon it. One of the most important things i would like to see is better placement of userAction hooks. Lets take the crimes.inc file for example: if ($cashReward) { $rewards[] = '$'.number_format($cashReward); } if ($bulletReward) { $rewards[] = number_format($bulletReward) . ' bullets'; } $crimeError = array("text"=>'You successfuly commited the crime and earned '. implode(" and ", $rewards) .'!'); $this->alerts[] = $this->page->buildElement('success', $crimeError); $this->user->set("US_money", $this->user->info->US_money + $cashReward); $this->user->set("US_bullets", $this->user->info->US_bullets + $bulletReward); $this->user->set("US_exp", $this->user->info->US_exp + $crimeInfo->C_exp); $actionHook = new hook("userAction"); $action = array( "user" => $this->user->id, "module" => "crimes", "id" => $crimeID, "success" => true, "reward" => $cashReward ); $actionHook->run($action); if ($cashReward) { $rewards[] = '$'.number_format($cashReward); } if ($bulletReward) { $rewards[] = number_format($bulletReward) . ' bullets'; } //added EXP to rewards for hook $rewards[] = $crimeInfo->C_exp; //moved hook BEFORE DATA BEFORE UPDATED IN DB. $actionHook = new hook("userAction"); $action = array( "user" => $this->user->id, "module" => "crimes", "id" => $crimeID, "success" => true, "reward" => $rewards //changed cashRewars to all rewards ); $actionHook->run($action); $crimeError = array("text"=>'You successfuly commited the crime and earned '. implode(" and ", $rewards) .'!'); $this->alerts[] = $this->page->buildElement('success', $crimeError); $this->user->set("US_money", $this->user->info->US_money + $cashReward); $this->user->set("US_bullets", $this->user->info->US_bullets + $bulletReward); $this->user->set("US_exp", $this->user->info->US_exp + $EXP); This allows for hooks to change data before being updated by applying this to hook. new hook("userAction", function (&$data) { global $db, $user; //if module isn't crime exit if($data['module'] != "crimes") { return; } //if not successful crime exit if($data['success'] != true) { return; } //if premium member/item bonus APPLY $data['rewards'][0] = $data['rewards'][0] + 10; //UPDATE cash $data['rewards'][1] = $data['rewards'][1] + 10; //UPDATE bullets $data['rewards'][2] = $data['rewards'][2] + 10; //UPDATE exp
  19. I still want to see hooks in ACP for when entry added, deleted, edited. module, type & id # passed. An easier way to alter ACP templates or sub templatrs in general be great. Ex: adding additional fields to already created module in ACP. My Advance Crimes module for example: It had to replace the original crimes module instead of a lot of nasty code(instead of threw alterTemplate? Hook with str_replaces. Adding additional JS was the real pain. Ex: Auto-Spelling like this Forum tagging system.
  20. Motivation. Ill have a few games posted by end of weekend. At least 2 games. 🙂
  21. Pixi looks nice and simple. I recommend to anyone who doesnt know how to create a 2d engine from scratch to not use an engine at first. Such as game loading resources, game loops, mouse tracking, collesion detection. I used no engine for all my previous projects, blocks(odd version of textris), blackjack, tic tac, tower defense demo, chess.
  22. Looking for suggestions to create some HTML5 mini games I had several created and listed before GameMakersForums went down years ago. Its something im ready to get back into. I can eventually turn these into mods for game engines.
  23. Why was Catch The Robber created? For economies that are over flatuated. It creates a good / fun event to take away players money. 🙂
  24. With GL 2.3 about to be released and with me loosing motivation to create new modules I am running a promotion. Buy one of my modules get any module(s) of equal value. Ex: Purchase a $6 module, get a $6 module for free. Ex: Purchase a $12 module, get 2 $6 modules for free. Ex: Purchase a $20 module, get $20 worth of modules for free. After purchasing a module, message me which module you purchased(so i can verify) and message me what module(s) you would like so I can give you permission to download the module(s).
×
×
  • Create New...