Skip to content

Add missing PacketTypes from 1.4.5.0#261

Merged
QuiCM merged 2 commits intoPryaxis:general-develfrom
ACaiCat:general-devel
Feb 4, 2026
Merged

Add missing PacketTypes from 1.4.5.0#261
QuiCM merged 2 commits intoPryaxis:general-develfrom
ACaiCat:general-devel

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
@QuiCM QuiCM merged commit 9573e6e into Pryaxis:general-devel Feb 4, 2026
3 checks passed
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.

4 participants