Erik Ogenvik
4e2e1a95d4
Fail if we can't read config.
2018-02-06 13:45:11 +01:00
Erik Ogenvik
780318558d
Allow assets directory to be set in config.
2018-02-06 13:45:11 +01:00
Erik Ogenvik
e7fa53214b
Use nullptr instead of NULL.
2018-02-06 13:45:11 +01:00
Erik Ogenvik
aed9342e3e
Small cleanup.
2018-02-06 13:45:11 +01:00
Erik Ogenvik
eb2bb200e5
Clean up and remove unused structs.
2017-07-25 23:40:39 +02:00
Erik Ogenvik
7aaa9b9ba7
Optimize includes.
2017-03-19 21:36:52 +01:00
Olek Wojnar
9e1b3b92c3
Fix typos
...
Courtesy of lintian
2016-09-06 22:29:36 -04:00
Erik Ogenvik
86bea785a9
Default to not use binreloc.
...
By default we don't want to use binreloc for setting the paths
dynamically. Instead this can be enabled through the command line
argument "--cyphesis:dynamicpaths=true".
We don't envision cyphesis will be distributed as a binreloc package
much. Using a container format such as Docker seems more plausible.
2015-07-15 11:31:34 +02:00
Erik Ogenvik
3966c31fdb
Allow directory for binaries to be set.
...
By default it will use binreloc to figure out where it's running, as
with other directories.
2015-05-28 21:22:11 +02:00
Erik Ogenvik
f8932858fd
Enable aiclient.
...
The idea is that the aiclient runs in a separate process and handles all
AI functionality.
This is done by having a "possession" client which recieves possession
requests from the server, and spawns new AI clients for each request.
2015-05-24 11:25:06 +02:00
Erik Ogenvik
14a054622b
Added explicit instantiation for integers.
2014-05-01 11:29:03 +02:00
Erik Ogenvik
96b02656e1
Make sure memory is properly released.
2014-01-20 23:07:22 +01:00
Erik Ogenvik
2dca4949ed
Created "deeds" ruleset and made it default.
...
It's currently a copy of the Mason ruleset.
Where Mason focuses on letting the users create the world themselves,
Deeds instead focuses on allowing world authors to set up enticing
worlds with gameplay and stories. In contrast to Mason there are more
features available to the world authors which allow for automatic
creation of entities and so on.
2013-11-15 21:14:47 +01:00
Erik Ogenvik
edf8cdf6c9
Only show relevant options.
...
This fixes a long standing bug where all options were shown for all
commands.
2013-11-14 22:21:07 +01:00
Erik Ogenvik
3f04803b59
Fixed issue with options not working.
...
For some time these haven't worked. The cause was a linker/compiler
issue where string fields not being assigned value if they weren't of
the correct constness.
2013-11-13 20:55:34 +01:00
Erik Ogenvik
20be06aef7
Added "soft" exit option.
...
A "soft" exit tries to first query any external minds for their
thoughts, so that they can be persisted. This might take up to five
seconds.
2013-08-21 20:53:40 +02:00
Olek Wojnar
7f9ff2246d
Remove CVS $Id tags
...
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00
Sean Ryan
88773d1e99
Install MetaServerAPI 1:0:0 and integrate.
...
Use of just MSP for packet wrangling, and then
using current form of commserver transport. Also
added server attribute section to config.
2013-05-30 16:31:20 -04:00
Alistair Riddoch
68494ba520
Use the ruleset global less often, making code more isolated
2012-01-19 19:34:20 +00:00
Alistair Riddoch
9c32176f8e
Remove help for removed peers config option
2010-12-10 00:52:18 +00:00
Alistair Riddoch
c1791e392a
Merge branch 'master' into teleport
2010-11-17 11:29:45 +00:00
Alistair Riddoch
5b9ab9bba1
Upgrade to newer, cleaner binreloc code.
2010-08-30 18:17:37 +01:00
Alistair Riddoch
bcf05e3ddd
Call the prefix reading function during config load.
2010-08-19 18:04:53 +01:00
Manohar Vanga
4a31858480
Corrected usage flags for 'peers' attribute in common/globals.cpp
2010-08-17 11:58:23 +05:30
Manohar Vanga
174e9ab118
Added documentation to common/globals.cpp and man/cyphesis.sgml
2010-08-17 11:58:21 +05:30
Alistair Riddoch
259ab318d4
Move postprocessing of options so instance settings can take effect.
2009-12-12 21:03:09 +00:00
Alistair Riddoch
f31cfd6873
Provide more useful help information for unix socket options.
2009-12-03 18:33:36 +00:00
Alistair Riddoch
68cce50a8c
Implement interactive mode for cyclient, which just gives a python prompt.
2009-11-25 17:54:44 +00:00
Alistair Riddoch
892e5c551d
Add check for <io.h> and include if available.
2009-09-17 02:24:48 +01:00
Alistair Riddoch
31c7f84c28
Add missing doc comments.
2009-08-24 14:16:39 +01:00
Alistair Riddoch
077f8d9188
When setting up the server start time, use raw default constants
2009-05-07 13:49:51 +01:00
Alistair Riddoch
5505ed6bc4
Remove debug output when looking for settings in the config
2009-04-19 00:40:49 -07:00
Alistair Riddoch
a465998718
Remove completely unused setting
2009-04-09 01:41:14 +01:00
Alistair Riddoch
59cff06064
Only warn about options from the command line
2009-04-09 01:27:08 +01:00
Alistair Riddoch
f1f6fb8ed2
Move restricted option to new mechanism.
2009-04-09 00:27:11 +01:00
Alistair Riddoch
e4be4eed46
Move more options to the new dynamic mechanism.
2009-04-09 00:13:15 +01:00
Alistair Riddoch
670c09f990
Move metaserver boolean option to the new mechanism.
2009-04-08 21:56:24 +01:00
Alistair Riddoch
2ad73f462c
Add support for boolean options
2009-04-08 21:49:52 +01:00
Alistair Riddoch
3167c5cc82
Remove duplicated defaults
2009-04-08 21:48:01 +01:00
Alistair Riddoch
b03a541c46
Remove unused pvp config options
2009-04-08 21:32:44 +01:00
Alistair Riddoch
61d57f84b7
Move socket config options to the new mechanism.
2009-04-08 21:22:19 +01:00
Alistair Riddoch
b4fb3cb179
Add new functions to the interface
2009-04-08 15:50:02 +01:00
Alistair Riddoch
617f66dbef
Convert trial option peer_port to the new machanism.
2009-04-08 02:21:54 +01:00
Alistair Riddoch
92406490c4
Add support for option values and reading from varconf
2009-04-08 02:03:14 +01:00
Alistair Riddoch
2685cd105c
Add support for the values and defaults
2009-04-08 00:16:35 +01:00
Alistair Riddoch
521b8fdf09
Add new inlined config options system inspired by gflags
2009-04-07 23:17:49 +01:00
Al Riddoch
12ce0672fd
2009-02-09 Al Riddoch <alriddoch@googlemail.com>
...
* common/globals.h, common/globals.cpp: Add config settings for the
python socket.
2009-02-09 05:32:44 +00:00
Al Riddoch
e59f808fed
2008-11-10 Al Riddoch <alriddoch@googlemail.com>
...
* common/globals.cpp: Fix usage information for dynamic port range
options.
2008-11-10 14:01:34 +00:00
Al Riddoch
f76fe6e90e
2008-11-09 Al Riddoch <alriddoch@googlemail.com>
...
* common/globals.h, common/globals.cpp: Add a global for the http port
setting. Move the dynamic port range where there is likely to be
more space.
2008-11-09 06:19:40 +00:00
Al Riddoch
49c5f0355c
2008-11-07 Al Riddoch <alriddoch@googlemail.com>
...
* common/globals.cpp: Modify the way socket paths are handled
and allow them to be specified as absolute paths.
* client/ClientConnection.cpp, server/CommUnixListener.cpp,
tools/cyaddrules.cpp, tools/cycmd.cpp: Don't build the complete
socket path here, as it is now determined in the config.
2008-11-07 01:21:49 +00:00