Giter Site home page Giter Site logo

cso2-master-services's People

Contributors

dounai2333 avatar geekidos avatar l-leite avatar organnerx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cso2-master-services's Issues

Game stuck in loading screen

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

Stuck at retrieving info screen

Some info about installed program

  1. MongoDB Community x64 (complete install) v4.0.10
  2. Node.js x64 (LTS release) v10.16.0
  3. I don't have git/curl/tar installed as I downloaded the whole "master services" (inventory, master, users, webapp) from Chrome, I also already run npm install (development) on each service/server folder

Step to reproduce

  1. Run "start_services.ps1" file and wait for a while
  2. PowerShell window shows up with 0 and 1 number, and then close/hide itself (I didn't do anything)
  3. 4 command prompt windows appear
  4. Start the game by running the "start-cso2.bat" file (with master server = my local IP)
  5. Black screen for about 15 seconds and login screen appear
  6. Login using "Andhika" as username and "123" as password
  7. The game stuck at "Retrieving version info" for long time

Screenshot/logs

  1. users-service "combined.log" file (here)
  2. Some screenshot (pic 1, pic 2, pic 3)

My system info

  1. Windows 10 x64 (LTSC release)
  2. 12 GB of RAM - I don't think this is important tho

It can not use in ubuntu

wwwxx
ubuntu@VM-16-13-ubuntu:~/cso2-master-services$ ./setup_services.sh
-bash: ./setup_services.sh: /bin/sh^M: bad interpreter: No such file or directory

can't install in ubuntu

Hello. When I start command ./setup_services.sh I get following errors:
image
I'm using Ubuntu 18.04

The server will crash when I use other nickname

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

Unimplemented/Missing features

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?

user system?

how to add a user? or authenticate system not complete?

Stuck at receiving version information after press login button

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

How to Open More Than 1 Server Channel

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

player lost connection immediately when login

I'm not sure where I got it wrong, except that I made some modifications which are convenient for me...

4DZCFZ0E3Y6)P})Y253H~ 5
4K)KF0T6NJOPY5SXD$(PRF](https://user-images.githubusercontent.com/45044404/57370773-7f4fac00-71c3-11e9-9dfd-3a5759037cd4.png) ![4K)KF0T6NJOPY5SXD$(PRF
J{((8(Y6}X97BU)OY`LKKA2
UE$J7KAT~F247T (8E_MGIH

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:
2
1

correct me if I do anything wrong, such as "you shouldn't give a new variable to null, you should define it externally"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.