Page 1 of 1

messages from spads hosts not appearing on lobby chat

Posted: 24 Feb 2019, 00:04
by raaar
The messages from my spads hosts, when players join/leave (#mf) and !promote (#mf, #main, and a bunch of others) aren't showing up on the chat.

Is this a known issue?

Re: messages from spads hosts not appearing on lobby chat

Posted: 24 Feb 2019, 05:21
by Silentwings

Re: messages from spads hosts not appearing on lobby chat

Posted: 24 Feb 2019, 19:54
by raaar
hmmm..do I need to update spads due to the latest server changes?

there's these warnings on the logs:

20190224182525 - NOTICE - [SPADS] Initializing SPADS 0.12.4
20190224182525 - WARNING - [SPADS] Skipping auto-update at start, another updater instance is already running
20190224182525 - NOTICE - [SPADS] Loading Spring archives using unitsync library version 104 ...
20190224182528 - NOTICE - [SPADS] Spring server mode: headless
20190224182528 - NOTICE - [SimpleEvent] Event loop initialized using internal model
20190224182528 - NOTICE - [SpringAutoHostInterface] Listening on AutoHost port (127.0.0.1:8455)
20190224182528 - NOTICE - [SPADS] <PlayerAnnounce> Plugin loaded (version 1.0)
20190224182528 - NOTICE - [SimpleEvent] Starting event loop...
20190224182528 - NOTICE - [SpringLobbyInterface] Connecting to lobby.springrts.com:8200
20190224182529 - NOTICE - [SPADS] Lobby server has no default engine set, UnitSync is using Spring 104
20190224182529 - INFO - [SPADS] No local LAN IP address found
20190224182529 - INFO - [SPADS] Logged on lobby server
20190224182529 - NOTICE - [SPADS] TrueSkill service available
20190224182529 - WARNING - [SpringLobbyInterface] Replacing an existing JOINEDBATTLE callback for priority "PlayerAnnounce"
20190224182529 - WARNING - [SpringLobbyInterface] Replacing an existing LEFTBATTLE callback for priority "PlayerAnnounce"
20190224182529 - WARNING - [SpringLobbyInterface] Replacing an existing OPENBATTLE callback for priority "PlayerAnnounce"

20190224182529 - INFO - [SPADS] Channel mf joined
20190224182529 - INFO - [SPADS] Channel nl joined
20190224182529 - INFO - [SPADS] Channel de joined
20190224182529 - INFO - [SPADS] Channel fr joined
20190224182529 - INFO - [SPADS] Channel hu joined
20190224182529 - INFO - [SPADS] Channel ru joined
20190224182529 - INFO - [SPADS] Channel se joined
20190224182529 - INFO - [SPADS] Channel en joined
20190224182529 - INFO - [SPADS] Channel fi joined
20190224182529 - INFO - [SPADS] Channel pt joined
20190224182529 - INFO - [SPADS] Channel it joined
20190224182529 - INFO - [SPADS] Channel dk joined
20190224182529 - INFO - [SPADS] Channel main joined
20190224182529 - INFO - [SPADS] Channel pl joined

Re: messages from spads hosts not appearing on lobby chat

Posted: 26 Feb 2019, 02:17
by raaar
the messages seem to be working again, did anybody do anything?

Re: messages from spads hosts not appearing on lobby chat

Posted: 26 Feb 2019, 09:48
by bibim
Nothing has changed at SPADS side, the warnings you see in your logs are just due to the "PlayerAnnounce" plugin you are using. It seems this plugin is redefining/erasing callbacks it has already declared.

If this is the code you are using for this plugin, then you should just add the check "if(getLobbyState() > 3)" at the end of line 65 to fix these warnings:

Code: Select all

	onLobbyConnected() if(getLobbyState() > 3);
But this has nothing to do with your messages not showing in chat.

Re: messages from spads hosts not appearing on lobby chat

Posted: 11 Mar 2019, 00:16
by ThinkSome
Fixed in repo, which now lives at https://framagit.org/specing/s44_spads

Re: messages from spads hosts not appearing on lobby chat

Posted: 11 Mar 2019, 09:33
by bibim
Apparently you just replaced a code comment with a new call to "onLobbyConnected()", which should make things worse...
You should revert this commit and just add the "if(getLobbyState() > 3)" check at the end of the line containing the call to "onLobbyConnected()" as I explained.

Re: messages from spads hosts not appearing on lobby chat

Posted: 11 Mar 2019, 09:37
by Silentwings
On the OP, no bug was reported but it might have been related to lobbyserver work (and if so, I guess was resolved weeks ago, unintentionally).

Re: messages from spads hosts not appearing on lobby chat

Posted: 11 Mar 2019, 18:08
by ThinkSome
Hahaha :D