lapayo94@gmail.com
d6953a7ea2
Refactored both simulators (water and lava) to make them more flexible and easier to modify
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@108 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25 16:20:06 +00:00
lapayo94@gmail.com
62737fd163
Hold item is now dropped when inventory is closed
...
Thanks to mtilden for this ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 )
Also the items in the 4 crafting slots are now dropped.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@107 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25 14:03:01 +00:00
lapayo94@gmail.com
d0a7f9a57d
Code improvements
...
Fixed authentication (Can be activated now)
Added MersenneTwister.h
Thanks to mtilden
( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 and http://forum.mc-server.org/showthread.php?tid=183&pid=1418#pid1418 )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@106 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25 13:44:22 +00:00
faketruth
81c73341b2
The missing file! cChunkGenerator.h/cpp
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@105 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25 12:55:20 +00:00
lapayo94@gmail.com
f419ec2fe7
- improved and simplified the door system (shorter, clearer)
...
- Doors now drop a complete door & other part gets destroyed
- Build a function for pickup counts (cBlockToPickup::PickupCount) (Default is 1)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@104 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25 01:40:31 +00:00
faketruth
2892a844d4
Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :O
...
Chunks are now generated before the player is able to see them. This is done because after a chunks is done generating, some blocks might still need to be set (parts of trees from neighboring chunk), causing more bandwidth to be used (each changed block needs to be sent to clients again) and (fps) lagging the clients when changing a lot of blocks. Calculating ahead fixes these issues.
Separated the placing of foliage (trees and stuff) when generated chunks into a new function GenerateFoliage()
Cleaned up the VS2010 project, now using some VS2010 specific functions like dependencies on projects (no need for setting library dependencies manually). VS2010 project now compiles way faster in Release by using multi threading.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@103 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-24 23:34:30 +00:00
lapayo94@gmail.com
e45b01ba4a
Very alpha water physic for pickups (The swim now)
...
but there are some problems (get stuck on some positions)
so someone might look at it because I have no idea how to make it better :D
git-svn-id: http://mc-server.googlecode.com/svn/trunk@102 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-24 01:36:15 +00:00
lapayo94@gmail.com
ad610e63ba
Max. players and MOTD are now changeable in the settings.ini
...
Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1381#pid1381 )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@101 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-23 23:58:54 +00:00
faketruth
aa392170a2
Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@100 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-23 14:26:29 +00:00
lapayo94@gmail.com
24efa6f864
Digging leaves with shears now drops leaves
...
Falling Sand now notifies water around
Implemented Function to get the relative chunk position in the total position (cChunk::PositionToWorldPosition)
Pistons don´t drop water and lava items anymore when stopping water/lava
implemented Getter for lava and water simulator
IsBlockWater and IsBlockLava function in Defines.h
git-svn-id: http://mc-server.googlecode.com/svn/trunk@97 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-22 21:36:24 +00:00
lapayo94@gmail.com
e54373160b
Fixes:
...
- Pickups fall through water now (Server-side they stayed in the water surface)
- Suppressed some warnings (int to short etc.)
- Water is now passable for cTracer
git-svn-id: http://mc-server.googlecode.com/svn/trunk@96 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-22 16:30:40 +00:00
lapayo94@gmail.com
0498a43d21
Missed a class in r94 ;) Sorry guys :D
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@95 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-21 21:05:18 +00:00
lapayo94@gmail.com
02f05f7496
- Crafting fixed in 1.0.0
...
- Server compatible with the weapons and equip again. (Some Packets were incompatible)
- fixed bucket bugs (not all)
- Fixed clients getting crashed by wrong Pickups
- fixed nearly all mob drops. (Check wheather they are burning is missing Big Grin)
- maybe some other things I can´t recall atm Big Grin
git-svn-id: http://mc-server.googlecode.com/svn/trunk@94 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-21 20:42:34 +00:00
admin@omencraft.com
3ea286fef8
Changed chunk generation so any surface sand with air underneath it will turn into sandstone to prevent most sand cave-ins due to odd cave placement.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@93 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-15 00:39:01 +00:00
admin@omencraft.com
458b3bf5e3
Put view distance back to 13. Didn't mean to change that.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@92 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-12 05:48:29 +00:00
admin@omencraft.com
750f9ab74f
Found and fixed a bug not letting users place blocks in water or lava.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@91 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-11 00:21:52 +00:00
admin@omencraft.com
7528819117
Fixed logging in underground bug this time. A hack, but it works. :D
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@90 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-10 20:04:20 +00:00
admin@omencraft.com
993680a39e
Can now set gamemode via lua.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@89 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-10 18:28:21 +00:00
admin@omencraft.com
9f3f60c666
Some more changes to redstone.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@88 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-10 17:03:35 +00:00
admin@omencraft.com
6027c3d0b8
Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@87 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-10 16:30:14 +00:00
admin@omencraft.com
581165bb58
Fixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@86 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-10 03:35:46 +00:00
admin@omencraft.com
df7823280c
Added code for doors. Doors now place correctly but opening them is buggy and I need to change the current opening code to use bitwise operators.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@85 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-10 02:05:51 +00:00
admin@omencraft.com
b634310a2c
Storms were WAY too frequent. I toned them down.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@84 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-09 23:36:21 +00:00
admin@omencraft.com
3be48a2d5a
Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@83 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-09 23:24:51 +00:00
admin@omencraft.com
18b7563680
Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@82 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-09 22:17:30 +00:00
admin@omencraft.com
9e77db8e3d
bugfix to redstone, it can climb walls again.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@81 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-09 03:04:56 +00:00
admin@omencraft.com
744c0187ba
Redstone clocks now work. even one clocks. torches don't update themselves when placed yet, but redstone wire updates the torch. Fixed a bug with piston animations.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@80 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-09 01:31:19 +00:00
faketruth
cce5a8df97
Broke something in the filters file, fixed now
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@79 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-08 02:15:41 +00:00
faketruth
9ad53cde45
Fixed world time
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@78 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-08 02:02:13 +00:00
faketruth
99c672df7e
Forgot to add squirrel project for windows
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@77 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-08 01:32:53 +00:00
faketruth
8285a11a26
It's a Squirrel!!
...
In SquirrelBindings.h use #define USE_SQUIRREL 1 to enable squirrel
git-svn-id: http://mc-server.googlecode.com/svn/trunk@76 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-08 01:25:01 +00:00
admin@omencraft.com
0c3eda9b17
Fixed bug in cChunk.cpp not calculating RedstoneCircuits at the correct positions. Also, forgot to mention you can now place colored wool.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@75 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07 23:09:03 +00:00
admin@omencraft.com
a9e02cf8fa
Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@74 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07 22:59:29 +00:00
admin@omencraft.com
9812c38ae2
More updates to cPiston.cpp. Piston action will now only be broadcasted to players who have the chunk with the moving piston loaded.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@73 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07 19:15:27 +00:00
admin@omencraft.com
907ba15fe2
Added Sebi's changes to pistons and item drops.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@72 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07 18:19:38 +00:00
admin@omencraft.com
f07ade2c58
Pistons now generate noise and animate when moving.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@71 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07 05:49:18 +00:00
admin@omencraft.com
894f6e02d4
Added three new packets and cleaned up cPacket_Thunderbolt.cpp... cPacket_BlockAction, cPacket_Explosion, and cPacket_SoundEffect.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@70 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07 01:41:54 +00:00
admin@omencraft.com
094456a131
Redstone wire now updates correctly when added and removed. it also updates all currently programmed redstone items and wire circuits. Also cleaned up the mess I left of the code.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@69 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-06 21:20:38 +00:00
admin@omencraft.com
cc4e4345de
Redstone is now self aware. It's not quite as dumb as it used to be at any rate. Redstone wires have no range and understand they are supposed to stay on whenever there's an active torch touching it. (Need to add other power devices)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@68 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-06 20:39:44 +00:00
admin@omencraft.com
36f7084e3f
Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-06 09:23:20 +00:00
admin@omencraft.com
6df50b40ee
Finished most of piston class. Pistons should work when a redstone current with wire is lit up or extinguished near them but don't yet. There'sa bug to kill.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@66 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-06 02:36:05 +00:00
admin@omencraft.com
7fe70356b9
Change SetBlock to FastSetBlock in cRedstone.cpp and grass will now grow if any one hit block is above it.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@65 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05 19:31:25 +00:00
admin@omencraft.com
b7bff510f9
Added cPiston.h and cPiston.cpp to VC2010 files.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@64 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05 18:33:50 +00:00
admin@omencraft.com
f32b5aafe8
Added all the items up to Beta 1.9.5. Added pistons and piston class.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@63 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05 18:28:19 +00:00
admin@omencraft.com
cbc22b646d
dang finicky OS installs. >.> Bug fixes to make sure this compiles is more than two OS's.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@62 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05 01:21:03 +00:00
admin@omencraft.com
dd36ea269f
Updated denotch map converter to work in windows. Still has memory leak though.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@61 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05 00:23:32 +00:00
admin@omencraft.com
7fe0813942
last file... finally
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@60 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 20:14:48 +00:00
admin@omencraft.com
0e8cf38fc8
fixing svn directory
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@59 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 20:13:52 +00:00
admin@omencraft.com
c10ba99d15
fixing svn directory
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@58 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 20:13:10 +00:00
admin@omencraft.com
12bfd97612
Updated denotch map converter. Compiled with zlib that MCServr uses to remove the lag spike problem caused when reading map files using a different compression. Remade makefile and cleaned up code considerably.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@57 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 19:39:46 +00:00