Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 3
0
def command_quit():
    send("QUIT")
    raise SystemExit("Received QUIT command, forwarded to server, leaving.")
Exemplo n.º 4
0
 def command_send():
     int_string = ""
     if int_field:
         int_string = " " + str(world_data[int_field])
     send(string + int_string)
Exemplo n.º 5
0
 def command_send():
     int_string = ""
     if int_field:
         int_string = " " + str(world_data[int_field])
     send(string + int_string)
Exemplo n.º 6
0
def command_quit():
    send("QUIT")
    raise SystemExit("Received QUIT command, forwarded to server, leaving.")