rslashplace2 / rslashplace2.github.io

r/place 2
GNU Lesser General Public License v3.0
16 stars 26 forks source link

How do you set up using Github Pages? #251

Open ninathedev opened 6 months ago

ninathedev commented 6 months ago

Its keeps saying "server offline"

ninathedev commented 6 months ago

Update, I set up the server using Codespaces, but it is still saying "Server Offline"

Zekiah-A commented 5 months ago

Update, I set up the server using Codespaces, but it is still saying "Server Offline" I haven't tried using codespaces but I would reccomend using a VPS or computer with bun installed to run the server.ts server software. The HTML pages and client itself should be able to be hosted from pretty much any static file hosting though (github pages, cloudflare pages, etc)

ninathedev commented 5 months ago

image

ninathedev commented 5 months ago

i did bun i and npm i

ninathedev commented 5 months ago

hello?

Zekiah-A commented 5 months ago

image

Ah yes, this is a known issue with zcaptcha when running on linux systems that are behind Arch in terms of glibc version. The easiest workaround at the moment is to just comment out the imports and usages for zcaptcha in server.ts. Otherwise, you can compile zcaptcha's native library on your machine yourself by cloning this directory in the rplace server zcaptcha repo, then running dotnet publish --configuration Release /p:NativeLib=Shared --use-current-runtime -p:PublishAot=true,StripSymbols=true, then copying over the binaries in the bin/net9.0/publish/... folder to the zcaptcha folder in this repo

Zekiah-A commented 5 months ago

hello?

Github issues are not instant and don't always give a notification, if you are still encountering problems you can join the rplace.live discord server or contact me on discord directly @zekiahepic if you have further issues :+1: