1
0
Commit Graph

117 Commits

Author SHA1 Message Date
Daniel O'Brien
f6e16ce150 cProtocol add SendExperience() and debugging 2013-11-15 08:35:02 +11:00
madmaxoft
293051eca8 Merge remote-tracking branch 'origin/fixes'. 2013-11-13 11:08:51 +01:00
Tiger Wang
347162a82f Bundled fixes [SEE DESC]
* BoundingBox now returns FACE_NONE
+ Arrows can be picked up
* Arrows dug up resume physics simulations
* Added sound effects for bows, lava to stone, and arrows
* Fixed SoundParticleEffect on <1.7 protocols
2013-11-12 21:43:20 +00:00
Tiger Wang
f713780db3 Bundled fixes [SEE DESC]
* Fixed compiler warning in Monster.cpp
* Future proofed particle effects
* Improved pickups, made less jittery
2013-11-10 22:20:25 +00:00
madmaxoft
480ff3789b Protocol 1.7: Fixed crashes and d/c with bad packets.
Fixes #332.
2013-11-10 22:58:39 +01:00
Tiger Wang
71abbb2f56 Bundled fixes [SEE DESC]
* Fixed pickups spawning in an incorrect position from a JukeBox
* Pickups make a popping sound in Prtcl1.7
* Arrows make a *what sort of sound does an arrow make anyway‽* when
hitting a block, and a popping sound when fired
* Mobs again have metadata
* Fixed Prtcl1.7 not using valid JSON to kick a client
* Minecarts and arrows again have metadata
2013-11-10 20:48:12 +00:00
STRWarrior
e62858ec3d Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks.
You are able to dye the collar.
2013-11-10 20:12:30 +01:00
madmaxoft
fb3a175b28 Protocol 1.7: Attempt at fixing SoundParticleEffect packet. 2013-11-10 14:19:02 +01:00
madmaxoft
3fd7124435 Fixed Player animation packet.
Fixes #329.
2013-11-10 13:40:38 +01:00
madmaxoft
404034d230 Fixed sprinting in 1.7 protocol.
Fixes #324
2013-11-08 22:40:31 +01:00
madmaxoft
efbc4a9b78 Declaring 1.7.2 compatibility. 2013-11-08 22:09:39 +01:00
madmaxoft
07fa8313b1 cProtocol::SendWindowOpen() signature changed.
This implements #313.
2013-11-08 21:32:14 +01:00
madmaxoft
4707784929 Protocol 1.7: Fixed using entities.
The mouse buttons were swapped.
2013-11-08 21:03:51 +01:00
madmaxoft
64412c1fe3 Protocol 1.7: Copied Mob Metadata code from 1.2.5. 2013-11-08 20:56:19 +01:00
Tiger Wang
41451100c1 Added hardcore client effect
Also fixed multiple world comments issue.
2013-11-07 22:33:46 +00:00
Tiger Wang
21d835b594 Fix for entity spawning in general 2013-11-07 20:58:47 +00:00
Tiger Wang
4722a90a0b Possible fix for 1.7 pickup spawning 2013-11-07 18:49:48 +00:00
madmaxoft
034a283a28 Protocol 1.7: Fixed the Spawn Mob packet.
This should fix #318
2013-11-07 17:11:36 +01:00
madmaxoft
088f7f68fc Protocol 1.7: Added the remaining server-bound packets. 2013-11-06 22:27:09 +01:00
madmaxoft
edc848439a Protocol 1.7: Added more server-bound packets. 2013-11-06 20:48:56 +01:00
madmaxoft
cc54f4f836 Protocol 1.7: Finished the client-bound packets. 2013-11-06 20:48:56 +01:00
madmaxoft
e2e948015e Protocol 1.7: More client-bound packets.
Also removed the SendWholeInventory(cInventory &) function, as promised in prev commit.
2013-11-05 18:37:57 +01:00
madmaxoft
88472b7ce6 Removed the obsolete SendWholeInventory(cInventory &) function.
This won't compile because there's still a change in Protocol17x.cpp pending; the next commit will fix this.
2013-11-05 18:37:57 +01:00
madmaxoft
d47a8ea008 Protocol 1.7: Added more client-bound packets.
Untested, still more to come.
2013-11-04 21:20:36 +01:00
madmaxoft
3002dc8bbf Protocol 1.7: Added client status packet. 2013-11-03 21:34:46 +01:00
madmaxoft
9b84d68d27 Protocol 1.7: Rewritten packet-sending to use cPacketizer.
Implemented enough of the protocol that the client now spawns in the world (but cannot do anything).
2013-11-03 11:59:07 +01:00
madmaxoft
b6faeaba18 Protocol 1.7: Implemented the first batch of sent packets. 2013-11-01 16:20:15 +01:00
madmaxoft
7a77986d88 Protocol 1.7: Added skeleton functions for reading client packets.
Untested, this is skeleton code only.
2013-10-31 23:48:43 +01:00
madmaxoft
feaea31b78 Protocol 1.7: Added status ping handling. 2013-10-30 23:38:55 +01:00
madmaxoft
dab398d5d6 Added 1.7 to protocol recognizer.
The 1.7 protocol currently only reports server description and playercount.
2013-10-30 23:24:46 +01:00
madmaxoft
df20c19986 Renamed cWindow constants to include the "wt" prefix. 2013-10-28 13:30:24 +01:00
madmaxoft
d3db97301b Removed cRoot:m_PrimaryServerVersion from Lua API.
We have the accessor methods for it.
2013-10-23 11:06:39 +02:00
madmaxoft
e62cac07c0 Merge branch 'metadata' of git://github.com/tigerw/MCServer into tigerw-metadata. 2013-10-13 18:26:45 +02:00
Tiger Wang
d8d2f35e9d Eight round of fixes
* Changed IsA() to *long if statement*
- Removed deprecated values in Entity.h - to blazes with the plugins!
* Renamed villager type enumerations to be LESS SHOUTY and more vt-y
+ Use vtMax for World.cpp testificate spawning
2013-10-13 12:47:55 +01:00
Tiger Wang
d0acb37aed Seventh round of fixes
* Fixed arrows not critical-effecting because they were in MOBS! (derp)
* Used cMonster::mtXX as per xoft's suggestions
2013-10-12 23:05:15 +01:00
Tiger Wang
ee2df34d03 Fourth round of fixes
* Switchified WriteMobMetadata
* Renamed Horse functions to be better
2013-10-11 01:00:16 +01:00
Tiger Wang
d7b2c534fd Third round of fixes
* Split WriteMetadata into three functions for common, entity, and mob
* Edited a few mob sizes to Vanilla values
2013-10-11 00:41:54 +01:00
Tiger Wang
fe6fa23a97 Second round of fixes
* Implemented suggestions
2013-10-09 21:02:59 +01:00
Tiger Wang
7401fc000d Initial round of fixes
* Fixed intentional misspelling of baby! :D
* Better chested horse bool name
* Fixed some weird continuity issues with my recent changes not being
pushed up initially
* Fixed derpy hexadecimal values
2013-10-08 22:21:55 +01:00
Tiger Wang
5db6213f34 Initial Metadata Commit [SEE DESC]
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and
Horses have metadata
+ Base code on taming wolves, shearing sheep, and taming horses
+ Sheep and horses have different colours when spawned
2013-10-08 19:20:49 +01:00
madmaxoft
f08d78c887 Fixed rounding errors in cProtocol125::SendExplosion().
This should fix #129.
2013-09-19 22:03:02 +02:00
madmaxoft
111fd58914 Added support for 1.6.3 and 1.6.4 protocols.
No relevant changes have been detected, using the 1.6.2 protocol handler.
2013-09-19 20:49:09 +02:00
madmaxoft
becb36d2d1 Fixed a crash on immediate re-login.
Fixes #155.
2013-09-09 18:34:38 +02:00
madmaxoft
6c0c1f1d0c Implemented proper chunk unloading in all 1.3.2+ clients 2013-09-08 17:57:50 +02:00
madmaxoft
67e8f75318 Implemented SteerVehicle packet. 2013-09-06 00:04:49 +02:00
Tiger Wang
20b64e18e4 Merge remote-tracking branch 'upstream/master'
Conflicts:
	source/Bindings.cpp
	source/Entities/Entity.cpp

Updated from upsteam
2013-09-02 14:15:28 +01:00
Tiger Wang
7056992d0d Implemented xoft's suggestions [SEE DESC]
Rail metas are  now in BlockID and exported to LUA
Minecart now does a SetMass, instead of m_Mass
Minecarts use SubType instead of TypeType
2013-08-29 13:47:22 +01:00
Tiger Wang
1e91002229 Fixed Minecart spawning issues
Now you can have everything!
2013-08-28 22:13:27 +01:00
madmaxoft
654c34705c Fixed player spawning.
Now the player is spawned only after the chunk they're in is sent to the client. Hopefully no more falling-through-terrain-while-loggin-in.
2013-08-20 21:13:28 +02:00
madmaxoft
1a7912744f Moved entities into the Entities subfolder. 2013-08-19 11:39:13 +02:00