home · contact · privacy
plomrogue
9 years agoServer/py: Improve doc string.
Christian Heller [Tue, 17 Feb 2015 05:29:57 +0000 (06:29 +0100)]
Server/py: Improve doc string.

9 years agoServer/py: Add tokenizer function.
Christian Heller [Tue, 17 Feb 2015 05:23:49 +0000 (06:23 +0100)]
Server/py: Add tokenizer function.

9 years agoServer/py: Minor text improvements. Handle no-records-file case.
Christian Heller [Tue, 17 Feb 2015 03:02:19 +0000 (04:02 +0100)]
Server/py: Minor text improvements. Handle no-records-file case.

9 years agoServer/py: Improve replay integration.
Christian Heller [Tue, 17 Feb 2015 02:46:34 +0000 (03:46 +0100)]
Server/py: Improve replay integration.

9 years agoServer/py: Add obey() dummy for C variant's obey_msg().
Christian Heller [Tue, 17 Feb 2015 02:38:23 +0000 (03:38 +0100)]
Server/py: Add obey() dummy for C variant's obey_msg().

9 years agoServer/py: Realize slightly more of C variant's run_game() structure.
Christian Heller [Tue, 17 Feb 2015 02:29:48 +0000 (03:29 +0100)]
Server/py: Realize slightly more of C variant's run_game() structure.

9 years agoServer/py: Minor refactoring.
Christian Heller [Tue, 17 Feb 2015 02:19:10 +0000 (03:19 +0100)]
Server/py: Minor refactoring.

9 years agoServer/py: Add command line help, handle pre-server-io-setup exits.
Christian Heller [Tue, 17 Feb 2015 02:05:58 +0000 (03:05 +0100)]
Server/py: Add command line help, handle pre-server-io-setup exits.

9 years agoServer/py: Add command line parser for replay option.
Christian Heller [Tue, 17 Feb 2015 01:56:06 +0000 (02:56 +0100)]
Server/py: Add command line parser for replay option.

9 years agoServer/py: Improve docstring.
Christian Heller [Tue, 17 Feb 2015 00:49:34 +0000 (01:49 +0100)]
Server/py: Improve docstring.

9 years agoServer/py: More expressive error message on unhandled exceptions.
Christian Heller [Tue, 17 Feb 2015 00:46:11 +0000 (01:46 +0100)]
Server/py: More expressive error message on unhandled exceptions.

9 years agoServer/py: Implement C's detect_atomic_leftover(), part of run_game().
Christian Heller [Tue, 17 Feb 2015 00:43:43 +0000 (01:43 +0100)]
Server/py: Implement C's detect_atomic_leftover(), part of run_game().

9 years agoServer/py: Apply pep8 style.
Christian Heller [Tue, 17 Feb 2015 00:12:15 +0000 (01:12 +0100)]
Server/py: Apply pep8 style.

9 years agoServer/Py: Remove flush() the necessity of which I can't rationalize.
Christian Heller [Mon, 16 Feb 2015 22:29:12 +0000 (23:29 +0100)]
Server/Py: Remove flush() the necessity of which I can't rationalize.

9 years agoAs of yet non-functional roguelike-server Python replacement.
Christian Heller [Mon, 16 Feb 2015 22:25:34 +0000 (23:25 +0100)]
As of yet non-functional roguelike-server Python replacement.

9 years agoServer: Add regeneration of lifepoints on positive satiation values.
Christian Heller [Sun, 15 Feb 2015 04:37:03 +0000 (05:37 +0100)]
Server: Add regeneration of lifepoints on positive satiation values.

9 years agoServer/AI: Only hunt enemies up to a certain distance.
Christian Heller [Sun, 15 Feb 2015 03:01:31 +0000 (04:01 +0100)]
Server/AI: Only hunt enemies up to a certain distance.

9 years agoServer/AI: Minor improvements to fleeing algorithm.
Christian Heller [Sat, 14 Feb 2015 22:56:09 +0000 (23:56 +0100)]
Server/AI: Minor improvements to fleeing algorithm.

9 years agoServer: Remove .stomach thing type attribute, derive from .lifepoints.
Christian Heller [Sun, 8 Feb 2015 15:49:49 +0000 (16:49 +0100)]
Server: Remove .stomach thing type attribute, derive from .lifepoints.

9 years agoMinor code re-styling.
Christian Heller [Sun, 8 Feb 2015 05:12:54 +0000 (06:12 +0100)]
Minor code re-styling.

9 years agoServer: Use thing's .consumable as what's pushing up its .satiation.
Christian Heller [Sun, 8 Feb 2015 04:47:30 +0000 (05:47 +0100)]
Server: Use thing's .consumable as what's pushing up its .satiation.

9 years agoAdd basic food clock (but no consumables yet to re-set it).
Christian Heller [Sun, 8 Feb 2015 04:31:17 +0000 (05:31 +0100)]
Add basic food clock (but no consumables yet to re-set it).

9 years agoClient: Improve test_and_poll_server() ping test logic / timing.
Christian Heller [Fri, 6 Feb 2015 01:11:11 +0000 (02:11 +0100)]
Client: Improve test_and_poll_server() ping test logic / timing.

9 years agoServer: Fix segfault when parsing THINGS_HERE on player sans .fov_map.
Christian Heller [Fri, 6 Feb 2015 00:00:56 +0000 (01:00 +0100)]
Server: Fix segfault when parsing THINGS_HERE on player sans .fov_map.

9 years agoServer/AI: From directions of equal attractiveness, choose randomly.
Christian Heller [Wed, 4 Feb 2015 05:36:18 +0000 (06:36 +0100)]
Server/AI: From directions of equal attractiveness, choose randomly.

9 years agoServer: Fix buggy list of directions in try_thing_proliferation().
Christian Heller [Wed, 4 Feb 2015 04:35:44 +0000 (05:35 +0100)]
Server: Fix buggy list of directions in try_thing_proliferation().

9 years agoUpdate README.
Christian Heller [Tue, 3 Feb 2015 04:54:25 +0000 (05:54 +0100)]
Update README.

9 years agoServer/AI: Flee actors whose type starts with more lifepoints than own.
Christian Heller [Tue, 3 Feb 2015 04:44:23 +0000 (05:44 +0100)]
Server/AI: Flee actors whose type starts with more lifepoints than own.

9 years agoServer: Minor refactoring of get_dir_to_nearest_target().
Christian Heller [Sun, 1 Feb 2015 03:47:47 +0000 (04:47 +0100)]
Server: Minor refactoring of get_dir_to_nearest_target().

9 years agoAdd to TODO.
Christian Heller [Fri, 30 Jan 2015 05:59:28 +0000 (06:59 +0100)]
Add to TODO.

9 years agoUpdate copyright notice.
Christian Heller [Fri, 30 Jan 2015 05:59:15 +0000 (06:59 +0100)]
Update copyright notice.

9 years agoServer/AI: Explore map for (long-time) unexplored cells.
Christian Heller [Fri, 30 Jan 2015 05:58:04 +0000 (06:58 +0100)]
Server/AI: Explore map for (long-time) unexplored cells.

9 years agoClient: Fix buggy log window size pre-calculating triggering segfaults.
Christian Heller [Thu, 29 Jan 2015 05:16:31 +0000 (06:16 +0100)]
Client: Fix buggy log window size pre-calculating triggering segfaults.

9 years agoServer: Refactoring of initialization of empty maps.
Christian Heller [Tue, 27 Jan 2015 03:58:04 +0000 (04:58 +0100)]
Server: Refactoring of initialization of empty maps.

9 years agoFix hardcoding of MAGIC MEAT thing name.
Christian Heller [Tue, 27 Jan 2015 02:22:50 +0000 (03:22 +0100)]
Fix hardcoding of MAGIC MEAT thing name.

9 years agoClient: Fix too small memory allocation for window config view.
Christian Heller [Sun, 18 Jan 2015 01:46:03 +0000 (02:46 +0100)]
Client: Fix too small memory allocation for window config view.

9 years agoFor large logs, only once (pre-)alloc winmap memory.
Christian Heller [Sat, 17 Jan 2015 23:14:23 +0000 (00:14 +0100)]
For large logs, only once (pre-)alloc winmap memory.

9 years agoAdd notes about redo'ing on OS X systems.
Christian Heller [Sun, 7 Dec 2014 21:36:38 +0000 (22:36 +0100)]
Add notes about redo'ing on OS X systems.

9 years agoAdd to TODO.
Christian Heller [Sun, 7 Dec 2014 21:31:27 +0000 (22:31 +0100)]
Add to TODO.

9 years agoAdd to TODO.
Christian Heller [Sun, 7 Dec 2014 21:29:27 +0000 (22:29 +0100)]
Add to TODO.

9 years agoClient: More flexible server polling, shrink alertness on inactivity.
Christian Heller [Sun, 7 Dec 2014 21:18:56 +0000 (22:18 +0100)]
Client: More flexible server polling, shrink alertness on inactivity.

9 years agoClient: Shorten waiting-for-server message in "Items here" window.
Christian Heller [Sun, 7 Dec 2014 20:34:49 +0000 (21:34 +0100)]
Client: Shorten waiting-for-server message in "Items here" window.

9 years agoClient: Be verbose about waiting for server input for "Things here" win.
Christian Heller [Sun, 7 Dec 2014 20:23:48 +0000 (21:23 +0100)]
Client: Be verbose about waiting for server input for "Things here" win.

9 years agoServer: Decouple update_map_memory() and build_fov_map(), thus fix bugs.
Christian Heller [Sun, 7 Dec 2014 05:59:38 +0000 (06:59 +0100)]
Server: Decouple update_map_memory() and build_fov_map(), thus fix bugs.

9 years agoServer: Fix doubling of items listed via THINGS_HERE.
Christian Heller [Sun, 7 Dec 2014 03:39:26 +0000 (04:39 +0100)]
Server: Fix doubling of items listed via THINGS_HERE.

9 years agoServer: Add animate things in field of view to THINGS_HERE results.
Christian Heller [Sun, 7 Dec 2014 03:16:30 +0000 (04:16 +0100)]
Server: Add animate things in field of view to THINGS_HERE results.

9 years agoServer: Send THINGS_HERE data only about things in player's map memory.
Christian Heller [Sun, 7 Dec 2014 03:00:21 +0000 (04:00 +0100)]
Server: Send THINGS_HERE data only about things in player's map memory.

9 years agoServer: Remove redundant setting of world.do_update.
Christian Heller [Sun, 7 Dec 2014 02:44:52 +0000 (03:44 +0100)]
Server: Remove redundant setting of world.do_update.

9 years agoServer: Execute THINGS_HERE command only on existing worlds.
Christian Heller [Sun, 7 Dec 2014 02:35:51 +0000 (03:35 +0100)]
Server: Execute THINGS_HERE command only on existing worlds.

9 years agoServer: Don't segfault on lack of THINGS_HERE arguments.
Christian Heller [Sun, 7 Dec 2014 02:21:34 +0000 (03:21 +0100)]
Server: Don't segfault on lack of THINGS_HERE arguments.

9 years agoClient: Don't confuse map window's winconfig view centering.
Christian Heller [Sat, 6 Dec 2014 07:16:43 +0000 (08:16 +0100)]
Client: Don't confuse map window's winconfig view centering.

9 years agoClient: Slightly expand map area displayed.
Christian Heller [Sat, 6 Dec 2014 06:51:07 +0000 (07:51 +0100)]
Client: Slightly expand map area displayed.

9 years agoClient: Remove redundant map scrolling code.
Christian Heller [Sat, 6 Dec 2014 06:24:15 +0000 (07:24 +0100)]
Client: Remove redundant map scrolling code.

9 years agoClient: Drop now redundant map centering systems.
Christian Heller [Sat, 6 Dec 2014 06:12:37 +0000 (07:12 +0100)]
Client: Drop now redundant map centering systems.

9 years agoAdd "look" mode to query things on any cell via new THINGS_HERE command.
Christian Heller [Sat, 6 Dec 2014 05:34:32 +0000 (06:34 +0100)]
Add "look" mode to query things on any cell via new THINGS_HERE command.

9 years agoServer: Restructure io_loop(), and make obey_msg() handle meta commands.
Christian Heller [Sat, 6 Dec 2014 02:42:57 +0000 (03:42 +0100)]
Server: Restructure io_loop(), and make obey_msg() handle meta commands.

9 years agoAdd to TODO.
Christian Heller [Fri, 21 Nov 2014 01:38:41 +0000 (02:38 +0100)]
Add to TODO.

9 years agoClient: In "Standing on", mark emptiness against lack of server input.
Christian Heller [Fri, 21 Nov 2014 01:26:01 +0000 (02:26 +0100)]
Client: In "Standing on", mark emptiness against lack of server input.

9 years agoUpdate text in SERVER_COMMANDS.
Christian Heller [Fri, 21 Nov 2014 01:00:32 +0000 (02:00 +0100)]
Update text in SERVER_COMMANDS.

9 years agoClient: Remove references to removed window.
Christian Heller [Fri, 21 Nov 2014 00:24:22 +0000 (01:24 +0100)]
Client: Remove references to removed window.

9 years agoDisplay stack of things player is standing on.
Christian Heller [Fri, 21 Nov 2014 00:08:49 +0000 (01:08 +0100)]
Display stack of things player is standing on.

9 years agoServer: Add explanatory comment.
Christian Heller [Thu, 20 Nov 2014 23:52:00 +0000 (00:52 +0100)]
Server: Add explanatory comment.

9 years agoClient: Add size test to array_append().
Christian Heller [Thu, 20 Nov 2014 23:29:55 +0000 (00:29 +0100)]
Client: Add size test to array_append().

9 years agoServer: Fix "WORLD_UDPATED" message to "WORLD_UPDATED" message.
Christian Heller [Thu, 20 Nov 2014 23:11:06 +0000 (00:11 +0100)]
Server: Fix "WORLD_UDPATED" message to "WORLD_UPDATED" message.

9 years agoServer: Send "WORLD_UPDATED" message in parallel to worldstate updating.
Christian Heller [Thu, 20 Nov 2014 22:58:38 +0000 (23:58 +0100)]
Server: Send "WORLD_UPDATED" message in parallel to worldstate updating.

9 years agoClient: Remove superfluous line of code.
Christian Heller [Thu, 20 Nov 2014 22:24:20 +0000 (23:24 +0100)]
Client: Remove superfluous line of code.

9 years agoAdd to TODO.
Christian Heller [Thu, 20 Nov 2014 22:07:02 +0000 (23:07 +0100)]
Add to TODO.

9 years agoServer: Only fflush() via send_to_outfile() when messages are finished.
Christian Heller [Thu, 20 Nov 2014 21:53:35 +0000 (22:53 +0100)]
Server: Only fflush() via send_to_outfile() when messages are finished.

9 years agoAdd to TODO.
Christian Heller [Thu, 20 Nov 2014 21:42:05 +0000 (22:42 +0100)]
Add to TODO.

9 years agoOn world (re-)generation, server sends 'NEW_WORLD', client clears log.
Christian Heller [Thu, 20 Nov 2014 21:37:29 +0000 (22:37 +0100)]
On world (re-)generation, server sends 'NEW_WORLD', client clears log.

9 years agoMore correct comment.
Christian Heller [Fri, 14 Nov 2014 13:54:06 +0000 (14:54 +0100)]
More correct comment.

9 years agoFurther comment refinement.
Christian Heller [Fri, 14 Nov 2014 13:32:55 +0000 (14:32 +0100)]
Further comment refinement.

9 years agoFurther expansion of comments.
Christian Heller [Fri, 14 Nov 2014 13:31:56 +0000 (14:31 +0100)]
Further expansion of comments.

9 years agoClient: More complete comments.
Christian Heller [Fri, 14 Nov 2014 13:11:34 +0000 (14:11 +0100)]
Client: More complete comments.

9 years agoClient Improve comments.
Christian Heller [Fri, 14 Nov 2014 13:05:33 +0000 (14:05 +0100)]
Client Improve comments.

9 years agoClient: Rename read_outfile() to more precise read_queue().
Christian Heller [Fri, 14 Nov 2014 12:59:46 +0000 (13:59 +0100)]
Client: Rename read_outfile() to more precise read_queue().

9 years agoClient: ping_pong_test() + try_growing_queue() = test_and_poll_server()
Christian Heller [Fri, 14 Nov 2014 12:57:26 +0000 (13:57 +0100)]
Client: ping_pong_test() + try_growing_queue() = test_and_poll_server()

9 years agoAdd TODO.
Christian Heller [Fri, 14 Nov 2014 06:09:49 +0000 (07:09 +0100)]
Add TODO.

9 years agoRemove finished TODO task.
Christian Heller [Fri, 14 Nov 2014 06:03:30 +0000 (07:03 +0100)]
Remove finished TODO task.

9 years agoSimplify queue reading/writing.
Christian Heller [Fri, 14 Nov 2014 06:02:36 +0000 (07:02 +0100)]
Simplify queue reading/writing.

9 years agoTo read_file_into_queue(), add queue size test.
Christian Heller [Fri, 14 Nov 2014 03:10:25 +0000 (04:10 +0100)]
To read_file_into_queue(), add queue size test.

9 years agoSend log messages through server out file. Includes major refactoring.
Christian Heller [Fri, 14 Nov 2014 02:52:28 +0000 (03:52 +0100)]
Send log messages through server out file. Includes major refactoring.

9 years agoClient: Minor variable renaming.
Christian Heller [Thu, 13 Nov 2014 22:57:59 +0000 (23:57 +0100)]
Client: Minor variable renaming.

9 years agoServer: In get_message_from_queue(), retry if 1st chunk starts with \0.
Christian Heller [Thu, 13 Nov 2014 22:30:44 +0000 (23:30 +0100)]
Server: In get_message_from_queue(), retry if 1st chunk starts with \0.

9 years agoClient: Rename read_world() to more precise read_worldstate().
Christian Heller [Thu, 13 Nov 2014 21:55:00 +0000 (22:55 +0100)]
Client: Rename read_world() to more precise read_worldstate().

9 years agoClient: Abort test_ping_pong() earlier when server known to be active.
Christian Heller [Thu, 13 Nov 2014 21:38:09 +0000 (22:38 +0100)]
Client: Abort test_ping_pong() earlier when server known to be active.

9 years agoServer: Don't continue turn after player has died.
Christian Heller [Thu, 13 Nov 2014 20:57:39 +0000 (21:57 +0100)]
Server: Don't continue turn after player has died.

9 years agoServer: Minor data type fix.
Christian Heller [Thu, 13 Nov 2014 20:47:06 +0000 (21:47 +0100)]
Server: Minor data type fix.

9 years agoClient: Remove unused "active window's keys" window, update README.
Christian Heller [Thu, 13 Nov 2014 20:41:16 +0000 (21:41 +0100)]
Client: Remove unused "active window's keys" window, update README.

9 years agoReturn default world parameters that were changed for debugging.
Christian Heller [Thu, 13 Nov 2014 15:07:25 +0000 (16:07 +0100)]
Return default world parameters that were changed for debugging.

9 years agoServer: Fix critical bug that stems from omission of a single semicolon.
Christian Heller [Thu, 13 Nov 2014 15:05:37 +0000 (16:05 +0100)]
Server: Fix critical bug that stems from omission of a single semicolon.

9 years agoServer: Add critical bug to TODO.
Christian Heller [Fri, 7 Nov 2014 20:52:14 +0000 (21:52 +0100)]
Server: Add critical bug to TODO.

9 years agoClient: Change default window config.
Christian Heller [Fri, 7 Nov 2014 20:39:23 +0000 (21:39 +0100)]
Client: Change default window config.

9 years agoClient: In window geometry config, show available keys.
Christian Heller [Fri, 7 Nov 2014 20:16:46 +0000 (21:16 +0100)]
Client: In window geometry config, show available keys.

9 years agoClient: Repair wrong messages in window geometry configuration dialogue.
Christian Heller [Fri, 7 Nov 2014 14:39:00 +0000 (15:39 +0100)]
Client: Repair wrong messages in window geometry configuration dialogue.

9 years agoClient: Minor code styling issue.
Christian Heller [Fri, 7 Nov 2014 14:02:45 +0000 (15:02 +0100)]
Client: Minor code styling issue.

9 years agoClient: Restructure passing of keybinding manipulation commands.
Christian Heller [Fri, 7 Nov 2014 14:00:00 +0000 (15:00 +0100)]
Client: Restructure passing of keybinding manipulation commands.

9 years agoStrike out finished TODO item.
Christian Heller [Fri, 7 Nov 2014 13:06:04 +0000 (14:06 +0100)]
Strike out finished TODO item.

9 years agoClient: Further simplify display of available keybindings.
Christian Heller [Fri, 7 Nov 2014 12:38:17 +0000 (13:38 +0100)]
Client: Further simplify display of available keybindings.

9 years agoClient: Simplify display of available keybindings.
Christian Heller [Fri, 7 Nov 2014 11:40:52 +0000 (12:40 +0100)]
Client: Simplify display of available keybindings.