springweblobby / swl-website

Weblobby site component
10 stars 11 forks source link

Direct hosting #23

Open Anarchid opened 10 years ago

Anarchid commented 10 years ago

SWL seems to have supported direct hosting at some point in time, but currently this functionality is disabled.

Why is that? How can it be repaired?

db81 commented 10 years ago

The current situation is that sendSomePacket() from C++ API always returns -1 and https://github.com/springweblobby/swl-website/blob/master/lwidgets/MBattleRoom.js#L794 uses it as a port (in game/HostPort script tag) resulting in an error.

db81 commented 10 years ago

springweblobby/swl-qt#9