0 Members and 1 Guest are viewing this topic.
I host a server in Taiwain and got a problem that [RoundsTillRepick] seems doesn't work.I try to install a pure server and over write with MMod.After host server and ppl first join, it never go in Gallery again.Type /repick in game, it always say will go in Gallery in 2 maps. Even already pass 2 maps.What's wrong with this? Any idea?
Found and fixed the bug that caused these problems. There was a GetPlayerStat call with ID = 0 in OnPlayerKill, if Archivist was never picked before. The fix will come along with a new class with the release of MMod 1.0.1.For those who can't wait, simply open the script, search for "function GiveEP" and replace this line:Code: [Select] If Shareable thenwith this one:Code: [Select] If Shareable and (ExistingArchivist > 0) thenThanks go to PQ
If Shareable then
If Shareable and (ExistingArchivist > 0) then
If TimeLeft = 20 then begin   RoundCounter:=RoundCounter+1;   If RoundCounter = RoundsTillRepick then begin    InitiateGallery;   end   else    Command('/map ' + GetRandomMap(CurrentMap));  end else
If TimeLeft = 899 then begin   RoundCounter:=RoundCounter+1;   If RoundCounter = RoundsTillRepick+1 then begin    InitiateGallery;   end  end   if TimeLeft = 15 then begin   Command('/map ' + GetRandomMap(CurrentMap));  end else
else WriteConsole(ID,'Beam of Light countered by ' + GetPlayerStat(counterer,'Name') + '. ' + iif(soldier[ID].silenced > 0,inttostr(soldier[ID].silenced) + ' secs silence',''),cWarn); end else WriteConsole(ID,'Must be moving into a direction while casting Beam of Light.',cWarn); end else WriteConsole(ID,'Can''t cast Beam of Light while dead.',cWarn); end else WriteConsole(ID,'Beam of Light: ' + inttostr(soldier[ID].cool[4]) + ' secs cooldown left',cWarn);
We cant get into the commands link its broken