-
September 6th, 2025, 20:28 #341
I have found that the PC's ship can successfully deal damage, but that it's not consistent. I can confirm for NPC ships, that when a weapon's [damage] button is hovered over the pop-up displays "Damage:0".
Is it possible the 1E ship sheet is also reading the 2E fields for ship weapons? I'm firing a Disruptor Bank from a Romulan BoP and the fields I have for that item/weapon are: Category=Ship Weapon; Type=Energy; Delivery Damage=+1; Power=1; Range=Medium; Dmg.Effects=Vicious; Wpn.Qualities=""; Cost=""; Weight=0; Version=1E.Last edited by kronovan; September 6th, 2025 at 20:42.
-
September 6th, 2025, 22:30 #342
Something else...regarding NPC ships in the Combat Tracker for STA 1E
I'm sometimes getting a script error in the Combat Tracker when I attempt a roll for a ship action for Crew > Actions:
"Script Excecution Error: [string..."rek Adventures 2d20:...ger.action.task.lua"]:224:attempt to index field '?' (a nil value)"
It's occuring for the following crew role's actions:
Commanding Officer - all actions
Communications - Intercept action
Helm - Impulse action
Internal Systems Control & Main Engineering - Damage Control action, Power Management action
Science Labs - Launch Probe action
Security Oversight - Deploy Security action
You'll notice that if you select those actions that no System or Department text is displayed to the right.
Line 224 of that script involves making this assignment: local sSys = DataCommon.systems[sSystem].abv
I'M guessing though that the error is actually starting in line 222 though where this assignment results in a nil value: local sSystem = w.system.getValue();
The assignment on line 223 is probably getting a nil too: local sDepartment = w.department.getValue();
Haven't got a clue why the task action script isn't getting those values.
A GM can of course roll from the NPC Ship sheet, but I find that awkward as you're actually rolling for the Assist. And for those rolls, the chat display doesn't list the attribute that the NPC TN is based upon.Last edited by kronovan; September 6th, 2025 at 22:34.
-
September 6th, 2025, 23:01 #343
Pushed a fix for the errors when attempting crew actions
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
September 7th, 2025, 01:12 #344
Thank you - got it & tested it.
I should have mentioned this in my last post, but "Passenger" should be omitted from the Crew roles drop down, as Passenger isn't a crew role in the core rules. And I can't recall any other STA supplement, guide or book where it is either.
Much more important though - when you select Passengers from the roles drop-down, it produces the error:
"Handler Excecution Error: [string..."rek Adventures 2d20:...ts/manager_char.lua"]:233:bad argument #1 to 'pairs' (table expected, got nil)"
Once you get that error, none of the actions selected for any crew role work - i.e. selected actions don't display in the Actions box and no text for Attributes, Disciplines, Departments or Systems is displayed on the right. Worst of all, I have to /reload the ruleset to get them to work again!
Attempting to roll Science Labs > Launch Probe causes the following script error:
"Script Excecution Error: [string..."rek Adventures 2d20:...ger.action.task.lua"]:155:attempt to index field '?' (a nil value)"
Science Stations (Scence Labs)is an odd role as it's not one of the mandatory Bridge stations. If I'm correctly reading what line 155 is in the script, it looks like it's trying to assign an attribute value. Whereas the other 2 Actions selectable for Science Labs both reference a Department and System.
Rolling Helm > Impulse also produces the script error:
"Script Excecution Error: [string..."rek Adventures 2d20:...ger.action.task.lua"]:155:attempt to index field '?' (a nil value)"
All the other rolls are working. As to whether the correct system+department, attribute+discipline and difficulty level are being used; haven't confirmed, as I can't remember them off the top of my head and it's a heckuva CRB read to confirm them.
I will eventualy check each one though.
[Edit] Is there a single LUA or XML where those system+department, attribute+discipline values and difficulties are being read from? Having that would make it easier to compare againg the rules.Last edited by kronovan; September 7th, 2025 at 01:20.
-
September 7th, 2025, 06:14 #345
There is some liberties done to ensure proper functionality. The passenger role is used as the empty role, but ensures the actor is connected with the ship. Yes, there isn't a passenger station, but it's used by the ruleset for automation purposes. As for launch probe it's a non-roll action. For actions like that it wasn't supposed to show a roll button. The reason it's throwing errors is that there isn't a attribute, discipline, system, or department part of the roll. I have updated it to hide the roll button.
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
September 8th, 2025, 01:34 #346
Screenshot 2025-09-08 011547.jpg
Is it expected that during combat the difficulty buttons still function? They work for task rolls, but not in combat. Not sure if this is a bug or I have to work around. Thanks. 1e.
-
September 8th, 2025, 03:41 #347
Thanks for those fixes superteddy. Crew stations in CT are all working correctly now.
Fair enough. And I can think of some ways a GM might run the Combat Tracker, where being able to select the Passenger station could be desirable.
That makes sense. And I do recall it being an unsual Sensor Ops task, in that it isn't a 0 difficutly task and doesn't have a Ship assist roll.As for launch probe it's a non-roll action. For actions like that it wasn't supposed to show a roll button. The reason it's throwing errors is that there isn't a attribute, discipline, system, or department part of the roll. I have updated it to hide the roll button.
Getting back to ships not dealing damage. After digging deeper into it, I noticed that the only ships I have that display the correct damage when I hover over the damage button, and that correctly roll damage, are those from the 'Deep Space Nine Player Characters' group. So I unlocked that group's U.S.S. Defiant and the Shuttlecraft (Armed) from the 'Shuttles and Runabouts' group, and compared the fields. It's then that I noticed the problem - the damage field is a manual entry field and of the DLC I own, only the ships from the 'Deep Space Nine Player Characters' group have a value present.
This is a screenshot of the USS Defiant's Phaser Array showing the correct value (Scale 3+Security 5=8) entered.
USS-Defiant_PhaserArray.jpg
This is a screenshot of the Armed Shuttlecraft Phaser Banks showing the value missing.
Armed-Shuttle_PhaserBank_empty.jpg
This is a screenshot of the Armed Shuttelcraft with corrected value (Scale 1+Security 1+Banks delivery type 1=3). Which now displays and rolls the correct damage.
Armed-Shuttle_PhaserBank_corrected.jpg
Anyhow...not too big deal for a GM to manually enter the value, as long as they know the correct damage formula. I can't think of anyting that lowers the damage/stress dealt by a weapon (when breached they just can't be used, have a sliding difficulty to operate, or are disabled with a sliding difficulty to repair them), so it would be ideal if that field was auto-populated.Last edited by kronovan; September 8th, 2025 at 05:00.
-
September 8th, 2025, 06:53 #348Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
September 8th, 2025, 17:33 #349
-
September 9th, 2025, 20:54 #350
Strar Trek Adventures 1E
Targeting ships by [Ctrl]+Left Clicking a ship token within a map is not working. The only way to target them is within the Combat Tracker.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


Reply With Quote

Bookmarks