Commit Graph

7392 Commits

Author SHA1 Message Date
Jonathan Williams
6d00e8b41f Refactored Elo to work correctly. 2016-04-22 00:21:11 -05:00
AlexTheCoder
d0e3b094c1 - cleaned up and prepped for live update 2016-04-21 20:57:35 -04:00
Shaun Bennett
86df07123c Merge pull request #28 from Mineplex-LLC/bugfix/admin-command-npe
Fix NPE in AdminCommand from IncognitoManager being null
2016-04-22 10:54:20 +10:00
Shaun Bennett
e46798f20e Fix NPE in AdminCommand from IncognitoManager being null 2016-04-22 10:49:34 +10:00
AlexTheCoder
e55bec505b - Fix players ending up teleported back to arena due to broken respawn engine 2016-04-21 20:13:39 -04:00
AlexTheCoder
df55d48ab8 - Looks better 2016-04-21 01:03:14 -04:00
AlexTheCoder
d57cc48f0f - Added new features! 2016-04-20 22:31:54 -04:00
Joseph Prezioso Jr.
f86b18b603 Elo Works Now
Ready to move on to MCL implementation
2016-04-20 22:09:18 -04:00
cnr
2d02d79cec Fix survival games' Beastmaster wolf spawning
Beastmaster wolf spawning suffered from the same issue as the Wizards
"Summon Wolves" spell: spigot has an issue when setting an owner to a
wolf or ocelot without a previous owner. See SpigotUtil for details.
2016-04-20 18:45:54 -05:00
Joseph Prezioso Jr.
2d45ab61cc Elo re-calculated
Elo is now being incremented more consistently (and not multiple times)
2016-04-20 15:48:27 -04:00
Joseph Prezioso Jr.
6a5c8336cf Elo and Division fixed
Elo and Division should be displaying properly

Cleaned the code up a bit

Added endElo() to Game.java to handle team Elo code

Added event listener to check for GameState.End in TDM to call endElo()
2016-04-20 14:52:06 -04:00
AlexTheCoder
588e6f08c2 - Removed TypeWars achievements to make room 2016-04-19 18:07:20 -04:00
Thanos paravantis
6e011b3a89 Add missing SpawnDefinition interface 2016-04-19 21:52:45 +03:00
Thanos paravantis
cb4561c561 Implement team check on challenge selection system 2016-04-19 18:25:36 +03:00
Thanos paravantis
11aef273ba Fix NPE on Volley Pig 2016-04-19 18:25:04 +03:00
Thanos paravantis
50175f9453 Spawn players with equal distance from ladder on KOTL 2016-04-19 14:27:48 +03:00
Thanos paravantis
17c51f03ad Remove grass only from used spawns 2016-04-19 14:17:32 +03:00
Thanos paravantis
20fdb1f21c Restructure methods on Mini OITQ challenge 2016-04-19 13:59:09 +03:00
Thanos paravantis
816abad8de Fix Mini OITQ barriers enclosing players at spawn 2016-04-19 13:57:39 +03:00
cnr
ef8474ae9d Set default CustomExplosion maxFallingBlocks to 0
This fixes an exception thrown when the trap rune in Wizards is
activated.
2016-04-19 02:59:31 -05:00
cnr
bda9772ba6 Mitigate spigot issue when setting wolf owner
This fixes the Summon Wolves spell in Wizards.

Explanation:

- Wolves keep track of their most recent owner.
- When a wolf is assigned a new owner, it updates the data
  watcher with the new owner's UUID
- During this process, the old owner's UUID is checked
  against the new one
- If the wolf didn't have a previous owner, the old owner's
  UUID is the empty string.
- UUID.fromString() is called on the empty string, and throws
  an exception.
2016-04-19 02:46:38 -05:00
Thanos paravantis
09fb1842b6 Apply improvements and bug fixes 2016-04-19 10:00:06 +03:00
AlexTheCoder
e08965aa25 - Fixed TowerDefender being too difficult to obtain
- Fixed wither attacking own towers by accident
2016-04-18 22:58:55 -04:00
AlexTheCoder
6c20427395 - Fixed some bugs and added final achievements 2016-04-18 22:32:15 -04:00
AlexTheCoder
17ac3cb597 - Fix armor checking
- Edit wither death message
2016-04-18 20:29:53 -04:00
AlexTheCoder
10aba533f3 - Remove all dependence on UtilShapes 2016-04-18 19:59:55 -04:00
AlexTheCoder
34399db6e8 - Fixed missing GameType 2016-04-18 18:42:56 -04:00
AlexTheCoder
44263beb87 - Make elo store/recover properly 2016-04-17 17:34:18 -04:00
AlexTheCoder
ee30012011 Merge branch 'feature/elo' of github.com:Mineplex-LLC/Minecraft-PC into alex/elofix 2016-04-17 12:27:23 -04:00
AlexTheCoder
d623d0982b Merge branch 'develop' of github.com:Mineplex-LLC/Minecraft-PC into alex-compvanilla-merge 2016-04-17 12:02:08 -04:00
AlexTheCoder
4c35e35fc0 - More polish and bugfixes 2016-04-16 23:59:44 -04:00
Shaun Bennett
4477a215f4 Update to Redis 2.8.1 and clean up repositories (#26) 2016-04-16 22:51:20 -05:00
AlexTheCoder
35d7dd8b44 - Fixed stuff 2016-04-16 20:36:19 -04:00
AlexTheCoder
b0d30a4ff4 - cleaned everything up
- renamed game
2016-04-16 20:32:14 -04:00
AlexTheCoder
d8f5ac66fc - More chiss 2016-04-16 14:05:46 -04:00
Thanos paravantis
cb4e25fb0a Implement new challenge selection system
The new challenge selection system, picks a random challenge from
the list as a starting point. Once the challenge is ended, the next
one in the list will be selected. That process continues, until the
index is out of bounds, and from that point, a new starting point
will be selected. During that process, any challenge that is picked,
is also reviewed to make sure it's suitable according to the player
count. If that's not the case, the selection process will continue
until one challenge is found. If there is no appropriate challenge,
the game will be ended.

In addition to those changes, there are a couple of bug fixes and changes.
At first, some methods that keep track of player lists were renamed and
secondly, the enchantment lore is now hidden on challenges that use items.
2016-04-16 15:13:52 +03:00
Joseph Prezioso Jr.
bbb81dd663 Elo calls migrated to Game.java
Consequently, elo code is actually being called now

Bukkit.broadcastMessage calls have shown where things are breaking

handleElo() added to EloManager to facilitate movement of team elo code

preparing to use EloManager's getNewRatings() method to 
calculate team elos
2016-04-15 20:48:56 -04:00
Jonathan Williams
2b2b251548 Merge branch 'clans/beta' into develop 2016-04-15 12:41:14 -05:00
Jonathan Williams
019cfe41cc Merge branch 'clans/beta' of github.com:Mineplex-LLC/Minecraft-PC into clans/beta 2016-04-15 12:40:54 -05:00
Jonathan Williams
609eb562e9 Merge branch 'clans/beta' into develop 2016-04-15 12:40:26 -05:00
Jonathan Williams
a730b81feb Commented out TournamentManager, moving off develop. 2016-04-15 12:38:25 -05:00
Jonathan Williams
b43953439e Properly store teamId locally after registering for tournament.
Use team id when unregistering for the tournament.
2016-04-15 12:36:28 -05:00
Jonathan Williams
cf3141ddc0 Merge branch 'develop' of github.com:Mineplex-LLC/Minecraft-PC into develop 2016-04-15 12:30:32 -05:00
cnr
77b6515387 Don't break the repair anvil more than twice 2016-04-15 12:21:25 -05:00
cnr
91d5851628 Don't set a clan's lastOnline time to Timestamp(0)
Partially reverts f011fdad5f
2016-04-15 12:21:25 -05:00
AlexTheCoder
09f9ae3b7a - Update for playability 2016-04-14 23:05:14 -04:00
AlexTheCoder
33b557eb10 - Huuuuuuuge amount of changes for chiss 2016-04-14 22:45:21 -04:00
Joseph Prezioso Jr.
4a4e64a3ff EloRepository overhaul started
Tinkering with EloRepository, using AccountRepository as a base
2016-04-14 20:09:09 -04:00
Jonathan Williams
64d5f91e8f Remove TeamInvite table. 2016-04-14 18:49:20 -05:00
Ben
0a32eed15d Fix Cannon TNT firing in the wrong direction and clean up the projectile code, making it more modular. 2016-04-15 00:43:55 +01:00