CSM icon indicating copy to clipboard operation
CSM copied to clipboard

Add support for DLC

Open ZeNico13 opened this issue 7 years ago • 7 comments

Describe the bug

The mod does not support buildings and other things added by DLCs. Even if everyone connected has the DLC, the buildings do not display and are replaced by basic buildings.

How to Reproduce

Steps to reproduce the behavior:

  1. Start a game with DLCs enabled
  2. Join the host
  3. Place a building of a DLC and look at what is happening on the Client side and the Server side

Expected behavior

Normally, the DLC building should be placed correctly if all connected people have the DLC. If this is not the case, then do not build anything and send a message to the users to warn that everyone does not have the DLC rather than building a random buggy building.

Screenshots

Here is an example with the DLC "Green Cities" :

View of the person building the building : sortie d eau ecolo vue serveur - construction par client - dlc ok vue cote client

View of the person who does not build the building : sortie d eau ecolo vue serveur - construction par client - dlc ok vue cote serveur

You can see that when someone builds a DLC building (here an Ecological Water Outlet), this person sees the right building but the other people see a random buggy building.

Additional context

To get this bug, we both had the DLC "Green Cities" loaded.

Another example

If the client connects to the server on a different map than the server, some bugs appear.

Note: We have not tested with two vanilla maps*. We have tested with a "Snowfall" DLC map on the server and a classic vanilla map* on the client.

*What I call "Vanilla Map" is the maps that everyone has access to with the basic game, without DLC.

Note: The Client did not have the DLC "Snowfall" unlike the server that had the DLC.

Here is the screen of the view of the person who had the DLC map "Snowfall" (Server) : map dlc snowfall cote serveur - map classique et pas le dlc cote client

As you can see, when the client builds a road, this strange thing appears on the server side.

This concludes the summary of this problem.

A little message for developers

I know that for the moment you are focusing on the synchronization of all vanilla elements but I still wanted to mention this problem :)

Also, your mod is fantastic and many people were waiting for it with great impatience ! It's good to see this mod finally working ! :') You're doing a great job ! Thank you very much for all ! :D

ZeNico13 avatar Nov 10 '18 12:11 ZeNico13

That is interesting, i would have thought it would work, if both had the same DLC. Do i understand it correctly, that both own the same DLC Green Cities, but also have different DLC's installed?

Treholt3103 avatar Nov 10 '18 15:11 Treholt3103

Yes that's right ! Personally, I have all the DLCs in the game. But my friend does not own them all. He only has some of them. So we have some DLCs in common (example : Green Cities).

ZeNico13 avatar Nov 10 '18 16:11 ZeNico13

The bug is probably caused by the infoindex pointing at different prefabs, it could make it harder to support DLC's and custom assets, we will have to see :)

Treholt3103 avatar Nov 10 '18 17:11 Treholt3103

Next time, please, at least have the decency and read the FAQ, before bothering developers. Thanks https://github.com/DominicMaas/Tango/wiki/Frequently-Asked-Questions#are-dlcs-supported

motey avatar Nov 19 '19 13:11 motey

Next time, please, at least have the decency to look at the publication dates of the posts before posting this kind of comment. Thanks.

(It's thanks to me that they added this to their FAQ.)

ZeNico13 avatar Nov 28 '19 17:11 ZeNico13

Hey @ZeNico13, @motey's comment was an answer to a different recent comment, which was deleted, so this seems to be a misunderstanding :)

kaenganxt avatar Nov 28 '19 18:11 kaenganxt

Oh, okay, excuse me then

ZeNico13 avatar Nov 28 '19 19:11 ZeNico13