laogui 0 Posted November 29, 2018 I installRAGE Multiplayer.msi and find the server-files folder, then paste all server files of rageserver-master to server-files folder, then use cmd npm i and npm run build, last start server.exe . When i get in my server and send code to my e-mail,server is broken,i don`t know why. i should have not other script Share this post Link to post Share on other sites
laogui 0 Posted November 29, 2018 i got <node:8784> [DEP0095] DeprecationWarning: timers.enroll() is deprecated. please use setTimeout instead <node:8784> [DEP0095] DeprecationWarning: timers.unenroll() is deprecated. please use cleartimeout instead Share this post Link to post Share on other sites
laogui 0 Posted November 29, 2018 i changed protocol.js at Protocol.prototype._startSequence = function(sequence) { if (sequence._timeout > 0 && isFinite(sequence._timeout)) { //Timers.enroll(sequence, sequence._timeout); setTimeout(sequence, sequence._timeout); Timers.active(sequence); } but got a new error Error: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function settimeout <timers.js:379:11> Share this post Link to post Share on other sites
DJ_Synergy 6 Posted November 30, 2018 Hey Mark, really nice work you have done here. But i keep on running in Problems while scripting and i think it is because of the webpack thing you did there. e.g if i add BasicMenu, NativeUI or something like that in app/client, linking it in index.js and loading it in a js script that uses NativeUI (NativeUI = require("../nativeui/index.js");) , i keep getting "xxx is not a construct" error in the client. Other scripts like fingerpointing e.g are working just fine. Would be nice if anyone would point me in the right direction. Share this post Link to post Share on other sites
MarkCavalli 101 Posted November 30, 2018 4 часа назад, DJ_Synergy сказал: really nice work you have done here. But i keep on running in Problems while scripting and i think it is because of the webpack thing you did there. e.g if i add BasicMenu, NativeUI or something like that in app/client, linking it in index.js and loading it in a js script that uses NativeUI (NativeUI = require("../nativeui/index.js");) , i keep getting "xxx is not a construct" error in the client. Other scripts like fingerpointing e.g are working just fine. Would be nice if anyone would point me in the right direction. https://stackoverflow.com/questions/36388766/unexpected-uncaught-typeerror-xxx-is-not-a-constructor-errors-with-babel-and Share this post Link to post Share on other sites
Lithy 1 Posted December 5, 2018 Hi Mark ! I'm currently working on adding clothes to the clothingShop, almost added everything (tops, legs, feet, hats...) but I cant figure how to add accessories, body armors, bags etcetc Can you explain what I have to do server side and client side to add those categories ? (I already tried with accessories, I had the selection in the menu in game, added accessorie but they didnt appeared in game, they was invisible so I guess I missed something for this try, my process was to copy/paste and replace the existing glasses categ) thanks in advance Share this post Link to post Share on other sites
MarkCavalli 101 Posted December 5, 2018 1 час назад, Lithy сказал: Hi Mark ! I'm currently working on adding clothes to the clothingShop, almost added everything (tops, legs, feet, hats...) but I cant figure how to add accessories, body armors, bags etcetc Can you explain what I have to do server side and client side to add those categories ? (I already tried with accessories, I had the selection in the menu in game, added accessorie but they didnt appeared in game, they was invisible so I guess I missed something for this try, my process was to copy/paste and replace the existing glasses categ) thanks in advance You can debug your code via console.log() on the serverside and mp.gui.chat.push on the clientside 1 Share this post Link to post Share on other sites
fluxxfluxx 1 Posted December 7, 2018 Hello, i am a newbee and i want to open a server for friends. i want to install the gamemode on my windows server. can somebody help me please? thx Share this post Link to post Share on other sites
Kuora 0 Posted December 7, 2018 I have a problem. I have hosting at ZAP-Hosting.. and when i start server.. This is in log (node:26211) ExperimentalWarning: The ESM module loader is experimental. Loading maps: ""prison.json"" loaded ""police.json"" loaded ""fences.xml.json"" loaded ""orangetrees.json"" loaded [M] Announcing into master server... Loading packages "Basic" loaded Error: Error: Cannot find module './packages/Basic' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15) at Function.Module._load (internal/modules/cjs/loader.js:513:25) at Module.require (internal/modules/cjs/loader.js:643:17) at require (internal/modules/cjs/helpers.js:22:18) at getDirectories.forEach.src (<anonymous>:827:341) at Array.forEach (<anonymous>) at _initialize (<anonymous>:827:272) at <anonymous>:833:1 "Business" loaded Error: Error: Cannot find module './packages/Business' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15) at Function.Module._load (internal/modules/cjs/loader.js:513:25) at Module.require (internal/modules/cjs/loader.js:643:17) at require (internal/modules/cjs/helpers.js:22:18) at getDirectories.forEach.src (<anonymous>:827:341) at Array.forEach (<anonymous>) at _initialize (<anonymous>:827:272) at <anonymous>:833:1 "Character" loaded Error: Error: Cannot find module './packages/Character' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15) at Function.Module._load (internal/modules/cjs/loader.js:513:25) at Module.require (internal/modules/cjs/loader.js:643:17) at require (internal/modules/cjs/helpers.js:22:18) at getDirectories.forEach.src (<anonymous>:827:341) at Array.forEach (<anonymous>) at _initialize (<anonymous>:827:272) at <anonymous>:833:1 "Factions" loaded Error: Error: Cannot find module './packages/Factions' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15) at Function.Module._load (internal/modules/cjs/loader.js:513:25) at Module.require (internal/modules/cjs/loader.js:643:17) at require (internal/modules/cjs/helpers.js:22:18) at getDirectories.forEach.src (<anonymous>:827:341) at Array.forEach (<anonymous>) at _initialize (<anonymous>:827:272) at <anonymous>:833:1 "Jobs" loaded Error: Error: Cannot find module './packages/Jobs' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15) at Function.Module._load (internal/modules/cjs/loader.js:513:25) at Module.require (internal/modules/cjs/loader.js:643:17) at require (internal/modules/cjs/helpers.js:22:18) at getDirectories.forEach.src (<anonymous>:827:341) at Array.forEach (<anonymous>) at _initialize (<anonymous>:827:272) at <anonymous>:833:1 Share this post Link to post Share on other sites
Vize1610 1 Posted December 9, 2018 (edited) [2018-12-09T13:19:55.731] [FATAL] default - Server Started [2018-12-09T13:19:56.333] [WARN] default - 'SELECT * FROM vehicles WHERE factionName = 'Hospital'' ends with: 0.515s [2018-12-09T13:19:56.408] [WARN] default - 'SELECT * FROM business INNER JOIN barbershop ON business.id = barbershop.id' ends with: 0.583s [2018-12-09T13:19:56.410] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.582s [2018-12-09T13:19:56.411] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.584s [2018-12-09T13:19:56.412] [WARN] default - 'SELECT * FROM business INNER JOIN cheapcardealership ON business.id = cheapcardealership.id' ends with: 0.585s [2018-12-09T13:19:56.413] [WARN] default - 'SELECT * FROM business INNER JOIN clothingshop ON business.id = clothingshop.id' ends with: 0.587s [2018-12-09T13:27:03.450] [FATAL] default - Server Started [2018-12-09T13:27:04.102] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.556s [2018-12-09T13:27:04.104] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.558s [2018-12-09T13:29:37.247] [FATAL] default - Server Started [2018-12-09T13:29:37.901] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.56s [2018-12-09T13:29:37.903] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.562s [2018-12-09T13:30:52.184] [FATAL] default - Server Started [2018-12-09T13:30:52.842] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.563s [2018-12-09T13:30:52.844] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.564s [2018-12-09T13:35:14.434] [FATAL] default - Server Started [2018-12-09T13:35:15.108] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.564s [2018-12-09T13:35:15.109] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.564s [2018-12-09T13:35:57.090] [FATAL] default - Server Started [2018-12-09T13:35:57.750] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.564s [2018-12-09T13:35:57.751] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.565s [2018-12-09T13:37:18.184] [FATAL] default - Server Started [2018-12-09T13:37:18.848] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.565s [2018-12-09T13:37:18.850] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.567s [2018-12-09T13:40:11.653] [FATAL] default - Server Started [2018-12-09T13:40:12.308] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.558s [2018-12-09T13:40:12.309] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.558s [2018-12-09T13:41:08.028] [FATAL] default - Server Started [2018-12-09T13:41:08.687] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.562s [2018-12-09T13:41:08.689] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.564s and than server close... i have install npm and npm run build but not works why ? i join at the server and when i register the server close too wtf smailer sooo broke Edited December 9, 2018 by Vize1610 Share this post Link to post Share on other sites