riking
43f8f7b76e
Various touchups & fixes
...
Removed unused imports
Added an alias to flatfile in /mmoupdate
Removed vestiges of /mmoupdate confirm system
Commented PURGE_TIME
Add getSkillMapFromLine for powerless purge & flatfile leaderboards
Add tryClose() for non-repetition glory
Synchronize access to the flatfile database, to avoid data loss
Add @SuppressWarnings to PlayerUpdateInventoryTask
Use getGeneratedKeys() to avoid an extra query on player creation
Change default of readId to -1
SQL: saveUser calls newUser() on id read failure
SQL: fix loadPlayerProfile behavior on not-found player names and orphaned data rows
2013-06-28 13:37:35 -07:00
riking
c588fe7420
Better flatfile purge performance; sync flatdb access ...
...
... to avoid data loss
2013-06-23 11:45:30 -07:00
Kane York
c967a327c6
Make flatfile powerless purge do a file read
...
This improves disk I/O performance in the case of multiple users being removed (removeUser() would open the file once for each user).
2013-06-17 16:31:51 -07:00
riking
9034a36f07
Implement importing from any database in /mmoupdate
2013-06-17 16:29:31 -07:00
riking
ab0541f1c1
Add "volatile API" for a custom DatabaseManager
...
Reflection is fun! Catch-alls abound!
Also added method createCustomDatabaseManager(), intended for conversion - this lets the command specify the class name of the custom manager
2013-06-17 16:02:44 -07:00
riking
58e8fd4691
Construct PlayerProfiles in the database manager
...
- New method, DatabaseManager.loadPlayerProfile(String playerName)
- PlayerProfile no longer has magic numbers that were mapped from two different sets of magic numbers, they have migrated to the DatabaseManagers where they belong
- Will now be possible to convert SQL -> flatfile, once command is added
2013-06-17 16:01:43 -07:00
GJ
98b98256b7
Make our oldUserRemover actually work...
2013-06-13 12:23:58 -04:00
GJ
abd389f4de
Try to speed up our PartyKickTask a bit.
2013-06-13 12:18:18 -04:00
GJ
602956a555
Fix duplicate prefix sending with party chat & logging.
2013-06-13 11:10:46 -04:00
GJ
8d0601babc
Fix bug where all ranks less than 10 show as 0 with /mctop.
2013-06-13 10:56:46 -04:00
GJ
050be563bf
Less magic numbers.
2013-06-12 19:26:09 -04:00
GJ
965dbda101
Clean up some stuff with our DATS.
2013-06-12 19:20:05 -04:00
GJ
f2b2cd9cc0
Oops.
2013-06-12 15:59:51 -04:00
GJ
3a78e1b487
More code duplication removal.
2013-06-12 15:56:42 -04:00
GJ
db637f0bc9
Remove more code duplication.
2013-06-12 15:41:26 -04:00
GJ
b15f1dde28
We don't need that potato.
2013-06-12 15:15:56 -04:00
GJ
28a78d820a
Tidy up our InventoryListener.
2013-06-12 15:10:43 -04:00
GJ
a1792fe125
We were calling deflect twice. Also made individual functions for each
...
type of combat.
2013-06-07 15:47:00 -04:00
T00thpick1
3f7b17961f
Reset mob healthbars on death to avoid conflicting with loot plugins
2013-06-07 15:46:59 -04:00
GJ
0ea07d4bc7
Fixed bug where spawned arrows could throw
...
ArrayIndexOutOfBoundsException. Fixes #1171
2013-06-07 15:46:59 -04:00
GJ
190b7ee1f5
ChatManagers...
2013-06-07 15:46:58 -04:00
GJ
4ff4271da2
These should be protected.
2013-06-07 15:46:57 -04:00
T00thpick1
8705974e08
Use a single manager to handle our databases.
2013-06-07 15:46:57 -04:00
TfT_02
de0487d16f
This should make it work properly
2013-06-07 15:46:56 -04:00
TfT_02
fc0c386ecb
Fixing this as pointed out by Riking
2013-06-07 15:46:55 -04:00
TfT_02
86db4251a2
Check visibility before range
2013-06-07 15:46:55 -04:00
TfT_02
effe5ec305
We were deprecating these kind of permission nodes
2013-06-07 15:46:54 -04:00
TfT_02
8fb92292bd
Move adding users to UserManager from onLogin to onJoin
2013-06-07 15:46:54 -04:00
TfT_02
375fa4f75c
Added permission node to prevent inspecting hidden players
2013-06-07 15:46:53 -04:00
TfT_02
da25b02e0a
Only set the item in hand null if it's actually a fishing rod
2013-06-07 15:46:53 -04:00
GJ
d43ae17bd2
Tweak a few things on the UpdateChecker.
2013-06-07 15:46:52 -04:00
Kane York
f81a763d6c
Use finally to close the update checker stream
2013-06-07 15:46:52 -04:00
Kane York
385f8ca0b3
Reduce code duplication in ExperienceAPI
2013-06-07 15:46:46 -04:00
GJ
0ba4bc25c7
Use player objects instead of names - should be more efficient and less
...
buggy.
2013-05-28 13:33:20 -04:00
GJ
b0eb4b93a8
Cleaner way to avoid salvaging chainmail.
2013-05-28 12:59:10 -04:00
GJ
54f135aebd
We're checking this twice and shouldn't be.
2013-05-28 12:53:12 -04:00
GJ
10e369f9c5
Increased auto-fishing detection.
2013-05-28 12:42:39 -04:00
TfT_02
1ae9b0f4d2
Animals can also have the "Spawned Entity" tag
2013-05-26 17:55:24 +02:00
T00thpick1
198ee6a7ed
I think this is case sensitive
2013-05-26 11:51:42 -04:00
TfT_02
2414ddf485
Fix broken Tree Feller
...
Fixes #1139
2013-05-25 14:45:24 +02:00
GJ
2cd52db8c9
The ; is important.
2013-05-22 22:30:40 -04:00
GJ
5e00636761
And a little more...
2013-05-22 22:30:09 -04:00
GJ
a82cc9609b
Cleaning up a bit.
2013-05-22 22:13:40 -04:00
T00thpick1
45c6c20ccd
Null parties! Hurray!
2013-05-22 21:20:35 -04:00
GJ
7a61f55e49
Remove some code duplication in our ShareHandler.
2013-05-22 17:22:06 -04:00
GJ
aa0b77a64c
Updates to our parties.
2013-05-22 13:02:26 -04:00
GJ
030c8e59d7
The other way leaks memory like a sieve.
2013-05-22 00:01:19 -04:00
GJ
f21fbe2d40
Make repair & salvage respect the sneaking settings. Fixes #1108
2013-05-21 22:34:06 -04:00
GJ
9a5f4b638f
Little more cleaning.
2013-05-21 14:15:28 -04:00
GJ
9aa49a09da
Little more cleanup.
2013-05-21 14:03:00 -04:00