summaryrefslogtreecommitdiffstats
path: root/source (unfollow)
Commit message (Expand)AuthorFilesLines
2011-11-10Can now set gamemode via lua.admin@omencraft.com5-4/+19
2011-11-10Some more changes to redstone. admin@omencraft.com1-12/+14
2011-11-10Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work.admin@omencraft.com6-26/+258
2011-11-10Fixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support.admin@omencraft.com2-6/+11
2011-11-10Added 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.admin@omencraft.com3-5/+108
2011-11-10Storms were WAY too frequent. I toned them down.admin@omencraft.com1-4/+4
2011-11-10Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.admin@omencraft.com5-20/+191
2011-11-09Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)admin@omencraft.com6-3/+79
2011-11-09bugfix to redstone, it can climb walls again.admin@omencraft.com2-16/+43
2011-11-09Redstone 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.admin@omencraft.com6-108/+298
2011-11-08Fixed world timefaketruth2-1/+13
2011-11-08It's a Squirrel!!faketruth11-31/+529
2011-11-08Fixed bug in cChunk.cpp not calculating RedstoneCircuits at the correct positions. Also, forgot to mention you can now place colored wool.admin@omencraft.com1-2/+2
2011-11-07Updated 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.admin@omencraft.com6-121/+238
2011-11-07More updates to cPiston.cpp. Piston action will now only be broadcasted to players who have the chunk with the moving piston loaded.admin@omencraft.com1-2/+6
2011-11-07Added Sebi's changes to pistons and item drops.admin@omencraft.com6-423/+172
2011-11-07Pistons now generate noise and animate when moving.admin@omencraft.com3-4/+50
2011-11-07Added three new packets and cleaned up cPacket_Thunderbolt.cpp... cPacket_BlockAction, cPacket_Explosion, and cPacket_SoundEffect.admin@omencraft.com8-50/+232
2011-11-06Redstone 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.admin@omencraft.com3-194/+47
2011-11-06Redstone 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)admin@omencraft.com3-42/+232
2011-11-06Patch 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.admin@omencraft.com12-276/+523
2011-11-06Finished 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.admin@omencraft.com3-48/+408
2011-11-05Change SetBlock to FastSetBlock in cRedstone.cpp and grass will now grow if any one hit block is above it.admin@omencraft.com2-22/+27
2011-11-05Added all the items up to Beta 1.9.5. Added pistons and piston class.admin@omencraft.com5-18/+364
2011-11-04Added cRedstone to project filefaketruth2-7/+6
2011-11-04Changed use of deprecated function.admin@omencraft.com1-14/+19
2011-11-04celeaning up the mess I made of cRedstone.h. >.>admin@omencraft.com1-77/+0
2011-11-04Added (Probably incorrectly) a cRedstone class. Also, palcing a redstone torch will recursively light any redstone wire it's connected to. Removing a torch from an active wire will unlight the entire length. Class needs to be updated to make use of non deprecated function. Current deprecated function warning drastically slows redstone performance.admin@omencraft.com5-25/+215
2011-11-03Fixed some redstone items and a bug that prevented floats from client to server packets reading correctly on 64 bit linux.admin@omencraft.com5-14/+15
2011-11-03Added some redstone items.admin@omencraft.com3-7/+54
2011-11-03Updated the thunderbolt packet. Lightning and rain can be tested with a workbench and a chest. >:)admin@omencraft.com3-11/+42
2011-11-02Added New/Invaid State and Thunderbolt packets. For testing purposes it now rains whenever a player opens a workbench and stops when they pen a chest. The rain start/stop in only sent to the sole clientopening the items.admin@omencraft.com6-7/+128
2011-11-02Fixed some "Entity was not found in any chunk!" warningsfaketruth8-28/+74
2011-11-02Fixed player spawn teleport postion.admin@omencraft.com1-1/+2
2011-11-02Fixed crash when client only sends a space in the chatfaketruth1-0/+2
2011-11-02Changed world gamemode location to world.ini for world based gamemodes.admin@omencraft.com1-2/+4
2011-11-01fixed player spawning in the ground.admin@omencraft.com3-6/+5
2011-11-01Accidentally removed a line of codefaketruth1-1/+2
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth16-165/+476
2011-11-01forogt to update all of cPlayer.cpp for player based gamemode.admin@omencraft.com1-1/+1
2011-11-01Put in some sanity checks to ensure players don't interact with blocks too quickly. Changed gamemode to be player based. (MCServer crashes when picking up an item. Need to find and fix bug.)admin@omencraft.com3-14/+56
2011-11-01Players can now place blocks in creative mode. The blocks players select from the creative mode inventory are not stored in the players' inventory. (I kind of like that)admin@omencraft.com2-3/+4
2011-10-31denotch map converter works! :Dadmin@omencraft.com1-8/+9
2011-10-31Player data is saved and loaded as human readable JSON now.faketruth10-74/+317
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth40-206/+402
2011-10-30Changed cChunkMat.cpp back to normal. Made more changes to the denotch map converter. Testing cNBTData parser.admin@omencraft.com1-5/+0
2011-10-29Added denotch map converter. Program currently reads the only mcr file in the region dir and writes the uncompressed chunk data in world/X0-Z0.pak. I compile in linux with "g++ cConvert.cpp -lz -o denotch"admin@omencraft.com2-6/+11
2011-10-27Fixed a memory leakfaketruth1-0/+1
2011-10-26Made several recomended changes. Gamemode is now world based. Need to add it to player.admin@omencraft.com11-19/+26
2011-10-26Moved GAMEMODE declaration to a single place... cPacket.h. Player can't take damage any more but can still sometimes die on spawn. Not sure why. Falling through the void does not kill you yet.admin@omencraft.com3-8/+9
2011-10-26Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice.admin@omencraft.com5-5/+8
2011-10-26Added CreateInventoryAction packet for creative mode. Used cPacketEntityEquipment as template. Forced server into Creative Mode. Can't break blocks yet. Player can stil be damaged in creative mode and dying takes you back to survival mode.admin@omencraft.com8-6/+81
2011-10-26Updated VS2010 project filesfaketruth1-104/+43
2011-10-26Fixed bug in cMakeDir where it would only create directories named "world"faketruth3-34/+16
2011-10-26added simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier.admin@omencraft.com1-3/+70
2011-10-26git-svn-id: http://mc-server.googlecode.com/svn/trunk@10 0a769ca7-a7f5-676a-18bf-c427514a06d6admin@omencraft.com29-10/+1707
2011-10-25Using SSE instructions for noise (terrain generation)faketruth3-9/+84
2011-10-23Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms.faketruth6-88/+165
2011-10-22Found something that calls a function when a segfault happens, might be useful.faketruth1-4/+16
2011-10-21Compiles for linuxfaketruth17-24/+63
2011-10-03MCServer c++ source filesfaketruth233-0/+35759