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

Finding GameSessions #26

Open
cashcache opened this issue Nov 11, 2019 · 4 comments
Open

Finding GameSessions #26

cashcache opened this issue Nov 11, 2019 · 4 comments

Comments

@cashcache
Copy link

What is the preferred way to find a game session on a fleet? I have a Fleet setup by Alias and there is a running game session on that Fleet. I'd like my clients to be able to search a fleet (by the alias) to find one ore more game session.

Is this currently possible? I'm not sure how else to find game sessions without my testers needing to enter it manually each time.
Thanks!

@cashcache
Copy link
Author

So I just realized that the SearchGameSession functionality is already implemented in the master branch. However, I am still using the branch Chris suggested we use in his video. I think I remember being told that it was not a good idea to move to the latest version for one reason or another. Is this still the case?

@chris-gong
Copy link
Contributor

@cashcache could you actually try my pull request #21? I believe it is actually working with the searchgamesession functionality. Was waiting for someone else to test it before telling the owner of this repository to merge the pull request.

@cashcache
Copy link
Author

@chris-gong I'm working on this now. It appears the enums have been removed - specifically EGameLiftGameSessionStatus. Do you have sample usage of all the entry points such as CreteGameSession(). I'm trying to find out how to set my success/failure callbacks with the modified code. If not, I'll start digging in and see if I can figure it out.
Thanks.

@cashcache
Copy link
Author

cashcache commented Nov 12, 2019

Well, I gave it a go, but I may be in over my head here. I pulled the #21 and added it to my project. Since the entry points have changed, I commented out all that code to see if I can get it to compile with the new client plugin version. I'm now getting the following errors:

'WITH_COGNITOIDENTIFY' is not defined as a preprocessor macro, replacing with '0' for #if/#elif'
'WITH_AWSCORE' is not defined as a preprocessor macro, replacing with '0' for #if/#elif'

Admittedly, I'm not strong enough in C++ to know how to troubleshoot any further. I'm happy to try suggestions if you have them.

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