Spring-Chobby / Chobby

Spring RTS Ingame lobby project
24 stars 62 forks source link

No game UI when launching through Chobby #284

Closed gajop closed 8 years ago

gajop commented 8 years ago

I reported this issue on Gitter. Now I reproduced it on a clean PC.

  1. Download newest engine https://springrts.com/dl/buildbot/default/develop/103.0.1-96-g5ac4b4c/linux64/
  2. Download newest ZK: master on https://github.com/ZeroK-RTS/Zero-K https://github.com/ZeroK-RTS/Zero-K/commit/1e1fd14ebcd016920d466ff104c359adc237447d
  3. Download newest Chobby: master on https://github.com/Spring-Chobby/Chobby https://github.com/Spring-Chobby/Chobby/commit/1e42582bb8bc1b1e7c59ac500061239b9d8686df
  4. In springsettings.cfg, set "Chobby $VERSION" as DefaultLuaMenu and launch Spring
  5. In Chobby Settings, set Singleplayer to "Zero-K Dev"
  6. Open Singleplayer tab and launch game (Titan Duel is selected with CAI as AI)
  7. ??
  8. No UI is displayed (http://i.imgur.com/6twIYLp.png)

Infolog: http://pastebin.com/TE62qezn

PS: It seems to me as if Chobby is also hiding game's UI. PSS: By default the mouse gesture build system seems to be enabled still.

GoogleFrog commented 8 years ago

Do something more normal. Try the latest stable of both.

GoogleFrog commented 8 years ago

Also I have not tried 103-96. The garbage collector might be breaking everything for all I know.

gajop commented 8 years ago

So what's the latest stable? I'm trying to test LuaMenu here

GoogleFrog commented 8 years ago

The versions with VERSION.

gajop commented 8 years ago

I tried the two stables and engine 103.0.1-95:

Zero-K v1.4.9.1
 ~/spring-static/spring_\{develop\}103.0.1-95-g20ebb8c_minimal-portable-linux64-static/spring
Chobby v0a.0.9.0

Doesn't seem to work

GoogleFrog commented 8 years ago

You should put a lot of echos in and figure out what is happening.

gajop commented 8 years ago

I'm taking a flight tomorrow and have a conference later on, but I will try to do that when I have the time then.

ashdnazg commented 8 years ago

103-96 doesn't cause this.

Did you try launching that ZK version not through Chobby?

Anarchid commented 8 years ago

I have experienced this issue. Same version of ZK launched through SWL works. The UI is present "physically": it swallows clicks and causes actions if i click by muscle memory. It is just not rendered.

This was on an engine earlier than 96.

gajop commented 8 years ago

Oh.. Initial tests suggests it's engine related. Will have to try again later.

ashdnazg commented 8 years ago

I just can't reproduce this on my machine :S

gajop commented 8 years ago

It may help if you can tell me what works for you, so I can try and reproduce that. Might be a windows/Linux thing or something to do with unclean states (although I think mine were clean on at least one machine I tried)

On Sep 7, 2016 9:23 PM, "Eshed" notifications@github.com wrote:

I just can't reproduce this on my machine :S

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Spring-Chobby/Chobby/issues/284#issuecomment-245263659, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD9hT_Hk6c_HCHWDXj9LZqlVnJiIKCfks5qnqzFgaJpZM4J2jfB .

ashdnazg commented 8 years ago

I suspect memory error. Any chance you could compile with address sanitizer?

gajop commented 8 years ago

How?

On Sep 8, 2016 1:44 PM, "Eshed" notifications@github.com wrote:

I suspect memory error. Any chance you could compile with address sanitizer?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Spring-Chobby/Chobby/issues/284#issuecomment-245492257, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD9hWPoWQ1VzwyOOq4xem6U5cc2Hfq_ks5qn5KbgaJpZM4J2jfB .

ashdnazg commented 8 years ago

I've found the issue, will push a fix momentarily

ashdnazg commented 8 years ago

https://github.com/spring/spring/commit/958b6473903d7c6f184537357d18bd3da15716f2