Raised This Month: $51 Target: $400
 12% 

[CS:S/CS:GO] GunGame


Post New Thread Reply   
 
Thread Tools Display Modes
prateek0072
Junior Member
Join Date: May 2013
Location: New Delhi,India
Old 05-13-2013 , 12:54   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4141

hey tried out all the methods but cant get my weapon order to load

1. i start my server as a gungame server and it loaded properly and everything worked fine no problem here
2. but, when i start my server as a pub or normal server, then on manually loading all the gungame plugins,
they load successfully (btw , i made a cfg file that i exec to load all gungame plugins; i will attach it)
but my weapon order is not loading still.

i m attching some screenshots in 1,2,3 order pls check them and then tell me if i m doin somthing wrong..

Thnx in advance


gungame.cfg is the file that i exec to load my gungame plugins

Screens-
1 gungame server
1(a) in-game screen
2 normal server
3 loaded gungame plugins
4 all plugins list
4(a) in-game screen
Attached Thumbnails
Click image for larger version

Name:	1.PNG
Views:	214
Size:	37.0 KB
ID:	119841   Click image for larger version

Name:	2.PNG
Views:	164
Size:	23.6 KB
ID:	119842   Click image for larger version

Name:	3.PNG
Views:	123
Size:	13.8 KB
ID:	119843   Click image for larger version

Name:	4.PNG
Views:	156
Size:	39.7 KB
ID:	119844   Click image for larger version

Name:	1(a).jpg
Views:	168
Size:	85.6 KB
ID:	119845  

Click image for larger version

Name:	4(a).jpg
Views:	149
Size:	97.6 KB
ID:	119846  
Attached Files
File Type: cfg gungame.cfg (544 Bytes, 101 views)
prateek0072 is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 05-13-2013 , 19:33   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4142

Quote:
Originally Posted by super5 View Post
I dont get bots leave server when players join.
not even when the round ends


Version 1.10 -dev of Metamod:Source
Version 1.5.0-hg3830 of SourceMod
Version 1.2.11.2 of GunGame:SM
Version 1.8.0 of SM:GGDM

and my bot cfg is:

// bots
bot_add
bot_quota 4
bot_quota_mode normal
bot_difficulty 1
bot_chatter off
bot_auto_follow 0
bot_auto_vacate 1
bot_join_after_player 0
bot_defer_to_human 0
bot_allow_rogues 0
bot_walk 0
bot_join_team any
bot_prefix "**"

otherwise, the game is working properly
Nothing at all to do with GunGame, but try changing "bot_quota_mode normal" to "bot_quota_mode fill". If that doesn't work, let us know if you are running CS:S or CS:GO.
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 05-13-2013 , 19:51   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4143

Quote:
Originally Posted by prateek0072 View Post
hey tried out all the methods but cant get my weapon order to load

1. i start my server as a gungame server and it loaded properly and everything worked fine no problem here
2. but, when i start my server as a pub or normal server, then on manually loading all the gungame plugins,
they load successfully (btw , i made a cfg file that i exec to load all gungame plugins; i will attach it)
but my weapon order is not loading still.

i m attching some screenshots in 1,2,3 order pls check them and then tell me if i m doin somthing wrong..

Thnx in advance


gungame.cfg is the file that i exec to load my gungame plugins

Screens-
1 gungame server
1(a) in-game screen
2 normal server
3 loaded gungame plugins
4 all plugins list
4(a) in-game screen
I'm not sure if the gg_enable is required, I do something similar, and don't have that command. When you're loading them that way, you should store the gg plugins (and the sm_dmlite) all in the plugins\disabled folder. Then call them in your gungame.cfg with "sm plugins load disabled\gungame.smx", etc. You unload them the same way with "sm plugins unload disabled\gungame.smx". This gungame.cfg, and any other .cfg files you call from that level should exist in your cstrike\cfg folder, not cstrike\cfg\sourcemod or cstrike\cfg\gungame. Calling exec from the srcds command line like that will search cstrike\cfg for the file. If it works, you should immediately see the plugins loading.

The only other thing I can think of might be the loading order in your gungame.cfg. Seems like I went through some grief with that when I first set mine up, and I have them numbered, so there must be a reason. See my attached custom config loadgungame.cfg. Try loading the gg plugins in that specified order.

If you are trying to set up running Gungame on demand, that is exactly how I have my server set up - GunGame only loads when a GunGame map is voted as next map - so I can help you with that. You are on the right track already.
Attached Files
File Type: cfg loadgungame.cfg (1.2 KB, 109 views)
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
prateek0072
Junior Member
Join Date: May 2013
Location: New Delhi,India
Old 05-14-2013 , 02:49   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4144

1. thnx you bittersweet for your help
2. i changed my gg plugins order according to your cfg file
3. the gg_enable cmd is required because i play on normal maps too.
4. as you said i did exactly the same and load my plugins using your cfg file and put all my plugins in disabled folder
but, the problem of no weapon order still exist
5. i also tried changin map to a gg map (gg_simpsons_h) but same problem

From my side all my other plugins ar workin fine
I hope someone will also test it on their server and will tell me about it

May or May Not it could be a bug, i m not blamin anyone
@ altex
I really accpreciate your work and love your gungame plugin
it's just that i cant get my plugin to work properly and i really need it

btw, i hav attached my new gungame load cfg
Attached Files
File Type: cfg gungame.cfg (620 Bytes, 91 views)

Last edited by prateek0072; 05-14-2013 at 10:31.
prateek0072 is offline
super5
Junior Member
Join Date: Jul 2011
Old 05-14-2013 , 04:37   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4145

Quote:
Originally Posted by Bittersweet View Post
Nothing at all to do with GunGame, but try changing "bot_quota_mode normal" to "bot_quota_mode fill". If that doesn't work, let us know if you are running CS:S or CS:GO.
That works for me now thx. btw im running css server.

Last edited by super5; 05-14-2013 at 04:44.
super5 is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 05-14-2013 , 19:37   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4146

Quote:
Originally Posted by prateek0072 View Post
1. thnx you bittersweet for your help
2. i changed my gg plugins order according to your cfg file
3. the gg_enable cmd is required because i play on normal maps too.
4. as you said i did exactly the same and load my plugins using your cfg file and put all my plugins in disabled folder
but, the problem of no weapon order still exist
5. i also tried changin map to a gg map (gg_simpsons_h) but same problem

From my side all my other plugins ar workin fine
I hope someone will also test it on their server and will tell me about it

May or May Not it could be a bug, i m not blamin anyone
@ altex
I really accpreciate your work and love your gungame plugin
it's just that i cant get my plugin to work properly and i really need it

btw, i hav attached my new gungame load cfg
There is probably some kind of conflict with one of your others plugins. Like I said, I used your config files in place of mine on my server and everything worked fine. Altex is going to have to help you with this one. I'm sure you guys will get it running correctly. Just one more suggestion, take a peep into your error logs and see if you see anything having to do with GunGame, weapons or weapon entities, any clue that may be related.
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
hplexusph
Junior Member
Join Date: May 2013
Old 05-14-2013 , 21:44   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4147

Quote:
Originally Posted by prateek0072 View Post
hey tried out all the methods but cant get my weapon order to load

1. i start my server as a gungame server and it loaded properly and everything worked fine no problem here
2. but, when i start my server as a pub or normal server, then on manually loading all the gungame plugins,
they load successfully (btw , i made a cfg file that i exec to load all gungame plugins; i will attach it)
but my weapon order is not loading still.

i m attching some screenshots in 1,2,3 order pls check them and then tell me if i m doin somthing wrong..

Thnx in advance


gungame.cfg is the file that i exec to load my gungame plugins

Screens-
1 gungame server
1(a) in-game screen
2 normal server
3 loaded gungame plugins
4 all plugins list
4(a) in-game screen
Quote:
Originally Posted by Bittersweet View Post
There is probably some kind of conflict with one of your others plugins. Like I said, I used your config files in place of mine on my server and everything worked fine. Altex is going to have to help you with this one. I'm sure you guys will get it running correctly. Just one more suggestion, take a peep into your error logs and see if you see anything having to do with GunGame, weapons or weapon entities, any clue that may be related.
Did a little test on GunGame by adding some PrintToServer() to compile,
1.
gungame_config.sp (line 254)
print before call GG_ConfigKeyValue forward.
PHP Code:
        PrintToServer("Call GG_ConfigKeyValue"); //added

        
Call_StartForward(FwdConfigKeyValue); 
2.
config.sp (line 23)
print when receive GG_ConfigKeyValue forward.
PHP Code:
public GG_ConfigKeyValue(const String:key[], const String:value[])
{
    
PrintToServer("Receive GG_ConfigKeyValue"); //added 
3.
first autoload gungame in server boot
server prints:
PHP Code:
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
.............
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
[GunGameWarmup round has started
the other is manual load by "exec loadgungame"
server prints:
PHP Code:
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
.............
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
[SMLoaded plugin disabled\gungame_config.smx successfully.
[
SMLoaded plugin disabled\gungame.smx successfully.
[
SMLoaded plugin disabled\gungame_afk.smx successfully.
[
SMLoaded plugin disabled\gungame_bot.smx successfully.
[
SMLoaded plugin disabled\gungame_logging.smx successfully.
[
SMLoaded plugin disabled\gungame_mapvoting.smx successfully.
[
SMLoaded plugin disabled\gungame_stats.smx successfully.
[
SMLoaded plugin disabled\gungame_tk.smx successfully.
[
SMLoaded plugin disabled\gungame_display_winner.smx successfully.
[
SMLoaded plugin disabled\gungame_warmup_configs.smx successfully
Is that the forward cause keyvalues not loaded ?

Last edited by hplexusph; 05-14-2013 at 22:04. Reason: 12313
hplexusph is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 05-14-2013 , 22:29   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4148

Quote:
Originally Posted by hplexusph View Post
Did a little test on GunGame by adding some PrintToServer() to compile,
1.
gungame_config.sp (line 254)
print before call GG_ConfigKeyValue forward.
PHP Code:
        PrintToServer("Call GG_ConfigKeyValue"); //added

        
Call_StartForward(FwdConfigKeyValue); 
2.
config.sp (line 23)
print when receive GG_ConfigKeyValue forward.
PHP Code:
public GG_ConfigKeyValue(const String:key[], const String:value[])
{
    
PrintToServer("Receive GG_ConfigKeyValue"); //added 
3.
first autoload gungame in server boot
server prints:
PHP Code:
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
.............
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
Call GG_ConfigKeyValue
Receive GG_ConfigKeyValue
[GunGameWarmup round has started
the other is manual load by "exec loadgungame"
server prints:
PHP Code:
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
.............
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
Call GG_ConfigKeyValue
[SMLoaded plugin disabled\gungame_config.smx successfully.
[
SMLoaded plugin disabled\gungame.smx successfully.
[
SMLoaded plugin disabled\gungame_afk.smx successfully.
[
SMLoaded plugin disabled\gungame_bot.smx successfully.
[
SMLoaded plugin disabled\gungame_logging.smx successfully.
[
SMLoaded plugin disabled\gungame_mapvoting.smx successfully.
[
SMLoaded plugin disabled\gungame_stats.smx successfully.
[
SMLoaded plugin disabled\gungame_tk.smx successfully.
[
SMLoaded plugin disabled\gungame_display_winner.smx successfully.
[
SMLoaded plugin disabled\gungame_warmup_configs.smx successfully
Is that the forward cause keyvalues not loaded ?
You might be on to something with that. It has to do with when plugin .cfg files are loaded, possibly? I don't call my loadgungame.cfg from the command line, ever. Nor do I start Gungame manually in any way. I actually call my loadgungame.cfg from map specific .cfg files in cstrike\maps\cfg. For example, I have the file ...\cstrike\maps\cfg\gg_block9.cfg, which contains:

Code:
exec loadgungame.cfg
All of my gg_maps have a corresponding .cfg file in that folder with the same command. Some have other commands, if needed for the map; gravity, time limit, etc.

So it seems from your test, that the .cfg is not being read (in time) when GunGame is started in the way you mentioned. I'm not sure GunGame is built to be loaded & unloaded at a sysop's whim.

I wonder if a .cfg with something like:

Code:
sm plugins load gungame_config
exec loadgungame.cfg
...and of course remove the corresponding command from loadgungame.cfg, or change the load order in loadgungame.cfg? You'll probably have to end up with different scripts for different ways you want to start GunGame. It's kind of funny because this has me thinking about something else that I've been thinking about...it would be nice to be able to pass parameters to a plugin from the command line or from a .cfg file in an exec command. I'm not even aware of a way to build logic into .cfg files - other than commenting out or not
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
hplexusph
Junior Member
Join Date: May 2013
Old 05-15-2013 , 00:48   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4149

Quote:
Originally Posted by Bittersweet View Post
You might be on to something with that. It has to do with when plugin .cfg files are loaded, possibly? I don't call my loadgungame.cfg from the command line, ever. Nor do I start Gungame manually in any way. I actually call my loadgungame.cfg from map specific .cfg files in cstrike\maps\cfg. For example, I have the file ...\cstrike\maps\cfg\gg_block9.cfg, which contains:

Code:
exec loadgungame.cfg
All of my gg_maps have a corresponding .cfg file in that folder with the same command. Some have other commands, if needed for the map; gravity, time limit, etc.

So it seems from your test, that the .cfg is not being read (in time) when GunGame is started in the way you mentioned. I'm not sure GunGame is built to be loaded & unloaded at a sysop's whim.

I wonder if a .cfg with something like:

Code:
sm plugins load gungame_config
exec loadgungame.cfg
...and of course remove the corresponding command from loadgungame.cfg, or change the load order in loadgungame.cfg? You'll probably have to end up with different scripts for different ways you want to start GunGame. It's kind of funny because this has me thinking about something else that I've been thinking about...it would be nice to be able to pass parameters to a plugin from the command line or from a .cfg file in an exec command. I'm not even aware of a way to build logic into .cfg files - other than commenting out or not
I compiled a gg_config.smx supports manual load gungame if loading in order of "load gungame_config" then "load gungame"("gungame_sdkhooks")
i wish im not breaking any rules here(delete attachments if do), and hope my modify could be found in next gg release to support manual load.

i clearly remembers that early gg release do support manual loads, and i dont need any credits, just wish gg support manual load again, thanks to great gungame creaters and supporters.

gungame_config.sp add following in the end on new lines
PHP Code:
public OnLibraryAdded(const String:name[]) {
    if ( 
StrEqual(name"gungame") ) {
        
ReadConfig();
    }

Attached Files
File Type: sp Get Plugin or Get Source (gungame_config.sp - 87 views - 7.9 KB)
File Type: smx gungame_config.smx (6.2 KB, 95 views)

Last edited by hplexusph; 05-15-2013 at 00:51.
hplexusph is offline
prateek0072
Junior Member
Join Date: May 2013
Location: New Delhi,India
Old 05-15-2013 , 05:14   Re: [CS:S/CS:GO] GunGame
Reply With Quote #4150

Quote:
Originally Posted by hplexusph View Post
I compiled a gg_config.smx supports manual load gungame if loading in order of "load gungame_config" then "load gungame"("gungame_sdkhooks")
i wish im not breaking any rules here(delete attachments if do), and hope my modify could be found in next gg release to support manual load.

i clearly remembers that early gg release do support manual loads, and i dont need any credits, just wish gg support manual load again, thanks to great gungame creaters and supporters.

gungame_config.sp add following in the end on new lines
PHP Code:
public OnLibraryAdded(const String:name[]) {
    if ( 
StrEqual(name"gungame") ) {
        
ReadConfig();
    }

hey man thnx your gungame config file did helped and now i can play gungame properly
my weapon order i also loading now and plugin is working very good
thn you very much
prateek0072 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 12:09.


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