home · contact · privacy
plomrogue
8 years agoNew clinet: Add workaround for ncurses' last-char-on-window issue.
Christian Heller [Sat, 28 Nov 2015 13:48:46 +0000 (14:48 +0100)]
New clinet: Add workaround for ncurses' last-char-on-window issue.

8 years agoNew client: Read in player position and map size.
Christian Heller [Sat, 28 Nov 2015 11:44:13 +0000 (12:44 +0100)]
New client: Read in player position and map size.

8 years agoNew client: Read/display inventory.
Christian Heller [Sat, 28 Nov 2015 11:41:05 +0000 (12:41 +0100)]
New client: Read/display inventory.

8 years agoServer: Change out file mode to "a", fixes writes to it from elsewhere.
Christian Heller [Sun, 22 Nov 2015 22:41:06 +0000 (23:41 +0100)]
Server: Change out file mode to "a", fixes writes to it from elsewhere.

8 years agoNew client: Improve code readability.
Christian Heller [Sun, 22 Nov 2015 22:27:46 +0000 (23:27 +0100)]
New client: Improve code readability.

8 years agoNew client: Add log reading, log window.
Christian Heller [Sun, 22 Nov 2015 22:26:03 +0000 (23:26 +0100)]
New client: Add log reading, log window.

9 years agoNew client: Handle width of stats window more flexibly.
Christian Heller [Sun, 22 Nov 2015 20:11:07 +0000 (21:11 +0100)]
New client: Handle width of stats window more flexibly.

9 years agoNew client: Add dedicated stats window, read HP and Satiation score.
Christian Heller [Sun, 22 Nov 2015 20:06:35 +0000 (21:06 +0100)]
New client: Add dedicated stats window, read HP and Satiation score.

9 years agoNew client: Test worldstate file for changes, read in turn number.
Christian Heller [Sun, 22 Nov 2015 19:42:50 +0000 (20:42 +0100)]
New client: Test worldstate file for changes, read in turn number.

9 years agoNew client: Remove debugging code.
Christian Heller [Sat, 7 Nov 2015 20:54:50 +0000 (21:54 +0100)]
New client: Remove debugging code.

9 years agoNew client: Reorganize code.
Christian Heller [Sat, 7 Nov 2015 20:54:31 +0000 (21:54 +0100)]
New client: Reorganize code.

9 years agoNew client: Reorganize code.
Christian Heller [Sat, 7 Nov 2015 20:47:22 +0000 (21:47 +0100)]
New client: Reorganize code.

9 years agoNew client: Reorganize code.
Christian Heller [Sat, 7 Nov 2015 20:43:36 +0000 (21:43 +0100)]
New client: Reorganize code.

9 years agoNew client: Remove debugging code.
Christian Heller [Sat, 7 Nov 2015 20:37:17 +0000 (21:37 +0100)]
New client: Remove debugging code.

9 years agoNew client: Reset delay after screen redraw.
Christian Heller [Sat, 7 Nov 2015 20:36:34 +0000 (21:36 +0100)]
New client: Reset delay after screen redraw.

9 years agoNew client: Read messages from file into message queue.
Christian Heller [Sat, 7 Nov 2015 20:36:12 +0000 (21:36 +0100)]
New client: Read messages from file into message queue.

9 years agoNew client: Only redraw screen when content change can be assumed.
Christian Heller [Sat, 7 Nov 2015 19:39:12 +0000 (20:39 +0100)]
New client: Only redraw screen when content change can be assumed.

9 years agoNew client: Grow server/client IO, add ping/pong test, polling rump.
Christian Heller [Sat, 7 Nov 2015 19:33:02 +0000 (20:33 +0100)]
New client: Grow server/client IO, add ping/pong test, polling rump.

9 years agoNew client: Structure flow with try-except-finally.
Christian Heller [Tue, 3 Nov 2015 21:29:22 +0000 (22:29 +0100)]
New client: Structure flow with try-except-finally.

9 years agoNew client: Add client->server communication, with QUIT command.
Christian Heller [Sat, 31 Oct 2015 12:13:41 +0000 (13:13 +0100)]
New client: Add client->server communication, with QUIT command.

9 years agoNew client: Set up rump command DB infrastructure.
Christian Heller [Sat, 31 Oct 2015 11:56:19 +0000 (12:56 +0100)]
New client: Set up rump command DB infrastructure.

9 years agoNew client: Minor variable renaming (make it more descriptive).
Christian Heller [Sat, 31 Oct 2015 11:38:09 +0000 (12:38 +0100)]
New client: Minor variable renaming (make it more descriptive).

9 years agoNew client: Minor code reorganization.
Christian Heller [Sat, 31 Oct 2015 11:33:16 +0000 (12:33 +0100)]
New client: Minor code reorganization.

9 years agoNew client: Outcomment line that's probably not needed.
Christian Heller [Sat, 31 Oct 2015 11:22:57 +0000 (12:22 +0100)]
New client: Outcomment line that's probably not needed.

9 years agoNew client: Add scroll hints.
Christian Heller [Sat, 31 Oct 2015 11:21:43 +0000 (12:21 +0100)]
New client: Add scroll hints.

9 years agoNew client: Add basic window scroll hints.
Christian Heller [Fri, 25 Sep 2015 03:55:48 +0000 (05:55 +0200)]
New client: Add basic window scroll hints.

9 years agoNew client: Fix crashes from window resizing.
Christian Heller [Fri, 25 Sep 2015 03:11:31 +0000 (05:11 +0200)]
New client: Fix crashes from window resizing.

9 years agoNew client: Read Q as quit signal.
Christian Heller [Fri, 25 Sep 2015 02:17:52 +0000 (04:17 +0200)]
New client: Read Q as quit signal.

9 years agoNew client: Handle window resizing.
Christian Heller [Fri, 25 Sep 2015 02:11:25 +0000 (04:11 +0200)]
New client: Handle window resizing.

9 years agoMinor code/comment-stylistic improvements.
Christian Heller [Tue, 22 Sep 2015 23:37:10 +0000 (01:37 +0200)]
Minor code/comment-stylistic improvements.

9 years agoAdd beginnings of Python client.
Christian Heller [Wed, 16 Sep 2015 03:09:53 +0000 (05:09 +0200)]
Add beginnings of Python client.

9 years agoAdd basic plugin infrastructure.
Christian Heller [Mon, 14 Sep 2015 03:08:38 +0000 (05:08 +0200)]
Add basic plugin infrastructure.

9 years agoMake log messages more expressive, remove never-called ones.
Christian Heller [Wed, 9 Sep 2015 04:08:08 +0000 (06:08 +0200)]
Make log messages more expressive, remove never-called ones.

9 years agoAdd forgiving checks for player mistakes.
Christian Heller [Wed, 9 Sep 2015 03:58:20 +0000 (05:58 +0200)]
Add forgiving checks for player mistakes.

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

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

9 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.

9 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.

9 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.

9 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.

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

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

9 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.

9 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.

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

9 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.

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

9 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.

9 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.

9 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.

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

9 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.

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

9 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.

9 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.

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

9 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.

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

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

9 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.

9 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.

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

9 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.

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

9 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.

9 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.

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

9 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.

9 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.

9 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.

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

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

9 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.

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

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

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

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

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

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

9 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.

9 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.

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

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

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

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

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

9 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.

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

9 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.

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