Server Help

ASSS Questions - How do I disable wall passing?

Bak - Sun Jun 27, 2004 2:36 pm
Post subject: How do I disable wall passing?
Soccer:DisableWallPass = 1 doesn't seem to work.

If it's not in ASSS already how would I go about adding it? The ClientSet struct is:

struct ClientSettings
{
struct /* 4 bytes */
{
u32 type : 8; /* 0x0F */
u32 ExactDamage : 1;
u32 HideFlags : 1;
u32 NoXRadar : 1;
u32 SlowFrameRate : 3;
u32 DisableScreenshot : 1;
u32 MaxTimerDrift : 3;
u32 DisableBallThroughWalls : 1;
u32 DisableBallKilling : 1;
u32 _padding : 12;
} bit_set;
struct ShipSettings ships[8];
i32 long_set[20];
struct /* 4 bytes */
{
u32 x : 10;
u32 y : 10;
u32 r : 9;
u32 pad : 3;
} spawn_pos[4];
i16 short_set[58];
i8 byte_set[32];
i8 prizeweight_set[28];
};

where would the disablewallpass go?
Dr Brain - Sun Jun 27, 2004 3:21 pm
Post subject:
Have you tried looking at clientset.c?
CypherJF - Sun Jun 27, 2004 9:53 pm
Post subject:
It should have such a feature programmed in; or else it's another thing to add to my todo before use of ASSS. :/
Bak - Sun Jun 27, 2004 10:46 pm
Post subject:
the clientset struct is from clientset.c

I'm thinking it's a client setting so it'd have to be sent to the client... where in the clientset struct would it need to be added?
Smong - Tue Jun 29, 2004 2:26 pm
Post subject: Re: How do I disable wall passing?
Bak wrote:
u32 DisableBallThroughWalls : 1;
Assuming DisableScreenshot is ctm only, then it will most likely be this one.
Edit: After checking clientset.def I am pretty sure it is this bit (there have been previous mistakes with the bitfields).
Bak - Tue Jun 29, 2004 5:04 pm
Post subject:
well I have no idea how I missed that (stupidity)... thanks smong
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group