Uridium Posted April 18 Posted April 18 So its 2025 and we are at PHP 8.4 but whch version of MCCODES will pass the PHP 8 test.. we have 3 contenders MCC V2.0.5b From the MCCODES official site MCC V2.5 REDUX From the MCCODES official site (Which wont be reviewed cos I dont have a copy) or the now FREE V2 version from Github..... I will be using xampp running php 8.2 for these tests they will comprise of installation, First Login, Adapting older files First off the MCC V2.0.5b From the MCCODES official site ---------------------------------------------------------------------------------- Straight out of the box it was easy to unzip to a folder on xampp I went to localhost/mccodes/installer.php (why they couldnt let the index.php file tell if the install had already done is beyond me and if not installed grab the installer.php for you) but you have to type installer.php or MCCODES throws a wombly fit. As you can see above you have no choice but to ask for installer.php Once you do add the installer.php your met with the installer program which looks ok so we will start adding all our data on all them lines all lines filled time to press INSTALL Oh thats not good wheres the confirmation that tells you config file created success to Database and the cronjob links Well moving on to the next version the FREE github version FREE GITHUB VERSION i will follow same steps as before ----------------------------------------------------------------------- INSTALLATION same situation as the above there is nothing to tell if the config file exists and if not move on the installation on to the installation page the installer page has shifted to the far left of the page.. It somewhat installed it failed but it nearly got there I checked my Database and the dbdata.sql was inserted and the config.php file was created however no new user was added to the DATABASE and no mention of the cron setups SO NEITHER ACTUALLY INSTALLED But why not lets start with the GITHUB version (only cos this is an easy fix) I will mention that after the install failed I removed all files and folders and sent back a fresh copy of both Engines so lets start with GITHUB VERSION (how to fix the issue) ------------------------------------------------------------------------ $db->query( "INSERT INTO `users` (`username`, `login_name`, `userpass`, `level`, `money`, `crystals`, `donatordays`, `user_level`, `energy`, `maxenergy`, `will`, `maxwill`, `brave`, `maxbrave`, `hp`, `maxhp`, `location`, `gender`, `signedup`, `email`, `bankmoney`, `lastip`, `lastip_signup`, `pass_salt`, , `display_pic`, `staffnotes`, `voted`, `user_notepad`) VALUES ('{$ins_username}', '{$ins_username}', '{$e_encpsw}', 1, 100, 0, 0, 2, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$adm_gender}', " . time() . ", '{$ins_email}', -1, '$IP', '$IP', '{$e_salt}', '', '', '', '')"); Did you spot it in the code above. if you didnt go to line 471 which looks like `lastip_signup`, `pass_salt`, , `display_pic`, `staffnotes`, `voted`, `user_notepad`) and remove the exta , that has no real reasoning for being there Now lets see if the installer works SUCCESS the thing has installed 🙂 and is working on PHP 8.2 And there you are So what can be done to make it easier well first off get the index script to work out if the config file has been written if its not there then grab the installer no need for people to type installer.php into the url bar add this to your index.php file before the <?PHP $install = 'installer.php'; if (file_exists($install)) { include('installer.php'); exit(); } for the failed installer.php if you cant be bothered altering it use the file beflow installer.php For the MCCODES mainsite version lets just say there was an extreme amount of editing to make it work more on the function error_php and the mention of MAGIC_QUOTES 1 Quote
Ishraq Posted April 18 Posted April 18 (edited) Haha i'm on this journey myself with two old games, its been fun but long. I started one and built it ready to go has more to do lists and suggestions but waiting. I'm using an mvc approach: TryoWars For the other, i'm currently going through each file to update it to PHP8 and above to get it fully working: EuroGangster First release it after beta testing. Then plan to update the entire approach to mvc. Maybe OCD The site I use to create Mccodes V2 Modules: Mccodes V2.0.5 Edited April 18 by Ishraq First release it after beta testing. Then 2 Quote
corruptcity || skalman Posted April 19 Posted April 19 hey I've got a backup copy of redux if your intrested in it would happily send it you? 1 Quote
Ishraq Posted April 20 Posted April 20 On 4/19/2025 at 6:13 AM, corruptcity || skalman said: hey I've got a backup copy of redux if your intrested in it would happily send it you? I have a copy of redux too thanks. Appreciate it. Quote
CrazyElk Posted April 21 Posted April 21 20 hours ago, Ishraq said: I have a copy of redux too thanks. Appreciate it. Howdy, I believe he meant the copy was for @Uridium to include with his comparing of various versions. Quote
Ishraq Posted April 21 Posted April 21 10 minutes ago, CrazyElk said: Howdy, I believe he meant the copy was for @Uridium to include with his comparing of various versions. My bad, oops. 🤣 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.