Avorion

Avorion

Elongated Turret Factory
Bugs and problems
I´m just gonna leave these here:

#0: TurretFactory.onTurretTypeSelect data/scripts/entity/merchants/turretfactory.lua

could not execute function 'TurretFactory.onTurretTypeSelect' in '"data/scripts/entity/merchants/turretfactory.lua"':

C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:757: wrong number of arguments to 'insert'
stack traceback:
[C]: in function 'insert'
C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:757: in function 'getTooltipLines'
C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:315: in function 'refreshUI'
data/scripts/entity/merchants/turretfactory.lua:632: in function 'onTurretTypeSelect_old'
C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:426: in function <C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:423>


and


Execution Context (inner to outer):
#0: TurretFactory.onSeedNext data/scripts/entity/merchants/turretfactory.lua

could not execute function 'TurretFactory.onSeedNext' in '"data/scripts/entity/merchants/turretfactory.lua"':

C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:378: attempt to index field '?' (a nil value)
stack traceback:
C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:378: in function 'onSeedTextBox'
C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:398: in function <C:\Program Files (x86)\Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua:396>

Had to open a discussion to post these. I will try a complete reinstall of the game(already tried new save and mod reinstall) when I get the time, the mod is completely broken for me now.
< >
Showing 1-11 of 11 comments
Bubbet!  [developer] 9 Sep, 2019 @ 12:01pm 
Do you think you could send me this file? "Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua" I want to make sure its the same, as mine shouldnt be giving that error.
Jack The Flipper 10 Sep, 2019 @ 2:52am 
i uploaded it to google drive: https://drive.google.com/open?id=1_e76N3mp6fD6MCn6pvxM4NQXKXluBCVZ

I have already reinstalled the mod and the entire game and it didnt help.
Bubbet!  [developer] 10 Sep, 2019 @ 3:33pm 
Have you tried it on the beta? I developed this in 0.26.x so it works best there.
Jack The Flipper 11 Sep, 2019 @ 3:45am 
That did it! Works fine on the beta, maybe that should be in the mod description.
Jack The Flipper 11 Sep, 2019 @ 3:54am 
I found my original issue again too, it seems like the detailed turret tooltips mod screws with this one causing the seeds to change randomly.
Bubbet!  [developer] 11 Sep, 2019 @ 5:50am 
It should work on 0.25.x i added a specific function to handle that. Infact that function is the one erroring for you which is why i suggested 0.26.x It worked fine on 0.25 for me, and your error shouldnt be happening.
Bubbet!  [developer] 11 Sep, 2019 @ 5:51am 
I also tested with the detailed turret tooltips mod and everything was playing fine there too.
Jack The Flipper 11 Sep, 2019 @ 10:59am 
strange, i just tested with the tooltips again and it seems i am getting 3 different sets of seeds on the same factory(5 seeds bought). I connect for the first time and the best cannon has 160000 rawDPS, reconnect and its 230k, reconnect again and its 190k and stays there with further reconnecting. I just tried building some turrets in a different save and some seeds refuse to build turrets always giving this error in the log: "Entity with index eb82bec4-2104-4716-a0fa-ee354607c0e3 has no script with index '3'." (its always index 3). Are you really not getting any of these issues during testing?
Bubbet!  [developer] 11 Sep, 2019 @ 11:09am 
Im working on solving a different issue someone has reported that might be similar or causing the same problems you're experiencing.
aidenholmeswh 21 Jan, 2020 @ 5:11pm 
Originally posted by Bubbet!:
Do you think you could send me this file? "Steam\steamapps\workshop\content\445220\1792861870\data/scripts/entity/merchants/turretfactory.lua" I want to make sure its the same, as mine shouldnt be giving that error.

For some reason i cannot comment on the mod, so going off topic, is possible to make a torpedo factory with the same ui that this mod and your upgrade factory?
Bubbet!  [developer] 21 Jan, 2020 @ 5:38pm 
I'll add it to the list, but i've got a couple of other projects to complete first.
< >
Showing 1-11 of 11 comments
Per page: 1530 50