Re: [L4D & L4D2] Custom Player Stats v1.4B46
1 Attachment(s)
I do not have website; I am running this on localhost using PHP 5 and MySQL. Does this plugin absolutely require a webserver?
I have already edit the config.php. Error log is attached. I have tried running createtable.php through my web browser but it opens the file in notepad. Thanks for helping me out btw. |
Re: [L4D & L4D2] Custom Player Stats v1.4B46
Yes you need webserver to display statistics. Also thereis a php script to create needed database tables.
In other words. You need to run createtable.php or upgradetable.php from your webserver in order to create new tables or update existing. |
Re: [L4D & L4D2] Custom Player Stats v1.4B46
Quote:
The plugin and the webstats are not depending on each other, so you can have either of them running without the other. Both of them are depending on MySQL though and a correct version of stats DB. You have to have the DB fixed and ready for either of them to work. Easiest way to create the tables to the DB is by using the PHP-scripts. You can however, create the tables without the scripts. To do that, you'll have to examine the scripts and execute the queries manually from MySQL console. If you have installed the PHP, try opening the webstats folder to a command prompt and execute ./php createtable.php. Not sure if that works? You won't have the interface to browse your stats with the web interface, but you can start collecting data and see a little bit of it with the in-game stats interface... maybe this is your reason of not installing a web server? |
Re: [L4D & L4D2] Custom Player Stats v1.4B46
great job with this plugin "Muukis"
left 4 dead 2 SourceMod version 1.3.1 / Metamod: Source 1.8 But here it does not work. error log it appears that L 01/23/2010 - 19:14:54: [l4d_stats.smx] Databases.cfg missing 'l4dstats' entry! L 01/23/2010 - 19:14:54: [SM] Plugin encountered error 25: Call was aborted L 01/23/2010 - 19:14:54: [SM] Native "SetFailState" reported: Connecting to database failed. Read error log for further details. L 01/23/2010 - 19:14:54: [SM] Displaying call stack trace for plugin "l4d_stats.smx": L 01/23/2010 - 19:14:54: [SM] [0] Line 537, / home/groups/alliedmodders/forums/files/5/2/0/8/2/57698.attach: OnPluginStart ( ) the sm plugins list ] Sm plugins list [SM] Listing 18 plugins: 01 "Admin File Reader" (1.3.1-dev) by AlliedModders LLC 02 "Admin Help" (1.3.1-dev) by AlliedModders LLC 03 "Admin Menu" (1.3.1-dev) by AlliedModders LLC 04 "Anti-Flood" (1.3.1-dev) by AlliedModders LLC 05 "Basic Ban Commands" (1.3.1-dev) by AlliedModders LLC 06 "Basic Chat" (1.3.1-dev) by AlliedModders LLC 07 "Basic Comm Control" (1.3.1-dev) by AlliedModders LLC 08 "Basic Commands" (1.3.1-dev) by AlliedModders LLC 09 "Basic Info Triggers" (1.3.1-dev) by AlliedModders LLC 10 "Basic Votes" (1.3.1-dev) by AlliedModders LLC 11 "Client Preferences" (1.3.1-dev) by AlliedModders LLC 12 "Fun Commands" (1.3.1-dev) by AlliedModders LLC 13 "Fun Votes" (1.3.1-dev) by AlliedModders LLC 14 "Player Commands" (1.3.1-dev) by AlliedModders LLC 15 "Reserved Slots" (1.3.1-dev) by AlliedModders LLC 16 "Sound Commands" (1.3.1-dev) by AlliedModders LLC 17 <Error> "Custom Player Stats (1.4B46) by Mikko Andersson (Muuk) 18 Disabled: "nextmap" (1.3.1-dev) by AlliedModders LLC Load Errors: Custom Player Stats: Error detected in plugin startup (see error logs) the web interface ok but not the plugins fuinciona error here. but so far failed connection. I have a server apache 2 mysql 5 and php 5 linux ubuntu months if anyone can help please. :cry::cry::cry::cry::cry::cry: |
Re: [L4D & L4D2] Custom Player Stats v1.4B46
Quote:
|
Re: [L4D & L4D2] Custom Player Stats v1.4B46
Quote:
Is there any other way of executing the script? Or is it possible if you could manually upload those tables to me and I could just upload it to the server directory? |
Re: [L4D & L4D2] Custom Player Stats v1.4B46
Nice work on the plugin.
Got it working on 1st try, so good install guide too :) I do have one request though. Is it possible to add a time setting to the webstats? As in able to set the time shown on the webstats by either + or - hours? As my L4D2 server is in the UK, however the webpage hosting is somewhere in Europe. And due to that it's time is different from the server by +1 hour. So on the webstats pages it shows the last connected time like "Jan 24, 2010 4:59am (-2,740.00 seconds ago)" When the time I was last on was really 03:59. So due to that it makes players show as last online in the future. :) Thanks |
Re: [L4D & L4D2] Custom Player Stats v1.4B46
When setting up the database with the createtables.php, I get the following:
Code:
Maps table created successfully! So, I tried the command to clear the stats: sm_rank_clear This is what I got back: Code:
20:47:35 [RANK] Clear Stats: Started clearing the database! Any help is appriciated. I'm dropped the tables and started fresh, but still got that first error. Thanks! ;) |
Re: [L4D & L4D2] Custom Player Stats v1.4B46
Hi Muukis
Forget about my previous post. I managed to create the tables successfully! Just one last thing, how do I add full read/write permission or chmod 777 awards_cache file? |
Re: [L4D & L4D2] Custom Player Stats v1.4B46
Quote:
Ok, I manually added this table after finding it in the createtables.php file: Code:
CREATE TABLE `timedmaps` ( Any MySQL guru's out there? |
All times are GMT -4. The time now is 03:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.