Coder Social home page Coder Social logo

ill-inc / biomes-game Goto Github PK

View Code? Open in Web Editor NEW
2.4K 23.0 279.0 114.25 MB

Biomes is an open source sandbox MMORPG built for the web using web technologies such as Next.js, Typescript, React and WebAssembly.

Home Page: https://www.biomes.gg

License: MIT License

JavaScript 0.32% Dockerfile 0.04% Shell 0.12% Starlark 0.68% TypeScript 76.52% Python 5.37% Jinja 0.57% Rust 6.40% Jupyter Notebook 0.04% GLSL 1.46% CSS 1.70% HTML 0.01% Lua 0.11% EJS 0.03% C++ 6.63% Makefile 0.01%
browser browser-game engine games mmo mmorpg-game mmorpg-server react reactjs nextjs

biomes-game's Introduction

Biomes

ts-ci cpp-ci GitHub license

Overview

Biomes is an open source sandbox MMORPG built for the web using web technologies such as Next.js, Typescript, and WebAssembly. It uses React and reactive paradigms for gameplay.

Biomes screenshot

Watch the trailer here!

Contributing

More

biomes-game's People

Contributors

aabtop avatar akarpenko avatar devinleamy avatar iansilber avatar mochimisu avatar nicknotfun avatar turtlesoupy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

biomes-game's Issues

Loading is unexpectedly stalled... Reloading may help

[Optional] Relevant system information

  • Operating system (e.g. Ubuntu 22.04) Ubuntu 22.04
  • Browser (e.g. Firefox) :Chrome

What you did

Create Dev account,Access the http://localhost:3000/at

Loading Page show these words:Loading is unexpectedly stalled... [Reloading may help]
I have refreshed the page multiple times, and the result is the same. In the end, the same prompt appears.

So I replace texts from /biomes-game/src/galois/js/interface/gen/asset_versions.json
"wearables/animations": "asset_data/wearables/animations.ff71974b48582f4d7c3a33d7e9061bd9.glb"

Error Log:
Successfully installed voxeloo-0.2
Snapshot is already installed, nothing to do.
Asset not found: wearables/animations
Traceback (most recent call last):
File "/data/biomes-game/./scripts/b/bootstrap.py", line 99, in
main()
File "/data/biomes-game/./scripts/b/bootstrap.py", line 95, in main
entrypoint()
File "/data/biomes-game/scripts/b/b.py", line 1906, in entrypoint
cli(prog_name="./b")
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/data/biomes-game/scripts/b/data_snapshot.py", line 299, in run
ctx.invoke(check_for_missing_assets, error_on_missing=True)
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/ubuntu/miniconda3/envs/py310/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/data/biomes-game/scripts/b/data_snapshot.py", line 388, in check_for_missing_assets
raise Exception("Missing assets\nConsider running:\n$ git pull\n$ ./b data-snapshot uninstall\n$ ./b data-snapshot install\nto fetch the most up-to-date assets.")
Exception: Missing assets

===============================================
Then, I restored the modifications I made.

I disable the failing fetch in biomes-game/src/client/game/context_managers/map_manager.ts:
try {
this.isRequestingMetadata = true;
// this.mapMetadata = await jsonFetch(
// "/api/world_map/metadata"
// );
this.emitter.emit("onMapMetadataUpdated");
} catch (error: any) {
log.error("Error while requesting map metadata", { error });
} finally {
this.isRequestingMetadata = false;
this.metadataTickThrottle.reset();
this.eagerMetadataThrottle.reset();
}

Then refresh the webpage,the url is change to http://localhost:3000/at/NewPlayerBRX9

but in the end,it still show these words:Loading is unexpectedly stalled... [Reloading may help]

Log:
[ sync] 13:05:11 serverSessionId: WS85fQ6Mus5CvFn60I5Xyb
[ sync] 13:05:11 clientSessionId: kEp6xR8O2EbrmiIDSg3m
[ sync] 13:05:11 INFO: 3460649885801335:kEp6xR8O2EbrmiIDSg3m:WS85fQ6Mus5CvFn60I5Xyb: Disconnected. pathname:/sync/subscribe userId:3460649885801335
[ sync] 13:05:11 ws:
[ sync] 13:05:11 serverSessionId: WS85fQ6Mus5CvFn60I5Xyb
[ sync] 13:05:11 clientSessionId: kEp6xR8O2EbrmiIDSg3m
[ web] 13:05:11 INFO: 200 /_next/static/chunks/react-refresh.js?ts=1693659910171 pathname:/_next/static/chunks/react-refresh.js BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.002s
[ sync] 13:05:11 INFO: Deleting client: 3460649885801335
[ web] 13:05:12 INFO: 200 /_next/static/chunks/webpack.js?ts=1693659910171 pathname:/_next/static/chunks/webpack.js BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.002s
[ web] 13:05:12 INFO: 200 /_next/static/chunks/main.js?ts=1693659910171 pathname:/_next/static/chunks/main.js BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.001s
[ web] 13:05:12 INFO: 200 /_next/static/chunks/pages/_app.js?ts=1693659910171 pathname:/_next/static/chunks/pages/_app.js BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.004s
[ web] 13:05:12 INFO: 200 /_next/static/development/_ssgManifest.js?ts=1693659910171 pathname:/_next/static/development/_ssgManifest.js BDID:lBc5jL2keNwY0M29hJaz responseSize:76 latency:0.003s
[ web] 13:05:12 INFO: 200 /_next/static/development/_buildManifest.js?ts=1693659910171 pathname:/_next/static/development/_buildManifest.js BDID:lBc5jL2keNwY0M29hJaz responseSize:399 latency:0.002s
[ web] 13:05:12 INFO: 200 /_next/static/chunks/pages/at/%5B...slug%5D.js?ts=1693659910171 pathname:/_next/static/chunks/pages/at/%5B...slug%5D.js BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.006s
[ web] 13:05:13 INFO: 200 /_next/static/media/biomes-logo.50750b9b.png pathname:/_next/static/media/biomes-logo.50750b9b.png BDID:lBc5jL2keNwY0M29hJaz responseSize:590 latency:0.001s
[ web] 13:05:57 wait - compiling /api/social/self_profile (client and server)...
[ web] 13:05:57 event - compiled successfully in 76 ms (368 modules)
[ web] 13:05:57 INFO: 200 /_next/static/chunks/src_gen_shared_cpp_ext_voxeloo-simd_wasm_js.js pathname:/_next/static/chunks/src_gen_shared_cpp_ext_voxeloo-simd_wasm_js.js BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.010s
[ web] 13:05:57 INFO: 304 /api/social/self_profile pathname:/api/social/self_profile userId:3460649885801335 BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.277s
[ web] 13:06:00 INFO: 200 /_next/static/media/wasm.bf215307.wasm pathname:/_next/static/media/wasm.bf215307.wasm BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.002s
[ sync] 13:06:02 INFO: 200 /sync BDID:lBc5jL2keNwY0M29hJaz authType:user clientSessionId:SeERoelYgHgvzrTfk1Lb serverSessionId:WSRDeOPzQ5ezlLPYMrKEBN checkUserId:3460649885801335 userId:3460649885801335
[ sync] 13:06:03 INFO: Creating client: 3460649885801335 pathname:/sync/createPlayer userId:3460649885801335 clientId:3460649885801335 gremlin:false
[ sync] 13:06:03 ws:
[ sync] 13:06:03 serverSessionId: WSRDeOPzQ5ezlLPYMrKEBN
[ sync] 13:06:03 clientSessionId: SeERoelYgHgvzrTfk1Lb
[ sync] 13:06:03 INFO: 3460649885801335:SeERoelYgHgvzrTfk1Lb:WSRDeOPzQ5ezlLPYMrKEBN: Starting sync. pathname:/sync/subscribe userId:3460649885801335
[ sync] 13:06:03 ws:
[ sync] 13:06:03 serverSessionId: WSRDeOPzQ5ezlLPYMrKEBN
[ sync] 13:06:03 clientSessionId: SeERoelYgHgvzrTfk1Lb
[ sync] 13:06:03 syncTarget:
[ sync] 13:06:03 kind: localUser
[ sync] 13:06:03 userId: 3460649885801335
[ sync] 13:06:03 INFO: kind: localUser
[ sync] 13:06:03 userId: 3460649885801335: Starting observer updates with 0 known entities pathname:/sync/subscribe userId:3460649885801335
[ sync] 13:06:03 ws:
[ sync] 13:06:03 serverSessionId: WSRDeOPzQ5ezlLPYMrKEBN
[ sync] 13:06:03 clientSessionId: SeERoelYgHgvzrTfk1Lb
[ sync] 13:06:04 INFO: 3460649885801335:SeERoelYgHgvzrTfk1Lb:WSRDeOPzQ5ezlLPYMrKEBN: Bootstrap complete, starting updates. pathname:/sync/subscribe userId:3460649885801335
[ sync] 13:06:04 ws:
[ sync] 13:06:04 serverSessionId: WSRDeOPzQ5ezlLPYMrKEBN
[ sync] 13:06:04 clientSessionId: SeERoelYgHgvzrTfk1Lb
[ web] 13:06:05 wait - compiling /api/tweaks (client and server)...
[ web] 13:06:05 event - compiled successfully in 245 ms (210 modules)
[ web] 13:06:05 wait - compiling /api/social/user_info_batch (client and server)...
[ web] 13:06:05 event - compiled successfully in 27 ms (230 modules)
[ web] 13:06:05 INFO: 304 /api/tweaks pathname:/api/tweaks userId:3460649885801335 BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.500s
[ web] 13:06:05 INFO: 304 /api/social/user_info_batch?ids=3460649885801335 pathname:/api/social/user_info_batch userId:3460649885801335 BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.414s
[ web] 13:06:06 wait - compiling /api/cval_logging (client and server)...
[ web] 13:06:06 event - compiled successfully in 301 ms (232 modules)
[ web] 13:06:06 wait - compiling /api/social/follow_list (client and server)...
[ web] 13:06:06 event - compiled successfully in 55 ms (233 modules)
[ web] 13:06:06 INFO: Logging cvals from source "startup" pathname:/api/cval_logging userId:3460649885801335
[ web] 13:06:06 INFO: 200 /api/cval_logging pathname:/api/cval_logging userId:3460649885801335 BDID:lBc5jL2keNwY0M29hJaz latency:0.449s
[ web] 13:06:06 INFO: 304 /api/social/follow_list?userId=3460649885801335&direction=outbound pathname:/api/social/follow_list userId:3460649885801335 BDID:lBc5jL2keNwY0M29hJaz responseSize:undefined latency:0.370s

Loading is unexpectedly stalled... Reloading may help

When I go to localhost:3000, I see a screen that looks like this:
CleanShot 2023-08-23 at 19 54 33

When I look at the log, I see the following:

[   web] 19:52:54 INFO: 200 /at/NewPlayer4ZYP pathname:/at/NewPlayer4ZYP BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:1.670s
[  sync] 19:52:54 INFO: WebSocket client closed clientSesssionId:dU9QKZXuov76UwEf3ZNo serverSessionId:WS5IPYqxKkrut4qKN7a7o9 code:1001 wsMessage:(none)
[  sync] 19:52:54 WARNING: Redis disconnect pathname:/sync/subscribe userId:3338679549324466 reason:Chat subscription ended
[  sync] 19:52:54 ws:
[  sync] 19:52:54   serverSessionId: WS5IPYqxKkrut4qKN7a7o9
[  sync] 19:52:54   clientSessionId: dU9QKZXuov76UwEf3ZNo
[  sync] 19:52:54 INFO: 3338679549324466:dU9QKZXuov76UwEf3ZNo:WS5IPYqxKkrut4qKN7a7o9: Disconnected. pathname:/sync/subscribe userId:3338679549324466
[  sync] 19:52:54 ws:
[  sync] 19:52:54   serverSessionId: WS5IPYqxKkrut4qKN7a7o9
[  sync] 19:52:54   clientSessionId: dU9QKZXuov76UwEf3ZNo
[   web] 19:52:54 INFO: 200 /_next/static/chunks/react-refresh.js?ts=1692834774469 pathname:/_next/static/chunks/react-refresh.js BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.003s
[   web] 19:52:54 INFO: 200 /_next/static/chunks/webpack.js?ts=1692834774469 pathname:/_next/static/chunks/webpack.js BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.003s
[   web] 19:52:54 INFO: 200 /_next/static/chunks/main.js?ts=1692834774469 pathname:/_next/static/chunks/main.js BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.003s
[   web] 19:52:54 INFO: 200 /_next/static/chunks/pages/_app.js?ts=1692834774469 pathname:/_next/static/chunks/pages/_app.js BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.003s
[   web] 19:52:54 INFO: 200 /_next/static/development/_buildManifest.js?ts=1692834774469 pathname:/_next/static/development/_buildManifest.js BDID:PwsL5IsPGvCtqiCHyNqV responseSize:399 latency:0.002s
[   web] 19:52:54 INFO: 200 /_next/static/chunks/pages/at/%5B...slug%5D.js?ts=1692834774469 pathname:/_next/static/chunks/pages/at/%5B...slug%5D.js BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.004s
[   web] 19:52:54 INFO: 200 /_next/static/development/_ssgManifest.js?ts=1692834774469 pathname:/_next/static/development/_ssgManifest.js BDID:PwsL5IsPGvCtqiCHyNqV responseSize:76 latency:0.002s
[   web] 19:52:54 INFO: 200 /_next/static/media/biomes-logo.50750b9b.png pathname:/_next/static/media/biomes-logo.50750b9b.png BDID:PwsL5IsPGvCtqiCHyNqV responseSize:590 latency:0.002s
[  sync] 19:52:55 INFO: Deleting client: 3338679549324466
[   web] 19:52:56 INFO: 304 /api/social/self_profile pathname:/api/social/self_profile userId:3338679549324466 BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.088s
[   web] 19:52:56 INFO: 200 /_next/static/chunks/src_gen_shared_cpp_ext_voxeloo-simd_wasm_js.js pathname:/_next/static/chunks/src_gen_shared_cpp_ext_voxeloo-simd_wasm_js.js BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.002s
[   web] 19:52:56 INFO: 200 /_next/static/media/wasm.bf215307.wasm pathname:/_next/static/media/wasm.bf215307.wasm BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.002s
[  sync] 19:52:56 INFO: 200 /sync BDID:PwsL5IsPGvCtqiCHyNqV authType:user clientSessionId:TiCI8Z8tEB8W4570FzS1 serverSessionId:WSuNhrTqLjXLqk5zGZuidz checkUserId:3338679549324466 userId:3338679549324466
[  sync] 19:52:56 INFO: Creating client: 3338679549324466 pathname:/sync/createPlayer userId:3338679549324466 clientId:3338679549324466 gremlin:false
[  sync] 19:52:56 ws:
[  sync] 19:52:56   serverSessionId: WSuNhrTqLjXLqk5zGZuidz
[  sync] 19:52:56   clientSessionId: TiCI8Z8tEB8W4570FzS1
[  sync] 19:52:56 INFO: 3338679549324466:TiCI8Z8tEB8W4570FzS1:WSuNhrTqLjXLqk5zGZuidz: Starting sync. pathname:/sync/subscribe userId:3338679549324466
[  sync] 19:52:56 ws:
[  sync] 19:52:56   serverSessionId: WSuNhrTqLjXLqk5zGZuidz
[  sync] 19:52:56   clientSessionId: TiCI8Z8tEB8W4570FzS1
[  sync] 19:52:56 syncTarget:
[  sync] 19:52:56   kind:   localUser
[  sync] 19:52:56   userId: 3338679549324466
[  sync] 19:52:56 INFO: kind:   localUser
[  sync] 19:52:56 userId: 3338679549324466: Starting observer updates with 0 known entities pathname:/sync/subscribe userId:3338679549324466
[  sync] 19:52:56 ws:
[  sync] 19:52:56   serverSessionId: WSuNhrTqLjXLqk5zGZuidz
[  sync] 19:52:56   clientSessionId: TiCI8Z8tEB8W4570FzS1
[  sync] 19:52:57 INFO: 3338679549324466:TiCI8Z8tEB8W4570FzS1:WSuNhrTqLjXLqk5zGZuidz: Bootstrap complete, starting updates. pathname:/sync/subscribe userId:3338679549324466
[  sync] 19:52:57 ws:
[  sync] 19:52:57   serverSessionId: WSuNhrTqLjXLqk5zGZuidz
[  sync] 19:52:57   clientSessionId: TiCI8Z8tEB8W4570FzS1
[   web] 19:52:57 INFO: 304 /api/tweaks pathname:/api/tweaks userId:3338679549324466 BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.086s
[   web] 19:52:57 INFO: 304 /api/social/user_info_batch?ids=3338679549324466 pathname:/api/social/user_info_batch userId:3338679549324466 BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.085s
[   web] 19:52:57 INFO: Logging cvals from source "startup" pathname:/api/cval_logging userId:3338679549324466
[   web] 19:52:57 INFO: 200 /api/cval_logging pathname:/api/cval_logging userId:3338679549324466 BDID:PwsL5IsPGvCtqiCHyNqV latency:0.110s
[   web] 19:52:57 INFO: 404 /api/world_map/metadata. Error
[   web] 19:52:57     at okOrAPIError (webpack-internal:///(api)/./src/server/web/errors.ts:76:15)
[   web] 19:52:57     at eval (webpack-internal:///(api)/./src/pages/api/world_map/metadata.ts:24:69)
[   web] 19:52:57     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[   web] 19:52:57     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:148:26)
[   web] 19:52:57     at async eval (webpack-internal:///(api)/./src/server/web/errors.ts:68:13)
[   web] 19:52:57     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:71:9)
[   web] 19:52:57     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:55:13)
[   web] 19:52:57     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:52:9) pathname:/api/world_map/metadata userId:3338679549324466 BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.112s
[   web] 19:52:57 error:
[   web] 19:52:57   code: not_found
[   web] 19:52:57 INFO: 304 /api/social/follow_list?userId=3338679549324466&direction=outbound pathname:/api/social/follow_list userId:3338679549324466 BDID:PwsL5IsPGvCtqiCHyNqV responseSize:undefined latency:0.026s

clang failed: error executing command (from target //voxeloo/common:knn) during './b data-snapshot run'

[Optional] Relevant system information

  • Operating system (destop-Ubuntu 20.04 / wsl-Ubuntu 20.04)
  • llvm-16 / llvm-14
  • gcc-9
  • bazel-6.4.0

What you did

ollowing the https://docs.biomes.gg/docs/basics/running-locally. All is ok, until:

Running `pip install ./voxeloo`...

Processing ./voxeloo
Building wheels for collected packages: voxeloo
  Building wheel for voxeloo (setup.py) ... /sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-3.6 10error
  ERROR: Command errored out with exit status 1:
   command: /mnt/f/Users/linever/Desktop/codes/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-5yj0_5ex/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-5yj0_5ex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-quc8rfkc
       cwd: /tmp/pip-req-build-5yj0_5ex/
  Complete output (242 lines):
  running bdist_wheel
  running build
  running build_ext
  WARNING: Running Bazel server needs to be killed, because the startup options are different.
  Loading:
  Loading:
  Loading:
  Loading: 0 packages loaded
  Analyzing: target //voxeloo/py_ext:py_ext.so (1 packages loaded, 0 targets configured)
  Analyzing: target //voxeloo/py_ext:py_ext.so (97 packages loaded, 1307 targets configured)
  INFO: Analyzed target //voxeloo/py_ext:py_ext.so (100 packages loaded, 4486 targets configured).
  INFO: Found 1 target...
  [0 / 124] [Prepa] Writing script voxeloo/py_ext/py_ext.so.cppmap
  [96 / 161] Executing genrule @local_config_python//:python_include; 0s local ... (31 actions, 16 running)
  [110 / 161] Compiling OpenSimplexNoise/OpenSimplexNoise.cpp; 1s linux-sandbox ... (20 actions, 17 running)
  [126 / 161] Compiling lib/compress/zstd_opt.c; 2s linux-sandbox ... (9 actions, 4 running)
  [127 / 161] Compiling lib/compress/zstd_opt.c; 3s linux-sandbox ... (33 actions, 16 running)
  [133 / 161] Compiling lib/compress/zstd_opt.c; 4s linux-sandbox ... (27 actions, 16 running)
  ERROR: /mnt/f/Users/linever/Desktop/codes/test2/biomes-game/voxeloo/common/BUILD.bazel:66:11: Compiling voxeloo/common/boxifier.cpp failed: (Exit 1): clang failed: error executing command (from target //voxeloo/common:boxifier) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 60 arguments skipped)

Additional information

I have try ubuntu 20.04 of destop and wsl in windows 11 of another destop. The above faulty always exits.

shim-notifier/listen CANCELLED: Call cancelled

[ shim] 13:27:31 INFO: Bootstrapping shim world and chat...
[ shim] 13:27:31 INFO: Shim chat loaded 0, ready to serve.
[ shim] 13:27:31 INFO: > zRPC listening on port 3102
[ shim] 13:27:31 INFO: shim now running lifecycle:true
[ shim] 13:27:31 INFO: HFC Bootstrap complete, total 0 entities.
[ shim] 13:27:31 WARNING: /shim-notifier/listen CANCELLED: Call cancelled
STILL waiting to be ready: shim (36 seconds elapsed)...
[ shim] 13:27:33 WARNING: /shim-notifier/listen CANCELLED: Call cancelled
[ shim] 13:27:35 WARNING: /shim-notifier/listen CANCELLED: Call cancelled
[ shim] 13:27:36 WARNING: /shim-notifier/listen CANCELLED: Call cancelled
[ shim] 13:27:38 WARNING: /shim-notifier/listen CANCELLED: Call cancelled
STILL waiting to be ready: shim (42 seconds elapsed)...
[ shim] 13:27:40 WARNING: /shim-notifier/listen CANCELLED: Call cancelled
[ shim] 13:27:41 WARNING: /shim-notifier/listen CANCELLED: Call cancelled
[ shim] 13:27:43 WARNING: /shim-notifier/listen CANCELLED: Call cancelled

ERROR: //external:crate_index :: Unrecognized option: //external:crate_index

./b data-snapshot run
bazel run --config=release --show_result=0 --ui_event_filters=-INFO --color=yes --curses=yes //src:deploy_all_ts_deps -- /home/ubuntu/plantform_services/biomes-game/src/gen
Generating TypeScript dependencies (release)...
ERROR: //external:crate_index :: Unrecognized option: //external:crate_index

Fails when restarting `web` locally.

Reproduce

  • ./b data-snapshot run
  • CLRT-C + Restart web
  • Observe Redis connection error in the console.

Expected

  • Should restart the web server, without failing.

ImportError: dlopen(.../.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'

I'm seeing these PIL errors:

[   web] 18:26:44 INFO: Loaded WASM
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44     import impl
[   web] 18:26:44     import impl
[   web] 18:26:44     import impl
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44     import impl
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44     from impl import (
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:45   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:45   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'

ERROR: No matching distribution found for pyinstaller==4.8

I'm getting the following error when I run the command ./b data-snapshot run:

Collecting pygltflib==1.14.6 (from -r requirements.txt (line 13))
  Using cached pygltflib-1.14.6.tar.gz (39 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 4.10 Requires-Python <3.11,>=3.6; 4.6 Requires-Python <3.11,>=3.6; 4.7 Requires-Python <3.11,>=3.6; 4.8 Requires-Python <3.11,>=3.6; 4.9 Requires-Python <3.11,>=3.6; 5.0 Requires-Python <3.11,>=3.7; 5.0.1 Requires-Python <3.11,>=3.7; 5.1 Requires-Python <3.11,>=3.7; 5.2 Requires-Python <3.11,>=3.7; 5.3 Requires-Python <3.11,>=3.7; 5.4 Requires-Python <3.11,>=3.7; 5.4.1 Requires-Python <3.11,>=3.7
ERROR: Could not find a version that satisfies the requirement pyinstaller==4.8 (from versions: 2.0, 2.1, 3.0, 3.1, 3.1.1, 3.2, 3.2.1, 3.3, 3.3.1, 3.4, 3.5, 3.6, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 4.5.1, 5.5, 5.6, 5.6.1, 5.6.2, 5.7.0, 5.8.0, 5.9.0, 5.10.0, 5.10.1, 5.11.0, 5.12.0, 5.13.0)
ERROR: No matching distribution found for pyinstaller==4.8

I'm running Python 3.11.4. Should I be using an earlier version of Python such as 3.10?

Server Error on WSL2

It seems that I can open the server, but I cannot do anything on it.
The following errors often occur in the console:
image
When I try to create invite or click robots button, It shows this error:
image
image
image

My system is wsl2, I had tried several times to restore initial ubuntu system and then following setup docs step by step, I don't know
which step went wrong.

In addition, when executing "./b data-snapshot run" , this error always occurs the first time, but the second execution can pass, and then start the server. why wouldn't the second execution terminated? Does this error affect?
image

Failed to create account

I have setup locally on my macOS (M1 Max & 64G) and started server successfully (The message "All servers are ready! You should be good to go! <3" appeared in the terminal).

But when I try to create account via emial, following error occured and the web page keep blank. How do I solve this issue?

[ web] 18:54:10 Fatal Error: Could not load gcloud config, have you installed the 'gcloud' CLI?
[ web] 18:54:10 at eval (webpack-internal:///./src/shared/logging.ts:135:18)
[ web] 18:54:10 at processContextError (webpack-internal:///./src/shared/logging.ts:144:7)
[ web] 18:54:10 at Function.fatal (webpack-internal:///./src/shared/logging.ts:203:30)
[ web] 18:54:10 at getGCloudConfig (webpack-internal:///./src/server/shared/google_adc.ts:40:62)
[ web] 18:54:10 at async getGCloudAccount (webpack-internal:///./src/server/shared/google_adc.ts:55:26)
[ web] 18:54:10 at async determineEmployeeUserId (webpack-internal:///./src/server/shared/bootstrap/sync.ts:37:21)
[ web] 18:54:10 at async safeDetermineEmployeeUserId (webpack-internal:///./src/server/shared/bootstrap/sync.ts:65:16)
[ web] 18:54:10 at async getServerSideProps (webpack-internal:///./src/pages/at/[...slug].tsx:387:34)
[ web] 18:54:10 ALERT: Could not load gcloud config, have you installed the 'gcloud' CLI?
[ web] 18:54:10 at eval (webpack-internal:///./src/shared/logging.ts:135:18)
[ web] 18:54:10 at processContextError (webpack-internal:///./src/shared/logging.ts:144:7)
[ web] 18:54:10 at Function.fatal (webpack-internal:///./src/shared/logging.ts:203:30)
[ web] 18:54:10 at getGCloudConfig (webpack-internal:///./src/server/shared/google_adc.ts:40:62)
[ web] 18:54:10 at async getGCloudAccount (webpack-internal:///./src/server/shared/google_adc.ts:55:26)
[ web] 18:54:10 at async determineEmployeeUserId (webpack-internal:///./src/server/shared/bootstrap/sync.ts:37:21)
[ web] 18:54:10 at async safeDetermineEmployeeUserId (webpack-internal:///./src/server/shared/bootstrap/sync.ts:65:16)
[ web] 18:54:10 at async getServerSideProps (webpack-internal:///./src/pages/at/[...slug].tsx:387:34) pathname:/at
[ web] 18:54:10 About to exit with code: 1

Server does not save players list

The server is running somewhat properly (can connect & play) but the /admin/players list is emptied at each restart, losing player names and roles.

@DevinLeamy on discord : "IIRC, local changes are just stored in-memory and are not persisted. Feel free to open an issue for this as well. This was the intended behaviour for the development build so that we didn't break things in production"

Creating dev account fails with: "Error posting observer link to discord"

Relevant system information

  • Ubuntu 22.04, inside Ubuntu 22.04 docker as user with id 1000

What I did

Built and run server, opened localhost:3000 and clicked Login -> Login with Dev -> Create New Account

What went wrong

Server started restarting after printing:

[   web] 09:43:42 ERROR: Error posting join observer link to discord for 339036189528925. TypeError: fetch failed
[   web] 09:43:42     at Object.fetch (node:internal/deps/undici/undici:11576:11)
[   web] 09:43:42     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[   web] 09:43:42     at async jsonPostAnyResponse (webpack-internal:///./src/shared/util/fetch_helpers.ts:139:17)
[   web] 09:43:42     at async Promise.all (index 0)
[   web] 09:43:42     at async postToDiscord (webpack-internal:///./src/server/web/util/discord.ts:65:5)
[   web] 09:43:42     at async postJoinObserverLinkToDiscord (webpack-internal:///./src/server/web/util/discord.ts:102:5) pathname:/auth/dev/callback
[   web] 09:43:42 error: 
[   web] 09:43:42   cause: 
[   web] 09:43:42     errno:   -111
[   web] 09:43:42     code:    ECONNREFUSED
[   web] 09:43:42     syscall: connect
[   web] 09:43:42     address: 127.0.0.1
[   web] 09:43:42     port:    80
[   web] 09:43:42     name:    Error
[   web] 09:43:42     message: connect ECONNREFUSED 127.0.0.1:80
[   web] 09:43:42     stack: 
[   web] 09:43:42       """
[   web] 09:43:42         Error: connect ECONNREFUSED 127.0.0.1:80
[   web] 09:43:42             at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
[   web] 09:43:42             at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)
[   web] 09:43:42       """

Suggestions

Maybe something must be running on port 80 for server to connect to? What is it?

Can't launch: Cannot find module 'nopt'

When starting with:

./b data-snapshot run

I receive the following messages:

Running `yarn install`...
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @silevis/[email protected]" has incorrect peer dependency "react@^16.13.1 || ^17.0.0".
warning " > @silevis/[email protected]" has incorrect peer dependency "react-dom@^16.13.1 || ^17.0.0".
warning " > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0".
warning " > [email protected]" has unmet peer dependency "ws@*".
warning "next-pwa > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning " > [email protected]" has incorrect peer dependency "react@^17.0.0 || ^16.3.0 || ^15.5.4".
warning " > [email protected]" has incorrect peer dependency "react-dom@^17.0.0 || ^16.3.0 || ^15.5.4".
warning "react-json-view > [email protected]" has incorrect peer dependency "react@^15.0.2 || ^16.0.0 || ^17.0.0".
warning "react-json-view > [email protected]" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
warning "react-json-view > react-textarea-autosize > [email protected]" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
warning "react-json-view > react-textarea-autosize > [email protected]" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
warning " > [email protected]" has unmet peer dependency "leaflet.markercluster@^1.5.3".
warning " > [email protected]" has incorrect peer dependency "stylelint@>= 11.x < 15".
[4/4] Building fresh packages...
error /home/thierry/biomes-game/node_modules/segfault-handler: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/thierry/biomes-game/node_modules/segfault-handler
Output:
node:internal/modules/cjs/loader:1051
  throw err;
  ^

Error: Cannot find module 'nopt'
Require stack:
- /usr/share/nodejs/node-gyp/lib/node-gyp.js
- /usr/share/nodejs/node-gyp/bin/node-gyp.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (/usr/share/nodejs/node-gyp/lib/node-gyp.js:4:14)
    at Module._compile (node:internal/modules/cjs/loader:1233:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/share/nodejs/node-gyp/lib/node-gyp.js',
    '/usr/share/nodejs/node-gyp/bin/node-gyp.js'
  ]
}

Node.js v20.5.1
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: There was an error while running `yarn install`.

I tried to install nopt manually without any success :/

Can`t login and web server falls

When i click to "Login" or "Create account" web server falls and site falls

[bikkie] 20:57:38 INFO: Baking biscuits... priorTray:0 prior:0
[bikkie] 20:57:38 WARNING: Reading legacy tray id:4782339746648270
[bikkie] 20:57:38 ERROR: Error running pipeline batcher. AssertionError [ERR_ASSERTION]: Tray not found
[bikkie] 20:57:38 at Bakery.getTrayFromStorage (/home/biomes/biomes-game/src/server/shared/bikkie/bakery.ts:222:7)
[bikkie] 20:57:38 at processTicksAndRejections (node:internal/process/task_queues:95:5)
[bikkie] 20:57:38 at async Bakery.legacyGetTray (/home/biomes/biomes-game/src/server/shared/bikkie/bakery.ts:240:18)
[bikkie] 20:57:38 at async Promise.all (index 0)
[bikkie] 20:57:38 at async Bakery.bakeTray (/home/biomes/biomes-game/src/server/shared/bikkie/bakery.ts:540:27)
[bikkie] 20:57:38 at async BikkieServer.doBake (/home/biomes/biomes-game/src/server/bikkie/server.ts:126:19)
[bikkie] 20:57:38 at async /home/biomes/biomes-game/src/shared/util/async.ts:746:9
[bikkie] 20:57:38 error:
[bikkie] 20:57:38 code: ERR_ASSERTION
[bikkie] 20:57:38 actual: false
[bikkie] 20:57:38 expected: true
[bikkie] 20:57:38 operator: ==
Terminated: web, exit code -9

Building Failed on Ubuntun 22.04

Comands:
1 clang
2 apt install clang
3 sudo apt-get update
4 sudo apt-get -y install clang
5 clang -v
6 python3 -v
7 python3 -V
8 nvm
9 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
10 nvm install v20
11 nvm use v20
12 sudo apt-get install git-lfs
13 npm install -g @bazel/bazelisk
14 git clone https://github.com/ill-inc/biomes-game.git
15 git lfs pull
16 ls
17 cd biomes-game/
18 git lfs pull
19 python -m venv .venv
20 python3 -m venv .venv
21 apt install python3.10-venv
22 python -m venv .venv
23 python3 -m venv .venv
24 source .venv/bin/activate
25 pip install -r requirements.txt
26 curl -s https://download.redis.io/releases/redis-7.0.8.tar.gz | tar xvz -C ${HOME} && make -jnproc -C ${HOME}/redis-7.0.8 && sudo make install -C ${HOME}/redis-7.0.8 && rm -rf ${HOME}/redis-7.0.8
27 ./b data-snapshot run
28 npm install -g yarn
29 ./b data-snapshot run
30 history

Errors:
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
ERROR: An error occurred during the fetch of repository 'python3_x86_64-unknown-linux-gnu':
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/822d9986a8902a05a3176e66973f1adb/external/rules_python/python/repositories.bzl", line 194, column 25, in _python_repository_impl
fail("The current user is root, please run as non-root when using the hermetic Python interpreter. See bazelbuild/rules_python#713.")
Error in fail: The current user is root, please run as non-root when using the hermetic Python interpreter. See bazelbuild/rules_python#713.
ERROR: /root/biomes-game/WORKSPACE.bazel:121:27: fetching python_repository rule //external:python3_x86_64-unknown-linux-gnu: Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/822d9986a8902a05a3176e66973f1adb/external/rules_python/python/repositories.bzl", line 194, column 25, in _python_repository_impl
fail("The current user is root, please run as non-root when using the hermetic Python interpreter. See bazelbuild/rules_python#713.")
Error in fail: The current user is root, please run as non-root when using the hermetic Python interpreter. See bazelbuild/rules_python#713.
ERROR: Error computing the main repository mapping: Encountered error while reading extension file 'requirements.bzl': no such package '@pip_deps//': no such package '@python3_x86_64-unknown-linux-gnu//': The current user is root, please run as non-root when using the hermetic Python interpreter. See bazelbuild/rules_python#713.
Loading:
Fetching repository @pip_deps; Restarting.
Error: There was an error while generating the TypeScript dependencies.
(.venv) root@biome-test-sg-2:~/biomes-game# history
202308220445AM

cant launch

cant run
./b data-snapshot run

this is the error message i get

bazel run --config=release --show_result=0 --ui_event_filters=-INFO --color=yes --curses=yes //src:deploy_all_ts_deps -- /home/alvin/biomes-game/src/gen
Generating TypeScript dependencies (release)...
ERROR: An error occurred during the fetch of repository 'local_config_cc':
   Traceback (most recent call last):
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/cc_configure.bzl", line 125, column 33, in cc_autoconf_impl
                configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools)
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 349, column 17, in configure_unix_toolchain
                cc = find_cc(repository_ctx, overriden_tools)
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 314, column 23, in find_cc
                cc = _find_generic(repository_ctx, "gcc", "CC", overriden_tools)
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 310, column 32, in _find_generic
                auto_configure_fail(msg)
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/lib_cc_configure.bzl", line 112, column 9, in auto_configure_fail
                fail("\n%sAuto-Configuration Error:%s %s\n" % (red, no_color, msg))
Error in fail:
Auto-Configuration Error: Cannot find gcc or CC (clang); either correct your path or set the CC environment variable
ERROR: /DEFAULT.WORKSPACE.SUFFIX:520:13: fetching cc_autoconf rule //external:local_config_cc: Traceback (most recent call last):
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/cc_configure.bzl", line 125, column 33, in cc_autoconf_impl
                configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools)
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 349, column 17, in configure_unix_toolchain
                cc = find_cc(repository_ctx, overriden_tools)
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 314, column 23, in find_cc
                cc = _find_generic(repository_ctx, "gcc", "CC", overriden_tools)
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 310, column 32, in _find_generic
                auto_configure_fail(msg)
        File "/home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/tools/cpp/lib_cc_configure.bzl", line 112, column 9, in auto_configure_fail
                fail("\n%sAuto-Configuration Error:%s %s\n" % (red, no_color, msg))
Error in fail:
Auto-Configuration Error: Cannot find gcc or CC (clang); either correct your path or set the CC environment variable
ERROR: /home/alvin/.cache/bazel/_bazel_alvin/13276cfdaba77870b8cc7877d22bb8ca/external/bazel_tools/src/tools/launcher/BUILD:9:14: @bazel_tools//src/tools/launcher:launcher depends on @local_config_cc//:cc-compiler-k8 in repository @local_config_cc which failed to fetch. no such package '@local_config_cc//':
Auto-Configuration Error: Cannot find gcc or CC (clang); either correct your path or set the CC environment variable
ERROR: Analysis of target '//src:deploy_all_ts_deps' failed; build aborted:
ERROR: Build failed. Not running target
FAILED: Build did NOT complete successfully (3 packages loaded, 6 targets conf\
igured)
    currently loading: @crate_index// ... (2 packages)
    Fetching repository @pip_deps_docopt; Restarting. 4s
    Fetching https://files.pythonhosted.org/...uild-0.9.0-py3-none-any.whl; 4s
    Fetching https://crates.io/api/v1/crates/wasm-bindgen-cli/0.2.84/download
    Fetching https://github.com/.../cereal/archive/refs/tags/v1.3.2.tar.gz
    Fetching https://nodejs.org/dist/v18.12.0/node-v18.12.0-linux-x64.tar.xz
Error: There was an error while generating the TypeScript dependencies.

running on
windows/wsl2 ubuntu

About cargo workspace root for the rust code

For the entire project, I found that rust_analyzer can't provide language services for the rust source code, because Cargo.toml is not configured in the root directory (it is ok to open the rust project in the corresponding subdirectory, for example, a workspace is configured in cayley package, and another package for redis).
If we want to read and analyze the rust code more conveniently in the whole project, maybe we need a Cargo.toml in the root directory and configure the workspace to include all packages?
Or are there any considerations for the current configuration?
image

Building wheel for voxeloo (setup.py) ... error

Environment: Windows WSL

When I run ./b data-snapshot run, there is error in the part of building wheel for voxeloo.

Here are details:

ERROR: Command errored out with exit status 1:
   command: /mnt/e/Biomes/biomes-game-main/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1_g0d1rn/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-1_g0d1rn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-t4vwgbv7
       cwd: /tmp/pip-req-build-1_g0d1rn/
  Complete output (42 lines):
  running bdist_wheel
  running build
  running build_ext
  2023/08/20 07:34:48 could not resolve the version 'latest' to an actual version number: unable to determine latest version: could not list Bazel versions in GCS bucket: could not list GCS objects at https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/: could not fetch https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/: Get "https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/": read tcp 172.31.20.236:50830->172.217.160.106:443: read: connection reset by peer
  Traceback (most recent call last):
    File "/tmp/pip-req-build-1_g0d1rn/setup.py", line 76, in run
      subprocess.check_output(["bazel", "--version"])
    File "/usr/local/lib/python3.9/subprocess.py", line 420, in check_output
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
    File "/usr/local/lib/python3.9/subprocess.py", line 524, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['bazel', '--version']' returned non-zero exit status 1.

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-req-build-1_g0d1rn/setup.py", line 152, in <module>
      setup(
    File "/mnt/e/Biomes/biomes-game-main/.venv/lib/python3.9/site-packages/setuptools/__init__.py", line 165, in setup
      return distutils.core.setup(**attrs)
    File "/usr/local/lib/python3.9/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/local/lib/python3.9/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/local/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/mnt/e/Biomes/biomes-game-main/.venv/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/usr/local/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.9/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/local/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-req-build-1_g0d1rn/setup.py", line 81, in run
      raise RuntimeError(
  RuntimeError: There was a problem running Bazel, is it installed?
  ----------------------------------------
  ERROR: Failed building wheel for voxeloo

Error occured while I trying to talk to Jackie the first NPC I meet

Following error occured while I trying to talk to Jackie the first NPC I meet.
It seems that there is some problem with the tts service.

[ web] 18:40:01 ERROR: 503 /api/voices/text_to_speech. Error
[ web] 18:40:01 at okOrAPIError (webpack-internal:///(api)/./src/server/web/errors.ts:76:15)
[ web] 18:40:01 at eval (webpack-internal:///(api)/./src/pages/api/voices/text_to_speech.ts:60:69)
[ web] 18:40:01 at processTicksAndRejections (node:internal/process/task_queues:95:5)
[ web] 18:40:01 at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:148:26)
[ web] 18:40:01 at async eval (webpack-internal:///(api)/./src/server/web/errors.ts:68:13)
[ web] 18:40:01 at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:71:9)
[ web] 18:40:01 at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:55:13)
[ web] 18:40:01 at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:52:9) pathname:/api/voices/text_to_speech userId:8306386643458639 BDID:kGlBe1kn7tQ4L6kanmLE responseSize:undefined latency:0.617s
[ web] 18:40:01 error:
[ web] 18:40:01 code: killswitched
.

bazel compile fatal failed: System headers not found

Relevant system information

  • Operating system Ubuntu 22.04
  • llvm-17 (libc++17-dev)
  • bazel 6.3.2

What you did

following the https://docs.biomes.gg/docs/basics/running-locally. All is ok, until:

./b data-snapshot run
bazel run --config=release --show_result=0 --ui_event_filters=-INFO --color=yes --curses=yes //src:deploy_all_ts_deps -- ./biomes-game/src/gen
Generating TypeScript dependencies (release)...
Starting local Bazel server and connecting to it...
ERROR: ~/.cache/bazel/_bazel_riceball/397f6ead471743135a6ba8d0c332fb01/external/glslang/BUILD.bazel:93:11: Compiling glslang/GenericCodeGen/Link.cpp [for tool] failed: (Exit 1): clang failed: error executing command (from target @glslang//:glslang) /usr/lib/llvm-17/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 41 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/glslang/glslang/GenericCodeGen/Link.cpp:39:
external/glslang/glslang/GenericCodeGen/../Include/Common.h:40:10: fatal error: 'algorithm' file not found
   40 | #include <algorithm>
      |          ^~~~~~~~~~~
1 error generated.
ERROR: ~/.cache/bazel/_bazel_riceball/397f6ead471743135a6ba8d0c332fb01/external/glslang/BUILD.bazel:93:11: Compiling glslang/MachineIndependent/InfoSink.cpp [for tool] failed: (Exit 1): clang failed: error executing command (from target @glslang//:glslang) /usr/lib/llvm-17/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 41 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/glslang/glslang/MachineIndependent/InfoSink.cpp:35:
In file included from external/glslang/glslang/MachineIndependent/../Include/InfoSink.h:38:
external/glslang/glslang/MachineIndependent/../Include/../Include/Common.h:40:10: fatal error: 'algorithm' file not found
   40 | #include <algorithm>
      |          ^~~~~~~~~~~
1 error generated.
ERROR: ~/.cache/bazel/_bazel_riceball/397f6ead471743135a6ba8d0c332fb01/external/glslang/BUILD.bazel:177:11: Compiling SPIRV/InReadableOrder.cpp [for tool] failed: (Exit 1): clang failed: error executing command (from target @glslang//:SPIRV) /usr/lib/llvm-17/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 53 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/glslang/SPIRV/InReadableOrder.cpp:51:
external/glslang/SPIRV/spvIR.h:52:10: fatal error: 'algorithm' file not found
   52 | #include <algorithm>
      |          ^~~~~~~~~~~
1 error generated.
ERROR: ~/.cache/bazel/_bazel_riceball/397f6ead471743135a6ba8d0c332fb01/external/glslang/BUILD.bazel:177:11: Compiling SPIRV/disassemble.cpp [for tool] failed: (Exit 1): clang failed: error executing command (from target @glslang//:SPIRV) /usr/lib/llvm-17/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 53 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/glslang/SPIRV/disassemble.cpp:39:10: fatal error: 'cstdlib' file not found
   39 | #include <cstdlib>
      |          ^~~~~~~~~
1 error generated.
ERROR: ~/.cache/bazel/_bazel_riceball/397f6ead471743135a6ba8d0c332fb01/external/glslang/BUILD.bazel:177:11: Compiling SPIRV/SPVRemapper.cpp [for tool] failed: (Exit 1): clang failed: error executing command (from target @glslang//:SPIRV) /usr/lib/llvm-17/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 53 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/glslang/SPIRV/SPVRemapper.cpp:36:
external/glslang/SPIRV/SPVRemapper.h:39:10: fatal error: 'string' file not found
   39 | #include <string>
      |          ^~~~~~~~
1 error generated.
FAILED: Build did NOT complete successfully
ERROR: Build failed. Not running target
Error: There was an error while generating the TypeScript dependencies.

Disable social logins when the associated provider is not available

Overview

Login with Google, Discord, Twitch only work if the associated social login provider is available. This typically requires access to an API key and, therefore, does not work for the opensource local deployment build (i.e. ./b data-snapshot run). However, on http://localhost:3000 (the splash page for the local build) the social logins are still listed, and do nothing or crash the web server when clicked.

Desired solution

Conditionally render the social logins based on whether the social login provider is available. A brute-force approach would be to not show the social logins if using the data-snapshot build.

http://localhost:3000/admin error

{"error":"internal_server_error","generatedMessage":false,"code":"ERR_ASSERTION","expected":true,"operator":"==","name":"AssertionError","message":"Expected a context on this request","stack":"AssertionError [ERR_ASSERTION]: Expected a context on this request\n at getServerSideProps (webpack-internal:///./src/server/web/util/ssp_middleware.ts:43:55)\n at fn (/Users/linyunwei/project/biomes-game/node_modules/next/src/server/render.tsx:1000:11)\n at /Users/linyunwei/project/biomes-game/node_modules/next/src/server/lib/trace/tracer.ts:261:28\n at NoopContextManager.with (/Users/linyunwei/project/biomes-game/node_modules/@opentelemetry/api/src/context/NoopContextManager.ts:31:15)\n at ContextAPI.with (/Users/linyunwei/project/biomes-game/node_modules/@opentelemetry/api/src/api/context.ts:77:42)\n at NoopTracer.startActiveSpan (/Users/linyunwei/project/biomes-game/node_modules/@opentelemetry/api/src/trace/NoopTracer.ts:98:27)\n at ProxyTracer.startActiveSpan (/Users/linyunwei/project/biomes-game/node_modules/@opentelemetry/api/src/trace/ProxyTracer.ts:51:20)\n at /Users/linyunwei/project/biomes-game/node_modules/next/src/server/lib/trace/tracer.ts:238:32\n at NoopContextManager.with (/Users/linyunwei/project/biomes-game/node_modules/@opentelemetry/api/src/context/NoopContextManager.ts:31:15)\n at ContextAPI.with (/Users/linyunwei/project/biomes-game/node_modules/@opentelemetry/api/src/api/context.ts:77:42)\n at NextTracerImpl.trace (/Users/linyunwei/project/biomes-game/node_modules/next/src/server/lib/trace/tracer.ts:237:28)\n at renderToHTMLImpl (/Users/linyunwei/project/biomes-game/node_modules/next/src/server/render.tsx:991:32)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async doRender (/Users/linyunwei/project/biomes-game/node_modules/next/src/server/base-server.ts:1919:18)\n at async cacheEntry.responseCache.get.incrementalCache.incrementalCache (/Users/linyunwei/project/biomes-game/node_modules/next/src/server/base-server.ts:2151:24)\n at async /Users/linyunwei/project/biomes-game/node_modules/next/src/server/response-cache/index.ts:126:28"}

Update player ECS data from the admin view

Overview

We currently do not have a way to update player ECS data from the admin view (/admin). This would be useful so we could more easily fix players in broken game states.

Ideal Solution

A new page /admin/ecs-state-editor that allows you to view and update a player's ECS values. This could start as simple as something for editing just the player's position.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.