Oct 26 Forced Wipe Error Fails to compileFixed

Recieving following error following the October 26 forced wipe.

Error while compiling MonumentAddons: The name 'DelayedSpawn' does not exist in the current context | Line: 9501, Pos: 17

Please assist.
Thank you.

I was able to get it working for the time being by changing `DelayedSpawn();` on line 9501 to the following, but I think it would be best to wait for an official fix from the developer.

                SpawnGroupAdapter.Plugin.NextTick(() =>
                {
                    if (this == null || SpawnGroupAdapter == null)
                        return;

                    SpawnGroupAdapter.SpawnTick();
                });

Same issue here since update this early AM, no compile.

10/02 06:40:05 AM | Error while compiling MonumentAddons: The name 'DelayedSpawn' does not exist in the current context | Line: 9501, Pos: 17

 

same here. 

 

help! :)

 

 

Dont sure, but seems like we need just remove this string, respawn groups (shark on oilrig) works fine for me:

            public void OnPuzzleReset()
            {
                Clear();
                //DelayedSpawn();
            }

because it was replaced in game code:

before:

		foreach (SpawnGroup spawnGroup in GetSpawnGroups())
		{
			if (!(spawnGroup == null))
			{
				spawnGroup.Clear();
				spawnGroup.DelayedSpawn();
			}
		}

now:

		foreach (SpawnGroup spawnGroup in this.GetSpawnGroups())
		{
			if (spawnGroup == null)
			{
				continue;
			}
			spawnGroup.Clear();
		}
		base.Invoke(new Action(this.RespawnGroups), 1f);
FS0y7ocaMOal3YI.jpg aimacak

Dont sure, but seems like we need just remove this string, respawn groups (shark on oilrig) works fine for me:

            public void OnPuzzleReset()
            {
                Clear();
                //DelayedSpawn();
            }

because it was replaced in game code:

before:

		foreach (SpawnGroup spawnGroup in GetSpawnGroups())
		{
			if (!(spawnGroup == null))
			{
				spawnGroup.Clear();
				spawnGroup.DelayedSpawn();
			}
		}

now:

		foreach (SpawnGroup spawnGroup in this.GetSpawnGroups())
		{
			if (spawnGroup == null)
			{
				continue;
			}
			spawnGroup.Clear();
		}
		base.Invoke(new Action(this.RespawnGroups), 1f);

Ive submitted a pull request with the correct fix, the plugin previously called `DelayedSpawn()`

public void DelayedSpawn()
{
    Invoke(Spawn, 1f);
}

 

The plugin called `DelayedSpawn()` here 

public void OnPuzzleReset()
{
    Clear();
    DelayedSpawn();
}

 

The correct fix is 

public void OnPuzzleReset()
{
    Clear();
    Invoke(Spawn, 1f);
}
fTN3ORXElRZoi8Q.png Mabel

Ive submitted a pull request with the correct fix, the plugin previously called `DelayedSpawn()`

public void DelayedSpawn()
{
    Invoke(Spawn, 1f);
}

 

The plugin called `DelayedSpawn()` here 

public void OnPuzzleReset()
{
    Clear();
    DelayedSpawn();
}

 

The correct fix is 

public void OnPuzzleReset()
{
    Clear();
    Invoke(Spawn, 1f);
}

Oh, sorry for my mistake, and thanks ;)