PDA

View Full Version : Plasma, can you help us figure this out?


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

Plasma
02-03-2005, 02:41 PM
thx for reminding me.. Let me download the file and i'll check it out.

Plasma
02-03-2005, 04:02 PM
alright, here's my info:

if (isdefined(inflictor.vehicletype) && ((inflictor.vehicletype == "flak88_mp") || (inflictor.vehicletype == "Flak88_MP"))) continue;

looks the same to me.

Plasma
02-03-2005, 04:14 PM
Plasma, can you tell me the values of these cvars on your server that allows Flak88s to damage bases:

sv_referencedPaKNames
sv_referencedPaks


where are these found?

bullet-worm
02-03-2005, 04:29 PM
These are cvars that CoD automaticly makes. You won't find them in a .gsc file. In order to get the values you would need to use the servers console or rcon in a command such as:

\rcon cvarlist *referenced

(that will give you back both of them).

If those match between the two types of servers, then it MUST be that the inflictor.vehicletype is not coming back as one of the two values it is looking for.

I can write a real small script to see what the value is coming back as, if that ends up being the case.

worm

Plasma
02-03-2005, 06:04 PM
this is what i got:

]cvarlist *referenced
R sv_referencedPakNames "uo/zzz_RudeDog_BoS_MessageCenter_svr_ uo/pakuo07 uo/pakuo04 uo/pakuo03 uo/pakuo01 uo/pakuo00 main/pak9 main/pak8 main/pak5 main/pak4 main/pak0 uo/localized_english_pakuo01 uo/localized_english_pakuo00 main/localized_english_pak3 main/localized_english_pak2 main/localized_english_pak1"
R sv_referencedPaks "-1131683819 419375006 401794639 -914447005 -235342179 -659938473 1622099944 -858314597 77111478 -1825805837 1048127331 411039402 323984529 -788625739 968878365 -961133319 "

bullet-worm
02-03-2005, 06:25 PM
That exactly matches mine (minus the message center of course). And that server does damage the bases with the 88s, right?

I will write the test script tonight and give ya a link to download it. As you can probably see in the BAS script it is SUPPOSED to prevent damage to the bases by the 88s. The script I will write will print on-screen what the inflictor.vehicletype is when anything hits a base.

I am thinking now that what you see on screen when you hit a Base with the Flak88 will not match EXACTLY with what the script is looking for in the above snippet. :wink:

Hopefully we are getting close to the final reason this is happening.

worm

bullet-worm
02-03-2005, 06:29 PM
I may come hit ya up over at your vent tonight, if you are available. I really would like to get this solved.

worm

Tempest
02-09-2005, 06:01 AM
Assuming this is for the 88's damaging bases in BAS... Does this mean that there aren't any cvars to adjust this? Or we just don't know them?

bullet-worm
02-10-2005, 04:27 PM
There are no cvars to control this.

It ended up being rude dog's old message center which is obviously based off of pre-1.51-patch scripts (and I am sure other pre-patch mods) that was allowing many servers to still damage bases.

worm

Tempest
02-11-2005, 06:35 PM
That's too bad, but at least now I understand.

thanks for all you wise knowledge and great job on PAM-UO Bullet-Worm....