This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Attributes: [{'SHA1-Digest': '32AV8DH/ybt1xEd1N0kWyIW2iRw=', 'Name': 'ji.class'}] | |
- Version: [49.0] | |
- Created with: [J2SE 5.0] | |
- Constant count: [173] | |
- Dumping all strings as an example: | |
- [92] [ is missing a mapping! This is a bug!] | |
- [93] [()I] | |
- [94] [()Ljava/lang/Class;] | |
- [95] [()Ljava/lang/Object;] | |
- [96] [()Ljava/lang/String;] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# | |
# handshake.py | |
# pymc | |
# | |
# Created by Tyler Kennedy on 2010-12-20. | |
# Copyright 2010 Tyler Kennedy. All rights reserved. | |
# | |
from pymc.core.packets import Packets | |
from pymc.client.client import Client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# | |
# packets.py | |
# pymc | |
# | |
# Created by Tyler Kennedy on 2010-12-20. | |
# Copyright 2010 Tyler Kennedy. All rights reserved. | |
# | |
from pymc.core.defines import PacketType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# | |
# enum.py | |
# pymc | |
# | |
# Created by Tyler Kennedy on 2010-12-20. | |
# Copyright 2010 Tyler Kennedy. All rights reserved. | |
# | |
class Enum(object): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# defines.py | |
# pymc | |
# | |
# Created by Tyler Kennedy on 2010-12-20. | |
# Copyright 2010 Tyler Kennedy. All rights reserved. | |
# | |
from pymc.core.enum import Enum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# | |
# mobspawn.py | |
# pymc | |
# | |
# Created by Tyler Kennedy on 2010-12-20. | |
# Copyright 2010 Tyler Kennedy. All rights reserved. | |
# | |
from pymc.core.packets import Packets | |
from pymc.client.client import Client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# encoding: utf-8 | |
# | |
# client_test.py | |
# pymc | |
# | |
# Created by Tyler Kennedy on 2010-12-20. | |
# Copyright 2010 Tyler Kennedy. All rights reserved. | |
# | |
import getopt, sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
Copyright (C) 2011 by Tyler Kennedy <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
char *base36 = "0123456789abcdefghijklmnopqrstuvwxyz"; | |
void encode36(char *buffer, uint64_t num) { | |
for(num=num; num > 0; num /= 36) { | |
*buffer++ = base36[num % 36]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"packets": { | |
"info": { | |
"count": 65 | |
}, | |
"packet": { | |
"0": { | |
"class": "wf", | |
"from_client": true, | |
"from_server": true, | |
"id": 0, |