MarkCavalli

Open source Role Play server

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 24

Share this post


Link to post
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)

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Interesting release, awesome to see more people contributing to the community. 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Update:

MoneyAPI Module:

- added bank account and tax account. (Need add 2 columns in table "users": bmoney, tmoney)

- added ATMs

_0e05cb43cca557118e7d968b73e9f9ff.jpeg

_6b2b14c707aec55f09ae0373ec0c9a65.jpeg

_e4e00884ff0678d8ed3f22222a24ba74.jpeg

 

Edited by MarkCavalli

Share this post


Link to post
Share on other sites

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 2

Share this post


Link to post
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.