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
madmaxoft@gmail.com
b18f657ac1
Added a Vaporize fluid simulator that simply replaces fluid blocks with air.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1270 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 19:44:27 +00:00
madmaxoft@gmail.com
ff403fdbf0
Added water and lava springs.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1269 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 09:52:57 +00:00
madmaxoft@gmail.com
e18e539ad2
Changed DelayedFluidSimulatorData to be a vector rather than a list, performance doubled :)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1268 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 08:00:24 +00:00
madmaxoft@gmail.com
cf3f09e9c1
AnvilStats: Added module for counting water and lava springs.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1267 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-12 11:25:19 +00:00
madmaxoft@gmail.com
d2573b84dd
Initial nether composition generator
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1266 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-11 17:15:34 +00:00
madmaxoft@gmail.com
9931b5634b
Fixed a crash in LeakFinder when out of memory
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1265 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-11 17:10:00 +00:00
madmaxoft@gmail.com
e70251a7fc
Anvil: Removed excessive debugging output
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1264 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-11 11:03:24 +00:00
madmaxoft@gmail.com
e694893edf
Minecarts get saved into Anvil.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1263 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09 20:08:39 +00:00
madmaxoft@gmail.com
7593707713
Pickups are now being saved into Anvil.
...
Also changed cEntity rotation datatype to double
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09 14:35:43 +00:00
madmaxoft
ef65bd6f49
Core: added PortsIPv6 setting to webadmin (contributed by STR_Warrior)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1261 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-08 09:29:22 +00:00
madmaxoft@gmail.com
8758c757bd
ProtoProxy: log PlayerPositionLook packet decoded data
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1260 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 20:49:44 +00:00
madmaxoft@gmail.com
06dc6ae071
Fixed random teleporting into the void when leaving minecarts
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1259 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 20:49:07 +00:00
madmaxoft@gmail.com
bc8ad9d1b1
Made ListenThread an OSSupport part, as it's generic enough
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1258 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 20:47:29 +00:00
madmaxoft@gmail.com
469d08ec42
IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the address
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1257 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 20:46:40 +00:00
madmaxoft
fcdc68fd8e
IPv6 support: fixed IP string getting on accept()
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1256 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 13:35:19 +00:00