Topic-icon Spectator Tool with private server?

More
14 Oct 2020 18:56 #47979 by LyinCheetah
LyinCheetah created the topic: Spectator Tool with private server?
Has anyone been able to get the spectator tool to work with a private server?
If so, can someone post some detailed, step by step instructions of the changes needed to the server and tool configs to enable this?

Thanks,
LyinCheetah

Please Log in or Create an account to join the conversation.

More
14 Oct 2020 21:32 - 14 Oct 2020 22:22 #47983 by sp0ck
sp0ck replied.
Hi LyinCheetah,

if you are familiar with webpack you can use the github repo for a quite easy build. There is also a README.md to check.

If you need further assistance with ports, etc., feel free to ask.

Kind regards
sp0ck

Please Log in or Create an account to join the conversation.

More
17 Oct 2020 08:43 - 17 Oct 2020 09:46 #48002 by LyinCheetah
LyinCheetah replied.
Thanks for the tips.
Here is what I have done so far to set up a private server with spectator tool.
1. I've installed the stock pokerth server on linux using `apt-get install pokerth-server`.
2. That server is running.
3. I have downloaded, compiled, run and successfully connected to the spectator tool with the default connection to the pokerth live server. I see several games available.

But now i am stuck. Do I need to enable/change any of these setting in the pokerth server config.xml file?
<ServerPassword value="" />
        <ServerUseIpv6 value="0" />
        <ServerUseSctp value="0" />
        <ServerUseWebSocket value="0" />
        <ServerPort value="7234" />
        <ServerWebSocketPort value="7233" />
        <ServerWebSocketResource value="" />
        <ServerWebSocketOrigin value="" />
        <ServerUsePutAvatars value="0" />
        <ServerPutAvatarsAddress value="" />
        <ServerPutAvatarsUser value="" />
        <ServerPutAvatarsPassword value="" />
        <ServerBruteForceProtection value="1" />
        <InternetServerConfigMode value="0" />
        <InternetServerListAddress value="pokerth.net/serverlist.xml.z" />
        <InternetServerAddress value="pokerth.6dns.org" />
        <InternetServerPort value="7234" />
        <InternetServerUseIpv6 value="0" />
        <InternetServerUseSctp value="0" />

Do I set the IP:Port to point to port set in ServerWebSocketPort in the above list?

Thanks,
Steven

Please Log in or Create an account to join the conversation.

More
17 Oct 2020 19:16 - 17 Oct 2020 19:22 #48006 by sp0ck
sp0ck replied.
Hi Steven,

this is the current Server config.xml regarding websocket:

        <ServerWebSocketPort value="7236" />
        <ServerWebSocketResource value="/pthsocketserver" />
        <ServerWebSocketOrigin value="" />

Relevant for you is WebSocketPort and WebSocketResource. The Origin can stay empty if you directly connect to the Server-IP Address instead of using a domain name.

Kind regards
sp0ck

Please Log in or Create an account to join the conversation.

More
17 Oct 2020 21:42 - 17 Oct 2020 23:02 #48009 by LyinCheetah
LyinCheetah replied.
@sp0ck,
When I list the ports assocaited with the pokerth server, I see that the websocket port (7236) is shown as IPV6.

pokerth_s 28277 root 6u IPv4 136630 0t0 TCP *:7234 (LISTEN)
pokerth_s 28277 root 7u IPv6 136632 0t0 TCP *:7236 (LISTEN)

Is this correct?

When I connect to the Spectator tool and login as "Guest" I get the error "Invalid server" from line 221 in the neteventhandler.js file.

Thanks,
Steven

Please Log in or Create an account to join the conversation.

More
17 Oct 2020 23:00 - 17 Oct 2020 23:02 #48010 by sp0ck
sp0ck replied.
I'm really not sure if connects with IPv6 to the server do work without any further doing as even stable branch at github still uses an older socket lib version.

Please Log in or Create an account to join the conversation.

Champions of

PokerTH - live

The PokerTH spectator tool.

Member Login

 advert
NOTE! This site uses cookies and similar technologies.
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information

We use cookies to personalize content and ads to offer features for social media and analyze the number of hits on our website. We also provide information about your use of our website to our partner for social media, advertising and analysis on.
http://www.google.com/intl/de/policies/privacy/partners/