-
Posts
2,392 -
Joined
-
Last visited
-
Days Won
62
Content Type
Profiles
Forums
Events
Everything posted by Sim
-
I never thought about that @KyleMassacre
-
Does anyone know the code to add a image in jail.php in crimes ?
Sim replied to athena26's topic in Requests & In Production
Add that echo line he posted in the file u want it displayed in -
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.
-
A little troubles coding JS on my phone. Not a way to display JS errors. Im getting close though. 🙂
-
I highly recommend @ags_cs4 for web design.
-
$100 to add data for GL
-
You mentioned something about widgets?
-
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 😂
-
$100 to add crimes n other stuff for gl.
-
A universal moduleData hook? function($module, $data)?
-
Change log displays 1.3 but 1.0.0 released fyi. Very nice ACP UI.
-
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).
-
Instead of 5 secs. Just never remove them from jail? 5 secs is not much time anyway?
-
Wonderful idea!!
-
I was thinking about tagging you @Magictallguy
-
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).
-
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?
-
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
-
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.
-
Motivation. Ill have a few games posted by end of weekend. At least 2 games. 🙂
-
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.
-
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.
-
Why was Catch The Robber created? For economies that are over flatuated. It creates a good / fun event to take away players money. 🙂
-
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).