Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy server example does not work for me #13

Open
UserMcUser opened this issue Jun 2, 2015 · 2 comments
Open

Proxy server example does not work for me #13

UserMcUser opened this issue Jun 2, 2015 · 2 comments

Comments

@UserMcUser
Copy link
Member

Not sure what I've done wrong, but I can't get the example proxy server to actually work.

It starts, connects to the real server, and opens the proxy port and accepts incoming connections. Clients can connect to the proxy and can choose consoles. However once the client tries to join the simulation (does not matter if you join before or after the server starts the simulation) the proxy-ed client process freaks-out - it maxes out a single CPU core and starts eating up memory until it crashes. Meawhile, simpleProxy keeps running, echoing packet events to the console until the client dies.

Artemis is v2.1.5
node.js is v0.12.4
Tried Windows 7 32bit, OS X 10.6.8, and Ubuntu 14.4.2 LTS with the same basic results. Oddly with OSX, Artemis doesn't start allocating memory, just maxes out its CPU.

@IvanSanchez
Copy link
Member

I never really tested out the proxy server - it's meant to be a very naïve example. I'll try to reproduce later and see if there's any easy fix.

The real goal is to make a proper single-ship proxy (in a separate repo, with persistent world model for reconnections, etc), so I'm not really worrying a lot about the simple proxy example.

@UserMcUser
Copy link
Member Author

OK, thanks.

I'm trying to make a proxy that will intercept and re-write the playerShip packet to replace the mainScreen variable - that way you can have a main-screen view that stays fixed and doesn't change with the primary mainscreen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants