View Issue Details

IDProjectCategoryView StatusLast Update
0003663Spring engineGeneralpublic2013-05-25 02:48
ReporterGoogle_Frog Assigned TojK  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version94.1.1+git 
Target Version95.0 
Summary0003663: (94.1.1-81) springsettings.cfg cleared
DescriptionWhenever I start a game with the test engine versions my springsettings.cfg is emptied.
TagsNo tags attached.
Attached Files
springsettings_before.cfg (Attachment missing)
springsettings_after.cfg (Attachment missing)
infolog_settings_clear.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

jK

2013-03-31 19:47

developer   ~0010339

too less info

msafwan

2013-04-02 04:24

reporter   ~0010356

This is happening!

I have this issue: http://springrts.com/mantis/view.php?id=3669 . When I test with latest version (I think 80bb6xxxxx) and I timeout while waiting for connection, the Springsettings is reset the second time I try.

abma

2013-04-02 22:46

administrator   ~0010367

latest version uses a different path for springsettings.cfg. are both config files empty?

msafwan

2013-04-03 00:43

reporter   ~0010368

Last edited: 2013-04-03 00:45

Did not realize there is different path. I do not know where to check for second path.

The one that I reporting is in mydocument/mygames/spring/springsetting.cfg

abma

2013-04-03 00:45

administrator   ~0010369

Last edited: 2013-04-03 00:52

it should be next to infolog.txt which mostly is My Documents\My Games\Spring

see http://springrts.com/phpbb/viewtopic.php?f=12&t=30044

note: till 94.1.1-90-ge74efa5 spring always detected portable mode (-> springsettings.cfg was created next to spring.exe)

msafwan

2013-04-03 01:15

reporter   ~0010370

Last edited: 2013-04-03 01:32

ok, I have done checked and rechecked again (using Spring 94.1.1-97-gf2c6a7f), with the timeout in 0003669 still happen) and it reset the Springsetting.cfg at mydocument/mygames/spring/springsettings.cfg and from infolog it is using:

1.
Using configuration source: "C:\Users\User\Documents\My Games\Spring\springsettings.cfg"

2.
Using additional configuration source: "C:\Users\User\Documents\My Games\Spring\engine\94.1.1-99-g57b4189\springsettings.cfg"

3.
Using additional configuration source: "C:\Users\User\AppData\Local\springsettings.cfg"
( http://pastebin.com/TMsB6ev8 )

---
But it doesn't reset everything, the following is the settings not reset: http://pastebin.com/guUr9Q4B

I have try using empty Springsetting.cfg and configure new value into it but the same thing happen. It reset them all except those settings.

One noticeable thing is: advUnitShading keep being turn ON while I keep repeatedly turn it OFF, hardwareCursor keep being turn OFF while I keep repeatedly turn it ON.

Google_Frog

2013-04-08 07:54

reporter   ~0010410

This occurs in 94.1.

I tested ZK 9893 on Oxygen1 with springsettings_before.cfg. When Spring starts the file turned into springsettings_after.cfg but ingame my settings were fine. On subsequent games the settings were wrong.

jK

2013-04-08 08:54

developer   ~0010411

Before assigning it to someone, could you supply a proper report???
I already said too less info
You need to supply the infolog.txt, all loaded configfiles, ...

This could have been fixed ages ago, when you would just supply proper reports!

Google_Frog

2013-04-08 09:17

reporter   ~0010413

I don't assign reports. If the report is set to feedback then the person who set it to feedback is automatically set to assigned once the reporter responds.

I don't have the rights to change the Status of tickets. Mantis does this automatically.

Google_Frog

2013-04-08 09:33

reporter   ~0010414

Cannot reproduce any more but will probably do so later.

Google_Frog

2013-04-13 07:44

reporter   ~0010438

Reproduced with test engine version. Attached infolog.

Google_Frog

2013-04-13 08:08

reporter   ~0010439

The bug does not occur if springsettings.cfg is put in engine folder.

General settings folder (in ZKL scheme) -> 'Documents\My Games\Spring'
Engine folder -> 'Documents\My Games\Spring\engine\94.1.1-162-gab09935'

Google_Frog

2013-04-13 08:27

reporter   ~0010440

To reiterate. springsettings.cfg is read correctly from either the engine folder or the general folder. The springsettings.cfg in the engine folder is not cleared at the start of every game. The springsettings.cfg in the general folder is cleared at the start of every game.

jK

2013-05-12 08:05

developer   ~0010691

try again, made a few commits that may fixed it.

abma

2013-05-25 02:48

administrator   ~0010761

if it doesn't work, please reopen...

Issue History

Date Modified Username Field Change
2013-03-31 06:27 Google_Frog New Issue
2013-03-31 19:47 jK Note Added: 0010339
2013-04-01 18:26 jK Changeset attached => spring develop 1a10bcb6
2013-04-01 18:26 jK Assigned To => jK
2013-04-01 18:26 jK Status new => resolved
2013-04-01 18:26 jK Resolution open => fixed
2013-04-01 19:16 abma Status resolved => feedback
2013-04-01 20:16 jK Changeset removed spring develop 1a10bcb6 =>
2013-04-02 04:24 msafwan Note Added: 0010356
2013-04-02 22:46 abma Note Added: 0010367
2013-04-03 00:43 msafwan Note Added: 0010368
2013-04-03 00:45 abma Note Added: 0010369
2013-04-03 00:45 msafwan Note Edited: 0010368
2013-04-03 00:46 abma Note Edited: 0010369
2013-04-03 00:49 abma Note Edited: 0010369
2013-04-03 00:51 abma Note Edited: 0010369
2013-04-03 00:52 abma Note Edited: 0010369
2013-04-03 01:15 msafwan Note Added: 0010370
2013-04-03 01:19 msafwan Note Edited: 0010370
2013-04-03 01:19 msafwan Note Edited: 0010370
2013-04-03 01:20 msafwan Note Edited: 0010370
2013-04-03 01:25 msafwan Note Edited: 0010370
2013-04-03 01:31 msafwan Note Edited: 0010370
2013-04-03 01:32 msafwan Note Edited: 0010370
2013-04-03 20:28 abma Target Version => 95.0
2013-04-08 07:54 Google_Frog Note Added: 0010410
2013-04-08 07:54 Google_Frog Status feedback => assigned
2013-04-08 07:55 Google_Frog File Added: springsettings_before.cfg
2013-04-08 07:55 Google_Frog File Added: springsettings_after.cfg
2013-04-08 08:54 jK Note Added: 0010411
2013-04-08 09:17 Google_Frog Note Added: 0010413
2013-04-08 09:33 Google_Frog Note Added: 0010414
2013-04-13 07:44 Google_Frog File Added: infolog_settings_clear.txt
2013-04-13 07:44 Google_Frog Note Added: 0010438
2013-04-13 08:08 Google_Frog Note Added: 0010439
2013-04-13 08:27 Google_Frog Note Added: 0010440
2013-05-12 08:05 jK Note Added: 0010691
2013-05-12 20:00 abma Status assigned => feedback
2013-05-25 02:48 abma Note Added: 0010761
2013-05-25 02:48 abma Status feedback => resolved