1
0
Commit Graph

1233 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
d023589a19 Cuboid: Added the DifX/Y/Z functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1320 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29 16:45:00 +00:00
madmaxoft@gmail.com
8dc54301a4 BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-26 21:06:12 +00:00
madmaxoft@gmail.com
b0397f7273 cBlockArea: Fixed type / meta copypasta errors in mirroring and rotation code
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1318 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-26 19:27:14 +00:00
madmaxoft@gmail.com
7ac3131984 BlockArea: Implemented rotation without meta manipulation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1317 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-25 20:14:36 +00:00
madmaxoft@gmail.com
e0707a7af6 BlockArea: Implemented mirroring without meta manipulation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1316 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-25 12:16:23 +00:00
keyboard.osh@gmail.com
bdc7d5f9c7 Fixed underflow issue in LeakFinder.cpp
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1315 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-25 00:07:50 +00:00
madmaxoft@gmail.com
172343e86f Tweaked LeakFinder for VC2012 debug build (too much housekeeping info allocated)
http://forum.mc-server.org/showthread.php?tid=826&pid=6974#pid6974

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1314 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 19:27:06 +00:00
madmaxoft@gmail.com
f536011f97 MemDumpAnalysis now outputs the count of allocated blocks, too.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1313 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 19:26:01 +00:00
nielsbreu@gmail.com
aae46468c7 Added a /toggledownfall command that toggles the weather.
changed back the stop.lua

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1312 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 18:41:19 +00:00
madmaxoft@gmail.com
9eff51d831 LeakFinder: Fixed previous commit, housekeeping is now factored in properly in both "alloc" and "free".
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1311 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 17:41:54 +00:00
madmaxoft@gmail.com
398edefe06 LeakFinder: Factored in the housekeeping overhead
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1310 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 17:19:59 +00:00
keyboard.osh@gmail.com
513d67025f Changed memory leak detection value to 65970823. Also added support for compiling in Visual Studio 2012.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1309 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 16:49:55 +00:00
madmaxoft@gmail.com
ae371e891f Made MultiStepMap BioGen the default
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1308 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 16:08:20 +00:00
madmaxoft@gmail.com
5462f43bae Fixed rounding error in MultiStepMap BioGen, introduced in rev 1289.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1307 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 16:07:51 +00:00
nielsbreu@gmail.com
03e29802cd Updated core plugin.
Added limited world. Configurable through webadmin.
Added a Manage server page in webadmin where you can reload/restart/stop the server.
You can add players to groups with the webadmin. without the player have to relog first
You can change someone's group in-game with a command, without the player have to relog first
Hardcore mode
Improved death messages

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1306 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 15:44:44 +00:00
madmaxoft@gmail.com
a4e6a027a1 Fixed a problem in Linux handling of ListenThread.
A closed socket doesn't seem to wake up a select() call on that socket on Linux. Fixed by waking up by a timeout regularly (semi-busywait).
Fixes FS #334

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1305 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 22:02:35 +00:00
madmaxoft@gmail.com
561f105394 CryptoPP: Pruned unused files
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1304 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 20:53:08 +00:00
madmaxoft@gmail.com
2a9fb624ce MemDumpAnalysis now outputs executable to MCServer folder and debugging starts there.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1303 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 19:14:13 +00:00
madmaxoft@gmail.com
55ff2558d7 Added auto-kill-with-dump to LeakFinder if the allocated memory grows over 1 GiB.
Only works on Windows and only present in Debug mode. Produces memdump.xml for analysis.
http://forum.mc-server.org/showthread.php?tid=826&pid=6948#pid6948

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1302 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 19:04:39 +00:00
madmaxoft@gmail.com
40bbe4df3a Ignoring the generated memdump.xml file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1301 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 18:35:42 +00:00
madmaxoft@gmail.com
1c8e53f42c Added a new MemDumpAnalysis tool.
Usable only on Windows, it generates a visual graph of the allocated memory, using the memdump.xml file produced by "dumpmem" console command.
http://forum.mc-server.org/showthread.php?tid=826&pid=6948#pid6948

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1300 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 18:35:10 +00:00
keyboard.osh@gmail.com
b32a60106f Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1299 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 04:33:47 +00:00
madmaxoft@gmail.com
f41b33ba80 Re-tweaked WormNestCaves for more reasonable cave sizes
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1298 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-22 21:49:33 +00:00
madmaxoft@gmail.com
3e4fb19321 Fixed block update queueing and water meta change not propagated to clients.
Fixes FS #333.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1297 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-22 16:48:45 +00:00
madmaxoft@gmail.com
3f372ea466 WormNestCaves: tweaked a bit not to produce the single-block holes in the floor
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1296 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-22 14:54:59 +00:00
madmaxoft@gmail.com
18343674b3 Simulator: fixed a problem when manipulating the bedrock layer
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1295 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-22 14:54:08 +00:00
keyboard.osh@gmail.com
39e4bd3239 Implemented BroadcastMovementUpdate function. Moved m_Pos,m_Rot,m_Speed to private members and made sure that all classes uses the public functions to access these members.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-22 06:33:10 +00:00
madmaxoft@gmail.com
e8aa03f8df DelayedFluidSimulator: optimized block storage for large amounts of blocks.
Speeds up chunk generation by 15 %. Expected to speed up fluid simulation, unmeasured.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1293 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-20 20:45:52 +00:00
madmaxoft@gmail.com
f8ae3e6f62 HeiGenBiomal: added a fast but ugly-looking optimization, disabled by default.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1292 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-20 20:41:19 +00:00
madmaxoft@gmail.com
d627e3a2e5 Alpha-sorted the generators in ComposableGenerator
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1291 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-20 11:00:55 +00:00
madmaxoft@gmail.com
9f9a79068e BiomeVisualiser: fixed compilation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1290 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-20 10:58:34 +00:00
madmaxoft@gmail.com
b3b96d645e Optimized BioGen-MultiStepMap's performance by using linear interpolation, about 25 % increase in total chunk generation speed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1289 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-19 15:10:00 +00:00
madmaxoft@gmail.com
387135cdc3 Updated bindings for new cChunkDesc functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1288 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-19 10:16:18 +00:00
madmaxoft@gmail.com
d43026ddc2 Lakes: added a limiter, better height distribution
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1287 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-19 10:14:57 +00:00
madmaxoft@gmail.com
b4697ab9db The subgenerators use cChunkDesc instead of raw arrays. cChunkDesc is based on cBlockArea. Initial version of Lakes generator.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1286 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-19 08:32:02 +00:00
madmaxoft@gmail.com
1c1bcf5c07 Trees: fixed a glitch in large jungle trees' leaves (1 column was missing)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1285 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-19 07:54:56 +00:00
madmaxoft@gmail.com
4fa4d5e2b3 Fixed a copypasta error in cChunkDesc's BlockArea writer
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1284 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-18 20:47:25 +00:00
keyboard.osh@gmail.com
8557ed8359 Added support for the packet #28 (0x1C): ENTITY_VELOCITY
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-18 02:51:55 +00:00
madmaxoft@gmail.com
1ed3b3aed2 Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1282 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-17 17:55:03 +00:00
madmaxoft@gmail.com
3844523882 ProbabDistrib: fixed definition string parsing with nonzero start
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1281 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-17 13:24:57 +00:00
madmaxoft@gmail.com
84a6a3d968 Fluid simulator: fixed an out-of-bounds read when determining fluid direction
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1280 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-17 13:24:27 +00:00
madmaxoft@gmail.com
5e24cb38ac Fixed zero-probability height distribution in FluidSprings finisher
FS #330

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1279 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-17 09:16:14 +00:00
madmaxoft@gmail.com
8090c13cde Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking.
Also fixed vines' placement.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-15 20:18:11 +00:00
madmaxoft@gmail.com
57e56ae561 Doxygen: Alpha-sorted class member docs
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1277 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-15 19:45:40 +00:00
madmaxoft@gmail.com
6f883cba2d Small performance improvements in fluid simulator.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1276 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 21:56:01 +00:00
madmaxoft@gmail.com
a710fcc9a4 Removed the Classic fluid simulator, it was too unstable (2nd attempt)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1275 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 20:50:01 +00:00
madmaxoft@gmail.com
eaf973544b Removed the Classic fluid simulator, it was too unstable
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1274 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 20:46:40 +00:00
madmaxoft@gmail.com
75cc675bf2 Release 1.5 supported, yay :)
Although some new blocks are still not recognized and behave badly, the protocol itself is working.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1273 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 20:34:37 +00:00
madmaxoft@gmail.com
68b1aa23b0 Added a Noop fluid simulator that doesn't do anything with the fluid (fluid doesn't spread at all, behaves like a normal block)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1272 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 20:03:42 +00:00
madmaxoft@gmail.com
7f71bfb58f Fix for the Vaporize fluid simulator when loading chunks.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1271 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 20:02:52 +00:00