2025-07-18 23:11 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002764Spring engineGeneralpublic2012-01-31 17:07
Reporterdjmad 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version84.0 
Target Version86.0Fixed in Version86.0 
Summary0002764: Building with Meta-Key pressed does not work
DescriptionBuildjob with 10 Builders

keys pressed:

Shift + Alt + Space (Fakemeta is correkt) and drag Nanotowers as example

Result before 84 : jobs are devided through bots and every bot starts other object
Result now: all bots only get the same "first" buildin into queue
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0007679

Google_Frog (reporter)

Was this engine behaviour? Sounds like a widget.

~0007680

djmad (reporter)

yes, this was engine default as i know

~0007682

Google_Frog (reporter)

No build splitting occurs in ZK with 0.82.7 and luaui disabled. Attach an infolog to be sure, my guess is a widget broke due to something like the '.n' change.

~0007683

Kloot (developer)

Lua issue

~0007690

djmad (reporter)

Last edited: 2011-11-24 19:52

Google_Frog was right it was a widget which enabled this function
"cmd_buildsplit.lua"
BUT:


CommandNotify

if building with a shift command commandnotify delivers a command for each item
when holding the shift+meta key it only delivers 1st item

> function widget:CommandNotify(cmdID, cmdParams, cmdOpts)
Spring.Echo(#cmdOpts,#cmdParams) <

count the lines at output

0.82.7 does does deliver all commands if holding meta key (i verified with the same mod installed and all widgeds disabled but cmd_buildsplit.lua
definitiv the following build commands are missing while holding meta)

~0007691

djmad (reporter)

btw, the same issue is at the central-build widget, also here, while holding meta no 2nd 3rd,........ build orders are coming in per CommandNotify

~0007717

Kloot (developer)

does NOT reproduce with XTA 9.666, two-line CommandNotify as below, all other widgets disabled, meta bound to space (default), pressing either shift+space or shift+alt+space --> one line gets printed for every unique build command


  function widget:CommandNotify(cmdID, cmdParams, cmdOpts)
    print("cmdID=" .. cmdID .. ", #params=" .. #cmdParams .. ", #opts=" .. #cmdOpts)
    return false
  end

~0008041

djmad (reporter)

Last edited: 2011-12-30 13:54

http://springrts.com/phpbb/viewtopic.php?f=23&t=27393&p=509366#p509366

  function widget:CommandNotify(cmdID, cmdParams, cmdOpts)
    print("cmdID=" .. cmdID .. ", #params=" .. #cmdParams .. ", #opts=" .. #cmdOpts)
    return true
  end

with return true its not working correctly

~0008112

abma (administrator)

please retry with a build after https://github.com/spring/spring/commit/d4d0308a3d9a60f767e4cb44a96a333f8b2e471d

(current development build / release build spring > 85.0)
+Notes

-Issue History
Date Modified Username Field Change
2011-11-24 15:34 djmad New Issue
2011-11-24 15:46 Google_Frog Note Added: 0007679
2011-11-24 16:02 djmad Note Added: 0007680
2011-11-24 16:32 Google_Frog Note Added: 0007682
2011-11-24 16:50 Kloot Note Added: 0007683
2011-11-24 16:50 Kloot Status new => closed
2011-11-24 16:50 Kloot Resolution open => no change required
2011-11-24 19:43 djmad Note Added: 0007690
2011-11-24 19:43 djmad Status closed => feedback
2011-11-24 19:43 djmad Resolution no change required => reopened
2011-11-24 19:44 djmad Note Edited: 0007690
2011-11-24 19:44 djmad Note Edited: 0007690
2011-11-24 19:51 djmad Note Edited: 0007690
2011-11-24 19:52 djmad Note Edited: 0007690
2011-11-24 19:54 djmad Note Added: 0007691
2011-11-26 16:54 Kloot Note Added: 0007717
2011-11-26 16:54 Kloot Status feedback => closed
2011-11-26 16:54 Kloot Resolution reopened => no change required
2011-12-30 13:51 djmad Note Added: 0008041
2011-12-30 13:51 djmad Status closed => feedback
2011-12-30 13:51 djmad Resolution no change required => reopened
2011-12-30 13:54 djmad Note Edited: 0008041
2012-01-09 23:09 abma Target Version => 86.0
2012-01-09 23:30 abma Note Added: 0008112
2012-01-31 17:07 Kloot Status feedback => resolved
2012-01-31 17:07 Kloot Fixed in Version => 86.0
2012-01-31 17:07 Kloot Resolution reopened => fixed
2012-01-31 17:07 Kloot Assigned To => Kloot
+Issue History