cgharib / BGEOnline

Blender Game Engine + Socket + Threading = Awesome online game
2 stars 1 forks source link

Server.blend #1

Open enrutador opened 7 years ago

enrutador commented 7 years ago

Hi Fantastic implementation, are you working in the implementation of file server.blend ? Thanks

cgharib commented 7 years ago

Hi, It's been à while since I worked on this module but if I remember well, you just have to open "server.py" and launch 2 instances of client.blend, start the game engine and enjoy.

cgharib commented 7 years ago

To run .py files toi will need to install Python 3.5 on your computer.

enrutador commented 7 years ago

Hi Yolo I have blender 2.78C with python 3.5.2 on a client machine windows I launch the server game in another machine ubuntu with "python3 server.py", The server start good ¡¡¡ , the port is open and can do "telnet host 12800", and the server respon correctly. But when i launch the 2 instances on the windows machine (with the new ip configured), the blenders clients never connect to the server.

The controls of the keyboard runs ok, but i can´t see anymore.

Thanks

enrutador commented 7 years ago

Hi Yolo I see the problem, is the socket on windows machine:

OSError: [WinError 10057]

the second time that launch your software run OK