Git Product home page Git Product logo

client's Introduction

env

icon Neural MMO Client

Discord Chat tweet button

This repository contains the Unity3D client for the main Neural MMO project. It's written in C# in a manner accessible to researchers and developers who work primarily in Python.

Setup: Follow the instructions in the Documentation.

Authorship and License: I, Joseph Suarez, am the author of the Unity Client. It is available under the MIT license.

The THREE.js Legacy Web Client was created in collaboration with Clare Zhu. It was originally created as follow-up work for the paper and blog post, but we ended up merging it in. This is also the reason that the project is split into two repositories. It is also available under the MIT license.

client's People

Contributors

bzier avatar cehinson avatar clarezhu avatar jsuarez5341 avatar rockhowse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

client's Issues

render problem

I have so many questions. in the official website https://github.com/openai/neural-mmo
I can not correctly render the program. And I used this version, but still problems.
I fix some run
python3 Forge.py --render
and then run
./client.sh
and I can not establish the connection always!!for your version , this problem is :
**2020-02-17 16:26:06+0800 [-] Uptime: 17.4 , Tick: 29
2020-02-17 16:26:06+0800 [-] Uptime: 18.0 , Tick: 30
2020-02-17 16:26:06+0800 [-] Created a server
2020-02-17 16:26:06+0800 [-] WebSocket connection request: {"extensions": [], "protocols": [], "version": 13, "path": "/ws", "host": "localhost", "headers": {"user-agent": "websocket-sharp/1.0", "sec-websocket-key": "uR6Ibp92jIOZrK87bgtu1A==", "sec-websocket-version": "13", "connection": "Upgrade", "host": "localhost:8080", "upgrade": "websocket"}, "origin": "", "params": {}, "peer": "tcp4:127.0.0.1:43820"}
2020-02-17 16:26:06+0800 [-] Unexpected exception in onConnect ['Attempt to send on a closed protocol']
2020-02-17 16:26:06+0800 [-] Traceback (most recent call last):
File "/home/dm/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 1206, in _dataReceived
self.consumeData()
File "/home/dm/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 1235, in consumeData
self.processHandshake()
File "/home/dm/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 2821, in processHandshake
f = txaio.as_future(self.onConnect, request)
File "/home/dm/.local/lib/python3.5/site-packages/txaio/tx.py", line 430, in as_future
return maybeDeferred(fun, *args, **kwargs)
--- ---
File "/home/dm/.local/lib/python3.5/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred
result = f(*args, **kw)
File "/home/dm/openai/Neural_MMO/projekt/neural-mmo/forge/embyr/twistedserver.py", line 71, in onConnect
self.sendUpdate()
File "/home/dm/openai/Neural_MMO/projekt/neural-mmo/forge/embyr/twistedserver.py", line 100, in sendUpdate
self.sendMessage(packet, False)
File "/home/dm/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 2190, in sendMessage
raise Disconnected("Attempt to send on a closed protocol")
autobahn.exception.Disconnected: Attempt to send on a closed protocol

2020-02-17 16:26:06+0800 [-] failing WebSocket opening handshake ('Internal server error: Attempt to send on a closed protocol')
2020-02-17 16:26:06+0800 [-] dropping connection to peer tcp4:127.0.0.1:43820 with abort=False: Internal server error: Attempt to send on a closed protocol**

And the official version still have problems when connection to websocket. And when using the webclient not unityclient, this problem still exists. I doubt why no one ask this question.

My system is ubuntu 16.04

A gray page with "NEURAL MMO CLIENT" title and no more.

Maybe I set up the environments wrongly. But when I browse http://localhost:8080/forge/embyr/ I always run into a gray page with a big title and a brief help with controls, like this:
image

I have followed the instructions in https://github.com/openai/neural-mmo, and
python Forge.py --render
appears to be running smoothly:
Uptime: 388.8 , Tick: 648 Uptime: 389.4 , Tick: 649 Uptime: 390.0 , Tick: 650 Uptime: 390.6 , Tick: 651

I'm on macOS Mojave, with python 3.5 and the following packages:

Package           Version    
----------------- -----------
astroid           2.1.0      
atomicwrites      1.3.0      
attrs             19.1.0     
autobahn          19.2.1     
Automat           0.7.0      
Click             7.0        
colorama          0.4.1      
constantly        15.1.0     
cycler            0.10.0     
Django            2.1.7      
filelock          3.0.10     
flatbuffers       1.10       
funcsigs          1.0.2      
hyperlink         18.0.0     
idna              2.8        
image             1.5.27     
incremental       17.5.0     
isort             4.3.4      
kiwisolver        1.0.1      
lazy-object-proxy 1.3.1      
matplotlib        3.0.3      
mccabe            0.6.1      
more-itertools    6.0.0      
numpy             1.16.2     
opensimplex       0.2        
pathlib2          2.3.3      
Pillow            5.4.1      
pip               18.1       
pluggy            0.9.0      
psutil            5.5.1      
py                1.8.0      
pygame            1.9.4      
PyHamcrest        1.9.0      
pylint            2.2.2      
pyparsing         2.3.1      
pytest            4.3.0      
python-dateutil   2.8.0      
PyTMX             3.21.7     
pytz              2018.9     
PyYAML            3.13       
ray               0.6.3      
redis             3.2.0      
scipy             1.2.1      
setproctitle      1.1.10     
setuptools        28.8.0     
six               1.12.0     
torch             1.0.1.post2
torchvision       0.2.2.post3
Twisted           18.9.0     
txaio             18.8.1     
typed-ast         1.2.0      
virtualenv        16.2.0     
wheel             0.32.3     
wrapt             1.11.1     
zope.interface    4.6.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.