Skip to content

Conversation

@ACaiCat
Copy link
Contributor

@ACaiCat ACaiCat commented Jan 28, 2026

No description provided.

@denny4-user
Copy link

Hi! When I play with a friend and he picks up an item, my item doesn't pick up, but simply remains where it is, and a funny bug appears where the item FLIES after my friend (as if it is being attracted, but not picked up).

ServerInfo is only sent by mobile version self host server
PlayerPlatformInfo is sent when mobile players enter a server
@ACaiCat
Copy link
Contributor Author

ACaiCat commented Jan 29, 2026

Mobile Packets

ServerInfo [Server(Mobile) -> Client]

public class ServerInfo : Packet
{
    public override MessageID Type => MessageID.ServerInfo;
    public int ListenPort { get; set; }
    public string WorldName { get; set; }
    public string HostName { get; set; }
    public short MaxTilesX { get; set; }
    public bool IsCrimson { get; set; }
    public byte GameMode { get; set; }
    public bool Unknown1 { get; set; }
    public bool Unknown2 { get; set; }
    public bool Unknown3 { get; set; }
    public byte MaxPlayers { get; set; }
    public byte NumberOfPlayers { get; set; }
}

PlayerPlatformInfo [Client(Mobile) -> Server]

public class PlayerPlatformInfo : Packet, IPlayerSlot
{
    public override MessageID Type => MessageID.PlayerPlatformInfo;
    public byte PlayerSlot { get; set; }
    public Platform PlatformId { get; set; }
}

public enum Platform : byte
{
    None = 0,
    Stadia = 1,
    XBO = 2,
    PSN = 3,
    Editor = 4,
    Nintendo = 5,
    Steam = 6,
    GameCenter = 7
}

ACaiCat referenced this pull request in popstarfreas/Dimensions Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants