Jump to content

Recommended Posts

Posted
I have an error when I buy a vehicle in the cheap vehicle store: (node:59628) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'x' of null
    at new e.exports (D:\RageMP\server-files\packages\RP\index.js:1:67229)
    at Object.saveNewCar (D:\RageMP\server-files\packages\RP\index.js:1:40708)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:59628) 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: 2)
Posted
В 31.05.2019 в 10:54, Maloodx сказал:

Hi, when i spawn a vehicles :

 

"TypeError: Cannot read property 'setLights' of null"

 

and no vehicles spawn

 Show the command, which cause the car.

Posted

Someone could help me? server crash 1 minute after I do the login inside the server.

I did the download of the project today again and when I start the server I got some warnings, but i don't think it a problem because I already fix it and the server continue crashing

I can't see what is the last message show before crashing because is too fast, but I see something with async.

Database is OK.

https://ibb.co/WcGT2gj

Posted (edited)
8 часов назад, Aguiar сказал:

Someone could help me? server crash 1 minute after I do the login inside the server.

I did the download of the project today again and when I start the server I got some warnings, but i don't think it a problem because I already fix it and the server continue crashing

I can't see what is the last message show before crashing because is too fast, but I see something with async.

Database is OK.

Check sTime file. Also you can use npm run watch for debug

Edited by MarkCavalli
Posted (edited)

[2019-06-03T20:37:07.179] [FATAL] default - Server Started
[2019-06-03T20:37:12.132] [ERROR] default - SELECT * FROM vehicles WHERE factionName = 'Hospital'
[2019-06-03T20:37:12.135] [ERROR] default - SELECT * FROM business INNER JOIN barbershop ON business.id = barbershop.id
[2019-06-03T20:37:12.138] [ERROR] default - SELECT * FROM business INNER JOIN clothingshop ON business.id = clothingshop.id
[2019-06-03T20:37:12.140] [ERROR] default - SELECT * FROM business INNER JOIN cheapcardealership ON business.id = cheapcardealership.id
[2019-06-03T20:37:12.145] [ERROR] default - SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id
[2019-06-03T20:37:12.148] [ERROR] default - SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id
 

I need help !

Pls

Edited by Pablin_Rodriguez
Posted
16 hours ago, MarkCavalli said:

Check sTime file. Also you can use npm run watch for debug

Yep, it works, thank you and congrats to awesome work you've done in this project.

Posted

Hello, when will your resource be updated? would it be possible to put a phone and garages for the players because I find nothing to be subjects.

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...