Register for your free account! | Forgot your password?

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

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

Advertisement



[WIP] node-sr-proxy (NodeJS silkroad proxy)

Discussion on [WIP] node-sr-proxy (NodeJS silkroad proxy) within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1

 
Otakanikaru's Avatar
 
elite*gold: 133
Join Date: Nov 2013
Posts: 454
Received Thanks: 455
OpenSource NodeJS proxy

NodeJS based packet interceptor & middle-ware layer for MMORPG Silkroad Online Game Client <---> Server.

Public version repo:

Features
- Packet whitelisting
- Packet intercepting & manipulation
- Multi module
- Fully ECMAScript 9
- Basic middlewares:
  • Auto-Captcha (see config/Gateway.js)
  • AgentServer redirection
  • Client handshake blocker

Prerequesities
- NodeJS LTS:
- Silkroad Online game client & server (theoretically any version).
- Yarn package manager:
Code:
npm i -g yarn
- PM2
Code:
yarn add -g pm2
Setup
Install dependencies
Code:
yarn
- Configure module files accordingly at
Code:
src/config/
- Write middlewares by example from
Code:
src/controllers/.
Launch development mode
GatewayServer
Code:
yarn dev:GatewayServer
AgentServer
Code:
yarn dev:AgentServer
DownloadServer
Code:
yarn dev:DownloadServer
Launch production mode
GatewayServer
Code:
yarn GatewayServer
AgentServer
Code:
yarn AgentServer
DownloadServer
Code:
yarn DownloadServer
All at once
Code:
pm2 start
&&
Code:
pm2 dashboard
Production Build
Code:
yarn build
What else?
- packet docs
- silkroad-security

Wish to contribute?
- For bug reporting use issues.
- For code contributions do a pull request.

Built with ♡ by Artuuro @
Otakanikaru is offline  
Thanks
6 Users
Old 08/19/2020, 17:34   #2

 
Otakanikaru's Avatar
 
elite*gold: 133
Join Date: Nov 2013
Posts: 454
Received Thanks: 455


This is the private version running in production.
Attached Images
File Type: jpg Screenshot_11.jpg (192.0 KB, 1249 views)
Otakanikaru is offline  
Thanks
1 User
Old 08/31/2020, 20:10   #3
 
elite*gold: 0
Join Date: Jun 2008
Posts: 200
Received Thanks: 22
Found one thingy, bug or not, which is, all users are being redirected to agent with proxy-server ip, which means you have to add proxy-server ip in privileged ip table in order to log in as admin, which means, anyone who knows admin login/password can log in game with it.
lolixxx is offline  
Old 01/28/2021, 20:15   #4
 
elite*gold: 0
Join Date: Jul 2020
Posts: 164
Received Thanks: 15
Error: ENOENT: no such file or directory, open 'C:\Users\Administrator\Desktop\node-sro-proxy-master\data\IP_LOCATION.bin


any idea please ?
kotsh23 is offline  
Old 01/30/2021, 16:59   #5

 
Otakanikaru's Avatar
 
elite*gold: 133
Join Date: Nov 2013
Posts: 454
Received Thanks: 455
Quote:
Originally Posted by kotsh23 View Post
Error: ENOENT: no such file or directory, open 'C:\Users\Administrator\Desktop\node-sro-proxy-master\data\IP_LOCATION.bin


any idea please ?
You need to download these files and extract in the data folder.
Read the gitlab README.md file, everything's explained.
Otakanikaru is offline  
Old 01/30/2021, 18:51   #6
 
elite*gold: 0
Join Date: Jul 2020
Posts: 164
Received Thanks: 15
Quote:
Originally Posted by Artuuro_lv View Post
You need to download these files and extract in the data folder.
Read the gitlab README.md file, everything's explained.
yea i did thats but this file not found please check it
kotsh23 is offline  
Old 03/10/2021, 19:16   #7
 
elite*gold: 0
Join Date: Nov 2010
Posts: 132
Received Thanks: 10
how i cant compile it ? i downloaded jdk jse vs vs. but i cant make
kanka5252 is offline  
Old 05/13/2021, 17:04   #8
 
elite*gold: 0
Join Date: Jul 2020
Posts: 164
Received Thanks: 15
Hello bro
first i want to thank you for your hard work

i just learned somethings in Node js and i loved it

and when i saw your filter its impressive

i tried to make it work but i got error
Quote:
PS C:\Users\Administrator\Desktop\Node Filter\node-sro-proxy> yarn install:db
yarn run v1.22.10
$ cross-env MODULE=CreateDB npm-run-all dev
$ nodemon
[nodemon] 1.19.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): src\**\*
[nodemon] watching extensions: js
[nodemon] starting `yarn server:dev`
$ cross-env NODE_ENV=development npm-run-all server
$ babel-node ./src/index
[CreateDB]->(UnhandledRejection)->[object Promise]
[CreateDB]->(PromiseError)->Error: Error: Failed to retrieve SQL adapter instance!
[nodemon] clean exit - waiting for changes before restart

FIX : Create DB manual , SRO_PROXY_TEST
if you using special port for database connection , you have to edit constructor of , lib/SqlAdapter.js
we just add port var

Quote:
constructor({ host, database, username, password, port, dialect = 'mssql', pool }, models) {
this.models = models;
this.database = new Sequelize(
database,
username,
password,
{
host,
port,
dialect,
logging: false
},


);
}

and dont forget to add port value in Database.js object
Quote:
export default {
host: '127.0.0.1', // Remote or local hostname
username: 'DBUSER', // DB Username
password: 'DBPW' , // DB Password
port: '1234'
};
kotsh23 is offline  
Old 12/29/2021, 11:41   #9
 
elite*gold: 0
Join Date: May 2016
Posts: 119
Received Thanks: 9
any news ?
asda2story2 is offline  
Old 08/05/2022, 05:49   #10
 
elite*gold: 0
Join Date: Mar 2022
Posts: 21
Received Thanks: 3
is dead.
Where can I download that data ?
Hoangnguyen1008 is offline  
Thanks
1 User
Old 08/08/2022, 21:05   #11
 
elite*gold: 0
Join Date: Jul 2020
Posts: 164
Received Thanks: 15
HELP PLEASE WE NEED DATA.RAR
kotsh23 is offline  
Reply


Similar Threads Similar Threads
[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.
[NodeJS] Silkroad Security API + clientless example
05/01/2020 - SRO Coding Corner - 5 Replies
Hello everyone, Just releasing my Silkroad Security API wrapper for node.js, it's not something big but you can do whatever you want with it, first of all I was rewritting all SilkroadSecurityAPI with javascript but it wasn't stable so I prefered to use the current API written in C++, biggest credits goes to Drew and WeeMan. With this lib you can do whatever you want, I did a proxy but have to test all the performance, also a real clientless, moving share ect.. from a website. It can...
[PHP] [NODE.JS][SOCKET.IO] Steve - Twitch BOT [NODE.JS][SOCKET.IO][PHP]
07/18/2015 - Web Development - 0 Replies
//Falsche Sektion? Dann bitte ich einen Moderatoren meinen Thread in die richtige Sektion zu verschieben. Danke! Steve Was genau ist Steve? Steve ist ein Aufpasser, ein visionär! Im endeffekt tut er das selbe wie die anderen Twitch Bot's. Er achtet auf jede Kleinigkeit und sorgt dafür, dass ruhe und frieden im Chat herrscht, damit jeder einen angenehmen Stream genießen kann. Welche Funktionen wird Steve beinhalten? Jeder Benutzer hat ein freundliches Benutzerinterface, wo er den Bot...
sro.js Silkroad Security in JavaScript with Node.js
04/20/2013 - SRO Coding Corner - 0 Replies
This is a simple port of pushedx SilkroadSecurity class to javascript. You will need nodejs with the "long" packet for 64bit int support. You can install the "long" packet with the packetmanager "npm". To run it simply run the "sro.js" file with node. Code is horrible, but works. Download : Here
NodeJS Arcade Game Website
09/25/2012 - Web Development - 5 Replies
Ihr alle kennt sie, Flashgame Webseiten... Die Scripts gibts überall, sie sind vollautomatisch, bringen den Betreibern Geld ein und sind vor allem eins; Web 1.0 ... Flash ist tot, und da sich jede Laberbacke das Maul aufreisst über Flash, aber niemand die Marktlücke anpackt habe ich folgende Idee. Ich habe in letzter Zeit mehrere kleine Spiele in NodeJS angefangen. Alle sind Multiplayertauglich und machen schon für kurze Zeit & länger Spass. Ich möchte nun eine dieser Flashgame Seiten...



All times are GMT +1. The time now is 13:10.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.