Space Engineers

Space Engineers

Improvised Engineering (Grid Pickup/Holding/Manipulation Mod) Nicknamed: Grabby Hands
amsedal 28 Dec, 2022 @ 10:15am
Adding Mod to an already existing DS world...
I have tried starting a new local game world with the same Sandbox_config.sbc that is on my server, and I do not seem to have a problem grabbing onto things. I just grind down a block and make a new small block or two and all works as intended.

I put have the mod on my DS in my already worked in world and I get;
"2022-12-28 06:03:42.146 - Thread: 1 -> Malformed packet from 76561197961076332!
2022-12-28 06:03:42.146 - Thread: 1 -> Object reference not set to an instance of an object.
at Math0424.GridPickupMod.MyNetworkHandler.PacketIn(PacketIn e)
at Math0424.GridPickupMod.MyEasyNetworkManager.RecivedPacket(UInt16 handler, Byte[] raw, UInt64 id, Boolean isFromServer"

This one error spams the DS console for every block on an already existing small grid. As in, I hit "R" on a newly built ship. But when I make new small blocks I can not hit "R" to interact with it. I also get no console errors, but that is probably because I can not interact with it at all as if the mod is not working. Restarting just the client doesn't change anything.

I made a video, I just restarted my server and logged in: https://clipchamp.com/watch/I1pDUek0tO8

I try to grab various small grids, the hazard stand I could have sworn used to be interactive, but now it is not. The other small grids I couldn't hit "R" on, the ship I know was too heavy but I tried anyways and I could interact with it. But as I do I get the error above (I believe both errors spam my console for every block on the small grid).

I removed the mod, loaded and saved, rebooted and re-added the mod, rebooted and for some reason only the same object (in the video) is interactive but the others are not. That hazard painted stand is older than the ship that is built, well the stand used to be part of the ship and then was removed.

So, why am I not able to interact with the other small grids, but that one ... is my first question many...

What are yours? If you have any, I know this is probably all for funzies so if you didn't want to figure it out I completly understand...I just want to play and use this awesome mod!! :)

Thank you for your time, understanding and patience...and your coding!!! :RCKing:
-amsedal
Last edited by amsedal; 28 Dec, 2022 @ 12:19pm
< >
Showing 1-12 of 12 comments
mz  [developer] 28 Dec, 2022 @ 12:46pm 
The "Malformed packet from 76561197961076332" error usually means that another mod uses the same ID for comunication as my mod, thus it is expecting a box of apples but gets a box full of bananas.

AS for the interaction, I have no clue xD But what version are you using? This mod version is not designed for DS, So if you play on a DS then please use the Experimental Version for now. I have a huge update (extendet on the Experimental Version) which will replace this current version here, but I still need a bit of time until it is ready.

Ps: (so if you didn't want to figure it out) don't worry. I want to quish every last bug that is in this mod.
amsedal 28 Dec, 2022 @ 3:27pm 
yep, I am using the latest versions. Also, I wonder if it could be interfering with another one of Math0424 's other mods? I am using ResourceNodes (2493091475), SurvivalMirror (2367568900) & Animation Engine V0.7 Alpha (dependency)(2880317963)...

My current running mods: https://pastebin.com/sde9sDt6
Log files in case you wanted or can use - (link expires after a week): https://www.filemail.com/d/culrgwmzrsxvzoo

Thank you mz, let me know how I can help!
-ams
amsedal 28 Dec, 2022 @ 3:34pm 
I can wait for the update as well... might just fix some problem too... might be the easiest thing...
mz  [developer] 1 Jan, 2023 @ 4:09am 
I will take a look into it.
Krelsis.net 6 Feb, 2023 @ 12:48pm 
Also getting this error.

-> means that another mod uses the same ID for comunication

Would it then not be prudent to set this ID to something somewhat random-ish to avoid collisions.
How about the ID of the workshop item itself (2890866161) ?
mz  [developer] 6 Feb, 2023 @ 1:24pm 
That would be great sadly the number is limited it's a ushort 0 - 65535 and generally it's a good idea to just use the last 5 numbers of the id.

Do you see a problem xD

I guess I could add a number to the config where you can change it yourself and wait with the network setup until the config file has been read to get the number. No Idea if that would actually work. Just a random Idea
Krelsis.net 6 Feb, 2023 @ 1:48pm 
I've taken a look at the code and inserted some logs around the place, narrowed in the exact line in question that the error is being caused for myself.

I've searched my entire modlist for a conflicting ID, of which you have assigned : 52547.
There is no conflicts

--------------------------------------------------

Seems that there is a NullReferenceException at :
MyNetworkHandler.PacketIn:58

if (packet.SenderId == MyAPIGateway.Session.Player.SteamUserId) return;

SteamUserId = null reference as the Player is object is null.

2023-02-06 21:45:08.662 - Thread: 1 -> MNH - Processing 2023-02-06 21:45:08.662 - Thread: 1 -> MNH - packet.SenderId = 76561197990125153 2023-02-06 21:45:08.662 - Thread: 1 -> MNH - MyAPIGateway.Session == null = False 2023-02-06 21:45:08.662 - Thread: 1 -> MNH - MyAPIGateway.Session.Player == null = True 2023-02-06 21:45:08.662 - Thread: 1 -> Malformed packet from 76561197990125153! 2023-02-06 21:45:08.662 - Thread: 1 -> Object reference not set to an instance of an object.
Last edited by Krelsis.net; 6 Feb, 2023 @ 1:51pm
mz  [developer] 9 Feb, 2023 @ 11:50am 
Alright, thank you. If its not a conflicting mod then there is a good chance that the next version will fix it as I currently rewrite and clean up the code (you might have noticed that it's quite a mess)
mralienbg 16 Sep, 2023 @ 1:27am 
I do have the same kind of problem with the mod. Each time someone tries to drag Block it goes infinite super spam the exactly same error
Narsil 4 Jan, 2024 @ 12:07pm 
I started a new discussion then came back and read through this one only to find out it seems to be the same issue.
Narsil 5 Jan, 2024 @ 8:17am 
Nm, I figured out to use the experimental version where it clearly says multiplayer is supported, my bad.
mz  [developer] 8 Jan, 2024 @ 4:44am 
more or less supported. I haven't had time to finish the mod. sorry ^^
< >
Showing 1-12 of 12 comments
Per page: 1530 50