gg_welcome_msg

Ask questions and share info about GunGame 5

gg_welcome_msg

Postby Jumpman » Sat Mar 26, 2011 8:38 am

I've noticed that when you switch teams then the welcome message come up again, it is not meant only to come up when people connect to server.
Its rather annoying one should read the message when you change teams
Jumpman

Private
Private
 
Posts: 11
Joined: Thu Oct 14, 2010 7:26 am
Location: Denmark

Postby satoon101 » Sat Mar 26, 2011 6:36 pm

Do you mean that players are being shown the message every time they change teams? That shouldn't be happening. Actually, that "can't" be happening...

When players first join the server, the server fires an event called player_activate. gg_welcome_msg then adds them to a queue, so that the next time (and only the next time) they fire player_team, they will be sent the Welcome Message. player_activate will also fire during map change for 'every' player on the server during that time. So, players will again be added to a queue, and then sent the message the next time (and only the next time) they fire player_team. But again, that only happens during map change. So, every player will only see the message one time for each map, unless they disconnect and re-join the server during the same map.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Postby Jumpman » Sat Mar 26, 2011 10:50 pm

Yes thats what i mean sorry my bad english

When players first join the server, the server fires an event called player_activate. gg_welcome_msg then adds them to a queue, so that the next time (and only the next time) they fire player_team, they will be sent the Welcome Message.

I get the message when i join the server and on every map change "OK"
But when i change team i get it one more time as you write and then no more before next map. When change team it would be nice you can disable this function with a cvar in gg_welcome_msg.cfg so you only get it when join server and on mapchange its a big problem on our server this number 2 message come up when team change first time in new map.
Jumpman

Private
Private
 
Posts: 11
Joined: Thu Oct 14, 2010 7:26 am
Location: Denmark



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 10 guests

cron