-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working through errors and logging, plus new bootstrap
- v0.33.24
- v0.33.23
- v0.33.22
- v0.33.21
- v0.33.20
- v0.33.19
- v0.33.18
- v0.33.17
- v0.33.16
- v0.33.15
- v0.33.14
- v0.33.13
- v0.33.12
- v0.33.11
- v0.33.10
- v0.33.9
- v0.33.8
- v0.33.7
- v0.33.6
- v0.33.5
- v0.33.4
- v0.33.3
- v0.33.2
- v0.33.1
- v0.33.0
- v0.32.37
- v0.32.36
- v0.32.35
- v0.32.34
- v0.32.33
- v0.32.32
- v0.32.31
- v0.32.30
- v0.32.29
- v0.32.28
- v0.32.27
- v0.32.26
- v0.32.25
- v0.32.24
- v0.32.23
- v0.32.22
- v0.32.21
- v0.32.20
- v0.32.19
- v0.32.18
- v0.32.17
- v0.32.16
- v0.32.15
- v0.32.14
- v0.32.13
- v0.32.12
- v0.32.11
- v0.32.10
- v0.32.9
- v0.32.8
- v0.32.7
- v0.32.6
- v0.32.5
- v0.32.4
- v0.32.3
- v0.32.2
- v0.32.1
- v0.32.0
- v0.31.7
- v0.31.6
- v0.31.5
- v0.31.4
- v0.31.3
- v0.31.2
- v0.31.1
- v0.31.0
- v0.30.6
- v0.30.5
- v0.30.4
- v0.30.3
- v0.30.2
- v0.30.1
- v0.30.0
- v0.29.10
- v0.29.9
- v0.29.8
- v0.29.7
- v0.29.6
- v0.29.5
- v0.29.4
- v0.29.3
- v0.29.2
- v0.29.1
- v0.29.0
- v0.28.1
- v0.28.0
- v0.27.5
- v0.27.4
- v0.27.3
- v0.27.2
- v0.27.1
- v0.27.0
- v0.26.0
- v0.25.0
- v0.24.1
- v0.24.0
- v0.23.22
- v0.23.21
- v0.23.20
- v0.23.19
- v0.23.18
- v0.23.17
- v0.23.16
- v0.23.15
- v0.23.14
- v0.23.13
- v0.23.12
- v0.23.11
- v0.23.10
- v0.23.9
- v0.23.8
- v0.23.7
- v0.23.6
- v0.23.5
- v0.23.4
- v0.23.3
- v0.23.2
- v0.23.1
- v0.23.0
- v0.22.1
- v0.22.0
- v0.21.65
- v0.21.64
- v0.21.63
- v0.21.62
- v0.21.61
- v0.21.60
- v0.21.59
- v0.21.58
- v0.21.57
- v0.21.56
- v0.21.55
- v0.21.54
- v0.21.53
- v0.21.52
- v0.21.51
- v0.21.50
- v0.21.49
- v0.21.48
- v0.21.47
- v0.21.46
- v0.21.45
- v0.21.44
- v0.21.43
- v0.21.42
- v0.21.41
- v0.21.40
- v0.21.39
- v0.21.38
- v0.21.37
- v0.21.36
- v0.21.35
- v0.21.34
- v0.21.33
- v0.21.32
- v0.21.31
- v0.21.30
- v0.21.29
- v0.21.28
- v0.21.27
- v0.21.26
- v0.21.25
- v0.21.24
- v0.21.23
- v0.21.22
- v0.21.21
- v0.21.20
- v0.21.19
- v0.21.18
- v0.21.17
- v0.21.16
- v0.21.15
- v0.21.14
- v0.21.13
- v0.21.12
- v0.21.11
- v0.21.10
- v0.21.9
- v0.21.8
- v0.21.7
- v0.21.6
- v0.21.5
- v0.21.4
- v0.21.3
- v0.21.2
- v0.21.1
- v0.21.0
- v0.20.45
- v0.20.44
- v0.20.43
- v0.20.42
- v0.20.41
- v0.20.40
- v0.20.39
- v0.20.38
- v0.20.37
- v0.20.36
- v0.20.35
- v0.20.34
- v0.20.33
- v0.20.32
- v0.20.31
- v0.20.30
- v0.20.29
- v0.20.28
- v0.20.27
- v0.20.26
- v0.20.25
- v0.20.24
- v0.20.23
- v0.20.22
- v0.20.21
- v0.20.20
- v0.20.19
- v0.20.18
- v0.20.17
- v0.20.16
- v0.20.15
- v0.20.14
- v0.20.13
- v0.20.12
- v0.20.11
- v0.20.10
- v0.20.9
- v0.20.8
- v0.20.7
- v0.20.6
- v0.20.5
- v0.20.4
- v0.20.3
- v0.20.2
- v0.20.1
- v0.20.0
- v0.19.7
- v0.19.6
- v0.19.5
- v0.19.4
- v0.19.3
- v0.19.2
- v0.19.1
- v0.19.0
- v0.18.0
- v0.17.0
- v0.16.8
- v0.16.7
- v0.16.6
- v0.16.5
- v0.16.4
- v0.16.3
- v0.16.2
- v0.16.1
- v0.12.3
- v0.12.2
- 0.14.17
Showing
6 changed files
with
127 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { createdevice } from 'zss/device' | ||
|
||
import { vm_doot, vm_login } from './api' | ||
import { gadgetstategetplayer, gadgetstatesetplayer } from './gadgetclient' | ||
|
||
// simple bootstrap manager | ||
|
||
const bip = createdevice( | ||
'bip', | ||
['second', 'ready', 'error', 'memset'], | ||
(message) => { | ||
// ?? | ||
console.info(message) | ||
|
||
switch (message.target) { | ||
case 'second': { | ||
const player = gadgetstategetplayer() | ||
if (player) { | ||
vm_doot(bip.name(), player) | ||
} | ||
break | ||
} | ||
case 'ready': | ||
if (message.player) { | ||
if (gadgetstatesetplayer(message.player)) { | ||
vm_login(bip.name(), message.player) | ||
} | ||
} | ||
break | ||
case 'error': | ||
if (message.player) { | ||
switch (message.data) { | ||
case 'with login': | ||
// issue reboot | ||
break | ||
} | ||
} | ||
break | ||
case 'memset': | ||
if (message.player) { | ||
// | ||
} | ||
} | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters