from twisted.application import internet, service
from network.clueserver import GameServerProtocol, GameFactory, GameService

port = 20000
interface = '0.0.0.0'

top_service = service.MultiService()

game_service = GameService()
game_service.setServiceParent(top_service)

factory = GameFactory(game_service)
tcp_service = internet.TCPServer(port, factory, interface=interface)
tcp_service.setServiceParent(top_service)

application = service.Application("twisted-game-server")

top_service.setServiceParent(application)

05b2a9ba5114eb10fcc264fef474417feeb16b01
<mask token>

<mask token>
game_service.setServiceParent(top_service)
<mask token>
tcp_service.setServiceParent(top_service)
<mask token>
top_service.setServiceParent(application)

<mask token>
port = 20000
interface = '0.0.0.0'
top_service = service.MultiService()
game_service = GameService()
game_service.setServiceParent(top_service)
factory = GameFactory(game_service)
tcp_service = internet.TCPServer(port, factory, interface=interface)
tcp_service.setServiceParent(top_service)
application = service.Application('twisted-game-server')
top_service.setServiceParent(application)

from twisted.application import internet, service
from network.clueserver import GameServerProtocol, GameFactory, GameService
port = 20000
interface = '0.0.0.0'
top_service = service.MultiService()
game_service = GameService()
game_service.setServiceParent(top_service)
factory = GameFactory(game_service)
tcp_service = internet.TCPServer(port, factory, interface=interface)
tcp_service.setServiceParent(top_service)
application = service.Application('twisted-game-server')
top_service.setServiceParent(application)

from twisted.application import internet, service
from network.clueserver import GameServerProtocol, GameFactory, GameService

port = 20000
interface = '0.0.0.0'

top_service = service.MultiService()

game_service = GameService()
game_service.setServiceParent(top_service)

factory = GameFactory(game_service)
tcp_service = internet.TCPServer(port, factory, interface=interface)
tcp_service.setServiceParent(top_service)

application = service.Application("twisted-game-server")

top_service.setServiceParent(application)
