Raised This Month: $18 Target: $400
 4% 

Latest PsychoStats working in PHP 7.x


Post New Thread Reply   
 
Thread Tools Display Modes
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-09-2021 , 07:17   Re: Latest PsychoStats working in PHP 7.x
Reply With Quote #11

ok, thank you for mantaining it
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Drek
Member
Join Date: Mar 2004
Old 03-09-2021 , 10:02   Re: Latest PsychoStats working in PHP 7.x
Reply With Quote #12

There's a lot of work that should be done on it to, especially, make it mobile friendly. I have looked at that, but that may be beyond my limited coding skills.
Drek is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-09-2021 , 17:07   Re: Latest PsychoStats working in PHP 7.x
Reply With Quote #13

Quote:
Originally Posted by Drek View Post
There's a lot of work that should be done on it to, especially, make it mobile friendly. I have looked at that, but that may be beyond my limited coding skills.
This shouldn't be such a hurry... it would be better to have a AMXX plugins that substracts details from Psychostats, on the fly stats, and show to player
Like: https://www.dark-arena.com/pstats/index.html
not shure how to achive this
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Drek
Member
Join Date: Mar 2004
Old 03-09-2021 , 21:24   Re: Latest PsychoStats working in PHP 7.x
Reply With Quote #14

I already added plugins that delete empty columns for unsupported data to PS. Stuff like hit locations or friendly fire, that aren't a part of every mod. I've also customized themes for specific mods, which can be used as a template for people to customize their own themes. You can also configure PS to stream stats so that they are almost live. I believe there is a ten minute delay or something of that nature, so they can't be used to gain intel on other players in a live game.

If you have a mod that supports an html motd, you can also use that to display PS in game. There is also an Adminmod plugin that is supposed to be able to do that.

I have no plans to add any features to PS. All I'm interested in doing is getting what's there working properly, and adding support for games that interest me.

Last edited by Drek; 03-09-2021 at 21:25.
Drek is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 09-26-2022 , 12:06   Re: Latest PsychoStats working in PHP 7.x
Reply With Quote #15

On using only the Blue theme a error appears when viewing a player from the list
Code:
Warning: Smarty error: unable to read resource: "default-blue/player_profile.html" in /usr/share/nginx/w3stats/includes/smarty/Smarty.class.php on line 1099
Tested with PHP 7.3 / 7.4 (on php8.1 doesn't work at all)


SOLVED!
Copy the player_profile.html from the "default" theme folder to "default-blue" and message has gone away.
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 09-26-2022 at 12:28. Reason: solved.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Drek
Member
Join Date: Mar 2004
Old 09-27-2022 , 19:01   Re: Latest PsychoStats working in PHP 7.x
Reply With Quote #16

That error makes no sense because that file isn't a part of the default-blue theme. It should be grabbing it from the default theme. Having said that, the project has officially been abandoned, but I have still done a fair bit of work to get it working on PHP8+. Most of the errors have been fixed, although I suspect there are still some lurking there.

https://github.com/Drek282/PsychoStats
Drek is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 09-28-2022 , 04:52   Re: Latest PsychoStats working in PHP 7.x
Reply With Quote #17

If you want i can show a image but still it;s the same, at least i solved it.
PHP8+?
PHP8.1 full of errors , even a page isn't displayed.

Don't know why im having 3.2.8b when latest on github is 3.2.7b :O i think it's a mistake somewere.

Those beeig said good luck to you.

Quick Q: is there any way of removing "Admin Control Panel" from bottom page ?
Thanks
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Drek
Member
Join Date: Mar 2004
Old 09-28-2022 , 08:07   Re: Latest PsychoStats working in PHP 7.x
Reply With Quote #18

There is an "official" release that was somewhat stable. That version is 3.2.7b. That version does *not* work with PHP8+. If you want the latest version, the version that mostly works with PHP8+, you need to download from the code section of the repo. The support for games has also been split into separate repos, so you will also need to download the support for the game from a separate repo. It's all in the README.

There's also a permissions setting that allows you to show the Admin link at the top of the page, vs. the bottom of the page.
Drek is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:53.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode