MarkCavalli

Open source Role Play server

Recommended Posts

Hi,

 

I have a Server based on Linux Debian 9.

I have a Problem. After I start the Server I get the following Error Code:

 

(node:25531) [DEP0095] DeprecationWarning: timers.enroll() is deprecated. Please use setTimeout instead.
{ Error: connect ECONNREFUSED 127.0.0.1:587
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1117:14)
  errno: 'ECONNREFUSED',
  code: 'ECONNECTION',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 587,
  command: 'CONN' }
DATABASE IS WORKING
(node:25531) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead.

After I trying to send an Email with the Code the Server crash with following Code:

Error occurred. connect ECONNREFUSED 127.0.0.1:587

Can some one help me?

Best regards

Dukes

Share this post


Link to post
Share on other sites
Posted (edited)

Hello first thank you for your work. For me, the problem is that everything works Server is running he wants to connect and then comes the following error message https://prnt.sc/m2d79p I do not know what went wrong there However, the described file is present at this location

Edited by D3rinsid3r

Share this post


Link to post
Share on other sites

Hello, I got an error when someone kills me. And I don't know where to change it or what  to do with it.

It says: 

[DEBUG] default - Firstname Lastname death! Reason: 2725352035, killer: Someone Else

.../ragemp-srv/packages/RP/index.js:1: TypeError: this.addViolation is not a function.

 


After this, it shows me the whole index.js file, and I can't really help with just 1 line JS-Code to find an error.


Can someone help?

Greets!

Share this post


Link to post
Share on other sites

 

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

After this, it shows me the whole index.js file, and I can't really help with just 1 line JS-Code to find an error.

use

npm run watch

for debugging

Share this post


Link to post
Share on other sites
Posted (edited)
vor 4 Stunden schrieb MarkCavalli:

 

use

npm run watch

for debugging

says
[2019-01-03T14:36:35.548] [DEBUG] default - Leon Lox death! Reason: 2725352035, killer: Dave Thompson
webpack:///./app/server/Factions/Police/Prison/sPrison.js?:11: TypeError: this.addViolation is not a function
                this.addViolation(killer, 5, "You killed a civilian");
 

Edited by Loxitation
Updated logfile

Share this post


Link to post
Share on other sites

Hello first thank you for your work. For me, the problem is that everything works Server is running he wants to connect and then comes the following error message https://prnt.sc/m2d79p I do not know what went wrong there However, the described file is present at this location

Share this post


Link to post
Share on other sites
49 минут назад, D3rinsid3r сказал:

Hello first thank you for your work. For me, the problem is that everything works Server is running he wants to connect and then comes the following error message https://prnt.sc/m2d79p I do not know what went wrong there However, the described file is present at this location

Try to clear client resoures folder

And then do

npm run build

or

npm run watch

also

Share this post


Link to post
Share on other sites
vor 21 Minuten schrieb MarkCavalli:

Try to clear client resoures folder



And then do

npm run build

or

npm run watch

also

I have deleted the folder with the client ressorucen only I get now always error message when I enter the commands you have called me. However, I did not understand this NPM thing correctly which programs do I need and how it works.

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.