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

47 lines
2.9 KiB
Plaintext

: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: g
game.js:134 User existence check response: {exists: true}
game.js:224 Initializing ChatManager...
game.js:765 ChatManager initialized for user: g
game.js:1030 Joining room: main_room with username: g and token: 458f5428-2c48-4dbe-b126-815da541e7fb
game.js:1038 Joining new room: main_room
game.js:957 createRoomTab: main_room with username: g and token: 458f5428-2c48-4dbe-b126-815da541e7fb
game.js:967 Tab for room main_room already exists.
game.js:980 Showing tab for room: main_room
game.js:794 Initializing chat WebSocket...
game.js:795 Initializing chat WebSocket for room: main_room with username: g
game.js:800 startChatWebSocket: main_room with username: g and token: 458f5428-2c48-4dbe-b126-815da541e7fb
game.js:1073 ChatInput initialized for room: main_room, username: g
game.js:992 Attempting to switch to room: main_room
game.js:998 Switching from room null to room main_room
game.js:806 WebSocket ouvert pour l'utilisateur g dans la room main_room
game.js:814 Authentication message sent for room: main_room with username: g
game.js:820 Message received from server in room main_room: {type: 'chat_message', username: 'g', message: 'Authentication successful', room: 'main_room'}
game.js:845 Message displayed in chat log for room: main_room
game.js:820 Message received from server in room main_room: {type: 'chat_message', username: 'h', message: 'Authentication successful', room: 'main_room'}
game.js:845 Message displayed in chat log for room: main_room
game.js:820 Message received from server in room main_room: {type: 'chat_message', username: 'h', message: 'ggg', room: 'main_room'}
game.js:845 Message displayed in chat log for room: main_room
game.js:1080 Enter key pressed, attempting to send message...
game.js:1093 Attempting to send message: /s h
game.js:1106 Detected stats command for user: h
game.js:672 Detected stats command for user: h
game.js:659 Fetching players...
game.js:675 Uncaught TypeError: Cannot read properties of undefined (reading 'then')
at sendStatsCommand (game.js:675:20)
at ChatInput.sendMessage (game.js:1107:6)
at HTMLInputElement.<anonymous> (game.js:1081:11)
sendStatsCommand @ game.js:675
sendMessage @ game.js:1107
(anonymous) @ game.js:1081
game.js:667 Error fetching match data: ReferenceError: displayPlayers is not defined
at game.js:664:21
(anonymous) @ game.js:667
Promise.catch
fetchPlayers @ game.js:667
sendStatsCommand @ game.js:675
sendMessage @ game.js:1107
(anonymous) @ game.js:1081