summaryrefslogtreecommitdiffstats
path: root/source/packets (unfollow)
Commit message (Expand)AuthorFilesLines
2012-08-29Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com47-1893/+0
2012-08-28Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore.madmaxoft@gmail.com79-2103/+25
2012-08-27Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com4-11/+14
2012-08-26git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6madmaxoft@gmail.com2-143/+12
2012-08-25Removed cPackets from cChunk.madmaxoft@gmail.com2-24/+19
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com5-53/+46
2012-08-19Window, Chest, Furnace and Pawn are not using cPackets at allmadmaxoft@gmail.com1-5/+6
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com13-89/+117
2012-08-19Another handful of packets rewritten.madmaxoft@gmail.com8-84/+92
2012-08-18Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com15-175/+146
2012-08-17Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )madmaxoft@gmail.com49-335/+166
2012-08-11Added partial shift+click handling to the survival inventorymadmaxoft@gmail.com2-11/+9
2012-08-10Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL)madmaxoft@gmail.com1-5/+3
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-0/+3
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com84-3709/+3709
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com3-6/+7
2012-03-24Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense.madmaxoft@gmail.com10-369/+393
2012-03-24Removed the split between 1.2.3 and 1.1, left only 1.2.3 codemadmaxoft@gmail.com8-182/+10
2012-03-19Fixed player heads always pointing north (new EntityHeadLook packet)madmaxoft@gmail.com2-9/+64
2012-03-14Unified the chunk data to use the BLOCKDATA datatype.madmaxoft@gmail.com2-2/+3
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-15/+15
2012-03-12Fixed MapChunk packets to include (fake) biome data, makes clients happymadmaxoft@gmail.com2-14/+17
2012-03-11Not sending chunks to the client twicemadmaxoft@gmail.com1-1/+0
2012-03-10Fixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned onmadmaxoft@gmail.com2-6/+8
2012-03-10Was using "#else if" which is not valid apparently, now using "#elif"faketruth1-1/+1
2012-03-10You can change axis ordering by setting AXIS_ORDER to AXIS_ORDER_XZY in cChunk.h !THIS WILL SCREW UP YOUR WORLDS THOUGH!faketruth1-0/+10
2012-03-07Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth1-1/+0
2012-03-05ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :)madmaxoft@gmail.com2-44/+37
2012-03-04Changed signed char to unsigned char in block packets, so we can receive height up to 255faketruth2-2/+2
2012-03-03Got rid of some hardcoded numbers, now using hardcoded variables! woofaketruth1-8/+9
2012-03-02Chunk light and metadata are also sent now, should take a load off of the clientfaketruth1-5/+38
2012-03-02Finally got the multiblock packet working! It seems the byte order was wrongfaketruth1-1/+2
2012-03-02MultiBlock packet is working partly.. I really don't understand what's wrong with this packet :/faketruth3-2/+41
2012-03-01Chunks are successfully streamed to clients (in a bad a slow way, but whatever)faketruth3-5/+47
2012-03-01Clients can join the server, but chunks are sent completely emptyfaketruth2-0/+80
2012-03-01Forgot to update packet size (though I'm not even sure it's used anymore)faketruth1-2/+6
2012-03-01Started carefully moving to 1.2.2faketruth2-2/+23
2012-02-22Fixed a bug that no chunks were unloaded on the client. Now chunks are properly unloaded on the clients.faketruth1-0/+5
2012-02-20Using own ASSERT() that logs to filefaketruth4-5/+5
2012-02-19Fixed assertion bug in NamedEntitySpawn packet, it used to assert when item ID is 0, but now 0 is allowedfaketruth1-1/+1
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com4-3/+31
2012-02-07Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility.madmaxoft@gmail.com103-1278/+1805
2012-02-07Slight cleanupmadmaxoft@gmail.com1-2/+2
2012-02-02cClientHandle: gotten rid of the obnoxious m_pState, now using direct members insteadmadmaxoft@gmail.com1-1/+4
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-2/+2
2012-02-01Removed a few duplicate includesmadmaxoft@gmail.com1-6/+7
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com52-9/+358
2012-01-27MSVC 2008 Express compatibility: Added the projects, modified sources to compile. Tested on MSVC 2008 Express and MSVC 2010 Expressmadmaxoft@gmail.com61-66/+67
2012-01-20MCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think)faketruth4-4/+21
2012-01-01- implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory)lapayo94@gmail.com2-17/+12
2011-12-28Fixed PLI end white, made random mistake late night when I couldn't remember how I did it beforemtilden@gmail.com1-1/+1
2011-12-28- Implemented Drops from Burning animalslapayo94@gmail.com2-10/+18
2011-12-27Fixed a little error in cPacket_PlayerListItem.cppfaketruth1-1/+1
2011-12-27Vanity, just to set back to white after a short enough name for the ping image to not change colormtilden@gmail.com1-1/+7
2011-12-27 - Added basic ping handling.mtilden@gmail.com1-0/+1
2011-12-26 - Cleaned up PLI Packet and its creation/sending and fixed bug of player not being removed on scoreboard (forgot to send color in the removal packet)mtilden@gmail.com2-0/+9
2011-12-26 - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard displaymtilden@gmail.com3-1/+49
2011-12-22Fixes:lapayo94@gmail.com3-4/+4
2011-12-21Missed a class in r94 ;) Sorry guys :Dlapayo94@gmail.com2-0/+96
2011-12-21- Crafting fixed in 1.0.0lapayo94@gmail.com11-89/+133
2011-11-07Pistons now generate noise and animate when moving.admin@omencraft.com1-1/+1
2011-11-07Added three new packets and cleaned up cPacket_Thunderbolt.cpp... cPacket_BlockAction, cPacket_Explosion, and cPacket_SoundEffect.admin@omencraft.com7-11/+190
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.com2-2/+2
2011-11-03Updated the thunderbolt packet. Lightning and rain can be tested with a workbench and a chest. >:)admin@omencraft.com2-4/+25
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.com4-0/+100
2011-10-26Made several recomended changes. Gamemode is now world based. Need to add it to player.admin@omencraft.com5-11/+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.com3-2/+4
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.com3-1/+70
2011-10-21Compiles for linuxfaketruth2-4/+4
2011-10-03MCServer c++ source filesfaketruth87-0/+2630