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