Forums » Community Projects
"You cannot jettison thet type of cargo"
Hey everybody,
I mine like crazy. I use autojett plugin all the time. Whenever I do, I get a constantly-repeating message that says "You cannot jettison that type of cargo" printed to my chatline over and over as I mine and it's annoying the shit out of me.
Does anyone have any idea why this occurs or how I might go about making it go away? Ive looked through MAID and Autojett .lua files and cannot find that print output, and ive even removed all ore from the jettison list on my MAID plugin thinking that was the culprit - to no avail.
Any help much appreciated!
-[TRI] Neon Black
I mine like crazy. I use autojett plugin all the time. Whenever I do, I get a constantly-repeating message that says "You cannot jettison that type of cargo" printed to my chatline over and over as I mine and it's annoying the shit out of me.
Does anyone have any idea why this occurs or how I might go about making it go away? Ive looked through MAID and Autojett .lua files and cannot find that print output, and ive even removed all ore from the jettison list on my MAID plugin thinking that was the culprit - to no avail.
Any help much appreciated!
-[TRI] Neon Black
Sometimes it happens when you're strip mining and autojett tries to jett nothing, a lag issue. Also happens when you're in a Trident with ships on it because you can't jettison ships.
Neon, are you around again?
That message started popping up after the devs did one of the updates. I sent the plugin to Ray to take a look at it and he suggested a change or two.
I'll see if I can find the notes and post back here.
I'll see if I can find the notes and post back here.
Ok, here's a few of Rays suggestions.
---
Try adding this line somewhere in the AutoJett event action.
if(GetInventoryItemQuantity(itemid) > 0) then return end
Mainly it's to see if maybe you're doing JettisonSingle too many times for a given item, causing you to jettison an item that you no longer have.
---
Try putting it after line 37? Maybe the second JettisonSingle() is getting called.
---
I never did get this resolved though.
---
Try adding this line somewhere in the AutoJett event action.
if(GetInventoryItemQuantity(itemid) > 0) then return end
Mainly it's to see if maybe you're doing JettisonSingle too many times for a given item, causing you to jettison an item that you no longer have.
---
Try putting it after line 37? Maybe the second JettisonSingle() is getting called.
---
I never did get this resolved though.
Thank you very much vskye. I will implement that line into the plugin when I get a chance and let you know what happens.
You get a chance to try this yet Neon?
Is there any value to this system notification? Maybe we could just ask GS to take it out.
I tried and failed, vskye. I like Fluffy's idea.
If only it told us what "that type of cargo" was!
I think its a relic from after the fix for jettisoning engines n stuff. IIRC that was the error you got after the fix. So yeah, it could and should be removed totally.
This started happening after they fixed it so you could no longer jettison ships-as-cargo.
I fixed some bugs (e.g. "you cannot jettison that type of cargo" as well as some other glitches) from autojett and released new version as autojett_v2.
Cool scham. Have a link?