Пример #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.")