AdamHull Posted June 16, 2024 Posted June 16, 2024 Afternoon all, Whilst we are making game engines open source.https://gitlab.com/Magictallguy/grpg-pdo We have decided to follow the MCCodes v2 and bring the v2 of GRPG v2 to become open source. If you do have any issues, I will try my best to patch them and update the repo, how ever I will not be able to do this all the time and if you fix something please do submit a push request 8 Quote
ags_cs4 Posted June 16, 2024 Posted June 16, 2024 I love move to go open source, it should give the engine more exposure, thank for giving the community this opportunity Will give it a try when i get home this week, would love to play with it a bit And will keep an eye on the engine so i can help out with issues if there is any 1 Quote
SwiftGameR Posted June 17, 2024 Posted June 17, 2024 Nice i was needing a copy of the grpg engine for a module for a client i am glad to see grpg open source along with mccodes will be cool to see what everyone will do. Quote
SwiftGameR Posted June 24, 2024 Posted June 24, 2024 Okay so i have downloaded the source code and can see its been updated some more since last time i have looked at it and its throwing some errors on install. Composer Required - There seems to be code in place for checking for a composer but no actual composer installed in the code. Above error stops installation on step 3 once checking database connection. Fatal error: Uncaught Error: Class 'Dotenv\Dotenv' not found in /home/ulrvvdan/domains/utap.x10.mx/public_html/mobstersonline/inc/dbcon.php:17 Above error is thrown due to not having Composer as vendor/autoload.php is meant to run before this which is not found. For anyone who is stuck on installing grpg and don't have a clue what a composer is or where to start, Follow the link below to a doc about Composer which will show u diff ways to install it (local, global) once you download the composer as a zip file upload it to your host where your main game files are so it lands in its own folder like (vendor/etc.php) I will be installing composer tomorrow and see how far i get before anymore issues pop up and will request a push to grpg unless someone else wanna do it for me 😛 https://getcomposer.org/doc/00-intro.md 2 Quote
rockwood Posted June 26, 2024 Posted June 26, 2024 https://gitlab.com/Magictallguy/grpg-pdo/-/blob/master/inc/Zebra_Session.php?ref_type=heads if (!empty($this->flashdata)) { <-- no need this bcz foreach care itself for example -> https://3v4l.org/PqKPM 1 Quote
Magictallguy Posted April 2 Posted April 2 I decided it's time to blow off the dust and give this project some TLC. So, a small update list! now comes with a Docker configuration no longer relies on Composer There will be more updates to come as the longer I look, the more I kick my younger self 😄 1 Quote
Uridium Posted April 3 Posted April 3 19 hours ago, Magictallguy said: I decided it's time to blow off the dust and give this project some TLC. So, a small update list! now comes with a Docker configuration no longer relies on Composer There will be more updates to come as the longer I look, the more I kick my younger self 😄 Downloaded the new copy Stuck at the first Hurdle the install line 22 line 22 = private string $configFile { set { $this->configFile = $value; } } error is Parse error: syntax error, unexpected token "{", expecting "," or ";" PHP version 8.3 tried on 7.4 error still exists Quote
Magictallguy Posted April 3 Posted April 3 PHP 8.4 required. I'll push an 8.0-friendly version shortly Quote
Uridium Posted April 4 Posted April 4 2 hours ago, Magictallguy said: PHP 8.4 required. I'll push an 8.0-friendly version shortly My host doesnt have 8.4 even xampp is 8.3 Quote
Magictallguy Posted April 4 Posted April 4 Back when I was on Windows, I loved mLocati's PowerShell PHP Manager - you may wish to consider looking into it. Its primary purpose is to provide an easy way to install multiple PHP versions and choose whichever one the system considers active. As for your host, perhaps a request to their support might be fruitful. Quote
Uridium Posted April 5 Posted April 5 On 4/4/2025 at 2:14 AM, Magictallguy said: Back when I was on Windows, I loved mLocati's PowerShell PHP Manager - you may wish to consider looking into it. Its primary purpose is to provide an easy way to install multiple PHP versions and choose whichever one the system considers active. As for your host, perhaps a request to their support might be fruitful. i'll wait for you to update the above even after finally gettng the installer to work the apache_setenv became an issue on the pdo.class.php file changed apache_setenv($key, $value); to getenv($key, $value); still same issue on both Fatal error: Uncaught TypeError: getenv(): Argument #2 ($local_only) must be of type bool, string given in /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/inc/pdo.class.php:69 Stack trace: #0 /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/inc/pdo.class.php(69): getenv() #1 /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/inc/pdo.class.php(44): database->setConnDetails() #2 /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/inc/pdo.class.php(322): database->__construct() #3 /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/inc/pdo.class.php(388): database::getInstance() #4 /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/inc/dbcon.php(77): require_once('/home/DOMAINc/...') #5 /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/inc/header.php(6): require_once('/home/DOMAINc/...') #6 /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/index.php(3): require_once('/home/DOMAINc/...') #7 {main} thrown in /home/DOMAINc/domains/mtg.DOMAIN.co.uk/public_html/inc/pdo.class.php on line 69 Finallly got it to install and run had to comment out a few parts on the pdo file but its up and running at last it now runs on php 8.2 upwards Quote
Magictallguy Posted April 5 Posted April 5 You changed setenv to getenv? Of course that wouldn't work Quote
Uridium Posted April 5 Posted April 5 1 hour ago, Magictallguy said: You changed setenv to getenv? Of course that wouldn't work it wasnt just that.. The registration doesnt work when viewing Tickets the timestamps doesnt work have you actually tried this on a version LESS that 8.2 nobody has 8.4 yet http://www.mtg.wizwych.co.uk Quote
Magictallguy Posted April 5 Posted April 5 I have not as I wasn't thinking of backwards compatibility. This change is part of a rolling set of changes I intend to make to suit more recent technologies. As for the claim that "nobody" has PHP 8.4 yet; SiteEU, WebWiz, HawkHost, Kinsta, SwitchWeb, NameCheap, GoDaddy, Google Cloud Hosting and AWS absolutely do support it. Honourable mention to cPanel's EasyApache which added PHP 8.4 support in December just gone. Again, I will add backward compatibility for PHP 8.0. Might send up a couple of branched releases so people can select their desired version. 1 Quote
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.