Dayo Posted March 12, 2019 Share Posted March 12, 2019 (edited) GL V2.2.0 - Release Notes Links Git Hub Download Discord Demo New Features Black Jack (casino game) Users can own a blackjack table They can change the min/max bets Murder Black Market You can buy weapons and Armour Has a bullet calculator to determine how many bullets are needed to kill someone with a certain weapon vs a certain Armour Find User You can hire detectives to find a target Kill Once a target is found you can shoot bullets at them Bounties Want someone dead? Put a bounty on them Forums You can make unlimited forum categories Users can make topics within the forum Has BBCode support Admin controls Edit topic Change topic level Important Sticky Normal Delete Topic Lock Topic Mute a user from posting on the forum Game Statistics Shows new and dead users Total users alive/dead Total game cash Total game bullets Total game points Bullet Factory Can now be owned Now restocks every hour (max stock = 40k) New Admin Features Manage game items (create/edit and delete) Cars Black Market Items Locations Car Theft options Manage cost to hire detectives Create new forum categories Custom staff Roles Each role can have a different color Each role can be locked down to certain areas of the admin Panel i.e. forum mods will only have access to the forum admin options Edited March 12, 2019 by Dayo 5 Quote Link to comment Share on other sites More sharing options...
Dave Posted March 12, 2019 Share Posted March 12, 2019 This is great to see! Do you have a demo game anywhere running this version? Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 12, 2019 Author Share Posted March 12, 2019 http://glscript.cdcoding.com/demo/ Im working on a custom game with GL v2 as the base i can see if there ok with me posting it check out https://dystopian.life 1 Quote Link to comment Share on other sites More sharing options...
MNG Posted March 12, 2019 Share Posted March 12, 2019 8 hours ago, Dayo said: http://glscript.cdcoding.com/demo/ Im working on a custom game with GL v2 as the base i can see if there ok with me posting it check out https://dystopian.life Awesome! How much would you charge to convert your gamble system over to another engine? Quote Link to comment Share on other sites More sharing options...
SRB Posted March 13, 2019 Share Posted March 13, 2019 Whilst I do not 100% agree with the standard and use a slightly modified version. I have to ask - is this going to become anywhere close to PSR-2 standard at any point? The random indenting of everything inside the php tags burns my eyes - curious, why is it done that way? 1 Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 13, 2019 Share Posted March 13, 2019 9 minutes ago, SRB said: Whilst I do not 100% agree with the standard and use a slightly modified version. I have to ask - is this going to become anywhere close to PSR-2 standard at any point? The random indenting of everything inside the php tags burns my eyes - curious, why is it done that way? I was going to ask the same thing about possibly adopting some PSR-2 standards and going a bit further and adopt PSR-4. I understand that this is more of an engine and not a framework but inheritances and DI can go along way in assuring that things work/run as expected. Hell, you could have your own "service container" and rid the source files of globals and just inject them into the app itself 2 Quote Link to comment Share on other sites More sharing options...
SRB Posted March 13, 2019 Share Posted March 13, 2019 12 minutes ago, KyleMassacre said: I was going to ask the same thing about possibly adopting some PSR-2 standards and going a bit further and adopt PSR-4. I understand that this is more of an engine and not a framework but inheritances and DI can go along way in assuring that things work/run as expected. Hell, you could have your own "service container" and rid the source files of globals and just inject them into the app itself Dang it, I meant to query autoloading too. Well spotted / suggested. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 13, 2019 Share Posted March 13, 2019 7 minutes ago, SRB said: Dang it, I meant to query autoloading too. Well spotted / suggested. Maybe all this could be a v3 request haha. I was thinking of forking it and possibly cleaning it up a bit like formatting and class names to match file names. The former also hurts my eyes 2 Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 13, 2019 Author Share Posted March 13, 2019 The indentation i have no idea what happens, sometimes my IDE decides to use spaces, sometimes tabs 50:50. im in the process of trying new IDEs out) Ill have a read through the PSR standards and start to implement them. And i will soon be killing global off. When i first started GL v2 thats how i could get it working but now its time to kill that off ? 1 Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 14, 2019 Share Posted March 14, 2019 1 hour ago, Dayo said: The indentation i have no idea what happens, sometimes my IDE decides to use spaces, sometimes tabs 50:50. im in the process of trying new IDEs out) Ill have a read through the PSR standards and start to implement them. And i will soon be killing global off. When i first started GL v2 thats how i could get it working but now its time to kill that off ? For the PSR2 you could add an .editorconfig file to the root which works with a lot of IDEs. Some like VSCode you would have to instal a plug-in for it. PSR4 is a hell of a lot of change though. I forked the repo and in the coming weeks I want to possibly submit some PRs. Hopefully it will help clean up some code as well. Some of the changes I have in mind would probably be breaking code though ? Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 14, 2019 Author Share Posted March 14, 2019 Just added a .editorconfig file to the project (if im honest i had no idea this existed, gona put it in all my projects now. Also replaced all occurrences of a tab with 4 spaces. I should have never let it get that bad ? 1 Quote Link to comment Share on other sites More sharing options...
Dave Posted March 14, 2019 Share Posted March 14, 2019 9 hours ago, Dayo said: The indentation i have no idea what happens, sometimes my IDE decides to use spaces, sometimes tabs 50:50. im in the process of trying new IDEs out) Ill have a read through the PSR standards and start to implement them. And i will soon be killing global off. When i first started GL v2 thats how i could get it working but now its time to kill that off ? PHPStorm is an awesome choice if you have a little money to spend, otherwise something like VSCode with some plugins should suffice. 1 Quote Link to comment Share on other sites More sharing options...
Alan Posted March 14, 2019 Share Posted March 14, 2019 Pfft; real programmers use: cat > filename.php << EOL ? 2 Quote Link to comment Share on other sites More sharing options...
SRB Posted March 14, 2019 Share Posted March 14, 2019 3 hours ago, Alan said: Pfft; really old programmers use: cat > filename.php << EOL cat > filename.php << EOL ? You said it. Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted April 7, 2019 Share Posted April 7, 2019 On 3/14/2019 at 7:40 AM, Dave said: PHPStorm is an awesome choice if you have a little money to spend, otherwise something like VSCode with some plugins should suffice. If you're a little strapped for cash, I feel that Atom is great free alternative 1 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.