Skip to content

T4MP FastDL for usermap rotation doesn't work #81

Description

@cooljayyy

What happened?

When setting up a server with multiple usermaps, the map rotation (sv_mapRotation/sv_mapRotationCurrent) does not auto disconnect clients to download the usermap like IW5 does, instead they crash with the error: "ERROR: Could not find zone 'C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\zone\english<mapname>.ff'". This makes multiple usermap servers completely infeasible.

FastDL works correctly for clients on initial join, loading into the usermap correctly, it is only map switches/rotate which does not work.

Clients with usermap/s already installed don't crash and load into the next map/match correctly.

Experimentation with the dvars sv_allowDOwnload, sv_wwwDownload, sv_wwwDLDisconnected, proved to have no effect.

Note that otherwise packing usermaps as separate mods is not ideal in my case as the whole purpose of having usermaps is to run them simultaneously with a set mod.

Expected result

Map rotation should match IW5 behavior in disconnecting clients who don't have the map and then downloading the map (FastDL ImGUI) and once completed reconnect them to the server.

Steps to reproduce

  1. Setup a public server with a usermap in usermaps folder and sv_mapRotatation with the usermap included.
  2. Start server on a vanilla map.
  3. Have a client without the usermap join.
  4. Have the server map rotate to usermap.
  5. Observe client crash.

Affected game(s)

WaW Multiplayer (T4MP)

Affected component(s)

Client (game)

Plutonium version

r5346

Relevant logs

Heartbeat successful.
*******SERVER: SV_MatchEnd called, doing nothing.
map_rotate...
"sv_mapRotation" is:"gametype dm map mp_dome mp_nuked_xmas"
"sv_mapRotationCurrent" is:"gametype dm map mp_nuked_xmas "
Setting map: mp_nuked_xmas.
Database: Assets Sync Started
Database: Assets Sync Finished
==== ShutdownGame (1) ====

Additional information

No response

Operating system

Windows 11

Plutonium profile

No response

Discord username

cooljayy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponent: clientIssue related to the game clientgame: T4Issue related to T4mode: MPIssue only affecting Multiplayer

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions