williamtdr / Steadfast

A modification of Pocketmine 1.3 to support the MCPE 0.9 protocol. Extra features for production systems.
GNU Lesser General Public License v3.0
18 stars 2 forks source link

When joining the server, client crashes #6

Closed williamtdr closed 10 years ago

williamtdr commented 10 years ago

The client never gets to the 'Building terrain' screen - just crashes. Looking at the report, there is no useful information.

tnytown commented 10 years ago

There actually was some for me - it was something about leveldb.buildLevel

tnytown commented 10 years ago

sadly, I did not capture the logs for that.

williamtdr commented 10 years ago

The following are logs from when the client crashes before joining:

ClientConnect
-------------
Packet Data

| name      |                value |
|:----------|---------------------:|
| client_id | 18446744073671127521 |
| session1  |                39304 |
| session2  |                    0 |

ClientHandshake
---------------
Packet Data

| name        |       value |
|:------------|------------:|
| security    |           4 |
| cookie      | -1753232244 |
| client_port |       19133 |
| timestamp   |           0 |
| session2    |    71568297 |
| session1    |       39451 |

Ping
----
Packet Data

| name   |   value |
|:-------|--------:|
| time   |   39451 |

Login
-----
Packet Data

| name       | value      |
|:-----------|:-----------|
| username   | williamtdr |
| protocol1  | 18         |
| protocol2  | 18         |
| client_id  | -509633928 |
| login_data |            |

Ping
----
Packet Data

| name   |   value |
|:-------|--------:|
| time   |   39461 |
shoghicp commented 10 years ago

@williamtdr The data you provided is not enough, that is only the start of the handshake process. Clients must receive the StartGamePacket to even show that screen.

williamtdr commented 10 years ago

Fixed with tile changes.