Coder Social home page Coder Social logo

lucianms's Introduction

LucianMS

Now known as Chirithy!
Java 8 and above is required so long as the Nashorn Script Engine is available.
I'm look at you Java 11 (They deprecated the feature).

Starting the server

Understand the bound ports

This server emulator is required to run as two separate JVM processes.
One for the Login Server (default bound to port 8484) and one for the Channel Server (default bound to 7575 + i + (n * 100)) where i is the Channel ID and n is the World ID.
The default ports (8484 and 7575) can be configured via server-config.json but the channel port calculation remains the same.
Be sure to un-block the Login Server and Channel Server range of TCP ports from your in-bound firewall rules.

If using a Discord bot, the bound port is 8483 and should not be allowed through firewall.

All three of these processes a currently programmed to run on the same system as they connect and communicate via localized network connections and raw packet data (No packet encryption modifications are used whatsoever as data is transferred through the local network).


Creating your .bat file

Your most basic command line with required arguments for starting a server JVM is as follows:

java -jar SERVER.jar -Dwzpath=wz -Dnashorn.args=--language=es6
  • -jar SERVER.jar runs the JAR file as an executable file where SERVER.jar is to be replaced with the path to your compiled JAR file for your login and channel server
  • -Dwzpath=wz creates a System property called wzpath and assigns the value wz
  • -Dnashorn.args=--language=es6 creates a System property which enables some ES6 features in the JDK8+ script engine processor

Utilizing the new encryption

Under your server-config.json properties, should the UseNewEncryption property be assigned to true, your game client localhost will need to update its IGCipher hash numbers.
In the IGCipher client functions, the number will need to be changed from F25350C6 to FF11252D. Note: These numbers are represented in the Big Endian format in the client, and Little Endian in the server.

lucianms's People

Contributors

anzodkk avatar ericsofttm avatar izarooni avatar smwlucaso avatar

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.