heavy lags in 1.1
44 posts
• Page 2 of 3 • 1, 2, 3
Re: heavy lags in 1.1
I just uploaded another client-side update to display some more information about the issue. When the game starts, type "/debug" into the chat box (without quotes) and it will show you some values on the upper left of the game board.
fps: Frames per second / average frame draw time in ms
ups: State updates per second / average state update time in ms
sta: Server tick advance
An idalistic value that I personally get on windows is: 20 fps / 0, 20 ups / 0, 1 sta
I guess on linux it's really bad currently.
Please post me your values
fps: Frames per second / average frame draw time in ms
ups: State updates per second / average state update time in ms
sta: Server tick advance
An idalistic value that I personally get on windows is: 20 fps / 0, 20 ups / 0, 1 sta
I guess on linux it's really bad currently.
Please post me your values

Think it, design it, build it, run it. That's what I do.
Re: heavy lags in 1.1
I think I found a solution. When you are on linux, do the following:
Open the "CreepTD" executable and edit it with a text editor, then change:
To
And let me know if this is working for you. In my linux VM it is now super fast but there are some display bugs regarding the game window. Need to know if it's also there on a real linux box
Update: I've also updated the linux download to include the change so you also can simply download it again. Can't be much worse than it is currently, I think.
Open the "CreepTD" executable and edit it with a text editor, then change:
java -Xms64m -Xmx512m -jar $path/bin/bootstrap.jar -jar bin/creeptd-launcher.jar
To
java -Dsun.java2d.opengl=true -Xms64m -Xmx512m -jar $path/bin/bootstrap.jar -jar bin/creeptd-launcher.jar
And let me know if this is working for you. In my linux VM it is now super fast but there are some display bugs regarding the game window. Need to know if it's also there on a real linux box

Update: I've also updated the linux download to include the change so you also can simply download it again. Can't be much worse than it is currently, I think.
Think it, design it, build it, run it. That's what I do.
Re: heavy lags in 1.1
I just uploaded an updated version of the client that does full-window repaints. Maybe this helps...trying it out now 

Think it, design it, build it, run it. That's what I do.
Re: heavy lags in 1.1
Yeah, that's sad. But as ugly as this looks, I think this is the way to solve the problem. For now, I've disabled the custom window decorations around the client if OpenGL is used. I also uploaded it, give it a try if you want. I'm testing it in my VM 

Think it, design it, build it, run it. That's what I do.
Re: heavy lags in 1.1
And if I have to replace the default Swing drawing graphics behind that... I want that to work ^^
Think it, design it, build it, run it. That's what I do.
Re: heavy lags in 1.1
Ich wollte nur anmerken, dass ich auf Windows 7 auch Standbilder/laggs habe, sodass das Spiel unspielbar ist.
Re: heavy lags in 1.1
Moin,
langsam setzen die Entzugserscheinungen ein
Rambo, handelt es sich bei deinen Lags um die gleichen wie bei mir und bimm (siehe Beschreibungen) ?
Denn dann wäre das Linux-Problem gar kein Linux-Problem mehr... (Ximon schreibt im anderen Thread auch von lags, aber nennt dabei sein Betriebssystem nicht).
langsam setzen die Entzugserscheinungen ein

Rambo, handelt es sich bei deinen Lags um die gleichen wie bei mir und bimm (siehe Beschreibungen) ?
Denn dann wäre das Linux-Problem gar kein Linux-Problem mehr... (Ximon schreibt im anderen Thread auch von lags, aber nennt dabei sein Betriebssystem nicht).
Re: heavy lags in 1.1
I think I finally got the OpenGL hardware acceleration pipeline working now. It's not yet perfect (in game the sidebar seems to flicker), but on my VM it's already playable again. I really hope that it's working out for you also, at least somehow to be playable, after 24h of frustration ^^
Think it, design it, build it, run it. That's what I do.
Re: heavy lags in 1.1
dcode
You got it!!
No problems anymore, the nonworking sidebar seems to be a windows-problem (or VM-Prob).
Works fine, and the new survivor mode is nice.
I wanted tu suggest to implement a hotkey for "invest", but then "saw" the surprise. Good work, thanks for all your help!

No problems anymore, the nonworking sidebar seems to be a windows-problem (or VM-Prob).
Works fine, and the new survivor mode is nice.
I wanted tu suggest to implement a hotkey for "invest", but then "saw" the surprise. Good work, thanks for all your help!
Re: heavy lags in 1.1
Try the space hotkey to invest.
Changing the per cent with scrolling your mouserad.
Changing the per cent with scrolling your mouserad.
Re: heavy lags in 1.1
hab ich beides gefunden durch zufall, wollte das eigentlich auch in meinem letzten post geschrieben haben..
bimm hat übrigens noch probleme mit den lags, schlimmer als je zuvor.
bimm hat übrigens noch probleme mit den lags, schlimmer als je zuvor.
Re: heavy lags in 1.1
Hmm...das ist schlecht. Ich überlege mal, was ich da machen kann. Vielleicht ein --minimalistic command line switch oder so 

Think it, design it, build it, run it. That's what I do.
Re: heavy lags in 1.1
dcode wrote:I think I found a solution. When you are on linux, do the following:
Open the "CreepTD" executable and edit it with a text editor, then change:java -Xms64m -Xmx512m -jar $path/bin/bootstrap.jar -jar bin/creeptd-launcher.jar
Tojava -Dsun.java2d.opengl=true -Xms64m -Xmx512m -jar $path/bin/bootstrap.jar -jar bin/creeptd-launcher.jar
And let me know if this is working for you. In my linux VM it is now super fast but there are some display bugs regarding the game window. Need to know if it's also there on a real linux box
Update: I've also updated the linux download to include the change so you also can simply download it again. Can't be much worse than it is currently, I think.
Wow, this is work for my linux

Thx
44 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 29 guests