Willdurkumpf

[Gamemode] Project V: RPG (Node.js, MongoDB, Vue.js)

Recommended Posts

I can't figure out how to connect The mongodb database

[N] Starting network... - OK: (IPv4-only) at 127.0.0.1:22005
(node:13944) ExperimentalWarning: The ESM module loader is experimental.
Loading packages
        "camera" loaded
        "server" loaded
[P] Plugin bridge.dll loaded!
Started HTTP server at 22006 port.
[DEBUG] Server started at Sun Sep 08 2019 12:56:03 GMT+0200 (GMT+02:00)

 

Share this post


Link to post
Share on other sites
[N] Starting network... - OK: (IPv4-only) at 127.0.0.1:22005
(node:11732) ExperimentalWarning: The ESM module loader is experimental.
Loading packages
        "camera" loaded
        "server" loaded
[P] Plugin bridge.dll loaded!
Started HTTP server at 22006 port.
[DEBUG] Server started at Sun Sep 08 2019 15:03:47 GMT+0200 (GMT+02:00)
[Houses] 0 loaded.
[Business] 0 loaded.
[Data] 0 loaded.
(node:11732) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined
    at global.loadFactions (C:\RAGEMP\server-files\gta5-ragemp-server-master\Server\packages\server\src\systems\factions\index.js:10:29)
    at prom.then (C:\RAGEMP\server-files\gta5-ragemp-server-master\Server\packages\server\src\systems\databox\index.js:29:7)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:11732) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11732) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

 

Share this post


Link to post
Share on other sites
2 часа назад, Willdurkumpf сказал:

You need the same databox collection on your mongodb server.

Can you tell me how to do it?

Share this post


Link to post
Share on other sites
Business] 9 loaded.
(node:21292) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'x' of null
    at global.UpdateBizz3D (D:\ragemp\server-files\packages\server\src\systems\business\index.js:101:24)
    at Business.forEach (D:\ragemp\server-files\packages\server\src\systems\business\index.js:74:7)
    at Array.forEach (<anonymous>)
    at query.then (D:\ragemp\server-files\packages\server\src\systems\business\index.js:73:14)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:21292) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:21292) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[Data] 5 loaded.
[Houses] 5 loaded.

 

Edited by Denny DeRossi
  • Like 1

Share this post


Link to post
Share on other sites

Please explain better how to install this server.

I have this errors.

And none login screen.
 

Started HTTP server at 22006 port.
(node:1536) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
[DEBUG] Server started at Mon Sep 16 2019 01:02:35 GMT+0200 (GMT+02:00)
[Data] 5 loaded.
[Business] 9 loaded.
(node:1536) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'x' of null
    at global.UpdateBizz3D (C:\Users\Vano\Desktop\gta5-ragemp-server-master\Server\packages\server\src\systems\business\index.js:101:24)
    at Business.forEach (C:\Users\Vano\Desktop\gta5-ragemp-server-master\Server\packages\server\src\systems\business\index.js:74:7)
    at Array.forEach (<anonymous>)
    at query.then (C:\Users\Vano\Desktop\gta5-ragemp-server-master\Server\packages\server\src\systems\business\index.js:73:14)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:1536) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1536) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[Houses] 5 loaded.

 

  • Like 1

Share this post


Link to post
Share on other sites
On 9/8/2019 at 4:28 PM, Denny DeRossi said:
Business] 9 loaded.
(node:21292) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'x' of null
    at global.UpdateBizz3D (D:\ragemp\server-files\packages\server\src\systems\business\index.js:101:24)
    at Business.forEach (D:\ragemp\server-files\packages\server\src\systems\business\index.js:74:7)
    at Array.forEach (<anonymous>)
    at query.then (D:\ragemp\server-files\packages\server\src\systems\business\index.js:73:14)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:21292) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:21292) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[Data] 5 loaded.
[Houses] 5 loaded.

 

The business of Alhambra has hasEntrance = true. Set it to false.

 

On 9/8/2019 at 2:53 PM, Denny DeRossi said:

Now I can not import the database into mongodb writes Unexpected end of JSON input

 

Please use NoSQLBooster to do the import.

 

- On login i cant click on the input to fill in my pasword

Go to this file - \Web\src\assets\scss\bootstrap\_asparagus_extra.scss

 

^ this file.

 

look for .auth => .login and add:      pointer-events: none; 

Share this post


Link to post
Share on other sites

I started server without errors, but there is no authorization / registration window at the entrance.

What could be the problem?

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.