Giter VIP home page Giter VIP logo

net64plus-server's Introduction

Hi ๐Ÿ‘‹! My name is Mario and I'm a software engineer from Germany

stats graph languages graph

rust logo typescript logo javascript logo

nodejs logo html5 logo css3 logo angularjs logo react logo svelte logo jest logo graphql logo electron logo sass logo webpack logo

linux logo docker logo debian logo ubuntu logo postgresql logo mongodb logo git logo github logo vscode logo

net64plus-server's People

Contributors

henrik0x7f avatar tarnadas avatar unseenfaith 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

Watchers

 avatar  avatar  avatar  avatar  avatar

net64plus-server's Issues

Error: Cannot find module '../dist/bindings/cws_linux_83'

I actually already have the fix for this, I'm just too lazy to use git so I figured I'd leave a comment.

One of the dependencies, clusterws (cws) deprecated versions 1 and 2 of their package and they no longer work with node versions above 14 (the latest lts is 14 something and the latest is on 16 now). Net64's server uses version 1. To fix this edit package.json and go down to dependencies.

Where you see "@clusterws/cws": "^1"

Change this to

"@clusterws/cws": "3.0.0"

Then run yarn install and it will update it. I've tested it and version 3.0.0 works with the the latest lts (14) and will allow you to keep your node up to date without having to downgrade to 13 or lower.

If the admin sees this you could test it and update package.json's cws to 3.0.0. Again, I'm too lazy to make use git.

Disable Gamemode Voting

I can't disable gamemode voting in 2.2.0, even with this in settings.json :
"enableGamemodeVote": false,

"Connection timeout" issue

When I port forward, it works when I join to host. When other people attempt to join however, they have something that says "connection timeout". This is shown for everyone that attempts to join my server. It seems that some other people have this issue too. Best of luck fixing this!

Erros on startup

On linux debian 9.7 i got problems to start the server.
Tested with npm 8 and npm 11, also with version 2.2.2

[at-loader] Checking finished with 8 errors
Hash: a205a4ed1b8b7a427140
Version: webpack 3.12.0
Child
Hash: a205a4ed1b8b7a427140
Time: 18648ms
Asset Size Chunks Chunk Names
index.js 1.11 MB 0 [emitted] [big] main
[0] ./src/globals.ts 285 bytes {0} [built]
[1] ./src/proto/ServerClientMessage.js 220 kB {0} [built]
[5] ./src/models/Connection.model.ts 354 bytes {0} [built]
[6] ./src/models/Settings.model.ts 475 bytes {0} [built]
[7] ./src/index.ts 2.4 kB {0} [built]
[8] ./src/WebSocketServer.ts 14.6 kB {0} [built]
[9] ./src/Client.ts 19.1 kB {0} [built]
[10] ./src/Identity.ts 7.25 kB {0} [built]
[11] ./src/Player.ts 1.19 kB {0} [built]
[13] ./src/proto/ClientServerMessage.js 127 kB {0} [built]
[16] ./src/MetaData.ts 1.17 kB {0} [built]
[18] ./src/Command.ts 10.2 kB {0} [built]
[19] ./src/Vote.ts 2.45 kB {0} [built]
[21] ./src/WebHook.ts 2.5 kB {0} [built]
[22] ./src/Arguments.ts 2.67 kB {0} [built]
+ 11 hidden modules

ERROR in [at-loader] ./node_modules/jest-mock-axios/dist/lib/mock-axios-type                                                                                                                                                             s.d.ts:27:10
    TS2707: Generic type 'Mock<T>' requires between 0 and 1 type arguments.

ERROR in [at-loader] ./node_modules/jest-mock-axios/dist/lib/mock-axios-type                                                                                                                                                             s.d.ts:28:11
    TS2707: Generic type 'Mock<T>' requires between 0 and 1 type arguments.

ERROR in [at-loader] ./node_modules/jest-mock-axios/dist/lib/mock-axios-type                                                                                                                                                             s.d.ts:29:10
    TS2707: Generic type 'Mock<T>' requires between 0 and 1 type arguments.

ERROR in [at-loader] ./node_modules/jest-mock-axios/dist/lib/mock-axios-type                                                                                                                                                             s.d.ts:30:12
    TS2707: Generic type 'Mock<T>' requires between 0 and 1 type arguments.

ERROR in [at-loader] ./node_modules/jest-mock-axios/dist/lib/mock-axios-type                                                                                                                                                             s.d.ts:31:13
    TS2707: Generic type 'Mock<T>' requires between 0 and 1 type arguments.

ERROR in [at-loader] ./node_modules/jest-mock-axios/dist/lib/mock-axios-type                                                                                                                                                             s.d.ts:32:11
    TS2707: Generic type 'Mock<T>' requires between 0 and 1 type arguments.

ERROR in [at-loader] ./node_modules/jest-mock-axios/dist/lib/mock-axios-type                                                                                                                                                             s.d.ts:33:14
    TS2707: Generic type 'Mock<T>' requires between 0 and 1 type arguments.

ERROR in [at-loader] ./node_modules/jest-mock-axios/dist/lib/mock-axios-type                                                                                                                                                             s.d.ts:35:13
    TS2707: Generic type 'Mock<T>' requires between 0 and 1 type arguments.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build:dev: webpack --env=dev
npm ERR! Exit status 2
npm ERR!

Problem with joining as Mario

I set up 3 Net64 servers on the same computer. 2 of these is 2.1.0 server. One of them is password-protected, and it works fine, but the other one is a public server, and I tried to join with Mario, and the server client gave me this.
Error: Player object could not be created, because characterId is null
at Client.createPlayerObject (D:\NET64\net64plus-server-master\net64plus-server-master\dist\index.js:6851:40)
at Client.onHandshake (D:\NET64\net64plus-server-master\net64plus-server-master\dist\index.js:6842:18)
at Client.onMessage (D:\NET64\net64plus-server-master\net64plus-server-master\dist\index.js:6758:26)
at onServerMessage (D:\NET64\net64plus-server-master\net64plus-server-master\node_modules\uws\uws.js:21:15)
But when I tried to join as Luigi, it worked fine.

ERR: NO SCRIPT

I'm trying to host my own server with auto restarts as you showed, but when I do $ npm run build I always get this:
npm ERR! missing script: build
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Jack\AppData\Roaming\npm-cache_logs\2018-05-16T21_35_28_387Z-debug.log

Client crashes when connecting to Linux server

I've been trying to connect to my server and it keeps crashing Net64 as well as the emulator. This only happens when I specifically connect to my server. I've forwarded all the port I need to (TCP 3678).

-- Server --
OS: Debian 9
CPU: N/A
RAM: 1GB
IP: net64.xnium.ca

De-obfuscated server executable?

Suppose i know Javascript (I do) and wanted to modify the server's code (eg. to add custom commands and such), is there a de-obfuscated version of the server executable or another way i may add this sort of functionality? Since the server controls the chat, it should be possible to implement all sorts of server-side plugins, much like what was done with many minecraft servers.

Webhook

Just asking, but how do I setup a Net64+ server webhook?

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.