dividedspace currently consists out of the following applications, all of which either can run on the same erlang node or run on a node of their own.
center is the central watchdoag and communication/coordination hup, in dividedspace it is the center of the universe.
First you need to set up a postgres database server.
- import the ds_web/create.sql file.
- create a admin user with: INSERT INTO users (name, pass, rights) VALUES('', MD5(':'), 1)
- you might need to adjust the standalone.conf to your database settings.
- Erlang 15
CREATE DATABASE dividedspace; CREATE USER ds; GRANT ALL ON DATABASE dividedspace TO ds; \password ds -> ds \c dividedspace \i ds_web/create.sql
GRANT ALL ON fights TO ds; GRANT ALL ON fleet_shiptype TO ds; GRANT ALL ON fleet_shiptype_id_seq TO ds; GRANT ALL ON fleets TO ds; GRANT ALL ON fleets_id_seq TO ds; GRANT ALL ON modules TO ds; GRANT ALL ON modules_id_seq TO ds; GRANT ALL ON scripts TO ds; GRANT ALL ON scripts_id_seq TO ds; GRANT ALL ON shiptypes TO ds; GRANT ALL ON shiptypes_id_seq TO ds; GRANT ALL ON users TO ds; GRANT ALL ON users_id_seq TO ds;
INSERT INTO users (name, pass, rights) VALUES('admin', MD5('admin:pass'), 1);
go to the main directory and run make shell, paste the following code into the shell and you get a webinterface on http://localhost:8080
The documentaiton is currently not very extensive.
To start a fleet there are some simple steps:
- Create a script, see the scripting section for details.
- Create one or more units, a unit needs:
- A script
- An Hull
- An Engine
- An Generator
- An Weapon
- Create a fleet with at least 1 unit in it
- Start the fight
details on scriting can be found here:
The currently availalbe modules can be found here:
And a short descirption can be found in the wiki: