Since the update I got this error : No overload for method `GetWaterDepth' takes `1' arguments.
I'll try to find the solution, but help would be great.
If I find the solution I will post it here.
Since the update I got this error : No overload for method `GetWaterDepth' takes `1' arguments.
I'll try to find the solution, but help would be great.
If I find the solution I will post it here.
I found a way, but I'm not sure if the plugin will work properly. But, I don't have any error.
In the .cs file;
Line 335 I've hide || IsInOcean(position)
if (AntiHack.TestInsideTerrain(position) || IsInObject(position) /**|| IsInOcean(position)**/) if (AntiHack.TestInsideTerrain(position) || IsInObject(position) || /**IsInOcean(position) ||**/ Vector3.Distance(playerPos, position) < _spawnConfig.minDistance)
/**private bool IsInOcean(Vector3 position)
{
return WaterLevel.GetWaterDepth(position) > 0.25f;
}**/Was easier to make line 399
return WaterLevel.GetWaterDepth(position, true, false) > 0.25f; i got this error while compiling: NightZombies.cs(401,35): error CS1501: No overload for method GetWaterDepth' takes 1' argument
Rolesmith
i got this error while compiling: NightZombies.cs(401,35): error CS1501: No overload for method GetWaterDepth' takes 1' argument
Same. Getting a similar error in other plugins as well. This update broke some plugins with that Abyss crap.
So do this fix works?
Yes, thanks to Danh In notepad+ line 399 (enter as below) return WaterLevel.GetWaterDepth(position, true, false) > 0.25f; This wasn't solved by me, it was Danh who really helped
Still can't see zombies to spawn near me... My old config is the same just plugin compiles... I will see more.
Does it compile. I can't tell as I having Internet issues
Yeah it compiles but not sure if it's working properly.
Ya, that's what others have said too
Working for me. the zombies come out at night and run towards me and they vanish at daybreak
Sorry for the wait, this should be fixed now.
Detilly
I found a way, but I'm not sure if the plugin will work properly. But, I don't have any error.
In the .cs file;
Line 335 I've hide || IsInOcean(position)
if (AntiHack.TestInsideTerrain(position) || IsInObject(position) /**|| IsInOcean(position)**/)Line 370 I've hide IsInOcean(position) ||if (AntiHack.TestInsideTerrain(position) || IsInObject(position) || /**IsInOcean(position) ||**/ Vector3.Distance(playerPos, position) < _spawnConfig.minDistance)
And lines 397 to 400 I've hide everything/**private bool IsInOcean(Vector3 position) { return WaterLevel.GetWaterDepth(position) > 0.25f; }**/
I would not recommend just commenting out code like that. Yes you solve the compile issue, but then it becomes possible for zombies to spawn in the ocean.
0x89A
I would not recommend just commenting out code like that. Yes you solve the compile issue, but then it becomes possible for zombies to spawn in the ocean.
Yes, I know. That's the only fix I've found quick. There was not that much of zombies, but I saw some.
Thanks for the update (and the plugin, of course).