GithubHelp home page GithubHelp logo

aaditya / sbrw-server Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 3.0 1.31 MB

SBRW server port in NodeJS.

License: GNU General Public License v3.0

JavaScript 11.60% EJS 88.40%
nfsw-server nfsworld nfsw nodejs javascript multiplayer-game multiplayer-game-server sbrw soapbox-race soap-box-race

sbrw-server's Introduction

SBRW Server

dependencies Status Maintenance GitHub license

Overview

This is a compatible server implementation for Need For Speed World and borrows a lot of references from the SoapBox RaceWorld Project. It still is a work in progress and still has a lot of stuff which needs to be taken care of. So far the game loads into the login screen and can create driver (persona). Need to create the logic for other stuff as well.

This uses NoSQL DB paradigm so everything needs to be reworked from the original SBRW project accordingly.

Requirements

  • NodeJS (v12+)

  • MongoDB

Setup

Create a file .env in the root directory with content as follows:

NODE_ENV=development
PORT=8680
SECRET_KEY=<Token Signing Key>
MONGO_URI=<MongoDB URI>
ENABLE_UDP=false
CRYPT_KEY=<32 character string for encryption>

Installation and Running

npm i

In Development Mode npm run start-dev

In Production Mode npm start (You have to set up environment variables accordingly)

Contributing

  • Fork this repository.

  • Create a branch with name as per your feature/issue.

  • Commit the code and raise a pull request.

  • Wait for code review and further actions.

Notes

You might want to use the sister repo sbrw-capture to monitor the requests' data and appropriate response from this server or any other sbrw server.

You might want to change linting rules for line break according to your OS.

sbrw-server's People

Contributors

aaditya avatar dependabot[bot] avatar tanmayvij avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sbrw-server's Issues

Add account based telemetry.

For every login and logout, save the timestamps and the client data, whichever is possible to keep a track for fraudulent activity tracking.

Add a chat server.

NFSW uses an XMPP server for it's internal chat, need to incorporate it in the server.

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.