MarkCavalli

Open source Role Play server

Recommended Posts

[2019-05-12T23:01:51.895] [ERROR] default - UPDATE users SET ip = '178.68.102.28', logdate = '5/12/2019, 11:01:00 PM', position = '{"x":382.7,"y":6556.7,"z":27.4,"rot":333.7,"dim":0}', health = '100', loyality = '0' WHERE id = '1'
(node:2308) UnhandledPromiseRejectionWarning: Error: ER_LOCK_WAIT_TIMEOUT: Lock wait timeout exceeded; try restarting transaction
    at Query.Sequence._packetToError (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\sequences\Sequence.js:47:14)
    at Query.ErrorPacket (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\sequences\Query.js:77:18)
    at Protocol._parsePacket (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:278:23)
    at Parser.write (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\Parser.js:76:12)
    at Protocol.write (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:38:16)
    at Socket.<anonymous> (C:\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:91:28)
    at Socket.<anonymous> (C:\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:502:10)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    --------------------
    at Pool.query (C:\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:199:23)
    at Promise (C:\RAGEMP\server-files\packages\RP\index.js:1:1304)
    at new Promise (<anonymous>)
    at Object.dbquery (C:\RAGEMP\server-files\packages\RP\index.js:1:1283)
    at Object.query (C:\RAGEMP\server-files\packages\RP\index.js:1:1425)
    at Object.e.saveBasicData (C:\RAGEMP\server-files\packages\RP\index.js:1:52111)
    at Object.saveAccount (C:\RAGEMP\server-files\packages\RP\index.js:1:50908)
    at Object.self (C:\RAGEMP\server-files\packages\RP\index.js:1:52996)
    at Object.fire (<anonymous>:721:8)
    at eval (eval at add (unknown source), <anonymous>:3:11)
(node:2308) 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: 9)

Error server

Share this post


Link to post
Share on other sites

Could anyone help me install nativeui resources, please?

 

I tried this resource:

 

So what i did:

1)Open Basic Car turner zip and went to folder: client_packages
2) Extrected the 2 folders: CarTuner and nativeui to folder: app\client
3) Added to file app\client\index.js:

require("./nativeui");
require("./CarTuner");

4) Open Basic Car Turner zip again and went to folder: packages
5)  Extrected the folder: CarTuner to folder: app\server
6) Added to file app\server\index.js:

require('./CarTuner');

7) Open the folder: server-files on cmd and exec the command:

npm run build

8- Started Server, started client and joinned the server.
9) Press F8 in-game and nothing happens. Go to vehicle, press F8 and nothing again.

So i edited the file: app\client\CarTurner\index.js and add the line:

mp.game.graphics.notify('CAR TURNER');

below the line:

mp.keys.bind(0x77, true, () => {
  mp.game.graphics.notify('CAR TURNER');


So i noticed that the cmd is executed after pressed F8 key, but it don't shows up the NativeUI menu...

And its not working with all others resources with nativeui. I'm using this nativeui:

Version: nativeui_18w48a.zip


Please, help me ;)

Thank you!!!!

Share this post


Link to post
Share on other sites
Quote

 

(node:31083) ExperimentalWarning: The ESM module loader is experimental.
Loading maps:
        ""orangetrees.json"" loaded
        ""fences.xml.json"" loaded
        ""prison.json"" loaded
        ""police.json"" loaded
[M] Announcing into master server...
Loading packages
        "RP" loaded
[M] Connected to master list.
[2019-05-16T18:10:17.438] [FATAL] default - Server Started
[P] Plugin bridge.so loaded!
Started HTTP server at 30151 port.
DATABASE IS WORKING
EMAIL SERVER READY!
[N] 109.88.144.237:11330 has been disconnected.
(node:31083) [DEP0106] DeprecationWarning: crypto.createCipher is deprecated.
(node:31083) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
    at Function.e.exports.loadUser (/home/ragemp-srv/packages/RP/index.js:1:46142)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)
(node:31083) 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:31083) [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.
(node:31083) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'hair' of undefined
    at Object.e.updateHeadOverlay (/home/ragemp-srv/packages/RP/index.js:1:34828)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)
(node:31083) 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)
/home/ragemp-srv/packages/RP/index.js:1
(function (exports, require, module, __filename, __dirname) { !function(e){var t={};function n(i){if(t)return t.exports;var s=t={i:i,l:!1,exports:{}};return e.call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(i,s,function(t){return e[t]}.bind(null,s));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=20)}([functio

TypeError: t.jailEvent is not a function
    at Object.everyMinuteEvent (/home/ragemp-srv/packages/RP/index.js:1:82867)
    at Object.changeTime (/home/ragemp-srv/packages/RP/index.js:1:83211)
    at Object.runTimer (/home/ragemp-srv/packages/RP/index.js:1:83018)
    at Timeout.timer.setTimeout [as _onTimeout] (/home/ragemp-srv/packages/RP/index.js:1:83093)
    at listOnTimeout (timers.js:324:15)
    at processTimers (timers.js:268:5)

 

This is the error I receive when I enter the server. I use linux

Share this post


Link to post
Share on other sites

Hello dear GTA friends,

as far as I know it is possible to integrate other vehicles as well as other houses on the games map ...

Yesterday I tried to bring a vehicle and a new map that I edited with "CodeWalker" on my server ... But unfortunately he brings me with "npm run build" the error that he can not retrieve the map, because the entry is flawed...

Even if I download a mod from here and try to integrate it, it does not work ... In most mods I always have a "client_packages" as well as a "packages" folder ... If I understand it correctly, the content of "client_packages" comes in the folder "app / client" and the content of "packages" in the "app / server" folder .. Then I adjusted the respective index.js ... and then run "npm run build" ...

in the mods I have downloaded here ... Although I get no error "all green" ... but in the game, the functions are not there ...

But if I embed my card, and this synonymous in my "app/client/map"

and put it on the index.js calls, he says that probably does not work, because there is no index.js in the folder Map but only one dlc.rpf

maybe someone here is so nice and can help me with this problem further; (

What am I doing wrong?

 

I would be glad about an answer from you...

Greetings your Shooter

Share this post


Link to post
Share on other sites
says the area is death here? because somehow I see people posting what ... but no answers ... did I miss something?

Share this post


Link to post
Share on other sites

hi I have a problem that I can’t fix I opened my ports disable my part fire nothing works can you help me please

 

Capture.PNG

Share this post


Link to post
Share on other sites
7 minutes ago, nathandu13200 said:

hi I have a problem that I can’t fix I opened my ports disable my part fire nothing works can you help me please

 

Capture.PNG

 

Share this post


Link to post
Share on other sites

i added blip to code and its saying this 

Error: TypeError: mp.blip is not a function
    at Object.createBlippoints (E:\RAGEMP\server-files\packages\RP\index.js:1:101218)
    at new <anonymous> (E:\RAGEMP\server-files\packages\RP\index.js:1:100438)
    at Object.<anonymous> (E:\RAGEMP\server-files\packages\RP\index.js:1:98811)
    at n (E:\RAGEMP\server-files\packages\RP\index.js:1:172)
    at Object.<anonymous> (E:\RAGEMP\server-files\packages\RP\index.js:1:64356)
    at n (E:\RAGEMP\server-files\packages\RP\index.js:1:172)
    at E:\RAGEMP\server-files\packages\RP\index.js:1:964
    at Object.<anonymous> (E:\RAGEMP\server-files\packages\RP\index.js:1:974)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
[P] Plugin bridge.dll loaded!
Started HTTP server at 22006 port.
DATABASE IS WORKING
[2019-05-24T21:11:36.471] [WARN] default - 'SELECT * FROM business INNER JOIN cheapcardealership ON business.id = cheapcardealership.id' ends with: 0.764s
[2019-05-24T21:11:36.473] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.766s
[2019-05-24T21:11:36.474] [WARN] default - 'SELECT * FROM vehicles WHERE factionName = 'Hospital'' ends with: 0.774s
[2019-05-24T21:11:36.475] [WARN] default - 'SELECT * FROM business INNER JOIN barbershop ON business.id = barbershop.id' ends with: 0.77s
[2019-05-24T21:11:36.476] [WARN] default - 'SELECT * FROM business INNER JOIN clothingshop ON business.id = clothingshop.id' ends with: 0.77s
[2019-05-24T21:11:36.506] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.798s
EMAIL SERVER READY!

the code is in sOrangeCollector.cs


    createBlippoints() {
        for (let i = 0; i < this.checkPoints.length; i++) {
            const blip = mp.blip(387, new mp.Vector3(this.checkPoints[i].x, this.checkPoints[i].y, this.checkPoints[i].z),
                {
                    shortRange: true,
                    scale: 0.7,
                    color: 17,
                });

            blip.orangeCollectorTree = i;
            this.treeMarkersList.push(blip);
        }

    }

 

Share this post


Link to post
Share on other sites

Can somebody help me with my problem 

(node:396) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'x' of null
    at new e.exports (C:\Users\Admin\Desktop\Neuer Ordner\server-files\packages\RP\index.js:1:67254)
    at Object.saveNewCar (C:\Users\Admin\Desktop\Neuer Ordner\server-files\packages\RP\index.js:1:40735)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:396) 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)

Share this post


Link to post
Share on other sites

unknown.png

Whats this message mean? After I re-install windows and setup everything like before nodejs xampp and this happens to me

Any idea to fix?

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.