Commit Graph

91 Commits

Author SHA1 Message Date
Ammar Askar
20c4c87510 Add a variable to indicate if the client is spawned 2015-03-22 18:20:01 +05:00
Ammar Askar
463b48414e Implemented packet compression when sending packets and added code to make the client actually spawn 2015-03-22 18:16:47 +05:00
Ammar Askar
ba70a169e3 Just buffer data when reading packets.
As of this commit, the rewrite is complete and pyCraft is back to a usable state
2015-03-22 17:39:15 +05:00
Ammar Askar
c7b71d87a7 Update arbitrary request example to follow better practices 2015-03-22 03:44:45 +05:00
Ammar Askar
41d8e0a0c4 readthedocs link in README 2015-03-22 03:22:36 +05:00
Ammar Askar
2cecdfdb66 Use default theme for readthedocs 2015-03-22 03:15:40 +05:00
Ammar Askar
37fd9cee3b Documentation with sphinx 2015-03-22 03:08:44 +05:00
Ammar Askar
7e8df47352 Significant headway on the rewrite.
Handle crypto with the excellent crytography library, still a lot of TODOs to take care of but at least we can connect now
2015-03-17 22:15:27 +05:00
Ammar Askar
f68206140b Add some client logic, status to function state 2014-11-10 20:25:30 +05:00
Ammar Askar
1982716f73 Minor cleanup, pep8 compliance 2014-10-08 22:12:37 +05:00
Ammar Askar
85112fba1d Lay down the foundations for a complete rewrite, the new framework is far more easy to maintain 2014-06-07 01:47:34 +02:00
Ammar Askar
59e4706b25 Merge pull request #24 from jkcclemens/master
Fixed: Chat messages are parsed
2013-11-19 08:53:48 -08:00
Kyle Clemens
bf748ab93e Fixed: Parse packet 3 messages
Fixed: Decode unicode escapes

Fixed: Use JSON, not AST
2013-11-19 11:48:57 -05:00
Ammar Askar
bc4115e2b6 Fix for 0x64 change 2013-09-25 01:09:30 +05:00
Ammar Askar
42344ada6c Merge pull request #19 from mbax/master
1.6.4 support
2013-09-22 09:02:15 -07:00
mbax
68240e01db 1.6.4 support 2013-09-22 11:50:38 -04:00
Ammar Askar
490fd6df69 Fix incorrect packet id 2013-07-24 22:45:56 +05:00
Ammar Askar
33f143d8be Merge pull request #17 from EXio4/implement_74
Update to protocol 74
2013-07-24 09:31:02 -07:00
Esteban I. Ruiz Moreno
a6c22bffa3 Update to protocol 74 2013-07-24 13:02:17 -03:00
Ammar Askar
20401e6b35 Update to protocol version 73 2013-07-01 11:36:57 +05:00
Ammar Askar
eb67fd9339 Update to protocol version 61 2013-05-20 00:51:09 +05:00
Ammar Askar
db5e603a2e Merge pull request #15 from roblabla/patch-1
Return the content of packet CF.
2013-04-08 08:33:50 -07:00
Robin Lambertz
ab2b83afaa Return the content of packet CF. 2013-04-08 16:04:44 +02:00
Ammar Askar
7dba0ec336 handle friendly fire byte 2013-04-08 00:12:23 +05:00
Ammar Askar
b14e9927f7 Update to protocol version 60 2013-03-17 03:08:44 +05:00
Antoine Pietri
7e993237e3 added utf8 support, limit messages length to prevent unexpected disconnects 2013-01-31 20:44:43 +05:00
Ammar Askar
4988ab6ae1 Added optional colorama dependency to allow colours in windows console
Added flag to disable ansi colours. Fixes #10
Now passing plugin loader to plugins onEnable
2012-12-31 07:20:06 +05:00
Ammar Askar
6025e97932 onConnect notification for plugins 2012-12-26 20:23:47 +05:00
Ammar Askar
83ad822bad Provide data to plugins from chunk packets properly 2012-12-26 20:13:57 +05:00
Ammar Askar
d9199a3e2a Formatting 2012-12-26 01:38:02 +05:00
Ammar Askar
2abe34e88c Add packet 0x10 2012-12-21 03:28:38 +05:00
Ammar Askar
997c0ef8f6 oops, pass the fileobject here 2012-12-21 03:18:08 +05:00
Ammar Askar
cff8c7ea8d Update to new protocol 2012-12-21 03:06:35 +05:00
Ammar Askar
a6bc0b722d Cleanup readme add writing plugins section 2012-12-19 18:56:55 +05:00
Matt Sowden
93055664fd Change lines I was oblivious of 2012-12-19 04:05:00 -05:00
Matt Sowden
9c7fab625c Adding beginning of IRC thingamajigger 2012-12-19 04:00:55 -05:00
Ammar Askar
6817988b3b Slight simplification, non recursive plugin loading, only .py files in plugins folder are going to be loaded now and not in sub-directories 2012-12-19 13:57:00 +05:00
Ammar Askar
9f076a6f37 Added plugins!
Moved packet dumping to its own plugin
Removed now unused font
2012-12-17 19:32:18 +05:00
Ammar Askar
43f86d09f5 fix sendDouble and remove window from NetworkManager 2012-12-04 20:47:49 +05:00
Ammar Askar
6ccbc8a553 offline mode support 2012-12-04 14:48:49 +05:00
Ammar Askar
0722fa0d7f cleanup 2012-11-27 20:05:40 +05:00
Ammar Askar
3d8211b031 Update to 1.4.4 protocol changes and removed weird old gui artifact 2012-11-23 18:34:35 +05:00
Matt Sowden
f2d19d5b83 remove wx import, no longer nessesary. 2012-11-16 10:48:26 -05:00
Ammar Askar
7d50e325ba Added pynbt in order to decompress and read nbt data into a more friendly format 2012-11-03 19:08:39 +05:00
Ammar Askar
5cd8554908 Readability 2012-10-29 18:05:17 +05:00
Matthew Sowden
b45312db2f Remove wxPython 2012-10-26 09:52:23 -04:00
Ammar Askar
c503e06d33 Woops, do a proper check here. 2012-10-26 18:52:14 +05:00
Matthew Sowden
08575e20b7 Fix requirements.txt to actually work correctly. 2012-10-26 09:24:31 -04:00
Ammar Askar
b1264d9d5a Dumping current terrible implementation of a GUI for impending modularization 2012-10-26 18:09:16 +05:00
Ammar Askar
402aa6954f Moved raw data type handling to DataUtil.py 2012-10-26 15:31:47 +05:00