2025-07-22 07:16 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003611Spring engineLuapublic2013-12-06 13:12
ReporterCubex 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version94.1.1+git 
Target VersionFixed in Version95.0 
Summary0003611: function gadget:DefaultCommand() callin doesn't get called
DescriptionTested in 91 -> working, called as always
Tested in 93.2, 93 dev, 94.01 dev, -> never called

Steps To ReproduceCreate any gadget with function gadget:DefaultCommand() and put a Spring.Echo on it, never gets called
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0010181

Kloot (developer)

Can't reproduce with locally modified versions of BA (7.72) and XTA (9.725).

Check that you placed gadget:DefaultCommand in the UNsynced part of your gadget(s).

~0010317

Cubex (reporter)

Added a Test Case as suggested by jK for reproducibility of this bug
https://www.dropbox.com/s/rx6diyl8c7aygfj/TestCase-Cubex-13-03-30.zip
The zip contains a txt file with summary of how reproduce the bug and a folder called "clip.sdd" with entire game for testing.

As Kloot noted, this bugs only affects to my game (maybe a missconfiguration?) and both 0K and BA is unaffected, but there is something in 93/94 engine that makes the function not be called.

~0010318

Kloot (developer)

It works out of the box for me with 94.0, just unzipped your .sdd folder without any changes. A misconfigured installation is the most likely cause.

~0010319

user744

with 94.1 (downloaded by weblobby) the citadell has the engines move command.
the custom move cmd only works by clicking the button.
does DefaultCommand work like some other callins, as in gadgets can eat the call with return values?

~0010325

Cubex (reporter)

Last edited: 2013-03-30 18:08

View 3 revisions

Does the spEcho("HEY I'M CALLED!") appears in chat console? remenber that when citadel is selected, only the "Move Citadel" cmd sould be appearing when pointing the ground and NOT the spring's default Move cmd.

@knorker, yes the gadget:DefaultCommand() sould behave as normal callin but in my case doesn't get called in any gadget (unsync)

~0010326

Cubex (reporter)

Tested in Spring 94.1 ultrafresh instalation (formated, never installed before) in a Windows machine with some random map and the test case, it behave like in my linux box and the bug still is present... a posible wrong instalation is unlikelly...

~0010388

Cubex (reporter)

Well this is getting weird today, seems that with nvidia GPU (I have a optimus laptop as work pc) the function gets called correctly, but with Intel doesn't (same in Windows), 0K is unaffected in my tests... so its particular to this game.

Anyways I don't see the relation betwen different GPU's and DefaultCommand not being called... it's really weird...

~0012338

Kloot (developer)

probably same as 0004091
+Notes

-Issue History
Date Modified Username Field Change
2013-03-23 19:34 Cubex New Issue
2013-03-24 16:13 Kloot Note Added: 0010181
2013-03-24 16:13 Kloot Status new => closed
2013-03-24 16:13 Kloot Assigned To => Kloot
2013-03-24 16:13 Kloot Resolution open => unable to reproduce
2013-03-30 00:32 Cubex Note Added: 0010317
2013-03-30 00:32 Cubex Status closed => feedback
2013-03-30 00:32 Cubex Resolution unable to reproduce => reopened
2013-03-30 01:26 Kloot Note Added: 0010318
2013-03-30 01:58 user744 Note Added: 0010319
2013-03-30 18:07 Cubex Note Added: 0010325
2013-03-30 18:07 Cubex Status feedback => assigned
2013-03-30 18:07 Cubex Note Edited: 0010325 View Revisions
2013-03-30 18:08 Cubex Note Edited: 0010325 View Revisions
2013-03-30 18:52 Cubex Note Added: 0010326
2013-04-04 16:29 Cubex Note Added: 0010388
2013-12-06 13:12 Kloot Note Added: 0012338
2013-12-06 13:12 Kloot Status assigned => resolved
2013-12-06 13:12 Kloot Fixed in Version => 95.0
2013-12-06 13:12 Kloot Resolution reopened => fixed
+Issue History