English Made a super-anticheat mod to CS2D

55 replies
Goto Page
To the start Previous 1 2 3 Next To the start
Poll Poll
What do you think?
Only registered users are allowed to vote
Great!
27.16% (22)
Good idea, but not perfect
50.62% (41)
Too laggy!
9.88% (8)
Most crappiest I have seen.
12.35% (10)
81 votes cast
22.12.11 05:25:04 pm
Up
sebastiannielsen
User
Offline Off
Thats probably the case, since its impossible to bind the same key to 2 items in CS2D. So I had to insert the same limitation in my system. The system spits out a red error message if 2 binds are bound to the same key.

The web interface that I have done actually parses and generates CS2D autoexec.cfg files containing the binds.
The password is stored as the first line in this file as an comment, and is stored in a folder named the username.

And then cs2d is executed with the -sys [username] option upon using the correct password.


If you wonder how you can have "health" left when you die, is because when the hit hook has finished executing, the text dosent get updated in time before the player actually are dead and no more text updates can be done.
But thats not something to worry about, since the health is always correctly displayed when you are alive.
23.12.11 09:05:56 am
Up
Torque
User
Offline Off
A very interesting project. I've tested it and it works, however, I'd still rather play with cheaters than via your website. The main reason for this is that the mouse responds very slowly.
Minor reasons are that it looks uglier, I couldn't get it to fullscreen properly and you can't include your own binds in autoexec.

Also I would like to report 2 bugs. On my screen there is a grey rectangle in the bottom left corner. If I move my mouse there while I'm walking I will continue to walk in that direction forever. Second one is that when I pressed escape it told me I was still playing when I tried to log back in.

Very nice project though.
Relax, relate, release. Visit: www.lsdservers.boards.net
23.12.11 09:07:59 am
Up
DevGru
User
Offline Off
@user Torque: Dude this thread's 1 year old! Why the heck you've revived it!? O.O
IMG:http://steamsignature.com/status/default/76561198078087837.png
IMG:http://steamsignature.com/AddFriend.png
23.12.11 10:10:34 am
Up
Yates
Reviewer
Offline Off
He didn't. People before him did, and anyway. This thread is maybe the best one to revive.
23.12.11 10:20:18 am
Up
DevGru
User
Offline Off
user Yates has written:
He didn't. People before him did, and anyway. This thread is maybe the best one to revive.


Best to revive yes, but this thread didn't appeared until he commented.
IMG:http://steamsignature.com/status/default/76561198078087837.png
IMG:http://steamsignature.com/AddFriend.png
23.12.11 10:27:07 am
Up
DannyDeth
User
Offline Off
He fucking created the mod! He can revive it! Sheesh, brain!! BRAIN!!
23.12.11 01:45:12 pm
Up
sebastiannielsen
User
Offline Off
Torque: The grey rectangle is a system that prevents you from pressing the MENU button while dead. Just ignore that grey rectangle.
Thats why theres a second health dialog above this.

To survive if you accidentilly move your mouse over the rectangle, move the mouse back into game and then press the key for the direction you are moving once. (So if your character are moving infinitely to the left while no button is pressed, press the key you have bound to "left" once, eg press and then release) This clears the "pushed down" state in the game.

About fullscreen, you cannot play this fullscreen via the website. The picture are sent in 640x480 from the server, but if you have a fullscreen capable VNC client, you can connect to sebn.us.to:5900 (in some VNC clients you need to write sebn.us.to::5900).

Pressing escape disconnects.
You will still be logged in 30 seconds after disconnecting. That means you will still be logged in (account already in use) until 30 seconds elapsed.
Just wait 30 seconds after disconnect and relogin.
I have measured it, it takes EXACTLY 30 seconds to be able to connect after a disconnect.
So I added a descriptive text about this in the dialog that popups when you are trying to login to a account that is already in use.

About the "ugly" look, is to make it easier for JPEG compression to compress the image. I have replaced all de_dust tiles with 256 color alternatives.

About the mouse response: No it isnt slow at the server. The server uses VirtualGL to process everything, so once your mouse movement arrived at the server, it gets processed very quickly.
But depending on your ping, it depends.
Lets say you have 50ms ping in ONE direction. Then it will take 100ms for the mouse movement to "appear" at your screen, since mousemovement needs to get to the server, processed, a image needs to be generated, and then that image needs to be sent to you.

Note that you cannot see the ping in the score table since the game client connects locally to the game. (localhost), so you will have 1 in ping.

About own binds, tell me what for binds you want here in thread (just write the command you want to execute in console), and I will judge if the command is a good idea, and then I will add it into configuration page so everyone can bind a key to it.
Note that theres no sound, so theres no idea of radio commands and such.




[NOTICE]
√ SERVER Online again!
edited 6×, last 24.12.11 11:15:31 pm
23.12.11 01:47:19 pm
Up
Yates
Reviewer
Offline Off
user DevGru has written:
Best to revive yes, but this thread didn't appeared until he commented.

Are you retarded or something? The creator of the thread revived it. Go look on the second page.
23.12.11 11:50:58 pm
Up
DevGru
User
Offline Off
user Yates has written:
user DevGru has written:
Best to revive yes, but this thread didn't appeared until he commented.

Are you retarded or something? The creator of the thread revived it. Go look on the second page.


What the hell I'm talking about user Torque! I thought he revived it.
IMG:http://steamsignature.com/status/default/76561198078087837.png
IMG:http://steamsignature.com/AddFriend.png
26.12.11 08:35:54 am
Up
sebastiannielsen
User
Offline Off
UPDATE:
Fixed health issue.
Now, the MENU button in spectate is made inaccessible by a software, which has "transset-df" set to "alpha 0", thus it prevents access to the menu button, but does not physically cover it, and then the health is visible during play.

Made the square smaller so it just precisely cover the MENU button.

Of course, the game behaves strangly when you put the mouse over the invisible square, but the fix is to move out of the square and then push the arrow keys for the directions you are infinitely moving in to clear the pushed down state.
26.12.11 08:37:42 am
Up
PyKemis
User
Offline Off
Amazing idea, if all games were vnc they would be 100% hack proof, though that just doesn't possible for most.
26.12.11 08:51:53 am
Up
sebastiannielsen
User
Offline Off
Yep.
Thats why cheaters exist.

A problem with regular FPS:es over VNC is that they use some sort of relative mouse movement sensing with mouse pointer locked into the middle of the game, and VNC uses absolute mouse movement, causing either the view to spin around wildly, or its really tricky to do a 180* turn.

But really, the game developers should really stream the game from the server, it would make games so secure they can be used in gaming for real money.

And as a bonus, for paid games, the system also solves the piracy problem, since theres nothing to copy, everything is run at the server.
26.12.11 10:45:28 am
Up
PyKemis
User
Offline Off
user sebastiannielsen has written:
Yep.
Thats why cheaters exist.

A problem with regular FPS:es over VNC is that they use some sort of relative mouse movement sensing with mouse pointer locked into the middle of the game, and VNC uses absolute mouse movement, causing either the view to spin around wildly, or its really tricky to do a 180* turn.

But really, the game developers should really stream the game from the server, it would make games so secure they can be used in gaming for real money.

And as a bonus, for paid games, the system also solves the piracy problem, since theres nothing to copy, everything is run at the server.


I see, like an account -- to authenticate yourself into the game, you can't download anything...

If only graphics could be rendered client side, -- the problem with that is that the client would be able to get where everyone was and create an aimbot...
27.12.11 09:00:58 pm
Up
sebastiannielsen
User
Offline Off
Updates:

Guess what this is for update to the anticheat im working on?

IMG:http://i.imgur.com/wp58u.png

Large version: http://i.imgur.com/wp58u.png

Will post a update here when its done.
27.12.11 09:03:05 pm
Up
VAU
User
Offline Off
Nice...
Ill be happy for this!
11.02.12 09:51:44 pm
Up
sebastiannielsen
User
Offline Off
Still working on this to get sound working.

The streaming solution is a little bit of failure, im going on with Icecast2 instead, but the problem with Icecast2 is that it wont run as root.

I have tried multiple solutions, from using changeuser user=root group=root /changeuser in config file, to attempting to create a fake user "fakeroot" with uid=0, but still icecast2 complains.

The reason of using icecast2 is to stream the CS2D sound to the client.
To the start Previous 1 2 3 Next To the start