Forum

> > CS2D > General > Made a super-anticheat mod to CS2D
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Made a super-anticheat mod to CS2D

55 Antworten
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

Umfrage Umfrage

What do you think?

Nur registrierte Benutzer können abstimmen
Great!
26,83% (22)
Good idea, but not perfect
51,22% (42)
Too laggy!
9,76% (8)
Most crappiest I have seen.
12,20% (10)
82 Stimmen abgegeben

alt Re: Made a super-anticheat mod to CS2D

sebastiannielsen
User Off Offline

Zitieren
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.

alt Re: Made a super-anticheat mod to CS2D

Torque
User Off Offline

Zitieren
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.

alt Re: Made a super-anticheat mod to CS2D

DevGru
User Off Offline

Zitieren
user Yates hat geschrieben
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.

alt Re: Made a super-anticheat mod to CS2D

sebastiannielsen
User Off Offline

Zitieren
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!
6× editiert, zuletzt 24.12.11 23:15:31

alt Re: Made a super-anticheat mod to CS2D

Yates
Reviewer Off Offline

Zitieren
user DevGru hat geschrieben
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.

alt Re: Made a super-anticheat mod to CS2D

DevGru
User Off Offline

Zitieren
user Yates hat geschrieben
user DevGru hat geschrieben
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.

alt Re: Made a super-anticheat mod to CS2D

sebastiannielsen
User Off Offline

Zitieren
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.

alt Re: Made a super-anticheat mod to CS2D

sebastiannielsen
User Off Offline

Zitieren
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.

alt Re: Made a super-anticheat mod to CS2D

Apache uwu
User Off Offline

Zitieren
user sebastiannielsen hat geschrieben
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...

alt Re: Made a super-anticheat mod to CS2D

sebastiannielsen
User Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht