home · contact · privacy
plomrogue
9 years agoApply PEP8.
Christian Heller [Tue, 10 Mar 2015 04:24:03 +0000 (05:24 +0100)]
Apply PEP8.

9 years agoDocument all outsourcings from Python to C.
Christian Heller [Tue, 10 Mar 2015 04:20:32 +0000 (05:20 +0100)]
Document all outsourcings from Python to C.

9 years agoFurther server optimization by outsourcing to libplomrogue.
Christian Heller [Tue, 10 Mar 2015 04:20:14 +0000 (05:20 +0100)]
Further server optimization by outsourcing to libplomrogue.

9 years agoFix bug in testing script
Christian Heller [Tue, 10 Mar 2015 03:48:24 +0000 (04:48 +0100)]
Fix bug in testing script

9 years agotest_server.sh: Output server output, to detect crashes early.
Christian Heller [Tue, 10 Mar 2015 03:46:03 +0000 (04:46 +0100)]
test_server.sh: Output server output, to detect crashes early.

9 years agotesting script: Update reference savestate.
Christian Heller [Tue, 10 Mar 2015 03:26:43 +0000 (04:26 +0100)]
testing script: Update reference savestate.

9 years agotest_server.sh: Save test's savestate in ./testing/ instead of its diff.
Christian Heller [Tue, 10 Mar 2015 03:25:38 +0000 (04:25 +0100)]
test_server.sh: Save test's savestate in ./testing/ instead of its diff.

9 years agoUndo debugging refactoring.
Christian Heller [Tue, 10 Mar 2015 03:23:52 +0000 (04:23 +0100)]
Undo debugging refactoring.

9 years ago7DRL: Add GOD_MOOD, GOD_FAVOR properties with no use so far.
Christian Heller [Tue, 10 Mar 2015 03:18:50 +0000 (04:18 +0100)]
7DRL: Add GOD_MOOD, GOD_FAVOR properties with no use so far.

9 years agoUpdate TODO.
Christian Heller [Tue, 10 Mar 2015 03:16:16 +0000 (04:16 +0100)]
Update TODO.

9 years agoOptimize Dijkstra map algorithm.
Christian Heller [Tue, 10 Mar 2015 02:41:31 +0000 (03:41 +0100)]
Optimize Dijkstra map algorithm.

9 years agoMore lenient python3 existence test.
Christian Heller [Tue, 10 Mar 2015 02:31:06 +0000 (03:31 +0100)]
More lenient python3 existence test.

9 years agoUpdate requirements in README.
Christian Heller [Mon, 9 Mar 2015 23:47:51 +0000 (00:47 +0100)]
Update requirements in README.

9 years agoUpdate notes on portability / dependencies.
Christian Heller [Mon, 9 Mar 2015 16:28:24 +0000 (17:28 +0100)]
Update notes on portability / dependencies.

9 years agoFix typo in comment.
Christian Heller [Mon, 9 Mar 2015 16:18:19 +0000 (17:18 +0100)]
Fix typo in comment.

9 years agoDrop gcc-specific compiler flags when gcc used is just non-GNU gcc mask.
Christian Heller [Mon, 9 Mar 2015 16:15:35 +0000 (17:15 +0100)]
Drop gcc-specific compiler flags when gcc used is just non-GNU gcc mask.

9 years agoMake erle's redo-ifchange more portable, let's see if he'll adapt this.
Christian Heller [Mon, 9 Mar 2015 15:57:24 +0000 (16:57 +0100)]
Make erle's redo-ifchange more portable, let's see if he'll adapt this.

9 years agoUpdate in erlehmann's redo scripts.
Christian Heller [Mon, 9 Mar 2015 15:24:19 +0000 (16:24 +0100)]
Update in erlehmann's redo scripts.

9 years agoExplicitely call python3 in wrapper script, don't trust script hashbang.
Christian Heller [Mon, 9 Mar 2015 14:33:36 +0000 (15:33 +0100)]
Explicitely call python3 in wrapper script, don't trust script hashbang.

9 years agoAdd user-friendly safeguards against running with unmet dependencies.
Christian Heller [Mon, 9 Mar 2015 14:33:12 +0000 (15:33 +0100)]
Add user-friendly safeguards against running with unmet dependencies.

9 years agoFix redo bug in libplomrogue build file.
Christian Heller [Mon, 9 Mar 2015 14:17:14 +0000 (15:17 +0100)]
Fix redo bug in libplomrogue build file.

9 years agoAdd previously forgotten libplomrogue.so redo build file.
Christian Heller [Mon, 9 Mar 2015 11:59:18 +0000 (12:59 +0100)]
Add previously forgotten libplomrogue.so redo build file.

9 years agoUpdate/improve tests for lack of compiled files to run redo for.
Christian Heller [Mon, 9 Mar 2015 11:57:58 +0000 (12:57 +0100)]
Update/improve tests for lack of compiled files to run redo for.

9 years agoFurther changes to the build system / file paths/names.
Christian Heller [Mon, 9 Mar 2015 11:52:51 +0000 (12:52 +0100)]
Further changes to the build system / file paths/names.

9 years agoIn server test script, update path of server executable.
Christian Heller [Mon, 9 Mar 2015 11:50:23 +0000 (12:50 +0100)]
In server test script, update path of server executable.

9 years agoRemove C variant of server, redefine build system to match this change.
Christian Heller [Mon, 9 Mar 2015 11:34:32 +0000 (12:34 +0100)]
Remove C variant of server, redefine build system to match this change.

9 years agoUpdate SERVER_COMMANDS info on T_ID, TA_ID, TT_ID.
Christian Heller [Mon, 9 Mar 2015 11:33:42 +0000 (12:33 +0100)]
Update SERVER_COMMANDS info on T_ID, TA_ID, TT_ID.

9 years agoServer/py: Remove superfluous line.
Christian Heller [Mon, 9 Mar 2015 11:03:42 +0000 (12:03 +0100)]
Server/py: Remove superfluous line.

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.