PCS Game Hosting
 
  Forum Index    Search    Usergroups    Edit your profile    Members    Arcade    Ranks

 Reputation    Medals    Staff    Statistics    Board Rules    Forum FAQ    Private MessagesLogin, Check Messages    Log in 

Search for at
Soldier Of Fortune 2 Advanced Search

Goto page Previous  1, 2, 3  Next

Post new topicReply to topicprinter-friendly viewThank Post
   Soldier Of Fortune 2 Forum Index » Soldier Of Fortune 2 - Double Helix - SOF2 General Support » Sof2Logger
 View previous topic :: View next topic  
Author Message
Akademiks
Pro Poster
Pro Poster


In Game: aKademiks
Gender: Gender:Male
Joined: Feb 20, 2012
Last Visit: Jun 01, 2018
Age: 32
Posts: 29
Location: Norwich , UK
United Kingdom(Great Britain).png 
Reputation: 318.6
Medals: None

Status: Offline
PostPosted: Thu Apr 23, 2015 2:31 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

Here is the web config

Quote:
<?php
/**
* Copyright by Andre Lorbach | 2003, 2004!
* Modified by BBS||DeadEye 2005 - 2007 !
* Use this script at your own risk!
* ----------------------------------
* Stats Configuration File
*
* -> Configuration variables for the Webinterface
*
* All directives are explained within this file
*/

// --- Important Options!
$CFG['CommonBasePath'] = "/home/www/html/houseofpain" // If you have problems with teh base path, use this variable to
// overwrite the default one! For example
// (UNIX) "/home/www/html/mywebsite" or
// (WINDOWS) "C:/wwwsites/html/mywebsite".
$CFG['projectname'] = "UltraStats"; // This name is used to append into the base path as subdirectory where you have
// stored all UltraStats files Change this value if u prefer
// another name for the project, or if u got running ultrastats
// twice :)If you have the ultrastats files in the root dir,
// you can leave this field blank. (Default "")
$CFG['languagefile'] = "en"; // Set this to "en" or "de"
// ---

// --- Plugin Options
$CFG['ShowSig'] = 1; // If set to 1 u may have to edit config_sig.php . On 0 you disable the Signature
$CFG['ShowSigHTMLCode'] = 1; // If set to 1 it will show the HTML code of the signature on the players detail pages
$CFG['ShowSigBBCode'] = 1; // If set to 1 it will show the BB code of the signature on the players detail pages
// ---

// --- Frontend Style options
$CFG['StyleSheet'] = "default"; // Name of the stylesheetfile which is to be used.
$CFG['Extension'] = ".php"; // Default Fileextension for all link files
// ---

// --- General Frontend options
$CFG['MINKILLS'] = "0"; // Limit of players shown on main statistic page (Default "100")
$CFG['LIMIT1'] = "50"; // Limit of players shown on main statistic page (Default "50")
$CFG['LIMIT2'] = "25"; // Limit of players shown on weapon statistic page (Default "25")
$CFG['LIMIT3'] = "10"; // Limit of players shown in the target and victim list on the playerdetail page (Default "10")
$CFG['MINIMUM_PLAYING_TIME'] = "0"; // Mimimum Time (in seconds) a player played on your server (Default "3600")
// before shown on statistic page - default 2 hours
$CFG['MAX_PAGES_COUNT'] = "25"; // Max count of Pages (Player, weapon, servermaps List etc) (Default "25")
$CFG['ShowRandomChat'] = 1; // Show random chat message from game! (Default "1")
$CFG['Show_Medals_on_Player_Detail_Page'] = "1"; // Show earned Medals on playerdetails page (Default "1")
$CFG['Show_dgxBox_on_Player_Detail_Page'] = "1"; // Show some new things of the latest RoCMOD dgx (Default "1")
// ---

// --- Skill Calculating Options
$CFG['FlagsCount'] = "1"; // Factor for skill determination 10 Points /FlagCap (Default "10")
$CFG['FlagKillCount'] = "5"; // Factor for skill determination 5 Points /FlagDef (Default "5")
// Set this values to 0 to disable advanced skill determination
$CFG['BriefCount'] = "10"; // Factor for skill determination 10 Points /Briefcase (Default "10")
$CFG['BriefKillCount'] = "5"; // Factor for skill determination 5 Points /Briefcase Kill (Default "5")
// Set this values to 0 to disable advanced skill determination
$CFG['SacksCount'] = "10"; // Factor for skill determination 10 Points /SacksCap (Default "10")
$CFG['SacksKillCount'] = "5"; // Factor for skill determination 5 Points /SacksDef (Default "5")
// Set this values to 0 to disable advanced skill determination
$CFG['HeadshotCount'] = "2"; // Set this value to 0 to disable advanced skill determination (Default "2")
// ---

// --- Skill Calculating Options
$CFG['ShowFlags'] = 1; // Show / Hide Flags from Playerlist
$CFG['ShowFlagKill'] = 1; // Show / Hide Flag kills from Playerlist
$CFG['ShowSacks'] = 1; // Show / Hide Sacks from Playerlist
$CFG['ShowSacksKill'] = 1; // SHow / Hide Sacks kills from Playerlist
$CFG['ShowBriefcases'] = 1; // Show / Hide Briefcases from Playerlist
$CFG['ShowBriefcaseKill'] = 1; // SHow / Hide Briefcase kills from Playerlist
$CFG['ShowHeadshotKill'] = 1; // SHow / Hide Headshot kills from Playerlist
// ---

// --- Server display Variables
$CFG['ServerName'] = "House of Pain";
$CFG['ServerAdmin'] = "akademiks,scarz,lady,DimMakTzu";
$CFG['ServerAdminMail'] = "support@houseofpainserver.com";
$CFG['Clannametitle'] = "<HoP> House of Pain";
// ---

// --- MOD Support
$CFG['CustomGame'] = "ROC"; // Can be used to show additional things in UltraStats which
// are only available in some MODS. (Default "OSP")
// Currently the following MOD names can be used to active
// additional features
// OSP = orange smoothie productions
// ICS = INTERNATIONAL CRIME SYNDICATE
// ROC = Rocmod
// BBC = BBC Mod
$CFG['FixRoCMOD'] = "1"; // If you experiencing problems with the most kicked medal - use this option
$CFG['ROC_MsgFile'] = "voicecmds.cfg"; // If you use ROCMOD, this file contains all voice commands.
// Use the file must be located in the /web/include/ folder. By default, there
// is a file from version 0.7b.
// The file will be used to insert text in the chat lines everywhere @xx is used.
// ---

?>


and here is the other bit u wanted : http://www.houseofpainserver.com/phpinfo.php


Back to top
View user's profile Send private message Visit poster's website MSN Messenger Visit member's Facebook: aaron.s.smith.98
Sponsor
Smiley face
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Thu Apr 23, 2015 2:49 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

yep, that's what i wanted, i'll take a look into it when i have access to a pc but
Try using your Commonbasepath with this:
/home/qffzhnok/public_html

so it'll be something like this if you havent done that already;

$CFG['CommonBasePath'] = "/home/qffzhnok/public_html";


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Akademiks
Pro Poster
Pro Poster


In Game: aKademiks
Gender: Gender:Male
Joined: Feb 20, 2012
Last Visit: Jun 01, 2018
Age: 32
Posts: 29
Location: Norwich , UK
United Kingdom(Great Britain).png 
Reputation: 318.6
Medals: None

Status: Offline
PostPosted: Thu Apr 23, 2015 3:01 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

Legend mate!

Well that worked!

Cant load anything from http://www.houseofpainserver.com/UltraStats/web/content/index.php

but i can access some stats here : http://www.houseofpainserver.com/UltraStats/web/content/players.php

So looking at it there are alot of things that appear have not worked still but this is still as far as i have ever been with it before now


Back to top
View user's profile Send private message Visit poster's website MSN Messenger Visit member's Facebook: aaron.s.smith.98
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Thu Apr 23, 2015 4:35 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

If im not mistaking i remember that the " Blank page " was a webserver issue or a database access issue, which isnt related to the cms.
IT might also be wrong configuration, check the other files which you had to modify.

I'll try to setup one myself, to upload a proper one soon, without the bugs.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
Smiley face
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Dec 14, 2019
Age: 38
Posts: 1172
Location: Milan
Italy.png 
Reputation: 5497
votes: 7
Medals: 6 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Thu Apr 23, 2015 5:19 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

Snake wrote (View Post):


Cant load anything from http://www.houseofpainserver.com/UltraStats/web/content/index.php



which PHP version is running your webserver mate?


https://www.proclanservers.com  Pissed Off  Rent your SoF2 Server   Die!   Rock
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Thu Apr 23, 2015 5:30 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

Probably 5.0 or higher, and ultrastats is running on an older version, so errors may occur.

More people reported the " Blank Page " Back when the sof2 one was still supported and i think Delta was the one for the support, and said at the time that it was either a webserver issue or a database access problem.

Still tho, your error is better than mine, i found my old modified one, which ran properly.
I dunno why i stopped working on it but i think i couldnt take the problems anymore, xd.
1 issue solved, got a 1000 new issues.

Hidden: 

Change this variable if you are NOT going to use the content directory as root! $content[BASEWEB] = "../"; // ----------------------------------------------- // ----------------------------------------------- // Get BasePath and some some other default pathes // ----------------------------------------------- // LINUX workaround | and case sensitive workaround! if (($pos = strpos($_SERVER["SERVER_SOFTWARE"], "Unix")) !== false || ($pos = strpos($_SERVER["SERVER_SOFTWARE"], "UNIX")) !== false) { $ADD_ON = "/"; $SUBDIR = "/" . $projectname."/web/"; $SUBDIR2 = "/" . $projectname."/bin/"; if ($CFG['CommonBasePath'] === "") $CommonBasePath = str_replace($_SERVER['SCRIPT_NAME'], "", $_SERVER['PATH_TRANSLATED']); // New, get basepath for unix else $CommonBasePath = $CFG['CommonBasePath']; // User configured basepath manually } else { $ADD_ON = "/"; $SUBDIR = $projectname."/web"; $SUBDIR2 = $projectname."/bin"; if ($CFG['CommonBasePath'] === "") $CommonBasePath = str_replace(strtolower($_SERVER['SCRIPT_NAME']), "", $_SERVER['PATH_TRANSLATED']);// New, get basepath on Windows else $CommonBasePath = $CFG['CommonBasePath']; // User configured basepath manually } // Was Double-> replace with $CommonBasePath| // $DOCUMENT_ROOT = $_SERVER["DOCUMENT_ROOT"].$ADD_ON; $TMPLDIR = $CommonBasePath.$projectname.$ADD_ON."web".$ADD_ON."templates/"; $TEMPLATEBLOCKDIR = $CommonBasePath.$projectname.$ADD_ON."web".$ADD_ON."templates".$ADD_ON."blocks/"; $_CONFIG['smarttemplate_compiled'] = $TMPDIR ; $_CONFIG['smarttemplate_cache'] = $TMPDIR ; // ----------------------------------------------- // ----------------------------------------------- // DB CONNECT // ----------------------------------------------- $db= @mysql_connect($CFG['DBServer'],$CFG['User'],$CFG['Pass']) or die ("
Could not connect to Server
Please check config_db.php




"); $testdb = @mysql_select_db($CFG['DBName'],$db) or die ("Could not connect to Database
Please check config_db.php"); // ----------------------------------------------- // Create Template Object and set some variables for the templates // ----------------------------------------------- $page = new Template(); $page -> set_path ($TMPLDIR); $content['LIMIT1'] = $CFG['LIMIT1']; $content['LIMIT2'] = $CFG['LIMIT2']; // Added by Delta $content['STYLESHEET'] = $CFG['StyleSheet']; $content['EXTENSION'] = $CFG['Extension']; $allweapons = ""; // Used to hold a weapon name array (if necessary) // --- Checks for custom Mod support $content['MOD_NAME'] = $CFG['CustomGame']; // ----------------------------------------------- if ($CFG['ShowSig'] == 1) { $content['SHOW_SIG'] = true; } // GameType support | Can be disabled or enabled now if ($CFG['ShowFlags'] == 1) { $content['GT_FLAGCAPT_MENU'] = true; $content['GT_FLAGCAPT'] = true; } if ($CFG['ShowFlagKill'] == 1) { $content['GT_FLAGKILL_MENU'] = true; $content['GT_FLAGKILL'] = true; } if ($CFG['ShowSacks'] == 1) { $content['GT_SACKCAPT_MENU'] = true; $content['GT_SACKCAPT'] = true; } if ($CFG['ShowSacksKill'] == 1) { $content['GT_SACKKILL_MENU'] = true; $content['GT_SACKKILL'] = true; } if ($CFG['ShowBriefcases'] == 1) { $content['GT_BRIEFCAPT_MENU'] = true; $content['GT_BRIEFCAPT'] = true; } if ($CFG['ShowBriefcaseKill'] == 1) { $content['GT_BRIEFKILL_MENU'] = true; $content['GT_BRIEFKILL'] = true; } // ----------------------------------------------- // SKILL DETERMINATION STRING $SKILL_STRING = "(Kills - Deaths - Suicides - team_kills) + (Flags_capt * $CFG[FlagsCount]) + (Flags_killed * $CFG[FlagKillCount]) + (Briefcases * $CFG[BriefCount]) + (Briefcases_killed * $CFG[BriefKillCount])"; // ----------------------------------------------- ?>
Notice: Undefined index: SERVERNAME in D:\Games\webserver\root\ultrastats\web\content\index.php on line 7

Notice: Undefined index: SERVERADMIN in D:\Games\webserver\root\ultrastats\web\content\index.php on line 9

Notice: Undefined index: SERVERADMINMAIL in D:\Games\webserver\root\ultrastats\web\content\index.php on line 11

Notice: Undefined variable: CFG in D:\Games\webserver\root\ultrastats\web\content\index.php on line 15

Fatal error: Call to undefined function READ_ALL() in D:\Games\webserver\root\ultrastats\web\content\index.php on line 16


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Akademiks
Pro Poster
Pro Poster


In Game: aKademiks
Gender: Gender:Male
Joined: Feb 20, 2012
Last Visit: Jun 01, 2018
Age: 32
Posts: 29
Location: Norwich , UK
United Kingdom(Great Britain).png 
Reputation: 318.6
Medals: None

Status: Offline
PostPosted: Thu Apr 23, 2015 5:37 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

Teo wrote (View Post):

Snake wrote (View Post):


Cant load anything from http://www.houseofpainserver.com/UltraStats/web/content/index.php



which PHP version is running your webserver mate?


Not 100% sure but i know it's 5+

Punisher wrote (View Post):

Probably 5.0 or higher, and ultrastats is running on an older version, so errors may occur.

More people reported the &quot; Blank Page &quot; Back when the sof2 one was still supported and i think Delta was the one for the support, and said at the time that it was either a webserver issue or a database access problem.

Still tho, your error is better than mine, i found my old modified one, which ran properly.
I dunno why i stopped working on it but i think i couldnt take the problems anymore, xd.
1 issue solved, got a 1000 new issues.

Hidden: 

Change this variable if you are NOT going to use the content directory as root! $content[BASEWEB] = &quot;../&quot;; // ----------------------------------------------- // ----------------------------------------------- // Get BasePath and some some other default pathes // ----------------------------------------------- // LINUX workaround | and case sensitive workaround! if (($pos = strpos($_SERVER[&quot;SERVER_SOFTWARE&quot;], &quot;Unix&quot;)) !== false || ($pos = strpos($_SERVER[&quot;SERVER_SOFTWARE&quot;], &quot;UNIX&quot;)) !== false) { $ADD_ON = &quot;/&quot;; $SUBDIR = &quot;/&quot; . $projectname.&quot;/web/&quot;; $SUBDIR2 = &quot;/&quot; . $projectname.&quot;/bin/&quot;; if ($CFG['CommonBasePath'] === &quot;&quot;) $CommonBasePath = str_replace($_SERVER['SCRIPT_NAME'], &quot;&quot;, $_SERVER['PATH_TRANSLATED']); // New, get basepath for unix else $CommonBasePath = $CFG['CommonBasePath']; // User configured basepath manually } else { $ADD_ON = &quot;/&quot;; $SUBDIR = $projectname.&quot;/web&quot;; $SUBDIR2 = $projectname.&quot;/bin&quot;; if ($CFG['CommonBasePath'] === &quot;&quot;) $CommonBasePath = str_replace(strtolower($_SERVER['SCRIPT_NAME']), &quot;&quot;, $_SERVER['PATH_TRANSLATED']);// New, get basepath on Windows else $CommonBasePath = $CFG['CommonBasePath']; // User configured basepath manually } // Was Double-&gt; replace with $CommonBasePath| // $DOCUMENT_ROOT = $_SERVER[&quot;DOCUMENT_ROOT&quot;].$ADD_ON; $TMPLDIR = $CommonBasePath.$projectname.$ADD_ON.&quot;web&quot;.$ADD_ON.&quot;templates/&quot;; $TEMPLATEBLOCKDIR = $CommonBasePath.$projectname.$ADD_ON.&quot;web&quot;.$ADD_ON.&quot;templates&quot;.$ADD_ON.&quot;blocks/&quot;; $_CONFIG['smarttemplate_compiled'] = $TMPDIR ; $_CONFIG['smarttemplate_cache'] = $TMPDIR ; // ----------------------------------------------- // ----------------------------------------------- // DB CONNECT // ----------------------------------------------- $db= @mysql_connect($CFG['DBServer'],$CFG['User'],$CFG['Pass']) or die (&quot;
Could not connect to Server
Please check config_db.php




&quot;); $testdb = @mysql_select_db($CFG['DBName'],$db) or die (&quot;Could not connect to Database
Please check config_db.php&quot;); // ----------------------------------------------- // Create Template Object and set some variables for the templates // ----------------------------------------------- $page = new Template(); $page -&gt; set_path ($TMPLDIR); $content['LIMIT1'] = $CFG['LIMIT1']; $content['LIMIT2'] = $CFG['LIMIT2']; // Added by Delta $content['STYLESHEET'] = $CFG['StyleSheet']; $content['EXTENSION'] = $CFG['Extension']; $allweapons = &quot;&quot;; // Used to hold a weapon name array (if necessary) // --- Checks for custom Mod support $content['MOD_NAME'] = $CFG['CustomGame']; // ----------------------------------------------- if ($CFG['ShowSig'] == 1) { $content['SHOW_SIG'] = true; } // GameType support | Can be disabled or enabled now if ($CFG['ShowFlags'] == 1) { $content['GT_FLAGCAPT_MENU'] = true; $content['GT_FLAGCAPT'] = true; } if ($CFG['ShowFlagKill'] == 1) { $content['GT_FLAGKILL_MENU'] = true; $content['GT_FLAGKILL'] = true; } if ($CFG['ShowSacks'] == 1) { $content['GT_SACKCAPT_MENU'] = true; $content['GT_SACKCAPT'] = true; } if ($CFG['ShowSacksKill'] == 1) { $content['GT_SACKKILL_MENU'] = true; $content['GT_SACKKILL'] = true; } if ($CFG['ShowBriefcases'] == 1) { $content['GT_BRIEFCAPT_MENU'] = true; $content['GT_BRIEFCAPT'] = true; } if ($CFG['ShowBriefcaseKill'] == 1) { $content['GT_BRIEFKILL_MENU'] = true; $content['GT_BRIEFKILL'] = true; } // ----------------------------------------------- // SKILL DETERMINATION STRING $SKILL_STRING = &quot;(Kills - Deaths - Suicides - team_kills) + (Flags_capt * $CFG[FlagsCount]) + (Flags_killed * $CFG[FlagKillCount]) + (Briefcases * $CFG[BriefCount]) + (Briefcases_killed * $CFG[BriefKillCount])&quot;; // ----------------------------------------------- ?&gt;
Notice: Undefined index: SERVERNAME in D:\Games\webserver\root\ultrastats\web\content\index.php on line 7

Notice: Undefined index: SERVERADMIN in D:\Games\webserver\root\ultrastats\web\content\index.php on line 9

Notice: Undefined index: SERVERADMINMAIL in D:\Games\webserver\root\ultrastats\web\content\index.php on line 11

Notice: Undefined variable: CFG in D:\Games\webserver\root\ultrastats\web\content\index.php on line 15

Fatal error: Call to undefined function READ_ALL() in D:\Games\webserver\root\ultrastats\web\content\index.php on line 16



Lol glad its not just me mate!.


Back to top
View user's profile Send private message Visit poster's website MSN Messenger Visit member's Facebook: aaron.s.smith.98
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Thu Apr 23, 2015 7:00 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

i fixed my errors on the database part,

I made one of the stupiest mistakes i can make by changing every "type" into "engine", and forgetting that values could have "type" to,
so for example g_gametype change into g_gameengine, ammotype change into ammoengine etc...
Fixed that, and changed my root path ( forgot a map ), and the website works properly, the only problem im having is getting
the games.log properly transfered, as it wont recognize it.

http://bakasof2.comyr.com/ultrastats/web/content/index.php

I'll upload mine here soon, could you tell me how you got the logs properly inplented?
It keeps giving me the error that it cant find the file in path ../logfile/games.log


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
Akademiks
Pro Poster
Pro Poster


In Game: aKademiks
Gender: Gender:Male
Joined: Feb 20, 2012
Last Visit: Jun 01, 2018
Age: 32
Posts: 29
Location: Norwich , UK
United Kingdom(Great Britain).png 
Reputation: 318.6
Medals: None

Status: Offline
PostPosted: Thu Apr 23, 2015 7:11 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

Lol i just followed your guide mate and ran the /bin/update.php file , my location for the games.log is the same as yours.


I think i made the same mistake as you tho punisher in regards to changing every type into engine  Shocked  ... Im confused now tho , how many lines need to be changed to tge Engine option ?


Back to top
View user's profile Send private message Visit poster's website MSN Messenger Visit member's Facebook: aaron.s.smith.98
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Thu Apr 23, 2015 7:26 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

So i've uploaded mine with some changes and fixes.
http://www.sof2.org/modules.php?name=Downloads&op=getit&lid=603

On the download page you can see what i've changed. I've only noticed errors on the bin/update.php file, which are the filelog errors on a few lines.


---------

I dont have the tempfile.dat, If yours has generated one, could you send it to me, so i can test if it works correctly besides this issue.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Akademiks
Pro Poster
Pro Poster


In Game: aKademiks
Gender: Gender:Male
Joined: Feb 20, 2012
Last Visit: Jun 01, 2018
Age: 32
Posts: 29
Location: Norwich , UK
United Kingdom(Great Britain).png 
Reputation: 318.6
Medals: None

Status: Offline
PostPosted: Thu Apr 23, 2015 7:34 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

When i get back on the laptop later ill try it , will i need to delete all other files & database tables? And start fresh.?




Last edited by Akademiks on Thu Apr 23, 2015 7:55 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Visit member's Facebook: aaron.s.smith.98
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Thu Apr 23, 2015 7:35 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

nvm found out why, it wouldn auto transfer for me as i had it on 1, when 0 ( Which you probably have ), gave you the games.log from the web ftp.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
Smiley face
Akademiks
Pro Poster
Pro Poster


In Game: aKademiks
Gender: Gender:Male
Joined: Feb 20, 2012
Last Visit: Jun 01, 2018
Age: 32
Posts: 29
Location: Norwich , UK
United Kingdom(Great Britain).png 
Reputation: 318.6
Medals: None

Status: Offline
PostPosted: Thu Apr 23, 2015 7:59 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

Yeah i had mine set to "0"  Very Happy.

So punisher just to clarify ... You have uploaded the new updated version of ultrastats onto the downloads section.

Would it be best at this pount for me to delete the currentlt Ultrastats i have and re do them again from fresh?.
And with the updated version you have uploaded have tge 2 database files been edited with that "ENGINE" query updated?.

I have not said it yet mate but i really appreciate all your help & support with this mate Wink


Back to top
View user's profile Send private message Visit poster's website MSN Messenger Visit member's Facebook: aaron.s.smith.98
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Thu Apr 23, 2015 8:42 pm
PostPost subject: No icon Re: Sof2Logger
Reply with quote

i Shouldnt delete yours yet, i should rename it and upload mine, set the proper config to it and see if it'll work, as it worked properly for a free testing host, so it should work on yours too.


I've uploaded the original ultrastats 0.8.202 but i've made a few changes which fixes some errors i got during the installation and i've fixed the database, atleast if i havent missed something in that part, You first have to upload the db_template database and after that upload the update database.

I dont really bother doing this, i'm curious into the coding stuff such as html, php, css, js, java, perl, python, c, c+ etc..., so it's a good excercise for me to practise them by finding errors and fixing them. i'm not the best at it tho.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Akademiks
Pro Poster
Pro Poster


In Game: aKademiks
Gender: Gender:Male
Joined: Feb 20, 2012
Last Visit: Jun 01, 2018
Age: 32
Posts: 29
Location: Norwich , UK
United Kingdom(Great Britain).png 
Reputation: 318.6
Medals: None

Status: Offline
PostPosted: Fri Apr 24, 2015 8:38 am
PostPost subject: No icon Re: Sof2Logger
Reply with quote

Right im there with the template side of things now it appears punisher http://www.houseofpainserver.com/ultrastats/web/content/index.php

i run the bin/update.php and go vasrious other messages today but still nothing appears to update as such on the stats apart from a few minor things.

The medals on the main page dont appear to show players who have got them and when you click on a user on the list it is missing the hit locations and other information at the top ?

Am i doing somthing wrong at this point ?

the error i get from bin/update is ...

Quote:
Normal: RUNMODE = 2 | COMMAND = 1
Last logline was 13829
Normal: Opening Gamelogfile for counting the lines...
Normal: Closing Gamelogfile...
Normal: Opening Gamelogfile for parsing...
Normal: Player_ItemPickedUp - GameItem not counted, player is ALONE on Server!
Normal: Player_ItemPickedUp - GameItem not counted, player is ALONE on Server!
Normal: Player_ItemPickedUp - GameItem not counted, player is ALONE on Server!
Database error: Invalid SQL: SELECT ID FROM stats_votes WHERE TYPE = 3 AND Success = 1 AND command = 'mapcycle' AND value = ' ' limit 1 mysql error: Unknown column 'TYPE' in 'where clause' mysql error number: 1054 Date: 24.04.2015 @ 01:38 Script: /ultrastats/bin/update.php Referer:


Back to top
View user's profile Send private message Visit poster's website MSN Messenger Visit member's Facebook: aaron.s.smith.98
Display posts from previous:
Post new topicReply to topic printer-friendly viewThank Post Goto page Previous  1, 2, 3  Next
Soldier Of Fortune 2 Forum Index »  Soldier Of Fortune 2 - Double Helix - SOF2 General Support
 
Page 2 of 3
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Hi guys 12 Rockertjen 7107 Wed Dec 18, 2013 9:47 am
Punisher View latest post
No new posts Hey guys if anyone remembers playing with me hit me up 1 playdoh 3189 Thu Dec 05, 2013 9:07 am
Teo View latest post
No new posts Sup guys!!! 5 VenOm 5604 Thu Sep 12, 2013 12:01 pm
Hoffers View latest post
No new posts have a good week end guys....dont drink and drive.. 1 LilJoe 2928 Thu Aug 29, 2013 10:58 pm
Teo View latest post
No new posts hello guys! 1 crusher 2975 Sun May 26, 2013 8:25 pm
Teo View latest post
 




Back to Top

SOF2.ORG Multiplayer Community © 2019 All times are UTC + 2 Hours [DST enabled]
 

Copyright ©