This repository has been archived by the owner on Apr 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
62 lines (37 loc) · 1.89 KB
/
README
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
USAGE:
=============================================
First extract the files into your server directory or git pull them. The go.php
should be in the server dir with server.sh and there should be a sub directory
called acRunner. If this is true it is setup correctly.
Next you have to modify the go.php and comment out this line:
include "mysql.php";
If is for my external login information because I am lazy and git ignore is so
much easier then changing the password everytime I go to commit :P
Then you should see something like this:
//define('MYSQL_HOST', 'localhost');
//define('MYSQL_USERNAME', 'username');
//define('MYSQL_PASSWORD', 'password');
//define('MYSQL_DATABASE', 'database');
//define('SERVER_ID', '1');
Uncomment these lines and set them correctly. They are pretty self xplainitory. SERVER_ID
is really nothing right now it can be used in the future for multi servers. Its just forward
thinking on my part.
Once that is done you can simply run the server like so:
$ php go.php
This is assuming you have your server setup the way you want it already.
INFORMATION ON DATABASE:
=============================================
What are these tables and how do I use them. If the mysql information is correct the tables will be
automatically created so you don't need to do anything but make sure the login information is correct.
I would reccomend deleting all tables created in previous versions when you upgrade. No "upgrade" process
has been created yet.
---------------------------------------------
current_game
This is the realtime stats of the current game. It provides all the same information the tab
button does in game plus a little extra
---------------------------------------------
logs
This is an original table that can be used to spit the raw logs too.
---------------------------------------------
options
This table contains the current game mode and current map.