Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

War3:Source

General Discussion => War3: Source - Requests => Topic started by: .:.FK.:.DiGGaBoON.:. on November 09, 2011, 07:01:09 AM



Title: Check if any race chosen more frequently
Post by: .:.FK.:.DiGGaBoON.:. on November 09, 2011, 07:01:09 AM
If the server runs more than only W3S, in my example W3S + Deathmatch, there might be more than one menu for the joining player to choose from.

New players who haven't picked a race yet join the game and the race choose menu gets overwritten by the deathmatch weapon choose menu. Those players are literally too stupid to realize that and then never choose a race (I've seen several people with 100+ kills without a race...).

Could you add a more frequent check if a race is picked? Or like a boolean variable, which is set to 1 and remains there once the player chooses a race and if its 0 the race menu appears every X seconds (might cause problem if the cvar war3_set_race_on_join is set to 0... maybe a check for the 'new variable' at every server join, 1 = everything ok no need to check again til next server join, 0 = race menu every X seconds)


This problem is not necessarily caused by deathmatch. Mapvotes or people who just press "0" at the race menu (yes, stupidity exists!) can cause people to not pick a race. So I think a more frequent check could improve the situations on the servers.

Regards


Title: Re: Check if any race chosen more frequently
Post by: qwerty on November 09, 2011, 11:08:50 AM
This problem is not necessarily caused by deathmatch. Mapvotes or people who just press "0" at the race menu (yes, stupidity exists!) can cause people to not pick a race. So I think a more frequent check could improve the situations on the servers.


why cater to stupidity?


Title: Re: Check if any race chosen more frequently
Post by: .:.FK.:.DiGGaBoON.:. on November 09, 2011, 11:30:16 AM
To enhance the gaming experience of both, the stupid guy and the ones who are on the server with him.
If he doesn't pick a race he dies more often. If he dies too often he begins to flame. If he begins to flame the other players are annoyed. Server owner should care about that their server is fun to play on. Else it would be senseless to run the server.

Furthermore I think (or hope) that this modification should be available to everyone and not only the elite that never makes mistakes. Why exclude the casual gamer who doesn't know the mechanic (pro elite console commands for pro gaming issues and stuff...) but wants to pull the virtual trigger for some fun moments?
If something wants to get as big as possible it needs to be as comfortable and easy as possible to adress simply everyone. windows vs linux is only one example.

edit: I don't want to start a discussion about windows vs linux or whatever. I'm just asking for a more frequent racepick check to improve everyones (even the newbie's/beginner's) gaming experience.


Title: Re: Check if any race chosen more frequently
Post by: Ownz on November 09, 2011, 03:59:15 PM
linux vs windows is so dead, its android vs ios thats hot
i added a check on spawn to see if they have a race, else show the menu
SVN, untested


Title: Re: Check if any race chosen more frequently
Post by: Glider⠠⠵ on November 09, 2011, 04:25:01 PM
thanks for bringing it up, I had the same problem on l4d2. Plenty of players who made it through full maps without choosing a race (So I would usually set their race manually to some of the fully supportive ones %D)


Title: Re: Check if any race chosen more frequently
Post by: Necavi on November 09, 2011, 04:26:09 PM
I've had this happen without deathmatch or anything....sometimes people just...don't realize...


Title: Re: Check if any race chosen more frequently
Post by: .:.FK.:.DiGGaBoON.:. on November 09, 2011, 06:18:53 PM
Thx for implementing so far =)

On every spawn might be a problem with deathmatch, since there are people who don't choose to get the desired weapon every respawn (it's just the same kind of people... they're everywhere!!) so the weapon menu for them opens on every respawn, too. Maybe add some kind of delay? 10 seconds so even the very slowest guy on earth can pick his weapons or just 1 second to overwrite the weapon menu :p


Title: Re: Check if any race chosen more frequently
Post by: Necavi on November 09, 2011, 06:21:11 PM
Or you can just use one of those server advertisement plugins you likely already run to tell people to changerace, or make a plugin to force unraced players to spec?


Title: Re: Check if any race chosen more frequently
Post by: .:.FK.:.DiGGaBoON.:. on November 09, 2011, 06:31:23 PM
My experience with those players taught me that they don't read anything. I write them to choose a race, nearly spamming with sm_psay, but in the end they just call everyone a cheater (because they can do magic things which he can't do) and leaves the server.
Force them to spectate would make them leave immediately (of course after flaming the shitfucking noobass server).
There must be a way for other W3S + Deathmatch server owner to run it without problems without knowing about the solutions via advertise plugin or forcespectate plugin.


Title: Re: Check if any race chosen more frequently
Post by: Necavi on November 09, 2011, 06:34:10 PM
Also, with a small plugin you can call the changerace menu whenever you want, if I remember correctly :P


Title: Re: Check if any race chosen more frequently
Post by: .:.FK.:.DiGGaBoON.:. on November 09, 2011, 07:16:33 PM
Since I don't know how to write such a plugin on my own I depend on you ;) If I knew I would have added the check on my own and uploaded it to the SVN ;) Is it that hard to add a delay? Like I said other server owners would benefit more from an official implementation than a private plugin.


Title: Re: Check if any race chosen more frequently
Post by: Necavi on November 09, 2011, 07:34:20 PM
Its not hard to add the delay, the problem is that for 90% of the servers, a delay would be quite detrimental...players should see the changerace menu right when they spawn, 10 seconds later may be too long...and as such it seems like something that would be much better implemented in something else, such as an addon.


Title: Re: Check if any race chosen more frequently
Post by: .:.FK.:.DiGGaBoON.:. on November 09, 2011, 07:51:37 PM
You're right, I forgot about the non-deathmatch server.
Then how about opening the menu once at spawn and every X seconds again (if its not still open) until a race is chosen? With this the 90% are happy at the spawn and my 10% are happy after X seconds =)
Or any other way you can think of which gets officially implemented to keep it as easy as possible for every new server owner (I would be pissed, if I knew nothing about the mod and it's development and had to read through several plugin descriptions to guess whether it might be useful for me or not) and pleases the full 100%

edit: Correct me if i'm wrong, but on L4D the survivors in the best case don't respawn until map end? So the L4D guys would be happy about the X seconds interval after which the menu pops up again.


Title: Re: Check if any race chosen more frequently
Post by: Glider⠠⠵ on November 10, 2011, 01:19:19 AM
A check everytime xp is gained would work for me


Title: Re: Check if any race chosen more frequently
Post by: Ownz on November 10, 2011, 09:48:12 AM
does sm have a check of the current menu the player has like amxx?


Title: Re: Check if any race chosen more frequently
Post by: Necavi on November 10, 2011, 04:25:07 PM
MenuSource:GetClientMenu(client, Handle:hStyle=INVALID_HANDLE);


Title: Re: Check if any race chosen more frequently
Post by: .:.FK.:.DiGGaBoON.:. on January 11, 2012, 10:07:01 AM
I haven't tested this issue for quite a long time..
In the current release version the race menu opens on every playerdeath, but gets nearly immediately (default deathmatch respawn time is 0.75 i think) overwritten by the deathmatch weapon menu.

What about this possibility?
A check everytime xp is gained would work for me
I would appreciate this :)

edit: It just happened to me: I typed resetskills but the skill menu got overwritten by the deathmatch weapon menu so I had no skills chosen. When I killed someone (gaining xp was the trigger I guess) my skill menu opened again. Can't you use that for the race check?


Title: Re: Check if any race chosen more frequently
Post by: -El Diablo on April 01, 2012, 07:41:55 AM
We have a problem with people having no race also.. because of them pressing 0.

I was thinking of creating a addon that would force them into a random use-able race, or the first race they can use for their class / race combos.

If I do create this addon, I'll post it.


Title: Re: Check if any race chosen more frequently
Post by: Glider⠠⠵ on April 01, 2012, 10:45:48 AM
We have a problem with people having no race also.. because of them pressing 0.

I was thinking of creating a addon that would force them into a random use-able race, or the first race they can use for their class / race combos.

If I do create this addon, I'll post it.


This is what I use:

Code:
public OnWar3EventSpawn(client)
{
if(ValidPlayer(client) && War3_GetRace(client) == 0 && GetClientTeam(client) == TEAM_SURVIVORS)
{
CreateTimer(90.0, forceRaceTimer, client, TIMER_FLAG_NO_MAPCHANGE);
}
}

public Action:forceRaceTimer(Handle:timer, any:client)
{
new medic = War3_GetRaceIDByShortname("medic");
new support = War3_GetRaceIDByShortname("support");

if(ValidPlayer(client) && War3_GetRace(client) == 0 && GetClientTeam(client) == TEAM_SURVIVORS)
{
War3_ChatMessage(client, "Since you didn't choose a race you were forced into a supportive one.");
if (GetRandomInt(0, 1) == 0 )
War3_SetRace(client, medic);
else
War3_SetRace(client, support);
}
}


Title: Re: Check if any race chosen more frequently
Post by: Ownz on April 01, 2012, 11:23:27 AM
It just happened to me: I typed resetskills but the skill menu got overwritten by the deathmatch weapon menu so I had no skills chosen. When I killed someone (gaining xp was the trigger I guess) my skill menu opened again. Can't you use that for the race check?
good idea
see new svn


Title: Re: Check if any race chosen more frequently
Post by: -El Diablo on April 01, 2012, 01:57:29 PM
Seems the update is working :)


Title: Re: Check if any race chosen more frequently
Post by: Ownz on June 13, 2012, 04:14:10 PM
so is this request completed?