View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002166 | Spring engine | Linux | public | 2010-10-08 12:38 | 2010-10-29 23:48 | ||||
Reporter | spliff | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | 0.82.7 | |||||||
Summary | 0002166: Can't run two instances of Spring on one PC | ||||||||
Description | I'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 Information | Suggest disabling sound and moving to the next available UDP port. If the second instance can't host at least allow it to join. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
SirMaverick (reporter) 2010-10-08 14:35 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 (reporter) 2010-10-12 16:35 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 (developer) 2010-10-29 23:47 |
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. |
![]() |
|||
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 |