HI,
just updated server and client from 0.12.24 to 0.12.25 and wanted to test the steamversion. After connecting to the Server (iwth last save) my inventory was lost (looks like a fresh spawned) why is this ?
is there a way to get it back ?
Thanks for help
Multiplayer Inventory lost
-
- Filter Inserter
- Posts: 478
- Joined: Fri Jul 17, 2015 6:56 pm
- Contact:
Re: Multiplayer Inventory lost
If you change your name you will lose your inventory. Your name has the be EXACTLY as it was before as it is case-sensitive.
Looking for a multiplayer server? Check out my servers Vanilla Server
Re: Multiplayer Inventory lost
That's happened to me before. I immediatley re-logged, and my inventory re-appeared. I still don't know what caused it though.
-
- Inserter
- Posts: 42
- Joined: Sun Aug 16, 2015 10:23 am
- Contact:
Re: Multiplayer Inventory lost
Hi,
I was playing a multiplayer game with a friend ... but when we saved and reloaded I got spawned with an empty inventory.
I know you need to have the same name ... but I know I didnt change my name ... its Bartimaeus for both Singleplayer and Multiplayer games.
If I check the list of players by using
I will get my friends name for player[1] ... my name for player[2] and my name again for player[3]
The game shows that I am logged in as Bartimaeus and also my LAN name is Bartimaeus ...
is there a way to reclaim my lost inventory?
I was playing a multiplayer game with a friend ... but when we saved and reloaded I got spawned with an empty inventory.
I know you need to have the same name ... but I know I didnt change my name ... its Bartimaeus for both Singleplayer and Multiplayer games.
If I check the list of players by using
Code: Select all
/c game.player.print(game.players[1].name)
The game shows that I am logged in as Bartimaeus and also my LAN name is Bartimaeus ...
is there a way to reclaim my lost inventory?
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Multiplayer Inventory lost
You can try copying the inventory off your old alter ego.
I has a similar issue once and it resolved itself after leaving and rejoining i think.
Code: Select all
/c
local function copy(invtyp,source,target)
local s = game.players[source].get_inventory(invtyp)
local t = game.players[target].get_inventory(invtyp)
for i=1,#s do
t[i].set_stack(s[i])
end
end
copy(defines.inventory.player_main,2,3)
copy(defines.inventory.player_quickbar,2,3)