Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live demo doesn't work #66

Closed
fadeevab opened this issue Oct 5, 2023 · 14 comments
Closed

Live demo doesn't work #66

fadeevab opened this issue Oct 5, 2023 · 14 comments

Comments

@fadeevab
Copy link

fadeevab commented Oct 5, 2023

Hi @jakmeier , the live demo of Paddlers doesn't work at this moment:

image

@jakmeier
Copy link
Owner

jakmeier commented Oct 5, 2023

Thanks for the report! Looks like the graphql provider is down. Probably has been for a long time, as this has been a dead project for more than a year now.

But timing is perfect, I intend to revive it and play around with it some more very soon. I will look into it then and come back to this issue.

@jakmeier
Copy link
Owner

jakmeier commented Oct 6, 2023

@fadeevab it should be working again!

@jakmeier jakmeier closed this as completed Oct 6, 2023
@fadeevab
Copy link
Author

fadeevab commented Oct 6, 2023

@jakmeier Well, graphql works but the loading stuck on "Construct Buildings"

21:12:29.280 Uncaught (in promise) RuntimeError: unreachable executed
    A https://demo.paddlers.ch/1.paddlers.js:1
    c https://demo.paddlers.ch/1.paddlers.js:1
    promise callback*At https://demo.paddlers.ch/1.paddlers.js:1
    __wbg_then_dd3785597974798a https://demo.paddlers.ch/paddlers.js:1
    A https://demo.paddlers.ch/1.paddlers.js:1
    c https://demo.paddlers.ch/1.paddlers.js:1
    promise callback*St https://demo.paddlers.ch/1.paddlers.js:1
    __wbg_then_0f957e0f4c3e537a https://demo.paddlers.ch/paddlers.js:1
    A https://demo.paddlers.ch/1.paddlers.js:1
    c https://demo.paddlers.ch/1.paddlers.js:1
    promise callback*At https://demo.paddlers.ch/1.paddlers.js:1
    __wbg_then_dd3785597974798a https://demo.paddlers.ch/paddlers.js:1
    A https://demo.paddlers.ch/1.paddlers.js:1
    c https://demo.paddlers.ch/1.paddlers.js:1
    promise callback*St https://demo.paddlers.ch/1.paddlers.js:1
    __wbg_then_0f957e0f4c3e537a https://demo.paddlers.ch/paddlers.js:1
    A https://demo.paddlers.ch/1.paddlers.js:1
    c https://demo.paddlers.ch/1.paddlers.js:1
    promise callback*At https://demo.paddlers.ch/1.paddlers.js:1
    __wbg_then_dd3785597974798a https://demo.paddlers.ch/paddlers.js:1
2cd734c2269fba42a7f5.module.wasm:1858893:1

@jakmeier jakmeier reopened this Oct 7, 2023
@jakmeier
Copy link
Owner

jakmeier commented Oct 7, 2023

Indeed, you are right. But only for new accounts. At least that's my suspicion, since everything worked fine when I tested with an existing accounts but I see the same problem when I use a new account.

This will need a bit more debugging then. But I hope I will get it resolved tomorrow.

jakmeier added a commit that referenced this issue Oct 17, 2023
Short-term patch for #66.

This makes the `streams_to_add_village` a bit less efficient but it
should still not be an issue.
@jakmeier
Copy link
Owner

Well, I had to take off a lot of dust before I could even start debugging this locally. (The code base was depending on a 3 year old rustc nightly with 3 year old packages...) And some more dust had to be removed to get a fix deployed. (old docker images no longer being supported by my hosting provider)

But finally I get passed the loading bar on a newly created player account. (You will need to register again.)

The problem was quite simple. Too many players signed up and I have an unfortunate limit for how far the map can expand.

thread 'actix-rt:worker:3' panicked at 'Village insertion failed: "World full: No space for another village"', src/setup/new_player.rs:66:45

I have this fixed on the live demo now.

Sadly, the game is still not playable, as you get stuck in the initial quest state. There is now a version mismatch between frontend / backends which causes this. I will redeploy everything as-is master soon-ish. But it will require a bit more devops dusting... Hopefully I've pushed through all the pain of reviving this soon. :S

@fadeevab
Copy link
Author

@jakmeier More problems 🙈
image

@jakmeier
Copy link
Owner

yeah I know, it's completely broken now :)
work is in progress but I need to re-architecture the container setup, my hosting provider is no longer compatible with official keycloak docker images which is a real petty

@jakmeier
Copy link
Owner

@fadeevab soo, I finally redployed it all in a new setup. And it seems like things work again.

This includes a reset of the DB, all old accounts have been deleted. You will need to register again.

Please take a look and let me know if things are still broken for you. The game isn't much and there are many ugly and rough corners. But there shouldn't be any broken pages at this point. (Maybe you'll need to disable caches for a first load to get the newest JS, any maybe the first page load after registration hangs in the loading page, a refresh should resolve it, however.)

@fadeevab
Copy link
Author

@jakmeier Alright, I did it!.. However, I can do nothing except click on the duck, and then it says "God visits me" :)

@jakmeier
Copy link
Owner

@fadeevab hm, interesting. So you get to the first dialogue. But the button to go to the next slide doesn't work?

paddlers_slide_0

@jakmeier
Copy link
Owner

(Once you have clicked through this, you will need to unselect the duck to see the buildings menu to the right side. Then the next step is to click/tap on the blue temple square and then click/tap on where to place it.)

image

@fadeevab
Copy link
Author

@jakmeier I found the problem, in my case the clicking area of the buttons is shifted higher by the vertical axis. FYI, my browser is Firefox.
image

@jakmeier
Copy link
Owner

Thanks for the report @fadeevab!
This happened to me as well the other day. (also in Firerfox). But I wasn't able to replicate it, it only happened to me once. I suspect it might be related to screen resizing and/or debug tabs being open. But again, no luck replicating so far.

For now, I filed #68 to track this problem.

@fadeevab
Copy link
Author

fadeevab commented Oct 24, 2023

@jakmeier It was nice to cooperate with you @jakmeier 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants