bravoserver / bravo

UNMAINTAINED: Reverse-engineered Minecraft stuff. Worked with 1.4.x protocol
http://bravoserver.org/
Other
206 stars 46 forks source link

install instructions and connection timed out #452

Open dreamalligator opened 10 years ago

dreamalligator commented 10 years ago

I was installing on a mostly clean Ubuntu install, so thought to include instructions for anyone else that might benefit. Also, I am getting a timeout error on both 1.7.10 and 1.8 clients.

Bravo dependencies (already listed)

If you're running on a clean server, you'll want to make sure you installed these

Make a folder for your server, such as ~/minecraft and cd into it.

Run twistd -n bravo like it says :)

You're going to want to change your path to your example world instead of /absolute/path/to/world haha. However, I'm just trying to get to connect without timeout atm.

If running locally, check localhost:8080 or if on a server your.domain.goes.here:8080/. I suppose see http://www.scaine.net/site/2013/02/step-by-step-install-a-minecraft-server-on-ubuntu/ if you need some help running from your personal machine.

If you get

Failed to connect to the server
Internal Exception: io.netty.handler.timeout.ReadTimeoutException

or Error: 'Connection timed out' then possibly this issue https://github.com/bravoserver/bravo/issues/448 will solve, although I just got a This server doesn't support your ancient client. haha. So, instead of 1.4.2 try 1.7.10 instead of 1.8 maybe. However, this hasn't solved my own issue.

I will update this issue if I find solution. Thanks.

dreamalligator commented 10 years ago

Tested the following client versions:

...
2014-09-09 02:46:24-0400 [bravo.beta.factory.BravoFactory] Registered client plugin hooks!
2014-09-09 02:46:24-0400 [BravoProtocol,17,50.0.88.198] Poll data: '\x7f\x00\r\x00a\x00n\x00t\x00i\x00v\x00a\x00p\x00o\x00r\x00.\x00n\x00e\x00t\x00\x00c\xdd'
2014-09-09 02:46:24-0400 [BravoProtocol,17,50.0.88.198] Error: u'\xa71\x0078\x00Bravo 2.0\x00BravoServer\x000\x001000000'
2014-09-09 02:46:33-0400 [-] Error: 'Connection timed out'
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Starting connection for IPv4Address(TCP, '50.0.88.198', 41571)
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Registered entity <bravo.beta.protocol.BravoProtocol object at 0x2405d10>
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Registering client hooks...
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Registering policies...
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Registered client plugin hooks!
2014-09-09 01:47:11-0400 [-] Error: 'Connection timed out'

Update: errs some point after buildProtocol is called. It returns after registers hooks (p.register_hooks()) with Registered client plugins hooks! message.

Update: possibly in packets.py

Update: works in 1.6.4 as of https://github.com/bravoserver/bravo/commit/7be5d792871a8447499911fa1502c6a7c1437dc3!

dreamalligator commented 10 years ago

I'm looking at https://github.com/dividuum/fastmc, can we implement this?

1.7 code should be correct and 1.8 is newish so be careful - dividuum