View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003611 | Spring engine | Lua | public | 2013-03-23 19:34 | 2013-12-06 13:12 | ||||
Reporter | Cubex | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 94.1.1+git | ||||||||
Target Version | Fixed in Version | 95.0 | |||||||
Summary | 0003611: function gadget:DefaultCommand() callin doesn't get called | ||||||||
Description | Tested in 91 -> working, called as always Tested in 93.2, 93 dev, 94.01 dev, -> never called | ||||||||
Steps To Reproduce | Create any gadget with function gadget:DefaultCommand() and put a Spring.Echo on it, never gets called | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Kloot (developer) 2013-03-24 16:13 |
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). |
Cubex (reporter) 2013-03-30 00:32 |
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. |
Kloot (developer) 2013-03-30 01:26 |
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. |
2013-03-30 01:58 |
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? |
Cubex (reporter) 2013-03-30 18:07 Last edited: 2013-03-30 18:08 |
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) |
Cubex (reporter) 2013-03-30 18:52 |
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... |
Cubex (reporter) 2013-04-04 16:29 |
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... |
Kloot (developer) 2013-12-06 13:12 |
probably same as 0004091 |
![]() |
|||
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 |
|
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 |