home · contact · privacy
plomrogue
8 years agoRedo AI.
Christian Heller [Wed, 9 Sep 2015 02:06:25 +0000 (04:06 +0200)]
Redo AI.

8 years agoClient: Slightly grow wait time in test_and_poll_server().
Christian Heller [Wed, 9 Sep 2015 01:41:38 +0000 (03:41 +0200)]
Client: Slightly grow wait time in test_and_poll_server().

8 years agoBetter integration of eat cost vs. eat gain in all AI deliberations.
Christian Heller [Wed, 9 Sep 2015 01:39:32 +0000 (03:39 +0200)]
Better integration of eat cost vs. eat gain in all AI deliberations.

8 years agoget_nventory_slot_to_consume(t): Eat anything if deep in the red.
Christian Heller [Tue, 8 Sep 2015 12:00:11 +0000 (14:00 +0200)]
get_nventory_slot_to_consume(t): Eat anything if deep in the red.

8 years agoUse dedicated log() for all log messages.
Christian Heller [Tue, 8 Sep 2015 11:47:04 +0000 (13:47 +0200)]
Use dedicated log() for all log messages.

8 years agoEnhance sanity of get_inventory_slot_to_consume.
Christian Heller [Tue, 8 Sep 2015 11:39:41 +0000 (13:39 +0200)]
Enhance sanity of get_inventory_slot_to_consume.

8 years agoFix bug in standing_on_food() (returned True on items in inventory).
Christian Heller [Tue, 8 Sep 2015 11:27:57 +0000 (13:27 +0200)]
Fix bug in standing_on_food() (returned True on items in inventory).

8 years agoImprove try_healing() chance.
Christian Heller [Tue, 8 Sep 2015 11:26:02 +0000 (13:26 +0200)]
Improve try_healing() chance.

8 years agoSimplify hungering / over-eating, depend on TT_LIFEPOINTS for amount.
Christian Heller [Tue, 8 Sep 2015 11:22:35 +0000 (13:22 +0200)]
Simplify hungering / over-eating, depend on TT_LIFEPOINTS for amount.

8 years agoIn hunger(), correct log messages on actually over-eating,not hungering.
Christian Heller [Tue, 8 Sep 2015 11:15:49 +0000 (13:15 +0200)]
In hunger(), correct log messages on actually over-eating,not hungering.

8 years agoDefine stack order by thing type id order (highest = lowest type id).
Christian Heller [Sat, 5 Sep 2015 04:09:28 +0000 (06:09 +0200)]
Define stack order by thing type id order (highest = lowest type id).

8 years agoServer: Fix determinism bug in thingproliferation.
Christian Heller [Sat, 5 Sep 2015 04:01:10 +0000 (06:01 +0200)]
Server: Fix determinism bug in thingproliferation.

8 years agoClient: Fix log window drawing bug (too small winmap allocated).
Christian Heller [Sat, 5 Sep 2015 00:12:40 +0000 (02:12 +0200)]
Client: Fix log window drawing bug (too small winmap allocated).

8 years agoFix memory map not updating world map terrain when previously explored.
Christian Heller [Tue, 1 Sep 2015 02:20:23 +0000 (04:20 +0200)]
Fix memory map not updating world map terrain when previously explored.

8 years agoIn actor_move(), don't test target cell passability earlier than needed.
Christian Heller [Tue, 1 Sep 2015 02:14:55 +0000 (04:14 +0200)]
In actor_move(), don't test target cell passability earlier than needed.

8 years agoReplace TT_CONSUMABLE with more general TT_TOOL (type) and TT_TOOLPOWER.
Christian Heller [Tue, 1 Sep 2015 02:13:25 +0000 (04:13 +0200)]
Replace TT_CONSUMABLE with more general TT_TOOL (type) and TT_TOOLPOWER.

8 years agoAllow greater TT_PROLIFERATE values.
Christian Heller [Tue, 1 Sep 2015 01:45:12 +0000 (03:45 +0200)]
Allow greater TT_PROLIFERATE values.

8 years agoMore helpfulness on how to start over in a new game world.
Christian Heller [Tue, 1 Sep 2015 01:43:43 +0000 (03:43 +0200)]
More helpfulness on how to start over in a new game world.

8 years agoUpdate documentation.
Christian Heller [Tue, 1 Sep 2015 01:38:45 +0000 (03:38 +0200)]
Update documentation.

8 years agoAdd log_help(), short usage info set to log on server start.
Christian Heller [Tue, 1 Sep 2015 01:29:22 +0000 (03:29 +0200)]
Add log_help(), short usage info set to log on server start.

8 years agoturn_over(): hunger() before Thing action, so no suicide corpses hunger.
Christian Heller [Tue, 1 Sep 2015 01:16:22 +0000 (03:16 +0200)]
turn_over(): hunger() before Thing action, so no suicide corpses hunger.

8 years agoImprove input validation in command_worldactive().
Christian Heller [Tue, 1 Sep 2015 01:06:12 +0000 (03:06 +0200)]
Improve input validation in command_worldactive().

8 years agoHandle cases where game / server starts on dead player.
Christian Heller [Tue, 1 Sep 2015 01:05:05 +0000 (03:05 +0200)]
Handle cases where game / server starts on dead player.

8 years agoRename remake_map() to make_map().
Christian Heller [Tue, 1 Sep 2015 00:58:52 +0000 (02:58 +0200)]
Rename remake_map() to make_map().

8 years agoFix map invalidation in command_maplength().
Christian Heller [Tue, 1 Sep 2015 00:57:26 +0000 (02:57 +0200)]
Fix map invalidation in command_maplength().

8 years agoSave world map in savefile, generate only on MAKE_WORLD, drop SEED_MAP.
Christian Heller [Tue, 1 Sep 2015 00:51:56 +0000 (02:51 +0200)]
Save world map in savefile, generate only on MAKE_WORLD, drop SEED_MAP.

8 years agoOutput message about inability to set world active.
Christian Heller [Mon, 31 Aug 2015 23:54:04 +0000 (01:54 +0200)]
Output message about inability to set world active.

8 years agoUpdate SERVER_COMMANDS documentation.
Christian Heller [Mon, 31 Aug 2015 23:51:40 +0000 (01:51 +0200)]
Update SERVER_COMMANDS documentation.

8 years agoIgnore lowercase-starting (= player) commands when world is inactive.
Christian Heller [Mon, 31 Aug 2015 23:45:17 +0000 (01:45 +0200)]
Ignore lowercase-starting (= player) commands when world is inactive.

8 years agoRe-insert map existence check in command_worldactive().
Christian Heller [Mon, 31 Aug 2015 23:41:53 +0000 (01:41 +0200)]
Re-insert map existence check in command_worldactive().

8 years agoDon't save non-active world.
Christian Heller [Mon, 31 Aug 2015 23:38:45 +0000 (01:38 +0200)]
Don't save non-active world.

8 years agoSimplify and optimizing Thing proliferation rules.
Christian Heller [Mon, 31 Aug 2015 23:30:18 +0000 (01:30 +0200)]
Simplify and optimizing Thing proliferation rules.

8 years agoMinor optimization in update_map_memory().
Christian Heller [Mon, 31 Aug 2015 22:56:48 +0000 (00:56 +0200)]
Minor optimization in update_map_memory().

8 years agoLet actor_pick_up pick up most nutritious Thing as topmost Thing.
Christian Heller [Wed, 26 Aug 2015 03:29:29 +0000 (05:29 +0200)]
Let actor_pick_up pick up most nutritious Thing as topmost Thing.

8 years agoLet dying actors drop their things.
Christian Heller [Wed, 26 Aug 2015 03:24:31 +0000 (05:24 +0200)]
Let dying actors drop their things.

8 years agoFix replay mode overwriting save file on quit.
Christian Heller [Wed, 26 Aug 2015 03:19:28 +0000 (05:19 +0200)]
Fix replay mode overwriting save file on quit.

8 years agoFix string building bug in actor_move().
Christian Heller [Wed, 26 Aug 2015 03:18:20 +0000 (05:18 +0200)]
Fix string building bug in actor_move().

8 years agoFix save_world() bug.
Christian Heller [Wed, 26 Aug 2015 03:07:53 +0000 (05:07 +0200)]
Fix save_world() bug.

8 years agoRemove log messages about actions the player is not involved in.
Christian Heller [Wed, 26 Aug 2015 03:07:09 +0000 (05:07 +0200)]
Remove log messages about actions the player is not involved in.

8 years agoServer: Minor stylistic/cosmetic improvements to update_map_memory().
Christian Heller [Wed, 26 Aug 2015 02:52:55 +0000 (04:52 +0200)]
Server: Minor stylistic/cosmetic improvements to update_map_memory().

8 years agoMinor formatting improvement.
Christian Heller [Wed, 26 Aug 2015 02:38:50 +0000 (04:38 +0200)]
Minor formatting improvement.

8 years agoMore informative outsourcing notes.
Christian Heller [Wed, 26 Aug 2015 02:38:16 +0000 (04:38 +0200)]
More informative outsourcing notes.

8 years agoRemove unused variable.
Christian Heller [Wed, 26 Aug 2015 02:37:28 +0000 (04:37 +0200)]
Remove unused variable.

8 years agoFix typo in comment.
Christian Heller [Wed, 26 Aug 2015 02:36:35 +0000 (04:36 +0200)]
Fix typo in comment.

8 years agoApply PEP8.
Christian Heller [Wed, 26 Aug 2015 02:33:55 +0000 (04:33 +0200)]
Apply PEP8.

8 years agoDocument all outsourcings from Python to C.
Christian Heller [Wed, 26 Aug 2015 01:42:17 +0000 (03:42 +0200)]
Document all outsourcings from Python to C.

8 years agoFurther server optimization by outsourcing to libplomrogue.
Christian Heller [Wed, 26 Aug 2015 01:39:07 +0000 (03:39 +0200)]
Further server optimization by outsourcing to libplomrogue.

8 years agoUpdate TODO.
Christian Heller [Wed, 26 Aug 2015 01:21:51 +0000 (03:21 +0200)]
Update TODO.

8 years agoOptimize Dijkstra map algorithm.
Christian Heller [Wed, 26 Aug 2015 01:15:02 +0000 (03:15 +0200)]
Optimize Dijkstra map algorithm.

8 years agoMore lenient python3 existence test.
Christian Heller [Wed, 26 Aug 2015 01:12:11 +0000 (03:12 +0200)]
More lenient python3 existence test.

8 years agoUpdate notes on requirements, portability, dependencies, installation.
Christian Heller [Tue, 25 Aug 2015 04:18:32 +0000 (06:18 +0200)]
Update notes on requirements, portability, dependencies, installation.

8 years agoDrop gcc-specific compiler flags when gcc used is just non-GNU gcc mask.
Christian Heller [Tue, 25 Aug 2015 04:15:33 +0000 (06:15 +0200)]
Drop gcc-specific compiler flags when gcc used is just non-GNU gcc mask.

8 years agoMake erle's redo-ifchange more portable, let's see if he'll adapt this.
Christian Heller [Tue, 25 Aug 2015 04:13:09 +0000 (06:13 +0200)]
Make erle's redo-ifchange more portable, let's see if he'll adapt this.

8 years agoUpdate in erlehmann's redo scripts.
Christian Heller [Tue, 25 Aug 2015 04:08:38 +0000 (06:08 +0200)]
Update in erlehmann's redo scripts.

8 years agoExplicitely call python3 in wrapper script, don't trust script hashbang.
Christian Heller [Tue, 25 Aug 2015 04:07:33 +0000 (06:07 +0200)]
Explicitely call python3 in wrapper script, don't trust script hashbang.

8 years agoFix bug that created None id'd things in new worlds.
Christian Heller [Tue, 25 Aug 2015 04:05:32 +0000 (06:05 +0200)]
Fix bug that created None id'd things in new worlds.

8 years agoAdd user-friendly safeguards against running with unmet dependencies.
Christian Heller [Tue, 25 Aug 2015 03:37:49 +0000 (05:37 +0200)]
Add user-friendly safeguards against running with unmet dependencies.

8 years agoUpdate/improve tests for lack of compiled files to run redo for.
Christian Heller [Tue, 25 Aug 2015 03:34:27 +0000 (05:34 +0200)]
Update/improve tests for lack of compiled files to run redo for.

8 years agoFurther changes/fixes to the build system / file system paths.
Christian Heller [Tue, 25 Aug 2015 03:26:34 +0000 (05:26 +0200)]
Further changes/fixes to the build system / file system paths.

8 years agoUpdate testing script to stomach previous commit's changes.
Christian Heller [Tue, 25 Aug 2015 03:10:03 +0000 (05:10 +0200)]
Update testing script to stomach previous commit's changes.

8 years agoRemove C variant of server, redefine build system to match this change.
Christian Heller [Tue, 25 Aug 2015 03:08:00 +0000 (05:08 +0200)]
Remove C variant of server, redefine build system to match this change.

8 years agoServer/py: Remove superfluous line.
Christian Heller [Tue, 25 Aug 2015 02:58:27 +0000 (04:58 +0200)]
Server/py: Remove superfluous line.

8 years agoWrite worldstate sans atomicity deletion,for less outage towards client.
Christian Heller [Tue, 25 Aug 2015 02:56:48 +0000 (04:56 +0200)]
Write worldstate sans atomicity deletion,for less outage towards client.

8 years agoFix comment typo.
Christian Heller [Tue, 25 Aug 2015 02:53:41 +0000 (04:53 +0200)]
Fix comment typo.

8 years agoEnsure equal data is written in equal command order to a save file.
Christian Heller [Tue, 25 Aug 2015 02:52:07 +0000 (04:52 +0200)]
Ensure equal data is written in equal command order to a save file.

8 years agoAbolish upper ID limits.
Christian Heller [Tue, 25 Aug 2015 02:15:29 +0000 (04:15 +0200)]
Abolish upper ID limits.

8 years agoRename and improve testing script.
Christian Heller [Tue, 25 Aug 2015 02:05:24 +0000 (04:05 +0200)]
Rename and improve testing script.

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