Avorion

Avorion

Torpedo Production
 This topic has been pinned, so it's probably important
FloranFan24  [developer] 8 Apr, 2020 @ 3:46pm
Bug Reporting & Code Suggestions
Please report any bugs or glitches here. Also if you are a fellow modder and taken a look at the code feel free to give me any suggestions on things to change.
< >
Showing 1-15 of 18 comments
AdagioT 17 Apr, 2020 @ 8:09am 
Getting failures in the dedicated server console about not finding a player.

Other players in an alliance get messages when torpedoes are destroyed, but they get nil messages, not actually describing what happens.

Production sometimes says no resources found, even though there is plenty.
Zuppy 20 Apr, 2020 @ 3:41pm 
Also seeing a failure reported to the dedicated server console:


Object: N2cp13ServerScriptsE Execution Context (inner to outer): #0: update..<filepath removed for post>.....workshop\content\445220\2053583501\data/scripts/systems/torpedoproducer.lua Error calling invokeClientFunction: invalid argument 'nil' at stack position 1, expected 'Player' stack traceback: [C]:-1: in function invokeClientFunction ...5220\2053583501\data/scripts/systems/torpedoproducer.lua:64: in function ?


Recanem
Streaming live at https://www.twitch.tv/recanem if you want to see your mod in action =)




Last edited by Zuppy; 20 Apr, 2020 @ 3:42pm
FloranFan24  [developer] 23 Apr, 2020 @ 7:45am 
Originally posted by AdagioT:
Getting failures in the dedicated server console about not finding a player.

Other players in an alliance get messages when torpedoes are destroyed, but they get nil messages, not actually describing what happens.

Production sometimes says no resources found, even though there is plenty.


Originally posted by Zuppy:
Also seeing a failure reported to the dedicated server console:


Object: N2cp13ServerScriptsE Execution Context (inner to outer): #0: update..<filepath removed for post>.....workshop\content\445220\2053583501\data/scripts/systems/torpedoproducer.lua Error calling invokeClientFunction: invalid argument 'nil' at stack position 1, expected 'Player' stack traceback: [C]:-1: in function invokeClientFunction ...5220\2053583501\data/scripts/systems/torpedoproducer.lua:64: in function ?


Recanem
Streaming live at https://www.twitch.tv/recanem if you want to see your mod in action =)

@AdagioT & @Zuppy, I just released a hotfix that could have fixed the player not found problem potentially, but I do not play multiplayer, so please let me know if it worked or not. Likewise I also partially fixed the Waiting for more resources text but it does still pop up occasionally so I'm trying to find a better fix.

@AdagioT My mod does not and cannot effect the Torpedo destroyed message so you would need to send a bug report to Boxelware.

Thank you both for reporting these issues and please let me know if the player thing is still a problem
AdagioT 23 Apr, 2020 @ 1:35pm 
Got it, I'll test to see if that console message come up anymore. And I'll make sure to send a bug report over. Yeah, I didn't see anything in the code that should be affecting it. Suspect it's being treated as a fighter or some other craft for the alliance.
Zuppy 24 Apr, 2020 @ 6:13am 
Thanks for reviewing. Just restarted DED and still seeing the following output. will continue to provide feedback if it helps.

Object: N2cp13ServerScriptsE Execution Context (inner to outer): #0: remoteClientUpdate <DED Install Directory Removed>\workshop\content\445220\2053583501\data/scripts/systems/torpedoproducer.lua Error calling invokeClientFunction: invalid argument 'nil' at stack position 1, expected 'Player' stack traceback: [C]:-1: in function invokeClientFunction ...5220\2053583501\data/scripts/systems/torpedoproducer.lua:555: in function ?
AdagioT 24 Apr, 2020 @ 5:41pm 
No luck, seeing the same thing on multiplayer as Zuppy. Same exact messages
Uzkul 25 Apr, 2020 @ 12:16am 
And it appears with the new update that the blueprints you set are not saved on relog (you need to configure the torp production again each time) :)
Unknown User 25 Apr, 2020 @ 2:44am 
Getting

Error calling invokeClientFunction: invalid argument 'nil' at stack position 1, expected 'Player'

stack traceback:
[C]:-1: in function invokeClientFunction
...5220\2053583501\data/scripts/systems/torpedoproducer.lua:65: in function ?

Object: N2cp13ServerScriptsE
Execution Context (inner to outer):
#0: update C:\Users\Server\AppData\Roaming\Avorion\galaxies\InsertSientificName\workshop\content\445220\2053583501\data/scripts/systems/torpedoproducer.lua

Error calling invokeClientFunction: invalid argument 'nil' at stack position 1, expected 'Player'

stack traceback:
[C]:-1: in function invokeClientFunction
...5220\2053583501\data/scripts/systems/torpedoproducer.lua:65: in function ?

Object: N2cp13ServerScriptsE
Execution Context (inner to outer):
#0: update C:\Users\Server\AppData\Roaming\Avorion\galaxies\InsertSientificName\workshop\content\445220\2053583501\data/scripts/systems/torpedoproducer.lua

Error calling invokeClientFunction: invalid argument 'nil' at stack position 1, expected 'Player'

stack traceback:
[C]:-1: in function invokeClientFunction
...5220\2053583501\data/scripts/systems/torpedoproducer.lua:65: in function ?

In Console
Any Fixes for this?

This is also causing lag on the server only clearing after a server restart.
Last edited by Unknown User; 25 Apr, 2020 @ 2:45am
FloranFan24  [developer] 26 Apr, 2020 @ 4:09pm 
So I just released an update that should, to my knowledge, fix the issue although I still can't be 100% sure. Also @Uzkul this should also probably fix your problem as well although like I said before, I don't play mulitplayer so its harder to replicate the bug and know for sure. @AdagioT the resource message should now be fixed as well.
MadMax 30 May, 2020 @ 6:09am 
Could you please tell me what I have to change to make it work on a client with the actual beta?
On the server it works ( i guess ) when I disable the dependency check.
Client just throws an error initializing the mod.
EverNoob 12 Jul, 2020 @ 9:19am 
Is there an ETA for an update to work with the latest Avorion release? Thanks!
FloranFan24  [developer] 16 Jul, 2020 @ 7:36pm 
Originally posted by EverNoob:
Is there an ETA for an update to work with the latest Avorion release? Thanks!

Sorry for the radio silence, I've been very busy with my studies. I changed to modinfo so it should now be compatible with the most recent game version.
Drexl 17 Jul, 2020 @ 7:48am 
1. Torpedos are not getting destroyed when creating blueprints.
2. Only the first producer shows torpedo options. Other production tabs do not show any torpedos in the drop-down menu.
3. When shaft is full resources continue to be consumed while the producer attempts to make more torpedos but fails. This continues a few times until it stops.
[CF]Belu 5 Aug, 2020 @ 11:15am 
I may be playing with too many mods but it appears as though the blueprint is not being created at all. Not being consumed or producing properly.
c 7 Apr, 2021 @ 3:38pm 
torpedo blueprints are not saving it will be fine for a few days, i check back later and my torpedos are running low and the blueprint is gone.. at first it was only happening on the multiple producers, now it happens on the singles as well
< >
Showing 1-15 of 18 comments
Per page: 1530 50