ddnet / ddnet7

DDNet port to TW 0.7
Other
6 stars 7 forks source link

failing to load client textures #6

Closed ChillerDragon closed 4 years ago

ChillerDragon commented 4 years ago
[2019-11-28 13:49:49][client]: loaded map 'heavens'
[2019-11-28 13:49:49][datafile]: loading data index=0 size=10 uncompressed=10
[2019-11-28 13:49:49][game/png]: failed to open file. filename='mapres/bg_clou.png'
[2019-11-28 13:49:49][datafile]: loading data index=1 size=10 uncompressed=10
[2019-11-28 13:49:49][game/png]: failed to open file. filename='mapres/bg_clou.png'
[2019-11-28 13:49:49][datafile]: loading data index=2 size=10 uncompressed=10
[2019-11-28 13:49:49][game/png]: failed to open file. filename='mapres/bg_clou.png'
[2019-11-28 13:49:49][datafile]: loading data index=3 size=4 uncompressed=4
[2019-11-28 13:49:49][game/png]: failed to open file. filename='mapres/s�x<�.png'

screenshot_2019-11-28_13-48-25

fokkonaut commented 4 years ago

This repository was only focused on the server, not the client. Unintended client bugs can happen here

ChillerDragon commented 4 years ago

@fokkonaut yes I know but fixing the client now would still be nice :)

ChillerDragon commented 4 years ago

So the menu map is fine the client fails to load mapres of any map and crashes on connection to servers:

Thread 1 "DDNet" received signal SIGSEGV, Segmentation fault.
0x00005555556fe58c in CTeamsCore::CanCollide (this=0x0, ClientID1=-1, ClientID2=9) at /home/chiller/Desktop/git/ddnet7/src/game/teamscore.cpp:33
33      if (m_Team[ClientID1] == TEAM_SUPER || m_Team[ClientID2] == TEAM_SUPER || ClientID1 == ClientID2)
(gdb) bt
#0  0x00005555556fe58c in CTeamsCore::CanCollide (this=0x0, ClientID1=-1, ClientID2=9) at /home/chiller/Desktop/git/ddnet7/src/game/teamscore.cpp:33
#1  0x00005555556fa7ee in CCharacterCore::Tick (this=0x55555598f6b8, UseInput=false) at /home/chiller/Desktop/git/ddnet7/src/game/gamecore.cpp:397
#2  0x000055555567199a in CGameClient::OnPredict (this=0x55555598a8e0) at /home/chiller/Desktop/git/ddnet7/src/game/client/gameclient.cpp:1421
#3  0x00005555555cd774 in CClient::Update (this=0x7ffff48e3010) at /home/chiller/Desktop/git/ddnet7/src/engine/client/client.cpp:1685
#4  0x00005555555ceca4 in CClient::Run (this=0x7ffff48e3010) at /home/chiller/Desktop/git/ddnet7/src/engine/client/client.cpp:2058
#5  0x00005555555d0f7d in main (argc=1, argv=0x7fffffffda98) at /home/chiller/Desktop/git/ddnet7/src/engine/client/client.cpp:2664
fokkonaut commented 4 years ago

Of course it does, because there is no client side connection to this. Only serverside. Thats why I am saying it doesnt make sense to do this right now.