[Resolved] Unable to do anything in game on an MP server.

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Neodragon90
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jan 15, 2017 11:17 pm
Contact:

[Resolved] Unable to do anything in game on an MP server.

Post by Neodragon90 »

I was playing factorio with 2 friends on a MP (headless) server when all of a sudden my in game player/sprite disappeared, I have no inventory and cannot move or do anything.
The server is being hosted on a DigitalOcean 2 Core, 2GB Ram droplet.

Bringing up my inventory shows no slots altogether and I see logistic slots and crafting, but my main inventory is just a blank section, not even empty slots.
My tool bar is also empty. I had items before this issue, and its not a logged in with wrong username issue.

My in game username for this map is "Neodragon90", without the quotes.

I run the game using the 64bit Linux client via steam, usually.
My user on the server is the only one experiencing this issue.

Things I have tried (with no success):
Restarting the server (obviously)
The non-steam linux client, downloaded from factorio.com
My friend (who plays fine on the server with his account) logging in using my username to the server (using the windows client)
Copying the map locally and opening it as a local game.

I would like to resolve this issue which seems to be related to my username and this save.
If that means somehow resetting my user so I could go back to spawn with no items, I could accept that.

I realize that simply logging into the server with a different username would resolve this issue, but I was actually looking to enforce the factorio account username checking as an added security measure.

I have attached, the save file, the client and server log files.
Some Mods are in use, names and versions should be evident from the log file.

Let me know if you need anything else for troubleshooting.

Thanks.

Edit: Updated title to note that this is resolved.
Attachments
WTFactory_20170115_1821.zip
Actual Server Save file.
(20.22 MiB) Downloaded 79 times
factorio-current_server.log
Server Log of a fresh start, up until I connect and disconnect. I am peer (2), my friend also connected during this log section.
(7.7 KiB) Downloaded 79 times
factorio-current_client.log
Client Log from start to close of factorio.
(7.2 KiB) Downloaded 84 times
Last edited by Neodragon90 on Mon Jan 16, 2017 3:39 am, edited 1 time in total.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Unable to do anything in game after connecting to MP server.

Post by Nexela »

Chances are you used the remote viewer from YARM to leave your body.

Clicking any eye button in the YARM window and then clicking it again will bring you back to your body.


---These commands shouldn't be needed but
To return to your old body -- Only do this if you are the only one online/ingame at the time
/c for _ , character in pairs(game.player.surface.find_entities_filtered{name="player"}) do game.player.character=character break end

Or Run this to re-spawn a new body
/c game.player.create_character()
Neodragon90
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jan 15, 2017 11:17 pm
Contact:

Re: Unable to do anything in game after connecting to MP server.

Post by Neodragon90 »

Thanks.

It seems that I was somehow in the YARM view for the exact copper mine I was standing at.
I'm not sure how I accidentally triggered that, and usually that menu is a little cumbersome seeing as I play with a Steam Controller.
Though it looks like there might have been some sort of YARM related error going on as well as it mentioned the following when I undid the view.

"[YARM| on_gui_click] Error: LuaEntity API Call when LuaEntity was invalid"
It goes on to mention a stack trace but there doesn't seem to be any good way to copy/paste the contents as it didn't show up in the client or server logs.

Thanks for help I feel kinda silly that I was essentially in YARM without realizing it, but glad that it was something simple and I have all my items.

I consider this resolved.

Thanks Again.
Post Reply

Return to “Technical Help”