Code:
[SM] Unable to load extension "sourcetvmanager.ext": /home/server/tf/addons/sourcemod/extensions/sourcetvmanager.ext.2.tf2.so: undefined symbol: Warning
Occurs on SourceMod 1.8.0.5967 and 1.9.0.6039 in TF2; Linux.
Might need to be built with Clang? Had the same symbol message when I was testing out a modified SDKTools extension built on GCC.
Edit: Looks like building with Clang did the trick.
Edit 2: It's been a while since I worked with the extension, but since someone was trying to join a game from a relay, I decided to look into it again.
A multi-forward bug appears to actually still be present; client appears to be forcing a reconnect (internet:27005:reconnect in the output below), but only when the extension is loaded. Increases by one connection between map changes.
Here's sample output from
sourcetv_test after a few map changes.
Spoiler
SourceTV client 1 put in server.
SourceTV client 1 put in server.
SourceTV client 1 put in server.
SourceTV client 1 put in server.
(client retried connection to SourceTV here)
SourceTV client 1 is disconnecting (isconnected 1) with reason -> Disconnect by user..
Dropped Pikachu on LSD from server (Disconnect by user.)
SourceTV client 1 disconnected (isconnected 0) with reason -> Disconnect by user..
SourceTV spectator is connecting! Name: Pikachu on LSD, pw: <omitted>, ip: internet
Client "Pikachu on LSD" connected (internet:27005).
SourceTV client 1 connected. (isconnected 1)
SourceTV spectator is connecting! Name: Pikachu on LSD, pw: <omitted>, ip: internet
internet:27005:reconnect
SourceTV client 1 is disconnecting (isconnected 1) with reason -> Connection closing.
Dropped Pikachu on LSD from server (Connection closing)
SourceTV client 1 disconnected (isconnected 0) with reason -> Connection closing.
Client "Pikachu on LSD" connected (internet:27005).
SourceTV client 1 connected. (isconnected 1)
SourceTV spectator is connecting! Name: Pikachu on LSD, pw: <omitted>, ip: internet
internet:27005:reconnect
SourceTV client 1 is disconnecting (isconnected 1) with reason -> Connection closing.
Dropped Pikachu on LSD from server (Connection closing)
SourceTV client 1 disconnected (isconnected 0) with reason -> Connection closing.
Client "Pikachu on LSD" connected (internet:27005).
SourceTV client 1 connected. (isconnected 1)
SourceTV spectator is connecting! Name: Pikachu on LSD, pw: <omitted>, ip: internet
internet:27005:reconnect
SourceTV client 1 is disconnecting (isconnected 1) with reason -> Connection closing.
Dropped Pikachu on LSD from server (Connection closing)
SourceTV client 1 disconnected (isconnected 0) with reason -> Connection closing.
Client "Pikachu on LSD" connected (internet:27005).
SourceTV client 1 connected. (isconnected 1)
SourceTV spectator is connecting! Name: Pikachu on LSD, pw: <omitted>, ip: internet
internet:27005:reconnect
SourceTV client 1 is disconnecting (isconnected 1) with reason -> Connection closing.
Dropped Pikachu on LSD from server (Connection closing)
SourceTV client 1 disconnected (isconnected 0) with reason -> Connection closing.
Client "Pikachu on LSD" connected (internet:27005).
SourceTV client 1 connected. (isconnected 1)
After reconnecting, the number of times the event is forwarded is reset.
__________________