Insprill / dv-multiplayer

A Derail Valley mod adding multiplayer to the game.
Apache License 2.0
33 stars 16 forks source link

Can a new feature be added: Train Dispatcher #39

Open IGBT-001 opened 7 months ago

IGBT-001 commented 7 months ago

I have an idea. Based on the current map of DV, if there are too many online players, it will cause a lot of train congestion. Can we combine the Remote Dispatch module to open a function specifically for controlling the train operation of the entire map (although we still need to solve the problem of player task system and switch synchronization before implementing this function), but we still hope to develop this function in the future。 我有一个想法,按照DV目前的地图来说,如果在线玩家一多,那将会造成列车大堵车,能否结合RemoteDispatch模组,开放出一个功能,专门用来控制整个地图的列车运行情况(虽然实现这个功能前还需要解决玩家任务系统和道岔同步问题),但还是希望以后能开发出这个功能

CODEYXone commented 7 months ago

Thanks for sharing your idea. To gain a better understanding, I would suggest adding additional details. I am particularly interested in how you envision integrating Remote Dispatch, since it's already working seamlessly when using the Remote Dispatch instance from the host.

The Remote Dispatch instances of the clients should also work as intended once the job synchronization(#11) is complete.

IGBT-001 commented 7 months ago

Thanks for sharing your idea. To gain a better understanding, I would suggest adding additional details. I am particularly interested in how you envision integrating Remote Dispatch, since it's already working seamlessly when using the Remote Dispatch instance from the host.

The Remote Dispatch instances of the clients should also work as intended once the job synchronization(#11) is complete.

Ok, my thoughts are like this:

  1. The dispatcher has enough permissions to control the turnouts of the entire map, and the player side should also synchronize the turnout data (although it can be synchronized now, it is unstable, and there will still be a phenomenon that cannot be synchronized)
  2. The dispatcher has enough permissions to add or delete vehicles to avoid road blockages after derailment (when using the first generation of online plug-ins, I encountered a bug, running the vehicle into the ground, and the vehicle could not be cleaned up using the multi-function terminal)
  3. The dispatcher has the ability to customize tasks, which will improve the playability of the online game, you can refer to the online video of the European Truck Simulator 2 Chinese team, everyone goes to the same destination with the same livery, so it is more effective to record the video, isn't it.
  4. If you can, can you add the signal system in the later stage, which will be more intuitive (this function is not in a hurry, and the number of players has not yet come up)
  5. To be supplemented

I don't know why, when I use the Remote Dispatch module, it never works, even if I use the 127.0.0.1 access port can not load the map and normal interaction functions, in the previous 92# version he worked normally, I in the latest version it does not work.

好的,我的想法是这样的: 1、调度员拥有足够的权限可以控制整个地图的道岔,玩家端也应该同步道岔数据(现在虽然能同步但是不稳定,还是会有无法同步的现象) 2、调度员拥有足够的权限可以添加或删除车辆,避免出现脱轨后导致堵路的情况(使用第一代联机插件游玩时就遇见一个BUG,跑着跑着车辆遁入地下,使用多功能终端还无法清理车辆) 3、调度员拥有自定义任务的能力,这将提高联机游戏的可玩度,可以参考欧洲卡车模拟2中国车队的联机视频,所有人同一种涂装前往同一个目的地,这样子录制视频更有效果不是吗。 4、如果可以,后期可以加入信号机系统吗,这样子将更加直观(这个功能先不急,比较玩家数量还没上来) 5、待补充

不知道为什么,我在使用Remote Dispatch模组时,它始终无法正常工作,哪怕我使用127.0.0.1访问端口都无法加载出地图和正常的交互功能,在之前92#版本的时候他是可以正常工作的,我在目前最新的版本中它无法正常工作。