home · contact · privacy
plomrogue
9 years agoServer/py: Apply PEP8.
Christian Heller [Fri, 6 Mar 2015 21:43:14 +0000 (22:43 +0100)]
Server/py: Apply PEP8.

9 years agoServer/py: Undummify try_healing().
Christian Heller [Fri, 6 Mar 2015 21:42:09 +0000 (22:42 +0100)]
Server/py: Undummify try_healing().

9 years agoServer/py: Add memdepthmap aging.
Christian Heller [Fri, 6 Mar 2015 21:25:51 +0000 (22:25 +0100)]
Server/py: Add memdepthmap aging.

9 years agoServer/py: More improvement of memthing handling.
Christian Heller [Fri, 6 Mar 2015 21:14:40 +0000 (22:14 +0100)]
Server/py: More improvement of memthing handling.

9 years agoServer/py: Fix another T_MEMTHING handling error …
Christian Heller [Fri, 6 Mar 2015 20:51:56 +0000 (21:51 +0100)]
Server/py: Fix another T_MEMTHING handling error …

9 years agoServer/py: Use RuntimeError for truly exceptional errors.
Christian Heller [Fri, 6 Mar 2015 20:49:57 +0000 (21:49 +0100)]
Server/py: Use RuntimeError for truly exceptional errors.

9 years agoServer/py: Undummify hunger().
Christian Heller [Fri, 6 Mar 2015 20:47:31 +0000 (21:47 +0100)]
Server/py: Undummify hunger().

9 years agoServer/py: Fix some thing memorization bugs.
Christian Heller [Fri, 6 Mar 2015 20:16:32 +0000 (21:16 +0100)]
Server/py: Fix some thing memorization bugs.

9 years agoServer/py: Undummify Thing proliferation.
Christian Heller [Fri, 6 Mar 2015 20:10:57 +0000 (21:10 +0100)]
Server/py: Undummify Thing proliferation.

9 years agoServer/py: Remove uncommented code.
Christian Heller [Fri, 6 Mar 2015 19:35:50 +0000 (20:35 +0100)]
Server/py: Remove uncommented code.

9 years agoServer/py: Make compile.sh executable.
Christian Heller [Fri, 6 Mar 2015 19:35:12 +0000 (20:35 +0100)]
Server/py: Make compile.sh executable.

9 years agoServer/py: Further wrap mv_yx_in_dir_legal().
Christian Heller [Fri, 6 Mar 2015 19:34:52 +0000 (20:34 +0100)]
Server/py: Further wrap mv_yx_in_dir_legal().

9 years agoServer/py: Undummify build_fov_map().
Christian Heller [Fri, 6 Mar 2015 14:01:53 +0000 (15:01 +0100)]
Server/py: Undummify build_fov_map().

9 years agoServer/py: Minor fixes in actor_move().
Christian Heller [Fri, 6 Mar 2015 12:57:36 +0000 (13:57 +0100)]
Server/py: Minor fixes in actor_move().

9 years agoServer/py: Optimize polling in read_command().
Christian Heller [Fri, 6 Mar 2015 12:53:28 +0000 (13:53 +0100)]
Server/py: Optimize polling in read_command().

9 years agoServer/py: Undummify actor_move().
Christian Heller [Fri, 6 Mar 2015 12:25:18 +0000 (13:25 +0100)]
Server/py: Undummify actor_move().

9 years agoServer/py: Fix variable name bug.
Christian Heller [Fri, 6 Mar 2015 10:42:28 +0000 (11:42 +0100)]
Server/py: Fix variable name bug.

9 years agoServer/py: Add map navigation infrastructure / API to libplomrogue.c.
Christian Heller [Thu, 5 Mar 2015 13:44:26 +0000 (14:44 +0100)]
Server/py: Add map navigation infrastructure / API to libplomrogue.c.

9 years agoServer/py: Undummify remake_map().
Christian Heller [Thu, 5 Mar 2015 12:58:38 +0000 (13:58 +0100)]
Server/py: Undummify remake_map().

9 years agoServer/py: Add random positioning of new Things on world creation.
Christian Heller [Thu, 5 Mar 2015 12:24:55 +0000 (13:24 +0100)]
Server/py: Add random positioning of new Things on world creation.

9 years agoServer/py: Add randomness infrastructure, libplomrogue.so ctypes import.
Christian Heller [Thu, 5 Mar 2015 11:56:14 +0000 (12:56 +0100)]
Server/py: Add randomness infrastructure, libplomrogue.so ctypes import.

9 years agoServer/py: Undummify actor_use.
Christian Heller [Wed, 4 Mar 2015 14:00:04 +0000 (15:00 +0100)]
Server/py: Undummify actor_use.

9 years agoServer/py: Fix actor_drop logging.
Christian Heller [Wed, 4 Mar 2015 13:45:20 +0000 (14:45 +0100)]
Server/py: Fix actor_drop logging.

9 years agoServer/py: Undummify actor_pick_up(), plus some stylistic fixes.
Christian Heller [Wed, 4 Mar 2015 13:42:09 +0000 (14:42 +0100)]
Server/py: Undummify actor_pick_up(), plus some stylistic fixes.

9 years agoServer/py: Undummify actor_pick_up, correct some bugs encountered onway.
Christian Heller [Wed, 4 Mar 2015 13:20:26 +0000 (14:20 +0100)]
Server/py: Undummify actor_pick_up, correct some bugs encountered onway.

9 years agoServer/py: Add ThingAction execution (but only wait and dummy actions).
Christian Heller [Wed, 4 Mar 2015 12:57:45 +0000 (13:57 +0100)]
Server/py: Add ThingAction execution (but only wait and dummy actions).

9 years agoServer/py: Remove print debugging from turn_over() skeleton.
Christian Heller [Wed, 4 Mar 2015 12:46:53 +0000 (13:46 +0100)]
Server/py: Remove print debugging from turn_over() skeleton.

9 years agoServer/py: Add skeleton for turn_over().
Christian Heller [Wed, 4 Mar 2015 12:46:07 +0000 (13:46 +0100)]
Server/py: Add skeleton for turn_over().

9 years agoServer/py: Add rump for player action handling.
Christian Heller [Wed, 4 Mar 2015 11:29:15 +0000 (12:29 +0100)]
Server/py: Add rump for player action handling.

9 years agoServer/py: Fix more memthing handling breakage.
Christian Heller [Wed, 4 Mar 2015 11:28:45 +0000 (12:28 +0100)]
Server/py: Fix more memthing handling breakage.

9 years agoServer/py: Fix broken memthing handling.
Christian Heller [Wed, 4 Mar 2015 11:19:59 +0000 (12:19 +0100)]
Server/py: Fix broken memthing handling.

9 years agoServer/py: Remove superfluous dummy comments.
Christian Heller [Tue, 3 Mar 2015 12:38:10 +0000 (13:38 +0100)]
Server/py: Remove superfluous dummy comments.

9 years agoServer/py: Fix buggy command_makeworld().
Christian Heller [Tue, 3 Mar 2015 12:19:08 +0000 (13:19 +0100)]
Server/py: Fix buggy command_makeworld().

9 years agoServer/py: Apply PEP8.
Christian Heller [Tue, 3 Mar 2015 11:46:00 +0000 (12:46 +0100)]
Server/py: Apply PEP8.

9 years agoServer/py: Handle memory maps, and FOV dummy properly.
Christian Heller [Tue, 3 Mar 2015 11:41:33 +0000 (12:41 +0100)]
Server/py: Handle memory maps, and FOV dummy properly.

9 years agoServer/py: Improve comments.
Christian Heller [Tue, 3 Mar 2015 01:59:19 +0000 (02:59 +0100)]
Server/py: Improve comments.

9 years agoServer/py: De-dummify command_makeworld().
Christian Heller [Tue, 3 Mar 2015 01:43:00 +0000 (02:43 +0100)]
Server/py: De-dummify command_makeworld().

9 years agoServer/py: Undummify command_worldactive() (90%), command_maplength().
Christian Heller [Tue, 3 Mar 2015 01:13:10 +0000 (02:13 +0100)]
Server/py: Undummify command_worldactive() (90%), command_maplength().

9 years agoServer/py: Don't save world map in savefile.
Christian Heller [Tue, 3 Mar 2015 01:04:08 +0000 (02:04 +0100)]
Server/py: Don't save world map in savefile.

9 years agoServer/py: Fix replay to turn 1.
Christian Heller [Tue, 3 Mar 2015 01:02:58 +0000 (02:02 +0100)]
Server/py: Fix replay to turn 1.

9 years agoServer/py: Fix out file writing bug.
Christian Heller [Tue, 3 Mar 2015 00:54:36 +0000 (01:54 +0100)]
Server/py: Fix out file writing bug.

9 years agoServer/py: Refactoring, heavier use of flush() and fsync().
Christian Heller [Tue, 3 Mar 2015 00:48:53 +0000 (01:48 +0100)]
Server/py: Refactoring, heavier use of flush() and fsync().

9 years agoServer/py: Fix out file writing bug.
Christian Heller [Tue, 3 Mar 2015 00:37:57 +0000 (01:37 +0100)]
Server/py: Fix out file writing bug.

9 years agoServer/py: Implement dummy for THINGS_HERE command.
Christian Heller [Tue, 3 Mar 2015 00:26:04 +0000 (01:26 +0100)]
Server/py: Implement dummy for THINGS_HERE command.

9 years agoServer/py: Proper inventory handling in worldstate file.
Christian Heller [Tue, 3 Mar 2015 00:22:24 +0000 (01:22 +0100)]
Server/py: Proper inventory handling in worldstate file.

9 years agoServer/py: Set up world up to allow worldstate file creation.
Christian Heller [Tue, 3 Mar 2015 00:12:32 +0000 (01:12 +0100)]
Server/py: Set up world up to allow worldstate file creation.

9 years agoServer/py: Extend command_makeworld().
Christian Heller [Mon, 2 Mar 2015 22:49:15 +0000 (23:49 +0100)]
Server/py: Extend command_makeworld().

9 years agoServer/py: Fix and extend command_makeworld().
Christian Heller [Mon, 2 Mar 2015 22:47:30 +0000 (23:47 +0100)]
Server/py: Fix and extend command_makeworld().

9 years agoServer/py: Slightly extend command_worldactive().
Christian Heller [Mon, 2 Mar 2015 04:55:16 +0000 (05:55 +0100)]
Server/py: Slightly extend command_worldactive().

9 years agoServer/py: Extend command_worldactive().
Christian Heller [Mon, 2 Mar 2015 04:50:00 +0000 (05:50 +0100)]
Server/py: Extend command_worldactive().

9 years agoServer/py: Create dummy map in remake_map().
Christian Heller [Mon, 2 Mar 2015 04:42:01 +0000 (05:42 +0100)]
Server/py: Create dummy map in remake_map().

9 years agoServer/py: Slightly extend command_maplength().
Christian Heller [Mon, 2 Mar 2015 04:24:34 +0000 (05:24 +0100)]
Server/py: Slightly extend command_maplength().

9 years agoServer/py: On savefile writing, handle escapes and quotes.
Christian Heller [Mon, 2 Mar 2015 04:17:27 +0000 (05:17 +0100)]
Server/py: On savefile writing, handle escapes and quotes.

9 years agoServer/py: Minor comment improvements.
Christian Heller [Mon, 2 Mar 2015 03:08:47 +0000 (04:08 +0100)]
Server/py: Minor comment improvements.

9 years agoServer/py: Add Thing commands. Lots of refactoring, too.
Christian Heller [Mon, 2 Mar 2015 03:00:54 +0000 (04:00 +0100)]
Server/py: Add Thing commands. Lots of refactoring, too.

9 years agoServer/py: Some refactoring.
Christian Heller [Sat, 28 Feb 2015 15:01:48 +0000 (16:01 +0100)]
Server/py: Some refactoring.

9 years agoServer/py: Fix writing out TT_CORPSE_ID commands to early to save file.
Christian Heller [Sat, 28 Feb 2015 14:34:40 +0000 (15:34 +0100)]
Server/py: Fix writing out TT_CORPSE_ID commands to early to save file.

9 years agoServer/py: Fix bug of not recognizing TT_ID 0.
Christian Heller [Sat, 28 Feb 2015 14:29:41 +0000 (15:29 +0100)]
Server/py: Fix bug of not recognizing TT_ID 0.

9 years agoServer/py: Fix bug of not understanding TT_LIFEPOINTS command.
Christian Heller [Sat, 28 Feb 2015 14:19:35 +0000 (15:19 +0100)]
Server/py: Fix bug of not understanding TT_LIFEPOINTS command.

9 years agoServer/py: Ignore empty lines in obey().
Christian Heller [Sat, 28 Feb 2015 14:16:57 +0000 (15:16 +0100)]
Server/py: Ignore empty lines in obey().

9 years agoServer/py: Add ThingType category commands, some refactoring.
Christian Heller [Sat, 28 Feb 2015 14:13:00 +0000 (15:13 +0100)]
Server/py: Add ThingType category commands, some refactoring.

9 years agoServer/py: More consistent error messaging.
Christian Heller [Wed, 25 Feb 2015 10:25:25 +0000 (11:25 +0100)]
Server/py: More consistent error messaging.

9 years agoServer/py: Apply PEP8.
Christian Heller [Wed, 25 Feb 2015 10:23:53 +0000 (11:23 +0100)]
Server/py: Apply PEP8.

9 years agoServer/py: Add TA_NAME command.
Christian Heller [Wed, 25 Feb 2015 10:20:18 +0000 (11:20 +0100)]
Server/py: Add TA_NAME command.

9 years agoServer/py: Minor renamings.
Christian Heller [Wed, 25 Feb 2015 09:41:40 +0000 (10:41 +0100)]
Server/py: Minor renamings.

9 years agoServer/py: Add error message on manipulating ThingAction yet undefined.
Christian Heller [Wed, 25 Feb 2015 09:40:25 +0000 (10:40 +0100)]
Server/py: Add error message on manipulating ThingAction yet undefined.

9 years agoServer/py: Add TA_EFFORT command.
Christian Heller [Wed, 25 Feb 2015 09:37:04 +0000 (10:37 +0100)]
Server/py: Add TA_EFFORT command.

9 years agoServer/py: Un-dummify and refactor command_taid().
Christian Heller [Wed, 25 Feb 2015 09:14:32 +0000 (10:14 +0100)]
Server/py: Un-dummify and refactor command_taid().

9 years agoServer/py: Some refactoring.
Christian Heller [Wed, 25 Feb 2015 08:52:34 +0000 (09:52 +0100)]
Server/py: Some refactoring.

9 years agoServer/py: Add partly dummy TA_ID command to add new ThingActions.
Christian Heller [Wed, 25 Feb 2015 08:42:24 +0000 (09:42 +0100)]
Server/py: Add partly dummy TA_ID command to add new ThingActions.

9 years agoServer/py: In SERVER_COMMANDS, mirror Python variant more precisely.
Christian Heller [Wed, 25 Feb 2015 08:41:56 +0000 (09:41 +0100)]
Server/py: In SERVER_COMMANDS, mirror Python variant more precisely.

9 years agoServer/py: To world_db, add empty dicts for things, actions, types.
Christian Heller [Wed, 25 Feb 2015 06:31:37 +0000 (07:31 +0100)]
Server/py: To world_db, add empty dicts for things, actions, types.

9 years agoServer/py: Extend dummy functions, use dedicated set_world_inactive().
Christian Heller [Wed, 25 Feb 2015 06:08:29 +0000 (07:08 +0100)]
Server/py: Extend dummy functions, use dedicated set_world_inactive().

9 years agoServer/py: Extend command_worldactive() dummy.
Christian Heller [Wed, 25 Feb 2015 05:59:00 +0000 (06:59 +0100)]
Server/py: Extend command_worldactive() dummy.

9 years agoServer/py: Update SERVER_COMMANDS to Python variant's peculiarities.
Christian Heller [Wed, 25 Feb 2015 05:58:09 +0000 (06:58 +0100)]
Server/py: Update SERVER_COMMANDS to Python variant's peculiarities.

9 years agoServer/py: Sane default values for world_db.
Christian Heller [Wed, 25 Feb 2015 05:42:01 +0000 (06:42 +0100)]
Server/py: Sane default values for world_db.

9 years agoServer/py: Add (mostly dummy) WORLD_ACTIVE command.
Christian Heller [Tue, 24 Feb 2015 11:42:54 +0000 (12:42 +0100)]
Server/py: Add (mostly dummy) WORLD_ACTIVE command.

9 years agoServer/py: Fix buggy worlddb_value_setter()() error message.
Christian Heller [Tue, 24 Feb 2015 11:37:14 +0000 (12:37 +0100)]
Server/py: Fix buggy worlddb_value_setter()() error message.

9 years agoServer/py: Add (mostly dummy) MAP_LENGTH command.
Christian Heller [Tue, 24 Feb 2015 11:36:37 +0000 (12:36 +0100)]
Server/py: Add (mostly dummy) MAP_LENGTH command.

9 years agoServer/py: Make proper command_seedmap() refer to (dummy) remake_map().
Christian Heller [Tue, 24 Feb 2015 11:28:57 +0000 (12:28 +0100)]
Server/py: Make proper command_seedmap() refer to (dummy) remake_map().

9 years agoServer/py: Add PLAYER_TYPE command.
Christian Heller [Tue, 24 Feb 2015 11:24:06 +0000 (12:24 +0100)]
Server/py: Add PLAYER_TYPE command.

9 years agoServer/py: Refactoring.
Christian Heller [Tue, 24 Feb 2015 11:12:52 +0000 (12:12 +0100)]
Server/py: Refactoring.

9 years agoServer/py: Add SEED_MAP and SEED_RANDOMNESS commands, refactor.
Christian Heller [Tue, 24 Feb 2015 10:53:14 +0000 (11:53 +0100)]
Server/py: Add SEED_MAP and SEED_RANDOMNESS commands, refactor.

9 years agoServer/py: Fix KeyError-triggering typo.
Christian Heller [Tue, 24 Feb 2015 10:38:29 +0000 (11:38 +0100)]
Server/py: Fix KeyError-triggering typo.

9 years agoServer/py: Stricter command token counting.
Christian Heller [Tue, 24 Feb 2015 02:10:11 +0000 (03:10 +0100)]
Server/py: Stricter command token counting.

9 years agoServer/py: Fix buggy ValueError handling.
Christian Heller [Tue, 24 Feb 2015 02:07:24 +0000 (03:07 +0100)]
Server/py: Fix buggy ValueError handling.

9 years agoServer/py: Add SEED_MAP, SEED_RANDOMNESS to save_world(), make_world().
Christian Heller [Tue, 24 Feb 2015 02:04:09 +0000 (03:04 +0100)]
Server/py: Add SEED_MAP, SEED_RANDOMNESS to save_world(), make_world().

9 years agoServer/py: Add value check to command_turn().
Christian Heller [Tue, 24 Feb 2015 01:46:55 +0000 (02:46 +0100)]
Server/py: Add value check to command_turn().

9 years agoServer/py: Introduce TURN command into save_world().
Christian Heller [Tue, 24 Feb 2015 01:39:53 +0000 (02:39 +0100)]
Server/py: Introduce TURN command into save_world().

9 years agoServer/py: Add save_world() dummy, refactor.
Christian Heller [Tue, 24 Feb 2015 01:03:08 +0000 (02:03 +0100)]
Server/py: Add save_world() dummy, refactor.

9 years agoServer/py: More refactoring, documentation.
Christian Heller [Mon, 23 Feb 2015 11:53:48 +0000 (12:53 +0100)]
Server/py: More refactoring, documentation.

9 years agoServer/py: Some refactoring, explaining.
Christian Heller [Mon, 23 Feb 2015 11:27:52 +0000 (12:27 +0100)]
Server/py: Some refactoring, explaining.

9 years agoServer/py: Fix variable naming bug.
Christian Heller [Mon, 23 Feb 2015 11:08:52 +0000 (12:08 +0100)]
Server/py: Fix variable naming bug.

9 years agoServer/py: Proper obey() / commands DB infrastructure. More globalizing.
Christian Heller [Mon, 23 Feb 2015 11:06:55 +0000 (12:06 +0100)]
Server/py: Proper obey() / commands DB infrastructure. More globalizing.

9 years agoServer/py: Improve IO looping structure.
Christian Heller [Mon, 23 Feb 2015 01:59:41 +0000 (02:59 +0100)]
Server/py: Improve IO looping structure.

9 years agoServer/py: Flush PONG! message.
Christian Heller [Mon, 23 Feb 2015 01:07:38 +0000 (02:07 +0100)]
Server/py: Flush PONG! message.

9 years agoServer/py: Improve (almost finish?) IO looping structure.
Christian Heller [Mon, 23 Feb 2015 01:07:15 +0000 (02:07 +0100)]
Server/py: Improve (almost finish?) IO looping structure.

9 years agoServer/py: Improve server instance conflict management.
Christian Heller [Sun, 22 Feb 2015 13:00:23 +0000 (14:00 +0100)]
Server/py: Improve server instance conflict management.

9 years agoServer/py: Remove debugging code corrupting replay behavior.
Christian Heller [Sun, 22 Feb 2015 12:50:08 +0000 (13:50 +0100)]
Server/py: Remove debugging code corrupting replay behavior.

9 years agoServer/py: Init io_db["kicked by rival"] at start (to False).
Christian Heller [Sun, 22 Feb 2015 12:45:17 +0000 (13:45 +0100)]
Server/py: Init io_db["kicked by rival"] at start (to False).