Tweak nexuiz for highest perfomance over VNC?

Tips on how to tweak Nexuiz for the best performance

Moderators: Nexuiz Moderators, Moderators

Re: Tweak nexuiz for highest perfomance over VNC?

Postby FruitieX » Tue Jan 05, 2010 12:32 pm

[-z-] wrote:
sebastian wrote:But Fruitex: What do you think of sending a SVG picture over the network?
How well can a SVG be compressed compared to a JPEG? Im think that a SVG can be compressed far more than a JPEG, especially if you use 8 bit colors, eg 256 colors.


Which layer of the system do you plan on doing the compression on? I don't see how this can be done fast in realtime.


+1, Just for fun, try using a tool which "converts" a bitmap into an svg. It'll look a bit like a drawing and it takes perhaps 10 seconds to process at decent qualities.


So yeah, possibly a thing of the future, but I'd still prefer playing with working client side prediction enabled.
Image
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Re: Tweak nexuiz for highest perfomance over VNC?

Postby esteel » Tue Jan 05, 2010 6:51 pm

I must confess i have not read the whole thread.. but the load from sending 640x800 pixels over a network must be pretty intense. Esp as generally EACH pixel on the screen can change. VNC for desktop usage has the advantage that usually only small parts of the screen does change and only that change needs to be transmitted to the client. Also the "input/output" lag should be pretty annoying. There are some people that can notice the lag one can get from triple buffered v-sync and thats maybe up to 10ms. Trying to play over VNC must introduce a much higher lag and make it quite difficult to aim.
The idea sounds interesting though.. but i'd already miss stuff like simple customisation (i do not play with the usual WASD movement keys..). Also i do not use VNC very often.. will it be possible to use the 640x800 window as fullscreen? Otherwise it could be way to small on some screens/resolutions.
Z already pointed you to some low-tech configs (besides trying the "low" config from the settings menu).
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Re: Tweak nexuiz for highest perfomance over VNC?

Postby Samual » Tue Jan 05, 2010 11:50 pm

I've held back on commenting on this thread for a while as I didn't want to be too rude, but it seems you're still going at this after a lot of advice. I'll begin with explaining why cheating in Nexuiz is almost impossible... For one, wallhacks are nearly useless as the server does entity culling and only sends visible entities to the client. Aimbots and other such hacks (Trigger bots, etc) are #1 easy to spot and #2 very hard to program for this game, especially since the client side game code is sent to the player by the server. Speedhacks are out of the question, as well. Although our lead developer managed to make a nasty strafebot several months ago which calculated the perfect angles to strafe at, that is useless now as the game doesn't allow that to work anymore. Basically, I have seen a total of 3 cheaters in Nexuiz ever (Excluding the devs, we're allowed to :P).... 2 of them entirely sucked (To the point that a good player could still own him), and the other disappeared very quickly a long time ago. Well, even then, no one but a dev has made any affective cheats... And none of the devs plan on releasing their work, I assure you.

Basically, you're wasting your time with VNC :P What I instead recommend would be distributing an engine which you modify to have a certain unique aspect about it without distributing the source for that change.. This way, they would HAVE to use your engine because they have no idea what you changed. An example of this would be changing the engine protocol slightly so that only your engine can connect to your server, and other engines which don't have this exact same protocol would not be able to connect......... The means, someone trying to compile their own (e.g. for a hack) would be SOL.

However, with that said, I still don't think it's necessary AT ALL to do this.... not unless you're doing something professionally, where there is money involved (e.g. a prize in a contest).

edit: typo
Do it yourself, or stop complaining.
(Developer Tracker) | (Nexuiz Roadmap)
Samual
Keyboard killer
 
Posts: 508
Joined: Mon May 25, 2009 7:22 pm
Location: Pittsburgh, PA

Re: Tweak nexuiz for highest perfomance over VNC?

Postby cld71 » Fri Jan 15, 2010 8:27 am

There are cheats in nexuiz, that can give you an advantage.
AND YOU DON"T HAVE TO HAVE THE CHEAT COMMAND ON.
Including wall look through, network cheats, etc AND THEY WORK ON EVERY SERVER.
And these cheats will work through nexuiz on VNC as well.
cld71
Newbie
 
Posts: 7
Joined: Mon Oct 27, 2008 4:02 pm

Re: Tweak nexuiz for highest perfomance over VNC?

Postby tZork » Sat Jan 16, 2010 2:20 am

CHEAT COMMAND ON. IS LOCAL GAME ONLY!!1ONE

Yes there is ways to cheat

no wall hack don't work on common servers.

net code cheats are mostly aim bots.

no none works, obviously , over vnc.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Re: Tweak nexuiz for highest perfomance over VNC?

Postby cld71 » Tue Jan 19, 2010 2:34 am

tZork wrote:CHEAT COMMAND ON. IS LOCAL GAME ONLY!!1ONE


Wrong, cheat command can be turned on on any server.

tZork wrote:Yes there is ways to cheat


Yes there is/are.

tZork wrote:no wall hack don't work on common servers.


Wrong, wall hacks do work on every server with or without cheat on, I have used some commands to look through walls

tZork wrote:net code cheats are mostly aim bots.


Wrong, there are network commands to control the rx/tx communications, including the timing and lose of pl.

tZork wrote:no none works, obviously , over vnc.


Wrong all of them work over vnc, because the commands are in bedded in to nexuiz/Darkplaces.
cld71
Newbie
 
Posts: 7
Joined: Mon Oct 27, 2008 4:02 pm

Re: Tweak nexuiz for highest perfomance over VNC?

Postby tZork » Tue Jan 19, 2010 3:14 am

don't be stupid. the cvar enabling built in cheats are sv_cheats. how would turning cheats on your local server enable it on a remote one?

Wall hakks lets you see tough walls, yes. but they wont show you where players and items are since the engine simply does not send this info when the entity in question is obscured. on insanely open maps it will still work but well.. on that kinda map you proly know where ppl are anyway.

a vnc based server for anticheat purpose would /should not allow access to console and sutch, thus making any command based cheat void. and since the server sends you a rendered image and not render info you cant hakk much more info outa it.

as for the networking stuff, link/s to these or real info on them would be nice so they can be countered. if you don't have that its just speculation on your part (and you should make that clear).
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Re: Tweak nexuiz for highest perfomance over VNC?

Postby cld71 » Tue Jan 19, 2010 6:35 am

tZork wrote:don't be stupid. the cvar enabling built in cheats are sv_cheats. how would turning cheats on your local server enable it on a remote one?


Your being stupid. You said, "CHEAT COMMAND ON. IS LOCAL GAME ONLY!!1ONE", this is wrong because if I have the master password for the server I can get in by using master and change the server from sv_cheat 0, to sv_cheat 1. Granted I either have to wait for the game to be over or restarting the map, but no turning cheat command on isn't for local game only. I have seen cheat turned on for galt and hoctf servers.

tZork wrote:Wall hakks lets you see tough walls, yes. but they wont show you where players and items are since the engine simply does not send this info when the entity in question is obscured. on insanely open maps it will still work but well.. on that kinda map you proly know where ppl are anyway.


Yes, I know what wall hacks are. And your wrong there are commands that will let you wall hack aka seeing other players. I am not talking about using the map. The map is useless in a game, I am talking about see the other user through the wall just like you see them in the game and not just your own team, you see everything and anything.

tZork wrote:a vnc based server for anticheat purpose would /should not allow access to console and sutch, thus making any command based cheat void. and since the server sends you a rendered image and not render info you cant hakk much more info outa it.


Your talking about "SERVER", I am not talking about server, I am talking about client side.

tZork wrote:as for the networking stuff, link/s to these or real info on them would be nice so they can be countered. if you don't have that its just speculation on your part (and you should make that clear).


Don't want to list the commands here, then everyone would be using these commands to "cheat".

Maybe I will make a video using the "cheat" commands, but I wouldn't list the commands out.
cld71
Newbie
 
Posts: 7
Joined: Mon Oct 27, 2008 4:02 pm

Re: Tweak nexuiz for highest perfomance over VNC?

Postby C.Brutail » Tue Jan 19, 2010 12:01 pm

Haha, epic fail in some places :D

Let's just make some things clear for you: tZork was talking about a simple, regular player, and still client side. Typing in the console without rcon or vdo sv_cheat 1 will make no effect on your current game. Asap you start a server, cheat's will be enabled on your server. Sure, if you have master access, and you know the master password, you can change a quite few things... or not, because commands that a master can do are restricted. I'm not sure, but on DCC a master can't change the cvar sv_cheats from 0 to 1.

I am talking about see the other user through the wall just like you see them in the game and not just your own team, you see everything and anything.


One thing that comes to my mind: it might be the mapper's fault, but you might have tried it on a broken map, that didn't have the visibility stage compiled. Map compiling takes 3 stages: meta, vis, light. Vis creates the visibility portals, the information what _should be_ blocked. This fails sometimes real hard, but well done, it's realy effective, especially because as tZork noted DP simply refuses to send any packet to you about te player, entity, rocket models etc. that you can't see. Therefor wallhacks won't work.

Also, someone got the paranoia pills again. "I won't reveal the super-duper secret omfg wallhack atom cheatcodes I just revealed, because every n00b will use it!!!oneoneeleven111"
Code: Select all
r_showtris 1
r_showdisabledepthtest 1


To make it clear again: these are developer tools, to see what rendering the GPU does actually. On poorly vis'd maps, you'll see the whole map in wireframes, and all the entities and the players. That's why you still can use it, because the server thinks you could see it, so sends the packet. But this refers for mainly third party maps. Try this on final_rage, and you won't see anything beneficial. Not to mention, this makes your FPS literally to drop to it's tierce.
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Previous

Return to Nexuiz - Performance Tips

Who is online

Users browsing this forum: No registered users and 1 guest