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

Save Character Position to Database #176

Merged
merged 2 commits into from
Mar 27, 2017

Conversation

fantoms
Copy link
Contributor

@fantoms fantoms commented Mar 27, 2017

  • Update Player.cs SaveCharacter() function to store the Player.Position in the Character data object, right before the object is is stored in the database. This allows the server to save the character's position on logout or after the player save interval has ended.

  • Added a summary comment for SaveCharacter.

  • Updated Code Style per StyleCop.

@Mogwai-TheFurry Mogwai-TheFurry merged commit b7850cf into ACEmulator:master Mar 27, 2017
ogmage78 pushed a commit to ogmage78/ACE that referenced this pull request Mar 28, 2017
* Update Character's Position in the data blob

Added a comment to SaveCharacter

* Moved the Position update to one location right before the server saves. Also, StyleCop update
@fantoms fantoms deleted the fix-SavePlayerPosition branch May 23, 2017 15:54
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

Successfully merging this pull request may close these issues.

None yet

2 participants