Commit Graph
100 Commits
Author SHA1 Message Date
Mattes D af47b5ece2 AnvilStats: Added per-height spawner stats. 2014-08-27 12:24:56 +03:00
Mattes D 751d345c59 AnvilStats: Ignoring output XLS files. 2014-08-27 11:54:22 +03:00
Mattes D b361e994ef AnvilStats: Added cmake directive for larger executable stack.
This fixes runtime "stack overflow" errors caused by large stack-allocated arrays used for decompression.
2014-08-27 11:53:46 +03:00
Mattes D ccaa51f913 AnvilStats: Fixed Win64 compilation. 2014-08-27 11:52:54 +03:00
madmaxoft d783753cb5 AnvilStats: initial per-height blocktype implementation (WIP). 2014-08-27 09:46:59 +02:00
madmaxoft 24a092d9cb AnvilStats: Rewritten to use CMake. 2014-08-27 09:05:43 +02:00
Mattes D be32c0527c Merge pull request #1290 from mc-server/Ranks
Rewriting permission system to use UUIDs and Ranks
2014-08-26 15:23:21 +03:00
Mattes D bf16c5ed92 Type warning fixes. 2014-08-25 18:25:39 +03:00
Mattes D 8f20c359cd Fixed a type warning. 2014-08-25 07:28:45 +02:00
Mattes D 3977d53b83 RankMgr: Exported the default-rank functions. 2014-08-24 20:05:28 +02:00
Mattes D 8630b20c52 RankMgr: Default rank is applied to players without any rank. 2014-08-24 20:00:45 +02:00
Mattes D da67dd39ed RankMgr: Unified function signature comments in the bindings. 2014-08-23 17:56:23 +02:00
Mattes D 0daacd14d9 RankMgr: Implemented default rank, added defaults. 2014-08-23 03:44:04 +02:00
Mattes D e034b64a5b Merge remote-tracking branch 'origin/master' into Ranks 2014-08-22 15:18:39 +02:00
Mattes D 33b5952532 Fixed a warning in FastRandom. 2014-08-22 11:12:44 +02:00
Mattes D d2d63b8a05 World: Report chunk count for the spawn area. 2014-08-22 10:35:51 +02:00
Mattes D 2dfcd678c4 Fixed cPlugin::OnPlayerMoving signature. 2014-08-22 10:33:53 +02:00
Mattes D 51df169ad5 cLuaState: Fixed Vector3<> names pushed to Lua. 2014-08-22 10:33:15 +02:00
Mattes D 8b8ccac0b8 ToLua++ lib: Assert when usertype is not known. 2014-08-22 10:32:32 +02:00
Mattes D 64fec204c4 Added initializers for class members.
As reported by Coverity, these weren't initialized.
2014-08-21 22:39:53 +02:00
Mattes D 4358421cd4 cSetChunkData: Added missing initializers. 2014-08-21 21:58:08 +02:00
Mattes D 81d238e080 Added cWorld initializers. 2014-08-21 21:53:25 +02:00
Mattes D d471ee8a9d Fixed 1.7.2 login packet reading.
Fixes #1317.
2014-08-21 21:38:57 +02:00
Mattes D c22261252f Sorted the generated param count. 2014-08-21 21:38:21 +02:00
Mattes D 1e5d770d7f Fixed a compile-time warning in MSVC. 2014-08-21 21:37:52 +02:00
Mattes D 0c04bf962e cMojangAPI updates cRankManager's playernames. 2014-08-21 20:47:52 +02:00
Mattes D 326dd7e4c6 RankMgr: Added cRankManager::RemovePlayerRank(). 2014-08-21 16:55:39 +02:00
Mattes D 263ea5464b Removed last remnant of cGroup. 2014-08-21 15:53:22 +02:00
Mattes D b8d3ddb409 Removed Group.h from Bindings' dependencies. 2014-08-21 15:49:32 +02:00
Mattes D 011ff52407 APIDump: Removed the cGroup and cGroupManager classes. 2014-08-21 15:46:43 +02:00
Mattes D 8acc883187 Removed cGroup and cGroupManager. 2014-08-21 15:29:54 +02:00
Mattes D 936604ca95 cMojangAPI: Fixed MakeUUID___() bindings.
ToLua would generate a shadow return value for the input strings.
2014-08-21 15:19:30 +02:00
Mattes D bacfca7c20 Merge pull request #1314 from mc-server/Fire
Fixed cancelled fire interact from all directions.
2014-08-21 07:50:58 +02:00
Mattes D b7ec75add6 Updated the Core. 2014-08-20 22:27:58 +02:00
Mattes D 2218f31cde Exported cServer:ShouldAuthenticate to Lua API. 2014-08-20 22:21:41 +02:00
Mattes D 1b97e4e6ff cPlayer: Exported the LoadRank function to Lua API. 2014-08-20 20:37:51 +02:00
Mattes D 9f8eee578c APIDump: Added cRankManager documentation. 2014-08-20 19:09:45 +02:00
Mattes D 15a20b1d2a RankMgr bindings: fixed GetRankVisuals return value. 2014-08-20 18:09:13 +02:00
Mattes D 81979419ad RankMgr: Fixed an ignored return value in the API. 2014-08-20 17:56:30 +02:00
Mattes D 5410a36f92 Merge pull request #1335 from mc-server/CodeFixes
Code formatting fixes.
2014-08-20 16:23:31 +02:00
Mattes D 949aa2f383 cPlayer reads ranks from cRankManager. 2014-08-19 17:34:11 +02:00
Mattes D e4fc05574b Player: Silenced a few type conversion warnings. 2014-08-18 22:48:15 +02:00
Mattes D 80559406f9 Player saving creates the "players" folder, if needed.
Fixes #1268.
2014-08-17 22:47:00 +02:00
Mattes D e045a25e10 Merge pull request #1329 from mc-server/Move
Better OnPlayerMoving hook.
2014-08-16 22:29:41 +02:00
Mattes D e553d58eaf Merge pull request #1308 from mc-server/logger
New Logging framework
2014-08-15 07:20:37 +02:00
madmaxoft 1f4a1383c2 Removed an unneeded cast. 2014-08-15 07:19:13 +02:00
madmaxoft 3a7089539c RankMgr: Removed unneeded testing code. 2014-08-14 23:06:46 +02:00
madmaxoft 45068f9bf4 Merge branch 'master' into Ranks 2014-08-14 01:04:01 +02:00
madmaxoft 008c1cdaf4 CheckBasicStyle checks the src folder as well. 2014-08-14 01:03:30 +02:00
madmaxoft 36e918ce9b File logger prefixes are 4 chars wide. 2014-08-13 13:31:19 +02:00
madmaxoft 5921f78e52 Logger: Fixed windows debug ODS logger, fixed-size file prefixes. 2014-08-13 13:28:45 +02:00
madmaxoft 08c55ef983 Logger: Fixed missing timestamp in log messages. 2014-08-13 13:27:56 +02:00
Mattes D 6f1fa8f26f Merge pull request #1319 from mc-server/webadminfixes
A couple of fixes for issues with the webadmin
2014-08-13 13:22:26 +02:00
madmaxoft 5e415c5b95 RankMgr: Fixed multithreading issues.
Only one thread is allowed to interact with a SQLite::Database object at a time.
Additionally, improved performance of the migration by wrapping the entire thing in a transaction.
2014-08-13 12:33:31 +02:00
madmaxoft e110f72268 RankMgr: Initial migration code. 2014-08-13 09:53:33 +02:00
madmaxoft 10e58f04da Fixed windows compilation and style issues. 2014-08-12 22:43:04 +02:00
madmaxoft 3020e8cc05 Merge remote-tracking branch 'origin/master' into Ranks 2014-08-12 11:10:32 +02:00
madmaxoft e0b45c1893 Fixed unchecked return values. 2014-08-11 16:06:40 +02:00
madmaxoft 0a52ed6eb9 cProtocol172: Check return values.
Fixes CID 43489, CID 43490, CID 43491, CID 43493, CID 66410, CID 66411, CID 66416, CID 66417, CID 66418, CID 66419, CID 66420, CID 66421, CID 66422, CID 66423, CID 66424, CID 66425, CID 66429, CID 66430, CID 66431
2014-08-11 15:33:20 +02:00
Mattes D ef513720fb Merge pull request #1310 from mc-server/ChestFix
Fixed potential null dereference
2014-08-11 13:22:26 +02:00
Mattes D 54cf69a634 Merge pull request #1301 from mc-server/Ores
Ore Tweaks
2014-08-11 12:10:20 +02:00
Mattes D 06cc5c22ef Merge pull request #1312 from mc-server/unnamed-enum
Various unnamed enum fixes
2014-08-11 08:28:31 +02:00
Mattes D 0953bf403b Merge pull request #1311 from mc-server/CMakeFix
Fixed circular dependecy luaState_Call.inc
2014-08-10 23:19:54 +02:00
Mattes D babc8b2d18 Merge pull request #1309 from mc-server/coverity_fixes
Fixed potential crash in Player.cpp
2014-08-10 22:30:26 +02:00
Mattes D 0e8871374f Merge pull request #1299 from mc-server/Slabs
Send the old slab to the client when the interact cancelled.
2014-08-10 22:04:03 +02:00
Mattes D 9469256cac Merge pull request #1305 from mc-server/Food
Fixed swing arm animation when you ate.
2014-08-10 19:36:29 +02:00
madmaxoft 53862961ab Merge branch 'master' into Ranks 2014-08-09 22:57:58 +02:00
madmaxoft b0dedb0197 WebAdmin: Manually exported string conversion functions.
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
2014-08-09 22:56:15 +02:00
madmaxoft dcef688ccc WebAdmin: Added GetURLEncodedString(). 2014-08-09 22:56:06 +02:00
madmaxoft af202c2363 Debuggers: Disabled UUID and RankMgr tests. 2014-08-09 22:55:38 +02:00
madmaxoft 50359ce656 WebAdmin: Manually exported string conversion functions.
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
2014-08-09 22:54:43 +02:00
madmaxoft 2ab8e76392 WebAdmin: Added GetURLEncodedString(). 2014-08-09 22:34:59 +02:00
madmaxoft 0001a7c9fc RankMgr: Added GetRankVisuals() function. 2014-08-09 17:36:19 +02:00
madmaxoft 4b1505f39d Merge remote-tracking branch 'origin/master' into Ranks 2014-08-09 14:25:49 +02:00
madmaxoft 251f0d5b97 Debuggers: Simple cRankManager test case. 2014-08-08 23:13:43 +02:00
madmaxoft f1dc299fdb Exported cRankManager to LuaAPI. 2014-08-08 23:12:22 +02:00
madmaxoft 3df7d8446c cLuaState: Added GetStackValues() auto-generated templates.
These will read consecutive values off the stack, each value of a type independent of the other values.
Auto-generated because we don't have variadic templates in C++03.
2014-08-08 23:11:42 +02:00
madmaxoft 89333c5870 RankMgr: Finished API implementation. 2014-08-08 21:30:47 +02:00
madmaxoft a5b35e09ce RankMgr: Implemented GetXforY and GetAll APIs. 2014-08-08 16:38:38 +02:00
madmaxoft 65b81b4ab7 RankMgr: Implemented the basic API functions. 2014-08-08 10:02:25 +02:00
madmaxoft 670e94bfeb RankMgr: Renamed PermissionGroup to Group in API and PermGroup in DB.
"Group" is SQL keyword and shouldn't be used as table name.
2014-08-08 09:56:28 +02:00
Mattes D 27a818e173 Merge pull request #1295 from mc-server/crystal
On destroy ender crystal, create bedrock and fire.
2014-08-07 09:20:34 +02:00
Mattes D eae42d91f9 Merge pull request #1291 from mc-server/RedstoneCleanUp
Redstone clean up
2014-08-06 17:14:39 +02:00
madmaxoft a717a7e712 RankMgr: Added SQL integer datatypes. 2014-08-05 22:32:26 +02:00
madmaxoft fcfae02525 RankMgr: More interface. 2014-08-05 22:28:37 +02:00
madmaxoft 40e15c5ad5 RankMgr: Initial interface declaration. 2014-08-05 18:37:00 +02:00
madmaxoft 9113b45673 MojangAPI: Fixed PlayerNameToUUID(). 2014-08-04 23:35:50 +02:00
madmaxoft 7bfb0b05d0 CheckBasicStyle: multi-level indent change. 2014-08-04 13:20:29 +02:00
madmaxoft ff37192e94 BasicStyleCheck: Dividers are exactly 80 slashes. 2014-08-04 13:20:28 +02:00
Mattes D b18794d835 Merge pull request #1284 from Howaner/Monster
Attempt to fix knockback and swimming.
2014-08-04 12:50:57 +02:00
Mattes D 7b986e65d2 Merge pull request #1285 from mc-server/StrCaseRefactor
Refactored case-conversion functions.
2014-08-04 12:02:57 +02:00
Mattes D f619a9953a Merge pull request #1283 from Howaner/GlobalFixes
Fixed skins in mc 1.7.9/1.7.10
2014-08-04 12:02:22 +02:00
madmaxoft 1fa210c7f9 Refactored case-conversion functions.
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
2014-08-04 11:30:20 +02:00
madmaxoft 054ce9bcc4 Anvil: Wolf owner not saved if not present. 2014-08-04 11:29:40 +02:00
madmaxoft 122344bb7a Rewritten string case manipulation to use std::transform. 2014-08-04 08:00:49 +02:00
madmaxoft b19874e6f2 Attempting a compilation fix for gcc / clang. 2014-08-03 22:19:43 +02:00
madmaxoft 3136fc6246 Wolf uses UUID for owner.
Fixes #1277.
2014-08-03 22:04:52 +02:00
madmaxoft f5aaf52210 Debuggers: Added a Name-from-UUID cMojangAPI test. 2014-08-03 22:04:51 +02:00
madmaxoft 21f52676f3 cMojangAPI: Added UUID-to-Name lookup.
Also fixed the bindings, now all functions are static-like.
2014-08-03 22:04:51 +02:00
madmaxoft 98a13d97b3 Trailing whitespace fix. 2014-08-03 22:04:50 +02:00