MantisBT - Doomseeker
View Issue Details
0002220Doomseeker[All Projects] Suggestionpublic2015-05-06 16:272018-09-29 14:35
Zalewa 
Zalewa 
normalminorN/A
closedfixed 
1.0 
1.11.1 
0002220: Display servers from LAN broadcast
Display servers from LAN broadcast
No tags attached.
Issue History
2015-05-06 16:27ZalewaNew Issue
2015-05-31 15:15ZalewaAssigned To => Zalewa
2015-05-31 15:15ZalewaStatusnew => assigned
2015-05-31 15:24ZalewaNote Added: 0012475
2015-06-02 17:36ZalewaNote Added: 0012499
2015-06-07 19:17ZalewaNote Added: 0012587
2015-06-07 19:17ZalewaStatusassigned => needs testing
2015-06-08 16:32DevilHunterNote Added: 0012595
2015-06-13 08:56ZalewaNote Added: 0012675
2015-06-13 10:49ZalewaNote Edited: 0012675bug_revision_view_page.php?bugnote_id=12675#r7402
2015-06-13 10:50ZalewaNote Edited: 0012675bug_revision_view_page.php?bugnote_id=12675#r7403
2015-06-14 02:31DevilHunterNote Added: 0012688
2015-06-14 10:24ZalewaNote Added: 0012709
2015-06-14 17:32DevilHunterNote Added: 0012719
2015-06-15 18:33ZalewaNote Added: 0012734
2015-07-10 19:17DevilHunterNote Added: 0012850
2015-07-10 19:19ZalewaStatusneeds testing => resolved
2015-07-10 19:19ZalewaFixed in Version => 1.1
2015-07-10 19:19ZalewaResolutionopen => fixed
2018-09-29 14:25WubTheCaptainStatusresolved => closed
2018-09-29 14:35WubTheCaptainTarget Version => 1.1

Notes
(0012475)
Zalewa   
2015-05-31 15:24   
Commits:
'https://bitbucket.org/Blzut3/doomseeker/commits/cf3e63db092426d5f76dd9d5cc1c7bc1834a103e [^]'
'https://bitbucket.org/Blzut3/doomseeker/commits/5f5ffe896725d81fc211f66bfd3f5f62f43f381c [^]'
(0012499)
Zalewa   
2015-06-02 17:36   
Commit:
'https://bitbucket.org/Blzut3/doomseeker/commits/a60fdc2374c67ee4a3da26d4b38a83f9d5b11f70 [^]'
(0012587)
Zalewa   
2015-06-07 19:17   
Update available on beta update channel. Please test.
(0012595)
DevilHunter   
2015-06-08 16:32   
It works.. But sometimes it don't even detect my LAN server unless I restart Doomseeker. Dunno why this is but eh.. I just usually add my serer to Custom Servers and join that way.
(0012675)
Zalewa   
2015-06-13 08:56   
(edited on: 2015-06-13 10:50)
In case of Zandronum's LAN broadcasts, game servers are the ones that send the broadcasts to the network. Doomseeker needs to become the listener. In a way, game servers become clients and Doomseeker becomes a server. Now, only one program can be listening on given port at a time, and if you launch Doomseeker more than once, the subsequent instances will fail to bind the listener port and will not display the broadcasted servers.

This is a bit strange, as I explicitly stated in the code that the port can be shared between programs. Perhaps it doesn't work 100% right. I guess I'll have to investigate this a bit more and perhaps make the program write an appropriate log entry when it fails to bind.

(0012688)
DevilHunter   
2015-06-14 02:31   
Not only that.. but I noticed if you have Broadcast to LAN selected, and Click on Start Server, the Server will not be broadcasting to LAN. Not sure if that should be on a separate ticket since this is somewhat related.

I usually just go into the server settings and turn Visible to Network on, thats when Doomseeker will see it.. sometimes.
(0012709)
Zalewa   
2015-06-14 10:24   
Quote

Not only that.. but I noticed if you have Broadcast to LAN selected, and Click on Start Server, the Server will not be broadcasting to LAN. Not sure if that should be on a separate ticket since this is somewhat related.

Works correctly for me.
(0012719)
DevilHunter   
2015-06-14 17:32   
Bah.. well I knew something was a miss. Had sv_broadcast false in my server config.

Anyhow.. i guess the only thing left to do is what you said up thar...

Quote from Zalewa
This is a bit strange, as I explicitly stated in the code that the port can be shared between programs. Perhaps it doesn't work 100% right. I guess I'll have to investigate this a bit more and perhaps make the program write an appropriate log entry when it fails to bind.
(0012734)
Zalewa   
2015-06-15 18:33   
Improvements:
'https://bitbucket.org/Blzut3/doomseeker/commits/c7a1b94c538f13d64db7870c42f7459da7d664f7 [^]'


- Zandronum: LAN broadcasts are now captured in all running
instances of the program (on Windows, at least).
- Zandronum: Keep retrying to bind LAN broadcasts listening
socket until it succeeds.


Updated Zandronum plugin is now available on beta update channel. Please test.
(0012850)
DevilHunter   
2015-07-10 19:17   
If anything, it works every time now. Fixed