Avorion

Avorion

Laserzwei's simple asteroid respawn mod
90 Comments
Bisonlot 27 May @ 9:02pm 
i think this clashes with the claimable resource asteroid station mod. :c
XSainth 6 Mar @ 8:47pm 
Still works. At least, I think so, since I left two mining ships at starter sector and they been digging iron for a couple hours now.

Oh, and asteroids sometimes pop into existence, so you theoretically can crash into them.
Brulikrax 29 Jan @ 5:53am 
@Lera, sub for it. If it is in red in the mod manager of the game, then report it for a required update. Otherwise, everything should work as intended.
Lera 29 Jan @ 5:31am 
Does this work?
Laserzwei  [author] 14 Jun, 2024 @ 10:33am 
The mod has been updated
RogueRaiden 13 Jun, 2024 @ 11:26am 
hello, needs its required game version set to 2.* please
Brulikrax 13 Jun, 2024 @ 8:19am 
TerryLM21, if the mod is in white, in the mod menu, then it does not need an update. Is it in red then?
TerryLM21 13 Jun, 2024 @ 5:34am 
avorion new Update 2.5.1, i think needed update
Brulikrax 18 Jan, 2024 @ 5:00am 
Can an update be done? Sometimes it works in 2.4.2 and sometimes it does not.
Ranami 30 Dec, 2023 @ 1:03pm 
Does this affect Claimable asteroids?
KelTuze 5 Dec, 2023 @ 8:31am 
Note that at the top right it says that the date of the last mod change is October 13, still
Laserzwei  [author] 5 Dec, 2023 @ 8:29am 
You have an old Version of my mod (from before 13th Oct.) make sure to redownload it
KelTuze 5 Dec, 2023 @ 8:27am 
I'm using "Dedicated Server"
KelTuze 5 Dec, 2023 @ 8:25am 
My server started. After I disabled both mods.
KelTuze 5 Dec, 2023 @ 8:24am 
2023-12-05 19-38-13| Server version, as listed publicly: 2.4.1.40926
2023-12-05 19-38-16| Server connected to Steam successfully
2023-12-05 19-38-16| Server is VAC Secure!
KelTuze 5 Dec, 2023 @ 8:24am 
2023-12-05 19-38-19| 1692998037 is problematic: Mod 'Laserzwei's simple asteroid respawn mod' [1692998037]'s base game requirement (0.23.* to 2.3.*) doesn't match version 2.4.1 of the game.
2023-12-05 19-38-19| 2227690793 is problematic: Mod 'Laserzwei's Asteroid respawning sectors notifier' [2227690793]'s base game requirement (0.23.* to 2.3.*) doesn't match version 2.4.1 of the game.
Laserzwei  [author] 5 Dec, 2023 @ 7:48am 
@KelTuze
Just tested it: It still works perfectly fine
You probably have other mods installed or using a mismatching Server Version
KelTuze 5 Dec, 2023 @ 6:42am 
servercrash - need update
Fixi Baumann 19 Nov, 2023 @ 5:14pm 
Hey Laserzwei your mods are rly awesom i used tons of them in my many playthroughs ty for keeping them updatet and continou the good work
Cobra 28 Jan, 2023 @ 2:40pm 
do i need to mine every asteroid for the respawn to happen or is it timed
RustyCMD 13 Dec, 2022 @ 10:34am 
Does this work on servers or how do i make it work i cant notice it working? does it need to be client side or server side?
Belarrius 25 Nov, 2022 @ 1:16pm 
How to make that when you join a server?
Belarrius 25 Nov, 2022 @ 1:15pm 
Oh, okay :o
Laserzwei  [author] 25 Nov, 2022 @ 7:31am 
Unsubscribe and resubscribe to the mod. Sometimes Steam doesn't properly update workshop mods.
Belarrius 24 Nov, 2022 @ 11:34am 
1692998037 is problematic: Mod 'Laserzwei's simple asteroid respawn mod' [1692998037]'s base game requirement (0.23.* to 2.2.*) doesn't match version 2.3 of the game.
Laserzwei  [author] 23 Nov, 2022 @ 8:04am 
It has already been updated since Nov. 8th.
Belarrius 23 Nov, 2022 @ 2:27am 
Hi, can you update for the v2.3 of Avorion? It's only for the check version, thanks~
Laserzwei  [author] 19 Aug, 2022 @ 3:48am 
@SurvivorBobXYZ @BacNang
I've found a solution for both of your 'sector'-related bugs
BacNang 18 Aug, 2022 @ 8:51am 
Hello, i got a problem with the "simple asteroid respawn mod" on our server, dont know if this is the right channel but this is what it says:

2022-08-18 11-32-16|C:\AvorionServer\avorion_galaxy\Mods\\1692998037\data/scripts/sector/background/respawnresourceasteroids.lua:23: attempt to index upvalue 'sector' (a nil value)2022-08-18 11-32-16| stack traceback:2022-08-18 11-32-16| C:\AvorionServer\avorion_galaxy\Mods\\1692998037\data/scripts/sector/background/respawnresourceasteroids.lua:23: in function 'updateVars'2022-08-18 11-32-16| C:\AvorionServer\avorion_galaxy\Mods\\1692998037\data/scripts/sector/background/respawnresourceasteroids.lua:12: in function <C:\AvorionServer\avorion_galaxy\Mods\\1692998037\data/scripts/sector/background/respawnresourceasteroids.lua:11>

Its on a newly created Galaxy and me and my friend are not very well versed in any of the game code so if there is anything we can do to fix this it would be nice
SurvivorBobXYZ 15 Aug, 2022 @ 5:55pm 
Thanks for having a look, and for continuing to support this mod! :steamthumbsup:
Laserzwei  [author] 15 Aug, 2022 @ 2:06am 
@SurvivorBobXYZ
The script should only be added to a Sector, hence it should always have Sector() available. If not, then it's either not added to Sector (but maybe to Galaxy or Entity -> which does not happen without manual intervention(!)), or there is a bug in Avorion.

I could replicate your second bug and added a retroactive fix to the mod. Those sectors with 0 respawning will get their current # of respawnable asteroids assigned, the second time it's loaded.
SurvivorBobXYZ 14 Aug, 2022 @ 9:57am 
Additionally, it seems like `RespawnResourceAsteroids.initialize()` can fire for a sector for the first time before that sector actually contains any asteroids. This causes the sector to be labeled as having 0 respawnable asteroids for all eternity, even after the sector's contents have been fully constructed.
SurvivorBobXYZ 13 Aug, 2022 @ 7:32am 
In data/scripts/sector/background/respawnresourceasteroids.lua the top-level definition `local sector = Sector()` appears to not (always?) be executing in a context where `Sector()` returns an actual sector. This causes tracebacks to be emitted to the apostrophe console and may be impeding script functionality.
Xinax 5 Aug, 2022 @ 10:59pm 
Is there a way, to see how many of the aseroids in the sector can respawn? Or how many resource asteroids are still in the sector left?
DURR 5 Aug, 2022 @ 6:02am 
This mod doesn't work with rifts for me from the newest DLC. It prevents anything from spawning in the rift once you enter it.
Orillien 15 Jul, 2022 @ 1:27pm 
update pls and it is working to add this in a running save game ?
robbert_vroege 6 Jul, 2022 @ 4:53pm 
i think its not working? does it need an update for 2.0.11?
Laserzwei  [author] 8 Apr, 2022 @ 6:41am 
yes
mattyloi 8 Apr, 2022 @ 12:10am 
like if i wait an hour insteal of half an hour will 20% of asteroids respawn instead of 10%
mattyloi 8 Apr, 2022 @ 12:09am 
will the asteroid respawn stack?
Laserzwei  [author] 7 Sep, 2021 @ 10:15pm 
Has been updated for 2.0 since August 1st
Leon 7 Sep, 2021 @ 5:03pm 
machst du noch update oder keine mehr
FuryoftheStars 16 Jul, 2021 @ 2:39pm 
Well, it people still feel as though this mod isn't working for them, I just uploaded a new version. Main difference is that the version I uploaded preserves the vanilla full sector respawn functionality.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2548240290
FuryoftheStars 2 Jul, 2021 @ 3:55pm 
@Shrmpins, then you’re either not noticing them or have another mod conflicting.
Shrimpins 2 Jul, 2021 @ 3:47pm 
No asteroids respawning using this mod.
FuryoftheStars 1 Jul, 2021 @ 3:37pm 
Oh, and should probably throw in here... this only works in certain sectors. Not all sectors with asteroids will respawn. Use the notifier mod linked above in the description to see which sectors will respawn vs not.
FuryoftheStars 1 Jul, 2021 @ 1:54pm 
As a modder myself, I've looked into and tested this mod.

*** Yes, it still works. ***

While there are a few things about it that seem like they may be outdated/quirky, it is working. Just keep in mind that it's supposed to wait 30 minutes and then only respawns ~10% of the resource asteroids at a time (which in the starting sector that has around 100, that's only 10 at most, but even then, it seems like it spawns less than that).

Additionally, it does destructively put these changes in, meaning that if another mod also touches the respawnresourceasteroids.lua file, they will conflict, and which ever one loads last will win.
XIII 14 Jun, 2021 @ 9:01am 
Is this mod working in anyway?
Erabior 30 May, 2021 @ 8:04pm 
im not seeing asteroids respawn
Leon 10 Apr, 2021 @ 4:06am 
brauch man für den mod irgent was damit er geht oder muss man im chat irgent was eingehen weil sind meistens 1 stunde im system aber passiert nichts wehre schon nicht schlecht wenn jedes system davon betroffen ist also das die astros neu kommen bitte infos weis noch beim alten muste man alts admin was reinschreiben in den chat ?!??