Permalink
Commits on Apr 14, 2012
  1. Fix bug in MC_slot_update2 parsem

    Somewhere along the way I forgot to add the item IDs
    for Bow and Flint & Steel. As a result, parsing of
    message 0x0f was failing for e.g. drawing back the
    bow.
    committed Apr 14, 2012
  2. Added the `log` plugin.

    fredreichbier committed Apr 14, 2012
Commits on Apr 13, 2012
Commits on Mar 24, 2012
  1. update to version 29 (1.2.4)

    sadimusi committed Mar 24, 2012
Commits on Mar 22, 2012
  1. updated to version 28 (1.2)

    + fixed remote port command line option
    sadimusi committed Mar 22, 2012
Commits on Feb 18, 2012
  1. Fixed typo (Issue #6)

    committed Feb 18, 2012
Commits on Jan 21, 2012
  1. Merge pull request #5 from Palats/fix23

    Emit the protocol version for client 0x01 messages.
    committed Jan 21, 2012
Commits on Jan 20, 2012
Commits on Jan 19, 2012
  1. Update message defs for Minecraft 1.1

    Minecraft version 1.1 bumps the protocol version to 23, and
    introduces a few changes. Message 0x01, which is used to
    determine the protocol version, now has a different format
    depending on protocol version.
    committed Jan 19, 2012
Commits on Jan 7, 2012
  1. Merge remote-tracking branch 'Phasip/master'

    Conflicts:
    	mc3p/parsing.py
    	mc3p/plugins.py
    committed Jan 7, 2012
  2. Use a Parsem object for metadata

    I was lazy when implementing the metadata type,
    and only did the parsing side. This commit at adds
    a stubbed metadata_emit() function and a TODO, to
    at least make failures less confusing when attempting
    to emit messages containing a metadata field.
    committed Jan 7, 2012
Commits on Jan 6, 2012
  1. Now uses .emit to send and .parse to read

    Pasi Saarinen committed Jan 6, 2012
  2. Cunk data should not be sent as a utf16 string

    Pasi Saarinen committed Jan 6, 2012
  3. Made error output work

    Pasi Saarinen committed Jan 6, 2012
Commits on Jan 4, 2012
  1. Merge pull request #2 from Phasip/master

    Long length fix
    committed Jan 4, 2012
Commits on Jan 3, 2012
  1. Long datatype fix, http://wiki.vg/Protocol says it's 8 bytes and 'l' …

    …only reads 4
    Pasi Saarinen committed Jan 3, 2012
Commits on Nov 20, 2011
  1. Bump version number to 0.3

    Version 0.3 has been tested with the 1.0.0 Minecraft
    release.
    committed Nov 20, 2011
Commits on Nov 12, 2011
Commits on Oct 30, 2011
  1. [PEP8] plugins.py

    committed Oct 30, 2011
Commits on Oct 28, 2011
  1. Pre-release 0.2pre.

    committed Oct 28, 2011
  2. Pass proto. ver. to MC3Plugin instances.

    To correctly encode injected messages, instances of
    MC3Plugin need to know the current protocol version.
    We augment the PluginManager to extract this from the
    handshake message, and pass it along during plugin
    instantiation.
    
    The tests have been updated to reflect that both login
    request messages are now important.
    committed Oct 28, 2011
  3. Replace 'dst' and 'dir' args with 'source'.

    Some of the PluginManager code incorrectly used the name
    'dst' for the argument indicating message direction. That
    argument indicates the *sender*, not the *receiver*. Similarly,
    the 'dir' argument name is ambiguous. Both have been replaced with
    'source'.
    
    In the process, this fixes a minor bug that was caused by the
    above mixup: plugins should be instantiated after the *server*
    sends msgtype 0x01, not the client. The tests have been updated
    to reflect this.
    committed Oct 28, 2011
  4. Correct client 0x01 message definition.

    Remove the 'map seed' field.
    committed Oct 28, 2011
  5. Platform-independent plugin message injection.

    The original mechanism for plugin message injection
    used UNIX sockets and asyncore to asynchronously send messages from
    a plugin to an mc3p proxy. This obviously doesn't work in Windows.
    
    This commit replaces the UNIX socket connections with
    multiprocessing.Queue objects, which use a pipe and backing
    thread to implement a process-safe queue.
    committed Oct 28, 2011
Commits on Oct 27, 2011
  1. Update 0x6b for proto. v21

    Previous commit message was incorrect! v21 updates the
    message format for 0x6b (creative inventory action) to use
    the new slot update w/ NBT data.
    
    An automated analysis of JAR files found no other differences.
    committed Oct 27, 2011
  2. Support protocol version 21.

    Initial indications are that the protocol itself
    has not changed. The version number has been bumped for
    the 1.9pre5 pre-release.
    committed Oct 27, 2011
Commits on Oct 24, 2011
  1. Version 0.1pre

    committed Oct 24, 2011
  2. Add --log-file option.

    Since we plan to distribute this as an egg, we can't store
    a log configuration in the same dir as mc3p.util because we
    might not have permissions.
    
    With this commit, we use a basicConfig at ERROR level by default.
    If the user specifies the --log-file option, we use the specified
    logfile (and create it if it doesn't exist).
    committed Oct 24, 2011