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

Improve party organization with auto-party #44

Merged
merged 41 commits into from
Mar 18, 2020

Conversation

youbetterdont
Copy link

@youbetterdont youbetterdont commented Mar 15, 2020

When joining a game, players try to form parties as before. That is they freely send invites and accept them. After all players are in a party, we then check that all players are in the same party. If they aren't, the players with the higher wPartyId will leave and then join the party with the lowest wPartyId. Thus, the earliest party formed has priority.

This PR includes #40. I chose to do it this way since this version has already been released as 1.9.8alpha3.

Edit:
Now updated to 1.9.8alpha5. Includes bug fixes to my autoparty changes. Also includes a memory leak fix (item rules and conditions not deleted when uninitialized).

lamerman and others added 30 commits June 20, 2013 05:57
Google testing framework added. Tests refactored
Simple reproduction of the bug:
    LRUCache<string, string> lruCache(3);
    lruCache.put("key1", "val1");
    lruCache.put("key2", "val2");
    lruCache.put("key3", "val3");
    lruCache.put("key1", lruCache.get("key1"));
The get returns a ref to the value of "key1", the put gets the ref and
invalidate it when it finds "key1" already exists in the cache.
Download google tests from git with a fixed tag. Svn is no longer
available.
Similar name of cache instance and cache namespace in tests
caused the error: redeclared as different kind of symbol.
Fix redeclared as different kind of symbol issue
Fix wrong namespace name in comment
…ab5c2961411dbe22'

git-subtree-dir: ThirdParty/cpp-lru-cache
git-subtree-mainline: d774da7
git-subtree-split: de1c4a0
…en possible, bypassing the call to evaluate.

* The item name cache uses the unmodified item name in addition to the modified one. This allows for detecting changes in the unmodified item name. This is used to trigger updates to the modified item name.
* PrintText will now truncate the string instead of crashing when it's too long.
@youbetterdont youbetterdont changed the title Multiple party fix for auto-party Improve party organization for auto-party Mar 15, 2020
@youbetterdont youbetterdont changed the title Improve party organization for auto-party Improve party organization with auto-party Mar 15, 2020
@planqi planqi merged commit 9155473 into planqi:master Mar 18, 2020
@youbetterdont youbetterdont deleted the feature/caching-with-party-fix branch March 18, 2020 01:39
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.

5 participants