Author Topic: vsp stats processor v0.50 [UPDATED 4/5/2021]  (Read 32719 times)

0 Members and 1 Guest are viewing this topic.

Offline Krillin

  • Owner / Creator
  • Administrator
  • Full Member
  • *****
  • Posts: 124
  • Gender: Male
  • The Best Server's, EVA!
    • View Profile
    • Krillin's World
vsp stats processor v0.50 [UPDATED 4/5/2021]
« on: June 30, 2011, 11:12:13 PM »
Thank you for coming to Krillin's World Forums. Krillin, a major contributor to Voodoo Stats Processor, the developer / creator of the HL content, which has used for HL1 & HL2 engines for V.S.P. back in 2004. KW has been upkeeping V.S.P. since June of 2011 and still continuing today in 2021.

We have posted V.S.P. here to keep it as up to date as possible and to give it a place to download. Here are the newest changes to V.S.P.;
Quote from: _Docs/ReadMe.html
2 March 2021 - v0.50 (beta)
- chg: Copyright 2004-2021
- edt: Tidied up PHP deprecated code and a small handful of errors
- add: Created a logo for V.S.P. and replaced logo at top right (same logo as above- top right)
- add: Replaced Clan Avalance Logo with KRILLIN'S WORLD .COM Logo at top Left.
- fix: deprecated code for newer version of PHP 7.3.27 (code was built on PHP 4.1)
        Waiting to test PHP 8 to a handle on PHP 7 (No Lie)
- add: Added proper "open php tags" on all pages, but open_short_tags must remain on
- upd: Updated HTML code from HTML4 to HTML5 (looks great) have not text vsp.php in web browser
          Two more files needed to be added for VSP PARSER and ALL /PUB/ pages to be HTML5 compliant
- fix: Updated ALL included style sheets to comply with HLTM5 (12 sheets in all) and reformatted the layouts
        Vales in the style sheets were showing "Invalid Attribite" errors in developer mode in browser
- upd: Extensively updated _Docs/ReadMe.html file, formated, grammer, steps in detail
- upd: updated the adodb to 5.20.20 library as required for newer constraints of PHP (old one caused errors in web logs)
- upd: updated sorttables and domTT v0.7.3 libraries as required
          Added New Database Storage - MariaDB (We Currently Use - very easy to migrate)
- fix: Illegal string offset in 'savestate'
        Thanks to the friendly people at phpfreaks.com kicken &amp requinix
- fix: Illegal string offset in 'trackid'
        Thanks to the friendly people at phpfreaks.com kicken &amp requinix
- fix: Internal 'Search' and it's different options
        Did not work with PHP 5.6.x
- add: A PHP Version Installation Check for PHP version 7 or later
          Any other version will cause errors / malfunctions
- add: Coded a check in vsp.php to avoid direct access to pub/configs/cfg-default.php and password.inc.php files
          Fixed /pub/awardstat.php, gamestats.php & playerstat.php as required, as these files can be called in a browser!
- fix: Corrected an issue with vsp.php password to run the stats in web mode. Stats ran no matter what the password was. And the password checks works now!
- isu: Must run with SAVESTATE 1, without it you will get a warning about Illegal Offset String 'trackID' error message.

DO NOT USE WITH PHP 8. There isn't any guarantee this will work properly with PHP 8, unless you feel daring to assist us with the next release to be compatible with PHP 8 (this may not come to light until Fall / Winter of 2021 when we are forced back indoors due to cold weather.

NOTE: V.S.P. v0.50 was back dated to v0.47 as those changes failed and this version worked with PHP 7.x.x. So this was used as our base and all the fixes from v0.475, v0.478, v0.48 and v0.49 had to be redone and checked periodically using trial and error. This is the results of about 5 weeks of work. With all these changes and updates bringing V.S.P. up to code, it should come out of beta. But I have no plan as to what Myrddin outlook was for "vsp" but we'll keep it going with the set out version numbers and keep it beta being as everything always changes.

If anything else needs to be done, please let us know so that we can further assists on keeping this code up-to-date as possible. But bare in mind, we cannot create new content for new games which are out. This kind of programming is just a tad over our head and cannot make heads or tails of how this operates at this time.

To view all sections of the VSP form, you must be a member and register. This also means if you need assistance or need to report a bug.

Today on 9/11/2011 we found the extra files needed to add custom game-mod content to vsp stats processor CORE install. You unzip the VSP-CORE then unzip the media content you require for your stats site into the directory you unzipped the VSP-CORE and replace any files if needed.

Today on January 13th, 2014 at 3:30 AM the files which were hosted here have been removed. It has come to my attention that the downloads here were corrupted for some reason or another.

January 15, 2014 at 2:00 PM the new version of VSP has been released. Changes reflected in this release are for VSP to be able to continue to work with new and future version changes of PHP.

August 21, 2014 at 2:15 PM the new version of VSP has been released. Changes reflected in the release are for VSP to be able to continue to work with new and future version changes of MySQL with MySQLi Driver.

March 2, 2021 5:00 PM EST we are proud to release V.S.P. v0.50. Changes in this release once again are fixes for PHP 7 which is now required and updated code for HTML5 compliance. Tested with PHP 7.4.9 (development) & 7.4.16 (production)

March 8, 2021 5:49 AM EST we had a few typos errors within a handful of pages. For instance there was a mismatch with vsp version which got changed to V.S.P. Version but the /pub/ folder was looking for the wrong data bits and this has been corrected. This shows the V.S.P. Version at the bottom of all pages accessed in the /pub/ folder on the website.

April 5, 2021 3:58 PM EST we addressed a few cosmetic issues with v0.50, a sorting issue in player records displayed the games ascending rather than the latest first and a potential issue with vsp.php parser error with generating awards. v0.50 This now functions 100% as it was intended, error free. We are slowing the development of v0.51 due to time as this pandemic wines down. Tested with PHP 7.4.16 (development and production).

By Downloading V.S.P. you agree to the following:
Quote from: License Agreement
================================================================================
Disclaimer/Legal Info/License Agreement:
================================================================================

The Software is provided on an "AS IS" basis, without warranty of any kind,
including without limitation the warranties of merchantability, fitness for a
particular purpose and non-infringement. The entire risk as to the quality and
performance of the Software is borne by you. Should the Software prove
defective, you alone will assume the entire cost of any service and repair.
In addition, the security mechanisms implemented in VSP have inherent
limitations, and you must determine that the Software sufficiently meets your
requirements. This disclaimer of warranty constitutes an essential part of the
agreement.

This program is free for personal non-profit use only.

Commercial use is strictly prohibited.

Redistribution of modified modules/package is strictly prohibited.

If you plan to use this program for a sponsored/commercial event/website,
you must get written consent from the author.


You may:

    * customize the Software's design and operation to suit the internal needs
      of your web site
    * produce and distribute modification instructions, Themes or Skins provided
      that they contain notification that they were originally created by VSP.
    * create applications which interface with the operation of the Software
      provided said application is an original work

You may not:

    * permit other individuals to use the Software except under the terms listed
      here
    * reverse engineer, disassemble, or create derivative works based on the
      Software for distribution or usage outside your web site excluding those
      applications described here
    * modify and/or remove any copyright notices, links or labels on the Software
      on each page and in the header/footer of each script source file
    * distribute modified versions of the Software
    * distribute individual copies of files, libraries, or other programming
      material in the Software package
    * distribute or modify proprietary graphics, HTML, or CSS packaged with the
      Software for use in Software applications other than VSP or web sites
      without written permission from the author(s) of VSP.
    * use the Software in such as way as to condone or encourage terrorism,
      promote or provide pirated Software, or any other form of illegal or
      damaging activity


This Agreement will terminate automatically if you fail to comply with the
limitations described herein. On termination, you must destroy all copies of
the Software within 48 hours.

For questions, email krillinsworld AT gmail DOT com

Files will be provided in two formats. .ZIP and .7z as 7ZIP produces a smaller compressed file and is freeware as it is almost half the size of a zip.

Thank you for your interests in V.S.P. The Voodoo Stats Processor!
« Last Edit: April 05, 2021, 04:21:23 PM by Krillin »


Offline Krillin

  • Owner / Creator
  • Administrator
  • Full Member
  • *****
  • Posts: 124
  • Gender: Male
  • The Best Server's, EVA!
    • View Profile
    • Krillin's World
Re: vsp stats processor v0.50 [UPDATED 3/2/2021]
« Reply #1 on: March 01, 2021, 03:24:53 PM »
Learned of a slight typo which stopped VSP dead in it tracks. I have addressed this. There is another issue I am dealing with so the files were pulled. I am currently working on the issue but I am chasing down a ghost here.

Files have been reposted with the correct Function() call corrected. This function checked your PHP version number being as this requires version 7.0.0 or later.

I have gotten Xdebug working on my development machine and I was able to see any and all errors within the files as drawn within the browser. All these issues were addressed to get V.S.P. 95% error free in functionality. Updating PHP to 7.4.16 surfaced other issues. Performance for V.S.P is going to have to wait, as I have a lot more learning to do.

There is one last issue:
1) Must run vsp with SAVESTATE 1 or you will get a warning message with Illegal Offset String 'trackID' error. The fix is the same as the SAVESTATE issue, but if the string is placed in the script twice the 'savestate' and 'trackID' is ignored altogether.

0) It was also noted there is an issue with vsp-hl.php in line #97 fread is throwing a warning. This warning was only shown because there was a file in the folder (_YourLogFilesHere) that was EMPTY - 0 Bytes. So this is really nothing to worry about, but may write a code to check the file before processing it as soon as I figure out which variable to check.

Learned of an issue with the password with vsp in web mode. Any password could have been used to run. This was a missing '(' on line 1120. This has been corrected and all password checks work now. So if you downloaded v0.50 before 3/4/2021 at 5:30 PM Eastern then you will need to get the current posted download. Sorry for the mishap. I will keep updating issues as necessary.

I took this for a test run on PHP 8. And I got to say, it doesn't look good, it doesn't look good at all! I have WAMP as my development server with PHP 8.0.0 and 8.0.3 and I tested vsp in web mode, and every single file it was reading & processing had warnings and errors. This is not going to be pretty as we may be talking about a rewrite?! Perhaps the end of (BETA)? That depends on how much help I can get! As I stated, I am not a programmer and I do not know what PHP is doing nor do I understand why, but I am not afraid to tackle projects like this.

There were a hand full of typos in the code for the cosmetics but one mishap had to do with the VSP Version data bits which the /pub/ files pull from the database and it did not match. This was corrected. And I put a new enhancement feature in the /pub/ from the v0.51 release. If you downloaded this before 3/8/2021, I suggests you pull the latest set from above!

If you find any problems, please let me know.

Thanks,
Krillin
« Last Edit: March 08, 2021, 06:02:37 AM by Krillin »