l-leite / cso2-master-services Goto Github PK
View Code? Open in Web Editor NEWMOVED TO https://github.com/L-Leite/cso2-master-server . Services for a CSO2 master server
License: MIT License
MOVED TO https://github.com/L-Leite/cso2-master-server . Services for a CSO2 master server
License: MIT License
When will the new system come?
SERVER
When I start the game, 10% remains on the loading screen
Windows Server 2012
MongoDB > Successful
30001 > 30002 : Ports Open
Why
When I start the game, 10% remains on the loading screen
10% of my friends stay on the Loading Screen when I enter with
/users-service/node_modules/@types/chai-json-schema/index.d.ts(28,36): error TS2694: Namespace 'Chai' has no exported member 'ChaiPlugin'.
Some info about installed program
Step to reproduce
Screenshot/logs
My system info
cURL
git
tar
Three File Upload Please.
question: When will the new server files come?
???????????????????????????????????????????? <3
index.pug
user.pug
Thank you for your contribution so that we can play Counter-Strike online2:)
At present, my server has some problems and I need help urgently. I am using an old server client (no user system). After someone logs in to my server with a nickname out of English numerals and standard letters, my server will crash and restart. I need help, please tell me how to get The server refuses the login of non-English numerals and standard letters, thank you
a change in the back of the lobby
Denial message output when entering a room full of room personnel.
Unable to expel users (you cannot expel them even if you press X next to the game start player in the room)
Add friends, Banlist function
which server you are.Not marked which room it is in. (Currently marked as %s1>Room%s2)
Clan
Decomposition, combination (I think it is a function that I don't need personally, but infinite loading occurs when I use it now.)
cso2-master-server or missing functions mentioned in the project were excluded.
Can anyone tell you any other missing function?
Has the installation method changed?
how to add a user? or authenticate system not complete?
project stopped?
new server content is still missing xd
OS : Win10 1903
NodeJS : node-v13.0.1-x64.msi
MongoDB : mongodb-win32-x86_64-2012plus-4.2.1-signed
Stuck after press login button
showed a window "receiving version information" and stuck
users-service shows something when press login button
info: GET request to /users/session
info: GET /users/session 404 2.032 ms - -
info: GET /ping 200 1.322 ms - 36
info: POST request to /users/session
info: POST /users/session 401 2.237 ms - -
master-server shows following error
new connection created, uuid 6d73c24c-ff69-415a-86d7-cfc155c012be
(node:10112) UnhandledPromiseRejectionWarning: Error: Unauthorized
at Request.callback (C:\server\master-server\node_modules\superagent\lib\node\index.js:862:15)
at IncomingMessage. (C:\server\master-server\node_modules\superagent\lib\node\index.js:1105:20)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1198:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:10112) 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: 13)
socket 6d73c24c-ff69-415a-86d7-cfc155c012be ended
socket 6d73c24c-ff69-415a-86d7-cfc155c012be closed hadError: false
Error: Not Found
at Request.callback (C:\server\master-server\node_modules\superagent\lib\node\index.js:862:15)
at IncomingMessage. (C:\server\master-server\node_modules\superagent\lib\node\index.js:1105:20)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1198:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
readable: false,
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
socket: [Socket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Array],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'Not Found',
client: [Socket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
text: ''
},
request: Request {
_events: [Object: null prototype],
_eventsCount: 1,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'http://127.0.0.1:30100/users/session',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_data: [Object],
req: [ClientRequest],
protocol: 'http:',
host: '127.0.0.1:30100',
_endCalled: true,
_callback: [Function (anonymous)],
_fullfilledPromise: [Promise],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 12,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Socket],
_header: 'GET /users/session HTTP/1.1\r\n' +
'Host: 127.0.0.1:30100\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'User-Agent: node-superagent/5.0.5\r\n' +
'Content-Type: application/json\r\n' +
'Accept: application/json\r\n' +
'Content-Length: 12\r\n' +
'Connection: close\r\n' +
'\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Agent],
socketPath: undefined,
method: 'GET',
path: '/users/session',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
[Symbol(kNeedDrain)]: false,
[Symbol(isCorked)]: false,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
text: '',
body: {},
files: undefined,
buffered: true,
headers: {
'x-dns-prefetch-control': 'off',
'strict-transport-security': 'max-age=15552000; includeSubDomains',
'x-download-options': 'noopen',
'x-content-type-options': 'nosniff',
'x-xss-protection': '1; mode=block',
date: 'Sun, 10 Nov 2019 07:20:30 GMT',
connection: 'close',
'content-length': '0'
},
header: {
'x-dns-prefetch-control': 'off',
'strict-transport-security': 'max-age=15552000; includeSubDomains',
'x-download-options': 'noopen',
'x-content-type-options': 'nosniff',
'x-xss-protection': '1; mode=block',
date: 'Sun, 10 Nov 2019 07:20:30 GMT',
connection: 'close',
'content-length': '0'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /users/session (404)
at Response.toError (C:\server\master-server\node_modules\superagent\lib\node\response.js:98:13)
at ResponseBase._setStatusProperties (C:\server\master-server\node_modules\superagent\lib\response-base.js:119:48)
at new Response (C:\server\master-server\node_modules\superagent\lib\node\response.js:44:8)
at Request._emitResponse (C:\server\master-server\node_modules\superagent\lib\node\index.js:909:18)
at IncomingMessage. (C:\server\master-server\node_modules\superagent\lib\node\index.js:1105:42)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1198:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
status: 404,
text: '',
method: 'GET',
path: '/users/session'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: '',
links: {},
setEncoding: [Function: bound ],
redirects: [],
pipe: [Function (anonymous)]
}
}
(node:10112) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'currentRoomId' of null
at Function. (C:\server\master-server\dist\room\room.js:131:25)
at Generator.next ()
at fulfilled (C:\server\master-server\dist\room\room.js:4:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:10112) 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: 14)
new connection created, uuid 16159ebb-52bd-46de-a4df-8496e238e097
(node:10112) UnhandledPromiseRejectionWarning: Error: Unauthorized
at Request.callback (C:\server\master-server\node_modules\superagent\lib\node\index.js:862:15)
at IncomingMessage. (C:\server\master-server\node_modules\superagent\lib\node\index.js:1105:20)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1198:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:10112) 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: 15)
open browser and visit 127.0.0.1:8080 shows error
Error: Failed to lookup view "index" in views directory "src/views"
at Function.render (C:\server\webapp\node_modules\express\lib\application.js:580:17)
at ServerResponse.render (C:\server\webapp\node_modules\express\lib\response.js:1008:7)
at C:\server\webapp\dist\controller\web.js:82:17
at Generator.next ()
at fulfilled (C:\server\webapp\dist\controller\web.js:4:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Please give some help to this issue, can't solve it on my own
As the title says, should the master server and services repositories be in this repository? (cso2-master-services or cso2-master-server)
cc: @GEEKiDoS @DebugBios @organnerx
How to Open More Than 1 Server Channel
ChannelManager.channelServers = [new channelserver_1.ChannelServer('Novice', 1, 2, 2)];
ChannelManager.channelServers = [new channelserver_2.ChannelServer('Clan Server', 1, 2, 2)];
??????????????????????????
Gives Error Then Closes
I'm not sure where I got it wrong, except that I made some modifications which are convenient for me...
I'm using docker-compose.development.yml for the setting, I made a bat file for it to easy start, but it still doesn't work, here's a full process list:
correct me if I do anything wrong, such as "you shouldn't give a new variable to null, you should define it externally"
Server Construction method Let me know.
Hello
Please send the installation video about the system, this is the most important requirement for us.
Pls İnstall video
When we create a room, it opens as 127.0.0.1 instead of the server.
in short
I think the opened rooms should be hosted on the server so that the players do not have connection problems
Currently, when we start the room game, the server starts from our own computer.
Will the Chat System Come?
Talk
Correspondence
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.