~armagetronad-ap/armagetronad/php_server_framework

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/*

*************************************************************************

Armagetron Advanced - PHP Server Framework
Copyright (C) 2012-2013  Vijay Kakani (zodiacsohma1@gmail.com)

***************************************************************************

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

***************************************************************************

*/
require "base.php";

$BASE = new Base();
$BASE->ROOT = $root;		//< Path where the script is launched from

$BASE->languageDir  = '/home/vertrex/old/normal/share/armagetronad-dedicated/language/';
$BASE->languageMain = 'english_base.txt';
$BASE->resourceDir  = array
                            (
                                '/home/vertrex/old/normal/share/armagetronad-dedicated/resource/included',    //  path in which maps come with server
                                '/home/vertrex/old/normal/share/armagetronad-dedicated/resource',             //  path maps are stored (custom made)
                                '/home/vertrex/.armagetronad-dedicated/resource/automatic'                    //  path to where maps get downloaded to
                            );

//!< Creation of commands...
//!< Assigning commands and their values and help
//!< new Setting("COMMAND", value, "help_message");
new Setting("LOG_COMMANDS", false, "Logging in the console commands being sent to the server.");
new Setting("LOG_DEBUG", false, "Logging in the debug messages being sent to the server.");
new Setting("RAND_MAX", 0xffffffff);
new Setting("WAIT_FOR_EXTERNAL_SCRIPT", false, "If set to 1, WAIT_FOR_EXTERNAL_SCRIOT will be sent to help server move on.");
?>