Raised This Month: $32 Target: $400
 8% 

[CS:S/CS:GO] GunGame


Post New Thread Reply   
 
Thread Tools Display Modes
ipx22
New Member
Join Date: Nov 2017
Old 11-29-2017 , 19:13   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5101

Mam problem z plikiem "gungame.config" nie czyta mi od jakiegos czasu, niedawno wszystko jeszcze dobrze dziala. Wgrywam na nowo pliki gungame nic nie pomaga. Nie wiem o co chodzi kompletnie
ipx22 is offline
ipx22
New Member
Join Date: Nov 2017
Old 11-29-2017 , 19:14   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5102

I have a problem with the file "gungame.config" does not read me from some time, recently everything else works well. I replay the gungame files nothing helps. I do not know what is complete
ipx22 is offline
framerate
New Member
Join Date: Dec 2017
Old 12-08-2017 , 14:37   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5103

Hey Altex, great plugins.

I've encountered a few issues I'm having.

1. I want to start the server with all plugins disabled through command (not unloading), by typing gg_disable in the server.cfg. But it does not work, still starts Gungame on server launch.

2. Okey, so I have to find another way. Maybe if I unload all plugins, then make a gungame.cfg to quickly load all gungame plugins by a simple exec command. This works, but we spawn with no weapons at level 1.

There are some more issues I've discovered, but these are the ones that are stopping me right now.

Last edited by framerate; 12-08-2017 at 14:38.
framerate is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 12-10-2017 , 23:14   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5104

Quote:
Originally Posted by framerate View Post
Hey Altex, great plugins.

I've encountered a few issues I'm having.

1. I want to start the server with all plugins disabled through command (not unloading), by typing gg_disable in the server.cfg. But it does not work, still starts Gungame on server launch.

2. Okey, so I have to find another way. Maybe if I unload all plugins, then make a gungame.cfg to quickly load all gungame plugins by a simple exec command. This works, but we spawn with no weapons at level 1.

There are some more issues I've discovered, but these are the ones that are stopping me right now.
Did you check the value of "Enabled" in the first section of cfg/gungame/css/gungame.config.txt ? (or csgo/gungame.config.txt ...)
You can set it to 0 here. However, I thought gungame maps were detected automatically.
For an exec file, remember to add mp_restartgame 1 as the last line of it.

Personnally I also have an error log saying: [gungame_sdkhooks.smx] [GunGame] Weapon index for "prop_physics_multiplayer" not found.
I thought it would stop after the fix offered here, but my last error logs are only 1 month ago.
But I know I set up all correctly (see below), and I have the default weaponinfo.txt which actually contains the weapon_index for prop_physics_multiplayer, so I don't see why I have this log.
Spoiler
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 12-10-2017 at 23:40.
St00ne is offline
Novik
New Member
Join Date: Dec 2017
Old 12-11-2017 , 17:52   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5105

Hey guys,

I am running a GunGame in CSS on a personal GameServers server. GunGame works well, but for some reason, the game ends after Level 21. It never lets me get to Level 22 or above. I updated my gungame.equip.txt file to have 25 levels, as shown below:

Spoiler


My gungame.config.txt file looks like this:

Spoiler


Has anyone else had this problem? Is there a way for me to fix it somewhere? I looked at my default max levels in the gungame_const.inc file, and it is 64... I don't know what is triggering a game win after Level 21. Thanks!

Last edited by Novik; 12-11-2017 at 17:55.
Novik is offline
Novik
New Member
Join Date: Dec 2017
Old 12-11-2017 , 21:17   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5106

Quote:
Originally Posted by Furious373 View Post
Can you use multiple "winner" round end songs seperated by commas in CS:GO? The mp3's are all converted properly but when I try adding multiples no winner sound plays. When I just use one of them it works fine. This is how I'm doing it:

"Winner" "gungame/winner.mp3,gungame/warnotlost.mp3" // (Ñ) VALVE
Hey Furious 373,

This is what I have in my server, and it seems to work. I have 48 different song bits, and the game automatically chooses one at random to play at the end of the round. It should work. Hope that helps!

Code:
"Winner"    "gungame/winner-sounds/winner.mp3, gungame/winner-sounds/winner-1.mp3, gungame/winner-sounds/winner-2.mp3, gungame/winner-sounds/winner-3.mp3, gungame/winner-sounds/winner-4.mp3, gungame/winner-sounds/winner-5.mp3, gungame/winner-sounds/winner-6.mp3, gungame/winner-sounds/winner-7.mp3, gungame/winner-sounds/winner-8.mp3, gungame/winner-sounds/winner-9.mp3, gungame/winner-sounds/winner-10.mp3, gungame/winner-sounds/winner-11.mp3, gungame/winner-sounds/winner-12.mp3, gungame/winner-sounds/winner-13.mp3, gungame/winner-sounds/winner-14.mp3, gungame/winner-sounds/winner-15.mp3, gungame/winner-sounds/winner-16.mp3, gungame/winner-sounds/winner-17.mp3, gungame/winner-sounds/winner-18.mp3, gungame/winner-sounds/winner-19.mp3, gungame/winner-sounds/winner-20.mp3, gungame/winner-sounds/winner-21.mp3, gungame/winner-sounds/winner-22.mp3, gungame/winner-sounds/winner-23.mp3, gungame/winner-sounds/winner-24.mp3, gungame/winner-sounds/winner-25.mp3, gungame/winner-sounds/winner-26.mp3, gungame/winner-sounds/winner-27.mp3, gungame/winner-sounds/winner-28.mp3, gungame/winner-sounds/winner-29.mp3, gungame/winner-sounds/winner-30.mp3, gungame/winner-sounds/winner-31.mp3, gungame/winner-sounds/winner-32.mp3, gungame/winner-sounds/winner-33.mp3, gungame/winner-sounds/winner-34.mp3, gungame/winner-sounds/winner-35.mp3, gungame/winner-sounds/winner-36.mp3, gungame/winner-sounds/winner-37.mp3, gungame/winner-sounds/winner-38.mp3, gungame/winner-sounds/winner-39.mp3, gungame/winner-sounds/winner-40.mp3, gungame/winner-sounds/winner-41.mp3, gungame/winner-sounds/winner-42.mp3, gungame/winner-sounds/winner-43.mp3, gungame/winner-sounds/winner-44.mp3, gungame/winner-sounds/winner-45.mp3, gungame/winner-sounds/winner-46.mp3, gungame/winner-sounds/winner-47.mp3"
Novik is offline
MrGarfield
Senior Member
Join Date: Feb 2013
Old 12-30-2017 , 04:37   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5107

Hello

I have a gungame in css, I configured everything gungame.config + gungame.equip as I wanted it, on the official maps the sounds work against once I put a maps gg, unofficial appr ect the sounds do not do not work anymore?

thank you
MrGarfield is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 01-29-2018 , 13:28   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5108

hi guys !!

error compile for me!!

i used sm 1.8 and last version plugin !!

error:
HTML Code:
//// gungame_stats.sp
//
// gungame_stats/sql.sp(403) : warning 219: local variable "File" shadows a variable at a preceding level
// Code size:            30224 bytes
// Data size:            10064 bytes
// Stack/heap size:      16384 bytes
// Total requirements:   56672 bytes
//
// 1 Warning.
//
// Compilation Time: 0.37 sec
// ----------------------------------------
cod:
PHP Code:
// non-threaded
public Action:_CmdImportDb(clientargs)
{
    
decl String:File[PLATFORM_MAX_PATH]; // Line 403
    
BuildPath(Path_SMFilesizeof(File), "data/gungame/playerdata.txt");

    if ( !
FileExists(File) )
    {
        
ReplyToCommand(client"[GunGame] playerdata.txt does not exists to be imported.");
        return 
Plugin_Handled;
    }

    new 
Handle:KvGunGame CreateKeyValues("gg_PlayerData"BLANKBLANK);
    
FileToKeyValues(KvGunGameFile);

    
/* Go to first SubKey */
    
if ( !KvGotoFirstSubKey(KvGunGame) )
    {
        
ReplyToCommand(client"[GunGame] You have no player data to import.");
        return 
Plugin_Handled;
    }

    
decl String:query[1024], String:error[255];
    
decl WinsString:Name[64];
    
decl ImportedWinsString:Auth[64];

    new 
bufferLen sizeof(Name) * 1;
    
decl String:nameQuoted[bufferLen];

    do
    {
        
KvGetSectionName(KvGunGameAuthsizeof(Auth));
        
ImportedWins KvGetNum(KvGunGame"Wins");

        if ( !
ImportedWins || Auth[0] != 'S' )
        {
            continue;
        }

        
// Load player data        
        
SQL_LockDatabase(g_DbConnection);
        
Format(querysizeof(query), g_sql_getPlayerByAuthAuth);
        
#if defined SQL_DEBUG
            
LogError("[DEBUG-SQL] %s"query);
        
#endif
        
new Handle:result SQL_Query(g_DbConnectionquery);
        if ( 
result == INVALID_HANDLE )
        {
            
SQL_GetError(g_DbConnectionerrorsizeof(error));
            
LogError("Failed to get player (error: %s)"error);
            
SQL_UnlockDatabase(g_DbConnection);
            
ReplyToCommand(client"[GunGame] Import finished with sql error");
            
CloseHandle(KvGunGame);
            return 
Plugin_Handled;
        }
        
SQL_UnlockDatabase(g_DbConnection);
        if ( 
SQL_FetchRow(result) )
        {
            
Wins SQL_FetchInt(result1);
            
SQL_FetchString(result2Namesizeof(Name));
        }
        else
        {
            
Wins 0;
        }
        
CloseHandle(result);
        
        if ( 
Wins ) {
            
SQL_EscapeString(g_DbConnectionNamenameQuotedbufferLen);
            
Format(querysizeof(query), g_sql_updatePlayerByAuthWins ImportedWinsnameQuotedAuth);
        } else {
            
KvGetString(KvGunGame"Name"Namesizeof(Name));
            
SQL_EscapeString(g_DbConnectionNamenameQuotedbufferLen);
            
Format(querysizeof(query), g_sql_insertPlayerImportedWinsnameQuotedAuth);
        }

        
// SavePlayerData
        
SQL_LockDatabase(g_DbConnection);
        
#if defined SQL_DEBUG
            
LogError("[DEBUG-SQL] %s"query);
        
#endif
        
if ( !SQL_FastQuery(g_DbConnectionquery) )
        {
            
SQL_GetError(g_DbConnectionerrorsizeof(error));
            
LogError("Could not save player (error: %s)"error);
            
SQL_UnlockDatabase(g_DbConnection);
            
ReplyToCommand(client"[GunGame] Import finished with sql error");
            
CloseHandle(KvGunGame);
            return 
Plugin_Handled;
        }
        
SQL_UnlockDatabase(g_DbConnection);
    }
    while(
KvGotoNextKey(KvGunGame));

    
CloseHandle(KvGunGame);
    
    
/* Reload the players wins in memory */
    
for ( new 1<= MaxClientsi++ )
    {
        if ( 
IsClientAuthorized(i) )
        {
            
GetClientAuthId(iAuthId_Steam2Authsizeof(Auth));
            
RetrieveKeyValues(iAuth);
        }
    }

    
ReplyToCommand(client"[GunGame] Import of player data completed. Please run gg_rebuild to update the top rank.");

    return 
Plugin_Handled;


And

error:
HTML Code:
//// gungame.sp
//
// gungame/util.sp(1272) : warning 213: tag mismatch
// Code size:           117808 bytes
// Data size:            34204 bytes
// Stack/heap size:      16384 bytes
// Total requirements:  168396 bytes
//
// 1 Warning.
//
// Compilation Time: 1.09 sec
// ----------------------------------------
cod:
PHP Code:
public Action:UTIL_Timer_ShowHintText(Handle:timerany:data)
{
    new 
clientString:textHint[512], times;
    
    
ResetPack(data);
    
times ReadPackCell(data);
    
client ReadPackCell(data);
    
ReadPackString(datatextHintsizeof(textHint));
    
    if ( !
IsClientInGame(client) )
    {
        
CloseHandle(data);
        return 
Plugin_Stop;
    }
    
    
PrintHintText(clienttextHint);
    if ( --
times <= )
    {
        
CloseHandle(data);
        return 
Plugin_Stop;
    }
    else
    {
        
SetPackPosition(data0); //Line 1272
        
WritePackCell(datatimes);
        return 
Plugin_Continue;
    }

Dr.Mohammad is offline
slap
Junior Member
Join Date: Sep 2017
Old 02-01-2018 , 20:20   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5109

I am trying to run a gungame deathmatch server and I am having a ton of issues. roundtime is 1 minutes for some reason, even though I have it set on 0. sometimes the server just changed maps for no reason, right after warmup or in the middle of a game, I have timlimit set to 120 now and its still doing it, I had it set to 0 before and it was doing it there also. seems like nothing wants to work, every time I get something right 3 other things go wrong.
slap is offline
Shit on shoe
Senior Member
Join Date: Jul 2010
Old 03-02-2018 , 20:57   Re: [CS:S/CS:GO] GunGame
Reply With Quote #5110

Error log show me this:

Quote:
3/01/2018 - 21:41:18: [gungame_sdkhooks.smx] [GunGame] Weapon index for "prop_physics_multiplayer" not found.
L 03/01/2018 - 21:42:47: [gungame_sdkhooks.smx] [GunGame] Weapon index for "prop_physics_multiplayer" not found.
L 03/01/2018 - 21:44:21: [gungame_sdkhooks.smx] [GunGame] Weapon index for "prop_physics_multiplayer" not found.
L 03/01/2018 - 21:46:07
__________________
Shit on shoe is offline
Reply



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 05:55.


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