Hi,
I was wondering if it was possible to just let the bases despawn naturally and potentially let people take them over?
I was using raidable bases to put a bunch of fake bases on the map to make it seem like the server is more lively than it is, this is important because its really hard to get a server started at the begining.
Anyway, the problem is that, if someone puts a tc down, and sets up, then the whole base around them despawns after an hour.
I get that there's concerns around this, like being too much help in the wipe, or getting things people arent supposed to get, but i can always just keep a close eye on what kind of bases spawn, and also have the plugin disabled for the first 12 hours of the wipe.
Disable the managed despawn
hi, this is not possible. the bases would despawn after a restart even if you increase how long they can remain on the map.
even if you could prevent despawning then the plugin would cease control of it. either way, I don't want to implement this when some people have despawn issues already.
what despawning issues are people having?
hmm, anyway you could make, or i could maybe pay you, to make a plugin that just, like, pastes bases from a list into the world, like x number every hour. I think you already have the code for this it's just about the effort of seperating it out.
Merged post
oh, thanks for answering, i appreciate you taking the time to reply.
that is planned yes
their bases do not despawn after a server restart. it's unknown why, but doesn't seem to be a bug with RB. I think it's an issue with the restart, or another plugin interfering. they fix it by unloading RB before restarts, which is why I think that.
wait, so if i schedule a command to load the raidable bases plugin, wait 1 hour, unload the plugin with another scheduled command, it will basically populate the server with the homes that will end up persistant? That's perfect!
Merged post
hmm im trying to disable arena walls, but its not in the config.
no, that's how the bug works. as I said what you want isn't possible, but is planned
Arena Walls is in the profiles, as is anything that isn't in the config. oxide/data/RaidableBases/Profiles
hey yeah,
i found the arena walls and the silent dome thing in the individual profiles.
I've been butchering the code trying to fork it to not despawn stuff.
and i got no clue what im doing
i tried
private void OnDestroy()
{
//Despawn();
int adssad=1;
}
public void Restart()
{
var sdadsadsa = "asdasddsa";
}
so i'm just trying to brick it from deleting structures,
and it still loads up,
does the loading
(20:24:31) | [RaidableBases] Grid initialization completed in 36 seconds and 517 milliseconds on a 4000 size map with 4097 potential points.
then the pasted bases mysteriously delete. So I guess i havent gotten to that line of code yet that does the deleting.
deleting is kinda pointless anyway because stuff decays anyway.
hi, modifying code risks breaking the plugin. there's much more involved than one might think. just set the plugin to not despawn until after a server restart/plugin reload.
"Wait To Start Despawn Timer When Base Takes Damage From Player": true,
"Maximum Water Depth For All Npcs": 3.0,
"Minutes Until Despawn After Looting (min: 1)": 1440,
"Minutes Until Despawn After Looting Resets When Damaged": false,
"Minutes Until Despawn After Inactive (0 = disabled)": 1440,
"Minutes Until Despawn After Inactive Resets When Damaged": true yeah i botched it pretty good, and it ended up always despawning on unload anyway.
oh so ur saying make despawning take so long that when the server daily restarts, it wouldnt despawn the base? Wouldn't the plugin loading, and unloading methods despawn the base anyway on the server restart? or are you saying the code will check if the despawn is due or not and wont despawn on unload because its not due for despawn.
hi, it will still despawn. I am saying it won't despawn until after a server restart or when you reload the plugin
damn, so if someone moves into the raided base, their base will despawn. Can I like fund you to add the no despawn feature? xd I could do like 80 bucks
well for all intents and purposes it is not their base to move into. it's an event.
It's in the works already though so when it is ready I will let you know.