The interface [Archive] - Team17 Forum

PDA

View Full Version : The interface

Soda
1 Jun 2008, 23:52
so i just installed this game again the other day, and the offline and online interface is really laggy... i'm pretty sure i remember it being like this before also. the game itself runs fine, it's just the actual interface that's laggy. it's really annoying in general, but espechally online, not seeing a game someone hosted until like 10 secs later, and by the time i'm able to click on it and connect the game is already full.

CyberShadow
2 Jun 2008, 08:51
The delayed appearance of WormNET games is unrelated to the visual lag you're getting. Try double-clicking on SlowFrontendWorkaround_On.reg from the Tweaks folder.

franpa
2 Jun 2008, 14:21
the server updates the game list every 15? seconds thus reducing the load on the server.

Soda
2 Jun 2008, 23:10
The delayed appearance of WormNET games is unrelated to the visual lag you're getting. Try double-clicking on SlowFrontendWorkaround_On.reg from the Tweaks folder.
thanks, this fixed it

lookias
3 Jun 2008, 01:14
the server updates the game list every 15? seconds thus reducing the load on the server.
no the game sends alot who requests. thats the problem and this is not neccessary, but prosnooper and worms do stupid with it. as i tried programming a snooper net implementation, i was fine without any whos. just using part ,quit and join information will do the job.
but since i use linux and wine i dont need that.
greetz lookias

CyberShadow
3 Jun 2008, 07:40
franpa is right here, lookias. The WormNET lag (which was caused by ProSnooper hammering the server list) was resolved by caching the game list for 15 seconds.

lookias
4 Jun 2008, 00:55
the most traffic is caused by the whos. but there are 2 different servers running an irc server and a http server, and the problem with lags was not the game list it was the irc channel wich used to lag alot.
anyway who solved the lag? a new prosnooper client?

franpa
4 Jun 2008, 01:19
prosnooper hammered the server for the 'game lists', Cybershadow/deadcode/server admin changed it so the 'game list' is updated every 15 seconds thus solving lag inducing periods caused by older versions of prosnooper and possibly the current version too.

lookias
4 Jun 2008, 01:42
ok, its some time a go i bothered for it. but the most traffic was about the who requests, i guess this knowledge can lead to better snoopers, or maybe a windowed frontend (which would avoid the massive wn camping caused by prosnooper, which is stupid for all ppl who connect to wn by the game itself).
better, a windowed worms game, at all. no lie thats the most convenient thing ever, ppl will love it to play windowed (without bothering for tricks like vbox)). wine can do this just by a click... on a well configured wine wrapper of course :) .
greetz lookias

CyberShadow
4 Jun 2008, 10:08
The problem wasn't with traffic, lookias, it was with CPU load. An HTTP request must go through Apache, PHP/ASP and the database, and is one TCP connection for every request - while an IRC request is just some network packets that are all processed within the IRC daemon.

lookias
4 Jun 2008, 18:32
ya i thougt it as is saw it, that http is a bit unsuitable for frequently requests, it allways closes the connection even when it is clear that there will be another v soon.
what about a windowed frontend of worms? it would cause that wn becomes a nicer place. and less ppl would just sit around there for example when they play a game.

Muzer
4 Jun 2008, 19:02
Due to the method that it is made, a new frontend would require a full rewrite of the frontend or emulation of directdraw (eg Virtual Machine/wine on linux)

lookias
4 Jun 2008, 19:35
a full rewrite sounds nice. e.g. a worms that immediately starts in the host with some information which are written down to a .ini file, by an externel program (ok that is maybe only usefull for online gaming).
something like an extendend snooper. honestly i find the WA frontend is v obsolete. i think deadcode allready mentioned, that he want do that, but this was in a years old thread. what are the standings about this now?
btw an old version of dxwnd can run worms in windowed mode, but it will crash when u start playing. i doubt that dxwnd takes a very big effort to do that, its just a lil tricky tool which runs well with some games.

vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.