Skip to content

Commit aec5d99

Browse files
committed
simulator working with fanout notification of portal events
1 parent 8b7d6ca commit aec5d99

File tree

103 files changed

+6412
-38
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+6412
-38
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,11 @@ go run build.go
3333

3434
## Running mawt
3535

36+
```shell
37+
LOGXI=*=DBG /home/pi/mawt/bin/mawt
38+
```
3639

40+
```shell
41+
cd assets/simulator/XM_long_cycle
42+
LOGXI=*=DBG ../../../cmd/simulator/bin/simulator -listen :12345
43+
```
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"status": {
3+
"title": "Camp Navarro",
4+
"owner": "",
5+
"level": 0,
6+
"health": 0,
7+
"controllingFaction": "1",
8+
"mods": [],
9+
"resonators": [
10+
{
11+
"position": "E",
12+
"level": 0,
13+
"health": 0,
14+
"owner": ""
15+
},
16+
{
17+
"position": "NE",
18+
"level": 0,
19+
"health": 0,
20+
"owner": ""
21+
},
22+
{
23+
"position": "N",
24+
"level": 0,
25+
"health": 0,
26+
"owner": ""
27+
},
28+
{
29+
"position": "NW",
30+
"level": 0,
31+
"health": 0,
32+
"owner": ""
33+
},
34+
{
35+
"position": "W",
36+
"level": 0,
37+
"health": 0,
38+
"owner": ""
39+
},
40+
{
41+
"position": "SW",
42+
"level": 0,
43+
"health": 0,
44+
"owner": ""
45+
},
46+
{
47+
"position": "S",
48+
"level": 0,
49+
"health": 0,
50+
"owner": ""
51+
},
52+
{
53+
"position": "SE",
54+
"level": 0,
55+
"health": 0,
56+
"owner": ""
57+
}
58+
]
59+
}
60+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"status": {
3+
"title": "Camp Navarro",
4+
"owner": "",
5+
"level": 1,
6+
"health": 30,
7+
"controllingFaction": "1",
8+
"mods": [],
9+
"resonators": [
10+
{
11+
"position": "E",
12+
"level": 1,
13+
"health": 30,
14+
"owner": "Morty"
15+
},
16+
{
17+
"position": "NE",
18+
"level": 1,
19+
"health": 30,
20+
"owner": "Morty"
21+
},
22+
{
23+
"position": "N",
24+
"level": 1,
25+
"health": 30,
26+
"owner": "Morty"
27+
},
28+
{
29+
"position": "NW",
30+
"level": 1,
31+
"health": 30,
32+
"owner": "Morty"
33+
},
34+
{
35+
"position": "W",
36+
"level": 1,
37+
"health": 30,
38+
"owner": "Morty"
39+
},
40+
{
41+
"position": "SW",
42+
"level": 1,
43+
"health": 30,
44+
"owner": "Morty"
45+
},
46+
{
47+
"position": "S",
48+
"level": 1,
49+
"health": 30,
50+
"owner": "Morty"
51+
},
52+
{
53+
"position": "SE",
54+
"level": 1,
55+
"health": 30,
56+
"owner": "Morty"
57+
}
58+
]
59+
}
60+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"status": {
3+
"title": "Camp Navarro",
4+
"owner": "",
5+
"level": 1,
6+
"health": 40,
7+
"controllingFaction": "1",
8+
"mods": [],
9+
"resonators": [
10+
{
11+
"position": "E",
12+
"level": 1,
13+
"health": 40,
14+
"owner": "Morty"
15+
},
16+
{
17+
"position": "NE",
18+
"level": 1,
19+
"health": 40,
20+
"owner": "Morty"
21+
},
22+
{
23+
"position": "N",
24+
"level": 1,
25+
"health": 40,
26+
"owner": "Morty"
27+
},
28+
{
29+
"position": "NW",
30+
"level": 1,
31+
"health": 40,
32+
"owner": "Morty"
33+
},
34+
{
35+
"position": "W",
36+
"level": 1,
37+
"health": 40,
38+
"owner": "Morty"
39+
},
40+
{
41+
"position": "SW",
42+
"level": 1,
43+
"health": 40,
44+
"owner": "Morty"
45+
},
46+
{
47+
"position": "S",
48+
"level": 1,
49+
"health": 40,
50+
"owner": "Morty"
51+
},
52+
{
53+
"position": "SE",
54+
"level": 1,
55+
"health": 40,
56+
"owner": "Morty"
57+
}
58+
]
59+
}
60+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"status": {
3+
"title": "Camp Navarro",
4+
"owner": "",
5+
"level": 1,
6+
"health": 50,
7+
"controllingFaction": "1",
8+
"mods": [],
9+
"resonators": [
10+
{
11+
"position": "E",
12+
"level": 1,
13+
"health": 50,
14+
"owner": "Morty"
15+
},
16+
{
17+
"position": "NE",
18+
"level": 1,
19+
"health": 50,
20+
"owner": "Morty"
21+
},
22+
{
23+
"position": "N",
24+
"level": 1,
25+
"health": 50,
26+
"owner": "Morty"
27+
},
28+
{
29+
"position": "NW",
30+
"level": 1,
31+
"health": 50,
32+
"owner": "Morty"
33+
},
34+
{
35+
"position": "W",
36+
"level": 1,
37+
"health": 50,
38+
"owner": "Morty"
39+
},
40+
{
41+
"position": "SW",
42+
"level": 1,
43+
"health": 50,
44+
"owner": "Morty"
45+
},
46+
{
47+
"position": "S",
48+
"level": 1,
49+
"health": 50,
50+
"owner": "Morty"
51+
},
52+
{
53+
"position": "SE",
54+
"level": 1,
55+
"health": 50,
56+
"owner": "Morty"
57+
}
58+
]
59+
}
60+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"status": {
3+
"title": "Camp Navarro",
4+
"owner": "",
5+
"level": 1,
6+
"health": 60,
7+
"controllingFaction": "1",
8+
"mods": [],
9+
"resonators": [
10+
{
11+
"position": "E",
12+
"level": 1,
13+
"health": 60,
14+
"owner": "Morty"
15+
},
16+
{
17+
"position": "NE",
18+
"level": 1,
19+
"health": 60,
20+
"owner": "Morty"
21+
},
22+
{
23+
"position": "N",
24+
"level": 1,
25+
"health": 60,
26+
"owner": "Morty"
27+
},
28+
{
29+
"position": "NW",
30+
"level": 1,
31+
"health": 60,
32+
"owner": "Morty"
33+
},
34+
{
35+
"position": "W",
36+
"level": 1,
37+
"health": 60,
38+
"owner": "Morty"
39+
},
40+
{
41+
"position": "SW",
42+
"level": 1,
43+
"health": 60,
44+
"owner": "Morty"
45+
},
46+
{
47+
"position": "S",
48+
"level": 1,
49+
"health": 60,
50+
"owner": "Morty"
51+
},
52+
{
53+
"position": "SE",
54+
"level": 1,
55+
"health": 60,
56+
"owner": "Morty"
57+
}
58+
]
59+
}
60+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"status": {
3+
"title": "Camp Navarro",
4+
"owner": "",
5+
"level": 1,
6+
"health": 70,
7+
"controllingFaction": "1",
8+
"mods": [],
9+
"resonators": [
10+
{
11+
"position": "E",
12+
"level": 1,
13+
"health": 70,
14+
"owner": "Morty"
15+
},
16+
{
17+
"position": "NE",
18+
"level": 1,
19+
"health": 70,
20+
"owner": "Morty"
21+
},
22+
{
23+
"position": "N",
24+
"level": 1,
25+
"health": 70,
26+
"owner": "Morty"
27+
},
28+
{
29+
"position": "NW",
30+
"level": 1,
31+
"health": 70,
32+
"owner": "Morty"
33+
},
34+
{
35+
"position": "W",
36+
"level": 1,
37+
"health": 70,
38+
"owner": "Morty"
39+
},
40+
{
41+
"position": "SW",
42+
"level": 1,
43+
"health": 70,
44+
"owner": "Morty"
45+
},
46+
{
47+
"position": "S",
48+
"level": 1,
49+
"health": 70,
50+
"owner": "Morty"
51+
},
52+
{
53+
"position": "SE",
54+
"level": 1,
55+
"health": 70,
56+
"owner": "Morty"
57+
}
58+
]
59+
}
60+
}

0 commit comments

Comments
 (0)