belma TCP vs. UDP

This is the only place for Elma polls on Moposite. Kuski of Month polls are also here. Read more info >>

Moderator: Moporators

Post Reply

TCP or UDP ?

UDP only
13
46%
TCP only
2
7%
both TCP and UDP
13
46%
 
Total votes: 28

User avatar
milagros
Cheatless
Posts: 4560
Joined: 19 May 2002, 17:05

belma TCP vs. UDP

Post by milagros »

We did some testing of TCP vs. UDP on the moposite server and these are the results :

UDP worked perfectly smooth with 'delay' 20ms and in flagtag balle the unsync at normal elma speed caused some 1-2px diff which was fine. Small delay between frames may cause higher traffic though. For some router-nabs UDP causes problems and they can't see anyone.

TCP kinda sucked. It works reasonably ok only with 'delay' 100ms, however players sometimes lag (stop for 0.2s) and its quite disturbing - that happens when some messages get lost and resend. For flagtag the unsync caused some 1 wheel difference, but sometimes it was much larger when something got lost and flagtag was a bit unplayable. However TCP would work for anyone and it's a bit easier to make the server safer. Also internet connections may get better next years.

Other option is to keep and option UDP/TCP but that would still make router-nabs lagging and disturb others and the flagtag problem would remain.

Tables and stuff will be redone to TCP and will not cause problems. Only frames of players may be UDP.

So what do you prefer?

sveinr or someone, move to polls pls.
[carebox]
User avatar
Morgan
36mins club
Posts: 582
Joined: 16 Dec 2007, 22:55
Team: SPEED
Location: Lębork, Poland
Contact:

Re: belma TCP vs. UDP

Post by Morgan »

i think flagtag wont be battled freqently, so i prefer TCP
Image TT - 36:53.16 || 17 Polish Records || SPEED
User avatar
FinMan
36mins club
Posts: 2038
Joined: 13 Feb 2007, 11:14
Team: dat
Location: Jyväskylä, Finland

Re: belma TCP vs. UDP

Post by FinMan »

UDP, flagtag balles looks very fun. And if everyone lags in the walls etc... Wont be nice.
teajay
Donator duck
Posts: 10043
Joined: 3 Apr 2003, 17:53

Re: belma TCP vs. UDP

Post by teajay »

I hate the damn lags.. people should be finally forced to figure their routers out. It usually isn't that hard.

here we go again:
http://www.portforward.com/
User avatar
Zweq
34mins club
Posts: 4055
Joined: 28 Nov 2002, 15:54
Location: suo mesta

Re: belma TCP vs. UDP

Post by Zweq »

rarely spying and flagtag balle will very likely nat be popular few weeks after the initial hype

so: nat care kuhan hyppy kulkee
Smibu
Kuski
Posts: 476
Joined: 15 Jun 2007, 13:17
Location: Finland

Re: belma TCP vs. UDP

Post by Smibu »

milagros wrote:
"TCP kinda sucked. It works reasonably ok only with 'delay' 100ms, however players sometimes lag (stop for 0.2s) and its quite disturbing - that happens when some messages get lost and resend. For flagtag the unsync caused some 1 wheel difference, but sometimes it was much larger when something got lost and flagtag was a bit unplayable. However TCP would work for anyone and it's a bit easier to make the server safer. Also internet connections may get better next years."

I see more good than bad sides in this. TCP only. That kind of lag doesn't sound bad at all. And everyone gets rid of portforward problem, including me!!
EDIT: Ok, why not both TCP and UDP, it's a good compromise.
Last edited by Smibu on 2 Nov 2008, 19:44, edited 2 times in total.
teajay
Donator duck
Posts: 10043
Joined: 3 Apr 2003, 17:53

Re: belma TCP vs. UDP

Post by teajay »

I hope for flagtag balles, they'd be cool. Whatever if it's a trend, nabs should learn to forward. You're getting the chance or something really innovating and you say like 'oh we don't need that' too easily. We hardly play 1h tt balles, but when we do I find it a great treat. Same goes with flagtalle balle YEA.
User avatar
The_BoneLESS
38mins club
Posts: 4604
Joined: 7 Sep 2003, 00:30
Team: HHIT
Location: Dangerously close to the St-Lawrence River
Contact:

Re: belma TCP vs. UDP

Post by The_BoneLESS »

I don't know how often the lag happens with TCP but, if it happens more than once per run, it is way too annoying. If it's once a day, i really don't care.

UDP seems perfect for belma in my opinion.
Though i know security is an important issue having nerds playing around with the server. If the server can be safe using UDP, i don't see any reasons to go to TCP.
User avatar
Orcc
Moporator
Posts: 1752
Joined: 19 Oct 2004, 20:44
Team: IS
Location: Espoo, Finland

Re: belma TCP vs. UDP

Post by Orcc »

I think flagtag is kinda boring, wouldn't matter to me if it's not that playable.
User avatar
Zweq
34mins club
Posts: 4055
Joined: 28 Nov 2002, 15:54
Location: suo mesta

Re: belma TCP vs. UDP

Post by Zweq »

flagtag is awesome in a good level, it has it's own winning technique, it's sort of like elma PvP, predict opponent nxt action. I believe if you're really good at it you always end up in top3-5 but truth is it has a luckfactor, which can be reduced by a proper level where player clusters cant form, this means every single spot of the level needs an escape route = you cant have a horizontal wall, it has to climbable, like a loop to upper polygon.

the real problem will come later when people get bored of it, it will be like survivor or slowness(which also are awesome in good levs), abused by noobs with shitlevs and later forgotten battlemode. and whenever someone starts flagtag balle, ppl whine
teajay
Donator duck
Posts: 10043
Joined: 3 Apr 2003, 17:53

Re: belma TCP vs. UDP

Post by teajay »

yes. luckily we can arrange certain restrictions for those.
User avatar
Palme
Kuski
Posts: 375
Joined: 14 Oct 2006, 10:49
Location: Berlin
Contact:

Re: belma TCP vs. UDP

Post by Palme »

I want best for everything and selected both :)
User avatar
totem
39mins club
Posts: 328
Joined: 26 Dec 2007, 14:04

Re: belma TCP vs. UDP

Post by totem »

[quote="The_BoneLESS"]I don't know how often the lag happens with TCP but, if it happens more than once per run, it is way too annoying. If it's once a day, i really don't care.

UDP seems perfect for belma in my opinion.
Though i know security is an important issue having nerds playing around with the server. If the server can be safe using UDP, i don't see any reasons to go to TCP.[/quote]
User avatar
zworqy
Kuski
Posts: 3706
Joined: 19 May 2002, 23:17
Location: Lilla Edet, Sweden
Contact:

Re: belma TCP vs. UDP

Post by zworqy »

[quote="The_BoneLESS"]I don't know how often the lag happens with TCP but, if it happens more than once per run, it is way too annoying. If it's once a day, i really don't care.[/quote]
It's like once every 10-20 seconds :S
User avatar
The_BoneLESS
38mins club
Posts: 4604
Joined: 7 Sep 2003, 00:30
Team: HHIT
Location: Dangerously close to the St-Lawrence River
Contact:

Re: belma TCP vs. UDP

Post by The_BoneLESS »

[quote="zworqy"][quote="The_BoneLESS"]I don't know how often the lag happens with TCP but, if it happens more than once per run, it is way too annoying. If it's once a day, i really don't care.[/quote]
It's like once every 10-20 seconds :S[/quote]
well, that's bad.
UDP would be my choice.
User avatar
FinMan
36mins club
Posts: 2038
Joined: 13 Feb 2007, 11:14
Team: dat
Location: Jyväskylä, Finland

Re: belma TCP vs. UDP

Post by FinMan »

Then ez UDP.
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Re: belma TCP vs. UDP

Post by Maska »

mb more easy make normal sockaddr caching from recvfrom on server?
User avatar
zebra
Kuski
Posts: 1010
Joined: 23 Sep 2003, 15:35
Team: TAP
Location: Finland
Contact:

Re: belma TCP vs. UDP

Post by zebra »

People with only TCP access should definately be able to play. Otherwise many players would be angry (those who can't do port forwarding for some reason).

If the lag is problem in flagtag, then you could make a restriction that only players with UDP access could play those. In other battle types (the rest 99% of battles) it doesn't matter anything, so in those everyone should be able to play.
Post Reply