Stormworks: Build and Rescue

Stormworks: Build and Rescue

Super Package Package
댓글 148
Mechanos 2024년 6월 4일 오후 2시 39분 
-Continued- Also, kinda weird that the SPP commands notify chat on player join, and can be ran by anyone, instead of only admins. I changed our copy to be admin only, and only notify the specific player that joined, instead of the entire server for every player. We also tweaked both vanilla transport missions, and this mod's missions, to pay more for distance (transport_distance / 3). As the default values really aren't worth spending the time and fuel, IMO.
Mechanos 2024년 6월 4일 오후 2시 38분 
Neat idea, but the mod seems to be very broken. We've thoroughly tested it on our server. Spots on the map spawn, and initial packages spawn. But the deletePackage() function tries to use table.insert(), which randomly errors out with an out of bounds error, and stops packages from ever despawning/respawning. Without looking too deeply into it, I tried to fix this myself by replacing that line with

g_savedata.g_global_packages[item_index] = cargo_package_object

and this does stop the error, and packages properly despawn, but they never respawn. I'm guessing because.. your other code is expecting the index to grow from table.insert or something, so simply setting the variable wasn't enough. *shrug* not sure. A fix would be welcome, as we do like the idea of more delivery options, besides just giant boxes.
CommanderMartin  [작성자] 2024년 3월 10일 오후 7시 41분 
I'll try to do a bit more research later this week and see if anything else looks suspicious.
CommanderMartin  [작성자] 2024년 3월 10일 오후 7시 39분 
Yeah, that is kind of the issue. It's hard to find things that may only crop up after long playtimes. The update I released today added a small fix for where I think it might be occurring.
Gariot 2024년 3월 10일 오전 11시 01분 
Oh, let me add that i played for a long time on this save, so it might be even a long term problem thats hard to catch.
Gariot 2024년 3월 10일 오전 10시 13분 
Hmm, i didnt noticed an error. I will try the command the next time, thank you. But i have no disasters active, thats why i was surprised to realize that there are no packages. I have no idea for how long there are no packages, i am pretty good at ignoring them in the beginning of my games lol
CommanderMartin  [작성자] 2024년 3월 10일 오전 6시 35분 
@Gariot Are you getting any errors? You can try using ?SPPResetPackages if they have been maybe blown away from a disaster
Gariot 2024년 1월 27일 오후 4시 23분 
Its been a while since i saw a package. Is something wrong? In the beginning i saw packages everywhere, but now they are all gone.
Sqirt 2023년 12월 7일 오전 2시 19분 
Would it be possible to add an approximate GPS location to the delivery description? I find myself looking all over the map to find where items are supposed to go as there are a large number of delivery points
CommanderMartin  [작성자] 2023년 11월 21일 오후 4시 53분 
Certainly not, everything that is spawned by this addon are things that the player can pick up. Are you using any other addons? I have no idea how it could be spawning ships.
AtomD5 2023년 10월 1일 오전 5시 10분 
Is it normal for ships spawn as packages? I'm having problems with ships spawning at Keh Storage Facility
CommanderMartin  [작성자] 2023년 9월 9일 오후 4시 12분 
@ae86 I finally found the issue! It was absolutely tiny. Hopefully that should improve the experience!
ae86 2023년 7월 9일 오전 5시 14분 
Something like 40-50, i just use a small van so probably like 10-15 hours
CommanderMartin  [작성자] 2023년 7월 8일 오후 12시 38분 
If you dont mind answering a question or two, how long have you played with the save you are experiencing the issues on, or rather, how many packages do you think you have delivered?
CommanderMartin  [작성자] 2023년 7월 8일 오후 12시 19분 
I can look into that; is there a specific location where you are having problems?
ae86 2023년 7월 8일 오전 5시 26분 
I mean like an actual area thats painted on the ground because i keep needing to use the manual delivery command because the automatic delivery doesnt register the package as being delivered
CommanderMartin  [작성자] 2023년 7월 8일 오전 5시 22분 
There are indicators on the map for the location of delivery location as well as the poles with the logo on them. The latter are always on a corner or edge of the delivery area. Are you suggesting something else?
ae86 2023년 6월 25일 오전 10시 09분 
One suggestion that i have would be to add a marker for the delivery locations as i always find myself struggling to find where exactly to leave the package
CommanderMartin  [작성자] 2023년 5월 6일 오후 2시 44분 
It should be compatible with the default cargo system, though I don't know about GOM. There is no reason why it necessarily shouldn't though. Are you getting any errors in the chat?
skeeter80 2023년 5월 6일 오후 12시 46분 
Im having problems with it not spawning in more cargo and im not sure why. I do have default cargo system and the GOM cargo addon.
xXPinkFloyd92Xx 2023년 4월 3일 오후 5시 40분 
@commander thank you for the response, I will check to see that other islands are deliverable. Again, the mod is a amazing and I love using it. Thanks a bunch!
CommanderMartin  [작성자] 2023년 4월 3일 오전 7시 37분 
@Dragai Yes, those are meant to be a bit harder to find. The signs are fallen over on some of the hidden islands.
CommanderMartin  [작성자] 2023년 4월 3일 오전 7시 36분 
@xXPinkFloyd92Xx It might be because of the recent update to the script, though I doubt it. Are others working correctly?

?SPPResetPackages should reset the packages' location
xXPinkFloyd92Xx 2023년 4월 3일 오전 7시 33분 
Is there a command to "reset all packages"? The natural disasters have all but destroyed the packages I have a bunch in the ocean and all over mainland in different places. lol
Dragai 2023년 4월 2일 오전 9시 41분 
when it tells me to take something to an unhabited island does it just mean those random islands that are on the world that dont have any names on them or landmarks cause i couldve sworn i took one to one of them before and i got no reward

oh and also can we get more research points for normal packages cus its rlly hard to get them in classic mode
xXPinkFloyd92Xx 2023년 3월 31일 오전 9시 52분 
@CommanderMartin having anohter issue but this time with "Mainland Airport" Dreimor. When I bring a package there that has 200 minutes left to expire it won't let me deliver. I used ?SPPDeliver but it does not work. Any Ideas. loving this mod btw it adds so much life to the game. thank you for all you do!
xXPinkFloyd92Xx 2023년 3월 17일 오후 3시 08분 
?SPPDeliver worked.

I did try walking to the gap between the buildings abut could not get it to trip.

Thank you and I really like the mod it is a must have!
xXPinkFloyd92Xx 2023년 3월 17일 오후 3시 06분 
Checking
CommanderMartin  [작성자] 2023년 3월 17일 오후 2시 49분 
@xXPingFloyd92Xx Just to double check, go a little past the sign towards the gap inbetween the hangar and the small building at Tijan and let me know if it still does not succeed.
CommanderMartin  [작성자] 2023년 3월 17일 오후 1시 25분 
@xXPingFloyd92Xx You can try ?SPPDeliver. Does the package say it is expired?
xXPinkFloyd92Xx 2023년 3월 17일 오후 12시 25분 
Is there a command to force a delivery? I have a package for Tijan Airbase and I have it delivered at the sign. It normally triggers the payout but this time it did not. Any Ideas @CommanderMartin
?
CommanderMartin  [작성자] 2023년 3월 10일 오후 3시 58분 
When I get where I can do an edit, is there a way I could get your save game for testing?
Nemirel 2023년 3월 9일 오후 10시 59분 
I've already applied that fix in a local copy but there seems to be more issues, I think the saved package count sometimes gets out of sync with the amount of packages currently saved, which causes an out of bound error, after a bit of fenageling I was able to make it more stable, but I had to remove the partitioning and do the entire update every tick. Also did some minor improvements such as giving research points. This version works decently for now but awaiting an official update.
CommanderMartin  [작성자] 2023년 3월 9일 오후 4시 18분 
Hey @Nemirel, I went and looked and yes there is an error on that line. An extra statement was added to the end of the string and that is what is causing the issue. I'm not at my workstation now or for a while unfortunately, so I'm not confident in doing an upload without the master copy on my main system or a backup copy for that matter. In the meantime, here is how to correct it yourself:

Open the script.lua file for this addon, search for:

table.remove(g_savedata.g_global_packages.remove, index)

and remove the extra .remove inside the parenthesis. The corrected line should be:

table.remove(g_savedata.g_global_packages, index)

I believe this should fix the issue. Sorry again for not being able to upload the fix myself; I'll get this sorted as soon as I can get back to my workstation.
Nemirel 2023년 3월 6일 오후 9시 43분 
I'm having frequent errors saying "550: bad argument #1 to 'remove' (table expected, got nil)". I think it's something about when a package expires and the script tries to remove it.
Gatete56 2023년 3월 4일 오전 9시 06분 
im found some to improve, when a tsunami ocurred, the packages fly away and i cant found them, i think to put a command to reset the locations of the packages
CommanderMartin  [작성자] 2023년 1월 12일 오후 6시 32분 
Yes
Malaras 2023년 1월 12일 오후 6시 21분 
Thanks for reply, just to verify anywhere around the sign?
CommanderMartin  [작성자] 2023년 1월 12일 오후 6시 10분 
Yes, that is what you need to do. No to the second question, it works completely separately.
Malaras 2023년 1월 11일 오후 10시 49분 
Hello, How does one deliver? just run up on spot? just making sure i'm doing it right. Also would this mod cause default transport missions trigger a lot. the repair then transport ones. i have a lot of those on map.

Thanks, Great mod.
CommanderMartin  [작성자] 2022년 12월 27일 오후 6시 34분 
I uploaded what may be a fix. I'm not 100% on what's happening for you, but the change I made is the only obvious place I could see what you're experiencing could be coming from. Basically the system might be not checking the packages regenerated during a single session; when the game is reloaded, it does a package check and thus catches the previously missed ones.

Like I said, I'm not 100% it is the issue you're having, but it's a small issue in itself.
CommanderMartin  [작성자] 2022년 12월 27일 오후 3시 09분 
Actually, I might have an idea what is happening. How many packages do you estimate you have delivered up to now?
Krypton 2022년 12월 26일 오후 5시 53분 
Cool thanks man I appreciate that, and yeah I can send it to you
CommanderMartin  [작성자] 2022년 12월 25일 오후 5시 03분 
Would you be able to transfer your save file to me with a package that is acting like this?
CommanderMartin  [작성자] 2022년 12월 25일 오후 4시 53분 
I'll keep looking around to see what could be causing this.
CommanderMartin  [작성자] 2022년 12월 25일 오후 4시 42분 
That's really strange. Just to see if there's a coincidence, does it complete if you reload the save like you did last time?
Krypton 2022년 12월 25일 오후 2시 31분 
Awesome ty so much, so for some of them they work but this one i delivered to BVG its not taking it, yet it says I have plenty of time left. https://prnt.sc/MkePjlXhLcbp
CommanderMartin  [작성자] 2022년 12월 25일 오전 9시 56분 
That's particularly strange lol. The command is ?SPPDeliver, but funnily enough, I forgot the ? at the beginning, thus making it not work. I tested this so many times and its always the smallest mistakes lol. I'll upload a fix shortly.
Krypton 2022년 12월 25일 오전 9시 31분 
Hi so it delivered on its own, its weird how last time it wouldn't. What's the command to manually deliver items?
Krypton 2022년 12월 24일 오후 7시 24분 
Thanks for your help good to know yeah I was having this issue at coast guard outpost ill try at a different island

Whats the command for delivery?