Skip to content

Instantly share code, notes, and snippets.

package net.glowstone.net;
import java.util.ArrayList;
import java.util.List;
/**
* A list of all the sessions which provides a convenient {@link #pulse()}
* method to pulse every session in one operation.
* @author Graham Edgecombe
*/
def ICArray(name, *args):
struct = Struct(name + "_data", *args)
array = MetaArray(lambda ctx: ctx[name + "_len"], struct)
return Struct(name, UBInt16(name + "_len"), array, struct)
Searching for web
Reading http://pypi.python.org/simple/web/
Reading http://www.pythonweb.org/web/
Reading http://www.pythonweb.org/web/release/
No local packages or download links found for web
Best match: None
Traceback (most recent call last):
File "c:\python26\easy_install-script.py", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "c:\python26\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 1712, in main
cd [file dirname [info script]]
set file1 aaa.dlw
set file2 aaa2.dlw
set f1 [open $file1]
fconfigure $f1 -translation binary
set f2 [open $file2]
fconfigure $f2 -translation binary
Bytes 0 to 7 are 'SUPREME!' -> Or, probably, other game name abbreviations
Bytes 8 to 39 are the builder name
Bytes 40 to 71 are the world name
Byte 72 is the number of levels in the world
===== Level Segment =====
2 bytes, for level dimensions?
32 bytes for name
Null-teminated string for song