IW4M-Admin icon indicating copy to clipboard operation
IW4M-Admin copied to clipboard

Doesn't display game type correctly in iw5

Open Chenterito opened this issue 3 years ago • 5 comments

image

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

image

image

Chenterito avatar Nov 28 '21 20:11 Chenterito

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

image

RaidMax avatar Nov 28 '21 21:11 RaidMax

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

RaidMax avatar Nov 28 '21 21:11 RaidMax

I mean pluto iw5

Chenterito avatar Nov 28 '21 21:11 Chenterito

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.

RaidMax avatar Nov 29 '21 03:11 RaidMax

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.

Chenterito avatar Nov 29 '21 03:11 Chenterito