Devious Posted August 12, 2017 Share Posted August 12, 2017 Just replicated this issue on vanilla, here are the steps: - Build a mine on a claimable asteroid, doesn't matter which type. - Build the same type of mine in the same sector or elsewhere, doesn't matter. - When acknowledging the warning screen of the second mine it draws the money but doesn't build the mine. - When you jump out of the sector and back in, the old asteroid is still at its original position but in the center of the sector a glitched mine will spawn of the type you purchased, without any functionality besides being able to hire crew there. Here is a screenshot of the associated error: Link to comment Share on other sites More sharing options...
Hammelpilaw Posted August 15, 2017 Share Posted August 15, 2017 Sadly this still is not fixed... I reported it a week ago, also there are some much older topics about this issue. Building mines is an essential part of the game, and it does not work. Hoping for a little fix coming soon... Maybe some scripting could solve it? Thought about copy each new created mine and delete the original to avoid duplicated entities? Or is there any way to change entitiy ids? Link to comment Share on other sites More sharing options...
Laserzwei Posted August 16, 2017 Share Posted August 16, 2017 Are you guys sure to use the vanilla minefounder.lua? Because line 289 is a comment Edit: @Devious Your Modpack modifies minefounder.lua Edit2: I looked deeper into it and the changes from the modpack would not interfere for this particular bug. the interesting lines are probably: 283 desc.name = name 285 local station = Sector():createEntity(desc) The crash happens in line 285, but as we know from the bug description an Entity with the name of the supposed to spawn Mine already exists in the sector (the old mine). I'm doing an untested guess here: Sector():createEntity(), doesn't like creating 2 entities with the same name in the same sector!? Link to comment Share on other sites More sharing options...
Dirtyredz Posted August 16, 2017 Share Posted August 16, 2017 Meant to post this earlier sry: -- create station --[[local desc = StationDescriptor() desc.factionIndex = asteroid.factionIndex desc:setPlan(plan) desc.position = asteroid.position desc:addScript("data/scripts/entity/crewboard.lua") desc.name = ship.name ship.name = "" local station = Sector():createEntity(desc)]] local station = Sector():createStation(Faction(asteroid.factionIndex), plan, asteroid.position, "data/scripts/entity/crewboard.lua") if you cant tell every is commented out except for the last line. Link to comment Share on other sites More sharing options...
Hammelpilaw Posted August 16, 2017 Share Posted August 16, 2017 Are you guys sure to use the vanilla minefounder.lua? Yes I used a vanilla minefounder.lua: I completely uninstalled and downloaded Avorion to Avoid any issue with game files... it is always the same issue. I'm doing an untested guess here: Sector():createEntity(), doesn't like creating 2 entities with the same name in the same sector!? This issue also happens when you found the 2nd mine in another sector. Link to comment Share on other sites More sharing options...
DoorsMonster Posted August 16, 2017 Share Posted August 16, 2017 I use an unmodded avorion and I can confirm the tha same issue here. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now