[solved] springlobby <-> attack on area ?

[solved] springlobby <-> attack on area ?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

[solved] springlobby <-> attack on area ?

Post 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?
Last edited by qray on 10 Aug 2016, 14:02, edited 2 times in total.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: springlobby <-> attack on area ?

Post by Silentwings »

First step is to attach both infologs ;)

Probably broken/conflicting widget(s), test with luaui disabled in both cases.
User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

Re: springlobby <-> attack on area ?

Post 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!
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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.
User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

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

Post 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?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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.
Post Reply

Return to “Help & Bugs”