Tabletop Simulator

Tabletop Simulator

Star Trek - Ascendancy (Ultimate Edition)
VanderLydel May 13, 2020 @ 4:12pm
Bidding Menu Error
Hi,

First let me say that your mod is awesome! Thanks for all the effort that was put into it. I've been playing a game off an on for the past few weeks to learn the basics and it's been great. Unfortunately, when I loaded it up earlier this week I got the following error:

"Error in script (Game Panel - 9918bed) function <TurnOrderBidMenu>:chunk_3:(756,19-300):attempt to perform arithmetic on a nil value"

The Romulans currently have the bid menu up, but there is no "continue" button and when I try to bid resources I get the below error:

"Error in Script (Game Panel - 918bed) function <CultureBidPlus>: function is not a function and has no _call metamethod."

I'm not a very technical person at all, so any help you could provide to correct the issue would be greatly appreciated. Thanks!
< >
Showing 1-10 of 10 comments
DevKev  [developer] May 13, 2020 @ 7:52pm 
I'll look at this asap.
DevKev  [developer] May 13, 2020 @ 8:37pm 
Hmmm, I'm not able to replicate the error. The error states that the function is missing, but it isn't missing in my copy. If the script stalls, you can reset the script by using the Turn Control button on the settings panel. It can set the turn order and change the turn to the correct one. Bid manually, then set the turn order and start at turn #1. I'll delve some more to see what caused it.
VanderLydel May 14, 2020 @ 10:19am 
Thanks for the reply. I'll give your suggestion a whirl later tonight and let you know how it goes. I should mention that I recently moved where my TTS mods were saved. I have no idea if that could have caused the issue. That would be odd since everything was moved and everything else seems to be functioning normally. Anyway, I'll get back to you with the results later. Thanks again!
DevKev  [developer] May 14, 2020 @ 4:25pm 
The game script has become so complex that it could easily be a scenario I haven't encountered when testing. Any further details would help me try to recreate it. (round#, #players, Borg option, etc). The error reported above is basically saying that one of the bids was not a number, and the second error is saying the [+]Culture bid button was clicked, but it can't find the function that performs it.
VanderLydel May 14, 2020 @ 4:42pm 
The good news is resetting the script using the turn order menu as you suggested works and I was able to proceed with the game. The bad news is that the error reoccurred. I tried a couple of saves and restarts in various game states and the error seems to only occur when I load a game that was saved at the start of a bidding round. My next step will be to see if it is just this instance of the game that does this or if it happens if I create a new save file as well.

Currently I am playing 3 players with Romulan, Federation, and Klingon. The other race expansions are included (except Borg). There are no house rules or fan made content in the game.

No worries if you don't have a permanent fix. I can easily just avoid saving during bidding or use the turn order menu to reset the script as you said. Thank you again for taking the time to help.
VanderLydel May 14, 2020 @ 5:09pm 
I started a second game and saved it after starting the bid phase. After exiting the game and reloading that save the error occurred again.
DevKev  [developer] May 14, 2020 @ 9:00pm 
ah, ok, that actually makes sense. There are bid variables that get initiatized to zero. If the game loads in the middle of the bid, the step to init them to zero is skipped after reload. I think I can simulate and fix that. Thanks.
DevKev  [developer] May 15, 2020 @ 2:10am 
ok, i patched it. I'm able to save and reload during bidding without an error. The resource bidding values were not getting initialized after reload. The menu will check for nil and replace it with zero if encountered.
VanderLydel May 15, 2020 @ 9:02am 
Awesome! Thanks so much!
acemcgrudy Oct 5, 2022 @ 10:39pm 
This mod is amazing! I am having a similar issue after saving during the initiative stage, though. The game distributes the initiative cards correctly, but then stalls and does not move on to the first players turn.

Error message is as follows:

Error in Script (Global) function
<startLuaCorutine/PerformSteps>:
chunk_3:(7105,4-27): attempt to compare table with number

I wasn't able to find the Turn Order Button on the Settings panel to reset, though. I'm not sure where the Settings panel is, tbh. There is a Turns button under the Options button on TTS but clicking reset and swapping the order of the color orbs did nothing.

I suppose I should mention that the rule book has also disappeared. We are not sure when that happened.

I know it's been a couple years but I really hope you can help me out. I am pretty sure if I can't get this fixed by next weeks game night my friends will make us move on to a less fun game :(
< >
Showing 1-10 of 10 comments
Per page: 1530 50