Comments (2)
After further review, it may not be smart do this in the InitNewPlayer
function of my server's GameModeBase
class.
from gamelift-example-ue4.
Not sure which commit I implemented the solution to this issue in, but I just populated the ErrorMessage
parameter in the PreLogin
function of the server's AGameMode
class if the call to GameLift's AcceptPlayerSession
failed. The Login
function, which is called right after PreLogin
, checks the ErrorMessage
paramater, so if the ErrorMessage
contains anything, then the player will be kicked because its player controller will never be created, thereby kicking the unauthorized client out of the game.
from gamelift-example-ue4.
Related Issues (12)
- Unable to instantiate module 'AWSCore': aws-c-common.lib not found HOT 1
- Error when compiling/building for a non-server configuration (C4716: function must return a value) HOT 1
- Remove unused Starter Content HOT 1
- Upgrade to 4.26
- GameState's PlayerArray variable may not be accessible by the time the GameLiftTutorialWidget is constructed
- Need to update the Google Chrome version in the UWebBrowser widget (Couldn't sign you in, browser or app may not be secure) HOT 1
- Have to find a way to delete the webcache folder so that users can sign in through different Google accounts HOT 1
- General code cleanup (removing extra tabs/spaces) HOT 1
- Improve README
- Create a new branch for additional features added outside of the tutorial series
- Try to remake Google sign-in HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamelift-example-ue4.