Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horion crasher, crashing server! #764

Closed
VinkyV opened this issue May 9, 2023 · 1 comment
Closed

Horion crasher, crashing server! #764

VinkyV opened this issue May 9, 2023 · 1 comment

Comments

@VinkyV
Copy link

VinkyV commented May 9, 2023

Horion Client crasher type 6 crashing dragonfly server!
Server starting using all free memory and crashing sometimes with PC.

Suggested idea to fix t from BDSX (NodeJS server core above BDS) by https://discord.com/channels/646456965983240212/1105441694498955364/1105441694498955364

import { events } from "bdsx/event";
import { bedrockServer } from "bdsx/launcher";
import { MinecraftPacketIds } from "bdsx/bds/packetids";
import { CANCEL } from "bdsx/common";

events.packetRaw(MinecraftPacketIds.PlayerList).on((ptr, size, ni) => {
    if(size == 0x7) {
        bedrockServer.serverInstance.disconnectClient(ni, `crasher-a (horion type 6 crasher)`);
        return CANCEL;
    };
});

Suggested check if PlayerList packet size == 0x7 and then kick client

Dragonfly version: 1877140
Architecture: AMD x64
OS: Windows 10 x64
Client: Minecraft 1.19.81 x64

@VinkyV VinkyV changed the title Server crashing Horion crasher, crashing server! May 9, 2023
@VinkyV VinkyV closed this as completed May 9, 2023
@VinkyV
Copy link
Author

VinkyV commented May 9, 2023

Gophertunnel issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant