diff --git a/README.md b/README.md index 26f1e816..c6facad3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![](https://github.com/thecodingmachine/workadventure/workflows/Continuous%20Integration/badge.svg) +![](https://github.com/thecodingmachine/workadventure/workflows/Continuous%20Integration/badge.svg) [![Discord](https://img.shields.io/discord/821338762134290432?label=Discord)](https://discord.gg/YGtngdh9gt) ![WorkAdventure landscape image](README-INTRO.jpg) diff --git a/back/src/Model/Admin.ts b/back/src/Model/Admin.ts index a121d105..0be74b85 100644 --- a/back/src/Model/Admin.ts +++ b/back/src/Model/Admin.ts @@ -1,9 +1,3 @@ -import { Group } from "./Group"; -import { PointInterface } from "./Websocket/PointInterface"; -import {Zone} from "_Model/Zone"; -import {Movable} from "_Model/Movable"; -import {PositionNotifier} from "_Model/PositionNotifier"; -import {ServerDuplexStream} from "grpc"; import { BatchMessage, PusherToBackMessage, @@ -11,7 +5,6 @@ import { ServerToClientMessage, SubMessage, UserJoinedRoomMessage, UserLeftRoomMessage } from "../Messages/generated/messages_pb"; -import {CharacterLayer} from "_Model/Websocket/CharacterLayer"; import {AdminSocket} from "../RoomManager"; diff --git a/back/src/Model/GameRoom.ts b/back/src/Model/GameRoom.ts index 6a592ed0..c628d29d 100644 --- a/back/src/Model/GameRoom.ts +++ b/back/src/Model/GameRoom.ts @@ -38,12 +38,10 @@ export class GameRoom { private readonly positionNotifier: PositionNotifier; public readonly roomId: string; - public readonly anonymous: boolean; - public tags: string[]; - public policyType: GameRoomPolicyTypes; public readonly roomSlug: string; public readonly worldSlug: string = ''; public readonly organizationSlug: string = ''; + private versionNumber:number = 1; private nextUserId: number = 1; constructor(roomId: string, @@ -56,11 +54,8 @@ export class GameRoom { onLeaves: LeavesCallback) { this.roomId = roomId; - this.anonymous = isRoomAnonymous(roomId); - this.tags = []; - this.policyType = GameRoomPolicyTypes.ANONYMOUS_POLICY; - if (this.anonymous) { + if (isRoomAnonymous(roomId)) { this.roomSlug = extractRoomSlugPublicRoomId(this.roomId); } else { const {organizationSlug, worldSlug, roomSlug} = extractDataFromPrivateRoomId(this.roomId); @@ -304,10 +299,6 @@ export class GameRoom { return this.itemsState; } - public canAccess(userTags: string[]): boolean { - return arrayIntersect(userTags, this.tags); - } - public addZoneListener(call: ZoneSocket, x: number, y: number): Set { return this.positionNotifier.addZoneListener(call, x, y); } @@ -328,4 +319,9 @@ export class GameRoom { public adminLeave(admin: Admin): void { this.admins.delete(admin); } + + public incrementVersion(): number { + this.versionNumber++ + return this.versionNumber; + } } diff --git a/back/src/RoomManager.ts b/back/src/RoomManager.ts index 256c904e..54215698 100644 --- a/back/src/RoomManager.ts +++ b/back/src/RoomManager.ts @@ -2,7 +2,7 @@ import {IRoomManagerServer} from "./Messages/generated/messages_grpc_pb"; import { AdminGlobalMessage, AdminMessage, - AdminPusherToBackMessage, + AdminPusherToBackMessage, AdminRoomMessage, BanMessage, EmptyMessage, @@ -10,12 +10,12 @@ import { JoinRoomMessage, PlayGlobalMessage, PusherToBackMessage, - QueryJitsiJwtMessage, + QueryJitsiJwtMessage, RefreshRoomPromptMessage, ServerToAdminClientMessage, ServerToClientMessage, SilentMessage, UserMovesMessage, - WebRtcSignalToServerMessage, + WebRtcSignalToServerMessage, WorldFullWarningToRoomMessage, ZoneMessage } from "./Messages/generated/messages_pb"; import {sendUnaryData, ServerDuplexStream, ServerUnaryCall, ServerWritableStream} from "grpc"; @@ -43,8 +43,13 @@ const roomManager: IRoomManagerServer = { if (room === null || user === null) { if (message.hasJoinroommessage()) { socketManager.handleJoinRoom(call, message.getJoinroommessage() as JoinRoomMessage).then(({room: gameRoom, user: myUser}) => { - room = gameRoom; - user = myUser; + if (call.writable) { + room = gameRoom; + user = myUser; + } else { + //Connexion may have been closed before the init was finished, so we have to manually disconnect the user. + socketManager.leaveRoom(gameRoom, myUser); + } }); } else { throw new Error('The first message sent MUST be of type JoinRoomMessage'); @@ -184,6 +189,14 @@ const roomManager: IRoomManagerServer = { socketManager.sendAdminRoomMessage(call.request.getRoomid(), call.request.getMessage()); callback(null, new EmptyMessage()); }, + sendWorldFullWarningToRoom(call: ServerUnaryCall, callback: sendUnaryData): void { + socketManager.dispatchWorlFullWarning(call.request.getRoomid()); + callback(null, new EmptyMessage()); + }, + sendRefreshRoomPrompt(call: ServerUnaryCall, callback: sendUnaryData): void { + socketManager.dispatchRoomRefresh(call.request.getRoomid()); + callback(null, new EmptyMessage()); + }, }; export {roomManager}; diff --git a/back/src/Services/AdminApi.ts b/back/src/Services/AdminApi.ts deleted file mode 100644 index ef969a76..00000000 --- a/back/src/Services/AdminApi.ts +++ /dev/null @@ -1,49 +0,0 @@ -import {ADMIN_API_TOKEN, ADMIN_API_URL} from "../Enum/EnvironmentVariable"; -import Axios from "axios"; - -export interface AdminApiData { - organizationSlug: string - worldSlug: string - roomSlug: string - mapUrlStart: string - tags: string[] - policy_type: number - userUuid: string - messages?: unknown[], - textures: CharacterTexture[] -} - -export interface CharacterTexture { - id: number, - level: number, - url: string, - rights: string -} - -class AdminApi { - - async fetchMapDetails(organizationSlug: string, worldSlug: string, roomSlug: string|undefined): Promise { - if (!ADMIN_API_URL) { - return Promise.reject('No admin backoffice set!'); - } - - const params: { organizationSlug: string, worldSlug: string, roomSlug?: string } = { - organizationSlug, - worldSlug - }; - - if (roomSlug) { - params.roomSlug = roomSlug; - } - - const res = await Axios.get(ADMIN_API_URL + '/api/map', - { - headers: {"Authorization": `${ADMIN_API_TOKEN}`}, - params - } - ) - return res.data; - } -} - -export const adminApi = new AdminApi(); diff --git a/back/src/Services/SocketManager.ts b/back/src/Services/SocketManager.ts index 6317a46d..16b4d005 100644 --- a/back/src/Services/SocketManager.ts +++ b/back/src/Services/SocketManager.ts @@ -24,8 +24,9 @@ import { UserJoinedZoneMessage, GroupUpdateZoneMessage, GroupLeftZoneMessage, + WorldFullWarningMessage, UserLeftZoneMessage, - BanUserMessage, + BanUserMessage, RefreshRoomMessage, } from "../Messages/generated/messages_pb"; import {User, UserSocket} from "../Model/User"; import {ProtobufUtils} from "../Model/Websocket/ProtobufUtils"; @@ -40,7 +41,6 @@ import { } from "../Enum/EnvironmentVariable"; import {Movable} from "../Model/Movable"; import {PositionInterface} from "../Model/PositionInterface"; -import {adminApi, CharacterTexture} from "./AdminApi"; import Jwt from "jsonwebtoken"; import {JITSI_URL} from "../Enum/EnvironmentVariable"; import {clientEventsEmitter} from "./ClientEventsEmitter"; @@ -58,6 +58,7 @@ function emitZoneMessage(subMessage: SubToPusherMessage, socket: ZoneSocket): vo // TODO: should we batch those every 100ms? const batchMessage = new BatchToPusherMessage(); batchMessage.addPayload(subMessage); + socket.write(batchMessage); } @@ -75,10 +76,17 @@ export class SocketManager { } public async handleJoinRoom(socket: UserSocket, joinRoomMessage: JoinRoomMessage): Promise<{ room: GameRoom; user: User }> { - + //join new previous room const {room, user} = await this.joinRoom(socket, joinRoomMessage); - + + if (!socket.writable) { + console.warn('Socket was aborted'); + return { + room, + user + }; + } const roomJoinedMessage = new RoomJoinedMessage(); roomJoinedMessage.setTagList(joinRoomMessage.getTagList()); @@ -94,7 +102,6 @@ export class SocketManager { const serverToClientMessage = new ServerToClientMessage(); serverToClientMessage.setRoomjoinedmessage(roomJoinedMessage); - console.log('SENDING MESSAGE roomJoinedMessage'); socket.write(serverToClientMessage); return { @@ -121,15 +128,7 @@ export class SocketManager { if (viewport === undefined) { throw new Error('Viewport not found in message'); } - - // sending to all clients in room except sender - /*client.position = { - x: position.x, - y: position.y, - direction, - moving: position.moving, - }; - client.viewport = viewport;*/ + // update position in the world room.updatePosition(user, ProtobufUtils.toPointInterface(position)); @@ -184,21 +183,6 @@ export class SocketManager { } } - // TODO: handle this message in pusher - /*async handleReportMessage(client: ExSocketInterface, reportPlayerMessage: ReportPlayerMessage) { - try { - const reportedSocket = this.sockets.get(reportPlayerMessage.getReporteduserid()); - if (!reportedSocket) { - throw 'reported socket user not found'; - } - //TODO report user on admin application - await adminApi.reportPlayer(reportedSocket.userUuid, reportPlayerMessage.getReportcomment(), client.userUuid) - } catch (e) { - console.error('An error occurred on "handleReportMessage"'); - console.error(e); - } - }*/ - emitVideo(room: GameRoom, user: User, data: WebRtcSignalToServerMessage): void { //send only at user const remoteUser = room.getUsers().get(data.getReceiverid()); @@ -262,8 +246,6 @@ export class SocketManager { debug('Room is empty. Deleting room "%s"', room.roomId); } } finally { - //delete Client.roomId; - //this.sockets.delete(Client.userId); clientEventsEmitter.emitClientLeave(user.uuid, room.roomId); console.log('A user left'); } @@ -283,11 +265,6 @@ export class SocketManager { (thing: Movable, position:PositionInterface, listener: ZoneSocket) => this.onClientMove(thing, position, listener), (thing: Movable, newZone: Zone|null, listener: ZoneSocket) => this.onClientLeave(thing, newZone, listener) ); - if (!world.anonymous) { - const data = await adminApi.fetchMapDetails(world.organizationSlug, world.worldSlug, world.roomSlug) - world.tags = data.tags - world.policyType = Number(data.policy_type) - } gaugeManager.incNbRoomGauge(); this.rooms.set(roomId, world); } @@ -298,20 +275,14 @@ export class SocketManager { const roomId = joinRoomMessage.getRoomid(); - const world = await socketManager.getOrCreateRoom(roomId); - - // Dispatch groups position to newly connected user - /*world.getGroups().forEach((group: Group) => { - this.emitCreateUpdateGroupEvent(socket, group); - });*/ + const room = await socketManager.getOrCreateRoom(roomId); //join world - const user = world.join(socket, joinRoomMessage); + const user = room.join(socket, joinRoomMessage); clientEventsEmitter.emitClientJoin(user.uuid, roomId); - //console.log(new Date().toISOString() + ' A user joined (', this.sockets.size, ' connected users)'); console.log(new Date().toISOString() + ' A user joined'); - return {room: world, user}; + return {room, user}; } private onZoneEnter(thing: Movable, fromZone: Zone|null, listener: ZoneSocket) { @@ -419,10 +390,6 @@ export class SocketManager { } private joinWebRtcRoom(user: User, group: Group) { - /*const roomId: string = "webrtcroom"+group.getId(); - if (user.socket.webRtcRoomId === roomId) { - return; - }*/ for (const otherUser of group.getUsers()) { if (user === otherUser) { @@ -758,6 +725,43 @@ export class SocketManager { recipient.socket.write(clientMessage); }); } + + dispatchWorlFullWarning(roomId: string,): void { + const room = this.rooms.get(roomId); + if (!room) { + //todo: this should cause the http call to return a 500 + console.error("In sendAdminRoomMessage, could not find room with id '" + roomId + "'. Maybe the room was closed a few milliseconds ago and there was a race condition?"); + return; + } + + room.getUsers().forEach((recipient) => { + const worldFullMessage = new WorldFullWarningMessage(); + + const clientMessage = new ServerToClientMessage(); + clientMessage.setWorldfullwarningmessage(worldFullMessage); + + recipient.socket.write(clientMessage); + }); + } + + dispatchRoomRefresh(roomId: string,): void { + const room = this.rooms.get(roomId); + if (!room) { + return; + } + + const versionNumber = room.incrementVersion(); + room.getUsers().forEach((recipient) => { + const worldFullMessage = new RefreshRoomMessage(); + worldFullMessage.setRoomid(roomId) + worldFullMessage.setVersionnumber(versionNumber) + + const clientMessage = new ServerToClientMessage(); + clientMessage.setRefreshroommessage(worldFullMessage); + + recipient.socket.write(clientMessage); + }); + } } export const socketManager = new SocketManager(); diff --git a/back/yarn.lock b/back/yarn.lock index 501146cb..43f58988 100644 --- a/back/yarn.lock +++ b/back/yarn.lock @@ -3032,9 +3032,9 @@ xtend@^4.0.0: integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== y18n@^3.2.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= + version "3.2.2" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696" + integrity sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ== yallist@^3.0.0, yallist@^3.0.3: version "3.1.1" diff --git a/contrib/docker/docker-compose.prod.yaml b/contrib/docker/docker-compose.prod.yaml index c726ba84..6b3b8520 100644 --- a/contrib/docker/docker-compose.prod.yaml +++ b/contrib/docker/docker-compose.prod.yaml @@ -37,7 +37,7 @@ services: DEBUG_MODE: "$DEBUG_MODE" JITSI_URL: $JITSI_URL JITSI_PRIVATE_MODE: "$JITSI_PRIVATE_MODE" - API_URL: pusher.${DOMAIN} + PUSHER_URL: //pusher.${DOMAIN} TURN_SERVER: "${TURN_SERVER}" TURN_USER: "${TURN_USER}" TURN_PASSWORD: "${TURN_PASSWORD}" diff --git a/deeployer.libsonnet b/deeployer.libsonnet index 07f5f491..07506f11 100644 --- a/deeployer.libsonnet +++ b/deeployer.libsonnet @@ -82,14 +82,12 @@ }, "ports": [80], "env": { - "API_URL": "pusher."+url, - "UPLOADER_URL": "uploader."+url, - "ADMIN_URL": url, + "PUSHER_URL": "//pusher."+url, + "UPLOADER_URL": "//uploader."+url, + "ADMIN_URL": "//"+url, "JITSI_URL": env.JITSI_URL, "SECRET_JITSI_KEY": env.SECRET_JITSI_KEY, "TURN_SERVER": "turn:coturn.workadventu.re:443,turns:coturn.workadventu.re:443", - "TURN_USER": "workadventure", - "TURN_PASSWORD": "WorkAdventure123", "JITSI_PRIVATE_MODE": if env.SECRET_JITSI_KEY != '' then "true" else "false", "START_ROOM_URL": "/_/global/maps."+url+"/Floor0/floor0.json" //"GA_TRACKING_ID": "UA-10196481-11" diff --git a/docker-compose.single-domain.yaml b/docker-compose.single-domain.yaml new file mode 100644 index 00000000..0bd1dcb6 --- /dev/null +++ b/docker-compose.single-domain.yaml @@ -0,0 +1,207 @@ +version: "3" +services: + reverse-proxy: + image: traefik:v2.0 + command: + - --api.insecure=true + - --providers.docker + - --entryPoints.web.address=:80 + - --entryPoints.websecure.address=:443 + ports: + - "80:80" + - "443:443" + # The Web UI (enabled by --api.insecure=true) + - "8080:8080" + depends_on: + - back + - front + volumes: + - /var/run/docker.sock:/var/run/docker.sock + + front: + image: thecodingmachine/nodejs:14 + environment: + DEBUG_MODE: "$DEBUG_MODE" + JITSI_URL: $JITSI_URL + JITSI_PRIVATE_MODE: "$JITSI_PRIVATE_MODE" + HOST: "0.0.0.0" + NODE_ENV: development + PUSHER_URL: /pusher + UPLOADER_URL: /uploader + ADMIN_URL: /admin + MAPS_URL: /maps + STARTUP_COMMAND_1: yarn install + TURN_SERVER: "turn:localhost:3478,turns:localhost:5349" + # Use TURN_USER/TURN_PASSWORD if your Coturn server is secured via hard coded credentials. + # Advice: you should instead use Coturn REST API along the TURN_STATIC_AUTH_SECRET in the Back container + TURN_USER: "" + TURN_PASSWORD: "" + START_ROOM_URL: "$START_ROOM_URL" + command: yarn run start + volumes: + - ./front:/usr/src/app + labels: + - "traefik.http.routers.front.rule=PathPrefix(`/`)" + - "traefik.http.routers.front.entryPoints=web,traefik" + - "traefik.http.services.front.loadbalancer.server.port=8080" + - "traefik.http.routers.front-ssl.rule=PathPrefix(`/`)" + - "traefik.http.routers.front-ssl.entryPoints=websecure" + - "traefik.http.routers.front-ssl.tls=true" + - "traefik.http.routers.front-ssl.service=front" + + pusher: + image: thecodingmachine/nodejs:12 + command: yarn dev + #command: yarn run prod + #command: yarn run profile + environment: + DEBUG: "*" + STARTUP_COMMAND_1: yarn install + SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" + SECRET_KEY: yourSecretKey + ADMIN_API_TOKEN: "$ADMIN_API_TOKEN" + API_URL: back:50051 + JITSI_URL: $JITSI_URL + JITSI_ISS: $JITSI_ISS + volumes: + - ./pusher:/usr/src/app + labels: + - "traefik.http.middlewares.strip-pusher-prefix.stripprefix.prefixes=/pusher" + - "traefik.http.routers.pusher.rule=PathPrefix(`/pusher`)" + - "traefik.http.routers.pusher.middlewares=strip-pusher-prefix@docker" + - "traefik.http.routers.pusher.entryPoints=web" + - "traefik.http.services.pusher.loadbalancer.server.port=8080" + - "traefik.http.routers.pusher-ssl.rule=PathPrefix(`/pusher`)" + - "traefik.http.routers.pusher-ssl.middlewares=strip-pusher-prefix@docker" + - "traefik.http.routers.pusher-ssl.entryPoints=websecure" + - "traefik.http.routers.pusher-ssl.tls=true" + - "traefik.http.routers.pusher-ssl.service=pusher" + + maps: + image: thecodingmachine/nodejs:12-apache + environment: + DEBUG_MODE: "$DEBUG_MODE" + HOST: "0.0.0.0" + NODE_ENV: development + #APACHE_DOCUMENT_ROOT: dist/ + #APACHE_EXTENSIONS: headers + #APACHE_EXTENSION_HEADERS: 1 + STARTUP_COMMAND_0: sudo a2enmod headers + STARTUP_COMMAND_1: yarn install + STARTUP_COMMAND_2: yarn run dev & + volumes: + - ./maps:/var/www/html + labels: + - "traefik.http.middlewares.strip-maps-prefix.stripprefix.prefixes=/maps" + - "traefik.http.routers.maps.rule=PathPrefix(`/maps`)" + - "traefik.http.routers.maps.middlewares=strip-maps-prefix@docker" + - "traefik.http.routers.maps.entryPoints=web,traefik" + - "traefik.http.services.maps.loadbalancer.server.port=80" + - "traefik.http.routers.maps-ssl.rule=PathPrefix(`/maps`)" + - "traefik.http.routers.maps-ssl.middlewares=strip-maps-prefix@docker" + - "traefik.http.routers.maps-ssl.entryPoints=websecure" + - "traefik.http.routers.maps-ssl.tls=true" + - "traefik.http.routers.maps-ssl.service=maps" + + back: + image: thecodingmachine/nodejs:12 + command: yarn dev + #command: yarn run profile + environment: + DEBUG: "*" + STARTUP_COMMAND_1: yarn install + SECRET_KEY: yourSecretKey + SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" + ALLOW_ARTILLERY: "true" + ADMIN_API_TOKEN: "$ADMIN_API_TOKEN" + JITSI_URL: $JITSI_URL + JITSI_ISS: $JITSI_ISS + volumes: + - ./back:/usr/src/app + labels: + - "traefik.http.middlewares.strip-api-prefix.stripprefix.prefixes=/api" + - "traefik.http.routers.back.rule=PathPrefix(`/api`)" + - "traefik.http.routers.back.middlewares=strip-api-prefix@docker" + - "traefik.http.routers.back.entryPoints=web" + - "traefik.http.services.back.loadbalancer.server.port=8080" + - "traefik.http.routers.back-ssl.rule=PathPrefix(`/api`)" + - "traefik.http.routers.back-ssl.middlewares=strip-api-prefix@docker" + - "traefik.http.routers.back-ssl.entryPoints=websecure" + - "traefik.http.routers.back-ssl.tls=true" + - "traefik.http.routers.back-ssl.service=back" + + uploader: + image: thecodingmachine/nodejs:12 + command: yarn dev + #command: yarn run profile + environment: + DEBUG: "*" + STARTUP_COMMAND_1: yarn install + volumes: + - ./uploader:/usr/src/app + labels: + - "traefik.http.middlewares.strip-uploader-prefix.stripprefix.prefixes=/uploader" + - "traefik.http.routers.uploader.rule=PathPrefix(`/uploader`)" + - "traefik.http.routers.uploader.middlewares=strip-uploader-prefix@docker" + - "traefik.http.routers.uploader.entryPoints=web" + - "traefik.http.services.uploader.loadbalancer.server.port=8080" + - "traefik.http.routers.uploader-ssl.rule=PathPrefix(`/uploader`)" + - "traefik.http.routers.uploader-ssl.middlewares=strip-uploader-prefix@docker" + - "traefik.http.routers.uploader-ssl.entryPoints=websecure" + - "traefik.http.routers.uploader-ssl.tls=true" + - "traefik.http.routers.uploader-ssl.service=uploader" + + website: + image: thecodingmachine/nodejs:12-apache + environment: + STARTUP_COMMAND_1: npm install + STARTUP_COMMAND_2: npm run watch & + APACHE_DOCUMENT_ROOT: dist/ + volumes: + - ./website:/var/www/html + labels: + - "traefik.http.routers.website.rule=Host(`workadventure.localhost`)" + - "traefik.http.routers.website.entryPoints=web" + - "traefik.http.services.website.loadbalancer.server.port=80" + - "traefik.http.routers.website-ssl.rule=Host(`workadventure.localhost`)" + - "traefik.http.routers.website-ssl.entryPoints=websecure" + - "traefik.http.routers.website-ssl.tls=true" + - "traefik.http.routers.website-ssl.service=website" + + messages: + #image: thecodingmachine/nodejs:14 + image: thecodingmachine/workadventure-back-base:latest + environment: + #STARTUP_COMMAND_0: sudo apt-get install -y inotify-tools + STARTUP_COMMAND_1: yarn install + STARTUP_COMMAND_2: yarn run proto:watch + volumes: + - ./messages:/usr/src/app + - ./back:/usr/src/back + - ./front:/usr/src/front + - ./pusher:/usr/src/pusher + +# coturn: +# image: coturn/coturn:4.5.2 +# command: +# - turnserver +# #- -c=/etc/coturn/turnserver.conf +# - --log-file=stdout +# - --external-ip=$$(detect-external-ip) +# - --listening-port=3478 +# - --min-port=10000 +# - --max-port=10010 +# - --tls-listening-port=5349 +# - --listening-ip=0.0.0.0 +# - --realm=localhost +# - --server-name=localhost +# - --lt-cred-mech +# # Enable Coturn "REST API" to validate temporary passwords. +# #- --use-auth-secret +# #- --static-auth-secret=SomeStaticAuthSecret +# #- --userdb=/var/lib/turn/turndb +# - --user=workadventure:WorkAdventure123 +# # use real-valid certificate/privatekey files +# #- --cert=/root/letsencrypt/fullchain.pem +# #- --pkey=/root/letsencrypt/privkey.pem +# network_mode: host diff --git a/docker-compose.yaml b/docker-compose.yaml index 98071437..504c5b23 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -26,9 +26,9 @@ services: JITSI_PRIVATE_MODE: "$JITSI_PRIVATE_MODE" HOST: "0.0.0.0" NODE_ENV: development - API_URL: pusher.workadventure.localhost - UPLOADER_URL: uploader.workadventure.localhost - ADMIN_URL: workadventure.localhost + PUSHER_URL: //pusher.workadventure.localhost + UPLOADER_URL: //uploader.workadventure.localhost + ADMIN_URL: //workadventure.localhost STARTUP_COMMAND_1: ./templater.sh STARTUP_COMMAND_2: yarn install STUN_SERVER: "stun:stun.l.google.com:19302" @@ -43,7 +43,7 @@ services: - ./front:/usr/src/app labels: - "traefik.http.routers.front.rule=Host(`play.workadventure.localhost`)" - - "traefik.http.routers.front.entryPoints=web,traefik" + - "traefik.http.routers.front.entryPoints=web" - "traefik.http.services.front.loadbalancer.server.port=8080" - "traefik.http.routers.front-ssl.rule=Host(`play.workadventure.localhost`)" - "traefik.http.routers.front-ssl.entryPoints=websecure" @@ -53,10 +53,8 @@ services: pusher: image: thecodingmachine/nodejs:12 command: yarn dev - #command: yarn run prod - #command: yarn run profile environment: - DEBUG: "*" + DEBUG: "socket:*" STARTUP_COMMAND_1: yarn install SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" SECRET_KEY: yourSecretKey diff --git a/front/Dockerfile b/front/Dockerfile index b0d17877..ef724e0f 100644 --- a/front/Dockerfile +++ b/front/Dockerfile @@ -3,11 +3,16 @@ WORKDIR /var/www/messages COPY --chown=docker:docker messages . RUN yarn install && yarn proto -# we are rebuilding on each deploy to cope with the API_URL environment URL +# we are rebuilding on each deploy to cope with the PUSHER_URL environment URL FROM thecodingmachine/nodejs:14-apache COPY --chown=docker:docker front . COPY --from=builder --chown=docker:docker /var/www/messages/generated /var/www/html/src/Messages/generated + +# Removing the iframe.html file from the final image as this adds a XSS attack. +# iframe.html is only in dev mode to circumvent a limitation +RUN rm dist/iframe.html + RUN yarn install ENV NODE_ENV=production diff --git a/front/dist/.gitignore b/front/dist/.gitignore index 05c474ec..785f2eb9 100644 --- a/front/dist/.gitignore +++ b/front/dist/.gitignore @@ -1,3 +1,4 @@ index.html index.tmpl.html.tmp -style.*.css \ No newline at end of file +/js/ +style.*.css diff --git a/front/dist/iframe.html b/front/dist/iframe.html new file mode 100644 index 00000000..c8fafb4b --- /dev/null +++ b/front/dist/iframe.html @@ -0,0 +1,17 @@ + + + + + + + diff --git a/front/dist/index.tmpl.html b/front/dist/index.tmpl.html index eeb8bb5b..062622b8 100644 --- a/front/dist/index.tmpl.html +++ b/front/dist/index.tmpl.html @@ -29,6 +29,9 @@ + + + WorkAdventure @@ -70,11 +73,11 @@
- - @@ -92,12 +95,12 @@
- +
diff --git a/front/dist/resources/html/warningContainer.html b/front/dist/resources/html/warningContainer.html new file mode 100644 index 00000000..832ac4da --- /dev/null +++ b/front/dist/resources/html/warningContainer.html @@ -0,0 +1,18 @@ + + +
+

Warning!

+

This world is close to its limit!

+
\ No newline at end of file diff --git a/front/dist/resources/logos/fullscreen-exit.svg b/front/dist/resources/logos/fullscreen-exit.svg new file mode 100644 index 00000000..1d15cd8b --- /dev/null +++ b/front/dist/resources/logos/fullscreen-exit.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/front/dist/resources/logos/fullscreen.svg b/front/dist/resources/logos/fullscreen.svg new file mode 100644 index 00000000..2c518466 --- /dev/null +++ b/front/dist/resources/logos/fullscreen.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/front/dist/resources/style/cowebsite.scss b/front/dist/resources/style/cowebsite.scss index ba8fdb84..33a6b6bf 100644 --- a/front/dist/resources/style/cowebsite.scss +++ b/front/dist/resources/style/cowebsite.scss @@ -35,9 +35,8 @@ cursor: url('/resources/logos/cursor_pointer.png'), pointer; img { - height: 20px; - background-color: rgba(0,0.0,0,0.3); - padding: 5px; + height: 25px; + padding: 4px; border-radius: 3px; } @@ -78,31 +77,13 @@ } .top-right-btn{ - top: 10px; - right: -100px; - animation: right .2s ease; - - img { - right: 15px; + left: -6px; + &#cowebsite-close { + top: 0px; + } + &#cowebsite-fullscreen { + top: 25px; } - } - - #cowebsite-close { - right: -140px; - } - #cowebsite-fullscreen { - right: -100px; - } - - } - - #cowebsite:hover { - #cowebsite-close{ - right: 10px; - } - - #cowebsite-fullscreen{ - right: 45px; } } } @@ -139,32 +120,13 @@ } } - .top-right-btn{ - top: 10px; - right: -100px; - animation: right .2s ease; - - img { - right: 15px; + .top-right-btn { + &#cowebsite-close { + right: 0px; + } + &#cowebsite-fullscreen { + right: 25px; } } - - #cowebsite-close { - right: -140px; - } - #cowebsite-fullscreen { - right: -100px; - } - } - - #cowebsite:hover { - #cowebsite-close{ - right: 10px; - } - - #cowebsite-fullscreen{ - right: 45px; - } - } } \ No newline at end of file diff --git a/front/dist/resources/style/style.css b/front/dist/resources/style/style.css index 05ff5a03..ba5b6c07 100644 --- a/front/dist/resources/style/style.css +++ b/front/dist/resources/style/style.css @@ -363,10 +363,14 @@ body { justify-content: center; } +.audioplayer > div { + padding-right: 1.2rem; +} + #audioplayerctrl { position: fixed; top: 0; - right: 50%; + right: calc(50% - 120px); padding: 0.3rem 0.5rem; color: white; transition: transform 0.5s; @@ -1119,6 +1123,31 @@ div.action p.action-body{ margin-left: calc(50% - 75px); border-radius: 15px; } +.popUpElement{ + font-family: 'Press Start 2P'; + text-align: left; + color: white; +} +.popUpElement div { + font-family: 'Press Start 2P'; + font-size: 10px; + background-color: #727678; +} + +.popUpElement button { + position: relative; + font-size: 10px; + border-image-repeat: revert; + margin-right: 5px; +} + +.popUpElement .buttonContainer { + float: right; + background-color: inherit; + +} + + @keyframes mymove { 0% {bottom: 40px;} 50% {bottom: 30px;} diff --git a/front/src/Administration/ConsoleGlobalMessageManager.ts b/front/src/Administration/ConsoleGlobalMessageManager.ts index 7800e332..3aed39ac 100644 --- a/front/src/Administration/ConsoleGlobalMessageManager.ts +++ b/front/src/Administration/ConsoleGlobalMessageManager.ts @@ -336,7 +336,7 @@ export class ConsoleGlobalMessageManager { } active(){ - this.userInputManager.clearAllKeys(); + this.userInputManager.disableControls(); this.divMainConsole.style.top = '0'; this.activeConsole = true; } diff --git a/front/src/Administration/GlobalMessageManager.ts b/front/src/Administration/GlobalMessageManager.ts index f30329d9..bc9f3cfe 100644 --- a/front/src/Administration/GlobalMessageManager.ts +++ b/front/src/Administration/GlobalMessageManager.ts @@ -1,6 +1,6 @@ import {HtmlUtils} from "./../WebRtc/HtmlUtils"; import {AUDIO_TYPE, MESSAGE_TYPE} from "./ConsoleGlobalMessageManager"; -import {API_URL, UPLOADER_URL} from "../Enum/EnvironmentVariable"; +import {PUSHER_URL, UPLOADER_URL} from "../Enum/EnvironmentVariable"; import {RoomConnection} from "../Connexion/RoomConnection"; import {PlayGlobalMessageInterface} from "../Connexion/ConnexionModels"; diff --git a/front/src/Api/Events/ButtonClickedEvent.ts b/front/src/Api/Events/ButtonClickedEvent.ts new file mode 100644 index 00000000..de807037 --- /dev/null +++ b/front/src/Api/Events/ButtonClickedEvent.ts @@ -0,0 +1,11 @@ +import * as tg from "generic-type-guard"; + +export const isButtonClickedEvent = + new tg.IsInterface().withProperties({ + popupId: tg.isNumber, + buttonId: tg.isNumber, + }).get(); +/** + * A message sent from the game to the iFrame when a user enters or leaves a zone marked with the "zone" property. + */ +export type ButtonClickedEvent = tg.GuardedType; diff --git a/front/src/Api/Events/ChatEvent.ts b/front/src/Api/Events/ChatEvent.ts new file mode 100644 index 00000000..5729a120 --- /dev/null +++ b/front/src/Api/Events/ChatEvent.ts @@ -0,0 +1,11 @@ +import * as tg from "generic-type-guard"; + +export const isChatEvent = + new tg.IsInterface().withProperties({ + message: tg.isString, + author: tg.isString, + }).get(); +/** + * A message sent from the iFrame to the game to add a message in the chat. + */ +export type ChatEvent = tg.GuardedType; diff --git a/front/src/Api/Events/ClosePopupEvent.ts b/front/src/Api/Events/ClosePopupEvent.ts new file mode 100644 index 00000000..83b09c96 --- /dev/null +++ b/front/src/Api/Events/ClosePopupEvent.ts @@ -0,0 +1,11 @@ +import * as tg from "generic-type-guard"; + +export const isClosePopupEvent = + new tg.IsInterface().withProperties({ + popupId: tg.isNumber, + }).get(); + +/** + * A message sent from the iFrame to the game to add a message in the chat. + */ +export type ClosePopupEvent = tg.GuardedType; diff --git a/front/src/Api/Events/EnterLeaveEvent.ts b/front/src/Api/Events/EnterLeaveEvent.ts new file mode 100644 index 00000000..0c0cb4ff --- /dev/null +++ b/front/src/Api/Events/EnterLeaveEvent.ts @@ -0,0 +1,10 @@ +import * as tg from "generic-type-guard"; + +export const isEnterLeaveEvent = + new tg.IsInterface().withProperties({ + name: tg.isString, + }).get(); +/** + * A message sent from the game to the iFrame when a user enters or leaves a zone marked with the "zone" property. + */ +export type EnterLeaveEvent = tg.GuardedType; diff --git a/front/src/Api/Events/GoToPageEvent.ts b/front/src/Api/Events/GoToPageEvent.ts new file mode 100644 index 00000000..cb258b03 --- /dev/null +++ b/front/src/Api/Events/GoToPageEvent.ts @@ -0,0 +1,13 @@ +import * as tg from "generic-type-guard"; + + + +export const isGoToPageEvent = + new tg.IsInterface().withProperties({ + url: tg.isString, + }).get(); + +/** + * A message sent from the iFrame to the game to add a message in the chat. + */ +export type GoToPageEvent = tg.GuardedType; diff --git a/front/src/Api/Events/IframeEvent.ts b/front/src/Api/Events/IframeEvent.ts new file mode 100644 index 00000000..883f50fc --- /dev/null +++ b/front/src/Api/Events/IframeEvent.ts @@ -0,0 +1,7 @@ +export interface IframeEvent { + type: string; + data: unknown; +} + +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export const isIframeEventWrapper = (event: any): event is IframeEvent => typeof event.type === 'string'; diff --git a/front/src/Api/Events/OpenCoWebSiteEvent.ts b/front/src/Api/Events/OpenCoWebSiteEvent.ts new file mode 100644 index 00000000..0fbc0ce2 --- /dev/null +++ b/front/src/Api/Events/OpenCoWebSiteEvent.ts @@ -0,0 +1,13 @@ +import * as tg from "generic-type-guard"; + + + +export const isOpenCoWebsite = + new tg.IsInterface().withProperties({ + url: tg.isString, + }).get(); + +/** + * A message sent from the iFrame to the game to add a message in the chat. + */ +export type OpenCoWebSiteEvent = tg.GuardedType; diff --git a/front/src/Api/Events/OpenPopupEvent.ts b/front/src/Api/Events/OpenPopupEvent.ts new file mode 100644 index 00000000..094ba555 --- /dev/null +++ b/front/src/Api/Events/OpenPopupEvent.ts @@ -0,0 +1,20 @@ +import * as tg from "generic-type-guard"; + +const isButtonDescriptor = + new tg.IsInterface().withProperties({ + label: tg.isString, + className: tg.isOptional(tg.isString) + }).get(); + +export const isOpenPopupEvent = + new tg.IsInterface().withProperties({ + popupId: tg.isNumber, + targetObject: tg.isString, + message: tg.isString, + buttons: tg.isArray(isButtonDescriptor) + }).get(); + +/** + * A message sent from the iFrame to the game to add a message in the chat. + */ +export type OpenPopupEvent = tg.GuardedType; diff --git a/front/src/Api/Events/OpenTabEvent.ts b/front/src/Api/Events/OpenTabEvent.ts new file mode 100644 index 00000000..e510f8b6 --- /dev/null +++ b/front/src/Api/Events/OpenTabEvent.ts @@ -0,0 +1,13 @@ +import * as tg from "generic-type-guard"; + + + +export const isOpenTabEvent = + new tg.IsInterface().withProperties({ + url: tg.isString, + }).get(); + +/** + * A message sent from the iFrame to the game to add a message in the chat. + */ +export type OpenTabEvent = tg.GuardedType; diff --git a/front/src/Api/Events/UserInputChatEvent.ts b/front/src/Api/Events/UserInputChatEvent.ts new file mode 100644 index 00000000..de21ff6e --- /dev/null +++ b/front/src/Api/Events/UserInputChatEvent.ts @@ -0,0 +1,10 @@ +import * as tg from "generic-type-guard"; + +export const isUserInputChatEvent = + new tg.IsInterface().withProperties({ + message: tg.isString, + }).get(); +/** + * A message sent from the game to the iFrame when a user types a message in the chat. + */ +export type UserInputChatEvent = tg.GuardedType; diff --git a/front/src/Api/IframeListener.ts b/front/src/Api/IframeListener.ts new file mode 100644 index 00000000..c875ebbb --- /dev/null +++ b/front/src/Api/IframeListener.ts @@ -0,0 +1,238 @@ +import {Subject} from "rxjs"; +import {ChatEvent, isChatEvent} from "./Events/ChatEvent"; +import {IframeEvent, isIframeEventWrapper} from "./Events/IframeEvent"; +import {UserInputChatEvent} from "./Events/UserInputChatEvent"; +import * as crypto from "crypto"; +import {HtmlUtils} from "../WebRtc/HtmlUtils"; +import {EnterLeaveEvent} from "./Events/EnterLeaveEvent"; +import {isOpenPopupEvent, OpenPopupEvent} from "./Events/OpenPopupEvent"; +import {isOpenTabEvent, OpenTabEvent} from "./Events/OpenTabEvent"; +import {ButtonClickedEvent} from "./Events/ButtonClickedEvent"; +import {ClosePopupEvent, isClosePopupEvent} from "./Events/ClosePopupEvent"; +import {scriptUtils} from "./ScriptUtils"; +import {GoToPageEvent, isGoToPageEvent} from "./Events/GoToPageEvent"; +import {isOpenCoWebsite, OpenCoWebSiteEvent} from "./Events/OpenCoWebSiteEvent"; + + +/** + * Listens to messages from iframes and turn those messages into easy to use observables. + * Also allows to send messages to those iframes. + */ +class IframeListener { + private readonly _chatStream: Subject = new Subject(); + public readonly chatStream = this._chatStream.asObservable(); + + private readonly _openPopupStream: Subject = new Subject(); + public readonly openPopupStream = this._openPopupStream.asObservable(); + + private readonly _openTabStream: Subject = new Subject(); + public readonly openTabStream = this._openTabStream.asObservable(); + + private readonly _goToPageStream: Subject = new Subject(); + public readonly goToPageStream = this._goToPageStream.asObservable(); + + private readonly _openCoWebSiteStream: Subject = new Subject(); + public readonly openCoWebSiteStream = this._openCoWebSiteStream.asObservable(); + + private readonly _closeCoWebSiteStream: Subject = new Subject(); + public readonly closeCoWebSiteStream = this._closeCoWebSiteStream.asObservable(); + + private readonly _disablePlayerControlStream: Subject = new Subject(); + public readonly disablePlayerControlStream = this._disablePlayerControlStream.asObservable(); + + private readonly _enablePlayerControlStream: Subject = new Subject(); + public readonly enablePlayerControlStream = this._enablePlayerControlStream.asObservable(); + + private readonly _closePopupStream: Subject = new Subject(); + public readonly closePopupStream = this._closePopupStream.asObservable(); + + private readonly _displayBubbleStream: Subject = new Subject(); + public readonly displayBubbleStream = this._displayBubbleStream.asObservable(); + + private readonly _removeBubbleStream: Subject = new Subject(); + public readonly removeBubbleStream = this._removeBubbleStream.asObservable(); + + private readonly iframes = new Set(); + private readonly scripts = new Map(); + + init() { + window.addEventListener("message", (message) => { + // Do we trust the sender of this message? + // Let's only accept messages from the iframe that are allowed. + // Note: maybe we could restrict on the domain too for additional security (in case the iframe goes to another domain). + let found = false; + for (const iframe of this.iframes) { + if (iframe.contentWindow === message.source) { + found = true; + break; + } + } + if (!found) { + return; + } + + const payload = message.data; + if (isIframeEventWrapper(payload)) { + if (payload.type === 'chat' && isChatEvent(payload.data)) { + this._chatStream.next(payload.data); + } else if (payload.type === 'openPopup' && isOpenPopupEvent(payload.data)) { + this._openPopupStream.next(payload.data); + } else if (payload.type === 'closePopup' && isClosePopupEvent(payload.data)) { + this._closePopupStream.next(payload.data); + } + else if(payload.type === 'openTab' && isOpenTabEvent(payload.data)) { + scriptUtils.openTab(payload.data.url); + } + else if(payload.type === 'goToPage' && isGoToPageEvent(payload.data)) { + scriptUtils.goToPage(payload.data.url); + } + else if(payload.type === 'openCoWebSite' && isOpenCoWebsite(payload.data)) { + scriptUtils.openCoWebsite(payload.data.url); + } + else if(payload.type === 'closeCoWebSite') { + scriptUtils.closeCoWebSite(); + } + else if (payload.type === 'disablePlayerControl'){ + this._disablePlayerControlStream.next(); + } + else if (payload.type === 'restorePlayerControl'){ + this._enablePlayerControlStream.next(); + } + else if (payload.type === 'displayBubble'){ + this._displayBubbleStream.next(); + } + else if (payload.type === 'removeBubble'){ + this._removeBubbleStream.next(); + } + } + + + }, false); + + } + + /** + * Allows the passed iFrame to send/receive messages via the API. + */ + registerIframe(iframe: HTMLIFrameElement): void { + this.iframes.add(iframe); + } + + unregisterIframe(iframe: HTMLIFrameElement): void { + this.iframes.delete(iframe); + } + + registerScript(scriptUrl: string): void { + console.log('Loading map related script at ', scriptUrl) + + if (!process.env.NODE_ENV || process.env.NODE_ENV === 'development') { + // Using external iframe mode ( + const iframe = document.createElement('iframe'); + iframe.id = this.getIFrameId(scriptUrl); + iframe.style.display = 'none'; + iframe.src = '/iframe.html?script='+encodeURIComponent(scriptUrl); + + // We are putting a sandbox on this script because it will run in the same domain as the main website. + iframe.sandbox.add('allow-scripts'); + iframe.sandbox.add('allow-top-navigation-by-user-activation'); + + document.body.prepend(iframe); + + this.scripts.set(scriptUrl, iframe); + this.registerIframe(iframe); + } else { + // production code + const iframe = document.createElement('iframe'); + iframe.id = this.getIFrameId(scriptUrl); + iframe.style.display = 'none'; + + // We are putting a sandbox on this script because it will run in the same domain as the main website. + iframe.sandbox.add('allow-scripts'); + iframe.sandbox.add('allow-top-navigation-by-user-activation'); + + const html = '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n' + + '\n'; + + //iframe.src = "data:text/html;charset=utf-8," + escape(html); + iframe.srcdoc = html; + + document.body.prepend(iframe); + + this.scripts.set(scriptUrl, iframe); + this.registerIframe(iframe); + } + + + } + + private getIFrameId(scriptUrl: string): string { + return 'script'+crypto.createHash('md5').update(scriptUrl).digest("hex"); + } + + unregisterScript(scriptUrl: string): void { + const iFrameId = this.getIFrameId(scriptUrl); + const iframe = HtmlUtils.getElementByIdOrFail(iFrameId); + if (!iframe) { + throw new Error('Unknown iframe for script "'+scriptUrl+'"'); + } + this.unregisterIframe(iframe); + iframe.remove(); + + this.scripts.delete(scriptUrl); + } + + sendUserInputChat(message: string) { + this.postMessage({ + 'type': 'userInputChat', + 'data': { + 'message': message, + } as UserInputChatEvent + }); + } + + sendEnterEvent(name: string) { + this.postMessage({ + 'type': 'enterEvent', + 'data': { + "name": name + } as EnterLeaveEvent + }); + } + + sendLeaveEvent(name: string) { + this.postMessage({ + 'type': 'leaveEvent', + 'data': { + "name": name + } as EnterLeaveEvent + }); + } + + sendButtonClickedEvent(popupId: number, buttonId: number): void { + this.postMessage({ + 'type': 'buttonClickedEvent', + 'data': { + popupId, + buttonId + } as ButtonClickedEvent + }); + } + + /** + * Sends the message... to all allowed iframes. + */ + private postMessage(message: IframeEvent) { + for (const iframe of this.iframes) { + iframe.contentWindow?.postMessage(message, '*'); + } + } + +} + +export const iframeListener = new IframeListener(); diff --git a/front/src/Api/ScriptUtils.ts b/front/src/Api/ScriptUtils.ts new file mode 100644 index 00000000..1a7fed0f --- /dev/null +++ b/front/src/Api/ScriptUtils.ts @@ -0,0 +1,23 @@ +import {coWebsiteManager} from "../WebRtc/CoWebsiteManager"; + +class ScriptUtils { + + public openTab(url : string){ + window.open(url); + } + + public goToPage(url : string){ + window.location.href = url; + + } + + public openCoWebsite(url : string){ + coWebsiteManager.loadCoWebsite(url,url); + } + + public closeCoWebSite(){ + coWebsiteManager.closeCoWebsite(); + } +} + +export const scriptUtils = new ScriptUtils(); diff --git a/front/src/Connexion/ConnectionManager.ts b/front/src/Connexion/ConnectionManager.ts index 0b6e9ff1..04c93a3e 100644 --- a/front/src/Connexion/ConnectionManager.ts +++ b/front/src/Connexion/ConnectionManager.ts @@ -1,27 +1,30 @@ import Axios from "axios"; -import {API_URL, START_ROOM_URL} from "../Enum/EnvironmentVariable"; +import {PUSHER_URL, START_ROOM_URL} from "../Enum/EnvironmentVariable"; import {RoomConnection} from "./RoomConnection"; import {OnConnectInterface, PositionInterface, ViewportInterface} from "./ConnexionModels"; import {GameConnexionTypes, urlManager} from "../Url/UrlManager"; import {localUserStore} from "./LocalUserStore"; import {LocalUser} from "./LocalUser"; import {Room} from "./Room"; -import {Subject} from "rxjs"; -export enum ConnexionMessageEventTypes { - worldFull = 1, -} - -export interface ConnexionMessageEvent { - type: ConnexionMessageEventTypes, -} class ConnectionManager { private localUser!:LocalUser; private connexionType?: GameConnexionTypes - - public _connexionMessageStream:Subject = new Subject(); + private reconnectingTimeout: NodeJS.Timeout|null = null; + private _unloading:boolean = false; + + get unloading () { + return this._unloading; + } + + constructor() { + window.addEventListener('beforeunload', () => { + this._unloading = true; + if (this.reconnectingTimeout) clearTimeout(this.reconnectingTimeout) + }) + } /** * Tries to login to the node server and return the starting map url to be loaded */ @@ -31,7 +34,7 @@ class ConnectionManager { this.connexionType = connexionType; if(connexionType === GameConnexionTypes.register) { const organizationMemberToken = urlManager.getOrganizationToken(); - const data = await Axios.post(`${API_URL}/register`, {organizationMemberToken}).then(res => res.data); + const data = await Axios.post(`${PUSHER_URL}/register`, {organizationMemberToken}).then(res => res.data); this.localUser = new LocalUser(data.userUuid, data.authToken, data.textures); localUserStore.saveUser(this.localUser); @@ -39,7 +42,7 @@ class ConnectionManager { const worldSlug = data.worldSlug; const roomSlug = data.roomSlug; - const room = new Room('/@/'+organizationSlug+'/'+worldSlug+'/'+roomSlug + window.location.hash); + const room = new Room('/@/'+organizationSlug+'/'+worldSlug+'/'+roomSlug + window.location.search + window.location.hash); urlManager.pushRoomIdToUrl(room); return Promise.resolve(room); } else if (connexionType === GameConnexionTypes.organization || connexionType === GameConnexionTypes.anonymous || connexionType === GameConnexionTypes.empty) { @@ -61,20 +64,20 @@ class ConnectionManager { if (connexionType === GameConnexionTypes.empty) { roomId = START_ROOM_URL; } else { - roomId = window.location.pathname + window.location.hash; + roomId = window.location.pathname + window.location.search + window.location.hash; } return Promise.resolve(new Room(roomId)); } - return Promise.reject('Invalid URL'); + return Promise.reject(new Error('Invalid URL')); } private async verifyToken(token: string): Promise { - await Axios.get(`${API_URL}/verify`, {params: {token}}); + await Axios.get(`${PUSHER_URL}/verify`, {params: {token}}); } public async anonymousLogin(isBenchmark: boolean = false): Promise { - const data = await Axios.post(`${API_URL}/anonymLogin`).then(res => res.data); + const data = await Axios.post(`${PUSHER_URL}/anonymLogin`).then(res => res.data); this.localUser = new LocalUser(data.userUuid, data.authToken, []); if (!isBenchmark) { // In benchmark, we don't have a local storage. localUserStore.saveUser(this.localUser); @@ -105,7 +108,7 @@ class ConnectionManager { }).catch((err) => { // Let's retry in 4-6 seconds return new Promise((resolve, reject) => { - setTimeout(() => { + this.reconnectingTimeout = setTimeout(() => { //todo: allow a way to break recursion? //todo: find a way to avoid recursive function. Otherwise, the call stack will grow indefinitely. this.connectToRoomSocket(roomId, name, characterLayers, position, viewport).then((connection) => resolve(connection)); diff --git a/front/src/Connexion/LocalUserStore.ts b/front/src/Connexion/LocalUserStore.ts index 8ac8c7b2..702df561 100644 --- a/front/src/Connexion/LocalUserStore.ts +++ b/front/src/Connexion/LocalUserStore.ts @@ -1,12 +1,16 @@ import {LocalUser} from "./LocalUser"; -const characterLayersKey = 'characterLayers'; -const gameQualityKey = 'gameQuality'; -const videoQualityKey = 'videoQuality'; +const playerNameKey = 'playerName'; +const selectedPlayerKey = 'selectedPlayer'; +const customCursorPositionKey = 'customCursorPosition'; +const characterLayersKey = 'characterLayers'; +const gameQualityKey = 'gameQuality'; +const videoQualityKey = 'videoQuality'; +const audioPlayerVolumeKey = 'audioVolume'; +const audioPlayerMuteKey = 'audioMute'; +const helpCameraSettingsShown = 'helpCameraSettingsShown'; -//todo: add localstorage fallback class LocalUserStore { - saveUser(localUser: LocalUser) { localStorage.setItem('localUser', JSON.stringify(localUser)); } @@ -14,48 +18,69 @@ class LocalUserStore { const data = localStorage.getItem('localUser'); return data ? JSON.parse(data) : null; } - + setName(name:string): void { - window.localStorage.setItem('playerName', name); + localStorage.setItem(playerNameKey, name); } getName(): string { - return window.localStorage.getItem('playerName') ?? ''; + return localStorage.getItem(playerNameKey) || ''; } setPlayerCharacterIndex(playerCharacterIndex: number): void { - window.localStorage.setItem('selectedPlayer', ''+playerCharacterIndex); + localStorage.setItem(selectedPlayerKey, ''+playerCharacterIndex); } getPlayerCharacterIndex(): number { - return parseInt(window.localStorage.getItem('selectedPlayer') || ''); + return parseInt(localStorage.getItem(selectedPlayerKey) || ''); } setCustomCursorPosition(activeRow:number, selectedLayers: number[]): void { - window.localStorage.setItem('customCursorPosition', JSON.stringify({activeRow, selectedLayers})); + localStorage.setItem(customCursorPositionKey, JSON.stringify({activeRow, selectedLayers})); } getCustomCursorPosition(): {activeRow:number, selectedLayers:number[]}|null { - return JSON.parse(window.localStorage.getItem('customCursorPosition') || "null"); + return JSON.parse(localStorage.getItem(customCursorPositionKey) || "null"); } setCharacterLayers(layers: string[]): void { - window.localStorage.setItem(characterLayersKey, JSON.stringify(layers)); + localStorage.setItem(characterLayersKey, JSON.stringify(layers)); } getCharacterLayers(): string[]|null { - return JSON.parse(window.localStorage.getItem(characterLayersKey) || "null"); - } - - getGameQualityValue(): number { - return parseInt(window.localStorage.getItem(gameQualityKey) || '') || 60; + return JSON.parse(localStorage.getItem(characterLayersKey) || "null"); } + setGameQualityValue(value: number): void { localStorage.setItem(gameQualityKey, '' + value); } - - getVideoQualityValue(): number { - return parseInt(window.localStorage.getItem(videoQualityKey) || '') || 20; + getGameQualityValue(): number { + return parseInt(localStorage.getItem(gameQualityKey) || '60'); } + setVideoQualityValue(value: number): void { localStorage.setItem(videoQualityKey, '' + value); } + getVideoQualityValue(): number { + return parseInt(localStorage.getItem(videoQualityKey) || '20'); + } + + setAudioPlayerVolume(value: number): void { + localStorage.setItem(audioPlayerVolumeKey, '' + value); + } + getAudioPlayerVolume(): number { + return parseFloat(localStorage.getItem(audioPlayerVolumeKey) || '1'); + } + + setAudioPlayerMuted(value: boolean): void { + localStorage.setItem(audioPlayerMuteKey, value.toString()); + } + getAudioPlayerMuted(): boolean { + return localStorage.getItem(audioPlayerMuteKey) === 'true'; + } + + setHelpCameraSettingsShown(): void { + localStorage.setItem(helpCameraSettingsShown, '1'); + } + getHelpCameraSettingsShown(): boolean { + return localStorage.getItem(helpCameraSettingsShown) === '1'; + } } -export const localUserStore = new LocalUserStore(); \ No newline at end of file +export const localUserStore = new LocalUserStore(); diff --git a/front/src/Connexion/Room.ts b/front/src/Connexion/Room.ts index 72c3b42e..05d94440 100644 --- a/front/src/Connexion/Room.ts +++ b/front/src/Connexion/Room.ts @@ -1,29 +1,30 @@ import Axios from "axios"; -import {API_URL} from "../Enum/EnvironmentVariable"; +import {PUSHER_URL} from "../Enum/EnvironmentVariable"; export class Room { public readonly id: string; public readonly isPublic: boolean; private mapUrl: string|undefined; private instance: string|undefined; + private _search: URLSearchParams; constructor(id: string) { - if (id.startsWith('/')) { - id = id.substr(1); + const url = new URL(id, 'https://example.com'); + + this.id = url.pathname; + + if (this.id.startsWith('/')) { + this.id = this.id.substr(1); } - this.id = id; - if (id.startsWith('_/')) { + if (this.id.startsWith('_/')) { this.isPublic = true; - } else if (id.startsWith('@/')) { + } else if (this.id.startsWith('@/')) { this.isPublic = false; } else { throw new Error('Invalid room ID'); } - const indexOfHash = this.id.indexOf('#'); - if (indexOfHash !== -1) { - this.id = this.id.substr(0, indexOfHash); - } + this._search = new URLSearchParams(url.search); } public static getIdFromIdentifier(identifier: string, baseUrl: string, currentInstance: string): {roomId: string, hash: string} { @@ -66,7 +67,7 @@ export class Room { // We have a private ID, we need to query the map URL from the server. const urlParts = this.parsePrivateUrl(this.id); - Axios.get(`${API_URL}/map`, { + Axios.get(`${PUSHER_URL}/map`, { params: urlParts }).then(({data}) => { console.log('Map ', this.id, ' resolves to URL ', data.mapUrl); @@ -117,4 +118,17 @@ export class Room { } return results; } + + public isDisconnected(): boolean + { + const alone = this._search.get('alone'); + if (alone && alone !== '0' && alone.toLowerCase() !== 'false') { + return true; + } + return false; + } + + public get search(): URLSearchParams { + return this._search; + } } diff --git a/front/src/Connexion/RoomConnection.ts b/front/src/Connexion/RoomConnection.ts index 5951d078..0220cb52 100644 --- a/front/src/Connexion/RoomConnection.ts +++ b/front/src/Connexion/RoomConnection.ts @@ -1,4 +1,4 @@ -import {API_URL, UPLOADER_URL} from "../Enum/EnvironmentVariable"; +import {PUSHER_URL, UPLOADER_URL} from "../Enum/EnvironmentVariable"; import Axios from "axios"; import { BatchMessage, @@ -43,7 +43,9 @@ import { } from "./ConnexionModels"; import {BodyResourceDescriptionInterface} from "../Phaser/Entity/PlayerTextures"; import {adminMessagesService} from "./AdminMessagesService"; -import {connectionManager, ConnexionMessageEventTypes} from "./ConnectionManager"; +import {worldFullMessageStream} from "./WorldFullMessageStream"; +import {worldFullWarningStream} from "./WorldFullWarningStream"; +import {connectionManager} from "./ConnectionManager"; const manualPingDelay = 20000; @@ -65,8 +67,12 @@ export class RoomConnection implements RoomConnection { * @param roomId The ID of the room in the form "_/[instance]/[map_url]" or "@/[org]/[event]/[map]" */ public constructor(token: string|null, roomId: string, name: string, characterLayers: string[], position: PositionInterface, viewport: ViewportInterface) { - let url = API_URL.replace('http://', 'ws://').replace('https://', 'wss://'); - url += '/room'; + let url = new URL(PUSHER_URL, window.location.toString()).toString(); + url = url.replace('http://', 'ws://').replace('https://', 'wss://'); + if (!url.endsWith('/')) { + url += '/'; + } + url += 'room'; url += '?roomId='+(roomId ?encodeURIComponent(roomId):''); url += '&token='+(token ?encodeURIComponent(token):''); url += '&name='+encodeURIComponent(name); @@ -156,8 +162,8 @@ export class RoomConnection implements RoomConnection { items } as RoomJoinedMessageInterface }); - } else if (message.hasErrormessage()) { - connectionManager._connexionMessageStream.next({type: ConnexionMessageEventTypes.worldFull}); //todo: generalize this behavior to all messages + } else if (message.hasWorldfullmessage()) { + worldFullMessageStream.onMessage(); this.closed = true; } else if (message.hasWebrtcsignaltoclientmessage()) { this.dispatch(EventMessage.WEBRTC_SIGNAL, message.getWebrtcsignaltoclientmessage()); @@ -179,6 +185,10 @@ export class RoomConnection implements RoomConnection { adminMessagesService.onSendusermessage(message.getSendusermessage() as SendUserMessage); } else if (message.hasBanusermessage()) { adminMessagesService.onSendusermessage(message.getSendusermessage() as BanUserMessage); + } else if (message.hasWorldfullwarningmessage()) { + worldFullWarningStream.onMessage(); + } else if (message.hasRefreshroommessage()) { + //todo: implement a way to notify the user the room was refreshed. } else { throw new Error('Unknown message received'); } @@ -378,9 +388,6 @@ export class RoomConnection implements RoomConnection { this.socket.addEventListener('error', callback) } - /*public onConnect(callback: (e: Event) => void): void { - this.socket.addEventListener('open', callback) - }*/ public onConnect(callback: (roomConnection: OnConnectInterface) => void): void { //this.socket.addEventListener('open', callback) this.onMessage(EventMessage.CONNECT, callback); @@ -449,9 +456,9 @@ export class RoomConnection implements RoomConnection { }); } - public onServerDisconnected(callback: (event: CloseEvent) => void): void { + public onServerDisconnected(callback: () => void): void { this.socket.addEventListener('close', (event) => { - if (this.closed === true) { + if (this.closed === true || connectionManager.unloading) { return; } console.log('Socket closed with code '+event.code+". Reason: "+event.reason); @@ -459,7 +466,7 @@ export class RoomConnection implements RoomConnection { // Normal closure case return; } - callback(event); + callback(); }); } diff --git a/front/src/Connexion/WorldFullMessageStream.ts b/front/src/Connexion/WorldFullMessageStream.ts new file mode 100644 index 00000000..c02530fa --- /dev/null +++ b/front/src/Connexion/WorldFullMessageStream.ts @@ -0,0 +1,14 @@ +import {Subject} from "rxjs"; + +class WorldFullMessageStream { + + private _stream:Subject = new Subject(); + public stream = this._stream.asObservable(); + + + onMessage() { + this._stream.next(); + } +} + +export const worldFullMessageStream = new WorldFullMessageStream(); \ No newline at end of file diff --git a/front/src/Connexion/WorldFullWarningStream.ts b/front/src/Connexion/WorldFullWarningStream.ts new file mode 100644 index 00000000..5e552830 --- /dev/null +++ b/front/src/Connexion/WorldFullWarningStream.ts @@ -0,0 +1,14 @@ +import {Subject} from "rxjs"; + +class WorldFullWarningStream { + + private _stream:Subject = new Subject(); + public stream = this._stream.asObservable(); + + + onMessage() { + this._stream.next(); + } +} + +export const worldFullWarningStream = new WorldFullWarningStream(); \ No newline at end of file diff --git a/front/src/Enum/EnvironmentVariable.ts b/front/src/Enum/EnvironmentVariable.ts index 844bf564..ea2434af 100644 --- a/front/src/Enum/EnvironmentVariable.ts +++ b/front/src/Enum/EnvironmentVariable.ts @@ -1,8 +1,9 @@ const DEBUG_MODE: boolean = process.env.DEBUG_MODE == "true"; const START_ROOM_URL : string = process.env.START_ROOM_URL || '/_/global/maps.workadventure.localhost/Floor0/floor0.json'; -const API_URL = (process.env.API_PROTOCOL || (typeof(window) !== 'undefined' ? window.location.protocol : 'http:')) + '//' + (process.env.API_URL || "pusher.workadventure.localhost"); -const UPLOADER_URL = (process.env.API_PROTOCOL || (typeof(window) !== 'undefined' ? window.location.protocol : 'http:')) + '//' + (process.env.UPLOADER_URL || 'uploader.workadventure.localhost'); -const ADMIN_URL = (process.env.API_PROTOCOL || (typeof(window) !== 'undefined' ? window.location.protocol : 'http:')) + '//' + (process.env.ADMIN_URL || "workadventure.localhost"); +// For compatibility reasons with older versions, API_URL is the old host name of PUSHER_URL +const PUSHER_URL = process.env.PUSHER_URL || (process.env.API_URL ? '//'+process.env.API_URL : "//pusher.workadventure.localhost"); +const UPLOADER_URL = process.env.UPLOADER_URL || '//uploader.workadventure.localhost'; +const ADMIN_URL = process.env.ADMIN_URL || "//workadventure.localhost"; const STUN_SERVER: string = process.env.STUN_SERVER || "stun:stun.l.google.com:19302"; const TURN_SERVER: string = process.env.TURN_SERVER || ""; const TURN_USER: string = process.env.TURN_USER || ''; @@ -17,7 +18,7 @@ const MAX_EXTRAPOLATION_TIME = 100; // Extrapolate a maximum of 250ms if no new export { DEBUG_MODE, START_ROOM_URL, - API_URL, + PUSHER_URL, UPLOADER_URL, ADMIN_URL, RESOLUTION, diff --git a/front/src/Phaser/Components/WarningContainer.ts b/front/src/Phaser/Components/WarningContainer.ts new file mode 100644 index 00000000..97e97660 --- /dev/null +++ b/front/src/Phaser/Components/WarningContainer.ts @@ -0,0 +1,14 @@ + +export const warningContainerKey = 'warningContainer'; +export const warningContainerHtml = 'resources/html/warningContainer.html'; + +export class WarningContainer extends Phaser.GameObjects.DOMElement { + + constructor(scene: Phaser.Scene) { + super(scene, 100, 0); + this.setOrigin(0, 0); + this.createFromCache(warningContainerKey); + this.scene.add.existing(this); + } + +} \ No newline at end of file diff --git a/front/src/Phaser/Game/GameManager.ts b/front/src/Phaser/Game/GameManager.ts index 7af1014b..8751796f 100644 --- a/front/src/Phaser/Game/GameManager.ts +++ b/front/src/Phaser/Game/GameManager.ts @@ -79,7 +79,10 @@ export class GameManager { console.log('starting '+ (this.currentGameSceneName || this.startRoom.id)) scenePlugin.start(this.currentGameSceneName || this.startRoom.id); scenePlugin.launch(MenuSceneName); - scenePlugin.launch(HelpCameraSettingsSceneName);//700 + + if (!localUserStore.getHelpCameraSettingsShown()) { + scenePlugin.launch(HelpCameraSettingsSceneName);//700 + } } public gameSceneIsCreated(scene: GameScene) { diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index 826bf5ae..51388169 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -29,7 +29,9 @@ import { ON_ACTION_TRIGGER_BUTTON, TRIGGER_JITSI_PROPERTIES, TRIGGER_WEBSITE_PROPERTIES, - WEBSITE_MESSAGE_PROPERTIES + WEBSITE_MESSAGE_PROPERTIES, + AUDIO_VOLUME_PROPERTY, + AUDIO_LOOP_PROPERTY } from "../../WebRtc/LayoutManager"; import {GameMap} from "./GameMap"; import {coWebsiteManager} from "../../WebRtc/CoWebsiteManager"; @@ -39,7 +41,7 @@ import {ActionableItem} from "../Items/ActionableItem"; import {UserInputManager} from "../UserInput/UserInputManager"; import {UserMovedMessage} from "../../Messages/generated/messages_pb"; import {ProtobufClientUtils} from "../../Network/ProtobufClientUtils"; -import {connectionManager, ConnexionMessageEvent, ConnexionMessageEventTypes} from "../../Connexion/ConnectionManager"; +import {connectionManager} from "../../Connexion/ConnectionManager"; import {RoomConnection} from "../../Connexion/RoomConnection"; import {GlobalMessageManager} from "../../Administration/GlobalMessageManager"; import {userMessageManager} from "../../Administration/UserMessageManager"; @@ -57,12 +59,16 @@ import {TextureError} from "../../Exception/TextureError"; import {addLoader} from "../Components/Loader"; import {ErrorSceneName} from "../Reconnecting/ErrorScene"; import {localUserStore} from "../../Connexion/LocalUserStore"; +import {iframeListener} from "../../Api/IframeListener"; +import {HtmlUtils} from "../../WebRtc/HtmlUtils"; import Texture = Phaser.Textures.Texture; import Sprite = Phaser.GameObjects.Sprite; import CanvasTexture = Phaser.Textures.CanvasTexture; import GameObject = Phaser.GameObjects.GameObject; import FILE_LOAD_ERROR = Phaser.Loader.Events.FILE_LOAD_ERROR; +import DOMElement = Phaser.GameObjects.DOMElement; import {Subscription} from "rxjs"; +import {worldFullMessageStream} from "../../Connexion/WorldFullMessageStream"; export interface GameSceneInitInterface { initPosition: PointInterface|null, @@ -154,6 +160,7 @@ export class GameScene extends ResizableScene implements CenterListener { private playerName!: string; private characterLayers!: string[]; private messageSubscription: Subscription|null = null; + private popUpElements : Map = new Map(); constructor(private room: Room, MapUrlFile: string, customKey?: string|undefined) { super({ @@ -187,6 +194,15 @@ export class GameScene extends ResizableScene implements CenterListener { this.load.image(openChatIconName, 'resources/objects/talk.png'); this.load.on(FILE_LOAD_ERROR, (file: {src: string}) => { + // If we happen to be in HTTP and we are trying to load a URL in HTTPS only... (this happens only in dev environments) + if (window.location.protocol === 'http:' && file.src === this.MapUrlFile && file.src.startsWith('http:')) { + this.MapUrlFile = this.MapUrlFile.replace('http://', 'https://'); + this.load.tilemapTiledJSON(this.MapUrlFile, this.MapUrlFile); + this.load.on('filecomplete-tilemapJSON-'+this.MapUrlFile, (key: string, type: string, data: unknown) => { + this.onMapLoad(data); + }); + return; + } this.scene.start(ErrorSceneName, { title: 'Network error', subTitle: 'An error occurred while loading resource:', @@ -260,7 +276,8 @@ export class GameScene extends ResizableScene implements CenterListener { break; } default: - throw new Error('Unsupported object type: "'+ itemType +'"'); + continue; + //throw new Error('Unsupported object type: "'+ itemType +'"'); } itemFactory.preload(this.load); @@ -286,6 +303,12 @@ export class GameScene extends ResizableScene implements CenterListener { }); }); } + + // Now, let's load the script, if any + const scripts = this.getScriptUrls(this.mapFile); + for (const script of scripts) { + iframeListener.registerScript(script); + } } //hook initialisation @@ -303,8 +326,8 @@ export class GameScene extends ResizableScene implements CenterListener { gameManager.gameSceneIsCreated(this); urlManager.pushRoomIdToUrl(this.room); this.startLayerName = urlManager.getStartLayerNameFromUrl(); - - this.messageSubscription = connectionManager._connexionMessageStream.subscribe((event) => this.onConnexionMessage(event)) + + this.messageSubscription = worldFullMessageStream.stream.subscribe((message) => this.showWorldFullError()) const playerName = gameManager.getPlayerName(); if (!playerName) { @@ -370,19 +393,21 @@ export class GameScene extends ResizableScene implements CenterListener { this.initCirclesCanvas(); // Let's pause the scene if the connection is not established yet - if (this.isReconnecting) { - setTimeout(() => { - this.scene.sleep(); - this.scene.launch(ReconnectingSceneName); - }, 0); - } else if (this.connection === undefined) { - // Let's wait 1 second before printing the "connecting" screen to avoid blinking - setTimeout(() => { - if (this.connection === undefined) { + if (!this.room.isDisconnected()) { + if (this.isReconnecting) { + setTimeout(() => { this.scene.sleep(); this.scene.launch(ReconnectingSceneName); - } - }, 1000); + }, 0); + } else if (this.connection === undefined) { + // Let's wait 1 second before printing the "connecting" screen to avoid blinking + setTimeout(() => { + if (this.connection === undefined) { + this.scene.sleep(); + this.scene.launch(ReconnectingSceneName); + } + }, 1000); + } } this.createPromiseResolve(); @@ -407,7 +432,18 @@ export class GameScene extends ResizableScene implements CenterListener { // From now, this game scene will be notified of reposition events layoutManager.setListener(this); this.triggerOnMapLayerPropertyChange(); + this.listenToIframeEvents(); + + if (!this.room.isDisconnected()) { + this.connect(); + } + } + + /** + * Initializes the connection to Pusher. + */ + private connect(): void { const camera = this.cameras.main; connectionManager.connectToRoomSocket( @@ -455,16 +491,12 @@ export class GameScene extends ResizableScene implements CenterListener { }); this.connection.onGroupUpdatedOrCreated((groupPositionMessage: GroupCreatedUpdatedMessageInterface) => { - audioManager.decreaseVolume(); this.shareGroupPosition(groupPositionMessage); - this.openChatIcon.setVisible(true); }) this.connection.onGroupDeleted((groupId: number) => { - audioManager.restoreVolume(); try { this.deleteGroup(groupId); - this.openChatIcon.setVisible(false); } catch (e) { console.error(e); } @@ -472,9 +504,7 @@ export class GameScene extends ResizableScene implements CenterListener { this.connection.onServerDisconnected(() => { console.log('Player disconnected from server. Reloading scene.'); - - this.simplePeer.closeAllConnections(); - this.simplePeer.unregister(); + this.cleanupClosingScene(); const gameSceneKey = 'somekey' + Math.round(Math.random() * 10000); const game: Phaser.Scene = new GameScene(this.room, this.MapUrlFile, gameSceneKey); @@ -517,11 +547,15 @@ export class GameScene extends ResizableScene implements CenterListener { onConnect(user: UserSimplePeerInterface) { self.presentationModeSprite.setVisible(true); self.chatModeSprite.setVisible(true); + self.openChatIcon.setVisible(true); + audioManager.decreaseVolume(); }, onDisconnect(userId: number) { if (self.simplePeer.getNbConnections() === 0) { self.presentationModeSprite.setVisible(false); self.chatModeSprite.setVisible(false); + self.openChatIcon.setVisible(false); + audioManager.restoreVolume(); } } }) @@ -547,7 +581,6 @@ export class GameScene extends ResizableScene implements CenterListener { }); } - //todo: into dedicated classes private initCirclesCanvas(): void { // Let's generate the circle for the group delimiter @@ -576,12 +609,12 @@ export class GameScene extends ResizableScene implements CenterListener { const contextRed = this.circleRedTexture.context; contextRed.beginPath(); contextRed.arc(48, 48, 48, 0, 2 * Math.PI, false); - // context.lineWidth = 5; + //context.lineWidth = 5; contextRed.strokeStyle = '#ff0000'; contextRed.stroke(); this.circleRedTexture.refresh(); } - + private safeParseJSONstring(jsonString: string|undefined, propertyName: string) { try { @@ -605,7 +638,7 @@ export class GameScene extends ResizableScene implements CenterListener { coWebsiteManager.closeCoWebsite(); }else{ const openWebsiteFunction = () => { - coWebsiteManager.loadCoWebsite(newValue as string, this.MapUrlFile, allProps.get('openWebsitePolicy') as string | undefined); + coWebsiteManager.loadCoWebsite(newValue as string, this.MapUrlFile, allProps.get('openWebsiteAllowApi') as boolean | undefined, allProps.get('openWebsitePolicy') as string | undefined); layoutManager.removeActionButton('openWebsite', this.userInputManager); }; @@ -662,13 +695,111 @@ export class GameScene extends ResizableScene implements CenterListener { this.connection.setSilent(true); } }); - this.gameMap.onPropertyChange('playAudio', (newValue, oldValue) => { - newValue === undefined ? audioManager.unloadAudio() : audioManager.playAudio(newValue, this.getMapDirUrl()); + this.gameMap.onPropertyChange('playAudio', (newValue, oldValue, allProps) => { + const volume = allProps.get(AUDIO_VOLUME_PROPERTY) as number|undefined; + const loop = allProps.get(AUDIO_LOOP_PROPERTY) as boolean|undefined; + newValue === undefined ? audioManager.unloadAudio() : audioManager.playAudio(newValue, this.getMapDirUrl(), volume, loop); + }); + // TODO: This legacy property should be removed at some point + this.gameMap.onPropertyChange('playAudioLoop', (newValue, oldValue) => { + newValue === undefined ? audioManager.unloadAudio() : audioManager.playAudio(newValue, this.getMapDirUrl(), undefined, true); }); - this.gameMap.onPropertyChange('playAudioLoop', (newValue, oldValue) => { - newValue === undefined ? audioManager.unloadAudio() : audioManager.playAudio(newValue, this.getMapDirUrl()); + this.gameMap.onPropertyChange('zone', (newValue, oldValue) => { + if (newValue === undefined || newValue === false || newValue === '') { + iframeListener.sendLeaveEvent(oldValue as string); + + } else { + iframeListener.sendEnterEvent(newValue as string); + } }); + } + + private listenToIframeEvents(): void { + iframeListener.openPopupStream.subscribe((openPopupEvent) => { + + let objectLayerSquare : ITiledMapObject; + const targetObjectData = this.getObjectLayerData(openPopupEvent.targetObject); + if (targetObjectData !== undefined){ + objectLayerSquare = targetObjectData; + } else { + console.error("Error while opening a popup. Cannot find an object on the map with name '" + openPopupEvent.targetObject + "'. The first parameter of WA.openPopup() must be the name of a rectangle object in your map."); + return; + } + const escapedMessage = HtmlUtils.escapeHtml(openPopupEvent.message); + let html = `
+${escapedMessage} +
`; + const buttonContainer = `
`; + html += buttonContainer; + let id = 0; + for (const button of openPopupEvent.buttons) { + html += ``; + id++; + } + const domElement = this.add.dom(objectLayerSquare.x + objectLayerSquare.width/2 , + objectLayerSquare.y + objectLayerSquare.height/2).createFromHTML(html); + + const container : HTMLDivElement = domElement.getChildByID("container") as HTMLDivElement; + container.style.width = objectLayerSquare.width + "px"; + domElement.scale = 0; + domElement.setClassName('popUpElement'); + + + + id = 0; + for (const button of openPopupEvent.buttons) { + const button = HtmlUtils.getElementByIdOrFail(`popup-${openPopupEvent.popupId}-${id}`); + const btnId = id; + button.onclick = () => { + iframeListener.sendButtonClickedEvent(openPopupEvent.popupId, btnId); + } + id++; + } + + this.tweens.add({ + targets : domElement , + scale : 1, + ease : "EaseOut", + duration : 400, + }); + + this.popUpElements.set(openPopupEvent.popupId, domElement); + }); + + iframeListener.closePopupStream.subscribe((closePopupEvent) => { + const popUpElement = this.popUpElements.get(closePopupEvent.popupId); + if (popUpElement === undefined) { + console.error('Could not close popup with ID ', closePopupEvent.popupId,'. Maybe it has already been closed?'); + } + + this.tweens.add({ + targets : popUpElement , + scale : 0, + ease : "EaseOut", + duration : 400, + onComplete : () => { + popUpElement?.destroy(); + this.popUpElements.delete(closePopupEvent.popupId); + }, + }); + }); + + iframeListener.disablePlayerControlStream.subscribe(()=>{ + this.userInputManager.disableControls(); + }) + iframeListener.enablePlayerControlStream.subscribe(()=>{ + this.userInputManager.restoreControls(); + }) + let scriptedBubbleSprite : Sprite; + iframeListener.displayBubbleStream.subscribe(()=>{ + scriptedBubbleSprite = new Sprite(this,this.CurrentPlayer.x + 25,this.CurrentPlayer.y,'circleSprite-white'); + scriptedBubbleSprite.setDisplayOrigin(48, 48); + this.add.existing(scriptedBubbleSprite); + }) + iframeListener.removeBubbleStream.subscribe(()=>{ + scriptedBubbleSprite.destroy(); + }) } @@ -700,10 +831,17 @@ export class GameScene extends ResizableScene implements CenterListener { public cleanupClosingScene(): void { // stop playing audio, close any open website, stop any open Jitsi coWebsiteManager.closeCoWebsite(); + // Stop the script, if any + const scripts = this.getScriptUrls(this.mapFile); + for (const script of scripts) { + iframeListener.unregisterScript(script); + } + this.stopJitsi(); audioManager.unloadAudio(); // We are completely destroying the current scene to avoid using a half-backed instance when coming back to the same map. this.connection?.closeConnection(); + this.simplePeer.closeAllConnections(); this.simplePeer?.unregister(); this.messageSubscription?.unsubscribe(); } @@ -782,8 +920,12 @@ export class GameScene extends ResizableScene implements CenterListener { return this.getProperty(layer, "startLayer") == true; } - private getProperty(layer: ITiledMapLayer, name: string): string|boolean|number|undefined { - const properties = layer.properties; + private getScriptUrls(map: ITiledMap): string[] { + return (this.getProperties(map, "script") as string[]).map((script) => (new URL(script, this.MapUrlFile)).toString()); + } + + private getProperty(layer: ITiledMapLayer|ITiledMap, name: string): string|boolean|number|undefined { + const properties: ITiledMapLayerProperty[] = layer.properties; if (!properties) { return undefined; } @@ -794,6 +936,14 @@ export class GameScene extends ResizableScene implements CenterListener { return obj.value; } + private getProperties(layer: ITiledMapLayer|ITiledMap, name: string): (string|number|boolean|undefined)[] { + const properties: ITiledMapLayerProperty[] = layer.properties; + if (!properties) { + return []; + } + return properties.filter((property: ITiledMapLayerProperty) => property.name.toLowerCase() === name.toLowerCase()).map((property) => property.value); + } + //todo: push that into the gameManager private async loadNextGame(exitSceneIdentifier: string){ const {roomId, hash} = Room.getIdFromIdentifier(exitSceneIdentifier, this.MapUrlFile, this.instance); @@ -814,7 +964,7 @@ export class GameScene extends ResizableScene implements CenterListener { const y = Math.floor(key / layer.width); const x = key % layer.width; - possibleStartPositions.push({x: x*32, y: y*32}); + possibleStartPositions.push({x: x * this.mapFile.tilewidth, y: y * this.mapFile.tilewidth}); }); // Get a value at random amongst allowed values if (possibleStartPositions.length === 0) { @@ -1173,7 +1323,19 @@ export class GameScene extends ResizableScene implements CenterListener { bottom: camera.scrollY + camera.height, }); } + private getObjectLayerData(objectName : string) : ITiledMapObject| undefined{ + for (const layer of this.mapFile.layers) { + if (layer.type === 'objectgroup' && layer.name === 'floorLayer') { + for (const object of layer.objects) { + if (object.name === objectName) { + return object; + } + } + } + } + return undefined; + } private reposition(): void { this.presentationModeSprite.setY(this.game.renderer.height - 2); this.chatModeSprite.setY(this.game.renderer.height - 2); @@ -1227,10 +1389,10 @@ export class GameScene extends ResizableScene implements CenterListener { mediaManager.removeTriggerCloseJitsiFrameButton('close-jisi'); } - //todo: into onConnexionMessage + //todo: put this into an 'orchestrator' scene (EntryScene?) private bannedUser(){ this.cleanupClosingScene(); - this.userInputManager.clearAllKeys(); + this.userInputManager.disableControls(); this.scene.start(ErrorSceneName, { title: 'Banned', subTitle: 'You were banned from WorkAdventure', @@ -1238,16 +1400,15 @@ export class GameScene extends ResizableScene implements CenterListener { }); } - private onConnexionMessage(event: ConnexionMessageEvent) { - if (event.type === ConnexionMessageEventTypes.worldFull) { - this.cleanupClosingScene(); - this.scene.stop(ReconnectingSceneName); - this.userInputManager.clearAllKeys(); - this.scene.start(ErrorSceneName, { - title: 'Connection rejected', - subTitle: 'The world you are trying to join is full. Try again later.', - message: 'If you want more information, you may contact us at: workadventure@thecodingmachine.com' - }); - } + //todo: put this into an 'orchestrator' scene (EntryScene?) + private showWorldFullError(): void { + this.cleanupClosingScene(); + this.scene.stop(ReconnectingSceneName); + this.userInputManager.disableControls(); + this.scene.start(ErrorSceneName, { + title: 'Connection rejected', + subTitle: 'The world you are trying to join is full. Try again later.', + message: 'If you want more information, you may contact us at: workadventure@thecodingmachine.com' + }); } } diff --git a/front/src/Phaser/Login/EnableCameraScene.ts b/front/src/Phaser/Login/EnableCameraScene.ts index 515e1852..a3ca5cf1 100644 --- a/front/src/Phaser/Login/EnableCameraScene.ts +++ b/front/src/Phaser/Login/EnableCameraScene.ts @@ -61,26 +61,22 @@ export class EnableCameraScene extends Phaser.Scene { this.microphoneNameField = new TextField(this, this.game.renderer.width / 2, this.game.renderer.height - 40, ''); this.arrowRight = new Image(this, 0, 0, LoginTextures.arrowRight); - this.arrowRight.setOrigin(0.5, 0.5); this.arrowRight.setVisible(false); this.arrowRight.setInteractive().on('pointerdown', this.nextCam.bind(this)); this.add.existing(this.arrowRight); this.arrowLeft = new Image(this, 0, 0, LoginTextures.arrowRight); - this.arrowLeft.setOrigin(0.5, 0.5); this.arrowLeft.setVisible(false); this.arrowLeft.flipX = true; this.arrowLeft.setInteractive().on('pointerdown', this.previousCam.bind(this)); this.add.existing(this.arrowLeft); this.arrowUp = new Image(this, 0, 0, LoginTextures.arrowUp); - this.arrowUp.setOrigin(0.5, 0.5); this.arrowUp.setVisible(false); this.arrowUp.setInteractive().on('pointerdown', this.previousMic.bind(this)); this.add.existing(this.arrowUp); this.arrowDown = new Image(this, 0, 0, LoginTextures.arrowUp); - this.arrowDown.setOrigin(0.5, 0.5); this.arrowDown.setVisible(false); this.arrowDown.flipY = true; this.arrowDown.setInteractive().on('pointerdown', this.nextMic.bind(this)); @@ -164,8 +160,6 @@ export class EnableCameraScene extends Phaser.Scene { private updateWebCamName(): void { if (this.camerasList.length > 1) { - const div = HtmlUtils.getElementByIdOrFail('myCamVideoSetup'); - let label = this.camerasList[this.cameraSelected].label; // remove text in parenthesis label = label.replace(/\([^()]*\)/g, '').trim(); @@ -173,17 +167,8 @@ export class EnableCameraScene extends Phaser.Scene { label = label.normalize("NFD").replace(/[\u0300-\u036f]/g, ""); this.cameraNameField.text = label; - if (this.cameraSelected < this.camerasList.length - 1) { - this.arrowRight.setVisible(true); - } else { - this.arrowRight.setVisible(false); - } - - if (this.cameraSelected > 0) { - this.arrowLeft.setVisible(true); - } else { - this.arrowLeft.setVisible(false); - } + this.arrowRight.setVisible(this.cameraSelected < this.camerasList.length - 1); + this.arrowLeft.setVisible(this.cameraSelected > 0); } if (this.microphonesList.length > 1) { let label = this.microphonesList[this.microphoneSelected].label; @@ -194,17 +179,8 @@ export class EnableCameraScene extends Phaser.Scene { this.microphoneNameField.text = label; - if (this.microphoneSelected < this.microphonesList.length - 1) { - this.arrowDown.setVisible(true); - } else { - this.arrowDown.setVisible(false); - } - - if (this.microphoneSelected > 0) { - this.arrowUp.setVisible(true); - } else { - this.arrowUp.setVisible(false); - } + this.arrowDown.setVisible(this.microphoneSelected < this.microphonesList.length - 1); + this.arrowUp.setVisible(this.microphoneSelected > 0); } this.reposition(); diff --git a/front/src/Phaser/Map/ITiledMap.ts b/front/src/Phaser/Map/ITiledMap.ts index 2a82e93a..39e0a1f5 100644 --- a/front/src/Phaser/Map/ITiledMap.ts +++ b/front/src/Phaser/Map/ITiledMap.ts @@ -14,7 +14,7 @@ export interface ITiledMap { * Map orientation (orthogonal) */ orientation: string; - properties: {[key: string]: string}; + properties: ITiledMapLayerProperty[]; /** * Render order (right-down) diff --git a/front/src/Phaser/Menu/HelpCameraSettingsScene.ts b/front/src/Phaser/Menu/HelpCameraSettingsScene.ts index af4f4073..6a5db25a 100644 --- a/front/src/Phaser/Menu/HelpCameraSettingsScene.ts +++ b/front/src/Phaser/Menu/HelpCameraSettingsScene.ts @@ -1,5 +1,6 @@ import {mediaManager} from "../../WebRtc/MediaManager"; import {HtmlUtils} from "../../WebRtc/HtmlUtils"; +import {localUserStore} from "../../Connexion/LocalUserStore"; export const HelpCameraSettingsSceneName = 'HelpCameraSettingsScene'; const helpCameraSettings = 'helpCameraSettings'; @@ -19,6 +20,7 @@ export class HelpCameraSettingsScene extends Phaser.Scene { } create(){ + localUserStore.setHelpCameraSettingsShown(); this.createHelpCameraSettings(); } diff --git a/front/src/Phaser/Menu/MenuScene.ts b/front/src/Phaser/Menu/MenuScene.ts index ab25c338..58e7f0a6 100644 --- a/front/src/Phaser/Menu/MenuScene.ts +++ b/front/src/Phaser/Menu/MenuScene.ts @@ -6,6 +6,8 @@ import {mediaManager} from "../../WebRtc/MediaManager"; import {gameReportKey, gameReportRessource, ReportMenu} from "./ReportMenu"; import {connectionManager} from "../../Connexion/ConnectionManager"; import {GameConnexionTypes} from "../../Url/UrlManager"; +import {WarningContainer, warningContainerHtml, warningContainerKey} from "../Components/WarningContainer"; +import {worldFullWarningStream} from "../../Connexion/WorldFullWarningStream"; export const MenuSceneName = 'MenuScene'; const gameMenuKey = 'gameMenu'; @@ -30,6 +32,8 @@ export class MenuScene extends Phaser.Scene { private gameQualityValue: number; private videoQualityValue: number; private menuButton!: Phaser.GameObjects.DOMElement; + private warningContainer: WarningContainer | null = null; + private warningContainerTimeout: NodeJS.Timeout | null = null; constructor() { super({key: MenuSceneName}); @@ -44,6 +48,7 @@ export class MenuScene extends Phaser.Scene { this.load.html(gameSettingsMenuKey, 'resources/html/gameQualityMenu.html'); this.load.html(gameShare, 'resources/html/gameShare.html'); this.load.html(gameReportKey, gameReportRessource); + this.load.html(warningContainerKey, warningContainerHtml); } create() { @@ -85,6 +90,8 @@ export class MenuScene extends Phaser.Scene { this.menuElement.addListener('click'); this.menuElement.on('click', this.onMenuClick.bind(this)); + + worldFullWarningStream.stream.subscribe(() => this.showWorldCapacityWarning()); } //todo put this method in a parent menuElement class @@ -121,6 +128,21 @@ export class MenuScene extends Phaser.Scene { ease: 'Power3' }); } + + private showWorldCapacityWarning() { + if (!this.warningContainer) { + this.warningContainer = new WarningContainer(this); + } + if (this.warningContainerTimeout) { + clearTimeout(this.warningContainerTimeout); + } + this.warningContainerTimeout = setTimeout(() => { + this.warningContainer?.destroy(); + this.warningContainer = null + this.warningContainerTimeout = null + }, 120000); + + } private closeSideMenu(): void { if (!this.sideMenuOpened) return; diff --git a/front/src/Phaser/Menu/ReportMenu.ts b/front/src/Phaser/Menu/ReportMenu.ts index 0795debe..d7d0658b 100644 --- a/front/src/Phaser/Menu/ReportMenu.ts +++ b/front/src/Phaser/Menu/ReportMenu.ts @@ -61,7 +61,7 @@ export class ReportMenu extends Phaser.GameObjects.DOMElement { this.opened = true; - gameManager.getCurrentGameScene(this.scene).userInputManager.clearAllKeys(); + gameManager.getCurrentGameScene(this.scene).userInputManager.disableControls(); this.scene.tweens.add({ targets: this, diff --git a/front/src/Phaser/UserInput/UserInputManager.ts b/front/src/Phaser/UserInput/UserInputManager.ts index dd46a343..2e686d8e 100644 --- a/front/src/Phaser/UserInput/UserInputManager.ts +++ b/front/src/Phaser/UserInput/UserInputManager.ts @@ -31,10 +31,11 @@ export class ActiveEventList { export class UserInputManager { private KeysCode!: UserInputManagerDatum[]; private Scene: GameScene; - + private isInputDisabled : boolean; constructor(Scene : GameScene) { this.Scene = Scene; this.initKeyBoardEvent(); + this.isInputDisabled = false; } initKeyBoardEvent(){ @@ -63,16 +64,25 @@ export class UserInputManager { this.Scene.input.keyboard.removeAllListeners(); } - clearAllKeys(){ + disableControls(){ this.Scene.input.keyboard.removeAllKeys(); + this.isInputDisabled = true; } + restoreControls(){ + this.initKeyBoardEvent(); + this.isInputDisabled = false; + } getEventListForGameTick(): ActiveEventList { const eventsMap = new ActiveEventList(); + if (this.isInputDisabled) { + return eventsMap; + } this.KeysCode.forEach(d => { if (d. keyInstance.isDown) { eventsMap.set(d.event, true); } + }); return eventsMap; } diff --git a/front/src/Url/UrlManager.ts b/front/src/Url/UrlManager.ts index 31862899..9e10b4ee 100644 --- a/front/src/Url/UrlManager.ts +++ b/front/src/Url/UrlManager.ts @@ -35,7 +35,8 @@ class UrlManager { public pushRoomIdToUrl(room:Room): void { if (window.location.pathname === room.id) return; const hash = window.location.hash; - history.pushState({}, 'WorkAdventure', room.id+hash); + const search = room.search.toString(); + history.pushState({}, 'WorkAdventure', room.id+(search?'?'+search:'')+hash); } public getStartLayerNameFromUrl(): string|null { diff --git a/front/src/WebRtc/AudioManager.ts b/front/src/WebRtc/AudioManager.ts index 24fb74a1..60255a77 100644 --- a/front/src/WebRtc/AudioManager.ts +++ b/front/src/WebRtc/AudioManager.ts @@ -1,5 +1,6 @@ import {HtmlUtils} from "./HtmlUtils"; import {isUndefined} from "generic-type-guard"; +import {localUserStore} from "../Connexion/LocalUserStore"; enum audioStates { closed = 0, @@ -9,6 +10,8 @@ enum audioStates { const audioPlayerDivId = "audioplayer"; const audioPlayerCtrlId = "audioplayerctrl"; +const audioPlayerVolId = "audioplayer_volume"; +const audioPlayerMuteId = "audioplayer_volume_icon_playing"; const animationTime = 500; class AudioManager { @@ -17,6 +20,8 @@ class AudioManager { private audioPlayerDiv: HTMLDivElement; private audioPlayerCtrl: HTMLDivElement; private audioPlayerElem: HTMLAudioElement | undefined; + private audioPlayerVol: HTMLInputElement; + private audioPlayerMute: HTMLInputElement; private volume = 1; private muted = false; @@ -26,19 +31,19 @@ class AudioManager { constructor() { this.audioPlayerDiv = HtmlUtils.getElementByIdOrFail(audioPlayerDivId); this.audioPlayerCtrl = HtmlUtils.getElementByIdOrFail(audioPlayerCtrlId); + this.audioPlayerVol = HtmlUtils.getElementByIdOrFail(audioPlayerVolId); + this.audioPlayerMute = HtmlUtils.getElementByIdOrFail(audioPlayerMuteId); - const storedVolume = localStorage.getItem('volume') - if (storedVolume === null) { - this.setVolume(1); - } else { - this.volume = parseFloat(storedVolume); - HtmlUtils.getElementByIdOrFail('audioplayer_volume').value = storedVolume; + this.volume = localUserStore.getAudioPlayerVolume(); + this.audioPlayerVol.value = '' + this.volume; + + this.muted = localUserStore.getAudioPlayerMuted(); + if (this.muted) { + this.audioPlayerMute.classList.add('muted'); } - - HtmlUtils.getElementByIdOrFail('audioplayer_volume').value = '' + this.volume; } - public playAudio(url: string|number|boolean, mapDirUrl: string, loop=false): void { + public playAudio(url: string|number|boolean, mapDirUrl: string, volume: number|undefined, loop=false): void { const audioPath = url as string; let realAudioPath = ''; @@ -50,7 +55,7 @@ class AudioManager { realAudioPath = mapDirUrl + '/' + url; } - this.loadAudio(realAudioPath); + this.loadAudio(realAudioPath, volume); if (loop) { this.loop(); @@ -75,26 +80,29 @@ class AudioManager { } private changeVolume(talking = false): void { - if (!isUndefined(this.audioPlayerElem)) { - this.audioPlayerElem.volume = this.naturalVolume(talking && this.decreaseWhileTalking); - this.audioPlayerElem.muted = this.muted; + if (isUndefined(this.audioPlayerElem)) { + return; } - } - private naturalVolume(makeSofter: boolean = false): number { - const volume = this.volume - const retVol = makeSofter && !this.volumeReduced ? Math.pow(volume * 0.5, 3) : volume - this.volumeReduced = makeSofter - return retVol; + const reduceVolume = talking && this.decreaseWhileTalking; + if (reduceVolume && !this.volumeReduced) { + this.volume *= 0.5; + } else if (!reduceVolume && this.volumeReduced) { + this.volume *= 2.0; + } + this.volumeReduced = reduceVolume; + + this.audioPlayerElem.volume = this.volume; + this.audioPlayerVol.value = '' + this.volume; + this.audioPlayerElem.muted = this.muted; } private setVolume(volume: number): void { this.volume = volume; - localStorage.setItem('volume', '' + volume); + localUserStore.setAudioPlayerVolume(volume); } - - private loadAudio(url: string): void { + private loadAudio(url: string, volume: number|undefined): void { this.load(); /* Solution 1, remove whole audio player */ @@ -112,23 +120,24 @@ class AudioManager { this.audioPlayerElem.append(srcElem); this.audioPlayerDiv.append(this.audioPlayerElem); + this.volume = volume ? Math.min(volume, this.volume) : this.volume; this.changeVolume(); this.audioPlayerElem.play(); const muteElem = HtmlUtils.getElementByIdOrFail('audioplayer_mute'); - muteElem.onclick = (ev: Event)=> { + muteElem.onclick = (ev: Event) => { this.muted = !this.muted; this.changeVolume(); + localUserStore.setAudioPlayerMuted(this.muted); if (this.muted) { - HtmlUtils.getElementByIdOrFail('audioplayer_volume_icon_playing').classList.add('muted'); + this.audioPlayerMute.classList.add('muted'); } else { - HtmlUtils.getElementByIdOrFail('audioplayer_volume_icon_playing').classList.remove('muted'); + this.audioPlayerMute.classList.remove('muted'); } } - const volumeElem = HtmlUtils.getElementByIdOrFail('audioplayer_volume'); - volumeElem.oninput = (ev: Event)=> { + this.audioPlayerVol.oninput = (ev: Event)=> { this.setVolume(parseFloat((ev.currentTarget).value)); this.changeVolume(); diff --git a/front/src/WebRtc/CoWebsiteManager.ts b/front/src/WebRtc/CoWebsiteManager.ts index 9f40c948..e352d70c 100644 --- a/front/src/WebRtc/CoWebsiteManager.ts +++ b/front/src/WebRtc/CoWebsiteManager.ts @@ -1,5 +1,6 @@ import {HtmlUtils} from "./HtmlUtils"; import {Subject} from "rxjs"; +import {iframeListener} from "../Api/IframeListener"; enum iframeStates { closed = 1, @@ -17,8 +18,8 @@ const cowebsiteCloseFullScreenImageId = 'cowebsite-fullscreen-close'; const animationTime = 500; //time used by the css transitions, in ms. class CoWebsiteManager { - - private opened: iframeStates = iframeStates.closed; + + private opened: iframeStates = iframeStates.closed; private _onResize: Subject = new Subject(); public onResize = this._onResize.asObservable(); @@ -27,11 +28,11 @@ class CoWebsiteManager { * So we use this promise to queue up every cowebsite state transition */ private currentOperationPromise: Promise = Promise.resolve(); - private cowebsiteDiv: HTMLDivElement; + private cowebsiteDiv: HTMLDivElement; private resizing: boolean = false; private cowebsiteMainDom: HTMLDivElement; private cowebsiteAsideDom: HTMLDivElement; - + get width(): number { return this.cowebsiteDiv.clientWidth; } @@ -47,15 +48,15 @@ class CoWebsiteManager { set height(height: number) { this.cowebsiteDiv.style.height = height+'px'; } - + get verticalMode(): boolean { return window.innerWidth < window.innerHeight; } - + get isFullScreen(): boolean { - return this.verticalMode ? this.height === this.cowebsiteDiv.clientHeight : this.width === this.cowebsiteDiv.clientWidth + return this.verticalMode ? this.height === window.innerHeight : this.width === window.innerWidth; } - + constructor() { this.cowebsiteDiv = HtmlUtils.getElementByIdOrFail(cowebsiteDivId); this.cowebsiteMainDom = HtmlUtils.getElementByIdOrFail(cowebsiteMainDomId); @@ -73,10 +74,10 @@ class CoWebsiteManager { private initResizeListeners() { const movecallback = (event:MouseEvent) => { - this.verticalMode ? this.height -= event.movementY : this.width -= event.movementX; + this.verticalMode ? this.height -= event.movementY / this.getDevicePixelRatio() : this.width -= event.movementX / this.getDevicePixelRatio(); this.fire(); } - + this.cowebsiteAsideDom.addEventListener('mousedown', (event) => { this.resizing = true; this.getIframeDom().style.display = 'none'; @@ -92,6 +93,12 @@ class CoWebsiteManager { }); } + private getDevicePixelRatio(): number { + //on chrome engines, movementX and movementY return global screens coordinates while other browser return pixels + //so on chrome-based browser we need to adjust using 'devicePixelRatio' + return window.navigator.userAgent.includes('Firefox') ? 1 : window.devicePixelRatio; + } + private close(): void { this.cowebsiteDiv.classList.remove('loaded'); //edit the css class to trigger the transition this.cowebsiteDiv.classList.add('hidden'); @@ -120,7 +127,7 @@ class CoWebsiteManager { return iframe; } - public loadCoWebsite(url: string, base: string, allowPolicy?: string): void { + public loadCoWebsite(url: string, base: string, allowApi?: boolean, allowPolicy?: string): void { this.load(); this.cowebsiteMainDom.innerHTML = ``; @@ -128,11 +135,14 @@ class CoWebsiteManager { iframe.id = 'cowebsite-iframe'; iframe.src = (new URL(url, base)).toString(); if (allowPolicy) { - iframe.allow = allowPolicy; + iframe.allow = allowPolicy; } const onloadPromise = new Promise((resolve) => { iframe.onload = () => resolve(); }); + if (allowApi) { + iframeListener.registerIframe(iframe); + } this.cowebsiteMainDom.appendChild(iframe); const onTimeoutPromise = new Promise((resolve) => { setTimeout(() => resolve(), 2000); @@ -164,6 +174,10 @@ class CoWebsiteManager { if(this.opened === iframeStates.closed) resolve(); //this method may be called twice, in case of iframe error for example this.close(); this.fire(); + const iframe = this.cowebsiteDiv.querySelector('iframe'); + if (iframe) { + iframeListener.unregisterIframe(iframe); + } setTimeout(() => { this.cowebsiteMainDom.innerHTML = ``; resolve(); @@ -191,14 +205,15 @@ class CoWebsiteManager { } } } - + private fire(): void { this._onResize.next(); } - + private fullscreen(): void { if (this.isFullScreen) { this.resetStyle(); + this.fire(); //we don't trigger a resize of the phaser game since it won't be visible anyway. HtmlUtils.getElementByIdOrFail(cowebsiteOpenFullScreenImageId).style.display = 'inline'; HtmlUtils.getElementByIdOrFail(cowebsiteCloseFullScreenImageId).style.display = 'none'; diff --git a/front/src/WebRtc/DiscussionManager.ts b/front/src/WebRtc/DiscussionManager.ts index 235e124b..3e565c21 100644 --- a/front/src/WebRtc/DiscussionManager.ts +++ b/front/src/WebRtc/DiscussionManager.ts @@ -3,6 +3,7 @@ import {mediaManager, ReportCallback, ShowReportCallBack} from "./MediaManager"; import {UserInputManager} from "../Phaser/UserInput/UserInputManager"; import {connectionManager} from "../Connexion/ConnectionManager"; import {GameConnexionTypes} from "../Url/UrlManager"; +import {iframeListener} from "../Api/IframeListener"; export type SendMessageCallback = (message:string) => void; @@ -25,6 +26,14 @@ export class DiscussionManager { constructor() { this.mainContainer = HtmlUtils.getElementByIdOrFail('main-container'); this.createDiscussPart(''); //todo: why do we always use empty string? + + iframeListener.chatStream.subscribe((chatEvent) => { + this.addMessage(chatEvent.author, chatEvent.message, false); + this.showDiscussion(); + }); + this.onSendMessageCallback('iframe_listener', (message) => { + iframeListener.sendUserInputChat(message); + }) } private createDiscussPart(name: string) { @@ -61,12 +70,12 @@ export class DiscussionManager { const inputMessage: HTMLInputElement = document.createElement('input'); inputMessage.onfocus = () => { if(this.userInputManager) { - this.userInputManager.clearAllKeys(); + this.userInputManager.disableControls(); } } inputMessage.onblur = () => { if(this.userInputManager) { - this.userInputManager.initKeyBoardEvent(); + this.userInputManager.restoreControls(); } } inputMessage.type = "text"; diff --git a/front/src/WebRtc/HtmlUtils.ts b/front/src/WebRtc/HtmlUtils.ts index db5c3fc6..86f38216 100644 --- a/front/src/WebRtc/HtmlUtils.ts +++ b/front/src/WebRtc/HtmlUtils.ts @@ -24,7 +24,7 @@ export class HtmlUtils { throw new Error("Cannot find HTML element with id '"+id+"'"); } - private static escapeHtml(html: string): string { + public static escapeHtml(html: string): string { const text = document.createTextNode(html); const p = document.createElement('p'); p.appendChild(text); diff --git a/front/src/WebRtc/LayoutManager.ts b/front/src/WebRtc/LayoutManager.ts index 91d78798..233b5327 100644 --- a/front/src/WebRtc/LayoutManager.ts +++ b/front/src/WebRtc/LayoutManager.ts @@ -31,6 +31,9 @@ export const TRIGGER_JITSI_PROPERTIES = 'jitsiTrigger'; export const WEBSITE_MESSAGE_PROPERTIES = 'openWebsiteTriggerMessage'; export const JITSI_MESSAGE_PROPERTIES = 'jitsiTriggerMessage'; +export const AUDIO_VOLUME_PROPERTY = 'audioVolume'; +export const AUDIO_LOOP_PROPERTY = 'audioLoop'; + /** * This class is in charge of the video-conference layout. * It receives positioning requests for videos and does its best to place them on the screen depending on the active layout mode. diff --git a/front/src/WebRtc/MediaManager.ts b/front/src/WebRtc/MediaManager.ts index 12a6f706..9da4aa59 100644 --- a/front/src/WebRtc/MediaManager.ts +++ b/front/src/WebRtc/MediaManager.ts @@ -2,19 +2,14 @@ import {DivImportance, layoutManager} from "./LayoutManager"; import {HtmlUtils} from "./HtmlUtils"; import {discussionManager, SendMessageCallback} from "./DiscussionManager"; import {UserInputManager} from "../Phaser/UserInput/UserInputManager"; -import {VIDEO_QUALITY_SELECT} from "../Administration/ConsoleGlobalMessageManager"; +import {localUserStore} from "../Connexion/LocalUserStore"; import {UserSimplePeerInterface} from "./SimplePeer"; declare const navigator:any; // eslint-disable-line @typescript-eslint/no-explicit-any -const localValueVideo = localStorage.getItem(VIDEO_QUALITY_SELECT); -let valueVideo = 20; -if(localValueVideo){ - valueVideo = parseInt(localValueVideo); -} let videoConstraint: boolean|MediaTrackConstraints = { width: { min: 640, ideal: 1280, max: 1920 }, height: { min: 400, ideal: 720 }, - frameRate: { ideal: valueVideo }, + frameRate: { ideal: localUserStore.getVideoQualityValue() }, facingMode: "user", resizeMode: 'crop-and-scale', aspectRatio: 1.777777778 diff --git a/front/src/WebRtc/SimplePeer.ts b/front/src/WebRtc/SimplePeer.ts index 2baeef11..73a87d14 100644 --- a/front/src/WebRtc/SimplePeer.ts +++ b/front/src/WebRtc/SimplePeer.ts @@ -63,7 +63,7 @@ export class SimplePeer { } public getNbConnections(): number { - return this.PeerConnectionArray.size; + return this.Users.length; } /** @@ -230,9 +230,6 @@ export class SimplePeer { this.closeScreenSharingConnection(userId); - for (const peerConnectionListener of this.peerConnectionListeners) { - peerConnectionListener.onDisconnect(userId); - } const userIndex = this.Users.findIndex(user => user.userId === userId); if(userIndex < 0){ throw 'Couln\'t delete user'; @@ -250,6 +247,10 @@ export class SimplePeer { this.PeerScreenSharingConnectionArray.delete(userId); } } + + for (const peerConnectionListener of this.peerConnectionListeners) { + peerConnectionListener.onDisconnect(userId); + } } /** diff --git a/front/src/iframe_api.ts b/front/src/iframe_api.ts new file mode 100644 index 00000000..18d8d172 --- /dev/null +++ b/front/src/iframe_api.ts @@ -0,0 +1,232 @@ +import {ChatEvent, isChatEvent} from "./Api/Events/ChatEvent"; +import {isIframeEventWrapper} from "./Api/Events/IframeEvent"; +import {isUserInputChatEvent, UserInputChatEvent} from "./Api/Events/UserInputChatEvent"; +import {Subject} from "rxjs"; +import {EnterLeaveEvent, isEnterLeaveEvent} from "./Api/Events/EnterLeaveEvent"; +import {OpenPopupEvent} from "./Api/Events/OpenPopupEvent"; +import {isButtonClickedEvent} from "./Api/Events/ButtonClickedEvent"; +import {ClosePopupEvent} from "./Api/Events/ClosePopupEvent"; +import {OpenTabEvent} from "./Api/Events/OpenTabEvent"; +import {GoToPageEvent} from "./Api/Events/GoToPageEvent"; +import {OpenCoWebSiteEvent} from "./Api/Events/OpenCoWebSiteEvent"; + +interface WorkAdventureApi { + sendChatMessage(message: string, author: string): void; + onChatMessage(callback: (message: string) => void): void; + onEnterZone(name: string, callback: () => void): void; + onLeaveZone(name: string, callback: () => void): void; + openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup; + openTab(url : string): void; + goToPage(url : string): void; + openCoWebSite(url : string): void; + closeCoWebSite(): void; + disablePlayerControl() : void; + restorePlayerControl() : void; + displayBubble() : void; + removeBubble() : void; +} + +declare global { + // eslint-disable-next-line no-var + var WA: WorkAdventureApi + +} + +type ChatMessageCallback = (message: string) => void; +type ButtonClickedCallback = (popup: Popup) => void; + +const userInputChatStream: Subject = new Subject(); +const enterStreams: Map> = new Map>(); +const leaveStreams: Map> = new Map>(); +const popups: Map = new Map(); +const popupCallbacks: Map> = new Map>(); + +let popupId = 0; +interface ButtonDescriptor { + /** + * The label of the button + */ + label: string, + /** + * The type of the button. Can be one of "normal", "primary", "success", "warning", "error", "disabled" + */ + className?: "normal"|"primary"|"success"|"warning"|"error"|"disabled", + /** + * Callback called if the button is pressed + */ + callback: ButtonClickedCallback, +} + +class Popup { + constructor(private id: number) { + } + + /** + * Closes the popup + */ + public close(): void { + window.parent.postMessage({ + 'type': 'closePopup', + 'data': { + 'popupId': this.id, + } as ClosePopupEvent + }, '*'); + } +} + +window.WA = { + /** + * Send a message in the chat. + * Only the local user will receive this message. + */ + sendChatMessage(message: string, author: string) { + window.parent.postMessage({ + 'type': 'chat', + 'data': { + 'message': message, + 'author': author + } as ChatEvent + }, '*'); + }, + disablePlayerControl() : void { + window.parent.postMessage({'type' : 'disablePlayerControl'},'*'); + }, + + restorePlayerControl() : void { + window.parent.postMessage({'type' : 'restorePlayerControl'},'*'); + }, + + displayBubble() : void { + window.parent.postMessage({'type' : 'displayBubble'},'*'); + }, + + removeBubble() : void { + window.parent.postMessage({'type' : 'removeBubble'},'*'); + }, + + openTab(url : string) : void{ + window.parent.postMessage({ + "type" : 'openTab', + "data" : { + url + } as OpenTabEvent + },'*'); + }, + + goToPage(url : string) : void{ + window.parent.postMessage({ + "type" : 'goToPage', + "data" : { + url + } as GoToPageEvent + },'*'); + }, + + openCoWebSite(url : string) : void{ + window.parent.postMessage({ + "type" : 'openCoWebSite', + "data" : { + url + } as OpenCoWebSiteEvent + },'*'); + }, + + closeCoWebSite() : void{ + window.parent.postMessage({ + "type" : 'closeCoWebSite' + },'*'); + }, + + openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup { + popupId++; + const popup = new Popup(popupId); + const btnMap = new Map void>(); + popupCallbacks.set(popupId, btnMap); + let id = 0; + for (const button of buttons) { + const callback = button.callback; + if (callback) { + btnMap.set(id, () => { + callback(popup); + }); + } + id++; + } + + + window.parent.postMessage({ + 'type': 'openPopup', + 'data': { + popupId, + targetObject, + message, + buttons: buttons.map((button) => { + return { + label: button.label, + className: button.className + }; + }) + } as OpenPopupEvent + }, '*'); + + popups.set(popupId, popup) + return popup; + }, + /** + * Listen to messages sent by the local user, in the chat. + */ + onChatMessage(callback: ChatMessageCallback): void { + userInputChatStream.subscribe((userInputChatEvent) => { + callback(userInputChatEvent.message); + }); + }, + onEnterZone(name: string, callback: () => void): void { + let subject = enterStreams.get(name); + if (subject === undefined) { + subject = new Subject(); + enterStreams.set(name, subject); + } + subject.subscribe(callback); + }, + onLeaveZone(name: string, callback: () => void): void { + let subject = leaveStreams.get(name); + if (subject === undefined) { + subject = new Subject(); + leaveStreams.set(name, subject); + } + subject.subscribe(callback); + }, +} + +window.addEventListener('message', message => { + if (message.source !== window.parent) { + return; // Skip message in this event listener + } + + const payload = message.data; + + console.log(payload); + + if (isIframeEventWrapper(payload)) { + const payloadData = payload.data; + if (payload.type === 'userInputChat' && isUserInputChatEvent(payloadData)) { + userInputChatStream.next(payloadData); + } else if (payload.type === 'enterEvent' && isEnterLeaveEvent(payloadData)) { + enterStreams.get(payloadData.name)?.next(); + } else if (payload.type === 'leaveEvent' && isEnterLeaveEvent(payloadData)) { + leaveStreams.get(payloadData.name)?.next(); + } else if (payload.type === 'buttonClickedEvent' && isButtonClickedEvent(payloadData)) { + const callback = popupCallbacks.get(payloadData.popupId)?.get(payloadData.buttonId); + const popup = popups.get(payloadData.popupId); + if (popup === undefined) { + throw new Error('Could not find popup with ID "'+payloadData.popupId+'"'); + } + if (callback) { + callback(popup); + } + } + + } + + // ... +}); diff --git a/front/src/index.ts b/front/src/index.ts index c313c301..c0663acd 100644 --- a/front/src/index.ts +++ b/front/src/index.ts @@ -15,6 +15,8 @@ import {MenuScene} from "./Phaser/Menu/MenuScene"; import {HelpCameraSettingsScene} from "./Phaser/Menu/HelpCameraSettingsScene"; import {localUserStore} from "./Connexion/LocalUserStore"; import {ErrorScene} from "./Phaser/Reconnecting/ErrorScene"; +import {iframeListener} from "./Api/IframeListener"; +import {discussionManager} from "./WebRtc/DiscussionManager"; const {width, height} = coWebsiteManager.getGameSize(); @@ -119,3 +121,5 @@ coWebsiteManager.onResize.subscribe(() => { const {width, height} = coWebsiteManager.getGameSize(); game.scale.resize(width / RESOLUTION, height / RESOLUTION); }); + +iframeListener.init(); diff --git a/front/webpack.config.js b/front/webpack.config.js index 7e376da1..f1a3df44 100644 --- a/front/webpack.config.js +++ b/front/webpack.config.js @@ -4,11 +4,15 @@ const HtmlWebpackPlugin = require('html-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); module.exports = { - entry: './src/index.ts', + entry: { + 'main': './src/index.ts', + 'iframe_api': './src/iframe_api.ts' + }, devtool: 'inline-source-map', devServer: { contentBase: './dist', host: '0.0.0.0', + sockPort: 80, disableHostCheck: true, historyApiFallback: { rewrites: [ @@ -34,7 +38,11 @@ module.exports = { extensions: [ '.tsx', '.ts', '.js' ], }, output: { - filename: '[name].[contenthash].js', + filename: (pathData) => { + // Add a content hash only for the main bundle. + // We want the iframe_api.js file to keep its name as it will be referenced from outside iframes. + return pathData.chunk.name === 'main' ? 'js/[name].[contenthash].js': '[name].js'; + }, path: path.resolve(__dirname, 'dist'), publicPath: '/' }, @@ -54,25 +62,27 @@ module.exports = { removeScriptTypeAttributes: true, removeStyleLinkTypeAttributes: true, useShortDoctype: true - } + }, + chunks: ['main'] } ), new webpack.ProvidePlugin({ Phaser: 'phaser' }), - new webpack.EnvironmentPlugin([ - 'API_URL', - 'UPLOADER_URL', - 'ADMIN_URL', - 'DEBUG_MODE', - 'STUN_SERVER', - 'TURN_SERVER', - 'TURN_USER', - 'TURN_PASSWORD', - 'JITSI_URL', - 'JITSI_PRIVATE_MODE', - 'START_ROOM_URL' - ]) + new webpack.EnvironmentPlugin({ + 'API_URL': null, + 'PUSHER_URL': undefined, + 'UPLOADER_URL': null, + 'ADMIN_URL': null, + 'DEBUG_MODE': null, + 'STUN_SERVER': null, + 'TURN_SERVER': null, + 'TURN_USER': null, + 'TURN_PASSWORD': null, + 'JITSI_URL': null, + 'JITSI_PRIVATE_MODE': null, + 'START_ROOM_URL': null + }) ], }; diff --git a/front/yarn.lock b/front/yarn.lock index e4f3dd32..eac99e4e 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -5362,9 +5362,9 @@ xtend@^4.0.0, xtend@~4.0.1: integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== y18n@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" - integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== + version "4.0.1" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.1.tgz#8db2b83c31c5d75099bb890b23f3094891e247d4" + integrity sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ== yallist@^3.0.2: version "3.1.1" diff --git a/maps/Dockerfile b/maps/Dockerfile index 33ca48b5..7fc6fd19 100644 --- a/maps/Dockerfile +++ b/maps/Dockerfile @@ -1,4 +1,3 @@ -# we are rebuilding on each deploy to cope with the API_URL environment URL FROM thecodingmachine/nodejs:12-apache COPY --chown=docker:docker . . diff --git a/maps/Tuto/Attribution-tilesets.txt b/maps/Tuto/Attribution-tilesets.txt new file mode 100644 index 00000000..a0e4224a --- /dev/null +++ b/maps/Tuto/Attribution-tilesets.txt @@ -0,0 +1,25 @@ +License +------- + +CC-BY-SA 3.0: + - http://creativecommons.org/licenses/by-sa/3.0/ + - See the file: cc-by-sa-3.0.txt +GNU GPL 3.0: + - http://www.gnu.org/licenses/gpl-3.0.html + - See the file: gpl-3.0.txt + +Assets from: workadventure@thecodingmachine.com + +BASE assets: +------------ + + - le-coq.png + - logotcm.png + - pin.png + - tileset1-repositioning.png + - tileset1.png + - tileset2.2.png + - tileset2.png + - tileset3.2.png + - tileset3.png + - walls2.png \ No newline at end of file diff --git a/maps/Tuto/Male 13-4.png b/maps/Tuto/Male 13-4.png new file mode 100644 index 00000000..e7349b52 Binary files /dev/null and b/maps/Tuto/Male 13-4.png differ diff --git a/maps/Tuto/fantasy.png b/maps/Tuto/fantasy.png new file mode 100644 index 00000000..d96ddc8d Binary files /dev/null and b/maps/Tuto/fantasy.png differ diff --git a/maps/Tuto/scriptTuto.js b/maps/Tuto/scriptTuto.js new file mode 100644 index 00000000..818af5ee --- /dev/null +++ b/maps/Tuto/scriptTuto.js @@ -0,0 +1,74 @@ +var isFirstTimeTuto = false; +var textFirstPopup = 'Hey ! This is how to start a discussion with someone ! You can be 4 max in a bubble.'; +var textSecondPopup = 'You can also use the chat to communicate ! '; +var targetObjectTutoBubble ='Tutobubble'; +var targetObjectTutoChat ='tutoChat'; +var targetObjectTutoExplanation ='tutoExplanation'; +var popUpExplanation = undefined; +function launchTuto (){ + WA.openPopup(targetObjectTutoBubble, textFirstPopup, [ + { + label: "Next", + className: "popUpElement", + callback: (popup) => { + popup.close(); + + WA.openPopup(targetObjectTutoChat, textSecondPopup, [ + { + label: "Open Chat", + className: "popUpElement", + callback: (popup1) => { + WA.sendChatMessage("Hey you can talk here too!", 'WA Guide'); + popup1.close(); + WA.openPopup("TutoFinal","You are good to go! You can meet the dev team and discover the features in the next room!",[ + { + label: "Got it!", + className : "success",callback:(popup2 => { + popup2.close(); + WA.restorePlayerControl(); + }) + } + ]) + } + } + + ]) + } + } + ]); + WA.disablePlayerControl(); + +} + + +WA.onEnterZone('popupZone', () => { + WA.displayBubble(); + if (!isFirstTimeTuto) { + isFirstTimeTuto = true; + launchTuto(); + } + else { + popUpExplanation = WA.openPopup(targetObjectTutoExplanation, 'Do you want to review the explanation?', [ + { + label: "No", + className: "error", + callback: (popup) => { + popup.close(); + } + }, + { + label: "Yes", + className: "success", + callback: (popup) => { + popup.close(); + launchTuto(); + } + } + ]) + } +}); + +WA.onLeaveZone('popupZone', () => { + if (popUpExplanation !== undefined) popUpExplanation.close(); + WA.removeBubble(); +}) diff --git a/maps/Tuto/shift.png b/maps/Tuto/shift.png new file mode 100644 index 00000000..b1b3a8cc Binary files /dev/null and b/maps/Tuto/shift.png differ diff --git a/maps/Tuto/textTuto3.png b/maps/Tuto/textTuto3.png new file mode 100644 index 00000000..6c62f848 Binary files /dev/null and b/maps/Tuto/textTuto3.png differ diff --git a/maps/Tuto/tilesets/Atlas-refs-opengameart.txt b/maps/Tuto/tilesets/Atlas-refs-opengameart.txt new file mode 100644 index 00000000..57a4ed46 --- /dev/null +++ b/maps/Tuto/tilesets/Atlas-refs-opengameart.txt @@ -0,0 +1,4 @@ +LPC Atlas : +https://opengameart.org/content/lpc-tile-atlas +LPC Atlas 2 : +https://opengameart.org/content/lpc-tile-atlas2 \ No newline at end of file diff --git a/maps/Tuto/tilesets/LPC-Atlas-Attribution.txt b/maps/Tuto/tilesets/LPC-Atlas-Attribution.txt new file mode 100644 index 00000000..e136f545 --- /dev/null +++ b/maps/Tuto/tilesets/LPC-Atlas-Attribution.txt @@ -0,0 +1,139 @@ +License +------- + +CC-BY-SA 3.0: + - http://creativecommons.org/licenses/by-sa/3.0/ + - See the file: cc-by-sa-3.0.txt +GNU GPL 3.0: + - http://www.gnu.org/licenses/gpl-3.0.html + - See the file: gpl-3.0.txt + +Note the file is based on the LCP contest readme so don't expect the exact little pieces used like the base one. +*Additional license information. + +Assets from: + +LPC participants: +---------------- + +Casper Nilsson + *GNU GPL 3.0 or later + email: casper.nilsson@gmail.com + Freenode: CasperN + OpenGameArt.org: C.Nilsson + + - LPC C.Nilsson (2D art) + +Daniel Eddeland + *GNU GPL 3.0 or later + - Tilesets of plants, props, food and environments, suitable for farming / fishing sims and other games. + - Includes wheat, grass, sand tilesets, fence tilesets and plants such as corn and tomato. + + +Johann CHARLOT + *GNU LGPL Version 3. + *Later versions are permitted. + Homepage http://poufpoufproduction.fr + Email johannc@poufpoufproduction.fr + + - Shoot'em up graphic kit + +Skyler Robert Colladay + + - FeralFantom's Entry (2D art) + +BASE assets: +------------ + +Lanea Zimmerman (AKA Sharm) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + - barrel.png + - brackish.png + - buckets.png + - bridges.png + - cabinets.png + - cement.png + - cementstair.png + - chests.png + - country.png + - cup.png + - dirt2.png + - dirt.png + - dungeon.png + - grassalt.png + - grass.png + - holek.png + - holemid.png + - hole.png + - house.png + - inside.png + - kitchen.png + - lava.png + - lavarock.png + - mountains.png + - rock.png + - shadow.png + - signs.png + - stairs.png + - treetop.png + - trunk.png + - waterfall.png + - watergrass.png + - water.png + - princess.png and princess.xcf + + +Stephen Challener (AKA Redshrike) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + - female_walkcycle.png + - female_hurt.png + - female_slash.png + - female_spellcast.png + - male_walkcycle.png + - male_hurt.png + - male_slash.png + - male_spellcast.png + - male_pants.png + - male_hurt_pants.png + - male_fall_down_pants.png + - male_slash_pants.png + + +Charles Sanchez (AKA CharlesGabriel) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + - bat.png + - bee.png + - big_worm.png + - eyeball.png + - ghost.png + - man_eater_flower.png + - pumpking.png + - slime.png + - small_worm.png + - snake.png + + +Manuel Riecke (AKA MrBeast) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + - hairfemale.png and hairfemale.xcf + - hairmale.png and hairmale.xcf + - soldier.png + - soldier_altcolor.png + + +Daniel Armstrong (AKA HughSpectrum) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Castle work: + + - castlewalls.png + - castlefloors.png + - castle_outside.png + - castlefloors_outside.png + - castle_lightsources.png + + diff --git a/maps/Tuto/tilesets/LPC-Atlas2-Attribution2.txt b/maps/Tuto/tilesets/LPC-Atlas2-Attribution2.txt new file mode 100644 index 00000000..3e52b951 --- /dev/null +++ b/maps/Tuto/tilesets/LPC-Atlas2-Attribution2.txt @@ -0,0 +1,166 @@ +License +------- + +CC-BY-SA 3.0: + - http://creativecommons.org/licenses/by-sa/3.0/ + - See the file: cc-by-sa-3.0.txt +GNU GPL 3.0: + - http://www.gnu.org/licenses/gpl-3.0.html + - See the file: gpl-3.0.txt + +Note only some files from the entries are selected. +*Additional license information. + +Assets from: + +LPC participants: +---------------- + +Barbara Rivera + + - tree,tombstone + +Casper Nilsson + *GNU GPL 3.0 or later + email: casper.nilsson@gmail.com + Freenode: CasperN + OpenGameArt.org: C.Nilsson + + - LPC C.Nilsson (2D art) + +Chris Phillips + + - tree + +Daniel Eddeland + *GNU GPL 3.0 or later + + - Tilesets of plants, props, food and environments, suitable for farming / fishing sims and other games. + - Includes wheat, grass, sand tilesets, fence tilesets and plants such as corn and tomato. + - Also includes village/marketplace objects like sacks, food, some smithing equipment, tables and stalls. + + +Anamaris and Krusmira (aka? Emilio J Sanchez) + + - Sierra__Steampun-a-fy (with concept art) + +Jonas Klinger + + - Skorpio's SciFi Sprite Pack + +Joshua Taylor + + - Fruit and Veggie Inventory + +Leo Villeveygoux + + - Limestone Wall + +Mark Weyer + + - signpost+shadow + +Matthew Nash + + - Public Toilet Tileset + +Skyler Robert Colladay + + - FeralFantom's Entry + + +BASE assets: +------------ + +Lanea Zimmerman (AKA Sharm) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + - barrel.png + - brackish.png + - buckets.png + - bridges.png + - cabinets.png + - cement.png + - cementstair.png + - chests.png + - country.png + - cup.png + - dirt2.png + - dirt.png + - dungeon.png + - grassalt.png + - grass.png + - holek.png + - holemid.png + - hole.png + - house.png + - inside.png + - kitchen.png + - lava.png + - lavarock.png + - mountains.png + - rock.png + - shadow.png + - signs.png + - stairs.png + - treetop.png + - trunk.png + - waterfall.png + - watergrass.png + - water.png + - princess.png and princess.xcf + + +Stephen Challener (AKA Redshrike) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + - female_walkcycle.png + - female_hurt.png + - female_slash.png + - female_spellcast.png + - male_walkcycle.png + - male_hurt.png + - male_slash.png + - male_spellcast.png + - male_pants.png + - male_hurt_pants.png + - male_fall_down_pants.png + - male_slash_pants.png + + +Charles Sanchez (AKA CharlesGabriel) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + - bat.png + - bee.png + - big_worm.png + - eyeball.png + - ghost.png + - man_eater_flower.png + - pumpking.png + - slime.png + - small_worm.png + - snake.png + + +Manuel Riecke (AKA MrBeast) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + - hairfemale.png and hairfemale.xcf + - hairmale.png and hairmale.xcf + - soldier.png + - soldier_altcolor.png + + +Daniel Armstrong (AKA HughSpectrum) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Castle work: + + - castlewalls.png + - castlefloors.png + - castle_outside.png + - castlefloors_outside.png + - castle_lightsources.png + + diff --git a/maps/Tuto/tilesets/LPC-indoors.txt b/maps/Tuto/tilesets/LPC-indoors.txt new file mode 100644 index 00000000..dd689a2a --- /dev/null +++ b/maps/Tuto/tilesets/LPC-indoors.txt @@ -0,0 +1,2 @@ +https://opengameart.org/content/lpc-interior-castle-tiles +credit Lanea Zimmerman \ No newline at end of file diff --git a/maps/Tuto/tilesets/LPC-interiors-house-credits.txt b/maps/Tuto/tilesets/LPC-interiors-house-credits.txt new file mode 100644 index 00000000..f868b224 --- /dev/null +++ b/maps/Tuto/tilesets/LPC-interiors-house-credits.txt @@ -0,0 +1,55 @@ += Wooden floor(CC-BY-SA) = + * Horizontal wooden floor by Lanea Zimmerman (AKA Sharm) + * Horizontal wooden floor with hole by Lanea Zimmerman (AKA Sharm) and Tuomo Untinen + * Vertical wooden floor by Tuomo Untinen + * Vertical wooden floor with hole by Tuomo Untinen += Wooden wall topping (CC-BY-SA) = + * Tuomo Untinen += Pile of barrels = + * Based LPC base tiles by Lanea Zimmerman (AKA Sharm) += Decorational stuff (CC-BY-SA) = + * Green bottle + * Wine glass and bottle + * Hanging sacks + * Wall mounted rope and ropes + * Wall mounted swords + * Wall mounted kite shield + * Wall hole + By Tuomo Untinen + * Small sack from LPC farming tileset by Daniel Eddeland (http://opengameart.org/content/lpc- farming-tilesets-magic-animations-and-ui-elements) + * Purple bottles and gray lantern from Hyptosis Mage city + * Green and blue bottle by Tuomo Untinen += Wall clock (CC-BY-SA) = + * Lanea Zimmerman AKA Sharm + * Tuomo Untinen (Scaled down and animation) += Stone floor (CC-BY-SA)= + * Tuomo Untinen += Cobble stone floor (CC-BY-SA)= + * Based on LPC base tileset by Lanea Zimmerman (AKA Sharm) += Cabinets and kitchen stuff including metal stove(CC-BY-SA) = + * Based on LPC base tileset by Lanea Zimmerman (AKA Sharm) + * Cutboard is made by Hyptosis + * Sacks based on LPC farming tileset by Daniel Eddeland (http://opengameart.org/content/lpc- farming-tilesets-magic-animations-and-ui-elements) + * Spears by Tuomo Untinen + * Vertical chest by Tuomo Untinen based on LPC base tiles Lanea Zimmerman (AKA Sharm) +Manuel Riecke (AKA MrBeast) += Skull (CC-BY-SA) = + * http://opengameart.org/content/lpc-dungeon-elements + * Graphical artist Lanea Zimmerman AKA Sharm + * Contributor William Thompson += pile sacks = + * LPC farming tileset by Daniel Eddeland (http://opengameart.org/content/lpc- farming-tilesets-magic-animations-and-ui-elements) += Pile of papers(CC-BY-SA) = + * Based on caeles papers += Armor shelves(CC-BY-SA) = + * Based on LPC base tileset by Lanea Zimmerman (AKA Sharm) + * Armors by: Adapted by Matthew Krohn from art created by Johannes Sjölund += Table lamp = + * Tuomo Untinen += Distiller = + * Table is from LPC base tileset by Lanea Zimmerman (AKA Sharm) + * Distiller by Tuomo Untinen += Fireplace = + * Tuomo Untinen + * Inspired by Lanea Zimmerman (AKA Sharm) Fireplace + diff --git a/maps/Tuto/tilesets/LPC-leaf-credits.txt b/maps/Tuto/tilesets/LPC-leaf-credits.txt new file mode 100644 index 00000000..43606311 --- /dev/null +++ b/maps/Tuto/tilesets/LPC-leaf-credits.txt @@ -0,0 +1,28 @@ +License +------- + +CC-BY-SA 3.0: +- http://creativecommons.org/licenses/by-sa/3.0/ +GNU GPL 3.0: +- http://www.gnu.org/licenses/gpl-3.0.html + +If you need to figure out exactly who made what please see the Liberated Pixel Cup entries. + +Liberated Pixel Cup Assets: +http://opengameart.org/lpc-art-entries + +LPC participants: +---------------- + +Johann CHARLOT + Homepage http://poufpoufproduction.fr + Email johannc@poufpoufproduction.fr +- Shoot'em up graphic kit + + + +Recolored Leaves + +William Thompson + Email: william.thompsonj@gmail.com + OpenGameArt.org: williamthompsonj \ No newline at end of file diff --git a/maps/Tuto/tilesets/LPC-leafs-refs.txt b/maps/Tuto/tilesets/LPC-leafs-refs.txt new file mode 100644 index 00000000..8c7b6cc7 --- /dev/null +++ b/maps/Tuto/tilesets/LPC-leafs-refs.txt @@ -0,0 +1 @@ +https://opengameart.org/content/lpc-leaf-recolor \ No newline at end of file diff --git a/maps/Tuto/tilesets/LPC-submissions-refs.txt b/maps/Tuto/tilesets/LPC-submissions-refs.txt new file mode 100644 index 00000000..f1b8e92f --- /dev/null +++ b/maps/Tuto/tilesets/LPC-submissions-refs.txt @@ -0,0 +1 @@ +https://opengameart.org/content/lpc-submissions-merged \ No newline at end of file diff --git a/maps/Tuto/tilesets/LPc-mountains-refs.txt b/maps/Tuto/tilesets/LPc-mountains-refs.txt new file mode 100644 index 00000000..d6792cf3 --- /dev/null +++ b/maps/Tuto/tilesets/LPc-mountains-refs.txt @@ -0,0 +1 @@ +https://opengameart.org/content/lpc-mountains \ No newline at end of file diff --git a/maps/Tuto/tilesets/LPc-submissions-Final Attribution.txt b/maps/Tuto/tilesets/LPc-submissions-Final Attribution.txt new file mode 100644 index 00000000..d04221dc --- /dev/null +++ b/maps/Tuto/tilesets/LPc-submissions-Final Attribution.txt @@ -0,0 +1,344 @@ +License +------- + +CC-BY-SA 3.0: + +http://creativecommons.org/licenses/by-sa/3.0/ + +GNU GPL 3.0: + +http://www.gnu.org/licenses/gpl-3.0.html + + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Terrain and Outside: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Lanea Zimmerman (AKA Sharm) - CC-BY-3.0 / GPL 3.0 / GPL 2.0 / OGA-BY-3.0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - barrels + - darkishgreen water + - buckets + - bridges + - cement + - cement stairs + - chests + - cup + - light dirt + - mid dirt + - dungeon + - grass1 (leftmost) + - grass2 (Middle grass) + - hole1 (left hole near lava) + - hole2 (middle hole) + - hole3 (black whole next to transparent water) + - lava + - lavarock (black dirt) + - mountains ridge (right of the water tiles) + - white rocks + - waterfall + - water/grass + - water (transparent water beside black hole) + +Daniel Eddeland CC-BY-SA-3.0 / GPL 3.0 +https://opengameart.org/content/lpc-farming-tilesets-magic-animations-and-ui-elements +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Plowed Ground + - Water reeds + - Sand + - Sand with water + - Tall grass + - Wheat + - Young wheet (green wheat left of tall grass) + +William Thompsonj +https://opengameart.org/content/lpc-sandrock-alt-colors +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - sand (near the wheat) + - sand with water + - grey dirt left of the lava) + + +Matthew Krohn (Makrohn) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Cave / Mountain steps originals from Lanea Zimmerman + +Matthew Nash +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - stone tile (purplish color beside the dirt path bottom right corner) + +Nushio +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Ice tiles + - Snow + - snow/ice + - Snow water + + +Casper Nilson +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - grass with flowers + - stone pattern below cement + - tree stumps + - lily pads + + + + +MISSING: +Bricks / Paths above lillypads and left of barrels +The recoloing of the rocks on the left +The bigger stump +Bottom right tiles +Outside stone head and columns +Green water +Ladders +Brown path +Sewer + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Outside Objects: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Lanea Zimmerman (AKA Sharm) CC-BY-3.0 / GPL 3.0 / GPL 2.0 / OGA-BY-3.0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Tree trunks (for evergreen and oak) + - Tree Tops (for evergreen and oak) + +Daniel Eddeland +(https://opengameart.org/content/lpc-farming-tilesets-magic-animations-and-ui-elements) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Farming stuff including food / crops / sack of grains + - Logs / Anvils + - Fish / boats / pier + - Bazaar / Merchant displays + - Wooden Fences + +Caeless +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Shadowless veggies (originally made by Daniel Eddeland) + +William Thompsonj +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - fallen leaves + +Casper Nilsson +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Metal Fence + - Wheelbarrows + - tent + - Gravestones + - harbor (stone platform in water) + - long boat + +Barbara Rivera / C Phillips +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Leafless tree + +Skorpio +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Trash / Barrel ( Top right corner) + +MISSING: +Bricks bottom left +- Mushrooms need attributions +Bricks/tiles above pier + + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Exterior: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Lanea Zimmerman (AKA Sharm) CC-BY-3.0 / GPL 3.0 / GPL 2.0 / OGA-BY-3.0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - house (light red brick wall on far left and purple roof below it) + - house white door frame / brown door and white windows. + - signs under gold and drak brown brick house wall + +Daniel Armstrong (AKA HughSpectrum) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - castle walls + - castle floors + - castle outside + - castle floors outside + +Xenodora CC-BY-3.0 / GPL 3.0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~ +- water well + +Tuomo Untinen CC-BY-3.0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - stone bridge + - silver windows + +Casper Nilsson +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Asain themed shrine including red lantern + - foodog statue + - Toro + - Cherry blossom tree + - Torii + - Grey Roof + - Flag poles + - Fancy white and black entrance + - white door + - green and white walls / roof / windows + - shrub plant in white square pot + - flower box +Steampun-a-fy: Amaris / Krusimira +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - dark purple brick near purple roof + - bronze and wood house (gold and dark brick) + - dark wooden stairs + - gold and dark chimney + - grey door + - gears + - pipes + - dark wooden windows + + Leo Villeveygoux +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - white bricks (limestone wall) + +Skyler Robert Collady +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Grey home assets + +MISSING attributions: +Graves bottom right +Water filled boat + + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Interior +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Lanea Zimmerman (AKA Sharm) CC-BY-3.0 / GPL 3.0 / GPL 2.0 / OGA-BY-3.0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - bookshelves (to the left of light brown chairs) + - cabinents above bookshelves + - counters (to the right of the kitchen table (between the white bathroom tiles) and bottom left by the rug. + - blue wallpaper + - kitchen furnace, pots and sink. + - country inside (blue bed and light brown chairs) + - red royal bed with white pillows. + - Mahogany kitchen table (near the dungeon bed with a black blanket) + - Yellow curtains + - Flower pot with tall pink flower + - Empty flower pots + - Chairs with gold seats (between the fireplaces) + - Fireplaces + - White and red mahogany stairs + - Double Rounded doors + - Flower vases + - Purple/Blue Tiles near white brick wall + - White brick wall + - White Columns + - Black candle-holder stand with candles + - Royal rug beside cabinents + - White stairs with runway / platform + - Grandfather clock + - Blue wallpaper with woodem trim + - Wood tiles + - Long painting + - Royal chairs ( gold seats) + - Rounded white windows + - Portrait painting + - small end / round tables + - Royal bed with red pillows + - white china + +By Sharm but Commissioned by William Thompsonj + - campfire + - skeletons + - dungeon beds + - wood chairs and tables between the calderon and the fancy door rounded door + - calderon + - cobwebs + - dungeon prison wall and door/gate (beside fancy red and gold rugs) + - dirt by the dungeon beds + - rat + + +Daniel Armstrong (Aka HughSpectrum) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - castle light Sources (torches) + - red carpets + - grey brick top of walls + +Matthew Nash +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Public Toilets + - Bathroom tiles (white and black) + +Tuomo Untinen +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Pots with cover (based from Sharm's pots) + - Yellow stone floor + - Short paintings + - royal chair modification + - cupboards based on Sharm's (with china) + - small footchair + - piano + + +MISSING attributions: +Some bottomleft tiles +Banners +Sideways table +Stacked barrels +Stacked chess +Things to left of the pots +Some of the furniture below the beds +Some of the single beds + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +*Interior 2 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Lanea Zimmerman (AKA Sharm) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - brown stairs with blue + - Fountain + - Pool + - FLoor tiles + - Everything between top row (between toilet stalls and bookcases) down to the floor tiles + + +Xenodora +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Steel floor + + +Tuomo Untinen +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Armor and sheilds + - Cheese and bread + - Ship + + +Janna - CC0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Beds + - Dressers / book shelves + - Wardrobe + + +Casper Nilsson +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - Red and Blue stairs + + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Extensions Folder: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Lanea Zimmerman (AKA Sharm) +~~~~~~~~~~~~~~~~~~~~~~~~~~~ +https://opengameart.org/content/lpc-adobe-building-set +https://opengameart.org/content/lpc-arabic-elements + - Adobe / Arabic - Commissioned by William Thompsonj \ No newline at end of file diff --git a/maps/Tuto/tilesets/Specials-attribution.txt b/maps/Tuto/tilesets/Specials-attribution.txt new file mode 100644 index 00000000..991e4f2d --- /dev/null +++ b/maps/Tuto/tilesets/Specials-attribution.txt @@ -0,0 +1,12 @@ +License +------- + +CC-BY-SA 3.0: + - http://creativecommons.org/licenses/by-sa/3.0/ + +Author : + +Jacques-Olivier Farcy +https://interstices.ouvaton.org +https://twitter.com/JO_Interstices + diff --git a/maps/Tuto/tilesets/outdoor/CREDITS-plants.txt b/maps/Tuto/tilesets/outdoor/CREDITS-plants.txt new file mode 100644 index 00000000..2d980390 --- /dev/null +++ b/maps/Tuto/tilesets/outdoor/CREDITS-plants.txt @@ -0,0 +1,106 @@ +## Flowers / Plants / Fungi / Wood + +"[LPC] Flowers / Plants / Fungi / Wood," by bluecarrot16, Guido Bos, Ivan Voirol (Silver IV), SpiderDave, William.Thompsonj, Yar, Stephen Challener and the Open Surge team (http://opensnc.sourceforge.net), Gaurav Munjal, Johann Charlot, Casper Nilsson, Jetrel, Zabin, Hyptosis, Surt, Lanea Zimmerman, George Bailey, ansimuz, Buch, and the Open Pixel Project contributors (OpenPixelProject.com). +CC-BY-SA 3.0. + +Based on: + +[LPC] Guido Bos entries cut up +Guido Bos +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/lpc-guido-bos-entries-cut-up + +Basic map 32x32 by Silver IV +Ivan Voirol (Silver IV) +CC-BY 3.0 / GPL 3.0 / GPL 2.0 +https://opengameart.org/content/basic-map-32x32-by-silver-iv + +Flowers +SpiderDave +CC0 +https://opengameart.org/content/flowers + +[LPC] Leaf Recolor +William.Thompsonj +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/lpc-leaf-recolor + +Isometric 64x64 Outside Tileset +Yar +CC-BY 3.0 +https://opengameart.org/content/isometric-64x64-outside-tileset + +32x32 (and 16x16) RPG Tiles--Forest and some Interior Tiles +Stephen Challener and the Open Surge team (http://opensnc.sourceforge.net)commissioned by Gaurav Munjal +CC-BY 3.0 +https://opengameart.org/content/32x32-and-16x16-rpg-tiles-forest-and-some-interior-tiles + +Lots of Hyptosis' tiles organized! +Hyptosis +CC-BY 3.0 +https://opengameart.org/content/lots-of-hyptosis-tiles-organized + +Generic Platformer Tiles +surt +CC0 +http://opengameart.org/content/generic-platformer-tiles + +old frogatto tile art +Guido Bos +CC0 +https://opengameart.org/content/old-frogatto-tile-art + +LPC: Interior Castle Tiles +Lanea Zimmerman +CC-BY-3.0 / GPL 3.0 +http://opengameart.org/content/lpc-interior-castle-tiles + +RPG item set +Jetrel +CC0 +https://opengameart.org/content/rpg-item-set + +Shoot'em up graphic kit +Johann Charlot +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/shootem-up-graphic-kit + +LPC C.Nilsson +Casper Nilsson +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/lpc-cnilsson + +Lots of trees and plants from OGA (DB32) tilesets pack 1 +Jetrel, Zabin, Hyptosis, Surt +CC0 +https://opengameart.org/content/lots-of-trees-and-plants-from-oga-db32-tilesets-pack-1 + +Trees & Bushes +ansimuz +CC0 +https://opengameart.org/content/trees-bushes + +Outdoor tiles, again +Buch +CC-BY 2.0 +https://opengameart.org/content/outdoor-tiles-again + +16x16 Game Assets +George Bailey +CC-BY 4.0 +https://opengameart.org/content/16x16-game-assets + +Tuxemon tileset +Buch +CC-BY-SA 3.0 +https://opengameart.org/content/tuxemon-tileset + +Orthographic outdoor tiles +Buch +CC0 +https://opengameart.org/content/orthographic-outdoor-tiles + +OPP2017 - Jungle and temple set +OpenPixelProject.com +CC0 +https://opengameart.org/content/opp2017-jungle-and-temple-set diff --git a/maps/Tuto/tilesets/outdoor/LPC-objects-plants-fish-submissions-outside.png b/maps/Tuto/tilesets/outdoor/LPC-objects-plants-fish-submissions-outside.png new file mode 100644 index 00000000..120eb2fc Binary files /dev/null and b/maps/Tuto/tilesets/outdoor/LPC-objects-plants-fish-submissions-outside.png differ diff --git a/maps/Tuto/tilesets/outdoor/LPC-submissions-outside.png b/maps/Tuto/tilesets/outdoor/LPC-submissions-outside.png new file mode 100644 index 00000000..05b679d0 Binary files /dev/null and b/maps/Tuto/tilesets/outdoor/LPC-submissions-outside.png differ diff --git a/maps/Tuto/tilesets/outdoor/LPC-terrains-subimissions-outside.png b/maps/Tuto/tilesets/outdoor/LPC-terrains-subimissions-outside.png new file mode 100644 index 00000000..7de67241 Binary files /dev/null and b/maps/Tuto/tilesets/outdoor/LPC-terrains-subimissions-outside.png differ diff --git a/maps/Tuto/tilesets/outdoor/decorations-medieval-credits.txt b/maps/Tuto/tilesets/outdoor/decorations-medieval-credits.txt new file mode 100644 index 00000000..d9c629a9 --- /dev/null +++ b/maps/Tuto/tilesets/outdoor/decorations-medieval-credits.txt @@ -0,0 +1,101 @@ + ## Medieval + +[LPC] Hanging signs +Reemax +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/lpc-hanging-signs + +Liberated Pixel Cup (LPC) Base Assets +Lanea Zimmerman (Sharm) +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/liberated-pixel-cup-lpc-base-assets-sprites-map-tiles + +[LPC] City outside +Reemax (Tuomo Untinen), Xenodora, Sharm, Johann C, Johannes Sjölund +CC-BY-SA 3.0 / GPL 3.0 / GPL 2.0 +https://opengameart.org/content/lpc-city-outside + +[LPC] Cavern and ruin tiles +CC-BY-SA 3.0 / GPL 3.0 / GPL 2.0 +Reemax, Sharm, Hyptosis, Johann C, HughSpectrum, Redshrike, William.Thompsonj, wulax, +https://opengameart.org/node/33913 + +Statues & Fountains Collection +Casper Nilsson, Daniel Cook, Rayane Félix (RayaneFLX), Wolthera van Hövell tot Westerflier (TheraHedwig), Hyptosis, mold, Zachariah Husiar (Zabin), & Clint Bellanger +CC-BY-SA 3.0 +https://opengameart.org/content/statues-fountains-collection + +LPC C.Nilsson +Casper Nilsson +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/lpc-cnilsson + +LPC Style Well +CC-BY 3.0 / GPL 3.0 +Xenodora, Sharm +https://opengameart.org/content/lpc-style-well + +RPG item set +Jetrel +CC0 +https://opengameart.org/content/rpg-item-set + +[LPC] Guido Bos entries cut up +Guido Bos +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/lpc-guido-bos-entries-cut-up + +LPC Sign Post +Nemisys +CC-BY 3.0 / CC-BY-SA 3.0 / GPL 3.0 / OGA-BY 3.0 +https://opengameart.org/content/lpc-sign-post + +[LPC] Signposts, graves, line cloths and scare crow +Reemax +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/lpc-signposts-graves-line-cloths-and-scare-crow + +[LPC] Hanging signs +Reemax +CC-BY-SA 3.0 / GPL 3.0 +https://opengameart.org/content/lpc-hanging-signs + +Hyptosis +Mage City Arcanos +CC0 +https://opengameart.org/content/mage-city-arcanos + +[LPC] Street Lamp +Curt +CC-BY 3.0 +https://opengameart.org/content/lpc-street-lamp + +[LPC] Misc +Lanea Zimmerman (Sharm), William.Thompsonj +CC-BY 3.0 / GPL 3.0 / GPL 2.0 / OGA-BY 3.0 +https://opengameart.org/content/lpc-misc + +RPG Tiles: Cobble stone paths & town objects +https://opengameart.org/content/rpg-tiles-cobble-stone-paths-town-objects +Zabin, Daneeklu, Jetrel, Hyptosis, Redshrike, Bertram. +CC-BY-SA 3.0 + +[LPC] Farming tilesets, magic animations and UI elements +https://opengameart.org/content/lpc-farming-tilesets-magic-animations-and-ui-elements +Daniel Eddeland (daneeklu) +CC-BY-SA 3.0 / GPL 3.0 + +RPG item set +Jetrel +CC0 +https://opengameart.org/content/rpg-item-set + +RPG Indoor Tileset: Expansion 1 +Redshrike +CC-BY 3.0 / GPL 3.0 / GPL 2.0 / OGA-BY 3.0 +https://opengameart.org/content/rpg-indoor-tileset-expansion-1 + +[LPC] Dungeon Elements +Lanea Zimmerman (Sharm), William.Thompsonj +CC-BY 3.0 / GPL 3.0 / GPL 2.0 / OGA-BY 3.0 +https://opengameart.org/content/lpc-dungeon-elements \ No newline at end of file diff --git a/maps/Tuto/tilesets/outdoor/decorations-medieval.png b/maps/Tuto/tilesets/outdoor/decorations-medieval.png new file mode 100644 index 00000000..510a3bc1 Binary files /dev/null and b/maps/Tuto/tilesets/outdoor/decorations-medieval.png differ diff --git a/maps/Tuto/tilesets/outdoor/plants.png b/maps/Tuto/tilesets/outdoor/plants.png new file mode 100644 index 00000000..1cf4929d Binary files /dev/null and b/maps/Tuto/tilesets/outdoor/plants.png differ diff --git a/maps/Tuto/tilesets/specials/ALL.png b/maps/Tuto/tilesets/specials/ALL.png new file mode 100644 index 00000000..c6db2d9b Binary files /dev/null and b/maps/Tuto/tilesets/specials/ALL.png differ diff --git a/maps/Tuto/tutoV3.json b/maps/Tuto/tutoV3.json new file mode 100644 index 00000000..82574d4d --- /dev/null +++ b/maps/Tuto/tutoV3.json @@ -0,0 +1,706 @@ +{ "compressionlevel":-1, + "height":30, + "infinite":false, + "layers":[ + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":30, + "id":24, + "name":"exit_Tuto", + "opacity":1, + "properties":[ + { + "name":"exitUrl", + "type":"string", + "value":"@\/tcm\/workadventure\/floor0" + }], + "type":"tilelayer", + "visible":true, + "width":73, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":30, + "id":17, + "name":"collides", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":73, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 74, 75, 75, 75, 76, 0, 0, 0, 0, 0, 74, 75, 75, 76, 74, 75, 75, 75, 75, 76, 0, 0, 74, 75, 75, 76, 0, 74, 75, 75, 76, 0, 74, 75, 75, 75, 76, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 74, 76, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 74, 75, 75, 75, 75, 75, 44, 107, 107, 107, 43, 75, 75, 75, 75, 75, 44, 107, 107, 43, 44, 107, 107, 107, 107, 43, 75, 75, 44, 107, 107, 43, 75, 44, 107, 107, 43, 75, 44, 107, 107, 107, 43, 75, 76, 0, 0, 0, 0, 0, 0, 74, 75, 76, 0, 0, 0, 0, 0, 74, 44, 43, 75, 75, 76, 0, 0, 0, 0, 0, 74, 75, 75, 44, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 0, 74, 75, 75, 44, 107, 43, 76, 0, 74, 75, 75, 44, 107, 107, 107, 107, 43, 75, 76, 0, 0, 74, 44, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 43, 75, 75, 75, 44, 107, 107, 107, 107, 107, 43, 75, 44, 107, 107, 107, 107, 107, 107, 107, 107, 11, 140, 0, 74, 44, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 106, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 106, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 138, 12, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 74, 44, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 11, 139, 139, 139, 12, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 43, 76, 0, 106, 107, 107, 107, 107, 107, 107, 11, 139, 139, 12, 107, 108, 0, 0, 74, 44, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 11, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 12, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 106, 107, 107, 107, 11, 139, 139, 140, 0, 0, 138, 139, 140, 0, 0, 106, 107, 107, 107, 107, 11, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 139, 139, 139, 12, 107, 107, 107, 107, 107, 108, 0, 106, 107, 107, 11, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 139, 139, 139, 139, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 12, 107, 107, 107, 107, 108, 74, 44, 107, 107, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 107, 107, 107,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 107, 107, 107, 107, 108, 0, 106, 107, 107, 108, 106, 107, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 12, 107, 107, 11, 140, 0, 106, 107, 107, 108, 106, 107, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 74, 75, 75, 75, 76, 0, 74, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 76, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 107, 107, 108, 0, 0, 106, 107, 107, 43, 44, 107, 43, 75, 75, 76, 0, 74, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 44, 107, 107, 107, 108, 0, 106, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 43, 75, 76, 74, 75, 75, 76, 0, 74, 75, 75, 75, 44, 107, 107, 108, 0, 0, 138, 12, 107, 107, 107, 107, 107, 107, 107, 43, 75, 44, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 43, 75, 44, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 11, 12, 43, 44, 107, 107, 43, 75, 44, 107, 107, 107, 107, 107, 107, 108, 0, 0, 0, 106, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 43, 44, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 0, 106, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 11, 140, 0, 0, 0, 106, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 0, 0, 138, 139, 12, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 0, 0, 0, 0, 138, 12, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 108, 0, 0, 0, 0, 0, 0, 0, 138, 139, 139, 12, 107, 107, 107, 107, 11, 139, 12, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 11, 139, 139, 12, 107, 107, 107, 107, 107, 107, 107, 107, 11, 139, 139, 12, 107, 107, 11, 139, 139, 139, 12, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 11, 139, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 139, 12, 107, 11, 140, 0, 138, 12, 107, 11, 12, 107, 107, 107, 11, 139, 139, 139, 139, 139, 12, 11, 139, 139, 140, 0, 0, 138, 139, 12, 107, 107, 107, 107, 107, 11, 140, 0, 0, 138, 139, 139, 140, 0, 0, 0, 138, 139, 139, 12, 11, 139, 139, 12, 107, 107, 11, 139, 139, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 139, 140, 0, 0, 0, 138, 139, 140, 138, 139, 139, 139, 140, 0, 0, 0, 0, 0, 138, 140, 0, 0, 0, 0, 0, 0, 0, 138, 139, 139, 139, 139, 139, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 140, 0, 0, 138, 139, 139, 140, 0, 0, 0, 0, 0, 0, 0], + "height":30, + "id":4, + "name":"sol-fond-terre-sombre", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":73, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 171, 42, 0, 0, 0, 0, 0, 0, 0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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":30, + "id":5, + "name":"sol-terre-sombre-deco", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":73, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 66, 67, 0, 0, 0, 0, 65, 67, 0, 0, 0, 0, 0, 65, 66, 67, 0, 65, 66, 67, 0, 0, 65, 67, 0, 0, 0, 65, 67, 0, 0, 0, 0, 65, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 66, 66, 66, 35, 98, 34, 66, 66, 66, 66, 35, 34, 66, 67, 0, 0, 65, 35, 98, 34, 67, 129, 3, 34, 66, 66, 35, 34, 66, 66, 66, 35, 99, 0, 0, 0, 0, 97, 34, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 34, 66, 66, 35, 98, 98, 98, 34, 66, 35, 98, 98, 98, 98, 98, 98, 98, 98, 98, 34, 66, 66, 66, 66, 35, 98, 34, 67, 0, 0, 0, 0, 0, 0, 0, 65, 67, 0, 0, 0, 0, 0, 0, 0, 65, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 66, 66, 35, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 65, 66, 66, 67, 0, 0, 65, 35, 34, 66, 66, 67, 0, 0, 65, 66, 35, 34, 67, 0, 0, 0, 0, 0, 0, 0, 0, 65, 35, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 34, 35, 98, 98, 34, 66, 66, 35, 98, 98, 98, 98, 34, 66, 66, 35, 98, 98, 98, 34, 67, 0, 0, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 0, 0, 129, 3, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 2, 131, 0, 0, 0, 0, 0, 0, 0, 65, 35, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 34, 66, 67, 0, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 2, 131, 0, 0, 0, 0, 0, 65, 35, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 65, 35, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 34, 67, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 129, 3, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 2, 131, 0, 0, 0, 0, 65, 35, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 129, 130, 3, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 2, 131, 0, 0, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 2, 131, 0, 0, 0, 0, 0, 0, 0, 0, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 130, 3, 98, 98, 98, 2, 130, 3, 98, 98, 2, 130, 3, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 2, 3, 98, 98, 98, 98, 2, 130, 3, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97, 98, 98, 98, 34, 67, 129, 130, 130, 131, 65, 35, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 2, 3, 98, 2, 130, 130, 130, 3, 98, 98, 98, 98, 98, 98, 98, 98, 99, 129, 130, 3, 2, 130, 131, 0, 129, 130, 130, 3, 98, 98, 98, 98, 98, 98, 98, 98, 2, 131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 130, 130, 3, 2, 131, 0, 0, 0, 0, 129, 3, 98, 98, 98, 98, 98, 98, 2, 130, 130, 130, 130, 130, 131, 129, 130, 131, 0, 0, 0, 129, 3, 98, 98, 98, 98, 2, 130, 130, 131, 0, 0, 129, 131, 0, 0, 0, 0, 0, 0, 129, 3, 98, 98, 98, 98, 98, 98, 98, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 131, 0, 0, 0, 0, 0, 0, 129, 130, 130, 130, 130, 130, 130, 131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 130, 130, 130, 130, 131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 130, 130, 130, 130, 3, 2, 130, 131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":30, + "id":1, + "name":"sol-fond-terre-claire", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":73, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":30, + "id":23, + "name":"popUpzone", + "opacity":1, + "properties":[ + { + "name":"zone", + "type":"string", + "value":"popupZone" + }], + "type":"tilelayer", + "visible":true, + "width":73, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 0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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 227, 194, 195, 226, 258, 227, 290, 290, 290, 290, 226, 258, 258, 258, 258, 227, 290, 290, 290, 290, 290, 290, 226, 227, 290, 290, 291, 321, 195, 290, 226, 227, 290, 290, 194, 195, 226, 259, 0, 0, 257, 259, 0, 0, 0, 257, 258, 258, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 258, 258, 258, 227, 290, 226, 227, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 226, 258, 227, 290, 290, 290, 290, 290, 226, 227, 290, 226, 258, 258, 227, 226, 258, 258, 259, 289, 290, 290, 291, 0, 257, 258, 259, 0, 257, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 321, 322, 195, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 354, 290, 290, 290, 290, 226, 227, 290, 290, 226, 258, 227, 290, 226, 258, 227, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 227, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 354, 354, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 194, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 289, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 355, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 226, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 258, 227, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 227, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 226, 258, 259, 0, 0, 0, 0, 0, 0, 0, 0, 289, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 0, 0, 0, 0, 0, 0, 0, 0, 321, 195, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 194, 323, 0, 0, 0, 0, 0, 0, 0, 0, 257, 227, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 321, 195, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 226, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 289, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 289, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 321, 195, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 355, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 227, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 354, 354, 354, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 194, 322, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 321, 195, 290, 290, 290, 290, 194, 195, 290, 290, 290, 194, 195, 290, 290, 290, 290, 290, 290, 355, 354, 354, 354, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 194, 322, 195, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 194, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 289, 194, 195, 290, 194, 323, 321, 195, 290, 290, 291, 321, 322, 322, 195, 290, 290, 290, 290, 290, 355, 290, 290, 290, 290, 290, 194, 322, 322, 322, 195, 290, 290, 290, 290, 290, 290, 290, 194, 322, 323, 0, 321, 322, 195, 290, 194, 322, 195, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 321, 323, 321, 322, 323, 0, 0, 289, 290, 194, 323, 0, 257, 258, 227, 290, 290, 290, 290, 194, 195, 290, 290, 290, 194, 322, 323, 0, 0, 0, 321, 322, 322, 195, 290, 290, 194, 322, 323, 0, 0, 0, 0, 0, 321, 322, 323, 0, 321, 195, 290, 194, 322, 322, 195, 194, 195, 194, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 321, 322, 323, 0, 0, 289, 290, 290, 290, 290, 194, 322, 323, 321, 322, 322, 322, 323, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 354, 356, 354, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1331, 0, 1610614068, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 355, 0, 0, 0, 0, 0, 0, 0, 0, 355, 0, 0, 355, 357, 0, 0, 0, 355, 0, 0, 0, 0, 354, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 354, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 355, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 354, 362, 355, 0, 0, 0, 0, 0, 1182, 0, 0, 0, 0, 0, 355, 355, 0, 0, 355, 355, 0, 355, 354, 362, 355, 0, 0, 0, 0, 0, 0, 355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 355, 0, 0, 355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1149, 1214, 0, 0, 0, 0, 0, 0, 0, 0, 355, 358, 607, 608, 0, 354, 354, 355, 0, 0, 0, 0, 0, 355, 354, 355, 0, 0, 0, 0, 0, 0, 0, 0, 355, 354, 0, 355, 366, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 357, 355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 355, 0, 0, 0, 0, 608, 0, 0, 0, 0, 355, 0, 0, 0, 0, 0, 0, 0, 366, 363, 355, 0, 0, 33, 1, 0, 0, 0, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":30, + "id":22, + "name":"PNJ", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":73, + "x":0, + "y":0 + }, + { + "draworder":"topdown", + "id":3, + "name":"floorLayer", + "objects":[ + { + "height":199.667, + "id":1, + "name":"Tutobubble", + "rotation":0, + "type":"", + "visible":true, + "width":245.667, + "x":910.499833333333, + "y":259.1665 + }, + { + "height":98.333, + "id":2, + "name":"TutoFinal", + "rotation":0, + "type":"", + "visible":true, + "width":245.667, + "x":1000.83316666667, + "y":334.166833333333 + }, + { + "height":84.6667, + "id":3, + "name":"tutoExplanation", + "rotation":0, + "type":"", + "visible":true, + "width":210.667, + "x":1007.1665, + "y":323.66665 + }, + { + "height":99.6667, + "id":4, + "name":"tutoChat", + "rotation":0, + "type":"", + "visible":true, + "width":210.667, + "x":965.333166666667, + "y":318.833316666667 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":30, + "id":14, + "name":"arbres-haut", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":73, + "x":0, + "y":0 + }], + "nextlayerid":28, + "nextobjectid":5, + "orientation":"orthogonal", + "properties":[ + { + "name":"script", + "type":"string", + "value":"scriptTuto.js" + }], + "renderorder":"right-down", + "tiledversion":"2021.03.23", + "tileheight":32, + "tilesets":[ + { + "columns":32, + "firstgid":1, + "image":"tilesets\/outdoor\/LPC-terrains-subimissions-outside.png", + "imageheight":1024, + "imagewidth":1024, + "margin":0, + "name":"LPC-terrains-subimissions-outside", + "spacing":0, + "tilecount":1024, + "tileheight":32, + "tilewidth":32, + "wangsets":[ + { + "colors":[ + { + "color":"#ff0000", + "name":"terre-claire", + "probability":1, + "tile":97 + }, + { + "color":"#00ff00", + "name":"herbe", + "probability":1, + "tile":289 + }, + { + "color":"#0000ff", + "name":"terre-sombre", + "probability":1, + "tile":106 + }, + { + "color":"#ff7700", + "name":"rivi\u00e8re", + "probability":1, + "tile":688 + }], + "name":"Terrains", + "tile":-1, + "type":"corner", + "wangtiles":[ + { + "tileid":1, + "wangid":[0, 1, 0, 0, 0, 1, 0, 1] + }, + { + "tileid":2, + "wangid":[0, 1, 0, 1, 0, 0, 0, 1] + }, + { + "tileid":10, + "wangid":[0, 3, 0, 0, 0, 3, 0, 3] + }, + { + "tileid":11, + "wangid":[0, 3, 0, 3, 0, 0, 0, 3] + }, + { + "tileid":33, + "wangid":[0, 0, 0, 1, 0, 1, 0, 1] + }, + { + "tileid":34, + "wangid":[0, 1, 0, 1, 0, 1, 0, 0] + }, + { + "tileid":42, + "wangid":[0, 0, 0, 3, 0, 3, 0, 3] + }, + { + "tileid":43, + "wangid":[0, 3, 0, 3, 0, 3, 0, 0] + }, + { + "tileid":64, + "wangid":[0, 0, 0, 1, 0, 0, 0, 0] + }, + { + "tileid":65, + "wangid":[0, 0, 0, 1, 0, 1, 0, 0] + }, + { + "tileid":66, + "wangid":[0, 0, 0, 0, 0, 1, 0, 0] + }, + { + "tileid":73, + "wangid":[0, 0, 0, 3, 0, 0, 0, 0] + }, + { + "tileid":74, + "wangid":[0, 0, 0, 3, 0, 3, 0, 0] + }, + { + "tileid":75, + "wangid":[0, 0, 0, 0, 0, 3, 0, 0] + }, + { + "tileid":96, + "wangid":[0, 1, 0, 1, 0, 0, 0, 0] + }, + { + "tileid":97, + "wangid":[0, 1, 0, 1, 0, 1, 0, 1] + }, + { + "tileid":98, + "wangid":[0, 0, 0, 0, 0, 1, 0, 1] + }, + { + "tileid":105, + "wangid":[0, 3, 0, 3, 0, 0, 0, 0] + }, + { + "tileid":106, + "wangid":[0, 3, 0, 3, 0, 3, 0, 3] + }, + { + "tileid":107, + "wangid":[0, 0, 0, 0, 0, 3, 0, 3] + }, + { + "tileid":128, + "wangid":[0, 1, 0, 0, 0, 0, 0, 0] + }, + { + "tileid":129, + "wangid":[0, 1, 0, 0, 0, 0, 0, 1] + }, + { + "tileid":130, + "wangid":[0, 0, 0, 0, 0, 0, 0, 1] + }, + { + "tileid":137, + "wangid":[0, 3, 0, 0, 0, 0, 0, 0] + }, + { + "tileid":138, + "wangid":[0, 3, 0, 0, 0, 0, 0, 3] + }, + { + "tileid":139, + "wangid":[0, 0, 0, 0, 0, 0, 0, 3] + }, + { + "tileid":193, + "wangid":[0, 2, 0, 0, 0, 2, 0, 2] + }, + { + "tileid":194, + "wangid":[0, 2, 0, 2, 0, 0, 0, 2] + }, + { + "tileid":225, + "wangid":[0, 0, 0, 2, 0, 2, 0, 2] + }, + { + "tileid":226, + "wangid":[0, 2, 0, 2, 0, 2, 0, 0] + }, + { + "tileid":256, + "wangid":[0, 0, 0, 2, 0, 0, 0, 0] + }, + { + "tileid":257, + "wangid":[0, 0, 0, 2, 0, 2, 0, 0] + }, + { + "tileid":258, + "wangid":[0, 0, 0, 0, 0, 2, 0, 0] + }, + { + "tileid":288, + "wangid":[0, 2, 0, 2, 0, 0, 0, 0] + }, + { + "tileid":289, + "wangid":[0, 2, 0, 2, 0, 2, 0, 2] + }, + { + "tileid":290, + "wangid":[0, 0, 0, 0, 0, 2, 0, 2] + }, + { + "tileid":320, + "wangid":[0, 2, 0, 0, 0, 0, 0, 0] + }, + { + "tileid":321, + "wangid":[0, 2, 0, 0, 0, 0, 0, 2] + }, + { + "tileid":322, + "wangid":[0, 0, 0, 0, 0, 0, 0, 2] + }, + { + "tileid":592, + "wangid":[0, 4, 0, 0, 0, 4, 0, 4] + }, + { + "tileid":593, + "wangid":[0, 4, 0, 4, 0, 0, 0, 4] + }, + { + "tileid":624, + "wangid":[0, 0, 0, 4, 0, 4, 0, 4] + }, + { + "tileid":625, + "wangid":[0, 4, 0, 4, 0, 4, 0, 0] + }, + { + "tileid":655, + "wangid":[0, 0, 0, 4, 0, 0, 0, 0] + }, + { + "tileid":656, + "wangid":[0, 0, 0, 4, 0, 4, 0, 0] + }, + { + "tileid":657, + "wangid":[0, 0, 0, 0, 0, 4, 0, 0] + }, + { + "tileid":687, + "wangid":[0, 4, 0, 4, 0, 0, 0, 0] + }, + { + "tileid":688, + "wangid":[0, 4, 0, 4, 0, 4, 0, 4] + }, + { + "tileid":689, + "wangid":[0, 0, 0, 0, 0, 4, 0, 4] + }, + { + "tileid":719, + "wangid":[0, 4, 0, 0, 0, 0, 0, 0] + }, + { + "tileid":720, + "wangid":[0, 4, 0, 0, 0, 0, 0, 4] + }, + { + "tileid":721, + "wangid":[0, 0, 0, 0, 0, 0, 0, 4] + }] + }] + }, + { + "columns":32, + "firstgid":1025, + "image":"tilesets\/outdoor\/LPC-objects-plants-fish-submissions-outside.png", + "imageheight":1024, + "imagewidth":1024, + "margin":0, + "name":"LPC-objects-plants-fish-submissions-outside", + "spacing":0, + "tilecount":1024, + "tileheight":32, + "tilewidth":32 + }, + { + "columns":5, + "firstgid":2049, + "image":"tilesets\/specials\/ALL.png", + "imageheight":128, + "imagewidth":160, + "margin":0, + "name":"ALL", + "spacing":0, + "tilecount":20, + "tileheight":32, + "tiles":[ + { + "id":0, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }] + }], + "tilewidth":32 + }, + { + "columns":32, + "firstgid":2069, + "image":"tilesets\/outdoor\/LPC-submissions-outside.png", + "imageheight":1024, + "imagewidth":1024, + "margin":0, + "name":"LPC-submissions-outside", + "spacing":0, + "tilecount":1024, + "tileheight":32, + "tilewidth":32 + }, + { + "columns":12, + "firstgid":3093, + "image":"textTuto3.png", + "imageheight":416, + "imagewidth":384, + "margin":0, + "name":"textTuto3", + "spacing":0, + "tilecount":156, + "tileheight":32, + "tilewidth":32 + }, + { + "columns":3, + "firstgid":3249, + "image":"Male 13-4.png", + "imageheight":128, + "imagewidth":96, + "margin":0, + "name":"Male 13-4", + "spacing":0, + "tilecount":12, + "tileheight":32, + "tilewidth":32 + }, + { + "columns":16, + "firstgid":3261, + "image":"tilesets\/outdoor\/plants.png", + "imageheight":1024, + "imagewidth":512, + "margin":0, + "name":"plants", + "spacing":0, + "tilecount":512, + "tileheight":32, + "tilewidth":32 + }], + "tilewidth":32, + "type":"map", + "version":1.5, + "width":73 +} \ No newline at end of file diff --git a/maps/tests/goToPage.json b/maps/tests/goToPage.json new file mode 100644 index 00000000..915b5425 --- /dev/null +++ b/maps/tests/goToPage.json @@ -0,0 +1,99 @@ +{ "compressionlevel":-1, + "height":20, + "infinite":false, + "layers":[ + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0], + "height":20, + "id":3, + "name":"popupZone", + "opacity":1, + "properties":[ + { + "name":"zone", + "type":"string", + "value":"popUpGoToPageZone" + }], + "type":"tilelayer", + "visible":true, + "width":20, + "x":0, + "y":0 + }, + { + "draworder":"topdown", + "id":5, + "name":"floorLayer", + "objects":[ + { + "height":59, + "id":1, + "name":"popUp", + "rotation":0, + "type":"", + "visible":true, + "width":152, + "x":247, + "y":11 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + }], + "nextlayerid":6, + "nextobjectid":2, + "orientation":"orthogonal", + "properties":[ + { + "name":"script", + "type":"string", + "value":"goToPageScript.js" + }], + "renderorder":"right-down", + "tiledversion":"1.5.0", + "tileheight":32, + "tilesets":[ + { + "columns":11, + "firstgid":1, + "image":"tileset1.png", + "imageheight":352, + "imagewidth":352, + "margin":0, + "name":"tileset1", + "spacing":0, + "tilecount":121, + "tileheight":32, + "tilewidth":32 + }], + "tilewidth":32, + "type":"map", + "version":1.5, + "width":20 +} \ No newline at end of file diff --git a/maps/tests/goToPageScript.js b/maps/tests/goToPageScript.js new file mode 100644 index 00000000..2b2cf33b --- /dev/null +++ b/maps/tests/goToPageScript.js @@ -0,0 +1,49 @@ +var zoneName = "popUpGoToPageZone"; +var urlPricing = "https://workadventu.re/pricing"; +var urlGettingStarted = "https://workadventu.re/getting-started"; +var isCoWebSiteOpened = false; + +WA.onChatMessage((message => { + WA.sendChatMessage('Poly Parrot says: "'+message+'"', 'Poly Parrot'); +})); + +WA.onEnterZone(zoneName, () => { + WA.openPopup("popUp","Open Links",[ + { + label: "Open Tab", + className: "popUpElement", + callback: (popup => { + WA.openTab(urlPricing); + popup.close(); + }) + }, + { + label: "Go To Page", className : "popUpElement", + callback:(popup => { + WA.goToPage(urlPricing); + popup.close(); + }) + + } + , + { + label: "openCoWebSite", className : "popUpElement", + callback:(popup => { + WA.openCoWebSite(urlPricing); + isCoWebSiteOpened = true; + popup.close(); + }) + + }]); +}) + +WA.onLeaveZone(zoneName, () => { + if (isCoWebSiteOpened) { + WA.closeCoWebSite(); + isCoWebSiteOpened = false; + } +}) + +WA.onLeaveZone('popupZone', () => { + +}) diff --git a/maps/tests/iframe.html b/maps/tests/iframe.html new file mode 100644 index 00000000..23bfb479 --- /dev/null +++ b/maps/tests/iframe.html @@ -0,0 +1,25 @@ + + + + + + + + + +
+ + + diff --git a/maps/tests/iframe_api.json b/maps/tests/iframe_api.json new file mode 100644 index 00000000..96d92423 --- /dev/null +++ b/maps/tests/iframe_api.json @@ -0,0 +1,94 @@ +{ "compressionlevel":-1, + "editorsettings": + { + "export": + { + "target":"." + } + }, + "height":10, + "infinite":false, + "layers":[ + { + "data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "height":10, + "id":1, + "name":"floor", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":10, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":10, + "id":2, + "name":"start", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":10, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":10, + "id":5, + "name":"iframe_api", + "opacity":1, + "properties":[ + { + "name":"openWebsite", + "type":"string", + "value":"iframe.html" + }, + { + "name":"openWebsiteAllowApi", + "type":"bool", + "value":true + }], + "type":"tilelayer", + "visible":true, + "width":10, + "x":0, + "y":0 + }, + { + "draworder":"topdown", + "id":3, + "name":"floorLayer", + "objects":[], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + }], + "nextlayerid":6, + "nextobjectid":1, + "orientation":"orthogonal", + "renderorder":"right-down", + "tiledversion":"1.3.3", + "tileheight":32, + "tilesets":[ + { + "columns":11, + "firstgid":1, + "image":"tileset1.png", + "imageheight":352, + "imagewidth":352, + "margin":0, + "name":"tileset1", + "spacing":0, + "tilecount":121, + "tileheight":32, + "tilewidth":32 + }], + "tilewidth":32, + "type":"map", + "version":1.2, + "width":10 +} \ No newline at end of file diff --git a/maps/tests/script.js b/maps/tests/script.js new file mode 100644 index 00000000..5c129f1e --- /dev/null +++ b/maps/tests/script.js @@ -0,0 +1,79 @@ +console.log('SCRIPT LAUNCHED'); +//WA.sendChatMessage('Hi, my name is Poly and I repeat what you say!', 'Poly Parrot'); +var isFirstTimeTuto = false; +var textFirstPopup = 'Hey ! This is how to open start a discussion with someone ! You can be 4 max in a booble'; +var textSecondPopup = 'You can also use the chat to communicate ! '; +var targetObjectTutoBubble ='tutoBobble'; +var targetObjectTutoChat ='tutoChat'; +var popUpExplanation = undefined; +function launchTuto (){ + WA.openPopup(targetObjectTutoBubble, textFirstPopup, [ + { + label: "Next", + className: "popUpElement", + callback: (popup) => { + popup.close(); + + WA.openPopup(targetObjectTutoChat, textSecondPopup, [ + { + label: "Open Chat", + className: "popUpElement", + callback: (popup1) => { + WA.sendChatMessage("Hey you can talk here too ! ", 'WA Guide'); + popup1.close(); + WA.restorePlayerControl(); + } + } + + ]) + } + } + ]); + WA.disablePlayerControl(); + +} +WA.onChatMessage((message => { + console.log('CHAT MESSAGE RECEIVED BY SCRIPT'); + WA.sendChatMessage('Poly Parrot says: "'+message+'"', 'Poly Parrot'); +})); + +WA.onEnterZone('myTrigger', () => { + WA.sendChatMessage("Don't step on my carpet!", 'Poly Parrot'); +}) + +WA.onLeaveZone('popupZone', () => { +}) + +WA.onEnterZone('notExist', () => { + WA.sendChatMessage("YOU SHOULD NEVER SEE THIS", 'Poly Parrot'); +}) + +WA.onEnterZone('popupZone', () => { + WA.displayBubble(); + if (!isFirstTimeTuto) { + isFirstTimeTuto = true; + launchTuto(); + } + else popUpExplanation = WA.openPopup(targetObjectTutoChat,'Do you want to review the explanation ? ', [ + { + label: "No", + className: "popUpElementReviewexplanation", + callback: (popup) => { + popup.close(); + } + }, + { + label: "Yes", + className: "popUpElementReviewexplanation", + callback: (popup) => { + popup.close(); + launchTuto(); + } + } + ]) +}); + +WA.onLeaveZone('popupZone', () => { + if (popUpExplanation !== undefined) popUpExplanation.close(); + WA.removeBubble(); +}) diff --git a/maps/tests/script_api.json b/maps/tests/script_api.json new file mode 100644 index 00000000..54d93819 --- /dev/null +++ b/maps/tests/script_api.json @@ -0,0 +1,135 @@ +{ "compressionlevel":-1, + "editorsettings": + { + "export": + { + "target":"." + } + }, + "height":10, + "infinite":false, + "layers":[ + { + "data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "height":10, + "id":1, + "name":"floor", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":10, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 23, 23, 0, 0, 0, 0, 0, 0, 0, 0, 23, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":10, + "id":6, + "name":"triggerZone", + "opacity":1, + "properties":[ + { + "name":"zone", + "type":"string", + "value":"myTrigger" + }], + "type":"tilelayer", + "visible":true, + "width":10, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 23, 0, 0, 0, 0, 0, 0, 0, 0, 23, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":10, + "id":7, + "name":"popupZone", + "opacity":1, + "properties":[ + { + "name":"zone", + "type":"string", + "value":"popupZone" + }], + "type":"tilelayer", + "visible":true, + "width":10, + "x":0, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":10, + "id":2, + "name":"start", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":10, + "x":0, + "y":0 + }, + { + "draworder":"topdown", + "id":3, + "name":"floorLayer", + "objects":[ + { + "height":147.135497146101, + "id":1, + "name":"myPopup2", + "rotation":0, + "type":"", + "visible":true, + "width":104.442827410047, + "x":142.817125079855, + "y":147.448134926559 + }, + { + "height":132.434722966794, + "id":2, + "name":"myPopup1", + "rotation":0, + "type":"", + "visible":true, + "width":125.735549178518, + "x":13.649632619596, + "y":50.8502491249093 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + }], + "nextlayerid":8, + "nextobjectid":3, + "orientation":"orthogonal", + "properties":[ + { + "name":"script", + "type":"string", + "value":"script.js" + }], + "renderorder":"right-down", + "tiledversion":"1.4.3", + "tileheight":32, + "tilesets":[ + { + "columns":11, + "firstgid":1, + "image":"tileset1.png", + "imageheight":352, + "imagewidth":352, + "margin":0, + "name":"tileset1", + "spacing":0, + "tilecount":121, + "tileheight":32, + "tilewidth":32 + }], + "tilewidth":32, + "type":"map", + "version":1.4, + "width":10 +} \ No newline at end of file diff --git a/messages/protos/messages.proto b/messages/protos/messages.proto index 6c747768..6f8ed036 100644 --- a/messages/protos/messages.proto +++ b/messages/protos/messages.proto @@ -197,6 +197,22 @@ message SendUserMessage{ string message = 2; } +message WorldFullWarningMessage{ +} +message WorldFullWarningToRoomMessage{ + string roomId = 1; +} +message RefreshRoomPromptMessage{ + string roomId = 1; +} +message RefreshRoomMessage{ + string roomId = 1; + int32 versionNumber = 2; +} + +message WorldFullMessage{ +} + message BanUserMessage{ string type = 1; string message = 2; @@ -218,6 +234,9 @@ message ServerToClientMessage { SendUserMessage sendUserMessage = 12; BanUserMessage banUserMessage = 13; AdminRoomMessage adminRoomMessage = 14; + WorldFullWarningMessage worldFullWarningMessage = 15; + WorldFullMessage worldFullMessage = 16; + RefreshRoomMessage refreshRoomMessage = 17; } } @@ -383,4 +402,6 @@ service RoomManager { rpc sendGlobalAdminMessage(AdminGlobalMessage) returns (EmptyMessage); rpc ban(BanMessage) returns (EmptyMessage); rpc sendAdminMessageToRoom(AdminRoomMessage) returns (EmptyMessage); + rpc sendWorldFullWarningToRoom(WorldFullWarningToRoomMessage) returns (EmptyMessage); + rpc sendRefreshRoomPrompt(RefreshRoomPromptMessage) returns (EmptyMessage); } diff --git a/messages/yarn.lock b/messages/yarn.lock index 7033f07a..d520d465 100644 --- a/messages/yarn.lock +++ b/messages/yarn.lock @@ -4155,9 +4155,9 @@ xtend@~4.0.1: integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== y18n@^3.2.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= + version "3.2.2" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696" + integrity sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ== y18n@^4.0.0: version "4.0.0" diff --git a/pusher/src/Controller/AdminController.ts b/pusher/src/Controller/AdminController.ts index 8c4f524d..74d4e792 100644 --- a/pusher/src/Controller/AdminController.ts +++ b/pusher/src/Controller/AdminController.ts @@ -2,7 +2,7 @@ import {BaseController} from "./BaseController"; import {HttpRequest, HttpResponse, TemplatedApp} from "uWebSockets.js"; import {ADMIN_API_TOKEN} from "../Enum/EnvironmentVariable"; import {apiClientRepository} from "../Services/ApiClientRepository"; -import {AdminRoomMessage} from "../Messages/generated/messages_pb"; +import {AdminRoomMessage, WorldFullWarningToRoomMessage, RefreshRoomPromptMessage} from "../Messages/generated/messages_pb"; export class AdminController extends BaseController{ @@ -11,6 +11,56 @@ export class AdminController extends BaseController{ super(); this.App = App; this.receiveGlobalMessagePrompt(); + this.receiveRoomEditionPrompt(); + } + + receiveRoomEditionPrompt() { + this.App.options("/room/refresh", (res: HttpResponse, req: HttpRequest) => { + this.addCorsHeaders(res); + res.end(); + }); + + // eslint-disable-next-line @typescript-eslint/no-misused-promises + this.App.post("/room/refresh", async (res: HttpResponse, req: HttpRequest) => { + res.onAborted(() => { + console.warn('/message request was aborted'); + }) + + const token = req.getHeader('admin-token'); + const body = await res.json(); + + if (token !== ADMIN_API_TOKEN) { + console.error('Admin access refused for token: '+token) + res.writeStatus("401 Unauthorized").end('Incorrect token'); + return; + } + + try { + if (typeof body.roomId !== 'string') { + throw 'Incorrect roomId parameter' + } + const roomId: string = body.roomId; + + await apiClientRepository.getClient(roomId).then((roomClient) =>{ + return new Promise((res, rej) => { + const roomMessage = new RefreshRoomPromptMessage(); + roomMessage.setRoomid(roomId); + + roomClient.sendRefreshRoomPrompt(roomMessage, (err) => { + err ? rej(err) : res(); + }); + }); + }); + } catch (err) { + this.errorToResponse(err, res); + return; + } + + res.writeStatus("200"); + res.end('ok'); + + + }); } receiveGlobalMessagePrompt() { @@ -40,22 +90,36 @@ export class AdminController extends BaseController{ if (typeof body.text !== 'string') { throw 'Incorrect text parameter' } + if (body.type !== 'capacity' && body.type !== 'message') { + throw 'Incorrect type parameter' + } if (!body.targets || typeof body.targets !== 'object') { throw 'Incorrect targets parameter' } const text: string = body.text; + const type: string = body.type; const targets: string[] = body.targets; await Promise.all(targets.map((roomId) => { return apiClientRepository.getClient(roomId).then((roomClient) =>{ return new Promise((res, rej) => { - const roomMessage = new AdminRoomMessage(); - roomMessage.setMessage(text); - roomMessage.setRoomid(roomId); - - roomClient.sendAdminMessageToRoom(roomMessage, (err) => { - err ? rej(err) : res(); - }); + if (type === 'message') { + const roomMessage = new AdminRoomMessage(); + roomMessage.setMessage(text); + roomMessage.setRoomid(roomId); + + roomClient.sendAdminMessageToRoom(roomMessage, (err) => { + err ? rej(err) : res(); + }); + } else if (type === 'capacity') { + const roomMessage = new WorldFullWarningToRoomMessage(); + roomMessage.setRoomid(roomId); + + roomClient.sendWorldFullWarningToRoom(roomMessage, (err) => { + err ? rej(err) : res(); + }); + } + }); }); })); diff --git a/pusher/src/Controller/BaseController.ts b/pusher/src/Controller/BaseController.ts index 673ffd3c..91882138 100644 --- a/pusher/src/Controller/BaseController.ts +++ b/pusher/src/Controller/BaseController.ts @@ -1,5 +1,4 @@ -import {HttpRequest, HttpResponse} from "uWebSockets.js"; -import {ADMIN_API_TOKEN} from "../Enum/EnvironmentVariable"; +import {HttpResponse} from "uWebSockets.js"; export class BaseController { @@ -14,7 +13,20 @@ export class BaseController { */ // eslint-disable-next-line @typescript-eslint/no-explicit-any protected errorToResponse(e: any, res: HttpResponse): void { - console.error("An error happened", e); + if (e && e.message) { + let url = e?.config?.url; + if (url !== undefined) { + url = ' for URL: '+url; + } else { + url = ''; + } + console.error('ERROR: '+e.message+url); + } else if (typeof(e) === 'string') { + console.error(e); + } + if (e.stack) { + console.error(e.stack); + } if (e.response) { res.writeStatus(e.response.status+" "+e.response.statusText); this.addCorsHeaders(res); diff --git a/pusher/src/Controller/IoSocketController.ts b/pusher/src/Controller/IoSocketController.ts index 82d0707a..d4b0f98e 100644 --- a/pusher/src/Controller/IoSocketController.ts +++ b/pusher/src/Controller/IoSocketController.ts @@ -190,10 +190,10 @@ export class IoSocketController { memberMessages = userData.messages; memberTags = userData.tags; memberTextures = userData.textures; - if (!room.anonymous && room.policyType === GameRoomPolicyTypes.USE_TAGS_POLICY && (userData.anonymous === true || !room.canAccess(memberTags))) { + if (!room.public && room.policyType === GameRoomPolicyTypes.USE_TAGS_POLICY && (userData.anonymous === true || !room.canAccess(memberTags))) { throw new Error('No correct tags') } - if (!room.anonymous && room.policyType === GameRoomPolicyTypes.MEMBERS_ONLY_POLICY && userData.anonymous === true) { + if (!room.public && room.policyType === GameRoomPolicyTypes.MEMBERS_ONLY_POLICY && userData.anonymous === true) { throw new Error('No correct member') } } catch (e) { @@ -258,12 +258,12 @@ export class IoSocketController { /* Handlers */ open: (ws) => { if(ws.rejected === true) { - emitError(ws, 'World is full'); + socketManager.emitWorldFullMessage(ws); ws.close(); } // Let's join the room - const client = this.initClient(ws); //todo: into the upgrade instead? + const client = this.initClient(ws); socketManager.handleJoinRoom(client); //get data information and show messages diff --git a/pusher/src/Model/PusherRoom.ts b/pusher/src/Model/PusherRoom.ts index 92ff87d1..dcea5859 100644 --- a/pusher/src/Model/PusherRoom.ts +++ b/pusher/src/Model/PusherRoom.ts @@ -13,21 +13,22 @@ export enum GameRoomPolicyTypes { export class PusherRoom { private readonly positionNotifier: PositionDispatcher; - public readonly anonymous: boolean; + public readonly public: boolean; public tags: string[]; public policyType: GameRoomPolicyTypes; public readonly roomSlug: string; public readonly worldSlug: string = ''; public readonly organizationSlug: string = ''; + private versionNumber: number = 1; constructor(public readonly roomId: string, private socketListener: ZoneEventListener) { - this.anonymous = isRoomAnonymous(roomId); + this.public = isRoomAnonymous(roomId); this.tags = []; this.policyType = GameRoomPolicyTypes.ANONYMUS_POLICY; - if (this.anonymous) { + if (this.public) { this.roomSlug = extractRoomSlugPublicRoomId(this.roomId); } else { const {organizationSlug, worldSlug, roomSlug} = extractDataFromPrivateRoomId(this.roomId); @@ -55,4 +56,13 @@ export class PusherRoom { public isEmpty(): boolean { return this.positionNotifier.isEmpty(); } + + public needsUpdate(versionNumber: number): boolean { + if (this.versionNumber < versionNumber) { + this.versionNumber = versionNumber; + return true; + } else { + return false; + } + } } diff --git a/pusher/src/Services/AdminApi.ts b/pusher/src/Services/AdminApi.ts index d50e2a4f..bd8edeb6 100644 --- a/pusher/src/Services/AdminApi.ts +++ b/pusher/src/Services/AdminApi.ts @@ -1,5 +1,6 @@ import {ADMIN_API_TOKEN, ADMIN_API_URL} from "../Enum/EnvironmentVariable"; import Axios from "axios"; +import {GameRoomPolicyTypes} from "_Model/PusherRoom"; export interface AdminApiData { organizationSlug: string @@ -13,6 +14,13 @@ export interface AdminApiData { textures: CharacterTexture[] } +export interface MapDetailsData { + roomSlug: string, + mapUrl: string, + policy_type: GameRoomPolicyTypes, + tags: string[], +} + export interface AdminBannedData { is_banned: boolean, message: string @@ -35,9 +43,9 @@ export interface FetchMemberDataByUuidResponse { class AdminApi { - async fetchMapDetails(organizationSlug: string, worldSlug: string, roomSlug: string|undefined): Promise { + async fetchMapDetails(organizationSlug: string, worldSlug: string, roomSlug: string|undefined): Promise { if (!ADMIN_API_URL) { - return Promise.reject('No admin backoffice set!'); + return Promise.reject(new Error('No admin backoffice set!')); } const params: { organizationSlug: string, worldSlug: string, roomSlug?: string } = { @@ -60,7 +68,7 @@ class AdminApi { async fetchMemberDataByUuid(uuid: string, roomId: string): Promise { if (!ADMIN_API_URL) { - return Promise.reject('No admin backoffice set!'); + return Promise.reject(new Error('No admin backoffice set!')); } const res = await Axios.get(ADMIN_API_URL+'/api/room/access', { params: {uuid, roomId}, headers: {"Authorization" : `${ADMIN_API_TOKEN}`} } @@ -70,7 +78,7 @@ class AdminApi { async fetchMemberDataByToken(organizationMemberToken: string): Promise { if (!ADMIN_API_URL) { - return Promise.reject('No admin backoffice set!'); + return Promise.reject(new Error('No admin backoffice set!')); } //todo: this call can fail if the corresponding world is not activated or if the token is invalid. Handle that case. const res = await Axios.get(ADMIN_API_URL+'/api/login-url/'+organizationMemberToken, @@ -81,7 +89,7 @@ class AdminApi { async fetchCheckUserByToken(organizationMemberToken: string): Promise { if (!ADMIN_API_URL) { - return Promise.reject('No admin backoffice set!'); + return Promise.reject(new Error('No admin backoffice set!')); } //todo: this call can fail if the corresponding world is not activated or if the token is invalid. Handle that case. const res = await Axios.get(ADMIN_API_URL+'/api/check-user/'+organizationMemberToken, @@ -104,7 +112,7 @@ class AdminApi { async verifyBanUser(organizationMemberToken: string, ipAddress: string, organization: string, world: string): Promise { if (!ADMIN_API_URL) { - return Promise.reject('No admin backoffice set!'); + return Promise.reject(new Error('No admin backoffice set!')); } //todo: this call can fail if the corresponding world is not activated or if the token is invalid. Handle that case. return Axios.get(ADMIN_API_URL + '/api/check-moderate-user/'+organization+'/'+world+'?ipAddress='+ipAddress+'&token='+organizationMemberToken, diff --git a/pusher/src/Services/SocketManager.ts b/pusher/src/Services/SocketManager.ts index 7d5a063e..f0734b94 100644 --- a/pusher/src/Services/SocketManager.ts +++ b/pusher/src/Services/SocketManager.ts @@ -19,15 +19,15 @@ import { JoinRoomMessage, CharacterLayerMessage, PusherToBackMessage, + WorldFullMessage, AdminPusherToBackMessage, ServerToAdminClientMessage, - SendUserMessage, - BanUserMessage, UserJoinedRoomMessage, UserLeftRoomMessage, AdminMessage, BanMessage + UserJoinedRoomMessage, UserLeftRoomMessage, AdminMessage, BanMessage, RefreshRoomMessage } from "../Messages/generated/messages_pb"; import {ProtobufUtils} from "../Model/Websocket/ProtobufUtils"; import {JITSI_ISS, SECRET_JITSI_KEY} from "../Enum/EnvironmentVariable"; import {adminApi, CharacterTexture} from "./AdminApi"; -import {emitError, emitInBatch} from "./IoSocketHelpers"; +import {emitInBatch} from "./IoSocketHelpers"; import Jwt from "jsonwebtoken"; import {JITSI_URL} from "../Enum/EnvironmentVariable"; import {clientEventsEmitter} from "./ClientEventsEmitter"; @@ -36,6 +36,7 @@ import {apiClientRepository} from "./ApiClientRepository"; import {GroupDescriptor, UserDescriptor, ZoneEventListener} from "_Model/Zone"; import Debug from "debug"; import {ExAdminSocketInterface} from "_Model/Websocket/ExAdminSocketInterface"; +import {WebSocket} from "uWebSockets.js"; const debug = Debug('socket'); @@ -52,7 +53,8 @@ export interface AdminSocketData { } export class SocketManager implements ZoneEventListener { - private Worlds: Map = new Map(); + + private rooms: Map = new Map(); private sockets: Map = new Map(); constructor() { @@ -178,6 +180,11 @@ export class SocketManager implements ZoneEventListener { // If this is the first message sent, send back the viewport. this.handleViewport(client, viewport); } + + if (message.hasRefreshroommessage()) { + const refreshMessage:RefreshRoomMessage = message.getRefreshroommessage() as unknown as RefreshRoomMessage; + this.refreshRoomData(refreshMessage.getRoomid(), refreshMessage.getVersionnumber()) + } // Let's pass data over from the back to the client. if (!client.disconnecting) { @@ -217,7 +224,7 @@ export class SocketManager implements ZoneEventListener { try { client.viewport = viewport; - const world = this.Worlds.get(client.roomId); + const world = this.rooms.get(client.roomId); if (!world) { console.error("In SET_VIEWPORT, could not find world with id '", client.roomId, "'"); return; @@ -308,12 +315,12 @@ export class SocketManager implements ZoneEventListener { if (socket.roomId) { try { //user leaves room - const room: PusherRoom | undefined = this.Worlds.get(socket.roomId); + const room: PusherRoom | undefined = this.rooms.get(socket.roomId); if (room) { debug('Leaving room %s.', socket.roomId); room.leave(socket); if (room.isEmpty()) { - this.Worlds.delete(socket.roomId); + this.rooms.delete(socket.roomId); debug('Room %s is empty. Deleting.', socket.roomId); } } else { @@ -337,19 +344,23 @@ export class SocketManager implements ZoneEventListener { async getOrCreateRoom(roomId: string): Promise { //check and create new world for a room - let world = this.Worlds.get(roomId) + let world = this.rooms.get(roomId) if(world === undefined){ world = new PusherRoom(roomId, this); - if (!world.anonymous) { - const data = await adminApi.fetchMapDetails(world.organizationSlug, world.worldSlug, world.roomSlug) - world.tags = data.tags - world.policyType = Number(data.policy_type) + if (!world.public) { + await this.updateRoomWithAdminData(world); } - this.Worlds.set(roomId, world); + this.rooms.set(roomId, world); } return Promise.resolve(world) } + public async updateRoomWithAdminData(world: PusherRoom): Promise { + const data = await adminApi.fetchMapDetails(world.organizationSlug, world.worldSlug, world.roomSlug) + world.tags = data.tags; + world.policyType = Number(data.policy_type); + } + emitPlayGlobalMessage(client: ExSocketInterface, playglobalmessage: PlayGlobalMessage) { const pusherToBackMessage = new PusherToBackMessage(); pusherToBackMessage.setPlayglobalmessage(playglobalmessage); @@ -358,7 +369,7 @@ export class SocketManager implements ZoneEventListener { } public getWorlds(): Map { - return this.Worlds; + return this.rooms; } searchClientByUuid(uuid: string): ExSocketInterface | null { @@ -533,6 +544,23 @@ export class SocketManager implements ZoneEventListener { emitInBatch(listener, subMessage); } + + public emitWorldFullMessage(client: WebSocket) { + const errorMessage = new WorldFullMessage(); + + const serverToClientMessage = new ServerToClientMessage(); + serverToClientMessage.setWorldfullmessage(errorMessage); + + client.send(serverToClientMessage.serializeBinary().buffer, true); + } + + private refreshRoomData(roomId: string, versionNumber: number): void { + const room = this.rooms.get(roomId); + //this function is run for every users connected to the room, so we need to make sure the room wasn't already refreshed. + if (!room || !room.needsUpdate(versionNumber)) return; + + this.updateRoomWithAdminData(room); + } } export const socketManager = new SocketManager(); diff --git a/pusher/yarn.lock b/pusher/yarn.lock index 501146cb..43f58988 100644 --- a/pusher/yarn.lock +++ b/pusher/yarn.lock @@ -3032,9 +3032,9 @@ xtend@^4.0.0: integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== y18n@^3.2.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= + version "3.2.2" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696" + integrity sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ== yallist@^3.0.0, yallist@^3.0.3: version "3.1.1"