Commit graph

1243 commits

Author SHA1 Message Date
Steven Smith
bb3818e62c Parent setting should be internal. 2014-10-17 20:50:59 -07:00
Steven Smith
d61f0773be Change default to check if style equals parent style rather than WHITE and no formatting. 2014-10-17 20:46:11 -07:00
Steven Smith
74ffe135a6 Account for parent styles not having default properties in isDefault. 2014-10-17 20:33:39 -07:00
Steven Smith
db8cd53297 Fix reading metadata type id. 2014-10-17 16:06:56 -07:00
Steven Smith
b7d758f6a5 Add missing code for writing display name data in ServerPlayerListEntryPacket. 2014-10-12 18:10:42 -07:00
Steven Smith
5e1581e319 Organize key constants and set ping value to zero on connection to prevent NPEs 2014-10-12 17:34:11 -07:00
Steven Smith
4afb6d8a8f PlayerListEntry properties should be part of the profile. 2014-10-12 16:56:18 -07:00
Steven Smith
202e2238fa Fix mistake from change porting. 2014-10-12 11:03:56 -07:00
Steven Smith
779f0df8a6 Remove unnecessary operations on metadata info. 2014-10-12 10:22:06 -07:00
Steven Smith
e5d5ec46cd Add methods to get block ids and data values from ShortArray3d. 2014-10-10 16:42:07 -07:00
Steven Smith
80bb3a25b0 Fix visibility in head look packet. 2014-10-10 15:53:34 -07:00
Steven Smith
65e3518aaf Timeout should be multiplied by 1000 for milliseconds. 2014-09-14 21:03:12 -07:00
Steven Smith
11ce15cb03 Ensure currently set timeout and handler is used. 2014-09-14 20:43:39 -07:00
Steven Smith
7b3146c4d4 Catch timeout exceptions throughout all of the connect method, tweak connect timeout application. 2014-09-14 20:14:14 -07:00
Steven Smith
670f5fb219 Use try-catch for connect timeout exception if waiting. 2014-09-14 19:46:05 -07:00
Steven Smith
9cbdc6a1aa More clarification to timeout disconnect messages. 2014-09-14 19:19:57 -07:00
Steven Smith
d418516fe3 Minor message update. 2014-09-14 19:15:55 -07:00
Steven Smith
8fa57eb73a Call timeout handler if connect future results in a ConnectTimeoutException. 2014-09-14 19:13:25 -07:00
Steven Smith
5546770d4b 1.8 2014-09-02 16:11:24 -07:00
Steveice10
7b26b14f31 Expand on timeout control. 2014-08-27 19:53:54 -07:00
Steveice10
249511e80f Allow adjusting timeout and performing actions when a timeout occurs. 2014-08-26 20:21:06 -07:00
Steveice10
64153f7207 1.8-pre1 2014-08-23 22:46:41 -07:00
Steveice10
a9bb583b8f Correct packet IDs. 2014-08-16 22:10:51 -07:00
Steveice10
3620abb183 Block particles now send only 1 data variable. 2014-08-15 23:50:09 -07:00
Steveice10
6d266e56d5 If the packet says we don't have skylight don't try to get it. 2014-08-15 23:42:39 -07:00
Steven Smith
17bb28caae Send LoginSetCompressionPacket instead of ServerSetCompressionPacket 2014-08-11 22:41:34 -07:00
Steven Smith
b033e6c095 Allow accessing profile and token and passing them to protocol constructors. 2014-08-11 12:30:24 -07:00
Steven Smith
24468dee6b Return unsigned bytes from NetInputStream. 2014-08-11 11:35:08 -07:00
Steven Smith
1f8abf7eea Add methods for reading/writing UUIDs as longs. 2014-08-11 11:34:36 -07:00
Steven Smith
081c1a00f1 Various protocol issue fixes part 1. 2014-08-10 23:29:27 -07:00
Steven Smith
d9e767b977 Add missing login process changes. 2014-08-10 22:51:41 -07:00
Steven Smith
04b83288f8 14w32d 2014-08-10 22:20:58 -07:00
Steven Smith
b244f17d77 14w31a 2014-08-04 11:28:33 -07:00
Steven Smith
2ce93ace27 Add VarLong support, fix compression issue. 2014-08-04 11:28:15 -07:00
Steven Smith
3963c52123 Register WITHER_SPAWN in MagicValues. 2014-07-28 09:36:01 -07:00
Steven Smith
c60893b8ab Add WITHER_SPAWN to SoundEffect enum. 2014-07-28 09:35:10 -07:00
Steven Smith
310adb9e31 Updated pom version. 2014-07-16 13:09:52 -07:00
Steven Smith
d4d8db1f0c 14w29b 2014-07-16 12:46:41 -07:00
Steven Smith
73f375ba20 Add packet compression and methods for reading bytes to an existing array. 2014-07-16 12:46:26 -07:00
Steven Smith
17b15f67dd Update download URLs 2014-06-28 16:16:16 -07:00
Steven Smith
5e4868a3f3 Update download URLs 2014-06-28 16:14:32 -07:00
Steven Smith
640e5b30fa Initialize lastPingTime to current time before starting KeepAliveThread loop. Probably fixes #41 2014-06-26 10:43:21 -07:00
Steven Smith
49651dded0 Allow PacketHeader to return -1 for packet IDs to signal that the packet should not be read yet. 2014-06-21 20:15:54 -07:00
Steven Smith
670d471a34 Update for PacketLib changes. 2014-06-21 19:50:58 -07:00
Steven Smith
6b7b65b015 Allow protocols to specify whether packet sizers or encryptors will ever be added to the connection. 2014-06-21 19:50:34 -07:00
Steven Smith
0001266658 Actually read the bytes instead of passing the same buffer to satisfy Netty. 2014-06-21 19:30:59 -07:00
Steven Smith
396b7bfab7 Add interface for customizing packet headers. 2014-06-20 14:39:10 -07:00
Steven Smith
6d29ff07f8 Update for PacketLib changes. 2014-06-20 14:21:53 -07:00
Steven Smith
861a234a09 Add MobType.GUARDIAN. 2014-06-18 12:06:18 -07:00
Steven Smith
eb23b84e11 14w25a 2014-06-18 11:59:33 -07:00