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

Freezes whenever I go to use the S or D key #6

Open
aodrasa opened this issue Apr 21, 2023 · 6 comments
Open

Freezes whenever I go to use the S or D key #6

aodrasa opened this issue Apr 21, 2023 · 6 comments

Comments

@aodrasa
Copy link

aodrasa commented Apr 21, 2023

Firstly super cool idea, this is going to get real interesting with the upcoming features, however noticed it constantly freezes whenever I try to plant or harvest. Any ideas why that could be?

@zwhe99
Copy link

zwhe99 commented Apr 21, 2023

+1

3 similar comments
@Skytliang
Copy link

+1

@alexdeploy
Copy link

+1

@xbwtyz
Copy link

xbwtyz commented Apr 23, 2023

+1

@joshuafsharp
Copy link

When you press those keys, you get the following error:

Uncaught Error: Character unknown: player

https://github.com/dzoba/gptrpg/blob/main/ui-admin/src/create.js#L23
This is because in the above file the character is registered with id agent1, instead of player, which is referenced in the plant/harvest actions.

Changing the agent id to player prevents the freezing, but it doesn't seem to fix the planting/harvesting, as it doesn't appear any of the tiles are plantable. Not sure how to fix that issue though, maybe a question for @dzoba

@dzoba
Copy link
Owner

dzoba commented May 2, 2023

The tiles at the bottom of the map are plantable, or should be. The ones across the bridge with the holes in the grass.

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

7 participants