Dayo Posted March 17, 2021 Share Posted March 17, 2021 I have finally finished work on the pre-release of GL 2.3.0, if people can download it and test it that would help alot. After a week or two ill release it as a full release. More info can be found here: https://github.com/ChristopherDay/Gangster-Legends-V2/releases/tag/2.3.0 If you have GL Premium you can find the new module bundle in the MWG download area, the new installation process is 1) Download GL v2 2) Install GL as you normally would 3) Download GLPremium.zip from MWG 4) Go to your game > ACP > Module Manager > Install Module 5) Upload GLPremium.zip 6) Deactivate old modules 7) Extract all modules 😎 Install all modules Done. 2 1 Quote Link to comment Share on other sites More sharing options...
Sim Posted March 18, 2021 Share Posted March 18, 2021 6 hours ago, Dayo said: new menus as well as support for more menu item detail Can more information be provided? Are there new hooks? Regarding various bug fixes, is there a list anywhere. This would help me and other developers update our modules quicker. I know i had to include a few GL fixes in at least one of my modules regarding a typo, and some bad variables in a few hooks(login was one of top of my head). Quote Link to comment Share on other sites More sharing options...
Canjucks Posted March 18, 2021 Share Posted March 18, 2021 I have to work out what I have changed so I can just upload your files lol. Of the premium mods you include what of those have been updated? I can update the core easily enough but the ones not on the github is a bit of a guess and having to go through line by line. Quote Link to comment Share on other sites More sharing options...
Fabionuno Posted March 18, 2021 Share Posted March 18, 2021 A lot of changes were made you can check on my game thegangwars.com check game news for pw and login Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 18, 2021 Author Share Posted March 18, 2021 3 hours ago, Sim said: Can more information be provided? Are there new hooks? Regarding various bug fixes, is there a list anywhere. This would help me and other developers update our modules quicker. I know i had to include a few GL fixes in at least one of my modules regarding a typo, and some bad variables in a few hooks(login was one of top of my head). The new menu hooks are loginMenu, casinoMenu and moneyMenu. They work just like the locationMenu/accountMenu etc ... I have also added support to the default template to add timers within menu links as well as an "extra" field that can be any html element. an example of these would be crimes (timers) and jail (extra). Ill update the documentation later this weekend Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 18, 2021 Share Posted March 18, 2021 I may have to start learning this engine code make some mods Quote Link to comment Share on other sites More sharing options...
Sim Posted March 18, 2021 Share Posted March 18, 2021 Any major changes that will effect modules released? 9 hours ago, Uridium said: I may have to start learning this engine code make some mods You should. Its very easy to work with and not outdated code. You might need to learn a few minor things about classes if you dont already know, but if your serious about being a developer your have to learn this type of stuff sooner or later. Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 19, 2021 Share Posted March 19, 2021 (edited) downloaded and installed On 3/17/2021 at 8:36 PM, Dayo said: 3) Download GLPremium.zip from MWG where is this to download ? Edited March 19, 2021 by Uridium Quote Link to comment Share on other sites More sharing options...
Sim Posted March 19, 2021 Share Posted March 19, 2021 1 hour ago, Uridium said: downloaded and installed where is this to download ? Somewhere in the marketplace. GL premium is a paid version. Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 19, 2021 Share Posted March 19, 2021 made my first mod Edit Username Quote Link to comment Share on other sites More sharing options...
Sim Posted March 19, 2021 Share Posted March 19, 2021 52 minutes ago, Uridium said: made my first mod Edit Username All GL modules released on market place. Free & Paid. https://makewebgames.io/files/category/7-modules/ @Dayo I would still love to see an ACP hook. Be great for automated announcements, creating FAQs and definitely be great for creating a game Wikipedia with ease. Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 19, 2021 Author Share Posted March 19, 2021 What do you mean by this? 38 minutes ago, Sim said: I would still love to see an ACP hook. Quote Link to comment Share on other sites More sharing options...
Sim Posted March 19, 2021 Share Posted March 19, 2021 3 hours ago, Dayo said: What do you mean by this? A hook for when New/Edit/Deleted content from ACP. With the data from form? Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 19, 2021 Author Share Posted March 19, 2021 3 hours ago, Sim said: A hook for when New/Edit/Deleted content from ACP. With the data from form? In the next version of GL i will be adding proper foreign key to the MySQL table, maybe this is something for you to look into for now? This would work for the delete/update Quote Link to comment Share on other sites More sharing options...
Sim Posted March 21, 2021 Share Posted March 21, 2021 (edited) It looks like you missed a few errors i reported in 1.2. login.inc.php line 46 should be: $action = array( "user" => $user->info->U_id, "module" => "login", "id" => $user->info->U_id, "success" => true, "reward" => 0 ); NOT $action = array( "user" => $this->user->id, "module" => "login", "id" => $this->user->id, "success" => true, "reward" => 0 ); $this->user is still NULL at line 46. AND the new default ACP template created issues with EVERYONE of my mods in the ACP. With that being said, is it safe to assume every 1.2 mod created will need to be updated? Edit: Happens more frequently then before. @Dave could this be a PHP version issue? Happens mostly on MWG hosting. I have not had this issue on other servers. Edited March 21, 2021 by Sim Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted March 21, 2021 Share Posted March 21, 2021 Create a directory in `/home/your-username` and name it php-sessions (or something equally obvious) And add session_save_path('/path/to/php-sessions'); above any call to session_start() Also recommend you set the filepath as a variable or constant for ease of future dev (example below) // in a config file define('MY_SESSION_FILEPATH', '/preferrably-absolute/path/to/php-sessions'); // at the session start calls session_save_path(MY_SESSION_FILEPATH); session_start(); 1 Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 23, 2021 Author Share Posted March 23, 2021 On 3/21/2021 at 6:50 PM, Sim said: AND the new default ACP template created issues with EVERYONE of my mods in the ACP. With that being said, is it safe to assume every 1.2 mod created will need to be updated? What issues are you having with the new ACP theme? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.