Jump to content

Fog of war reset after a restart

Pending 3.0.7

Nubie
Nubie

Posted

Fog of war reset after a restart when a raidable base got raided on that area.

Hello!

Currently , I am having this issue that the fog of war reset for all players after a server restart.

We are currently running a hardcore mode and I manage to recreate the issue by raiding an easy base on a specific area then restarted my server. 

Please see my config if that helps. We only run 1 server restart a day and preferably we want this config to continue as it is there is an option to keep the raidable bases as it is until someone raids it or a server restart happens.

Regards,
Nivex
 

RaidableBases.json

nivex

Posted (edited)

I'll check it out. Don't see what RB has to do with hardcore or FOW though. I don't modify that.

Edited by nivex
nivex

Posted

I tested it on a freshly wiped map.

gamemode.set hardcore
(21:26:31) | Game created! type was : assets/prefabs/gamemodes/hardcore.prefab
(21:26:37) | server.fogofwar: "True"

-server.gamemode hardcore
-server.fogofwar true

I ran around the map, uncovering a bit of it, then raided 3 bases. I restarted afterwards, and fog of war was not reset.

nivex

Posted (edited)

Just tried this again, fog of war doesn't reset on restarts. The only way you can reset fog of war is by wiping your map, a plugin calling fogImages.Clear or OnFogOfWarStale, the game calling OnFogOfWarStale, or server.fogofwar not being set properly (see above). RB does not modify that.

image.png

image.png

 

image.png
 

Edited by nivex
Nubie

Posted

😯

Yes. That was my first thought as well. RB shouldnt be able to. By any chance, did you try using my config? Ill take a screenshot 

nivex

Posted

Yeah, 3 times 

I don't touch that code though so it's not RB

Nubie

Posted

I did a test with the default config and here is the picture of fog of war.

Initial fog
https://prnt.sc/CGXwMk7pyTIw

Raided a spawn easy base
https://prnt.sc/kAIsrNbmfpG-
https://prnt.sc/MfWPCPa2fAhc

The fog of war after I restarted the server (yes it did not affect anything because I was using default config)
https://prnt.sc/UMS5rX6azgpf


This was the result of the config I posted.

Initial fog of war
https://prnt.sc/2S_9POvBqa8N

Raided a spawn easy base
https://prnt.sc/d47ZBHsDhX6H
https://prnt.sc/ITHKrChDpagE

Restarted the server and the fog of war around that area got reset 
https://prnt.sc/Pk9tfKG8lvOa


it only affected the area where the Raidable base got raided. 

 

nivex

Posted

hi, that is strange. I've tested this 4 times the same way you have and the fog of war doesn't reset. this is something on your end.

Nubie

Posted

if you say so, but I can guarantee its from Raidable bases config.  I understand if you cant help.
Thanks Nivex

nivex

Posted (edited)

ya but if that were the case then it wouldve happened to me when i used your config. but fog didnt reset, and patches of fog didnt reset either. i tried but it must be something on your end

Edited by nivex
2m

Downloads

Total number of downloads.

9.4k

Customers

Total customers served.

137.5k

Files Sold

Total number of files sold.

2.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.