TomenetGame / tomenet

TomeNET is an online multiplayer roguelike role-playing game
https://www.tomenet.eu/
Other
70 stars 12 forks source link

Graphics: interface crash and packet errors if there is no graphic tiles for "Floor" features #50

Open EvgenijK opened 1 year ago

EvgenijK commented 1 year ago

Description

I encountered broken interface and client crashes when using graphic tiles.

After some blind investigation i found that problem did not occur if there is at least one "floor" in graphics. Previously i had only monsters tiles in my graphics.

By "floor"s i mean this type of mapping: F:1:/25

And "monsters" are: R:229:/2

There were no problems when i tested on local server.

I tested on newest, fresh compiled versions of client and server.

My test tileset without floor tiles: tomenet_gfx_example_without_floor.zip

In client

Received unknown packet type messages(from Net_packet()). Interface is broken Screenshot_20231009_235729

On server (own remote server)

RUPT messages (from Receive_unknownpacket()) Screenshot_20231009_235756

I couldn't found the bug in code, so created this issue. Looks like i need @jezek help again ^^'

jezek commented 1 year ago

If it works on newest locally compiled and run server & client, than I would suggest to not bother, if the newest client gets some packet errors with live server. The live server doesn't have to be the latest version and there can be some development ongoing which currently breaks packets with newest client (try compile older client to see if packet error persist).

And from my previous experience it is nearly impossible (for me) to debug when an error happens only on live server and not on locally compiled & run server.

CBlueGH commented 1 year ago

Does this problem still persist with latest github code or is it fine?

EvgenijK commented 1 year ago

Yes, this problem is not solved yet.
Don't have much time to investigate. may be others will check it, if we left issue opend.