示例#1
0
def query_mapcell():
    string = "THINGS_HERE " + str(world_data["map_center"][0]) + " " \
             + str(world_data["map_center"][1])
    send(string)
    world_data["look"] = ["(polling)"]
    world_data["look_scroll"] = 0
示例#2
0
def query_mapcell():
    string = "THINGS_HERE " + str(world_data["map_center"][0]) + " " \
             + str(world_data["map_center"][1])
    send(string)
    world_data["look"] = ["(polling)"]
    world_data["look_scroll"] = 0
示例#3
0
def command_quit():
    send("QUIT")
    raise SystemExit("Received QUIT command, forwarded to server, leaving.")
示例#4
0
 def command_send():
     int_string = ""
     if int_field:
         int_string = " " + str(world_data[int_field])
     send(string + int_string)
示例#5
0
 def command_send():
     int_string = ""
     if int_field:
         int_string = " " + str(world_data[int_field])
     send(string + int_string)
示例#6
0
def command_quit():
    send("QUIT")
    raise SystemExit("Received QUIT command, forwarded to server, leaving.")