PDA

View Full Version : Assault cube [No Clipping / Fly]



Hatter
01-18-2010, 12:44 AM
There are a few ways to do this, this is the way I do it.

In physics.cpp there is a function void moveplayer(physent *pl, int moveres, bool local, int curtime).

Add the following line after the declaration of editfly.


if( pl->type==ENT_PLAYER && myF)editfly=1;

myF is just a boolean value I use to switch it ON and OFF.

Like I said, there are many ways to do this.... like unlocking editmode, setting your player1->state to CS_EDITMODE.

SuperNovaAO
01-18-2010, 02:22 AM
gets you instant blacklisted because the server sees that you collide with the map

Hatter
01-18-2010, 02:44 AM
Yeah, I noticed that the server logs collision..... but it doesn't kick or ban you. I think an admin has to first view the logs and then take action.

Also, my IP changes. On rare occasions some admins will ban a range of IPs, only then am I owned.

You could also fly with clipping :).

TheCore
01-18-2010, 06:04 AM
I dont know if this still works but you can edit the gravity-define in physics.cpp too. (:

jackhack
12-26-2010, 02:28 AM
can u plz send a link to download the completed physics.cpp (just because i cant use c++ or any thing im on holiday and ive got my laptop:( )

impatientplague
08-11-2011, 11:01 AM
awesome :)