Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't display game type correctly in iw5 #222

Open
Chenterito opened this issue Nov 28, 2021 · 5 comments
Open

Doesn't display game type correctly in iw5 #222

Chenterito opened this issue Nov 28, 2021 · 5 comments

Comments

@Chenterito
Copy link

Chenterito commented Nov 28, 2021

image

As seen in the image.
TDM type in iw5 is "war" and
FFA type in iw5 is "dm"

image

image

@RaidMax
Copy link
Owner

RaidMax commented Nov 28, 2021

Which IW5 are you using. Pluto or Tekno? Gamemodes were pulled from Pluto IW5:

image

@RaidMax
Copy link
Owner

RaidMax commented Nov 28, 2021

After further investigation it looks like there's a discrepancy between the gametype and the dsr naming...

@Chenterito
Copy link
Author

I mean pluto iw5

@RaidMax
Copy link
Owner

RaidMax commented Nov 29, 2021

I don't have an easy solution for this currently. The default dsr (which drive changing the gametype) do not match the actual gametype value. I can't change the known gametypes as that breaks changing gametypes via mag command. If I add both war and tdm it might be tricky changing the gametype since there's essentially duplicates. I will think on this and see if I find a good solution.

@Chenterito
Copy link
Author

Chenterito commented Nov 29, 2021

In my opinion, the solution is simple.
No longer do it search if the type of game matches with the default ones, but simply the command works with the name of the dsr that you want to place. It does not matter if it is a default dsr, the user must write the full name of the file.
!mag dome TDM_default
And so this part would correctly display the game mode on the web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants