bullet-worm
02-03-2005, 01:17 PM
Plasma, can you tell me the values of these cvars on your server that allows Flak88s to damage bases:
sv_referencedPaKNames
sv_referencedPaks
I think it can only be two things:
1) A non-updated pakuo01.pk3 file or
2) for some reason the vehicle-type name in your server is slightly different that what it expects.
The code to keep Flak88s from damaging bases is fairly cut and dry:
if (isdefined(inflictor.vehicletype) && ((inflictor.vehicletype == "flak88_mp") || (inflictor.vehicletype == "Flak88_MP"))) continue;
SO! Either this code snipet is not in your BAS.gsc file or for some reason you are getting a different inflictor.vehicletype than what the code is expecting.
The request for the cvar values above will dis-prove possibility # 1. I would have to write a really small, easy debug script to answer item #2. Obviously just by reading their code they are not sure of which of two versions to get back, so maybe there is a third out there they are not checking for...
Thanks, it seems this is a problem that needs solving for leagues.
I am thinking some servers may be getting updated by just copying over new PAK files, but the 1.51 patch actually went in and modified the original PAK file for this rather than adding a new PAK file.
worm
sv_referencedPaKNames
sv_referencedPaks
I think it can only be two things:
1) A non-updated pakuo01.pk3 file or
2) for some reason the vehicle-type name in your server is slightly different that what it expects.
The code to keep Flak88s from damaging bases is fairly cut and dry:
if (isdefined(inflictor.vehicletype) && ((inflictor.vehicletype == "flak88_mp") || (inflictor.vehicletype == "Flak88_MP"))) continue;
SO! Either this code snipet is not in your BAS.gsc file or for some reason you are getting a different inflictor.vehicletype than what the code is expecting.
The request for the cvar values above will dis-prove possibility # 1. I would have to write a really small, easy debug script to answer item #2. Obviously just by reading their code they are not sure of which of two versions to get back, so maybe there is a third out there they are not checking for...
Thanks, it seems this is a problem that needs solving for leagues.
I am thinking some servers may be getting updated by just copying over new PAK files, but the 1.51 patch actually went in and modified the original PAK file for this rather than adding a new PAK file.
worm