Coder Social home page Coder Social logo

bdsx's Introduction

BDSX : BDS + node.js

logo
BDSX is a modification of Minecraft Bedrock Dedicated Server, supporting node.js. Because it is based on the offical BDS software, it includes all the features of vanilla Minecraft, but includes other features as well, such as hooking functions and packets to change behavior.

Features

  • OS: Windows(Recommended), Linux with Wine(Unstable)
  • All Minecraft BDS features
  • All node.js features (*that are supported by ChakraCore. See this page for more information)
  • Debug with Visual Studio Code (You can debug plugins too)
  • Intercept network packets
  • Custom Commands
  • Low-level hooking and DLL Call
  • Get IP Address & XUID (Example below)
import { events } from "bdsx/event";
import { MinecraftPacketIds } from "bdsx/bds/packetids";
events.packetAfter(MinecraftPacketIds.Login).on((ptr, networkIdentifier, packetId) => {
    const ip = networkIdentifier.getAddress();
    if (ptr.connreq === null) return; // Wrong client version
    const cert = ptr.connreq.getCertificate();
    const xuid = cert.getXuid();
    const username = cert.getId();
    console.log(`Connection: ${username}> IP=${ip}, XUID=${xuid}`);
});

Usage

  • Requirements
    • node.js Please make sure your node is up to date.
    • GIT
    • Wine (if using Linux)
  • Recommended

To download, clone the repo:

git clone https://github.com/bdsx/bdsx.git

Debug & Launch with VSCode

When starting BDSX with VSCode, you need to

  1. Open the project with VSCode
  2. Install the legacy debugger. the suggestion dialog will be opened up on the right bottom corner.
  3. Open a terminal (Ctrl+Shift+`)
  4. Run npm i to install npm packages and BDS
  5. Press F5 to build and run in VSCode

Launch with the executable

Run bdsx.bat (or bdsx.sh on Linux) to start BDSX

Manual instruction of the executable

  1. Open a terminal to the bdsx folder
  2. Run npm i to install npm packages and BDS
  3. Use tsc to compile the typescript and use bedrock_server.exe .. in the bedrock_server directory. If on Linux, use wine bedrock_server.exe .. instead.

File Structure

[bdsx project]
├ [bdsx] # Core Library
├ [example_and_test] # Examples for using the BDSX API and tests of the BDSX API
├ [bedrock_server] # BDS installation
├ launcher.ts # Script for launching BDS
├ index.ts # Main entry point. This file is required by the launcher when BDS is fully started.
├ bdsx.sh # Executable for Linux
└ bdsx.bat # Executable for Windows

Please start your own code from ./index.ts

By default index.ts imports example_and_test. To disable the examples simply remove the import or replace it with your own code.

For examples, see the example_and_test folder. There are some plugins available on npm in the @bdsx organization as well.

Make a bdsx plugin

Please check plugin-example/README.md.

Discord

https://discord.gg/pC9XdkC

BDSX Discussions

https://github.com/bdsx/bdsx/discussions

BDSX Wiki

https://github.com/bdsx/bdsx/wiki

Hosting Support

https://easyminecrafthosting.com/ (Latin America)

Docker Image

https://hub.docker.com/r/karikera/bdsx

Bug Report

https://github.com/bdsx/bdsx/issues

BDSX Core

https://github.com/bdsx/bdsx-core

bdsx's People

Contributors

7dev7urandom avatar abcdefghijklmnopqr88 avatar ambiennt avatar atxltheaxolotl avatar cog25 avatar dapetcu21 avatar dependabot[bot] avatar dzx-dzx avatar fuyutsuki avatar goodlucky777 avatar job-gut avatar karikera avatar kdg7313 avatar kostyajrz avatar lapis256 avatar madeofstown avatar mdisprgm avatar mikhaillav avatar minyee2913 avatar noxturnix avatar ptkdrake avatar ricklove avatar rjlintkh avatar sacrigrape avatar se7en-dev avatar shock95 avatar smell-of-curry avatar tutinoko2048 avatar wwwcomcomcomcom avatar xeroalpha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bdsx's Issues

Thread ID check for hooking (Multithread and Hooking)

Is your feature request related to a problem? Please describe.
When a JS function is called on a thread that isn't the node/game thread, bdsx crashes. This means that I cannot hook functions that sometimes run on the game thread because they also sometimes run on the main thread and cause a crash.

Describe the solution you'd like
The function wrapper code would include a check to see if it is the same thread as the game thread and if not, based on an option in the hook, would either skip the original function by returning a preset value, call the original function normally or proceed with the JS function causing a crash. Perhaps this could also allow an alternative asm function for other threads.

Describe alternatives you've considered
Currently the only other option is to use asm to hook or to not hook these functions.

Additional context
An example of this problem is the symbol ?getInt@CompoundTag@@QEBAHV?$basic_string_span@$$CBD$0?0@gsl@@@Z which when hooked runs repeatedly several times before crashing when called on a different thread. Here is some example code (without imports):

function getInt(arg1: VoidPointer, test: VoidPointer) {
    console.log(dll.kernel32.GetCurrentThreadId());
    return _getInt(arg1, test);
}
const _getInt = hacker.hooking("?getInt@CompoundTag@@QEBAHV?$basic_string_span@$$CBD$0?0@gsl@@@Z", int32_t, null, VoidPointer, VoidPointer)(getInt);

You can see when this is executed the function repeatedly runs on the node/game thread before crashing on a different thread.

BUG about register commads

When using command.register() to register a command, an error will be reported when the command length is greater than or equal to 9

Block place event canceling

Hello, how to cancel block place event?

In the lowlevel-apihooking I only saw function onDestroyBlock (gameMode, blockPos, v)

Getting Player Entity From Player Name

I have this:

command.hook.on((command, originName)=>{
    if (command === '/test_command') {
        const actor = Actor.fromEntity(originName);
        console.log(actor);
        return 0;
    } 
});

I want to get the x,y,z,dimension of the player who issued the command. But originName is just a string so Actor.fromEntity doesn't work. Is there a way?

(I'm new to bdsx, so, I'm sorry if I overlooked something obvious)

NBT data handling functions

This would be functions for handling NBT, specifically the CompoundTag and Tag classes. It would include methods such as getInt and getString as well as functions like putInt and putString.

This would be useful for situations where entities or items have complex data to view or edit. Examples are shulker box items and lectern blocks.

I have made an attempt to implement these functions and would be glad to fully create a system for doing this, but I'm stuck with the functions that require a gsl::basic_string_span<const char, -1> parameter as I am unable to construct the class properly.

missing discord invite

you forgot to link your discord, you just linked a channel url which is not a valid invite

the ChangeDimension packet doesnt appear to exist (Change the nether portal destination)

I am using the code

netevent.raw(PacketId.ChangeDimension).on((ptr,size)=>
{
console.log(Packet Id: ${ptr.readUint8()});
const dimension = ptr.readVarInt();
const x = ptr.readFloat32();
const y = ptr.readFloat32();
const z = ptr.readFloat32();
console.log(changing dimension: ${dimension} ${x} ${y} ${z});

});

but I never get a response, furthermore, it doesn't seem to appear in console for being received as a packet at all, am I doing something wrong or is this a bug?
(I have tested this with entities and players moving between the nether and overworld, and a player into the end)

entityHurt Crash

Crash occurs in "events.entityHurt" when damage is repeatedly entered at high speed through the entity

how to send ModalFormRequestPacket

since I dont think this deserves another issue as it may be related, I was trying to send a ModalFormRequest to the player so I modified the example code where a text packet is sent to do this

// sendPacket
    setTimeout(()=>{
        console.log('packet sended');

        const fancyPacket = createPacket(PacketId.ModalFormRequest);
        fancyPacket.setUint16(0);
        fancyPacket.setString(`{"type": "form","title": "test title","content":{},"buttons":{}}`);
        sendPacket(networkIdentifier,fancyPacket);
        fancyPacket.dispose();
    }, 10000);

but I keep on getting Error: Structured Exception: STATUS_ACCESS_VIOLATION(0xC0000005) (specifically on the sendPacket line) which I see is because of what looks like malformed strings in the code, am I doing this wrong?

Originally posted by @JSJBDEV in #23 (comment)

the PlayerAttackedEntity event cannot retrieve a NetworkIdentifier

using system.listenForEvent(ReceiveFromMinecraftServer.PlayerAttackedEntity I copy the steps to get a networkIdentifier as in the example for player created, abridged:
const ni = Actor.fromEntity(ev.data.player)!.getNetworkIdentifier();
but this networkIdentifier appears to always be empty, I know this part of my function is firing as I have a console.log immediately before

latest docker image does not work properly

Latest docker image at https://hub.docker.com/r/karikera/bdsx (updated 2 days ago) does not work properly anymore.
The server is starting up correctly, but when connecting via the Minecraft Client there is not connection due to time out.
The server logfile shows

TypeError: Unable to get property 'isEmpty' of undefined or null reference
at onPacketRaw (Z:\root\bdsx\dist\bundle.dist.js:2272:17)
undefined> disconnected
[test/nethook] failed. [test] disconnected without connected
at Anonymous function (Z:\root\bdsx\example_and_test\test.ts:291:13)
[test] FAILED (8/9)

By the way, before updating it (so in other words 3 days ago) this worked just fine!

Chakra.dll missing on Ubuntu

Describe the bug
So I set up bdsx today and I wanted to start it, but each time it errors with this message:
002a:err:module:import_dll Library chakra.dll (which is needed by L"Z:\\usr\\src\\bdsx\\bedrock_server\\bedrock_server.exe") not found

To Reproduce
Steps to reproduce the behavior:

  1. Clone repo
  2. Install latest bds
  3. Run bdsx.sh
  4. See error

Expected behavior
Start up

Error logs
Isn't generated

Desktop (please complete the following information):
OS: Linux Ubuntu x64 20.04 (only terminal)

Some functions work after BDS stopped.

bdsx has a bug at process.nextTick currently.
It should make problems.
I will fix it in the next update.

You can bypass it with

process.nextTick = (func:()=>void)=>{ setTimeout(func, 0); }; // before importing modules.

This is a temporary measure, so I don't know if it will work.
Or you may be able to polyfill process.nextTick

Crit section (Linux test failed)

Describe the bug
I start server with ./bdsx.sh and got it errors before server started.

Error logs
`0036:err:ntdll:RtlpWaitForCriticalSection section 0xe50100 "heap.c: HEAP.critSection" wait timed out in thread 0036, blocked by 0034, retrying (60 sec)
0050:err:ntdll:RtlpWaitForCriticalSection section 0xe50100 "heap.c: HEAP.critSection" wait timed out in thread 0050, blocked by 0034, retrying (60 sec)
0034:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0034, blocked by 0036, retrying (60 sec)
0043:err:ntdll:RtlpWaitForCriticalSection section 0xe50100 "heap.c: HEAP.critSection" wait timed out in thread 0043, blocked by 0034, retrying (60 sec)
0056:err:ntdll:RtlpWaitForCriticalSection section 0xe50100 "heap.c: HEAP.critSection" wait timed out in thread 0056, blocked by 0034, retrying (60 sec)
0055:err:ntdll:RtlpWaitForCriticalSection section 0xe50100 "heap.c: HEAP.critSection" wait timed out in thread 0055, blocked by 0034, retrying (60 sec)
005d:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 005d, blocked by 0036, retrying (60 sec)
005e:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 005e, blocked by 0036, retrying (60 sec)
0036:err:ntdll:RtlpWaitForCriticalSection section 0xe50100 "heap.c: HEAP.critSection" wait timed out in thread 0036, blocked by 0034, retrying (60 sec)
0050:err:ntdll:RtlpWaitForCriticalSection section 0xe50100 "heap.c: HEAP.critSection" wait timed out in thread 0050, blocked by 0034, retrying (60 sec)
005f:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 005f, blocked by 0036, retrying (60 sec)
0060:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0060, blocked by 0036, retrying (60 sec)
0061:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0061, blocked by 0036, retrying (60 sec)
0062:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0062, blocked by 0036, retrying (60 sec)

0063:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0063, blocked by 0036, retrying (60 sec)

0064:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0064, blocked by 0036, retrying (60 sec)
0065:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0065, blocked by 0036, retrying (60 sec)
0066:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0066, blocked by 0036, retrying (60 sec)
effefef
0067:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0067, blocked by 0036, retrying (60 sec)
0068:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0068, blocked by 0036, retrying (60 sec)
0069:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 0069, blocked by 0036, retrying (60 sec)
006a:err:ntdll:RtlpWaitForCriticalSection section 0x7beb0b20 "loader.c: loader_section" wait timed out in thread 006a, blocked by 0036, retrying (60 sec)
0043:err:ntdll:RtlpWaitForCriticalSection section 0xe50100 "heap.c: HEAP.critSection" wait timed out in thread 0043, blocked by 0034, retrying (60 sec)`

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 18.04

SetScorePacket

It would be nice if the SetScorePacket was complete, I'm trying to create a scoreboardAPI plugin. Thanks.
unknown

Invalid address

[ Runtime Error ]

Last Sender IP: 186.xxx.xxx.173
[ JS Stack ]
at startBDS (internal/bootstrap/node.js:303:3)
at executeUserCode (internal/bootstrap/node.js:366:5)
at startExecution (internal/bootstrap/node.js:276:3)
at startup (internal/bootstrap/node.js:227:3)
at Anonymous function (internal/bootstrap/node.js:741:1)
[ Native Stack ]

ERROR: SymGetSymFromAddr64, Error: An attempt was made to access an invalid address.(0x000001E7) (Address: 0x00007FF9DD62D4D3)

after this error the server crashes

Question/Help: Packets

Hi,

I have a question which i would help me with a request from the owner of the server I manage. I have managed to log the in-game chat and and commands used and by who, but I was wondering if I can use the MovePlayer packet to get the players current position or if there is another way as the server I manage is griefed alot and this would help us narrow down those who are griefing.

Great work by the way, just wish this could be done for the Linux BDS without wine, but still excellent system.

Thanks,
Sub

BDSX ElementMinus Failed (Wine 5.0 problem)

Hi 루아kr,

This has been reported via Discord, but for future issues related to this topic, I have posted here.

Element Minus: Load mods*.dll
Element Minus: Load bdsx.dll
wine: Call from 0x7bc7c9e1 to unimplemented function KERNEL32.dll.RaiseFailFastException, aborting
Element Minus: failed
Error Code: 317

Element Minus: Load bdsx_node.dll
wine: Unhandled exception 0x40000015 in thread 2c at address 000000000042FF3E (thread 002c), starting debugger...
002f:err:ntdll:RtlpWaitForCriticalSection section 0x7bee54e0 "loader.c: loader_section" wait timed out in thread 002f, blocked by 002c, retrying (60 sec)

This error has occurred whilst utilising:

Ubuntu 20.04 x64
Wine 5.0

Regards,
Substicious

item.getEnchantValue()

The function .getEnchantValue() only returns a random number. Idk if supposed to be like that or its just broken. It would be nice if it would return the enchament name and enchament level.

Error on start ("Cannot find module")

Error: Cannot find module './system'
   at Module._resolveFilename (internal/modules/cjs/loader.js:605:5)
   at Module._load (internal/modules/cjs/loader.js:529:3)
   at Module.prototype.require (internal/modules/cjs/loader.js:659:3)
   at require (internal/modules/cjs/helpers.js:22:7)
   at __tsb.externs (.\bdsx\externs\index.ts:2:1)
   at __tsb.bdsx (.\bdsx\index.ts:1:1)
   at __tsb.checkmd5 (.\bdsx\checkmd5.ts:1:1)
   at Anonymous function (.\launcher.ts:8:1)

Just cloned repo at commit 71a6ae1 and launched bdsx(pause at end).bat

Node version: v14.15.5

InventoryTransaction Packet is not work

nethook.raw(MinecraftPacketIds.InventoryTransaction).on
nethook.before(MinecraftPacketIds.InventoryTransaction).on
nethook.after(MinecraftPacketIds.InventoryTransaction).on

is not work

"docker run -ti karikera/bdsx" can not work.

Status: Downloaded newer image for karikera/bdsx:latest
fatal: unable to access 'https://github.com/karikera/bdsx.git/': Could not resolve host: github.com
/root/entrypoint.sh: line 7: ./bdsx.sh: not found

blockDestory event bug

When a player joins, the event won't fire when a block is broken, but if the gamemode of the player gets changed, the event will start to fire.

        events.blockDestroy.on((event: any) => {
            let player = event.player as Player
            if (player == undefined) return
            return CANCEL
        })

Update 1.16.100

Minecraft update 1.16.100
Client and server versions do not line up

Linux Startup Issue

fresh git clone of bdsx under Linux (Ubuntu 20)... then ./bdsx.sh.... gives this error:

Error: ENOENT: no such file or directory, open 'Z:\home\daniel\minecraft\bdsx\node_modules\package.json'
   at openSync (fs.js:451:3)
   at readFileSync (fs.js:351:3)
   at Anonymous function (Z:\home\daniel\minecraft\bdsx\node_modules\bdsx\checkmodules.ts:90:1)

This is being run in an environment that is able to run older BDSX clones, so Wine is all setup correctly and all of that.

Please add discord.js module (discord.js is not working)

Hello! Hope you are well. It seems that the discord.js module is missing, I get an error when trying to import discord.js. I'm using bdsx 1.3.46 for windows. Is there any other way to fix this?
import {WebhookClient, MessageEmbed} from "discord.js"

SyntaxError: Unexpected quantifier
   at Script (vm.js:91:7)
   at createScript (vm.js:267:3)
   at runInThisContext (vm.js:319:3)
   at Module.prototype._compile (internal/modules/cjs/loader.js:686:3)
   at Module._extensions[.js] (internal/modules/cjs/loader.js:734:3)
   at Module.prototype.load (internal/modules/cjs/loader.js:620:3)
   at tryModuleLoad (internal/modules/cjs/loader.js:560:5)
   at Module._load (internal/modules/cjs/loader.js:552:3)
   at Module.prototype.require (internal/modules/cjs/loader.js:659:3)
   at require (internal/modules/cjs/helpers.js:22:7)```

No such module was linked: bdsx_native

Full error:

No such module was linked: bdsx_native

That's it. Nothing else.

Tried latest BDSX and previous version (below). It works when installed globally, but not locally.

Versions:

BDS: Latest (1.16.100.04)
Element Minus: Latest (1.0.6)
BDSX-mod: Latest (1.3.46)

Make a docker image with wine

running windows on a vps is just wastefull, linux is the os of choice for servers, besides the other mod loaders already have docker images, element zero, bdx etc.

makes debugging easier, deployments easier, avoids the repeated stupid cuestions because 99% its already setup inside the image, easy update etc.

Accessing the invalid memory address (Linux test failed)

When I run the ./bdsx.sh an error occurs some time after the server is started...
It is possible that I do not have enough memory usage? But I use swapfile as temporary addition to my system memory... I thought I wouldn't have to worry about the limitation!

My ubuntu:

Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal

total used free shared buff/cache available
Mem: 1939 1005 391 20 542 749
Swap: 4095 310 3785

The log:

       ///////////////
       //// BDSX2 ////
       ///////////////
(node:65) ExperimentalWarning: The fs.promises API is experimental
[BDSX-Plugins] No Plugins
[BDSX] bedrockServer launching...
NO LOG FILE! - setting up server logging...
[2021-03-28 16:20:39 INFO] Starting Server
[2021-03-28 16:20:39 INFO] Version 1.16.210.05
[2021-03-28 16:20:39 INFO] Session ID 1c09f771-9542-4a3b-a622-51d59afaf1f2
[2021-03-28 16:20:39 INFO] Level Name: Bedrock level
[2021-03-28 16:20:39 INFO] Game mode: 0 Survival
[2021-03-28 16:20:39 INFO] Difficulty: 1 EASY
[INFO] opening worlds/Bedrock level/db
[INFO] IPv4 supported, port: 19132
[INFO] IPv6 supported, port: 19133
[INFO] IPv4 supported, port: 44807
[INFO] IPv6 supported, port: 47954
[INFO] Server started.
From Script> Hello, World!
Script Engine> list
max player: 10
[test] node: 12.0.0-pre
[test] engine: [email protected]
[test] (1/15) globals
[test] (2/15) nexttick
[test] (3/15) disasm
[test] (4/15) chat
[test] (5/15) actor
[test] (6/15) bin
[test] (7/15) hashset
[test] (8/15) memset
[test] (9/15) nethook
[test] (10/15) cxxstring
[test] (11/15) makefunc
[test] (12/15) vectorcopy
[test] (13/15) command
[test] (14/15) command2
[test] (15/15) checkPacketNames
[ Native Crash ]
Last Sender IP: 127.0.0.1
[ Native Stack ]
Accessing the invalid memory address
SymGetLineFromAddr64: No more files. (errno: 18,Address: 0x000000007BC74230)
SymGetLineFromAddr64: Not enough memory. (errno: 8,Address: 0x000000007BC7980E)
SymGetLineFromAddr64: Not enough memory. (errno: 8,Address: 0x00007FBD211D6F35)
SymGetLineFromAddr64: Not enough memory. (errno: 8,Address: 0x00007FBD211D8427)
SymGetLineFromAddr64: Not enough memory. (errno: 8,Address: 0x0000000140533DEE)
StackWalk64: Module not found. (errno: 126,Address: 0x0000000002C02B39)
[ JS Stack ]
Error: RuntimeError: EXCEPTION_ACCESS_VIOLATION(0xC0000005)
   at newType (chakra_shim.js:309:9)
   at RuntimeError (chakra_shim.js:1:39)
   at Anonymous function (chakra_shim.js:1:73)

Error:

[ Native Stack ]
Accessing the invalid memory address
SymGetLineFromAddr64: No more files. (errno: 18,Address: 0x000000007BC74230)
SymGetLineFromAddr64: Not enough memory. (errno: 8,Address: 0x000000007BC7980E)
SymGetLineFromAddr64: Not enough memory. (errno: 8,Address: 0x00007FBD211D6F35)
SymGetLineFromAddr64: Not enough memory. (errno: 8,Address: 0x00007FBD211D8427)
SymGetLineFromAddr64: Not enough memory. (errno: 8,Address: 0x0000000140533DEE)
StackWalk64: Module not found. (errno: 126,Address: 0x0000000002C02B39)
[ JS Stack ]
Error: RuntimeError: EXCEPTION_ACCESS_VIOLATION(0xC0000005)
   at newType (chakra_shim.js:309:9)
   at RuntimeError (chakra_shim.js:1:39)
   at Anonymous function (chakra_shim.js:1:73)

./bdsx.sh not working

After initializing bds
I ran ./bdsx.sh.
but,
BDS: 1.16.201.02
bds-core: 1.0.0.3
408.598957ms
And it exit.

Ubuntu 20.04 | Wine: MariaDB test failed: Can't connect to MySQL server on 'localhost' (10061)

Using Ubuntu 20.04 | Wine instance from google cloud:
After running BDSX with './example':

bdsx` ./example

0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
[BDSX] Attached
[BDSX] Build Time = 2020-08-31- 1143254
[BDSX] bedrock_server.exe MD5 = B575B802BE9C4B17F580B2485DE06D98
[BDSX] MD5 Hash matched(Version == 1.16.20.03)
Element Minus: Load libcurl.dll
Element Minus: Load libmariadb.dll
Element Minus: Load node.dll
Element Minus: Load zlib.dll
NO LOG FILE! - setting up server logging...
[2020-10-12 15:37:48 INFO] Starting Server
[2020-10-12 15:37:48 INFO] Version 1.16.20.3
[2020-10-12 15:37:48 INFO] Session ID 1d269897-df59-4320-8b87-b386f0a98c51
[2020-10-12 15:37:48 INFO] Level Name: Bedrock level
[2020-10-12 15:37:48 INFO] Game mode: 0 Survival
[2020-10-12 15:37:48 INFO] Difficulty: 1 EASY
[2020-10-12 15:37:48 INFO] opening worlds/Bedrock level/db
[2020-10-12 15:37:50 INFO] IPv4 supported, port: 19132
[2020-10-12 15:37:50 INFO] IPv6 supported, port: 19133
[2020-10-12 15:37:51 INFO] IPv4 supported, port: 34237
[2020-10-12 15:37:51 INFO] IPv6 supported, port: 56655
[2020-10-12 15:37:51 INFO] Server started.
NodeJS Version: v12.0.0-pre
JS Engine: chakracore
From Script> Hello, World!

error handling>
ERRMSG Example> 'undefined_identifier' is not defined
ReferenceError: 'undefined_identifier' is not defined
   at eval code (eval code:1:1)
   at Anonymous function (Z:\home\root\example\examples.js:97:1)
   at Module.prototype._compile (internal/modules/cjs/loader.js:723:5)
   at Module._extensions[.js] (internal/modules/cjs/loader.js:734:3)
   at Module.prototype.load (internal/modules/cjs/loader.js:620:3)
   at tryModuleLoad (internal/modules/cjs/loader.js:560:5)
   at Module._load (internal/modules/cjs/loader.js:552:3)
   at Module.prototype.require (internal/modules/cjs/loader.js:659:3)
   at require (internal/modules/cjs/helpers.js:22:7)
   at Anonymous function (Z:\home\root\example\index.js:7:1)
MariaDB test failed: Can't connect to MySQL server on 'localhost' (10061)

Many errors in Linux (Question about detail environment)

Node version - 15

Typed: 'yarn build'
Got:
` ~~~~~~

bdsx/event_impl/entityevent.ts:207:64 - error TS2345: Argument of type 'NativeType' is not assignable to parameter of type 'ParamType'.

207 const _onPlayerPickupItem = procHacker.hooking("Player::take", bool_t, null, Player, Actor, int32_t, int32_t)(onPlayerPickupItem);
~~~~~~

bdsx/event_impl/miscevent.ts:26:90 - error TS2345: Argument of type 'NativeType & { one: string; zero: string; minus_one: string; }' is not assignable to parameter of type 'ParamType'.
Type 'NativeType & { one: string; zero: string; minus_one: string; }' is missing the following properties from type 'Paramable': [js2npAsm], [np2jsAsm], [np2npAsm]

26 const _onQueryRegenerate = procHacker.hooking("RakNetServerLocator::announceServer", bin64_t, null, VoidPointer, CxxStringWrapper, CxxStringWrapper, VoidPointer, int32_t, int32_t, bool_t)(onQueryRegenerate);
~~~~~~~

bdsx/exehacker.ts:30:52 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

30 procHacker.hookingRawWithCallOriginal(key, to, [Register.rcx, Register.rdx, Register.r8, Register.r9], []);
~~

bdsx/exehacker.ts:45:51 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

45 procHacker.patching(subject, key, offset, newCode, tempRegister, call, originalCode, ignoreArea);
~~~~~~~

bdsx/exehacker.ts:59:50 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

59 procHacker.jumping(subject, key, offset, jumpTo, tempRegister, originalCode, ignoreArea);
~~~~~~

bdsx/exehacker.ts:66:39 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/assembler").X64Assembler' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/assembler").X64Assembler'.

66 procHacker.write(key, offset, asm);
~~~

bdsx/externs/generated.addons.d.ts:563:6 - error TS2300: Duplicate identifier 'BlockId'.

563 type BlockId = keyof BlockIdMap;
~~~~~~~

node_modules/bdsx/externs/generated.addons.d.ts:563:6
563 type BlockId = keyof BlockIdMap;
~~~~~~~
'BlockId' was also declared here.

bdsx/externs/generated.addons.d.ts:683:6 - error TS2300: Duplicate identifier 'EntityId'.

683 type EntityId = keyof EntityIdMap;
~~~~~~~~

node_modules/bdsx/externs/generated.addons.d.ts:683:6
683 type EntityId = keyof EntityIdMap;
~~~~~~~~
'EntityId' was also declared here.

bdsx/externs/generated.addons.d.ts:719:6 - error TS2300: Duplicate identifier 'MinecraftDamageSource'.

719 type MinecraftDamageSource = keyof MinecraftDamageSourceMap;
~~~~~~~~~~~~~~~~~~~~~

node_modules/bdsx/externs/generated.addons.d.ts:719:6
719 type MinecraftDamageSource = keyof MinecraftDamageSourceMap;
~~~~~~~~~~~~~~~~~~~~~
'MinecraftDamageSource' was also declared here.

bdsx/externs/generated.addons.d.ts:1612:6 - error TS2300: Duplicate identifier 'ItemId'.

1612 type ItemId = keyof ItemIdMap;
~~~~~~

node_modules/bdsx/externs/generated.addons.d.ts:1612:6
1612 type ItemId = keyof ItemIdMap;
~~~~~~
'ItemId' was also declared here.

bdsx/externs/generated.scripting.d.ts:6:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: ITickingArea, ITickingAreasComponent, IArmorContainerComponent, IContainerComponent, IHandContainerComponent, IHotbarContainerComponent, IInventoryContainerComponent, ITagComponent

6 declare global {


node_modules/bdsx/externs/generated.scripting.d.ts:6:1
  6 declare global {
    ~~~~~~~
  Conflicts are in this file.

bdsx/externs/particle.d.ts:184:10 - error TS2451: Cannot redeclare block-scoped variable 'MinecraftParticleEffect'.

184     type MinecraftParticleEffect = keyof MinecraftParticleEffectMap;
           ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/bdsx/externs/particle.d.ts:184:10
  184     type MinecraftParticleEffect = keyof MinecraftParticleEffectMap;
               ~~~~~~~~~~~~~~~~~~~~~~~
  'MinecraftParticleEffect' was also declared here.
node_modules/bdsx/bds/enumfiller.ts:501:11
  501     const MinecraftParticleEffect:typeof bedrock_types.MinecraftParticleEffect;
                ~~~~~~~~~~~~~~~~~~~~~~~
  and here.

bdsx/externs/scripting-extra.d.ts:4:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: MinecraftComponentName, MinecraftComponentTypeMap, VectorArray, MinecraftDimension, ILookAtComponent, IDisplayChatParameters, IBlockStateComponent, MinecraftServerEventName, MinecraftClientEventName, server

4 declare global

node_modules/bdsx/externs/scripting-extra.d.ts:4:1
4 declare global
~~~~~~~
Conflicts are in this file.

bdsx/externs/scripting-extra.d.ts:164:9 - error TS2374: Duplicate string index signature.

164 [key:string]:any;
~~~~~~~~~~~~~~~~~

bdsx/getline.ts:21:1 - error TS2322: Type 'NativePointer' is not assignable to type 'VoidPointer'.

21 asmcode.std_cin = dll.msvcp140.std_cin;


bdsx/getline.ts:22:1 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

22 asmcode.uv_async_alloc = uv_async.alloc;

bdsx/getline.ts:23:1 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

23 asmcode.getLineProcessTask = makefunc.np((asyncTask:StaticPointer)=>{


bdsx/getline.ts:31:1 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

31 asmcode.uv_async_post = uv_async.post;
~~~~~~~~~~~~~~~~~~~~~

bdsx/getline.ts:32:1 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

32 asmcode.std_string_ctor = string_ctor;
~~~~~~~~~~~~~~~~~~~~~~~

bdsx/getline.ts:45:44 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

45         const [handle] = capi.createThread(asmcode.getline, makefunc.asJsValueRef(this.online));
                                           ~~~~~~~~~~~~~~~

bdsx/index.ts:3:9 - error TS2451: Cannot redeclare block-scoped variable 'bdsx'.

3     let bdsx:boolean|undefined;
       ~~~~

node_modules/bdsx/index.ts:3:9
 3     let bdsx:boolean|undefined;
           ~~~~
 'bdsx' was also declared here.

bdsx/launcher.ts:32:18 - error TS2451: Cannot redeclare block-scoped variable 'brightRed'.

32     export const brightRed:Color;
                 ~~~~~~~~~

node_modules/bdsx/launcher.ts:32:18
 32     export const brightRed:Color;
                     ~~~~~~~~~
 'brightRed' was also declared here.

bdsx/launcher.ts:33:18 - error TS2451: Cannot redeclare block-scoped variable 'brightGreen'.

33     export const brightGreen:Color;
                 ~~~~~~~~~~~

node_modules/bdsx/launcher.ts:33:18
 33     export const brightGreen:Color;
                     ~~~~~~~~~~~
 'brightGreen' was also declared here.

bdsx/launcher.ts:34:18 - error TS2451: Cannot redeclare block-scoped variable 'brightYellow'.

34     export const brightYellow:Color;
                 ~~~~~~~~~~~~

node_modules/bdsx/launcher.ts:34:18
 34     export const brightYellow:Color;
                     ~~~~~~~~~~~~
 'brightYellow' was also declared here.

bdsx/launcher.ts:35:18 - error TS2451: Cannot redeclare block-scoped variable 'brightBlue'.

35     export const brightBlue:Color;
                 ~~~~~~~~~~

node_modules/bdsx/launcher.ts:35:18
 35     export const brightBlue:Color;
                     ~~~~~~~~~~
 'brightBlue' was also declared here.

bdsx/launcher.ts:36:18 - error TS2451: Cannot redeclare block-scoped variable 'brightMagenta'.

36     export const brightMagenta:Color;
                 ~~~~~~~~~~~~~

node_modules/bdsx/launcher.ts:36:18
 36     export const brightMagenta:Color;
                     ~~~~~~~~~~~~~
 'brightMagenta' was also declared here.

bdsx/launcher.ts:37:18 - error TS2451: Cannot redeclare block-scoped variable 'brightCyan'.

37     export const brightCyan:Color;
                 ~~~~~~~~~~

node_modules/bdsx/launcher.ts:37:18
 37     export const brightCyan:Color;
                     ~~~~~~~~~~
 'brightCyan' was also declared here.

bdsx/launcher.ts:38:18 - error TS2451: Cannot redeclare block-scoped variable 'brightWhite'.

38     export const brightWhite:Color;
                 ~~~~~~~~~~~

node_modules/bdsx/launcher.ts:38:18
 38     export const brightWhite:Color;
                     ~~~~~~~~~~~
 'brightWhite' was also declared here.

bdsx/launcher.ts:101:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

101     asmcode.bedrockLogNp = makefunc.np((severity, msgptr, size)=>{
     ~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:124:42 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/assembler").X64Assembler' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/assembler").X64Assembler'.
Types have separate declarations of a private property 'memoryChunkSize'.

124     procHacker.write('BedrockLogOut', 0, asm().jmp64(asmcode.logHook, Register.rax));
                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:124:54 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'Value64'.
Type 'NativePointer' is not assignable to type 'string'.

124     procHacker.write('BedrockLogOut', 0, asm().jmp64(asmcode.logHook, Register.rax));
                                                      ~~~~~~~~~~~~~~~

bdsx/launcher.ts:126:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

126     asmcode.CommandOutputSenderHookCallback = makefunc.np((bytes, ptr)=>{
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:143:5 - error TS2741: Property '[asm.splitTwo32Bits]' is missing in type 'MultiThreadQueue' but required in type 'VoidPointer'.

143     asmcode.commandQueue = commandQueue;
     ~~~~~~~~~~~~~~~~~~~~

node_modules/bdsx/makefunc.ts:1267:9
 1267         [asm.splitTwo32Bits]():[number, number];
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 '[asm.splitTwo32Bits]' is declared here.

bdsx/launcher.ts:144:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

144     asmcode.MultiThreadQueueTryDequeue = MultiThreadQueue.tryDequeue;
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:152:67 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/assembler").X64Assembler' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/assembler").X64Assembler'.

152     procHacker.write('ConsoleInputReader::ConsoleInputReader', 0, justReturn);
                                                                   ~~~~~~~~~~

bdsx/launcher.ts:153:68 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/assembler").X64Assembler' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/assembler").X64Assembler'.

153     procHacker.write('ConsoleInputReader::~ConsoleInputReader', 0, justReturn);
                                                                    ~~~~~~~~~~

bdsx/launcher.ts:154:63 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/assembler").X64Assembler' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/assembler").X64Assembler'.

154     procHacker.write('ConsoleInputReader::unblockReading', 0, justReturn);
                                                               ~~~~~~~~~~

bdsx/launcher.ts:184:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

184     asmcode.evWaitGameThreadEnd = dll.kernel32.CreateEventW(null, 0, 0, null);
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:199:5 - error TS2322: Type 'NativePointer' is not assignable to type 'VoidPointer'.

199     asmcode.free = dll.ucrtbase.free.pointer;
     ~~~~~~~~~~~~

bdsx/launcher.ts:200:5 - error TS2322: Type 'NativePointer' is not assignable to type 'VoidPointer'.

200     asmcode.SetEvent = dll.kernel32.SetEvent.pointer;
     ~~~~~~~~~~~~~~~~

bdsx/launcher.ts:203:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

203     asmcode.uv_async_call = uv_async.call;
     ~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:204:5 - error TS2322: Type 'NativePointer' is not assignable to type 'VoidPointer'.

204     asmcode.WaitForSingleObject = dll.kernel32.WaitForSingleObject.pointer;
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:205:5 - error TS2322: Type 'NativePointer' is not assignable to type 'VoidPointer'.

205     asmcode._Cnd_do_broadcast_at_thread_exit = dll.msvcp140._Cnd_do_broadcast_at_thread_exit;
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:266:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

266     asmcode.bedrock_server_exe_args = bedrock_server_exe.args;
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:268:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

268     asmcode.bedrock_server_exe_main = bedrock_server_exe.main;
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:269:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

269     asmcode.finishCallback = makefunc.np(finishCallback, void_t, null);
     ~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:281:46 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

281     const [threadHandle] = capi.createThread(asmcode.wrapped_main, null);
                                              ~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:291:72 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/assembler").X64Assembler' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/assembler").X64Assembler'.

291     procHacker.write('ScriptApi::ScriptFramework::registerConsole', 0, asm().mov_r_c(Register.rax, 1).ret());
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:294:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

294     asmcode.cgateNodeLoop = cgate.nodeLoop;
     ~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:295:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

295     asmcode.updateEvTargetFire = makefunc.np(()=>events.serverUpdate.fire(), void_t, null);
     ~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:320:9 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

320         makefunc.np((scriptEngine:VoidPointer)=>{
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
321             try {
 ~~~~~~~~~~~~~~~~~
... 
337             }
 ~~~~~~~~~~~~~
338         }, void_t, null, VoidPointer),
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:332:73 - error TS2345: Argument of type 'NativeType<void>' is not assignable to parameter of type 'ParamType'.

332                 procHacker.js('ScriptEngine::_processSystemInitialize', void_t, null, VoidPointer)(scriptEngine);
                                                                         ~~~~~~

bdsx/launcher.ts:342:9 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

342         makefunc.np(()=>{
         ~~~~~~~~~~~~~~~~~
343             try {
 ~~~~~~~~~~~~~~~~~
... 
347             }
 ~~~~~~~~~~~~~
348         }, void_t), [Register.rcx], []);
 ~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:351:75 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/assembler").X64Assembler' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/assembler").X64Assembler'.

351     procHacker.write('MinecraftServerScriptEngine::onServerUpdateEnd', 0, asm().ret());
                                                                           ~~~~~~~~~~~

bdsx/launcher.ts:354:57 - error TS2345: Argument of type 'NativeType<void>' is not assignable to parameter of type 'ParamType'.

354 const stopfunc = procHacker.js('DedicatedServer::stop', void_t, null, VoidPointer);
                                                         ~~~~~~

bdsx/launcher.ts:358:43 - error TS2345: Argument of type 'NativeType<CommandOrigin>' is not assignable to parameter of type 'Type<unknown>'.

358 const CommandOriginWrapper = Wrapper.make(CommandOrigin.ref());
                                           ~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:359:83 - error TS2345: Argument of type 'NativeType<void>' is not assignable to parameter of type 'ParamType'.

359 const commandContextConstructor = procHacker.js('CommandContext::CommandContext', void_t, null,
                                                                                   ~~~~~~

bdsx/launcher.ts:364:22 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

364     sharedptr.create(commandContextRefCounterVftable);
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:369:98 - error TS2345: Argument of type 'NativeType<void>' is not assignable to parameter of type 'ParamType'.

369 const serverCommandOriginConstructor = procHacker.js('ServerCommandOrigin::ServerCommandOrigin', void_t, null,
                                                                                                  ~~~~~~

bdsx/launcher.ts:374:32 - error TS7053: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'typeof ServerCommandOrigin'.
Property '[NativeTypeFn.size]' does not exist on type 'typeof ServerCommandOrigin'.

374     const origin = capi.malloc(ServerCommandOrigin[NativeType.size]).as(ServerCommandOrigin);
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/launcher.ts:374:73 - error TS2345: Argument of type 'typeof ServerCommandOrigin' is not assignable to parameter of type 'new () => VoidPointer'.
Property '[asm.splitTwo32Bits]' is missing in type 'ServerCommandOrigin' but required in type 'VoidPointer'.

374     const origin = capi.malloc(ServerCommandOrigin[NativeType.size]).as(ServerCommandOrigin);
                                                                         ~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:1267:9
 1267         [asm.splitTwo32Bits]():[number, number];
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 '[asm.splitTwo32Bits]' is declared here.

bdsx/launcher.ts:377:5 - error TS2322: Type 'Wrapper<unknown>' is not assignable to type 'Wrapper<CommandOrigin>'.
Type 'unknown' is not assignable to type 'CommandOrigin'.

377     return wrapper;
     ~~~~~~~~~~~~~~~

bdsx/launcher.ts:381:1 - error TS7053: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'typeof ServerCommandOrigin'.
Property '[NativeTypeFn.dtor]' does not exist on type 'typeof ServerCommandOrigin'.

381 ServerCommandOrigin[NativeType.dtor] = ()=>deleteServerCommandOrigin.call(this, 1);
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:70:33 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

70     setFunctionMap('fn_getout', asmcode.getout);
                                ~~~~~~~~~~~~~~

bdsx/makefunc.ts:71:36 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

71     setFunctionMap('fn_str_np2js', asmcode.str_np2js);
                                   ~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:72:36 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

72     setFunctionMap('fn_str_js2np', asmcode.str_js2np);
                                   ~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:74:38 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

74     setFunctionMap('fn_utf16_js2np', asmcode.utf16_js2np);
                                     ~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:76:32 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

76     setFunctionMap('fn_bin64', asmcode.bin64);
                               ~~~~~~~~~~~~~

bdsx/makefunc.ts:80:51 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

80     setFunctionMap('fn_getout_invalid_parameter', asmcode.getout_invalid_parameter);
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:83:44 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

83     setFunctionMap('fn_buffer_to_pointer', asmcode.buffer_to_pointer);
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:89:38 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

89     setFunctionMap('fn_utf16_np2js', asmcode.utf16_np2js);
                                     ~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:90:40 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

90     setFunctionMap('fn_pointer_np2js', asmcode.pointer_np2js);
                                       ~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:91:49 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

91     setFunctionMap('fn_pointer_np2js_nullable', asmcode.pointer_np2js_nullable);
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:92:57 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

92     setFunctionMap('fn_getout_invalid_parameter_count', asmcode.getout_invalid_parameter_count);
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:94:41 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type 'VoidPointer'.

94     setFunctionMap('fn_pointer_js_new', asmcode.pointer_js_new);
                                        ~~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:99:5 - error TS2741: Property '[asm.splitTwo32Bits]' is missing in type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' but required in type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

99     asmcode.GetCurrentThreadId = dllraw.kernel32.GetCurrentThreadId;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/bdsx/makefunc.ts:1267:9
 1267         [asm.splitTwo32Bits]():[number, number];
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 '[asm.splitTwo32Bits]' is declared here.

bdsx/makefunc.ts:100:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

100     asmcode.memcpy = dllraw.vcruntime140.memcpy;
     ~~~~~~~~~~~~~~

bdsx/makefunc.ts:101:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

101     asmcode.asyncAlloc = uv_async.alloc;
     ~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:102:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

102     asmcode.asyncPost = uv_async.post;
     ~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:105:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

105     asmcode.malloc = dllraw.ucrtbase.malloc;
     ~~~~~~~~~~~~~~

bdsx/makefunc.ts:106:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

106     asmcode.Sleep = dllraw.kernel32.Sleep;
     ~~~~~~~~~~~~~

bdsx/makefunc.ts:116:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

116     asmcode.js_null = nullValueRef;
     ~~~~~~~~~~~~~~~

bdsx/makefunc.ts:117:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

117     asmcode.js_true = chakraUtil.asJsValueRef(true);
     ~~~~~~~~~~~~~~~

bdsx/makefunc.ts:119:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

119     asmcode.runtimeErrorFire = runtimeError.fire;
     ~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:120:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

120     asmcode.runtimeErrorRaise = runtimeError.raise;
     ~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/mce.ts:40:68 - error TS2345: Argument of type 'WrapperType<string>' is not assignable to parameter of type 'ParamType'.
Type 'WrapperType<string>' is missing the following properties from type 'Paramable': [js2npAsm], [np2jsAsm], [np2npAsm]

40 const generateUUID = procHacker.js("Crypto::Random::generateUUID", mce.UUIDWrapper, {structureReturn: true});
                                                                   ~~~~~~~~~~~~~~~

bdsx/nativetype.ts:530:33 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type '[number, (number | undefined)?] | VoidPointer'.
Property '[asm.splitTwo32Bits]' is missing in type 'NativePointer' but required in type 'VoidPointer'.

530 const string_ctor = makefunc.js(proc2['??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@XZ'], void_t, null, VoidPointer);
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/makefunc.ts:1267:9
 1267         [asm.splitTwo32Bits]():[number, number];
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 '[asm.splitTwo32Bits]' is declared here.

bdsx/nativetype.ts:531:33 - error TS2345: Argument of type 'NativePointer' is not assignable to parameter of type '[number, (number | undefined)?] | VoidPointer'.
Type 'NativePointer' is not assignable to type 'VoidPointer'.

531 const string_dtor = makefunc.js(proc['std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy_deallocate'], void_t, null, VoidPointer);
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/nativetype.ts:576:24 - error TS2345: Argument of type '[number, (number | undefined)?] | VoidPointer' is not assignable to parameter of type 'Value64'.
Type '[number, (number | undefined)?]' is not assignable to type 'Value64'.
 Type '[number, (number | undefined)?]' is not assignable to type 'string'.

576             asm.call64(string_dtor.pointer, Register.rax);
                        ~~~~~~~~~~~~~~~~~~~

bdsx/nethook.ts:35:6 - error TS2345: Argument of type 'OnPacketRBP' is not assignable to parameter of type 'NativeClass & Record<"packet", SharedPtr<NativeClass> | null>'.
Type 'OnPacketRBP' is not assignable to type 'Record<"packet", SharedPtr<NativeClass> | null>'.
 Types of property 'packet' are incompatible.
   Type 'SharedPtr<Packet>' is not assignable to type 'SharedPtr<NativeClass>'.
     Type 'Packet' is missing the following properties from type 'NativeClass': [NativeType.size], [NativeType.ctor], [NativeType.dtor], [NativeType.ctor_copy], and 3 more.

35     @nativeField(SharedPtr.make(Packet), 0x50)
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/nethook.ts:35:33 - error TS2345: Argument of type 'typeof Packet' is not assignable to parameter of type 'new () => NativeClass'.
Type 'Packet' is missing the following properties from type 'NativeClass': [NativeType.size], [NativeType.ctor], [NativeType.dtor], [NativeType.ctor_copy], and 3 more.

35     @nativeField(SharedPtr.make(Packet), 0x50)
                                ~~~~~~

bdsx/nethook.ts:36:22 - error TS2344: Type 'Packet' does not satisfy the constraint 'NativeClass'.

36     packet:SharedPtr<Packet>;
                     ~~~~~~

bdsx/nethook.ts:72:45 - error TS2769: No overload matches this call.
Overload 1 of 2, '(allocateItSelf?: boolean | undefined): LoginPacket', gave the following error.
 Argument of type 'StaticPointer' is not assignable to parameter of type 'boolean | undefined'.
   Type 'StaticPointer' is not assignable to type 'true'.
Overload 2 of 2, '(pointerOrBufferItSelf: VoidPointer | null): LoginPacket', gave the following error.
 Argument of type 'StaticPointer' is not assignable to parameter of type 'VoidPointer'.
   Property '[asm.splitTwo32Bits]' is missing in type 'StaticPointer' but required in type 'VoidPointer'.

72         const loginpacket = new LoginPacket(packet);
                                            ~~~~~~

node_modules/bdsx/makefunc.ts:1267:9
 1267         [asm.splitTwo32Bits]():[number, number];
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 '[asm.splitTwo32Bits]' is declared here.

bdsx/nethook.ts:92:20 - error TS2769: No overload matches this call.
Overload 1 of 2, '(allocateItSelf?: boolean | undefined): Packet', gave the following error.
 Argument of type 'StaticPointer' is not assignable to parameter of type 'boolean | undefined'.
   Type 'StaticPointer' is not assignable to type 'true'.
Overload 2 of 2, '(pointerOrBufferItSelf: VoidPointer | null): Packet', gave the following error.
 Argument of type 'StaticPointer' is not assignable to parameter of type 'VoidPointer'.

92         new Packet(packet).sendTo(networkIdentifier, 0);
                   ~~~~~~


bdsx/nethook.ts:287:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

287     asmcode.onPacketRaw = makefunc.np(onPacketRaw, PacketSharedPtr, null, OnPacketRBP, int32_t, NetworkHandler.Connection);
     ~~~~~~~~~~~~~~~~~~~

bdsx/nethook.ts:287:52 - error TS2345: Argument of type 'NativeClassType<SharedPtr<Packet>>' is not assignable to parameter of type 'ParamType'.
Type 'NativeClassType<SharedPtr<Packet>>' is missing the following properties from type 'Paramable': [js2npAsm], [np2jsAsm], [np2npAsm]

287     asmcode.onPacketRaw = makefunc.np(onPacketRaw, PacketSharedPtr, null, OnPacketRBP, int32_t, NetworkHandler.Connection);
                                                    ~~~~~~~~~~~~~~~

bdsx/nethook.ts:297:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

297     asmcode.onPacketBefore = makefunc.np(onPacketBefore, ExtendedStreamReadResult, null, ExtendedStreamReadResult, OnPacketRBP, int32_t);
     ~~~~~~~~~~~~~~~~~~~~~~

bdsx/nethook.ts:297:58 - error TS2345: Argument of type 'typeof ExtendedStreamReadResult' is not assignable to parameter of type 'ParamType'.
Type 'typeof ExtendedStreamReadResult' is missing the following properties from type 'Paramable': [js2npAsm], [np2jsAsm], [np2npAsm]

297     asmcode.onPacketBefore = makefunc.np(onPacketBefore, ExtendedStreamReadResult, null, ExtendedStreamReadResult, OnPacketRBP, int32_t);
                                                          ~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/nethook.ts:324:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

324     asmcode.onPacketAfter = makefunc.np(onPacketAfter, void_t, null, OnPacketRBP, int32_t);
     ~~~~~~~~~~~~~~~~~~~~~

bdsx/nethook.ts:335:68 - error TS2345: Argument of type 'typeof NetworkHandler' is not assignable to parameter of type 'ParamType'.
Type 'typeof NetworkHandler' is missing the following properties from type 'Paramable': [js2npAsm], [np2jsAsm], [np2npAsm]

335     const onPacketSendNp = makefunc.np(onPacketSend, void_t, null, NetworkHandler, NetworkIdentifier, Packet);
                                                                    ~~~~~~~~~~~~~~

bdsx/nethook.ts:336:5 - error TS2322: Type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

336     asmcode.onPacketSend = onPacketSendNp;
     ~~~~~~~~~~~~~~~~~~~~

bdsx/nethook.ts:337:67 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/core").VoidPointer' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/core").VoidPointer'.

337     procHacker.hookingRawWithCallOriginal('NetworkHandler::send', onPacketSendNp, [Register.rcx, Register.rdx, Register.r8, Register.r9], []);
                                                                   ~~~~~~~~~~~~~~

bdsx/nethook.ts:347:80 - error TS2345: Argument of type 'NativeType<void>' is not assignable to parameter of type 'ParamType'.

347     sendInternalOriginal = procHacker.hooking('NetworkHandler::_sendInternal', void_t, null,
                                                                                ~~~~~~

bdsx/rawpacket.ts:71:58 - error TS2345: Argument of type 'import("/home/theevolk/gs/mc/bdsx/pointer").CxxStringWrapper' is not assignable to parameter of type 'import("/home/theevolk/gs/mc/node_modules/bdsx/pointer").CxxStringWrapper'.
Type 'CxxStringWrapper' is missing the following properties from type 'CxxStringWrapper': [NativeType.ctor], [NativeType.dtor], [NativeType.ctor_copy], [NativeType.size], and 3 more.

71         networkHandler.sendInternal(target, this.packet, this.data);
                                                         ~~~~~~~~~

node_modules/bdsx/bds/enumfiller.ts:491:10 - error TS2451: Cannot redeclare block-scoped variable 'MinecraftComponent'.

491     type MinecraftComponent = bedrock_types.MinecraftComponent;
          ~~~~~~~~~~~~~~~~~~

bdsx/bds/enumfiller.ts:491:10
 491     type MinecraftComponent = bedrock_types.MinecraftComponent;
              ~~~~~~~~~~~~~~~~~~
 'MinecraftComponent' was also declared here.
bdsx/bds/enumfiller.ts:497:11
 497     const MinecraftComponent:typeof bedrock_types.MinecraftComponent;
               ~~~~~~~~~~~~~~~~~~
 and here.

node_modules/bdsx/bds/enumfiller.ts:493:10 - error TS2451: Cannot redeclare block-scoped variable 'ReceiveFromMinecraftServer'.

493     type ReceiveFromMinecraftServer = bedrock_types.ReceiveFromMinecraftServer;
          ~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/bds/enumfiller.ts:493:10
 493     type ReceiveFromMinecraftServer = bedrock_types.ReceiveFromMinecraftServer;
              ~~~~~~~~~~~~~~~~~~~~~~~~~~
 'ReceiveFromMinecraftServer' was also declared here.
bdsx/bds/enumfiller.ts:503:11
 503     const ReceiveFromMinecraftServer:typeof bedrock_types.ReceiveFromMinecraftServer;
               ~~~~~~~~~~~~~~~~~~~~~~~~~~
 and here.

node_modules/bdsx/bds/enumfiller.ts:495:10 - error TS2451: Cannot redeclare block-scoped variable 'SendToMinecraftServer'.

495     type SendToMinecraftServer = bedrock_types.SendToMinecraftServer;
          ~~~~~~~~~~~~~~~~~~~~~

bdsx/bds/enumfiller.ts:495:10
 495     type SendToMinecraftServer = bedrock_types.SendToMinecraftServer;
              ~~~~~~~~~~~~~~~~~~~~~
 'SendToMinecraftServer' was also declared here.
bdsx/bds/enumfiller.ts:505:11
 505     const SendToMinecraftServer:typeof bedrock_types.SendToMinecraftServer;
               ~~~~~~~~~~~~~~~~~~~~~
 and here.

node_modules/bdsx/bds/enumfiller.ts:497:11 - error TS2451: Cannot redeclare block-scoped variable 'MinecraftComponent'.

497     const MinecraftComponent:typeof bedrock_types.MinecraftComponent;
           ~~~~~~~~~~~~~~~~~~

bdsx/bds/enumfiller.ts:491:10
 491     type MinecraftComponent = bedrock_types.MinecraftComponent;
              ~~~~~~~~~~~~~~~~~~
 'MinecraftComponent' was also declared here.
bdsx/bds/enumfiller.ts:497:11
 497     const MinecraftComponent:typeof bedrock_types.MinecraftComponent;
               ~~~~~~~~~~~~~~~~~~
 and here.

node_modules/bdsx/bds/enumfiller.ts:499:11 - error TS2451: Cannot redeclare block-scoped variable 'MinecraftDimension'.

499     const MinecraftDimension:typeof bedrock_types.MinecraftDimension;
           ~~~~~~~~~~~~~~~~~~

bdsx/bds/enumfiller.ts:499:11
 499     const MinecraftDimension:typeof bedrock_types.MinecraftDimension;
               ~~~~~~~~~~~~~~~~~~
 'MinecraftDimension' was also declared here.

node_modules/bdsx/bds/enumfiller.ts:501:11 - error TS2451: Cannot redeclare block-scoped variable 'MinecraftParticleEffect'.

501     const MinecraftParticleEffect:typeof bedrock_types.MinecraftParticleEffect;
           ~~~~~~~~~~~~~~~~~~~~~~~

bdsx/externs/particle.d.ts:184:10
 184     type MinecraftParticleEffect = keyof MinecraftParticleEffectMap;
              ~~~~~~~~~~~~~~~~~~~~~~~
 'MinecraftParticleEffect' was also declared here.
bdsx/bds/enumfiller.ts:501:11
 501     const MinecraftParticleEffect:typeof bedrock_types.MinecraftParticleEffect;
               ~~~~~~~~~~~~~~~~~~~~~~~
 and here.

node_modules/bdsx/bds/enumfiller.ts:503:11 - error TS2451: Cannot redeclare block-scoped variable 'ReceiveFromMinecraftServer'.

503     const ReceiveFromMinecraftServer:typeof bedrock_types.ReceiveFromMinecraftServer;
           ~~~~~~~~~~~~~~~~~~~~~~~~~~

bdsx/bds/enumfiller.ts:493:10
 493     type ReceiveFromMinecraftServer = bedrock_types.ReceiveFromMinecraftServer;
              ~~~~~~~~~~~~~~~~~~~~~~~~~~
 'ReceiveFromMinecraftServer' was also declared here.
bdsx/bds/enumfiller.ts:503:11
 503     const ReceiveFromMinecraftServer:typeof bedrock_types.ReceiveFromMinecraftServer;
               ~~~~~~~~~~~~~~~~~~~~~~~~~~
 and here.

node_modules/bdsx/bds/enumfiller.ts:505:11 - error TS2451: Cannot redeclare block-scoped variable 'SendToMinecraftServer'.

505     const SendToMinecraftServer:typeof bedrock_types.SendToMinecraftServer;
           ~~~~~~~~~~~~~~~~~~~~~

bdsx/bds/enumfiller.ts:495:10
 495     type SendToMinecraftServer = bedrock_types.SendToMinecraftServer;
              ~~~~~~~~~~~~~~~~~~~~~
 'SendToMinecraftServer' was also declared here.
bdsx/bds/enumfiller.ts:505:11
 505     const SendToMinecraftServer:typeof bedrock_types.SendToMinecraftServer;
               ~~~~~~~~~~~~~~~~~~~~~
 and here.

node_modules/bdsx/externs/generated.addons.d.ts:563:6 - error TS2300: Duplicate identifier 'BlockId'.

563 type BlockId = keyof BlockIdMap;
      ~~~~~~~

bdsx/externs/generated.addons.d.ts:563:6
 563 type BlockId = keyof BlockIdMap;
          ~~~~~~~
 'BlockId' was also declared here.

node_modules/bdsx/externs/generated.addons.d.ts:683:6 - error TS2300: Duplicate identifier 'EntityId'.

683 type EntityId = keyof EntityIdMap;
      ~~~~~~~~

bdsx/externs/generated.addons.d.ts:683:6
 683 type EntityId = keyof EntityIdMap;
          ~~~~~~~~
 'EntityId' was also declared here.

node_modules/bdsx/externs/generated.addons.d.ts:719:6 - error TS2300: Duplicate identifier 'MinecraftDamageSource'.

719 type MinecraftDamageSource = keyof MinecraftDamageSourceMap;
      ~~~~~~~~~~~~~~~~~~~~~

bdsx/externs/generated.addons.d.ts:719:6
 719 type MinecraftDamageSource = keyof MinecraftDamageSourceMap;
          ~~~~~~~~~~~~~~~~~~~~~
 'MinecraftDamageSource' was also declared here.

node_modules/bdsx/externs/generated.addons.d.ts:1612:6 - error TS2300: Duplicate identifier 'ItemId'.

1612 type ItemId = keyof ItemIdMap;
       ~~~~~~

bdsx/externs/generated.addons.d.ts:1612:6
 1612 type ItemId = keyof ItemIdMap;
           ~~~~~~
 'ItemId' was also declared here.

node_modules/bdsx/externs/generated.scripting.d.ts:6:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: ITickingArea, ITickingAreasComponent, IArmorContainerComponent, IContainerComponent, IHandContainerComponent, IHotbarContainerComponent, IInventoryContainerComponent, ITagComponent

6 declare global {
~~~~~~~

bdsx/externs/generated.scripting.d.ts:6:1
 6 declare global {
   ~~~~~~~
 Conflicts are in this file.

node_modules/bdsx/externs/particle.d.ts:184:10 - error TS2451: Cannot redeclare block-scoped variable 'MinecraftParticleEffect'.

184     type MinecraftParticleEffect = keyof MinecraftParticleEffectMap;
          ~~~~~~~~~~~~~~~~~~~~~~~

bdsx/externs/particle.d.ts:184:10
 184     type MinecraftParticleEffect = keyof MinecraftParticleEffectMap;
              ~~~~~~~~~~~~~~~~~~~~~~~
 'MinecraftParticleEffect' was also declared here.
bdsx/bds/enumfiller.ts:501:11
 501     const MinecraftParticleEffect:typeof bedrock_types.MinecraftParticleEffect;
               ~~~~~~~~~~~~~~~~~~~~~~~
 and here.

node_modules/bdsx/externs/scripting-extra.d.ts:4:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: MinecraftComponentName, MinecraftComponentTypeMap, VectorArray, MinecraftDimension, ILookAtComponent, IDisplayChatParameters, IBlockStateComponent, MinecraftServerEventName, MinecraftClientEventName, server

4 declare global
~~~~~~~

bdsx/externs/scripting-extra.d.ts:4:1
 4 declare global
   ~~~~~~~
 Conflicts are in this file.

node_modules/bdsx/externs/scripting-extra.d.ts:202:10 - error TS2451: Cannot redeclare block-scoped variable 'MinecraftDimension'.

202     type MinecraftDimension = 'overworld' | 'nether' | 'the end';
          ~~~~~~~~~~~~~~~~~~

bdsx/bds/enumfiller.ts:499:11
 499     const MinecraftDimension:typeof bedrock_types.MinecraftDimension;
               ~~~~~~~~~~~~~~~~~~
 'MinecraftDimension' was also declared here.

node_modules/bdsx/index.ts:3:9 - error TS2451: Cannot redeclare block-scoped variable 'bdsx'.

3     let bdsx:boolean|undefined;
       ~~~~

bdsx/index.ts:3:9
 3     let bdsx:boolean|undefined;
           ~~~~
 'bdsx' was also declared here.

node_modules/bdsx/launcher.ts:32:18 - error TS2451: Cannot redeclare block-scoped variable 'brightRed'.

32     export const brightRed:Color;
                 ~~~~~~~~~

bdsx/launcher.ts:32:18
 32     export const brightRed:Color;
                     ~~~~~~~~~
 'brightRed' was also declared here.

node_modules/bdsx/launcher.ts:33:18 - error TS2451: Cannot redeclare block-scoped variable 'brightGreen'.

33     export const brightGreen:Color;
                 ~~~~~~~~~~~

bdsx/launcher.ts:33:18
 33     export const brightGreen:Color;
                     ~~~~~~~~~~~
 'brightGreen' was also declared here.

node_modules/bdsx/launcher.ts:34:18 - error TS2451: Cannot redeclare block-scoped variable 'brightYellow'.

34     export const brightYellow:Color;
                 ~~~~~~~~~~~~

bdsx/launcher.ts:34:18
 34     export const brightYellow:Color;
                     ~~~~~~~~~~~~
 'brightYellow' was also declared here.

node_modules/bdsx/launcher.ts:35:18 - error TS2451: Cannot redeclare block-scoped variable 'brightBlue'.

35     export const brightBlue:Color;
                 ~~~~~~~~~~

bdsx/launcher.ts:35:18
 35     export const brightBlue:Color;
                     ~~~~~~~~~~
 'brightBlue' was also declared here.

node_modules/bdsx/launcher.ts:36:18 - error TS2451: Cannot redeclare block-scoped variable 'brightMagenta'.

36     export const brightMagenta:Color;
                 ~~~~~~~~~~~~~

bdsx/launcher.ts:36:18
 36     export const brightMagenta:Color;
                     ~~~~~~~~~~~~~
 'brightMagenta' was also declared here.

node_modules/bdsx/launcher.ts:37:18 - error TS2451: Cannot redeclare block-scoped variable 'brightCyan'.

37     export const brightCyan:Color;
                 ~~~~~~~~~~

bdsx/launcher.ts:37:18
 37     export const brightCyan:Color;
                     ~~~~~~~~~~
 'brightCyan' was also declared here.

node_modules/bdsx/launcher.ts:38:18 - error TS2451: Cannot redeclare block-scoped variable 'brightWhite'.

38     export const brightWhite:Color;
                 ~~~~~~~~~~~

bdsx/launcher.ts:38:18
 38     export const brightWhite:Color;
                     ~~~~~~~~~~~
 'brightWhite' was also declared here.

[12:00:35 PM] Found 211 errors. Watching for file changes.`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.