home · contact · privacy
plomrogue
9 years agoWrite worldstate sans atomicity deletion,for less outage towards client.
Christian Heller [Mon, 9 Mar 2015 03:49:44 +0000 (04:49 +0100)]
Write worldstate sans atomicity deletion,for less outage towards client.

9 years agoAbolish upper iD limits.
Christian Heller [Mon, 9 Mar 2015 03:28:55 +0000 (04:28 +0100)]
Abolish upper iD limits.

9 years agoServer/py: Further optimizations by putting stuff into libplomrogue.
Christian Heller [Mon, 9 Mar 2015 01:45:59 +0000 (02:45 +0100)]
Server/py: Further optimizations by putting stuff into libplomrogue.

9 years agoServer/py: Remove unnecessary libpr restype / argtype settings.
Christian Heller [Mon, 9 Mar 2015 01:45:37 +0000 (02:45 +0100)]
Server/py: Remove unnecessary libpr restype / argtype settings.

9 years agolibplomrogue: Remove outcommented code.
Christian Heller [Mon, 9 Mar 2015 00:32:46 +0000 (01:32 +0100)]
libplomrogue: Remove outcommented code.

9 years agoServer/py: Optimize init_score_map().
Christian Heller [Mon, 9 Mar 2015 00:32:24 +0000 (01:32 +0100)]
Server/py: Optimize init_score_map().

9 years agoRemove redundant flag in testing script.
Christian Heller [Mon, 9 Mar 2015 00:21:46 +0000 (01:21 +0100)]
Remove redundant flag in testing script.

9 years agoServer/py: Optimize update_map_memory().
Christian Heller [Mon, 9 Mar 2015 00:02:08 +0000 (01:02 +0100)]
Server/py: Optimize update_map_memory().

9 years agoAdd GPL note to Python server.
Christian Heller [Mon, 9 Mar 2015 00:01:55 +0000 (01:01 +0100)]
Add GPL note to Python server.

9 years agoServer/py: Use -O3 for libplomrogue. pythonize
Christian Heller [Sun, 8 Mar 2015 18:39:44 +0000 (19:39 +0100)]
Server/py: Use -O3 for libplomrogue.

9 years agoAdd Python server testing script.
Christian Heller [Sun, 8 Mar 2015 18:36:16 +0000 (19:36 +0100)]
Add Python server testing script.

9 years agoServer/py: Allow working with non-default save file.
Christian Heller [Sun, 8 Mar 2015 17:31:16 +0000 (18:31 +0100)]
Server/py: Allow working with non-default save file.

9 years agoServer/py: Make executable with #!/usr/bin/python3.
Christian Heller [Sun, 8 Mar 2015 17:02:54 +0000 (18:02 +0100)]
Server/py: Make executable with #!/usr/bin/python3.

9 years agoBuild script: *Always* build libplomrogue, mtime check is not portable.
Christian Heller [Sun, 8 Mar 2015 16:54:30 +0000 (17:54 +0100)]
Build script: *Always* build libplomrogue, mtime check is not portable.

9 years agoServer/C: Set same server dir mode as Python variant does.
Christian Heller [Sun, 8 Mar 2015 16:40:31 +0000 (17:40 +0100)]
Server/C: Set same server dir mode as Python variant does.

9 years agoServer/C: Re-order savefile to easen comparisons with Python variant.
Christian Heller [Sun, 8 Mar 2015 16:17:27 +0000 (17:17 +0100)]
Server/C: Re-order savefile to easen comparisons with Python variant.

9 years agoServer/C: Don't update map memory on WORLD_ACTIVE command.
Christian Heller [Sun, 8 Mar 2015 16:14:53 +0000 (17:14 +0100)]
Server/C: Don't update map memory on WORLD_ACTIVE command.

9 years agoServer/C: In parse_palyer_command_0arg, don't set zero argument.
Christian Heller [Sun, 8 Mar 2015 16:12:51 +0000 (17:12 +0100)]
Server/C: In parse_palyer_command_0arg, don't set zero argument.

9 years agoServer/C: In actor_use(), don't directly add nutrition to lifepoints.
Christian Heller [Sun, 8 Mar 2015 16:11:44 +0000 (17:11 +0100)]
Server/C: In actor_use(), don't directly add nutrition to lifepoints.

9 years agoServer/C: In actor_pick(), pick highest ID'd item in stack of many.
Christian Heller [Sun, 8 Mar 2015 16:10:49 +0000 (17:10 +0100)]
Server/C: In actor_pick(), pick highest ID'd item in stack of many.

9 years agoServer/C: Fix bug of ignoring wait set by get_dir_from_neighbors().
Christian Heller [Sun, 8 Mar 2015 16:08:56 +0000 (17:08 +0100)]
Server/C: Fix bug of ignoring wait set by get_dir_from_neighbors().

9 years agoServer/py: Use different record file name to support parallel existence.
Christian Heller [Sun, 8 Mar 2015 16:06:01 +0000 (17:06 +0100)]
Server/py: Use different record file name to support parallel existence.

9 years agoServer/py: Fix file name bug in startup wrapper script.
Christian Heller [Sun, 8 Mar 2015 16:03:31 +0000 (17:03 +0100)]
Server/py: Fix file name bug in startup wrapper script.

9 years agoServer/py: Add startup wrappers supporting Python variant.
Christian Heller [Sun, 8 Mar 2015 16:02:16 +0000 (17:02 +0100)]
Server/py: Add startup wrappers supporting Python variant.

9 years agoUse heavier world config as default.
Christian Heller [Sun, 8 Mar 2015 15:59:23 +0000 (16:59 +0100)]
Use heavier world config as default.

9 years agoServer/py: Integrate libplomrogue building into current main building.
Christian Heller [Sun, 8 Mar 2015 15:57:25 +0000 (16:57 +0100)]
Server/py: Integrate libplomrogue building into current main building.

9 years agoServer/py: Remove superfluous os.fsync().
Christian Heller [Sun, 8 Mar 2015 15:39:16 +0000 (16:39 +0100)]
Server/py: Remove superfluous os.fsync().

9 years agoServer/py: Make sure worldstate file is deleted on exit.
Christian Heller [Sun, 8 Mar 2015 04:55:19 +0000 (05:55 +0100)]
Server/py: Make sure worldstate file is deleted on exit.

9 years agoServer/py: Make verbosity optional.
Christian Heller [Sun, 8 Mar 2015 04:42:41 +0000 (05:42 +0100)]
Server/py: Make verbosity optional.

9 years agoServer/py: Also optimize record file writing.
Christian Heller [Sun, 8 Mar 2015 03:47:13 +0000 (04:47 +0100)]
Server/py: Also optimize record file writing.

9 years agoServer/py: Only save game world every 15 seconds.
Christian Heller [Sun, 8 Mar 2015 03:34:03 +0000 (04:34 +0100)]
Server/py: Only save game world every 15 seconds.

9 years agoServer/py: Apply PEP8.
Christian Heller [Sun, 8 Mar 2015 03:16:31 +0000 (04:16 +0100)]
Server/py: Apply PEP8.

9 years agoServer/py: Some more mem map handling fixes …
Christian Heller [Sun, 8 Mar 2015 03:12:34 +0000 (04:12 +0100)]
Server/py: Some more mem map handling fixes …

9 years agoServer/py: Add movable AI.
Christian Heller [Sun, 8 Mar 2015 03:09:37 +0000 (04:09 +0100)]
Server/py: Add movable AI.

9 years agoServer/py: Fix thing proliferation bug in turn_over().
Christian Heller [Sun, 8 Mar 2015 01:19:58 +0000 (02:19 +0100)]
Server/py: Fix thing proliferation bug in turn_over().

9 years agoServer/py: Fix logging bug in actor_move().
Christian Heller [Sun, 8 Mar 2015 00:28:20 +0000 (01:28 +0100)]
Server/py: Fix logging bug in actor_move().

9 years agoServer/py: Let actor_pick_up() pick up Things by highest ID.
Christian Heller [Sun, 8 Mar 2015 00:05:21 +0000 (01:05 +0100)]
Server/py: Let actor_pick_up() pick up Things by highest ID.

9 years agoServer/py: Fix buggy logging in actor_use().
Christian Heller [Sat, 7 Mar 2015 23:42:08 +0000 (00:42 +0100)]
Server/py: Fix buggy logging in actor_use().

9 years agoServer/py: Don't replicate wrongful actor_use() behavior from original.
Christian Heller [Sat, 7 Mar 2015 21:36:12 +0000 (22:36 +0100)]
Server/py: Don't replicate wrongful actor_use() behavior from original.

9 years agoServer/py: Fix another MEMTHING management bug.
Christian Heller [Sat, 7 Mar 2015 21:19:48 +0000 (22:19 +0100)]
Server/py: Fix another MEMTHING management bug.

9 years agoServer/py: Fix randomness retrieval bug.
Christian Heller [Sat, 7 Mar 2015 15:25:22 +0000 (16:25 +0100)]
Server/py: Fix randomness retrieval bug.

9 years agoServer/py: Fix memdepthmapping bug.
Christian Heller [Sat, 7 Mar 2015 13:21:46 +0000 (14:21 +0100)]
Server/py: Fix memdepthmapping bug.

9 years agoServer/py: Handle mv_yx_in_dir_legal argument bug.
Christian Heller [Sat, 7 Mar 2015 04:49:35 +0000 (05:49 +0100)]
Server/py: Handle mv_yx_in_dir_legal argument bug.

9 years agoServer/py: Ensure SEED_MAP is called after MAP_LENGTH.
Christian Heller [Sat, 7 Mar 2015 04:41:18 +0000 (05:41 +0100)]
Server/py: Ensure SEED_MAP is called after MAP_LENGTH.

9 years agoServer/py: Change order in world_db, so SEED_MAP follows MAP_LENGTH.
Christian Heller [Sat, 7 Mar 2015 04:34:21 +0000 (05:34 +0100)]
Server/py: Change order in world_db, so SEED_MAP follows MAP_LENGTH.

9 years agoServer/py: Fix T_ARGUMENT storage bug.
Christian Heller [Sat, 7 Mar 2015 04:28:50 +0000 (05:28 +0100)]
Server/py: Fix T_ARGUMENT storage bug.

9 years agoServer/py: Fix bug in command_thingshere().
Christian Heller [Sat, 7 Mar 2015 03:53:40 +0000 (04:53 +0100)]
Server/py: Fix bug in command_thingshere().

9 years agoServer/py: Fix map generation bug.
Christian Heller [Sat, 7 Mar 2015 03:34:19 +0000 (04:34 +0100)]
Server/py: Fix map generation bug.

9 years agoServer/py: Add AI infrastructure, without anything that moves actors.
Christian Heller [Fri, 6 Mar 2015 22:46:39 +0000 (23:46 +0100)]
Server/py: Add AI infrastructure, without anything that moves actors.

9 years agoServer/py: Add replica of wrongly incrementing HP through eating.
Christian Heller [Fri, 6 Mar 2015 21:59:32 +0000 (22:59 +0100)]
Server/py: Add replica of wrongly incrementing HP through eating.

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().