2025-07-26 11:20 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003827Spring engineGeneralpublic2013-06-12 22:47
ReporterGoogle_Frog 
Assigned TojK 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusresolvedResolutionfixed 
Product Version94.1.1+git 
Target VersionFixed in Version 
Summary0003827: Units walk off the edge of the map
DescriptionIn the Archers Valley game an Outlaw walks off a hill at 3050, 2510, 11:15. It floats in the air at a constant height and does not slow down for terrain or obstructions. It eventually walks off the bottom of the map.

In the Small Divide Remake battle Dirtbags continue moving after using jumpjets and sometimes move off the map. They were reported to be unselectable. Velocity is set in the jumpjets gadget while movectrl is enabled so in an attempt to fix this I set velocity to 0 just before movectrl.disable.
Additional InformationMap: Archers_Valley_v6
Game version: Zero-K test-10317
Engine version: 94.1.1-597-ga5ee0f9

Map: Small_Divide-Remake-v04
Game version: Zero-K test-10316
Engine version: 94.1.1-597-ga5ee0f9
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0010818

abma (administrator)

Last edited: 2013-06-02 16:04

View 2 revisions

are you sure there is no gadget involved?

see 0003803

~0010823

Google_Frog (reporter)

Jump example has a gadget involved. I can't think of any gadget which affects Outlaw. It also walked through the sky and nothing should make it do that.

~0010827

Google_Frog (reporter)

Many examples in this replay http://zero-k.info/Battles/Detail/172232

~0010830

jK (developer)

Last edited: 2013-06-04 15:16

View 3 revisions

took the Archers_Valley_v6 demo
and disabled luarules right before the Dirtbag in the center starts to `fly` (~ 10:00)
-> the bug didn't happen
So to me it looks extremely like a bug in your lua gadgets.

~0010833

Google_Frog (reporter)

No gadget is in place to create anything like this behaviour. Units walking in air is a common occurrence in this engine version and has not occurred before. So if it is a gadget related issue then there is some engine bug (or at least an undocumented change) which is causing the gadget to do this.

~0010834

jK (developer)

fact is that it is caused by a gadget

~0010835

Google_Frog (reporter)

Last edited: 2013-06-05 10:00

View 2 revisions

Oh... "and disabled luarules right before the Dirtbag in the center starts to `fly` (~ 10:00)"

The bug did not occur at that time even with luarules enabled!!!


To quote: "In the Archers Valley game an Outlaw walks off a hill at 3050, 2510, 11:15. It floats in the air at a constant height and does not slow down for terrain or obstructions. It eventually walks off the bottom of the map."

(Replay is also found here http://zero-k.info/Battles/Detail/171642)

To be more specific:
 * Pause
 * /skip 673
 * /luarules disable
 * Unpause
Bug occurs.

Try this too:
 * Pause
 * /skip 673
 * /godmode
 * Tell Outlaw to move north
 * /luarules disable
 * Unpause
Bug does not occur. This shows that whatever messed up unit movement has not happened yet by second 673. So luarules has no effect.

So it is not caused by a gadget.

~0010836

abma (administrator)

(i have no clue how to use movectrl, but i guess this is how it should be used:)
MoveCtrl.Enable is called before 673 but not disabled afterwards?

~0010837

abma (administrator)

two notes: with "Zero-K test-10356" starting spring with the engine menu doesn't work as no start-unit is placed
[f=0000000] Error: Lua LoadCode pcall error = 0, LuaRules/main.lua, error = 3, LuaRules/gadgets.lua, [string "LuaRules/gadgets.lua"]:1920: function arguments expected near 'and'

~0010838

Google_Frog (reporter)

Oops. That is unrelated to this bug though.

If MoveCtrl.Enable is called before 673 then the test "Try this too" would not work as it does.

~0010839

Google_Frog (reporter)

Example with different unit types: http://zero-k.info/Battles/Detail/172508
Seems to occur every game.

~0010840

jK (developer)

Duration: 0 seconds ....

~0010841

Google_Frog (reporter)

No idea. Replay bug.

~0010842

abma (administrator)

see http://springrts.com/mantis/file_download.php?file_id=2312&type=bug

imo the same bug...

~0010862

Google_Frog (reporter)

Another case, with working replay: http://zero-k.info/Battles/Detail/174133

The bug happens to the CAI commander at 2280,3400 163s. The walkscript for this unit breaks some time earlier in the replay. Firing works fine. Here are some things to do:

Reproduce bug:
 * Pause
 * /skip 164
 * Give move order to commander
Bug occurs

Test time bound on bug:
 * Pause
 * /skip 163
 * Give move order to commander
Bug does not occur

I think the bug is triggered when the Thug projectile hits the commander.

~0010863

abma (administrator)

Last edited: 2013-06-12 18:03

View 2 revisions

@Google_Frog:
is map deformation involved in your examples, too?

~0010864

Google_Frog (reporter)

I don't know. In the most recent example none of the units attacking the commander have cratering weapons. So I doubt that terrain deformation is related. Is there any way to toggle terrain deformation midgame?
+Notes

-Issue History
Date Modified Username Field Change
2013-06-02 09:53 Google_Frog New Issue
2013-06-02 09:53 Google_Frog File Added: 20130602_170753_Small_Divide-Remake-v04_94.1.1-597-ga5ee0f9 develop.sdf
2013-06-02 09:54 Google_Frog File Added: 20130602_172023_Archers_Valley_v6_94.1.1-597-ga5ee0f9 develop.sdf
2013-06-02 15:44 abma Note Added: 0010818
2013-06-02 16:04 abma Note Edited: 0010818 View Revisions
2013-06-03 11:47 Google_Frog Note Added: 0010823
2013-06-04 12:09 Google_Frog Note Added: 0010827
2013-06-04 14:46 jK Note Added: 0010830
2013-06-04 14:46 jK Note Edited: 0010830 View Revisions
2013-06-04 15:16 jK Note Edited: 0010830 View Revisions
2013-06-05 07:42 Google_Frog Note Added: 0010833
2013-06-05 09:34 jK Note Added: 0010834
2013-06-05 09:59 Google_Frog Note Added: 0010835
2013-06-05 10:00 Google_Frog Note Edited: 0010835 View Revisions
2013-06-05 10:22 abma Note Added: 0010836
2013-06-05 10:37 abma Note Added: 0010837
2013-06-05 11:36 Google_Frog Note Added: 0010838
2013-06-05 15:17 Google_Frog Note Added: 0010839
2013-06-08 14:22 jK Note Added: 0010840
2013-06-08 15:49 Google_Frog Note Added: 0010841
2013-06-08 16:00 abma File Added: 20130608_155420_Small Supreme Islands V2_94.1.1-601-ge44826e develop.sdf
2013-06-08 16:01 abma Note Added: 0010842
2013-06-12 17:40 Google_Frog Note Added: 0010862
2013-06-12 18:02 abma Note Added: 0010863
2013-06-12 18:03 abma Note Edited: 0010863 View Revisions
2013-06-12 18:32 Google_Frog Note Added: 0010864
2013-06-12 22:47 jK Changeset attached => spring develop 3be44ed7
2013-06-12 22:47 jK Assigned To => jK
2013-06-12 22:47 jK Status new => resolved
2013-06-12 22:47 jK Resolution open => fixed
+Issue History