Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 03:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[NodeJS] Proxy / Filter framework.

Discussion on [NodeJS] Proxy / Filter framework. within the SRO Coding Corner forum part of the Silkroad Online category.

Closed Thread
 
Old   #1

 
Otakanikaru's Avatar
 
elite*gold: 133
Join Date: Nov 2013
Posts: 454
Received Thanks: 455
[NodeJS] Proxy / Filter framework.

node-sro-proxy

SOURCE:

What is it?
  • Filter/Proxy framework written in ES6+ JavaScript using BabelJS and NodeJS v14+.
  • This is designed to definitely be the easiest way of getting your own edits/custom stuff running.
  • Connection is as stable and smooth like there "would be no proxy" when running in production.
  • GatewayServer, AgentServer, DownloadServer filters with configuration.
  • IP:PORT redirection system for multiple DownloadServer, AgentServer.
  • Unlimited connections (RAM, CPU is your limit) - very low usage.
  • Special API designed to allow easily implementing new back-end features or packet handles.
  • Session detection (online/offline), updating in database, recording users to rows.
  • Web APIs providing full CRUD over entire VSRO database.
  • Multiple pre-built controllers to help getting you started creating new content straight away.
  • Some fun stuff like modified weather packet (see src/controllers).

Basic Architecture


Prerequesities
- Extract data folder from to the project root (.bin files are for IP geolocation and Proxy).
- Inject HWID.dll from HWID_DLL into your client (comes from isolines SR_Proxy).
- NodeJS LTS:
- Silkroad Online game client & server (project is aligned with VSRO188).
- Yarn package manager: npm i -g yarn

Setup
- Install rpm dependencies with yarn --ignore-scripts.
- Setup src/config/AgentServer.js, src/config/GatewayServer.js and src/config/DownloadServer.js accordingly or use ENV.
- Rename src/config/Database.js.example to Database.js and configure accordingly.
- Run yarn install:db to create (or drop & create again) the initial database.

Launch in development mode
GatewayServer yarn dev:GatewayServer
AgentServer yarn dev:AgentServer
DownloadServer yarn devownloadServer

Launch in production mode
- GatewayServer yarn GatewayServer
- AgentServer yarn AgentServer
- DownloadServer yarn DownloadServer

Other launching options:
- See .bat or .sh files for use-cases.

Create optimised production build: yarn build

What else?
  • packet docs
  • silkroad-security
  • SequelizeJS (for MSSQL)

Contributions?
  • For bug reporting use issues.
  • For code contributions do a pull request.

Built with ♡ by Artuuro @
Otakanikaru is offline  
Thanks
2 Users
Old 01/20/2021, 22:56   #2
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,841
Received Thanks: 4,675
Duplicated Thread: please use this one.
Devsome is offline  
Closed Thread

Tags
nodejs


Similar Threads Similar Threads
[WIP] node-sr-proxy (NodeJS silkroad proxy)
08/08/2022 - SRO Coding Corner - 10 Replies
NodeJS based packet interceptor & middle-ware layer for MMORPG Silkroad Online Game Client <---> Server. Public version repo: https://gitlab.com/sroparadise/node-sro_proxy Features - Packet whitelisting - Packet intercepting & manipulation - Multi module - Fully ECMAScript 9 - Basic middlewares:
[SRC] NodeJS filter/proxy starter
07/31/2020 - SRO PServer Guides & Releases - 14 Replies
#MOVED https://www.elitepvpers.com/forum/sro-coding-corn er/4793525-wip-node-sr-proxy-nodejs-silkroad-proxy .html - close this thread if ya want.
[RELEASE] Alexya Framework - Lightweigh PHP Framework
07/13/2015 - Coding Releases - 2 Replies
Hi! I've just finished a framework I was working on and decided to release it. I'll put the github link over here: https://github.com/manulaiko/alexya and you'll check it, once I get back home I'll post a tutorial. See you!



All times are GMT +1. The time now is 03:49.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.