Forum

QSB network protocol

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

Should QSB 1.0 require a new network protcol?

Yes
14
100%
No
0
No votes
 
Total votes : 14

QSB network protocol

Postby Urre » Sat Feb 06, 2010 6:43 pm

I felt it was easiest this way, let's just settle it with a vote.

I'm asking this because it'd be a lot easier to settle on what features to support if you don't have to care about network protocol compatibility, but it'd make multiplayer-mods made for QSB meaningless.

Note that QuakeWorld engines adopting QSB would have their own variant of this network protocol, QuakeWorld and NetQuake engines wouldn't need to be compatible between eachother.

Also supporting the old protocol would be a requirement.
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby Downsider » Sat Feb 06, 2010 8:07 pm

I know there's going to be a new protocol, but what should it support?

I'm thinking HUD and movement prediction are two definites.
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby Urre » Sat Feb 06, 2010 8:15 pm

It'd support whatever features the standard supports which are related to network changes. Prediction for NetQuake is definitely overkill, and hasn't been suggested earlier.

This is not about suggesting new network protocol related features, but rather if it should be standardized or not. Otherwise QSB 1.0 would be a singleplayer standard only.
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby Spirit » Sat Feb 06, 2010 8:49 pm

I say yes. The engine land is in good shape and the important engines would have it implemented, I am sure.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1031
Joined: Sat Nov 20, 2004 9:00 pm

Postby mh » Sat Feb 06, 2010 10:53 pm

Yes from me too. It's well past time we had a standardised extended protocol.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Postby frag.machine » Sat Feb 06, 2010 11:04 pm

Yes, QSB should require a new protocol. But this doesn't mean discarding support to protocol 15 (I believe this must be required in fact) and, optionally, any other engine-specific implementation (DP7, FitzQuake 666, etc).
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby Baker » Sun Feb 07, 2010 12:11 am

Yes. And maybe it can have some kind of compression and support download of maps, models, sprites and sounds.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby Spike » Sun Feb 07, 2010 1:48 am

Clients should support something a bit better, but I'm not sure its practical to mandate incompatibilities on servers, as I previously mentioned.

The preconnection stuff *needs* fixing. QW/DP/Q2 are example improvements here. The current stuff is b0rked with NATS, routers, and the smurf stuff, etc. If there was one replacement, this would be it, stating the protocols that the client supports so the server can give a clean message saying what the client needs to support to connect (or perhaps where to get a compatible one from).

NQ's lack of delta compression results in large demos, and a lot of data flowing over the net. Thinking about it, many engines already have extensions to their existing entities for alpha/scale/etc. Adding such extra fields by adding full delta compression at the same time would potentially reduce conflicts with existing demos from such engines (nehara comes to mind).

Sending the gamedir name would also be good. It doesn't have to be supported clientside, but a nice message saying you're running the mod from the wrong gamedir would be nice. Download support would greatly simplify things too, but questionable - not all engines safely load all data formats (id's did not).

Prediction is too tricky really. It can't really be done without the mod supporting it too, at least not accurately and without huge hacks and assumptions. I do not feel it to be practical without some client side game code of some kind also in the standard. So no prediction.

Clientside game code also applies to HUDs, although a Q2-like hud-string aproach may be workable.

QW engines would need various bits expected by most NQ mods - svc_particle would be the obvious example. QW is a bit more current.

Behaviour should be defined for engines that do not provide everything. Eg: engines unable to render alpha treat ents with low alpha values as invisible, as opposed to silently ignoring alpha. This applies even if the full QSG standard requires alpha. This allows gradual compliance.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby goldenboy » Sun Mar 07, 2010 12:37 am

Just one thing, I thought protocol 999 would be a good name perhaps.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Postby Spike » Sun Mar 07, 2010 8:49 am

goldenboy wrote:Just one thing, I thought protocol 999 would be a good name perhaps.

that would only be a good name if you're creating it in an emergency. :s
Having said that, adding 1 and using the version number*1000 would not be too bad a plan.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby ceriux » Sun Mar 07, 2010 4:51 pm

what would be wrong with multiplayer mods again?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Spike » Sun Mar 07, 2010 5:16 pm

public servers generally prefer to allow as many clients as possible.
By using an extended protocol on a dedicated server, you effectively ban a whole load of clients (any that don't support the extensions).
You can draw your own conclusions from that.

Depends on the server implementation, tbh, so imho any such extensions shouldn't be made to exclude the possibility of dual-protocol servers.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby Team Xlink » Sun Mar 07, 2010 5:17 pm

ceriux wrote:what would be wrong with multiplayer mods again?


They might not work because of the new protocol, unless there was backwards compatibility with the stock protocol along with the new QSB protocol.
Team Xlink
 
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

Postby Downsider » Sun Mar 07, 2010 7:00 pm

I've always wondered why a new protocol was needed for something like movement prediction of the character and why no NetQuake engines support the prediction. Isn't just simply doing the same movement code that the server does on the client as well?
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby ceriux » Sun Mar 07, 2010 7:36 pm

ahh ic so basically if they didnt use the qsb engine the multiplayer mod would be useless? but if it was developed specifically on it. then there would be no problems?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest