Stormworks: Build and Rescue

Stormworks: Build and Rescue

Independent Contractors (Personal Money System)
125 Comments
GCodeman  [author] 9 Aug @ 7:18pm 
@Burritomoutain I would try the !savegame command first. If that works, your autosave might not be setup correctly. If the !savegame command doesn't work, SW may have broke the mod again :/
Burritomoutain 8 Aug @ 2:21pm 
Whenever i restart my server the money resets back to the starting money is there a way to fix it
GCodeman  [author] 29 Nov, 2024 @ 2:45am 
@Sedrowow I'm perfectly fine with this, and thank you for crediting me! I started a v2 a while back, and made a lot of progress but a Stormworks update changed a lot of stuff and broke it, so I haven't had a lot of inspiration to work on either version lately.
Sedrowow 29 Nov, 2024 @ 2:42am 
I would just need to add you as contributor, if you want
Sedrowow 29 Nov, 2024 @ 2:41am 
Hey @GCodeman, i hope you dont mind. But ive fixed your code (its about vehicle groups and such) also i made some additions to it. https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3350589428
GCodeman  [author] 18 Oct, 2024 @ 4:52pm 
The UI update does not affect anything, I should add. The money still counts correctly, but you have to look at the map screen or use ?bank to see the correct amount of money until it fixes itself.
GCodeman  [author] 18 Oct, 2024 @ 4:51pm 
I may have a couple suggestions that may help. The UI bug does happen sometimes where the UI will stop updating until a restart. I'm not fully sure why that one happens and I've unsuccessfully attempted to patch it a few times. Usually it fixes after a fresh restart though. As for the commands not working, I have not had that happen. I know in the past sometimes reloading scripts would actually break things. I would recommend if it happens again, to just exit the server and rejoin without saving rather than reloading scripts. Hopefully this helps!
l0gunat0r 18 Oct, 2024 @ 4:47pm 
No there are no other triggers, im on vanilla. the bug only really happens 35% of the time but it is annoying WHEN it happens. i havnt had the bug trigger in a while so maybe it fixed itself. but you do have all of the settings correct. it is a dedicated server (i think, i really just hit multiplayer then host)
GCodeman  [author] 18 Oct, 2024 @ 4:42pm 
@l0gunat0r Apologies, I had not seen the notification for this comment. I'm having a hard time reproducing your error. Are you playing on a dedicated server or local? What playlists do you have enabled? Were there any config changes? Does it happen immediately or after a while? I just started a local server on career mode, with all vanilla playlists + Independent Contractors on FJ Warner as the starting island and could not find any issues.
l0gunat0r 6 Oct, 2024 @ 11:29am 
@GCodeman i would load a fresh new custom server at FJ warner docks, would turn off infinite resources and turn all the settings to campaign (i do this so i can have 3rd person) and the money counter would dissapear, no commands would work, and reloading scripts did nothing
GCodeman  [author] 29 Sep, 2024 @ 11:58am 
@l0gunat0r Make sure to use the ?savegame command at least once before closing the server for the first time. If this was not the case, please give more details as to when the script broke and what was happening.
l0gunat0r 29 Sep, 2024 @ 10:36am 
another issue i cant fix this time, none of the commands work and i have tried reloading scripts aswell. please fix
l0gunat0r 29 Sep, 2024 @ 10:24am 
i think i fixed it by not changing the island we spawn at
l0gunat0r 29 Sep, 2024 @ 10:20am 
new issue, 80% of the time when i load a new server the little UI in the top right doesnt pop up and i keep having to restart, please fix this
l0gunat0r 29 Sep, 2024 @ 10:20am 
i fixed this issue, i had infinite resources on
l0gunat0r 28 Sep, 2024 @ 10:21pm 
please update this mod, whenever i sell fish/crabs/lobsters nothing happens, i have put some money into the shared account already
GCodeman  [author] 13 Jul, 2024 @ 3:38pm 
@Arling Are you adding an amount after the ?deposit or ?claim commands? For instance, "?deposit 1000". If not, it appears to error out. I must have forgotten to add a message that tells you to enter a valid amount if you do not.
GCodeman  [author] 13 Jul, 2024 @ 3:34pm 
@WeZon I'm having a hard time replicating the issue, and I do not have a dedicated server at the moment. Did this issue happen with other islands as well, or with other people? Is there any way you could upload a video of it happening?
Arling 21 Jun, 2024 @ 12:31pm 
Trying use ?deposit (amount) or ?claim (amount) command in Custom Game don't cause any good result except of the notice in the logs: "753: attempt to compare number with nil". Can't find any useful FAQ regarding this bug, sorry.
WeZoN 2 May, 2024 @ 1:45pm 
Really sorry @GCodeman, i completely overlooked the response on this.
The one in question was North Harbor, so not really an island, but ye.
GCodeman  [author] 28 Apr, 2024 @ 1:40pm 
When you get it working, I'd love to check it out!
Kezrah 28 Apr, 2024 @ 12:12pm 
Thank you
GCodeman  [author] 28 Apr, 2024 @ 11:49am 
@Kezrah Of course! I'm perfectly happy with you using this addon as a dependency. I released this before they added the cross-compatibility script update, but I'm sure it won't be too hard to make them work together.
Kezrah 27 Apr, 2024 @ 5:41pm 
would it be hard to make my addon work with this one? and would you let me? i would not actually take code from this, just make this a required item for my addon if possible.
GCodeman  [author] 15 Mar, 2024 @ 7:08pm 
@WeZon Which island? I can take a look soon
WeZoN 13 Mar, 2024 @ 2:16pm 
We are running this on our server, but when i try to give spawn access to an island for one of the players it states he gets access, but he is not allowed to spawn anything. When i check islandaccess it shows his name on bench and teleport but not spawn.

i could not find any info on this issue. Any clue ?
GCodeman  [author] 3 Mar, 2024 @ 3:10pm 
I agree with that! The vanilla money system absolutely drives me nuts lol
vonknauss 3 Mar, 2024 @ 1:01pm 
Sounds great! The game really needs a better economy system both in mp and sp. It would mean a lot for many of us that likes this mod if you could finalize the V2 :)
GCodeman  [author] 2 Mar, 2024 @ 9:27pm 
@vonknauss I do have a v2 that is about 50% done, but it is not in a playable state yet sadly. I've been working on it on and off for the past year but haven't been playing much Stormworks lately. Whenever I do finish it, I'd love to see the server though!
vonknauss 2 Mar, 2024 @ 7:42pm 
So you're working on a new version? Would live to try running that on my server in case 😊
GCodeman  [author] 2 Mar, 2024 @ 4:49pm 
@vonknauss This version - no. I still occasionally come to back to do bugfixes when things break from new Stormworks updates though.
vonknauss 2 Mar, 2024 @ 9:43am 
@GCodeman are you still working on this?
GCodeman  [author] 5 Nov, 2023 @ 12:02am 
@PAPA KANOOSH I have a system in place to purchase islands with personal cash that works, but its in a non-finished rewrite version I haven't released yet. Also, the crates part is a strange bug that happens randomly that I haven't been able to figure out. If / when I get back into Stormworks in the future I'll finish my rewrite and release it. I am really glad you enjoy the mod though!
Kanoosh 4 Nov, 2023 @ 5:34pm 
When buying an island it takes from the shared account, would it be possible to make it individual eventually? Also when collecting some crates it just resets the shared account back to zero instead of adding the amount the crate was worth. Thank you so much, love the work!:steamthumbsup:
GCodeman  [author] 27 Oct, 2023 @ 3:56am 
@KagedDaemon Glad to help! Let me know if it works okay :)
KagedDaemon 26 Oct, 2023 @ 6:40pm 
thanks for getting back to me on this!! will definitely try that!
GCodeman  [author] 14 Oct, 2023 @ 4:50pm 
@KagedDaemon Whenever starting a new world, use ?savegame once. It'll say something about it not being a dedicated server, but it'll still save the variables correctly. Just make sure to use ?savegame once before you save it normally when in singleplayer.

Tested on custom mode, newest update, Industrial and Weapon DLC on, all playlists off aside from Independent Contractors
GCodeman  [author] 14 Oct, 2023 @ 4:44pm 
@KagedDaemon I haven't tried the mod since the new update, but I would try using the ?savegame command once upon starting a new world.
@LittleGroove I am glad they finally added the cross-script communication as well. In my beta version of IC2 I had it saving fuel and liquids but the numbers were a bit skewed for some reason; haven't quite figured it out yet. I haven't been playing much Stormworks lately however. Whenever I get back into it I may try to finish it.
LittleGroove 13 Oct, 2023 @ 2:37pm 
this update gave me a lot of problems lmfao

since my economy addon was soo bloated im actually going to start from the beginning again
build the systems and storage methods from the ground up again and re-use functions as needed

I had changed the island system so that it builds locations off of zones rather than the hard coding, and each location is then indexed by tile and location as the primary key

pretty much so much has changed for vehicles that yeah, im starting a new build lmfao

I was tracking fuel when a player spawned and despawned it at a workbench so yeah gotta fix that

I might even actually finally build a separate addon that actually holds all the player data in g_savedata since server.command is a thing, its useful af.

money could be one addon, and fuel is another addon finally lolol
KagedDaemon 10 Oct, 2023 @ 7:25pm 
I have an issue where, after I save and exit a solo world, when I load back in, the mod isnt running anymore.. any way to fix this? I am using a hard save for my exit but it still wont load back up
GCodeman  [author] 3 Jul, 2023 @ 8:15pm 
@Braxtonjeht That is normal. This is the way I got around the vanilla money system. The real money is the amount shown minus 1 billion. You can also see it on the UI or type ?bank for the correct amount. The shared bank will set to 0 when below 1 billion, and go back up to 1 billion when more money is added so that you can't have free fuel/resources.
[OP4S]Braxtonjeht 3 Jul, 2023 @ 3:23pm 
Hey there @GCodeman Quick question for you. i got the mod installed on a private server of mine and i have a issue where the the shared balance its like 1 Billion or something crazy high, is there a way to reduce that to like 10k or something reasonable?
GCodeman  [author] 30 Jun, 2023 @ 12:45am 
@=GonTar= Oh man that would be nice. Unfortunately, I live in the U.S. and I think Geometa is in the U.K. I'm really glad you like the mod though! The last few updates have broken some things and I haven't spent a lot of time on Stormworks lately but I think it's going to be nice working on this again soon.
GCodeman  [author] 30 Jun, 2023 @ 12:45am 
@oofbomb I'm glad to hear there are more servers running the mod! As for the additions:

-Income tax is already in the mod, but it doesn't actually go to any account but I can look into that.
-Respawn cost is already in the mod, you shouldn't get charged if you are revived.
-Vehicle spawns do already come from wallet. In the version I'm working on, the stored fluids should be auto-filled and auto-deposited as well.
-Faction bank accounts are on the to-do list, but will probably be released on a future update.
-Historical reporting is probably possible, haven't thought of it. I'll look into it.
-Fines are in the mod already in the form of income tax (you can set to negative), but the money just kinda disappears rather than going to any centralized account.
-Loans should already be in the mod, with configurable max loan size and other options.

I do appreciate the ideas! Now is a great time to be looking at new ideas while I'm still finishing up frameworks.
=GonTar= 28 Jun, 2023 @ 3:29pm 
Dude if you finish your Re-Work i'm sure you will get a job offer from the Devs at Geometa, you could literally show them the update and it's an insta win. :happy_creep::heart:

hope to see it when you put the final pieces together! :2018bestaward:
oofbomb 26 Jun, 2023 @ 10:00am 
Income tax (set by President, takes % of "Daily Income" to put into Government Bank)
Respawn cost (if you respawn rather than wait for revival, you are charged $XX,XXX)
Vehicle spawns come from wallet (cost of vehicles will be deducted from your bank account)
Faction bank accounts (factions can have a shared bank account that members can deposit/withdraw)
-- historical reporting? output logs of transactions?
Government Fines (INTERPOL/INTERCOURT can use a command to either forcefully remove or deduct daily an amount that will be deposited into Government Bank)
Loans (players can loan up to $X,XXX,XXX but will have to pay it back daily)


Some are already in the addon however others we are hoping to try and implement into your addon. Would it be possible?
oofbomb 26 Jun, 2023 @ 9:57am 
@GCodeman Thanks for your reply, whale runs a pretty active server and we're hoping to implement some additional features into your remake of the addon, do you think it would somewhat be possible to do so? I don't have the list upfront but I'll find it
GCodeman  [author] 26 Jun, 2023 @ 4:15am 
@oofbomb The coding of the features I have currently planned (which are mostly optimizations and reworks of what I have in this version) are about 75% completed and for the most part bug-tested, but I haven't done any multiplayer testing yet. One of my larger goals was public server networking improvement, as I've gotten reports that this version starts to bog down on higher population servers. The next few weeks are pretty busy for me but I'll try to work on it the weekend of July 7th. Assuming all goes well and the SW devs don't change any features that break the script (for the fourth time?), hopefully not too long.

@Kruzifix (GER) The addon should work fine in Career. It shouldn't override any respawn settings. I haven't tested SP Career but I'd assume any mods that allow respawning in Career should work with this addon.
oofbomb 25 Jun, 2023 @ 1:02pm 
Hey dude, love your addon. As whale said there have been bugs and all of that so I was hoping you'd give me some insight on an eta of when that rewrite could possibly come out?
Kruzifix [GER] 24 Jun, 2023 @ 4:07am 
Can you activate this addon in Career? Because you can't respawn there so the respawn is useless right?