1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Update 3.2 incoming and PHP8 support (v4.0)

Discussion in 'News' started by Wilson212, Nov 29, 2022.

  1. Wilson212

    Wilson212 Administrator Staff Member

    Hello all!

    It's been a while since I've posted or released any updates on the system. There will be 2 major updates coming in the month of December and January 0f 2023. Let's talk about this!

    Update 3.2: The next update is going to be coming within the next 3 weeks or so and will include the following changes:

    New Features:
    • Added support for an EA style of having 4-star generals (one promoted each month). Currently, the only option is what we call "clan mode", and this only allows a single 4-star general at a time (much like sergeant major of the corps). In this update, you will be able to select which of the two modes you would like to use, and the ASP maintenance page will change accordingly (clan mode or EA mode).
    • A general refresh of the SMOC and 4-star general screens, showing more information such as a table displaying who has held the rank in the past (to prevent promoting someone again on accident).
    • Player promotion history is displayed on the View Player screen. Currently, you cannot see when a player was granted each promotion, only the time until the next promotion(s). This information has been collected since the release of the 3.0 system. With the new update, there will be a tab added to the next promotions box, that will show the dates/times when a player was promoted or demoted.
    • Added a page where you can click on an award (GameData -> Manage Awards) and view a table that displays each of the players who have been awarded this award. You will have the option here to take away an earned award if you determine that an award was earned by cheating or whatever.
    • Added a page where you can see various usage statistics on kits, weapons, vehicles, and armies.
    Bug Fixes:
    • Fixed a bug that prevented the admin from viewing a map id with zero (Kubra Dam)
    • Fixed errors relating to "timestamps" on various unlocks-related pages
    • Fixed an issue where the European Service Medal and the American Service Medal would not be awarded to players unless they have exactly the amount of time required for the award at the end of the round.
    • Fixed a potential PHP depreciated error when queuing a BF2 server.
    • Fixed a bug that was not adding players into the rising star list if thier account was over 2 weeks old
    • Fixed a bug that caused player earned ribbons to not display in the player round history screen
    I will be doing some extensive testing of the system during the month of December to ensure that the final released product is as bug-free as possible. I will also be including an updated installation guide.

    Update 4.0 will be coming in the month of January 2023. The biggest change will be the drop of PHP5 support and adding support for PHP8. There are some changes in php8 that would prevent the ASP from working in php5, which is why support will have to be dropped for 5 to further improve the system. In the future, Version 3.2.x of the ASP will support php5, and version 4.x+ will have php8 support. I will continue to support V3 of the ASP in terms of fixing bugs, but will only be releasing NEW features for v4 of the system in the future. The database and python scripts will not be changing for V4 of the system and will retain thier version of 3.x.

    Bf2sClone / Stats Leaderboard

    I have had many people ask me about a working leaderboard for the stats 3.0 system. I totally get it! I enjoy looking at my and my friend's stats, and it's almost a requirement to have some sort of leaderboard right?? Well, Yes! I would agree with that statement. Unfortunately, with the number of changes to the database structure, it is going to be ALOT of work to make a new leaderboard system. The good news is, I have been working on a brand new leaderboard system that does not use bf2sclone, and the reason for this is simple... The new leaderboard will also be a CMS (content management system). You will be able to post news, receive support requests from your players, and players will have an account management screen that allows them to change and update their passwords and emails within the "Gamespy" system. I plan to release the system around June of 2023, but there may be some delays (I will keep you updated!). This new system will unfortunately be supporting PHP8, and not PHP5! The reason for this is simple, the framework that the leaderboard will be built on is none other than the same framework as the ASP. I do not have the time or energy to make the system twice, so for those using PHP5, you will just have to use the BFHQ in-game as your leaderboard.

    Anyways, that is all I have for now. I hope all of you have a great holiday!
    Last edited: Feb 26, 2023
  2. Sunnyghost

    Sunnyghost Member

    Great news Wilson! I will switch to Version 4 as soon as possible when it comes available :)
    haule146 likes this.
  3. Hjaldrgud

    Hjaldrgud New Member

    Wow this is massive! I tried to update the ASP to PHP8.0 myself, but got stuck at two places: when creating the database it would create the database fine, but the reader that read the .sql files for populating the DB with data had an endless loop no matter what I did. The other problem that really stopped me in my tracks was the Ajax error when trying to add bot players from botNames.ai.

    I can't wait to use the program on PHP 8! The Xampp version with it is so much more stable!
    Sunnyghost, haule146 and Wilson212 like this.
  4. Wilson212

    Wilson212 Administrator Staff Member

    Hello all, quick update. I have made a bit of progress on 3.2, but it is not completed yet. The new release date will be around January 15, 2023.
    MrNiceGuy and Sunnyghost like this.
  5. Sunnyghost

    Sunnyghost Member

    Thanks for the update ;)
  6. Wilson212

    Wilson212 Administrator Staff Member

    Quick update. I have been adding features and squashing bugs in the ASP these last few days, and am now testing the software, playing with my 2 sons and bots :). The 3.2 update will be released in the next few weeks.
    kjhedges, SharK, MrNiceGuy and 2 others like this.
  7. kano

    kano New Member

    If you want any feedback m8 and want to know what things we edited to get everything working, just let us know, also with help from Sunny we have a working leader-board too! visit our site nawstats!
    Last edited: Mar 1, 2023
    Sunnyghost likes this.
  8. Wolverine

    Wolverine Member

    Fantastic work, looking forward to test the new versions :)

    Perhaps already fixed, but found an bug in version 3.1.0 which causes SF tactical weapons to contain incorrect values in the response, see GitHub issue #20 which I created today.
    Wilson212 likes this.
  9. Wilson212

    Wilson212 Administrator Staff Member

    Good find! I will have these fixes implemented in the next update!
    Hjaldrgud likes this.