bergerhealer / TrainCarts

Minecarts redefined
MIT License
205 stars 63 forks source link

cant accelerated,get stuck,detecter does not seem to be very sensitive. #428

Closed Halogly closed 1 year ago

Halogly commented 3 years ago

Info

Please provide the following information:


Bug

Description

  1. The train can decelerate but cannot accelerate. I set the launch speed to 0 and the train stopped well. But when I set it to 5, 10, 100, the speed of the train did not change.
  2. Sometimes multiple trains stay at the same station and get stuck, making the creak when the train is moving. Other trains will depart normally after arriving at the station, just like transparent. But it can still be knocked out by hand. (I enabled keepChunksLoaded).
  3. It may be related to the second article. The detecter does not seem to be very sensitive. Sometimes the train is already on the track, but the light does not turn on.

Expected behaviour

It can be accelerated, will not get stuck, and the detector will be more sensitive.

Actual behaviour

up.

Steps to reproduce

up.

Additional Information

maybe none.

bbayu123 commented 3 years ago
  1. "cannot accelerate" You need to change the train's maxspeed property in order to have it accelerate beyond what is normally acceptable. If you want to go higher than 5, then you must also change the value in the config, since that acts as a hard cap.
  2. What do you mean by "stuck"? What does it look like? Trains don't "creak", so that also doesn't make sense.
  3. If you set up your detectors incorrectly, they won't detect the region you want. Without knowing more information, we cannot help you with that.
Halogly commented 3 years ago
  1. “无法加速” 您需要更改火车的 maxspeed 属性,以使其加速超出通常可接受的范围。如果您想高于 5,那么您还必须更改配置中的值,因为它充当硬上限。
  2. 你说的“卡住”是什么意思?它是什么样子的?火车不会“吱吱作响”,所以这也没有意义。
  3. 如果您错误地设置检测器,它们将无法检测到您想要的区域。在不了解更多信息的情况下,我们无法为您提供帮助。

It means that several trains overlapped and stuck at the station motionless, but they kept making sounds like they were moving. This caused my detector to detect problems, and the detector runs normally under normal circumstances.你是中国人?

bbayu123 commented 3 years ago

Well, firstly, a video would help, as I still cannot grasp the problem that you're having. Also, check for any errors that may have appeared in the console. If you're using a 1.17.1 server, I also suggest upgrading to the latest development build, as I think some critical issue was fixed there. 中文可以, but I tend to respond in English so that others also know what is happening.

Halogly commented 3 years ago

like this(那我也英语好了) 2021-08-25 11-44-13 Can only send 10MB...那个能顺便告诉我怎么改限速吗?

嗯,首先,视频会有所帮助,因为我仍然无法理解您遇到的问题。此外,检查控制台中可能出现的任何错误。如果您使用的是 1.17.1 服务器,我还建议升级到最新的开发版本,因为我认为那里修复了一些关键问题。中文可以,但我倾向于用英文回应,这样其他人也知道发生了什么。

Halogly commented 3 years ago

I set the maximum speed, but the problem came again. When I set it to 1, the train slowed down and then changed back to the original speed.

bbayu123 commented 3 years ago

like this(那我也英语好了) 2021-08-25 11-44-13 Can only send 10MB...那个能顺便告诉我怎么改限速吗?

嗯,首先,视频会有所帮助,因为我仍然无法理解您遇到的问题。此外,检查控制台中可能出现的任何错误。如果您使用的是 1.17.1 服务器,我还建议升级到最新的开发版本,因为我认为那里修复了一些关键问题。中文可以,但我倾向于用英文回应,这样其他人也知道发生了什么。

If you have train collision set to "CANCEL", then that's exactly what happens, not TrainCart's fault there.

I set the maximum speed, but the problem came again. When I set it to 1, the train slowed down and then changed back to the original speed.

a. If you change the maximum speed, you need to launch it to go faster. It's like moving onto a highway from a normal road. The speed limit is higher, but you need to press the gas pedal for it to go faster. b. If you have the "slowdown.friction" property set to true, then the train will slow down due to friction, just like in real life. Trains on powered rails are only accelerated to a certain speed, and they will only maintain that set speed. If you need a speed higher than the powered rail's speeds, either change the powered rail's influence in the config, or just forego the use of powered rails and use a combination of launcher/maxspeed property/slowdown.friction property signs to maintain the train's speed.

Halogly commented 3 years ago

like this(那我也英语好了) 2021-08-25 11-44-13 Can only send 10MB...那个能顺便告诉我怎么改限速吗?

嗯,首先,视频会有所帮助,因为我仍然无法理解您遇到的问题。此外,检查控制台中可能出现的任何错误。如果您使用的是 1.17.1 服务器,我还建议升级到最新的开发版本,因为我认为那里修复了一些关键问题。中文可以,但我倾向于用英文回应,这样其他人也知道发生了什么。

If you have train collision set to "CANCEL", then that's exactly what happens, not TrainCart's fault there.

I set the maximum speed, but the problem came again. When I set it to 1, the train slowed down and then changed back to the original speed.

a. If you change the maximum speed, you need to launch it to go faster. It's like moving onto a highway from a normal road. The speed limit is higher, but you need to press the gas pedal for it to go faster. b. If you have the "slowdown.friction" property set to true, then the train will slow down due to friction, just like in real life. Trains on powered rails are only accelerated to a certain speed, and they will only maintain that set speed. If you need a speed higher than the powered rail's speeds, either change the powered rail's influence in the config, or just forego the use of powered rails and use a combination of launcher/maxspeed property/slowdown.friction property signs to maintain the train's speed.

Well, I understand the speed, but the train in the GIF is indeed stuck. My train can collide normally and will not be together. You can see the train in the GIF that has stopped under the station. The lever is not pulled, only when another train enters the lever.

bbayu123 commented 3 years ago

like this(那我也英语好了) 2021-08-25 11-44-13 Can only send 10MB...那个能顺便告诉我怎么改限速吗?

嗯,首先,视频会有所帮助,因为我仍然无法理解您遇到的问题。此外,检查控制台中可能出现的任何错误。如果您使用的是 1.17.1 服务器,我还建议升级到最新的开发版本,因为我认为那里修复了一些关键问题。中文可以,但我倾向于用英文回应,这样其他人也知道发生了什么。

If you have train collision set to "CANCEL", then that's exactly what happens, not TrainCart's fault there.

I set the maximum speed, but the problem came again. When I set it to 1, the train slowed down and then changed back to the original speed.

a. If you change the maximum speed, you need to launch it to go faster. It's like moving onto a highway from a normal road. The speed limit is higher, but you need to press the gas pedal for it to go faster. b. If you have the "slowdown.friction" property set to true, then the train will slow down due to friction, just like in real life. Trains on powered rails are only accelerated to a certain speed, and they will only maintain that set speed. If you need a speed higher than the powered rail's speeds, either change the powered rail's influence in the config, or just forego the use of powered rails and use a combination of launcher/maxspeed property/slowdown.friction property signs to maintain the train's speed.

Well, I understand the speed, but the train in the GIF is indeed stuck. My train can collide normally and will not be together. You can see the train in the GIF that has stopped under the station. The lever is not pulled, only when another train enters the lever.

Ok I see the levers now... without more information, I can only guess it is ghost trains, they don't exist on the server, yet they do on the client; or that those are not traincart trains, can happen when you restart the server without removing all trains. Once again if that is the case, there should be console errors.

Halogly commented 3 years ago

就这样(那我也用英语好了) 只能发10MB……那个人能告诉我怎么改限速吗? 2021-08-25 11-44-13

嗯,首先,视频会有所帮助,因为我还无法理解您遇到的问题。此外,建议检查挖掘中可能出现的任何错误。如果您使用的是 1.17.1 服务器,我还升级到最新的开发版本,因为我认为这里修复了一些关键问题。中文可以,但我用英文回复,这样其他人也知道有什么。

如果您将火车碰撞设置为“取消”,那么这正是发生的情况,而不是 TrainCart 的错。

我设置了最大速度,但问题又来了。当我将它设置为1时,火车减速然后变回原来的速度。

一种。如果更改最大速度,则需要启动它才能更快。这就像从普通道路驶入高速公路。速度限制更高,但您需要踩下油门才能使其更快。 湾 如果您将“slowdown.friction”属性设置为true,那么火车会因摩擦而减速,就像在现实生活中一样。动力铁轨上的火车只会加速到一定的速度,并且只会保持设定的速度。如果你需要比动力铁轨的速度更高的速度,要么在配置中改变动力铁轨的影响,要么放弃使用动力铁轨并使用发射器/最大速度属性/slowdown.friction 属性标志的组合来保持火车的速度.

嗯,速度我懂,但是GIF中的火车确实卡住了。我的火车可以正常碰撞,不会在一起。您可以在 GIF 中看到停在车站下方的火车。只有当另一列火车进入杠杆时才拉动杠杆。

好的,我现在看到了杠杆……没有更多信息,我只能猜测它是幽灵列车,它们不存在于服务器上,但它们存在于客户端;或者那些不是 traincart 列车,可能会在您重新启动服务器而不移除所有列车时发生。如果是这种情况,则应该再次出现控制台错误。

emm,so how to solve it,I'm a little farther away, the train looks like this. And it can be knocked out by hand, it is made up of multiple trains

bbayu123 commented 3 years ago

Yep, looks like just normal minecarts then. Once again, check for console errors, and if there are none, the only suggestion I have for you is to remove all trains when you restart your server through destroyAllOnShutdown in the config. TrainCarts always reports this behaviour inside the console/logs. Without this information, then we can't even say it's a TrainCarts issue.

bbayu123 commented 1 year ago

Closing issue, stale - not enough information.