Page 1 of 1

[solved] springlobby <-> attack on area ?

Posted: 09 Aug 2016, 23:37
by qray
Strange problem here :o

System: Ubuntu
Game: BA 9.40 , using static binaries of the engine (103, but tested also with 100 and fitting BA version) and self-compiled springlobby binaries.

If I use springlobby 0.255 and try to issue an attack command over an area (select "attack" and draw rectangle to select multiple units) it doesn't work and the units go to attack the first clicked point of the area.
If I start the same engine (static binary) with the same game using springlobby 0.225 it works and units go to attack all units in the selected rectangle.

Somebody any idea what could cause this, what to check, what could have changed or even how to fix it?

Re: springlobby <-> attack on area ?

Posted: 10 Aug 2016, 08:23
by Silentwings
First step is to attach both infologs ;)

Probably broken/conflicting widget(s), test with luaui disabled in both cases.

Re: springlobby <-> attack on area ?

Posted: 10 Aug 2016, 14:02
by qray
Thanks for the tips! :-)

Infolog, right. Did not consider it first, since I thought it should load the same settings, but it seems that the order how directories are read/treated changed between lobby versions :o
Not sure if I like this change...

Tested then with luaui disable (forgot this command, duh): attack on several units using area select worked again.

Then compared infologs for enabled widgets and found by try and error on the differences that "obedient constructors" was to blame.

Again, thanks for pointing me in the right direction!

Re: [solved] springlobby <-> attack on area ?

Posted: 12 Aug 2016, 01:10
by abma
since SpringLobby 0.253 viewtopic.php?f=92&t=31224&start=240#p578708

- force SpringData to be set to DownloadDir

SpringLobby sets the environment variable SPRING_WRITEDIR: this can lead to different results when spring isn't run from springlobby.

Re: [solved] springlobby <-> attack on area ?

Posted: 12 Aug 2016, 09:40
by qray
abma wrote:SpringLobby sets the environment variable SPRING_WRITEDIR: this can lead to different results when spring isn't run from springlobby.
I don't fully get the second part, since I started in both cases from springlobby (just different versions). But that is not really important...

To understand it right: if I set the DownloadDir to the folder of the static binary, it should behave as in older lobby versions?

Re: [solved] springlobby <-> attack on area ?

Posted: 12 Aug 2016, 17:22
by abma
qray wrote:To understand it right: if I set the DownloadDir to the folder of the static binary, it should behave as in older lobby versions?
when you don't change the default value (My Games\Spring or ~/.spring on linux) it behaves the same.