View Issue Details

IDProjectCategoryView StatusLast Update
0002166Spring engineLinuxpublic2010-10-29 23:48
Reporterspliff Assigned ToKloot  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version0.82.7 
Summary0002166: Can't run two instances of Spring on one PC
DescriptionI'd like to be able to run spring head-to-head on one PC for testing purposes. I have the screen space and resources to handle it but it looks like spring crashes when it can't (re)init OpenAL. It also looks like it uses a fixed UDP port and conflicts with the running instance there.
Additional InformationSuggest disabling sound and moving to the next available UDP port. If the second instance can't host at least allow it to join.
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

SirMaverick

2010-10-08 14:35

reporter   ~0005707

Last edited: 2010-10-08 14:58

2 instances or more should work fine, always worked for me.

If you run 2 hosts you need to specify different HostPort (script.txt). Running several clients should not be a problem as they bind random ports ( = they are not listening for incoming connections).

Edit: Sound wasn't problem either. Haven't tested master yet.

hoijui

2010-10-12 16:35

reporter   ~0005727

Last edited: 2010-10-13 10:09

yeah, also never had a problem with that under linux. SirMav is also under linux, spliff under windows i guess.
disable sound with NoSound=1 in spring-config.

Kloot

2010-10-29 23:47

developer   ~0005799

There was a bug causing Spring to bind a socket even for local games started through the menu; you may have run into that one.

If you want to start two instances from the same script.txt, you either have to specify different host ports (as said before) or add the line "OnlyLocal=1;" (new option) to its [GAME] section.

Issue History

Date Modified Username Field Change
2010-10-08 12:38 spliff New Issue
2010-10-08 12:38 spliff File Added: infolog.txt
2010-10-08 14:35 SirMaverick Note Added: 0005707
2010-10-08 14:58 SirMaverick Note Edited: 0005707
2010-10-12 16:35 hoijui Note Added: 0005727
2010-10-13 10:09 hoijui Note Edited: 0005727
2010-10-29 23:47 Kloot Note Added: 0005799
2010-10-29 23:48 Kloot Status new => resolved
2010-10-29 23:48 Kloot Fixed in Version => 0.82.6.1+git
2010-10-29 23:48 Kloot Resolution open => fixed
2010-10-29 23:48 Kloot Assigned To => Kloot