Compare commits
3
Commits
a290b75238
...
7f389fbbc2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f389fbbc2 | ||
|
|
ffa2b12786 | ||
|
|
51c542c7bb |
@@ -132,7 +132,7 @@ final class SendMainframeHintsCommand extends Command
|
||||
|
||||
if (!$hasBroadcast || !$hasContactedEveryonePrivately) {
|
||||
if ($elapsed >= self::PRIVATE_CHAT_THRESHOLD_SECONDS) {
|
||||
$this->publishHint($session, 'The AI virus can see all communication if you are using open communication channels. Contact each other privately as well.', $player);
|
||||
$this->publishHint($session, 'The AI virus can see all communication if you are using open communication channels. Make sure you send private messages to all other agents as well, so I know you can.', $player);
|
||||
return true;
|
||||
}
|
||||
if (!$hasBroadcast && $elapsed >= self::BROADCAST_CHAT_THRESHOLD_SECONDS) {
|
||||
|
||||
@@ -6,5 +6,5 @@ enum DecodeMessage: string
|
||||
{
|
||||
case PLAYER_1 = 'Sudo is now available';
|
||||
case PLAYER_2 = 'AI virus protects its own files by replacing them';
|
||||
case PLAYER_3 = 'The locked up bash files should be removed to lock it up';
|
||||
case PLAYER_3 = 'The AI virus is having a lock on certain files. Remove these to disable it.';
|
||||
}
|
||||
|
||||
@@ -240,7 +240,9 @@ class GameResponseService
|
||||
}
|
||||
|
||||
$filename = $messagePart[1];
|
||||
$fullPath = ($pwd === '/' ? '' : $pwd) . '/' . $filename;
|
||||
$fullPath = str_starts_with($filename, '/')
|
||||
? $filename
|
||||
: ($pwd === '/' ? '' : $pwd) . '/' . $filename;
|
||||
|
||||
if(!$this->isAllowedToRemove($fullPath, $player, $sudo))
|
||||
return ['result' => ['You are not allowed to remove this file.']];
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
<h4>{{ session.game.name }}</h4>
|
||||
<p>Welcome to the game! Please wait for all players to join and signal they are ready to start.</p>
|
||||
|
||||
<p>This game will end when you disable the virus by having its source files deleted from the server.</p>
|
||||
|
||||
<div class="game-info">
|
||||
Please keep the following things in mind:
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user