Stormworks: Build and Rescue

Stormworks: Build and Rescue

Carsa's Commands v2 [EOL]
86 Comments
TornVolcano223 30 Aug @ 11:24pm 
There is a webarchive of the available commands (from 2022 that is) here;
https://web.archive.org/web/20220517035504/https://c2.carsakiller.com/cc-website/docs/commands
Typical 2 Jul @ 8:32am 
It's quite clear that the website was taken down, it's not a DDoS or a 503.
jack.person 1 Jul @ 6:25pm 
the website server could possibly be a DDoS Attack or a 503
theoshuff 28 Jan, 2024 @ 2:27am 
?ccHelp
?ccHelp 2
?ccHelp 3
?ccHelp 4
?ccHelp 5
{TAH} TheGdog 27 Jan, 2024 @ 4:59pm 
anyone got command list and a list of items?
{TAH} TheGdog 27 Jan, 2024 @ 4:57pm 
website down?
StarfleetPups 11 Jan, 2024 @ 3:24pm 
hey is there any way i could get the original file to see if i could make a new system? this mod was my go to when i needed it most specially when i had to use item commands for emergency
Typical 10 Jan, 2024 @ 6:04pm 
To clarify, if it's not been deleted, does anybody know?
Typical 10 Jan, 2024 @ 5:56pm 
Anyone have the info to use the GUI? I can't do it any other way since all documentation was deleted.
theoshuff 23 Dec, 2023 @ 5:16am 
How do i enable the companion in a dedicated server?
Frosty 27 Oct, 2023 @ 1:35pm 
what are the names of guns so i can spawn them in
carsakiller  [author] 25 Oct, 2023 @ 8:33am 
Thanks everyone for the support over the years! o7
carsakiller  [author] 17 Oct, 2023 @ 8:21am 
Thanks for listening to my ramblings. Cheers!
Austino Inc. 17 Oct, 2023 @ 2:42am 
Such a shame to hear. Sending my condolences. I can tell you care deeply about your project and I'm saddened to see it get spoilt with no guidance from the developers on what else to do.

Thanks for taking the time to correspond, much appreciated. Take care
carsakiller  [author] 16 Oct, 2023 @ 3:55pm 
I had got in the habit of not checking the patch notes, as listing the names of new functions with zero description is pretty useless - I mainly look through the in-game documentation for things I don't recognize. However, that does point out something odd; they removed the "filename" field from the return value of getVehicleData. This seems to me then that removing getVehicleName was NOT on accident (although undocumented) and there simply isn't supposed to be a way to get the names of vehicles now. This is concerning as it is really the only human-readable way to identify a vehicle.

Thanks for the heads up though, it's good to know. Not really sure what to do from here though - it sucks, it breaks things, but I can't do anything about it. The reality is; I haven't played Stormworks (other than to patch this) in a long time and this might just be the last nail in the coffin.
carsakiller  [author] 16 Oct, 2023 @ 3:55pm 
It is definitely frustrating. I created Carsa's Commands to fill in many of the features I felt were missing from the game - such as a reversible ban command. Now my options are to either tear out the vehicle related commands, or try to fix them with great effort.

Sometimes breaking API changes are unavoidable, but in this case I feel there were ways to at least reduce the damage. When I heard of the changes to the way vehicles are handled, I assumed they would keep the vehicle related API fairly untouched, so "vehicle groups" become "vehicles". I figured they would then add "bodies", which belong to vehicles and come with new functions for interacting with them. While not perfect still, it likely would have kept most of the API as-is.
Austino Inc. 16 Oct, 2023 @ 3:09pm 
@carsakiller

More than welcome. Just a shame to see such great community effort get destroyed by patches. Sometimes I think this is inevitable but seems to be bordering careless in this case?

Pardon me if I am teaching you to suck eggs. Not sure if you're invested in Stormworks to comb through the patch notes. Incase you might of missed it, there was a small Lua section towards the rear.

Addon Lua:

getVehicleData - added group_id, removed filename
getVehicleGroup
despawnVehicleGroup
setGroupPos
setGroupPosSafe
onGroupSpawn
spawnAddonComponent - split id data - object_id, group_id, vehicle_ids[]

getTileInventory and setTileInventory now support propellant

getAstroPos


Again, pardon me if this is super basic. I've never programmed before and I just did some surface level digging. (I.e seeing what folk were saying about it in the Discord.)

Take care, and again; thank you.
carsakiller  [author] 16 Oct, 2023 @ 12:47pm 
@Austino Inc. thanks for dropping by and checking it out! Hopefully getVehicleName() gets fixed and then I might just take a look at fixing things. I would hate to leave Carsa's Commands in this state, but I always knew a drastic API change like this could be the death of it :(
carsakiller  [author] 16 Oct, 2023 @ 12:38pm 
@theoshuff it is possible, but vehicle related things have been broken by the space update.
Austino Inc. 16 Oct, 2023 @ 2:20am 
@carsakiller

Gutted for you mate, sounds tricky - and I do not blame you at all for feeling that way. I get it.
Thanks for taking the time to write such a great suite of commands - wish I found this sooner. Cheers for getting back to us too.
theoshuff 15 Oct, 2023 @ 11:47pm 
Instead of command working for desperate vehicles, would it be possible for them to work on all of them?
So ?charge charges all vehicles spawned in
carsakiller  [author] 15 Oct, 2023 @ 8:47pm 
@Austino Inc., there appears there may be some sort of issue with permission not persisting between reloads. I would investigate further, but there are larger issues right now.

The removeVehicleOnLeave preference will not work as the devs have changed the API with the space update. The changes are pretty major, requiring fixes for nearly all interactions with vehicles. They even seem to have removed the server.getVehicleName function - I am assuming on accident. I would let them know, but I was banned from their Discord at some point.

This makes fixing things very difficult and I am wondering if it is worth the effort.
Austino Inc. 15 Oct, 2023 @ 3:24pm 
Hi all,
Apologies in advance if I am missing a trick here.
I have set the Owner ID in the script.lua file to my Steam64 ID to try and mitigate this issue.

My issue is that when players join the server, they are both auto-authed (intended behaviour) - however they are also given Admin rights too? I've done some digging but I cannot seem to find a solution to this problem.

Moreover, I have removeVehicleOnLeave set to true, and the server does not remove a players vehicle when they leave. Is this because everyone has admin rights?
carsakiller  [author] 14 Oct, 2023 @ 10:12pm 
@BrigadaKommissarDedov, the scripting API has been changed by the space update, breaking just about any addon that interacts with vehicles. I explain more on GitHub [github.com].

I am looking at patching Carsa's Commands - but this is very frustrating.
carsakiller  [author] 14 Oct, 2023 @ 10:07pm 
@epicgamerrusher, to do this, I would have to be able to intercept chat messages and re-announce them myself, which is not possible.
carsakiller  [author] 14 Oct, 2023 @ 10:05pm 
@TheNamesJosh_, you would have to port-forward at the dedicated server so that the companion is accessible from outside the network. See "allowing external access to companion" in the manual [c2.carsakiller.com].
epicgamerrusher 13 Oct, 2023 @ 11:27pm 
Do roles have prefixes? Example: In chat someone would say [ADMIN] EpicGamerRusher: Hello World!
BrigadaKommissarDedov 13 Oct, 2023 @ 8:42pm 
i cant see vehcile IDs when i put in the command. the console says theyre on but nothing on screen
TheNamesJosh_ 22 Sep, 2023 @ 1:32pm 
Asks for a game server executable path, using "?companionInfo" gives me
"you can view the companion at ? with token 5pqj" and I have used the ?setPref command to enable the companion.
TheNamesJosh_ 22 Sep, 2023 @ 1:18pm 
How do we use Carsa's Companion with a dedicated server like Low.MS? I have Carsa installed fine, but i use a hosting provider and not my personal PC
cccc 20 Aug, 2023 @ 10:01am 
tremendously underrated. incredible work on this
carsakiller  [author] 22 Apr, 2023 @ 9:04am 
Hello,

Players do not have their own money. The money is the same server-side money found normally in Stormworks.

Yes, setting something to not be editable will prevent all players from taking it to the workbench. Unfortunately there is no way to allow specific players to still edit something, it is all or nothing.

?giveRole should not allow an admin to make someone an owner as far as I remember.
I SWEAR SHE WAS 18 21 Apr, 2023 @ 6:04am 
A few questions for you in regard to the mod.

Firstly, I note their is money commands, by that am I to assume players have their own separate money?

Secondly, what does set editable do, as in it allows it to be edited from the workbench? And does this allow only the owner to edit it, or everyone?

Thirdly in regard to ?giveRole. Does this command allow a lower rank to add themselves or someone else to a higher rank? For example does it allow an admin to add themselves or somebody else as an owner?
angriff 29 Jan, 2023 @ 6:57am 
Nevermind I can edit the scipt to false for the player thanks
angriff 29 Jan, 2023 @ 6:42am 
Is there a way to set it up without and player commands wiithout going one by one through the command to strip? That way you can add the ones that do not conflict with the theme of a server. This has some nice features I was looking to add so now I dont have to struggle with my novice Lua skills thanks.
carsakiller  [author] 15 Dec, 2022 @ 5:42pm 
@theoshuff There is already a ?ccHelp command that displays all of the commands in game. Equipment ids can be viewed with ?equipmentIDs or ?eids for short.

You can use https://c2.carsakiller.com/cc-website/docs/commands to view a list of all of the commands.
carsakiller  [author] 15 Dec, 2022 @ 5:39pm 
@SirShanova The API provided by the devs does allow spawning of animals like "shark" (not sure if it is a megalodon), "whale", and "kraken". However, there is no command as of right now that allows the player to spawn animals.
carsakiller  [author] 15 Dec, 2022 @ 5:37pm 
@JoPro just pushed my fix! Enjoy!
jovan 12 Dec, 2022 @ 4:37am 
Hi, the newest stormworks update updated the amount of small equipment slots, and aswell outfits wont "place" on people while using the ?equip command. Could you please fix this? Thanks :)
SirShanova 11 Dec, 2022 @ 1:41pm 
Are we able to spawn megalodons and krakens? I've seen some back on forth on spawning and Carsa's Commands and am not sure the current status.
theoshuff 9 Dec, 2022 @ 1:39pm 
Can there be a way to displays the commands in chat easily
and a way to view the equipment ids in the games chat again like in V1
carsakiller  [author] 1 Nov, 2022 @ 9:30pm 
@theoshuff The GitHub page is very much still there and accessible to the public. That is odd
carsakiller  [author] 1 Nov, 2022 @ 9:30pm 
@clevercole98 I can open an issue for it on the GitHub page. I don't have a lot of spare time right now to work on the feature but I will hopefully be able to get to it soon
theoshuff 22 Oct, 2022 @ 11:04am 
Has the GitHub been deleted?
clevercole98 19 Oct, 2022 @ 4:49pm 
carsakiller, could you have an option to auto admin people, even though most people wouldn't use it, I would, just set it as default off so those who would use it like myself can.
Drift_91 19 Sep, 2022 @ 2:41am 
Is anyone else having issues with '?setPref' not persisting when saving and reloading and then doing '?preferences' ?
carsakiller  [author] 24 Aug, 2022 @ 8:16am 
v2.0.1 is out now! Hopefully this has fixed all the issues with g_savedata. If there are any more issues, please open an issue on GitHub [github.com].
carsakiller  [author] 23 Aug, 2022 @ 9:07pm 
Thanks a bunch for creating an issue on GitHub, I believe the issue you are experiencing has been fixed by pull request #78 [github.com]. This should be pushed out as 2.0.1 soon. Thanks for the help!
theoshuff 17 Aug, 2022 @ 6:45am 
When i tried connecting carsas companion i get this