yiuyao0516 / confogl

Automatically exported from code.google.com/p/confogl
0 stars 0 forks source link

Witch doesn't spawn on c6m1 for the second survivor team #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Playing c6m1 versus game in Confogl

What is the expected output? What do you see instead?
The witch should spawn for both teams however it only spawns for one side of 
the team.

What version of the product are you using? On what operating system?
Confogl 2.2.0 (Linux)

Please provide any additional information below.
Following patch for src/scripting/modules/BossSpawning.sp has fixed the problem:
$ diff -crB BossSpawning.sp.original BossSpawning.sp
*** BossSpawning.sp.original Tue Sep  7 15:56:57 2010
--- BossSpawning.sp Tue Sep  7 15:57:40 2010
***************
*** 69,74 ****
--- 69,75 ----
  public Action:BS_WitchSpawn(Handle:event, const String:name[], bool:dontBroadcast)
  {
   if (!BS_bEnabled || !IsPluginEnabled()) return;
+  if (StrContains(BS_sMap, "c6m1") != -1) return; //fix witch spawing on c6m1

   new iWitch = GetEventInt(event, "witchid");

This fix is working on my servers.

Original issue reported on code.google.com by yumyudai on 7 Sep 2010 at 7:01

GoogleCodeExporter commented 8 years ago
Fixed in b9c790bed1.  The problem was Confogl removes witches that spawn in the 
first 5s of a round to fix the extra witches in Hard Rain and the passing 
spawns the witch bride on round start.  I just added an exception to stop 
witches from being removed from c6m1.

Original comment by Canada.R...@gmail.com on 7 Sep 2010 at 4:28

GoogleCodeExporter commented 8 years ago

Original comment by prodigysim@gmail.com on 9 Oct 2010 at 6:55