ft_transcendence/logs/172.31.141.12-1726541943958.log
2024-09-17 12:16:31 +02:00

48 lines
3.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:8080/:1 The Cross-Origin-Opener-Policy header has been ignored, because the URL's origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the 'localhost' origin instead. See https://www.w3.org/TR/powerful-features/#potentially-trustworthy-origin and https://html.spec.whatwg.org/#the-cross-origin-opener-policy-header.
game.js:3 DOM fully loaded and parsed
game.js:43 DOM elements initialized
game.js:118 checkUserExists called with username: x
game.js:134 User existence check response: {exists: false}
game.js:143 handleRegister called
game.js:148 Nickname: x
game.js:149 Password: x
game.js:150 Confirm Password: x
game.js:154 Attempting to register user: x
game.js:156 Register result: {registered: true, token: '7dfe4c69-eaf0-49ca-b914-3f69bc9dda57'}
game.js:160 Token stored: 7dfe4c69-eaf0-49ca-b914-3f69bc9dda57
game.js:161 User registered successfully
game.js:166 ChatManager initialized: null
game.js:168 Initializing ChatManager with username: x and token: 7dfe4c69-eaf0-49ca-b914-3f69bc9dda57
game.js:753 ChatManager initialized for user: x
game.js:170 ChatManager initialized: ChatManager {username: 'x', token: '7dfe4c69-eaf0-49ca-b914-3f69bc9dda57', roomSockets: {…}, blockedUsers: Array(0), activeRoom: null, …}
game.js:173 chatManager is defined: ChatManager {username: 'x', token: '7dfe4c69-eaf0-49ca-b914-3f69bc9dda57', roomSockets: {…}, blockedUsers: Array(0), activeRoom: null, …}
game.js:178 Joining room: main_room
game.js:1018 Joining room: main_room with username: x and token: 7dfe4c69-eaf0-49ca-b914-3f69bc9dda57
game.js:1026 Joining new room: main_room
game.js:945 createRoomTab: main_room with username: x and token: 7dfe4c69-eaf0-49ca-b914-3f69bc9dda57
game.js:955 Tab for room main_room already exists.
game.js:968 Showing tab for room: main_room
game.js:782 Initializing chat WebSocket...
game.js:783 Initializing chat WebSocket for room: main_room with username: x
game.js:788 startChatWebSocket: main_room with username: x and token: 7dfe4c69-eaf0-49ca-b914-3f69bc9dda57
game.js:1061 ChatInput initialized for room: main_room, username: x
game.js:980 Attempting to switch to room: main_room
game.js:986 Switching from room null to room main_room
game.js:794 WebSocket ouvert pour l'utilisateur x dans la room main_room
game.js:802 Authentication message sent for room: main_room with username: x
game.js:808 Message received from server in room main_room: {type: 'chat_message', username: 'x', message: 'Authentication successful', room: 'main_room'}
game.js:833 Message displayed in chat log for room: main_room
game.js:808 Message received from server in room main_room: {type: 'chat_message', username: 'w', message: 'Authentication successful', room: 'main_room'}
game.js:833 Message displayed in chat log for room: main_room
game.js:1068 Enter key pressed, attempting to send message...
game.js:1081 Attempting to send message: /s w
game.js:1094 Detected stats command for user: w
game.js:660 Detected stats command for user: w
game.js:663 Uncaught ReferenceError: fetchPlayers is not defined
at sendStatsCommand (game.js:663:6)
at ChatInput.sendMessage (game.js:1095:6)
at HTMLInputElement.<anonymous> (game.js:1069:11)
sendStatsCommand @ game.js:663
sendMessage @ game.js:1095
(anonymous) @ game.js:1069