MarkCavalli

Open source Role Play server

Recommended Posts

Just one question, please:

I'm trying to install scripts that i've to put inside: client_packages folder and i have to load then on the index.js.
But all the time I add the code to load my scripts in the index.js inside the same client_packages folder im loosing the changes. It looks like this index.js is backing to default's file, without accepts my changes.

Could you help me, please? Is it the right file to put the code? Why it's reset and undone my changes?

Thank you!!!!

Share this post


Link to post
Share on other sites

 

vor 9 Stunden schrieb joew:

Just one question, please:

I'm trying to install scripts that i've to put inside: client_packages folder and i have to load then on the index.js.
But all the time I add the code to load my scripts in the index.js inside the same client_packages folder im loosing the changes. It looks like this index.js is backing to default's file, without accepts my changes.

Could you help me, please? Is it the right file to put the code? Why it's reset and undone my changes?

Thank you!!!!

Installation guide:

...

6. Modify files in app directory (if you need).

7. Do npm run build by cmd in main directory (BESURE DO THIS every time after some improvements in 'app' directory).

...

  • Like 1

Share this post


Link to post
Share on other sites
Just now, Sevage said:

 

Installation guide:

...

6. Modify files in app directory (if you need).

7. Do npm run build by cmd in main directory (BESURE DO THIS every time after some improvements in 'app' directory).

...

Ty!!!

If the file index.js is inside client_packages, i've to add to app/client/index.js

Share this post


Link to post
Share on other sites
Posted (edited)

Anyone can give a tip on how to get the vehicle fuel value (cVehicle.js - this.fuel.toFixed(1) - inside showFuel() function) on a script inside client_packages folder, please?

I tried a lot of ways, since today morning and can't get the value, always getting undefined =(
Thank you very much!!!!

Edited by joew

Share this post


Link to post
Share on other sites

[2019-04-22T20:43:31.902] [WARN] default - 'SELECT * FROM vehicles WHERE factionName = 'Hospital'' ends with: 3.772s
[2019-04-22T20:43:31.903] [WARN] default - 'SELECT * FROM business INNER JOIN barbershop ON business.id = barbershop.id' ends with: 3.769s
[2019-04-22T20:43:31.903] [WARN] default - 'SELECT * FROM business INNER JOIN clothingshop ON business.id = clothingshop.id' ends with: 3.768s
[2019-04-22T20:43:31.904] [WARN] default - 'SELECT * FROM business INNER JOIN cheapcardealership ON business.id = cheapcardealership.id' ends with: 3.769s
[2019-04-22T20:43:31.934] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 3.798s
[2019-04-22T20:43:31.935] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 3.8s
{ Error: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials z10sm11429093wmi.15 - gsmtp
    at SMTPConnection._formatError (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:781:19)
    at SMTPConnection._actionAUTHComplete (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:1516:34)
    at SMTPConnection._responseActions.push.str (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:554:26)
    at SMTPConnection._processResponse (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:940:20)
    at SMTPConnection._onData (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:746:14)
    at TLSSocket.SMTPConnection._onSocketData (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:189:46)
    at TLSSocket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at TLSSocket.Readable.push (_stream_readable.js:219:10)
  code: 'EAUTH',
  response:
   '535-5.7.8 Username and Password not accepted. Learn more at\n535 5.7.8 https://support.google.com/mail/?p=BadCredentials z10sm11429093wmi.15 - gsmtp',
  responseCode: 535,
  command: 'AUTH PLAIN' }

Share this post


Link to post
Share on other sites
4 hours ago, EskaPe said:

[2019-04-22T20:43:31.902] [WARN] default - 'SELECT * FROM vehicles WHERE factionName = 'Hospital'' ends with: 3.772s
[2019-04-22T20:43:31.903] [WARN] default - 'SELECT * FROM business INNER JOIN barbershop ON business.id = barbershop.id' ends with: 3.769s
[2019-04-22T20:43:31.903] [WARN] default - 'SELECT * FROM business INNER JOIN clothingshop ON business.id = clothingshop.id' ends with: 3.768s
[2019-04-22T20:43:31.904] [WARN] default - 'SELECT * FROM business INNER JOIN cheapcardealership ON business.id = cheapcardealership.id' ends with: 3.769s
[2019-04-22T20:43:31.934] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 3.798s
[2019-04-22T20:43:31.935] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 3.8s
{ Error: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials z10sm11429093wmi.15 - gsmtp
    at SMTPConnection._formatError (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:781:19)
    at SMTPConnection._actionAUTHComplete (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:1516:34)
    at SMTPConnection._responseActions.push.str (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:554:26)
    at SMTPConnection._processResponse (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:940:20)
    at SMTPConnection._onData (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:746:14)
    at TLSSocket.SMTPConnection._onSocketData (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:189:46)
    at TLSSocket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at TLSSocket.Readable.push (_stream_readable.js:219:10)
  code: 'EAUTH',
  response:
   '535-5.7.8 Username and Password not accepted. Learn more at\n535 5.7.8 https://support.google.com/mail/?p=BadCredentials z10sm11429093wmi.15 - gsmtp',
  responseCode: 535,
  command: 'AUTH PLAIN' }

You need to log in on your gmail account, and Allow less secure apps to access it: https://devanswers.co/allow-less-secure-apps-access-gmail-account/

Share this post


Link to post
Share on other sites
Posted (edited)

i got this error when i try to start the server. npm i and npm run build works finde without an error.. anny idea how i can fix that?

(node:27336) ExperimentalWarning: The ESM module loader is experimental.
FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.


Info :  solved with reinstall the server files.

Edited by MedezinPumPer

Share this post


Link to post
Share on other sites

i have a problem. How i can change the Bind for the Car Engine?

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.