MultiServer: add network commands Store, Retrieve, Modify and ModifyNotify

This commit is contained in:
Fabian Dill
2022-02-22 11:48:08 +01:00
parent f38b970ea2
commit 5faf1f27de
3 changed files with 70 additions and 10 deletions

View File

@@ -168,7 +168,7 @@ class SoEWorld(World):
self.world.get_location(wings_location, self.player).place_locked_item(wings_item)
self.world.itempool.remove(wings_item)
# generate stuff for later
self.evermizer_seed = self.world.random.randint(0, 2**16-1) # TODO: make this an option for "full" plando?
self.evermizer_seed = self.world.random.randint(0, 2 ** 16 - 1) # TODO: make this an option for "full" plando?
def generate_output(self, output_directory: str):
player_name = self.world.get_player_name(self.player)
@@ -223,7 +223,7 @@ class SoEWorld(World):
try:
os.unlink(placement_file)
os.unlink(out_file)
os.unlink(out_file[:-4]+'_SPOILER.log')
os.unlink(out_file[:-4] + '_SPOILER.log')
except:
pass
@@ -236,7 +236,6 @@ class SoEWorld(World):
multidata["connect_names"][self.connect_name] = payload
class SoEItem(Item):
game: str = "Secret of Evermore"