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

Help GunGame Respawn problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Changeee
New Member
Join Date: Sep 2008
Old 09-11-2008 , 06:50   Help GunGame Respawn problem
Reply With Quote #1

When 2x2 fight other player trying join to server and when want go to team T or CT going but dont respawn have wait next round 10min my gungame CFG .

; GunGame AMXX 2.11c

// basic cvars
gg_enabled 1
gg_vote_setting 2
gg_vote_custom ""
gg_changelevel_custom ""
gg_map_setup "mp_timelimit 45; mp_winlimit 0; sv_alltalk 0; mp_chattime 10; mp_c4timer 35"
gg_endmap_setup ""
gg_join_msg 1
gg_colored_messages 1
gg_save_temp 300
gg_status_display 1
gg_map_iterations 1
gg_ignore_bots 0
gg_block_equips 0
gg_leader_display 1
gg_leader_display_x -1.0
gg_leader_display_y 0.0
gg_allow_changeteam 2
gg_disable_money 1
gg_winner_motd 0
gg_afk_protection 0

// autovote cvars
gg_autovote_rounds 0
gg_autovote_delay 8.0
gg_autovote_ratio 0.51
gg_autovote_time 10.0

// stats cvars
gg_stats_file "gungame.stats"
gg_stats_ip 0
gg_stats_prune 2592000
gg_stats_mode 2
gg_stats_winbonus 1.5

// deathmatch cvars
gg_dm 1
gg_dm_sp_time 0
gg_dm_sp_mode 0
gg_dm_spawn_random 1
gg_dm_start_random 1
gg_dm_spawn_delay 1
gg_dm_spawn_afterplant 2
gg_dm_corpses 1
gg_dm_countdown 2

// objective cvars
gg_block_objectives 0
gg_bomb_defuse_lvl 1
gg_host_touch_reward 2
gg_host_rescue_reward 2
gg_host_kill_reward 1
gg_host_kill_penalty 1

// teamplay cvars
gg_teamplay 0
gg_teamplay_melee_mod 0.33
gg_teamplay_nade_mod 0.50
gg_teamplay_timeratio 1

// gameplay cvars
gg_ff_auto 1
gg_weapon_order "glock18,usp,p228,deagle,fiveseven,elite,m3,x m1014,tmp,mac10,mp5navy,ump45,p90,galil,famas ,ak47,scout,m4a1,sg552,aug,m249,awp,hegranade ,knife"
gg_max_lvl 0
gg_triple_on 0
gg_turbo 1
gg_knife_pro 1
gg_knife_elite 0
gg_suicide_penalty 1
gg_worldspawn_suicide 1
gg_pickup_others 0
gg_handicap_on 1
gg_top10_handicap 1
gg_warmup_timer_setting 60
gg_warmup_weapon "knife"
gg_warmup_multi 0
gg_nade_glock 1
gg_nade_smoke 0
gg_nade_flash 0
gg_extra_nades 1
gg_nade_refresh 0
gg_kills_per_lvl 5
gg_kills_botmod 1.0
gg_give_armor 100
gg_give_helmet 1
gg_ammo_amount 200
gg_refill_on_kill 1
gg_tk_penalty 1
gg_awp_oneshot 1
gg_bots_skipnade 0

// sound cvars
gg_sound_levelup "sound/gungame/smb3_powerup.wav"
gg_sound_leveldown "sound/gungame/smb3_powerdown.wav"
gg_sound_levelsteal "sound/gungame/smb3_1-up.wav"
gg_sound_nade "sound/gungame/nade_level.wav"
gg_sound_knife "sound/gungame/knife_level.wav"
gg_sound_welcome "sound/gungame/gungame2.wav"
gg_sound_triple "sound/gungame/smb_star.wav"
gg_sound_winner "media/Half-Life03.mp3;media/Half-Life08.mp3;media/Half-Life11.mp3;media/Half-Life17.mp3"
gg_sound_takenlead "sound/gungame/takenlead.wav"
gg_sound_tiedlead "sound/gungame/tiedlead.wav"
gg_sound_lostlead "sound/gungame/lostlead.wav"
gg_lead_sounds 0.8

// random weapon order cvars (leave blank to disable)
gg_weapon_order1 ""
gg_weapon_order2 ""
gg_weapon_order3 ""
gg_weapon_order4 ""
gg_weapon_order5 ""
gg_weapon_order6 ""
gg_weapon_order7 ""
gg_weapon_order8 ""
gg_weapon_order9 ""
gg_weapon_order10 ""

// valid weapon names for gg_weapon_order:
//
// ak47, aug, awp, deagle, elite, famas, fiveseven, g3sg1, galil, glock18, hegrenade, knife,
// m249, m3, m4a1, mac10, mp5navy, p228, p90, scout, sg550, sg552, tmp, ump45, usp, xm1014
Changeee is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-13-2008 , 19:30   Re: Help GunGame Respawn problem
Reply With Quote #2

You are not alone. That's strange, before it was working fine. Now, people has to wait a round end. In DM, it's just a pain for people who try to join the game... they have to wait a long time most of time. :/
__________________
Arkshine is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-13-2008 , 19:53   Re: Help GunGame Respawn problem
Reply With Quote #3

What other plugins are you two running?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
cre8or
Senior Member
Join Date: Apr 2005
Location: Sweden, Gothenburg
Old 09-14-2008 , 09:17   Re: Help GunGame Respawn problem
Reply With Quote #4

Works on my server
__________________
cre8or is offline
Send a message via ICQ to cre8or Send a message via MSN to cre8or
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2008 , 14:51   Re: Help GunGame Respawn problem
Reply With Quote #5

Quote:
Originally Posted by XxAvalanchexX View Post
What other plugins are you two running?
Sorry for the late answer.

I found that the problem is because of 'Auto Join on Connect" plugin by VEN.

I will see if I can find a way to use both same time.
__________________
Arkshine is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-20-2008 , 18:31   Re: Help GunGame Respawn problem
Reply With Quote #6

GunGame hooks the joinclass command (when you select your player model) and then tries to throw you into the game. It looks like VEN's plugin forces the user to do that, skipping the part where AMXX can intercept it (englient_cmd instead of client_cmd).

First try setting ajc_class to 0, which should fix it if that really is the problem. If that turns out to be true, I'll try to find a different way to respawn late-joiners.

EDIT: You could also try this. Go to the force_team_join function at the bottom of the plugin, and near the end, change this line:

Code:
engclient_cmd(id, joinclass, class)

to this:

Code:
client_cmd(id, "%s %i", joinclass, class)

The only downside is that potentially (maybe) someone could alias their joinclass command, so that this function has no effect on them. But, the end result is that they simply get to pick their model.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 09-20-2008 at 18:47.
XxAvalanchexX is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2008 , 19:02   Re: Help GunGame Respawn problem
Reply With Quote #7

Your first suggestion : I can respawn properly but the VEN's plugin doesn't work, I mean, I have to select team + class. [ edit ] I'm stupid, it's disabled LOL. I'm retrying. -_-

I'm trying your second suggestion...
__________________

Last edited by Arkshine; 09-20-2008 at 19:07.
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2008 , 19:21   Re: Help GunGame Respawn problem
Reply With Quote #8

Actually, ajc_class 0 works. I mean, you have to just to select your class, and you will respawn immdediately.

But I would like that the class would be choose randomly too. By default, ajc_class and ajc_team are set to 5.

Setting ajc_class to 0 solve partially the problem.
__________________
Arkshine is offline
FR0NTLINE
AlliedModders Donor
Join Date: Apr 2006
Location: Riverside Cali
Old 10-25-2008 , 00:44   Re: Help GunGame Respawn problem
Reply With Quote #9

Yeah this is a real pain in the ass especially in gungame nobody wants to wait 3 to 5 minutes to play again. Hope you guys figure somethin out cuz i'm lost.
__________________
FR0NTLINE is offline
Send a message via AIM to FR0NTLINE Send a message via MSN to FR0NTLINE Send a message via Yahoo to FR0NTLINE
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-01-2008 , 17:10   Re: Help GunGame Respawn problem
Reply With Quote #10

FR0NTLINE: For now, the easiest fix is to set ajc_class to 0. Or, if you still want random classes, try using this modded SMA.
Attached Files
File Type: sma Get Plugin or Get Source (auto_join_on_connect.sma - 1155 views - 2.9 KB)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 09:34.


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