Page 1 of 1

[0.14.1][Modding] Uninterruptable Movement

Posted: Fri Aug 26, 2016 10:23 pm
by kiba
I wrote a mod for controlling player's movement.

Part of my expectation is the ability to interrupt automated movement using WASD keys to redirect character movement elsewhere.

That became not possible with 0.14.1 release.

I don't know if this is a bug or intentional.

I updated the current revision of my mod and a savefile demonstrating that issue(you'll be going in a loop when you load the file).

Re: [0.14.1][Modding] Uninterruptable Movement

Posted: Sat Aug 27, 2016 1:32 am
by Rseding91
You've never been able to block player movement through mods. That's not a bug.

Re: [0.14.1][Modding] Uninterruptable Movement

Posted: Sat Aug 27, 2016 2:53 am
by kiba
Rseding91 wrote:You've never been able to block player movement through mods. That's not a bug.
My mod's purpose is doing automation of movement, not blocking player movement.

However, in this version, my mod does block player movement. This is a new bug.

Re: [0.14.1][Modding] Uninterruptable Movement

Posted: Sat Aug 27, 2016 3:19 am
by zackman0010
Kiba explained it better in our chat room when he first discovered the bug. His mod gives movements orders to the player's character during certain conditions. Pre-0.14, the player would be able to break out of kiba's movement orders by simply moving as normal with WASD keys. However, since the 0.14 update, that method did not work in his testing.

Re: [0.14.1][Modding] Uninterruptable Movement

Posted: Sat Aug 27, 2016 3:56 am
by Rseding91
Please post steps on your first post here with steps to reproduce the issue in 0.13 and 0.14 explaining better what was happening and what is happening now.

I think this might be related to some of the network packet size reduction work that was done for 0.14.

Re: [0.14.1][Modding] Uninterruptable Movement

Posted: Sat Aug 27, 2016 12:47 pm
by kiba
Rseding91 wrote:Please post steps on your first post here with steps to reproduce the issue in 0.13 and 0.14 explaining better what was happening and what is happening now.

I think this might be related to some of the network packet size reduction work that was done for 0.14.
I reuploaded the renamed savefile to make it clearer that it is the savefile, and not the mod. MagneticFloor is the mod.

When you load the savefile and the mod, take note that you will be moving around in an infinite loop.

What was happening: You can break out of the loop by using WASD. Note, that merely give the player temporary control. It will then quickly revert back to automatic control by the mod once the keypresses stop coming. Automatic control will end when the user is not on the copper path(frequently by using WASD to move off the pathway), or that the charges(indicated on upper left-corner) becomes zero.

What is happening now: You cannot use WASD to break out of the loop. Any such keypresses by the player does nothing.

I hope this helps.

Re: [0.14.1][Modding] Uninterruptable Movement

Posted: Mon Aug 29, 2016 3:20 pm
by Rseding91
I talked to Kovarex about this and he said he's not going to change it back.

There where changes in 0.14 to reduce the amount of network traffic when walking around which results in what you're experiencing.

Re: [0.14.1][Modding] Uninterruptable Movement

Posted: Mon Aug 29, 2016 3:50 pm
by kiba
Rseding91 wrote:I talked to Kovarex about this and he said he's not going to change it back.

There where changes in 0.14 to reduce the amount of network traffic when walking around which results in what you're experiencing.
OK. Then I'll need to decide what to do with this limitation imposed on my mod. I can't use WASD to break out, but I don't think this is such a big breaking change either.