-
Notifications
You must be signed in to change notification settings - Fork 0
/
Troubleshooting.txt
34 lines (18 loc) · 1.25 KB
/
Troubleshooting.txt
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
1)
File: Mafia/index.html
Check that the <base> tag inside the <head> holds correct value. What is correct value?
When testing on localhost full URL is: http://localhost:11154/Mafia/#!/cities
And the base tag look like: <base href="/Mafia/index.html" />
When hosten on GitHub pages, full URL is: http://acajic.github.io/MafiaFront-v0.3/Mafia/index.html#!/cities
And the base tag is: <base href="/MafiaFront-v0.3/Mafia/index.html">
2)
File: Mafia/app/services/serverService.js
Verify that the line:
this.serverHost = developmentServer; // or productionServer
actually points to a functional server URL.
3)
None of the .js files inside Mafia/app folder are actually being used except one.
Insted, they are first merged into one single .js file (Mafia/app/mafia.js) by executing Mafia/app/minify.bat on Windows.
So, make sure the code you actually wish to execute is visible inside mafia.js.
4)
The action results are generated at the end of a day cycle based on some actions. If the action results do not seem correct with regard to the actions that generated them, check if all the action were submitted with residents' true roles. If one of residents was submitting actions while pretending to be a different role, their actions are inherently void.