-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Posts posted by TroublesMader
-
-
Primitive question, but I think not everybody knows which way is better: so, how to correctly close/shutdown server on windows? Using ctrl+c, or just press on close button of server's windows?
-
1 час назад, MarkCavalli сказал:
roleplay is not my mod.
Try install on clean directory
I did, the same. It was clean folder, just different name. The problem is that "build" script is missing, could you maybe find this script on your pc, and post here download link and directory where you found it. I will appreciate this
-
I have 2 issues during installation and running.
I've run before npm install mysql and npm i, and did all previous steps of installation from github.
First, when I run in cmd command "npm run build" with main directory of the server, I've got error:
D:\TEST SERVER>npm run build
npm ERR! missing script: buildnpm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\username\AppData\Roaming\npm-cache\_logs\2018-09-10T12_06_08_099Z-debug.logand when I run server with your gamemode:
Loading packages
"roleplay" loaded
Error: Error: Cannot find module './packages/roleplay'
at Function.Module._resolveFilename (module.js:542:15)
at Function.Module._load (module.js:472:25)
at Module.require (module.js:585:17)
at require (internal/module.js:11:18)
at getDirectories.forEach.src (<anonymous>:827:341)
at Array.forEach (<anonymous>)
at _initialize (<anonymous>:827:272)
at <anonymous>:833:1

Open source Role Play server
in Resources
Posted · Edited by TroublesMader
But It closes much more faster if you press ctrl+c in console than when you close via button. Must be some difference.
I can't get what's the problem with database. This "warns" sometimes appears on server startup, sometimes - no. But in game It works fine. Any ideas what's wrong?
DATABASE IS WORKING [2018-09-21T12:41:43.043] [WARN] default - 'SELECT * FROM vehicles WHERE factionName = 'Hospital'' ends with: 1.843s [2018-09-21T12:41:43.059] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 1.844s [2018-09-21T12:41:43.059] [WARN] default - 'SELECT * FROM business INNER JOIN barbershop ON business.id = barbershop.id' ends with: 1.859s [2018-09-21T12:41:43.075] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 1.875s [2018-09-21T12:41:43.090] [WARN] default - 'SELECT * FROM business INNER JOIN cheapcardealership ON business.id = cheapcardealership.id' ends with: 1.89s [2018-09-21T12:41:43.107] [WARN] default - 'SELECT * FROM business INNER JOIN clothingshop ON business.id = clothingshop.id' ends with: 1.907s EMAIL SERVER READY!And just to clarify, what are the most suitable parameters for database? I have type of DB - InnoDB and collation - latin1_swedish_ci. Is that good?