Jump to content
RAGE Multiplayer Community

Open source Role Play server


MarkCavalli

Recommended Posts

Hi everyone!

Two words about me:

My name is Mark. Im working as junior fronted developer.

 

What is this?

My open source role play server. I think, it can help some new developers learn and start a project.

I'll develop it via github: https://github.com/MarkCavalli/rageserver

I will be glad to see any improvements: code review, pull requests, language improvements (My native language is Russian).

Also you can quickly connect and test it :)

 

 

How to install:

https://github.com/MarkCavalli/rageserver

 

Features:


Log In/Sign Up Module

iuWPngh.png

yBnjqci.png

Server saves player's position on disconnect.

(/save) command for development simulate disconnect.

 

MoneyAPI Module

-bank account and tax account.

- ATMs

dZpmHfb.png

 

Character Creator Module

fHotEnX.jpg

HDyC3tC.jpg

 

Jobs:

- Orange Collector

m6brPNA.jpg

 

Businesses:

- Clothing Shops

LZBByXX.jpg

IskPEtw.jpg

Future plans:

- New jobs

 

Edited by MarkCavalli
Updates
  • Like 29
Link to comment
Share on other sites

Loading packages
        "RP" loaded
Error: Error: Cannot find module 'mysql'
    at Function.Module._resolveFilename (module.js:542:15)
    at Function.Module._load (module.js:472:25)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\RAGEMP\server-files\packages\RP\sMisc.js:3:15)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)

  • Like 1
Link to comment
Share on other sites

28 minutes ago, lagmb said:

Loading packages
        "RP" loaded
Error: Error: Cannot find module 'mysql'
    at Function.Module._resolveFilename (module.js:542:15)
    at Function.Module._load (module.js:472:25)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\RAGEMP\server-files\packages\RP\sMisc.js:3:15)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)

You haven't downloaded the modules.

Install NPM, once you've installed it, open Command and change your directory to that folder and then type 'npm install' and it should get all the required files.

  • Like 1
Link to comment
Share on other sites

I did all this, but it's giving this error

 

1 hour ago, MrPancakers said:

You haven't downloaded the modules.

Install NPM, once you've installed it, open Command and change your directory to that folder and then type 'npm install' and it should get all the required files.

I did all this, but it's giving this error

C:\Users\Eduardo>cd/ragemp/server-files

C:\RAGEMP\server-files>npm install
npm WARN saveError ENOENT: no such file or directory, open 'C:\RAGEMP\server-files\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\RAGEMP\server-files\package.json'
npm WARN server-files No description
npm WARN server-files No repository field.
npm WARN server-files No README data
npm WARN server-files No license field.

up to date in 0.055s

C:\RAGEMP\server-files>

Edited by lagmb
  • Like 1
Link to comment
Share on other sites

4 часа назад, lagmb сказал:

C:\Users\Eduardo>cd/ragemp/server-files

C:\RAGEMP\server-files>npm install
npm WARN saveError ENOENT: no such file or directory, open 'C:\RAGEMP\server-files\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\RAGEMP\server-files\package.json'
npm WARN server-files No description
npm WARN server-files No repository field.
npm WARN server-files No README data
npm WARN server-files No license field.

Im sorry, dont tested installation.

Try copy the files and then

npm install mysql

____________________________________

Added package.json file in repository.

Edited by MarkCavalli
update
  • Like 1
  • Mask 1
Link to comment
Share on other sites

12 hours ago, lagmb said:

I did all this, but it's giving this error

 

I did all this, but it's giving this error

C:\Users\Eduardo>cd/ragemp/server-files

C:\RAGEMP\server-files>npm install
npm WARN saveError ENOENT: no such file or directory, open 'C:\RAGEMP\server-files\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\RAGEMP\server-files\package.json'
npm WARN server-files No description
npm WARN server-files No repository field.
npm WARN server-files No README data
npm WARN server-files No license field.

up to date in 0.055s

C:\RAGEMP\server-files>

Oh package.json wasn't there before that's why. I see he's added it back now so either do what he said or pull the repo again and try it.

  • Like 1
Link to comment
Share on other sites

  • Joshua featured and unfeatured this topic

New Update!

Changelog:

- added synced time 

- added RolePlay chat 

- added realistic weather (60% sunny and logic change from sunny to thunder)

- added logger [file and console]

- added 1 column in users - adminlvl

-added commands:

/v [model] - spawns a vehicle (e.g. /v neon)

(only for adminlvl > 0/w [weather] - changes weather (e.g. /w 0) (Weathers you can find in sWeather.js

(only for adminlvl > 0/pos - shows your position and rotation (In chat and console)

_48cb95ad8841e7194c95e63cfccfe01c.jpeg

Edited by MarkCavalli
  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...