Page 2 of 2

Re: Instant turn rate?

Posted: 28 Oct 2018, 12:29
by Kloot
Reproducing this locally eludes me so I would like you to do the following:

1) grab Balanced Annihilation 10.13 (sdz) and extract it to an sdd directory
2) open units/ArmVehicles/armfav.lua and change acceleration/brakeRate/maxVelocity/turnRate to 10/10/10/32767
3) open gamedata/movedefs.lua and force moveData.allowRawMovement (line 575) to false
4) open luarules/gadgets/unit_prevent_nanoframe_blocking_hax.lua and replace its UnitCreated callin
5) run the game with your edits, enter /cheat and /give armfav
6) trigger the bug, upload the demo file (sdfz) to a mantis ticket

Re: Instant turn rate?

Posted: 28 Oct 2018, 13:20
by Forboding Angel
https://github.com/Balanced-Annihilatio ... /tag/10.13

Just unzip the release to an .sdd folder and you're golden.

Re: Instant turn rate?

Posted: 28 Oct 2018, 13:31
by Rampoina
Kloot wrote:
28 Oct 2018, 12:29
Reproducing this locally eludes me so I would like you to do the following:

1) grab Balanced Annihilation 10.13 (sdz) and extract it to an sdd directory
2) open units/ArmVehicles/armfav.lua and change acceleration/brakeRate/maxVelocity/turnRate to 10/10/10/32767
3) open gamedata/movedefs.lua and force moveData.allowRawMovement (line 575) to false
4) open luarules/gadgets/unit_prevent_nanoframe_blocking_hax.lua and replace its UnitCreated callin
5) run the game with your edits, enter /cheat and /give armfav
6) trigger the bug, upload the demo file (sdfz) to a mantis ticket
Gotcha
It seems to be working way better on Balanced Annihilation 10.13.
To be clear I was just using https://github.com/spring-archive/sprin ... algame.sdd so the steps to reproduce it would be just 2) and 4) on that repo.
How do I generate the sdfz? It's not as easy but I can glitch the unit.
Also do you have a link to the bugtracker?

Re: Instant turn rate?

Posted: 28 Oct 2018, 14:07
by Kloot
Demo files are automatically generated in your writeable data directory (search your system for infolog.txt to find it) under "demos".

Bugtracker is here: https://springrts.com/mantis/
To be clear I was just using https://github.com/spring-archive/sprin ... algame.sdd so the steps to reproduce it would be just 2) and 4) on that repo.
It could just be due to a difference in mouse-click processing latency, but I had no luck (after hacking up simpleattackvehicle and the game_spawn gadget) in this direction either.

EDIT: actually managed to catch it in the act now, this should be interesting.

Re: Instant turn rate?

Posted: 28 Oct 2018, 14:32
by Rampoina
Kloot wrote:
28 Oct 2018, 14:07
Demo files are automatically generated in your writeable data directory (search your system for infolog.txt to find it) under "demos".

Bugtracker is here: https://springrts.com/mantis/
To be clear I was just using https://github.com/spring-archive/sprin ... algame.sdd so the steps to reproduce it would be just 2) and 4) on that repo.
It could just be due to a difference in mouse-click processing latency, but I had no luck (after hacking up simpleattackvehicle and the game_spawn gadget) in this direction either.

EDIT: actually managed to catch it in the act now, this should be interesting.

And there you go: https://springrts.com/mantis/view.php?id=6059

Damn stop ninja'ing me haha