• Welcome to K|W Gaming Community.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Krillin

#1
Downloads / Widescreen 16:10 Menus Offset Fixed
July 02, 2021, 08:59:01 AM
This WAS posted at steam community SEVERAL times, and several times it has been taken down. Due to file corruption from my hosting company. I am looking for a new one at this point!

Being as the Engineers / Developers are no longer doing anything to CS 1.6 or CZ these days. We had to come up with a solution for our Screen Interface for our games with a 16:10 RATIO. I am happy to say we did, and did so successfully.

Attached to this post below, fix_widescreen_alignments.zip, are all the files needed to fix the offsets MOTD + Menus for players with Widescreen 16:10 aspect ratio monitors.

If by some chance these files don't work for you, just delete them and they will go back to square one. (Use with caution with the new HD update in March of 2013, deleting these files can leave your interface blank.)

Place the contents of the /resource folder contained in the .zip file attachment into your "../../counter-strike/cstrike" or "../../condition-zero/czero" installation folder(s). Overwrite the existing files when needed, or make a backup copy of the originals.

You use these files at your own risk. But we assure you there isn't any risk at all. These files are modified from the counter-strike.gcf files delivered to you from steam. Only modified the specific Numeric Values to place the required items on our screens properly. Nothing is inserted into these files or contain anything extra.

Hope you enjoy the 2 days of dabbling around and 14 months of bullshit and runaround from STEAM's NON-TECH SUPPORT and LAME-O DBA's who conveniently lost my account between January and April of 2008 when we hadn't heard any progress of our findings! That is because steam conveniently deleted ALL support tickets on my and many others accounts.

Added screenshots of the layout for the Before MOTD/Select Team And After MOTD/Select Team.

Sincerely,
Krillin

Reason for Edit: Fixed the download, made it easier for players to unzip, cut & paste and go. The no hassle method. Added more info and link to steam forums, tested on Condition-Zero and past. Minor grammar and flow corrections. Updated Links seeing as Steampowered.com forum entries were DELETE/REMOVED (first one above). Re-posted in two forums this time around.

Our Apologies for those who are looking for this fix, we did not know the files were missing. This is now been resolved. 7/2/2021
#2
Help / Re: php is changing 7.2 gives errors [SOLVED]
March 03, 2021, 10:54:53 PM
So I thought this was a simple fix, but it was the wrong fix. This has been fully addressed properly according to PHP 7 documentation regarding this issue. Though Class and Function still cannot have the same names, there is a right fix for this and it has been implemented in V.S.P. v0.50 properly along with a lot of other fixes.

Thanks.
#3
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
#4
A second reply gave us a clue as to what was needed to in order to get the "savestate" function working once again. I believe this has broken since PHP 7 came out, we just never knew it.

At phpfreaks.com a user named "kicken" came back and said that the line where the issue was happening #979, needed to be replaced with;
$V0f14082c['parser-options']=array();

Well, I tired that. Nothing changed, except the error message went away. In verifying the /logdata/ folder, nothing was being created in it telling me this was not the fix. So I replaced the line #957 with the above. No change there either. I tired a few more other things, just taking some guesses and nothing seemed to work the way it needed to.

So, I stared at the screen for a few and thought to myself. Yes, it needs they array. So I added the given line above the problem line #979. Saved it, copied the saved file to the production server. Ran the file, and to my surprise, you see the information about Hash file not found. Two lines I have not seen in a very long time. The savestate function is working once again!

One user did warn that this may cause other issues. And he was right. Because this statement is only stated in the "parser-options" section, if SAVESTATE 1 is NOT ran, the error message appears with the 'trackID' now.

Thanks the two users are thanked for their assistance in the _Docs/ChangeLog.html file. (One of the changes coming to vsp-core_v0.50).

Best Regards,
Krillin
#5
Was given a first attempt to fix this, but the solution was to change a line to code that is already posted on line #957 of vsp.php.

$V0f14082c['parser-options']="";

Back to waiting for another response, even though the function was posted with the line in there.

Krillin
#6
I reached out to the wonderful people at phpfreaks.com for assistance. I will post back here for the record.

phpfreaks.com
#7
Help / PHP Warning: Illegal string offset [SOLVED]
February 19, 2021, 11:19:27 AM
First off, I am NOT a programmer, but I have no problem diving into anything when it comes to web code. But for a few weeks I have been tracking down a few unknown issues and I do not know where to get help except here.

I have researched the "PHP Illegal String Offset" and thought the offset was caused by an array set as an string. But the string is not set in the array for the savestate (see below). I have not started tracking down the 'trackID' issue yet. Savestate is really important function as it prevents log files from being run for player stats a second time. Saving the savestate in a database is a very dumb idea for those who have log files for every map change like in HL1 - CS or CZ or HL2 CS:S and CSGO game mods like we do. I am stuck and cannot find or figure out a solution for these issues.

Here are the problems I am trying to solve to get the new version out. There are two warnings issued with VSP 0.50 and PHP v7.3.27, this could also bring VSP into PHP 8.0.2 (I hope). I will test PHP 8 after this is solved first.

Quote from: VSP.PHP CLIPHP Warning:  Illegal string offset 'savestate' in vsp.php on line 979
here is line 979.
$V0f14082c['parser-options'][$V51d3ee44['argv'][$V363b122c]]=$V51d3ee44['argv'][$V363b122c+1];

Here is the function this traces to:
function F92261ca6()
{
    global $V51d3ee44;
    if (cIS_SHELL) {
        if (!isset($_SERVER['argc'])) {
            echo "Error: args not registered.\n";
            echo " register_argc_argv may need to be set to On in shell mode\n";
            echo " Please edit your php.ini and set variable register_argc_argv to On\n";
            F56fd05e9();
        }
        $V51d3ee44['argv']=$_SERVER['argv'];
        $V51d3ee44['argc']=$_SERVER['argc'];
    } else {
        $V4f96c5a0=$_POST['V70e78261'];
        if (get_magic_quotes_gpc()) {
            $V4f96c5a0=stripslashes($V4f96c5a0);
        }
        $V51d3ee44=F126ba7b1("vsp.php ".$V4f96c5a0);
    }
    global $V0f14082c;
    $V0f14082c['parser-options']="";
    $V0f14082c['prompt']=1;
    if ($V51d3ee44['argc']>1) {
        for ($V865c0c0b=1;$V865c0c0b<$V51d3ee44['argc']-1;$V865c0c0b++) {
            if (strcmp($V51d3ee44['argv'][$V865c0c0b], "-a")==0) {
                $V865c0c0b++;
                $V0f14082c['action']=$V51d3ee44['argv'][$V865c0c0b];
                if ($V0f14082c['action']!='clear_db') {
                    Facf3bf61("error: invalid action");
                }
                break;
            }
            if (strcmp($V51d3ee44['argv'][$V865c0c0b], "-n")==0) {
                $V0f14082c['prompt']=0;
                continue;
            }
            if ($V865c0c0b+1 > $V51d3ee44['argc']-2) {
                Facf3bf61("error: no value specified for option ".$V51d3ee44['argv'][$V865c0c0b]);
            }
            if (strcmp($V51d3ee44['argv'][$V865c0c0b], "-p")==0) {
                $V865c0c0b++;
                for ($V363b122c=$V865c0c0b;$V363b122c<$V51d3ee44['argc']-1;$V363b122c=$V363b122c+2) {
                    $V0f14082c['parser-options'][$V51d3ee44['argv'][$V363b122c]]=$V51d3ee44['argv'][$V363b122c+1]; //This is link 979
                }
                break;
            } elseif (strcmp($V51d3ee44['argv'][$V865c0c0b], "-c")==0) {
                $V865c0c0b++;
                $V0f14082c['config']=$V51d3ee44['argv'][$V865c0c0b];
            } elseif (strcmp($V51d3ee44['argv'][$V865c0c0b], "-l")==0) {
                $V865c0c0b++;
                $V0f14082c['log-gamecode']=$V51d3ee44['argv'][$V865c0c0b];
                $V0f14082c['log-gametype']='';
                if (preg_match("/(.*)-(.*)/", $V0f14082c['log-gamecode'], $Vb74df323)) {
                    $V0f14082c['log-gamecode']=$Vb74df323[1];
                    $V0f14082c['log-gametype']=$Vb74df323[2];
                    $V0f14082c['parser-options']['gametype']=$V0f14082c['log-gametype'];
                }
            } else {
                Facf3bf61("error: invalid option ".$V51d3ee44['argv'][$V865c0c0b]);
            }
        }
    } else {
        Facf3bf61("error: logfile not specified");
    }
    $V0f14082c['logfile']=$V51d3ee44['argv'][$V51d3ee44['argc']-1];
    if (!isset($V0f14082c['action'])) {
        if (!isset($V0f14082c['logfile'])) {
            Facf3bf61("error: logFile not specified");
        }
        if (!isset($V0f14082c['log-gamecode'])) {
            Facf3bf61("error: logType not specified");
        }
    }
    $V55d5b418="pub/configs/";
    if (!isset($V0f14082c['config']) || preg_match("/\\.\\./", $V0f14082c['config']) || !is_file($V55d5b418.$V0f14082c['config'])) {
        $V0f14082c['config']=$V55d5b418."cfg-default.php";
    } else {
        $V0f14082c['config']=$V55d5b418.$V0f14082c['config'];
    }
    echo "max_execution_time is ".ini_get("max_execution_time")."\n\n";
    echo "[command-line options]: ";
    print_r($V0f14082c);
    if (isset($V0f14082c['parser-options']['savestate']) && $V0f14082c['parser-options']['savestate']) {
        $Vb3521e13="writetest_".md5(uniqid(rand(), true));
        $V2880b5ba = fopen('./logdata/'.$Vb3521e13, "wb");
        if (!$V2880b5ba || !fwrite($V2880b5ba, "* WRITE TEST *\n")) {
            echo "Error: savestate 1 processing requires logdata/ directory to be writable.\n";
            echo " Enable write permissions for logdata/ directory (chmod 777)\n";
            F56fd05e9();
        }
        fclose($V2880b5ba);
        unlink("logdata/$Vb3521e13");
    }
}


I did a var_dump in the variable used in $V0f14082c and the savestate option is NOT in the array (and I am thinking it should be), the savestate option is in the variable $V51d3ee44[5]. The fact the savestate variable is NOT in $V0f14082c array has me concerned as this is supposed to be passed from parserOptions from the CLI, and the array prints out as "savestate => 0" when "savestate 1" was passed to vsp and I DO NOT know how to get the option in $V0f14082c.

var_dump($V0f14082c);
array(6) {
  'parser-options' =>
  string(1) "g"
  'prompt' =>
  int(1)
  'log-gamecode' =>
  string(2) "hl"
  'log-gametype' =>
  string(0) ""
  'logfile' =>
  string(6) "./logs"
  'config' =>
  string(27) "pub/configs/cfg-default.php"
}

var_dump($V51d3ee44);
array(2) {
  'argv' =>
  array(7) {
    [0] =>
    string(7) "vsp.php"
    [1] =>
    string(2) "-l"
    [2] =>
    string(2) "hl"
    [3] =>
    string(2) "-p"
    [4] =>
    string(9) "savestate"
    [5] =>
    string(1) "1"
    [6] =>
    string(6) "./logs"
  }
  'argc' =>
  int(7)
}

var_dump($V865c0c0b)
NULL

var_dump($V363b122c)
NULL


Quote from: VSP.PHP CLIPHP Warning:  Illegal string offset 'trackID' in vsp.php on line 1038
here is line 1038

$V0f14082c['parser-options']['trackID']=$GLOBALS['cfg']['parser']['trackID'];

Here is the function this traces back to:
function F68c076b3()
{
    global $V0f14082c;
    global $V51d3ee44;
    require_once($V0f14082c['config']);
    if (preg_match("/^ftp:\\/\\//i", $V0f14082c['logfile'])) {
        $V0f14082c['logfile']=Fd2c39001($V0f14082c['logfile']);
    }
    $V0f14082c['parser-options']['trackID']=$GLOBALS['cfg']['parser']['trackID']; // This is link 1038
    if (isset($GLOBALS['cfg']['db']['adodb_path'])) {
        $GLOBALS['cfg']['db']['adodb_path']=F9578dd1f($GLOBALS['cfg']['db']['adodb_path']);
    } else {
        $GLOBALS['cfg']['db']['adodb_path']=F9578dd1f(Ce5c65ec5).'pub/lib/adodb/';
    }
    require_once("{$GLOBALS['cfg']['db']['adodb_path']}".'adodb.inc.php');
    include_once("{$GLOBALS['cfg']['db']['adodb_path']}".'tohtml.inc.php');
    require_once("sql/{$GLOBALS['cfg']['db']['adodb_driver']}.inc.php");
    include_once("pub/include/playerBanList-{$GLOBALS['cfg']['player_ban_list']}.inc.php");
    foreach ($GLOBALS['player_ban_list'] as $V7fa3b767 => $V36190f8a) {
        $GLOBALS['player_ban_list'][$V7fa3b767]="/^".preg_quote($V36190f8a)."$/";
    }
    $GLOBALS['V9c1ebee8'] = &ADONewConnection($GLOBALS['cfg']['db']['adodb_driver']);
    global $V9c1ebee8;
    if (!$V9c1ebee8->Connect($GLOBALS['cfg']['db']['hostname'], $GLOBALS['cfg']['db']['username'], $GLOBALS['cfg']['db']['password'], $GLOBALS['cfg']['db']['dbname'])) {
        echo "Attempting to create/connect to database {$GLOBALS['cfg']['db']['dbname']}\n";
        $GLOBALS['V9c1ebee8'] = null;
        $GLOBALS['V9c1ebee8'] = &ADONewConnection($GLOBALS['cfg']['db']['adodb_driver']);
        global $V9c1ebee8;
        $V9c1ebee8->Connect($GLOBALS['cfg']['db']['hostname'], $GLOBALS['cfg']['db']['username'], $GLOBALS['cfg']['db']['password']);
        $V9c1ebee8->Execute($sql_create[0]);
        if (!$V9c1ebee8->Connect($GLOBALS['cfg']['db']['hostname'], $GLOBALS['cfg']['db']['username'], $GLOBALS['cfg']['db']['password'], $GLOBALS['cfg']['db']['dbname'])) {
            echo " - failed to create/connect to database {$GLOBALS['cfg']['db']['dbname']}\n";
            F56fd05e9();
        }
        echo " - database created\n";
    }
    if (isset($V0f14082c['action']) && $V0f14082c['action']=="clear_db") {
        if (cIS_SHELL && $V0f14082c['prompt']) {
            echo "Are you sure you want to clear the database {$GLOBALS['cfg']['db']['dbname']} @ {$GLOBALS['cfg']['db']['hostname']}? (y/n)\n";
            Fa10803e1();
            $Vd0cf705f=Fd63c38c9();
        } else {
            $Vd0cf705f='y';
        }
        if ($Vd0cf705f=='y' || $Vd0cf705f=='Y') {
            foreach ($sql_destroy as $V7fa3b767 => $Vac5c74b6) {
                $V9c1ebee8->Execute($Vac5c74b6);
            }
            print "{$GLOBALS['cfg']['db']['table_prefix']}* tables in {$GLOBALS['cfg']['db']['dbname']} @ {$GLOBALS['cfg']['db']['hostname']} has been cleared\n";
        }
        Fa3e3aec1();
    }
    foreach ($sql_create as $V7fa3b767 => $Vac5c74b6) {
        if ($V7fa3b767==0) {
            continue;
        }
        $V9c1ebee8->Execute($Vac5c74b6);
    }
    $V9c1ebee8->SetFetchMode(ADODB_FETCH_NUM);
    if (!is_dir("pub/games/{$GLOBALS['cfg']['game']['name']}")) {
        echo "Error: The variable \$cfg['game']['name'] is not set properly in config file.\n";
        echo " Edit your config file ({$V0f14082c['config']})\n";
        echo " Read the comments beside that variable and set that variable properly.\n";
        F56fd05e9();
    }
    if (!file_exists("vsp-{$V0f14082c['log-gamecode']}.php")) {
        Facf3bf61("error: unrecognized logType");
    }
    require_once("vsp-{$V0f14082c['log-gamecode']}.php");
    include_once("pub/games/{$GLOBALS['cfg']['game']['name']}/skillsets/{$GLOBALS['cfg']['skillset']}/{$GLOBALS['cfg']['skillset']}-skill.php");
    if (!isset($GLOBALS['skillset'])) {
        echo "Skill Definitions not found.\n";
        echo " "."pub/games/{$GLOBALS['cfg']['game']['name']}/skillsets/{$GLOBALS['cfg']['skillset']}/{$GLOBALS['cfg']['skillset']}-skill.php"."\n";
    }
    $V21d8a920 = new F622a322a();
    $Vae2aeb93 = new F02ac4643();
    $V8db265ff=strtoupper($V0f14082c['log-gamecode']);
    eval("\$V3643b863 = new VSPParser$V8db265ff(\$V0f14082c['parser-options'],\$V21d8a920,\$Vae2aeb93);");
    $V3643b863->F1417ca90($V0f14082c['logfile']);
    $V21d8a920->F215f9169();
}


trackID above is pending as this is passed with $cfg from the default config file even though it seems to be okay as the GUID we are testing logs with are present in the player database accordingly.

Krillin
#8
Help / Re: php is changing 7.2 gives errors
September 13, 2020, 08:44:40 PM
Quote from: Krillin on December 13, 2018, 08:32:11 AM
Quote from: JohnDory on November 12, 2018, 08:20:44 AM
PHP has been updated, now we have to use v7.2 and get the following errors [24-Oct-2018 17:57:09 UTC][24-Oct-2018 17:57:10 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; VSPParserWET has a deprecated constructor in /home/harry/public_html/et/stats/hh/vsp-wet.php on line 2

[24-Oct-2018 17:57:10 UTC] PHP Warning:  Use of undefined constant UTC - assumed 'UTC' (this will throw an Error in a future version of PHP) in /home/harry/public_html/et/stats/hh/vsp.php on line 401


Any chance of a fix ?
Sorry or the delay. But the error messages you are showing here are NOT critical to the functionality of the engine. The error message is just a warning of a depreciated (soon to be disabled) function. I will look into the issue. Thank you for the information.

Krillin
Wow, this proved to be an easy fix. The first error was simple, but with nothing to work with, I cannot be certain this fix will work. Basically this is broken down to the fact that in PHP7 Class and Functions cannot have the same name, so the function was shortened and renamed being as a function is set on a per mod bases where as a class is a variable set globally so changing the function name should prove to be harmless.

As for the second issue listed here indicates an issue with php.ini which is the server configuration of the timezone. This is not an error I can address using a module. The coding is proper as it is used to generate a "timestamp" for when the logs were ran or updated. If you are on a host normally users can create their own php.ini files to set certain settings for their liking.

There needs to be more done to the code to bring this module up to date and bring the browser rendering up to HTML5 standards. So please give me some time to address this last part so that I can post the v0.49 accoridingly.

vsp_core_v0.49 to be published with these addressed. If there are any issues please let me know and I will address them, if the problem is solved, please mark this [SOLVED] in the title. If I do not hear back within a month, I will make this change myself.

Best Reagrds,
Krillin
#9
Help / Re: php is changing 7.2 gives errors
September 08, 2020, 02:43:32 PM
Quote from: JohnDory on December 07, 2018, 04:24:15 PM
Anyone any idea's how to fix it ?
if not we'll have to find another stats system.

I am happy to report that I am currently working on this issue to come out with the v0.49 release. Sorry this has taken so long, but upgrading my install was more of a problem.

Look for the update with this fix very soon.

Best Regards,
Krillin
#10
Help / Re: php is changing 7.2 gives errors
December 13, 2018, 08:32:11 AM
Quote from: JohnDory on November 12, 2018, 08:20:44 AM
PHP has been updated, now we have to use v7.2 and get the following errors [24-Oct-2018 17:57:09 UTC][24-Oct-2018 17:57:10 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; VSPParserWET has a deprecated constructor in /home/harry/public_html/et/stats/hh/vsp-wet.php on line 2

[24-Oct-2018 17:57:10 UTC] PHP Warning:  Use of undefined constant UTC - assumed 'UTC' (this will throw an Error in a future version of PHP) in /home/harry/public_html/et/stats/hh/vsp.php on line 401


Any chance of a fix ?
Sorry or the delay. But the error messages you are showing here are NOT critical to the functionality of the engine. The error message is just a warning of a depreciated (soon to be disabled) function. I will look into the issue. Thank you for the information.

Krillin
#11
Downloads / HLStatsX: CE 1.6.3 UPDATED 1/31/2021
October 29, 2016, 02:33:18 AM
It has come to our attention that the continuation of HLStatsX: CE 1.6.19 has become stagnate and nonfunctional over the past few years. I have forked a second version of HLStatsX:CE v1.6.3 (a continuation if you will). I have been asked by server admins from alliedmodders.net if I would be kind enough to share my functioning versions with them. So I have and here it is.

This program is another author's work. I / We take no credit for the creation of the work, only patching and fixing for the continuation of the module to run error free with the software which powers them. Therefore, this module is provided AS IS and under no circumstances do I / we accept any damages done by using this module. This module was only edited to fix a non-functioning application to functioning. Nothing more, nothing less.

The promise is this module doesn't have any trickery or hacks contained within these files provided as I / we are and always have been ethical in our practices. I / We use this same software on our servers and website. If problems should arise from updates breaking these plugins, I / We will attempt to research and resolve the issue(s) and continue to update this module package. You use this software at your own  risk!

This download is available in two formats. 7z for 7Zip and Zip. 7zip was used to compress BOTH files to get them as small as possible for downloading. There aren't any instructions to be found on how to install this so experience is required.

REGISTRATION IS not REQUIRED to download but is required to report any issues to the maintainer.
#12
Searching the internet to find out what settings are OKAY to change and which ones are not, I came across an article which lead to another. I found it probable and likely at PCGAMER.COM so I decided to document this and make some notes of incorrect data here. You can check out their article above or continue reading this constantly updated document as we discover tips and tricks here.

Add these launch options to your launch parameters in Steam:
-novid -console -high -threads 4

These commands disable the intro, enable the console, set the process affinity to high, and grant your cores to CS:GO, even though technically Source can only use 3 threads.

Video Settings For CS:GO

Edit these settings in your config.cfg file.

Disable first-person tracers. Enemy tracers are still drawn.
r_drawtracers_firstperson Set to "0"

The brighter the better so you can illuminate enemies.
mat_monitorgamma Set to "2.1"

Auto-detect multi-core rendering (This setting doesn't seem to exist in the config file, but is already set to setting below?)
mat_queue_mode "-1"

Add this line to write video settings to the registry.
mat_savechanges

Forces the game to load all the sound and art assets on map load. This can help you if you experience stuttering when certain sounds go off, such as throwing a grenade into a bunch of props
cl_forcepreload "1"

disables those annoying ads when connecting to a server
cl_disablehtmlmotd "1"

Disables automatically switching to a primary gun you pick up off the ground so you don't draw an unloaded weapon (Optional)
cl_autowepswitch "0"

Disables the annoying freeze on death so you can make proper calls to your team mates (Optional)
cl_disablefreezecam "1"


Network Settings
These network settings are the most important commands you will type into your config file.

cl_interp "0" (This command is NOT in the config file, but it is OK to add it in.)
cl_cmdrate "128"
cl_updaterate "128"


Add this line into you autoexec.cfg file. If it doesn't exist, create it. Just be sure you are able to see the file extensions. Such as ".CFG", if you do not, then you do not have them enabled in your OS.
rate "128000"
#13
Help / [SOLVED] VSP against your log files
January 29, 2014, 01:56:03 PM
This issue has been addressed in VSP 0.475.

If you are running this from a website, you should stage two different areas. One for public the /pub/ folder and one for admin to run log files against from web site /runstats/ (without the /pub/ folder within the structure).
#14
Some may have noticed, but there is a big problem with the CS:GO gamemodes_server.txt.example file from VALVe / Steam content servers. This file is simply hosed up in the worst possible way. So, I have complied a fix from our own servers along with the new changes made in the stated file. I left our custom changes in there, mainly our map rotation for Classic and Competitive modes. You can find this in our download section right HERE for your convenience. The file is named gamemodes_server.txt and is set for default settings except the above changes with the new maps for CS:GO at the time of this post.

Again, visit our download section and find the gamemodes_server.txt here; http://www.krillinsworld.us/forum/index.php/topic,195.0.html and the attached file.

Best Regards,
Krillin

Or for those who do not want to go to our download section and get the file, here is the contents of the file. I originally wanted to call the file "gamemodes_server.example.txt" to avoid any confusion with extensions and avoid the morons from OVERWRITING the newly formed file. I will update as needed IF needed. (You know how they change things with our servers).
Code (gamemodes_server.txt) Select
// To use this file rename it from gamemodes_server.example.txt to gamemodes_server.txt
//
// Values here override the default gamemodes.txt

////////////////////////////////////////////////////////////////////////////////////////////////
//
// This verion of the defunked gamemodes_server.txt.example renamed gamemodes_server.example.txt
// for easier editing and renaming for extentions.
// This file was kindly provided by the owner / developer, Krillin, of KrillinsWorld.us
//
////////////////////////////////////////////////////////////////////////////////////////////////


"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{

"casual"
{

"maxplayers" "30" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
"exec"
{
// Any config files listed here will be executed after the ones in gamemodes.txt.
"exec" "server_last.cfg"
}

// Map groups for online modes
"mapgroupsMP"
{
"mg_bomb" ""
"mg_hostage" ""
"mg_dust" ""
"mg_bomb_se" ""
"mg_custom" "" // To use this change your server launch script or batch to +mapgroup mg_custom +map de_dust2
}
}

"competitive"
{
"maxplayers" "11" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
"exec"
{
// Any config files listed here will be executed after the ones in gamemodes.txt.
"exec" "server_last.cfg"
}

// Map groups for online modes
"mapgroupsMP"
{
"mg_bomb" ""
"mg_hostage" ""
"mg_dust" ""
"mg_bomb_se" ""
"mg_custom" "" // To use this change your server launch script or batch to +mapgroup mg_custom +map de_dust2
}
}
}
}
"gungame"
{
// This is the list of game modes supported by this game type.
"gameModes"
{
"gungameprogressive"
{

"maxplayers" "10" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
"exec"
{
// Any config files listed here will be executed after the ones in gamemodes.txt.
"exec" "server_last.cfg"
}

// Map groups for online modes
"mapgroupsMP"
{
"mg_armsrace" ""
}

"no_reset_vote_threshold_ct" "knife"
"no_reset_vote_threshold_t" "knife"

"weaponprogression_ct"
{
"mp9" { "kills" "2" }
"mac10" { "kills" "2" }
"mp7" { "kills" "2" }
"bizon" { "kills" "2" }
"ump45" { "kills" "2" }
"p90" { "kills" "2" }
"nova" { "kills" "2" }
"mag7" { "kills" "2" }
"xm1014" { "kills" "2" }
"sawedoff" { "kills" "2" }
"galilar" { "kills" "2" }
"famas" { "kills" "2" }
"ak47" { "kills" "2" }
"m4a1" { "kills" "2" }
"sg556" { "kills" "2" }
"aug" { "kills" "2" }
"awp" { "kills" "2" }
"m249" { "kills" "2" }
"negev" { "kills" "2" }
"glock" { "kills" "2" }
"hkp2000" { "kills" "2" }
"tec9" { "kills" "2" }
"p250" { "kills" "2" }
"deagle" { "kills" "2" }
"fiveseven" { "kills" "2" }
"elite" { "kills" "2" }
"knifegg" { "kills" "1" }
}

"weaponprogression_t"
{
"mp9" { "kills" "2" }
"mac10" { "kills" "2" }
"mp7" { "kills" "2" }
"bizon" { "kills" "2" }
"ump45" { "kills" "2" }
"p90" { "kills" "2" }
"nova" { "kills" "2" }
"mag7" { "kills" "2" }
"xm1014" { "kills" "2" }
"sawedoff" { "kills" "2" }
"galilar" { "kills" "2" }
"famas" { "kills" "2" }
"ak47" { "kills" "2" }
"m4a1" { "kills" "2" }
"sg556" { "kills" "2" }
"aug" { "kills" "2" }
"awp" { "kills" "2" }
"m249" { "kills" "2" }
"negev" { "kills" "2" }
"glock" { "kills" "2" }
"hkp2000" { "kills" "2" }
"tec9" { "kills" "2" }
"p250" { "kills" "2" }
"deagle" { "kills" "2" }
"fiveseven" { "kills" "2" }
"elite" { "kills" "2" }
"knifegg" { "kills" "2" }
}
}

"gungametrbomb"
{

"maxplayers" "10" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
"exec"
{
// Any config files listed here will be executed after the ones in gamemodes.txt.
"exec" "server_last.cfg"
}

// Map groups for online modes
"mapgroupsMP"
{
"mg_demolition" ""
}

"weaponprogression_ct"
{
"m4a1" { "kills" "1" }
"p90" { "kills" "1" }
"ump45" { "kills" "1" }
"deagle" { "kills" "1" }
"nova" { "kills" "1" }
"fiveseven" { "kills" "1" }
"hkp2000" { "kills" "1" }
"ssg08" { "kills" "1" }
"awp" { "kills" "1" }
"Scar20" { "kills" "1" }
}

"weaponprogression_t"
{
"ak47" { "kills" "1" }
"p90" { "kills" "1" }
"bizon" { "kills" "1" }
"deagle" { "kills" "1" }
"nova" { "kills" "1" }
"p250" { "kills" "1" }
"glock" { "kills" "1" }
"ssg08" { "kills" "1" }
"awp" { "kills" "1" }
"g3sg1" { "kills" "1" }
}
}
}
}
}

//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////

"mapgroups"
{
"mg_bomb_se" // mapgroup definition
{
"name" "mg_bomb_se"
"maps"
{
"de_dust_se" ""
"de_dust2_se" ""
"de_nuke_se" ""
"de_train_se" ""
"de_inferno_se" ""
"de_aztec_se" ""
}
}

"mg_custom" // mapgroup definition
{
"name" "mg_custom"
"maps"
{
"cs_agency" ""
"cs_assault" ""
"cs_italy" ""
"cs_militia" ""
"cs_office" ""
"cs_siege" ""
"de_ali" ""
"de_aztec" ""
"de_cache" ""
"de_chinatown" ""
"de_dust" ""
"de_dust2" ""
"de_gwalior" ""
"de_inferno" ""
"de_mirage" ""
"de_nuke" ""
"de_ruins" ""
"de_seaside" ""
"de_shorttrain" ""
"de_train" ""
"de_vertigo" ""
}
}

"mg_hostage"
{
"name" "mg_hostage"
"maps"
{
"cs_office" ""
"cs_italy" ""
}
}

"mg_bomb"
{
"name" "mg_bomb"
"maps"
{
"de_dust2" ""
"de_train" ""
"de_inferno" ""
"de_dust" ""
"de_aztec" ""
"de_nuke" ""
}
}

"mg_dust"
{
"name" "mg_dust"
"maps"
{
"de_dust" ""
"de_dust2" ""
}
}

"mg_armsrace"
{
"name" "mg_armsrace"
"maps"
{
"ar_shoots" ""
"ar_baggage" ""
}
}

"mg_demolition"
{
"name" "mg_demolition"
"maps"
{
"de_lake" ""
"de_stmarc" ""
"de_sugarcane" ""
"de_bank" ""
"de_safehouse" ""
"de_shorttrain" ""
}
}
}
}
#15
Downloads / GameModes_Server.txt
November 25, 2013, 12:38:56 AM
Chances are you came from forums.steampowered.com where the URL for this file is posted. Also where I have been a member since 8/2004 when we were all forced to go to steam for CS 1.6 upgrades after dropping support for CS 1.5. And the topic URL is http://forums.steampowered.com/forums/showthread.php?t=3202729 you came here for a reason. To fix a file hosed up by steam / valve content servers to get players back in your server(s). The file gamemodes_server.txt file. DO NOT USE THE GAMEMODES_SERVER.TXT.EXAMPLE file as it is incorrectly formatted and will only let one player connect to your server and fail to connect other players.

This file is for Counter-Strike: Global Offensive for the broken gamemodes_server.txt.example file which is hosed up and will not let players connect to the hosted game server. I spent hours pulling my hair out to find the delivered file is defective. So here is one that WORKS! Tested 110% to work, at least for Classic and Competitive modes, demo and arms race modes are not fully tested. But if anyone uses this for these other modes and it works, please let us and everyone else know. Have been told this file works for Arms Mode, which means this will work for Demolition Mode as well. Thanks Guys!

File Updated 12/06/2014 to reflect the update for the newly added gamemode, Deathmatch introduced in late 2014 (two years after this game was released).

Best Regards,
Krillin