Official match with teams info

Make suggestions for improving one of the best games on the net!
Post Reply
trpted
Private First Class
Private First Class
Posts: 159
Joined: Mon Feb 21, 2005 8:29 pm

Official match with teams info

Post by trpted » Sat Sep 21, 2019 1:18 am

There are fun matches and an Official matches.

When user connects to the server the user is told by the server that there is a fun match or an official match going on.

How ever during an official match, the user is not told this by the server until the end of the game: What teams are playing and which team is which.

Examples...

a) Team A is red and Team B is green

b) Team A is red and the green team is "mixed".

By mixed, example:

c) While the red team is only the A team, green has members from team B and C.

They should be told when they connect by the server: there is an official match going on between Team A is red and Team B is green.

Please and thank you.

User avatar
tainn
Private First Class
Private First Class
Posts: 172
Joined: Sun Nov 18, 2018 7:25 pm
Location: zone of the phantoms

Re: Official match with teams info

Post by tainn » Sat Sep 21, 2019 8:15 am

You can easily check that yourself as it is, though. The motto field is automatically filled with the team name. If there is an official match in progress with the red team all having the same team name in their motto while the green team having mixed, you know it is an official match of that team vs a mixed team. Same rule applies to all different combinations.

trpted
Private First Class
Private First Class
Posts: 159
Joined: Mon Feb 21, 2005 8:29 pm

Re: Official match with teams info

Post by trpted » Sat Sep 21, 2019 12:41 pm

I must be missing something. How do I get to see that field?

Please and thank you

User avatar
Zehra
Private First Class
Private First Class
Posts: 622
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: Official match with teams info

Post by Zehra » Sat Sep 21, 2019 2:06 pm

This should probably be filed as an issue within LeagueOverseer for proper tracking of said bug.
Most of what is seen done in the leagues and elsewhere is done via plug-ins for easy maintenance and updating of features.
(The server itself has no concept of an "official" or "fun" match.)

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.

trpted
Private First Class
Private First Class
Posts: 159
Joined: Mon Feb 21, 2005 8:29 pm

Re: Official match with teams info

Post by trpted » Sat Sep 21, 2019 8:09 pm

Why do I have to join another service dealing with BZflag?

Please and thank you

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Official match with teams info

Post by blast » Sat Sep 21, 2019 9:22 pm

The motto is the text after peoples' names on the scoreboard.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Zehra
Private First Class
Private First Class
Posts: 622
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: Official match with teams info

Post by Zehra » Sat Sep 21, 2019 9:34 pm

My concern would be that the join message would be providing incorrect data, but I have not been able to confirm this yet.

Code: Select all

bz_sendTextMessagef(BZ_SERVER, joinData->playerID, "*** There is currently %s match in progress, please be respectful. ***",
                                    ((currentMatch->isOfficialMatch) ? "an official" : "a fun"));
Seemingly this happens in "mixed" officials or I may be misunderstanding this completely.

Trpted, Would the message you receive upon joining a server while a match is in progress happen to incorrect at any time?
Such as being listed as a "fun" match, while it is a "mixed official" match for example.
(If this would happen to be the case, I would not mind filing a bug report on your behalf.)

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.

trpted
Private First Class
Private First Class
Posts: 159
Joined: Mon Feb 21, 2005 8:29 pm

Re: Official match with teams info

Post by trpted » Sun Sep 22, 2019 1:02 am

blast wrote:
Sat Sep 21, 2019 9:22 pm
The motto is the text after peoples' names on the scoreboard.
#1 Which let me guess, is client side settings.

#2 Has it or could be ever been wrong?
Zehra wrote:
Sat Sep 21, 2019 9:34 pm
My concern would be that the join message would be providing incorrect data, but I have not been able to confirm this yet.

Code: Select all

bz_sendTextMessagef(BZ_SERVER, joinData->playerID, "*** There is currently %s match in progress, please be respectful. ***",
                                    ((currentMatch->isOfficialMatch) ? "an official" : "a fun"));
Seemingly this happens in "mixed" officials or I may be misunderstanding this completely.

Trpted, Would the message you receive upon joining a server while a match is in progress happen to incorrect at any time?
Such as being listed as a "fun" match, while it is a "mixed official" match for example.
(If this would happen to be the case, I would not mind filing a bug report on your behalf.)

-Zehra
Unknown if that would ever happen / or ever happened.

Is there code (most likely plug-in, as need be) to tell which team is which before the end of the match?
Last edited by trpted on Sun Sep 22, 2019 1:08 am, edited 1 time in total.

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Official match with teams info

Post by blast » Sun Sep 22, 2019 2:53 am

Mottos are shown by default when the scoreboard is shown. You can adjust the maximum display length of mottos in the options.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 764
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: Official match with teams info

Post by allejo » Sun Sep 22, 2019 4:44 am

The reason I originally opted to not show something like, "Current match: Team John vs Team Jane" is because mottos are not 100% reliable when players switch teams (which used to be a very common thing). The current motto that is displayed is the team they were on since the last time they joined the server. So let's say a player has changed teams and this is the first time they've joined the server to play, their motto will still have the old team unless they rejoin since mottos cannot be updated after a player has joined. Because mottos can become outdated, the server plug-in purposely remains dumb and doesn't perform any official actions with them other than listing them on the scoreboard for players to get an idea of what teams players are a part of.

When a match finishes, what's reporting to the league site are the BZIDs of the players that participated in the match and the league site decides what teams these players share, if any.

---

As a side note, unless you're active as a developer or specifically want a GitHub account, it's not necessary for players to create an account there. Posting about problems and bugs on the forums is perfectly fine and developers will be more than happy to create issues on their behalf :)
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

trpted
Private First Class
Private First Class
Posts: 159
Joined: Mon Feb 21, 2005 8:29 pm

Re: Official match with teams info

Post by trpted » Sun Sep 22, 2019 2:32 pm

blast wrote:
Sun Sep 22, 2019 2:53 am
Mottos are shown by default when the scoreboard is shown. You can adjust the maximum display length of mottos in the options.
Ok.

How long should I make the Motto shown in options? Currently set to 0 (lowest possible setting).

Thanks

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Official match with teams info

Post by blast » Sun Sep 22, 2019 2:45 pm

This is something you can easily test.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

trpted
Private First Class
Private First Class
Posts: 159
Joined: Mon Feb 21, 2005 8:29 pm

Re: Official match with teams info

Post by trpted » Sun Oct 27, 2019 1:12 am

#1 Finally, confirmed it is Mottos feature. :)

#2 However I have an issue...

Mainly - How does it work

a) Does the user have to set the correct Motto for the team that they are on?

b) If the user can set their own Motto, how would some other user know that what info is false / misleading info?

Thank you
Attachments
bzflag.png
Motto showing the info that I wanted
(612.27 KiB) Not downloaded yet

User avatar
kierra
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 3868
Joined: Wed Mar 23, 2005 1:02 am
Location: outer Slovenia
Contact:

Re: Official match with teams info

Post by kierra » Sun Oct 27, 2019 2:09 am

Motto follows the player’s team on LU site...as assessed by LoS
When a player changes teams, then it usually takes 2 joins to bzflag LU server for the change to be reflected in his motto.
"Sometimes people try to expose what's wrong with you, because they can't handle what's right about you."
"Measure your words -- they determine the distance of your relationships"

User avatar
tainn
Private First Class
Private First Class
Posts: 172
Joined: Sun Nov 18, 2018 7:25 pm
Location: zone of the phantoms

Re: Official match with teams info

Post by tainn » Sun Oct 27, 2019 5:45 pm

I would also like to add that any manually set motto gets automatically overwritten, regardless of whether the player is in a team or not. In other words, on those respective servers, the player will either have a team name in the motto or no motto at all, there is no (normal) alternative.

User avatar
Zehra
Private First Class
Private First Class
Posts: 622
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: Official match with teams info

Post by Zehra » Sun Oct 27, 2019 7:56 pm

trpted,

On some servers, the motto is a automatically "rewritten" by a plug-in.
There additionally exists the "showmotto" permission which allows selective disabling of mottos.
(Such as in the case of unregistered players.)

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.

Post Reply