It's enough if your account has the GOD_TYPE (5). There isn't that much of admin functionality in DevAAC yet.@Don Daniello :
My last question:
How can I configure an admin account for the page? (I was using znote and there I could indicate the username or the account name in order to be the admin).
I was looking in the config.php and DevAAC.php and the only line liked this was : define('ACCOUNT_TYPE_GOD', 5)....
Thanks in advance
Best regards..
https://docs.angularjs.org/tutorialmore samples using angular please ?
<?php
/* AT MINIMUM UNCOMMENT AND CONFIGURE PATH TO TFS - this is where config.lua is located
examples:
- /home/otsmanager/forgottenserver
- C:\Users\OTS\forgottenserver
*/
define('TFS_ROOT', '/home/moment/tfs');
// ^^^^^^^ THIS IS VERY IMPORTANT ^^^^^^^
// ------------ OPTIONAL SETTINGS -------------
define('ALLOWED_VOCATIONS', serialize(array(0))); // if you want everyone to start with no vocation (RL style)
// define('ALLOWED_VOCATIONS', serialize(array(1, 2, 3, 4))); // default
define('NEW_PLAYER_LEVEL', 8);
define('NEW_PLAYER_TOWN_ID', 1);
define('HOUSES_AUCTIONS', true); // enable house auction system?
// define('HOUSES_AUCTION_TIME', 'P7D'); // DateInterval spec notation: http://www.php.net/manual/en/dateinterval.construct.php
define('HOUSES_PER_PLAYER', 1);
define('HOUSES_PER_ACCOUNT', 1);
// define('DISABLE_PLUGINS', false);
define('ENABLED_PLUGINS', serialize(array('ratelimiter.php', 'simple.php', 'ipban.php')));
// IF YOU WANT TO CHANGE SOMETHING ELSE, BE SMART AND FOLLOW THE PATTERN, CHECK index.php!
If I remember correctly, it was not implemented because it's available in-game in default TFS 1.0/1.1. You can raise an issue on GitHub to implement it.I couldn't find the place to create a new guild and accept it... is under development or I made something wrong again?
Loads my other website but without design/layout.
It is very easy, all you need is proper rewrites. In the installation procedure:Downloaded extracted changed the config.php file and added the path what else to do, lol it was supposed to be easy and it is not.
So just head over to our wiki (https://github.com/DevelopersPL/DevAAC/wiki) and pick the one you need.Set up your web server to serve DevAAC/public_html as document root and required rewrites
Maybe if you give URL or open your err0r_log and paste it here, we could give you some advice.ok, i updated all the files i found in the github, but still have the same problem:
Webpage is not interacting with server.
Creating account gives: Internal Server Error: undefined error
http://localhost/index.php is a blank page while: http://localhost/# is the webpage
Now my WWW folders looks like this www Folder.
What files i have to modify? Or why is it still not working?!
and rly, what part of this DevAAC has been easy so far >.> 4th day and still trying to make account.
[Tue Jan 06 13:55:44.758312 2015] [core:warn] [pid 12972:tid 204] AH00098: pid file C:/UniServerZ/core/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Jan 06 13:55:50.763656 2015] [mpm_winnt:notice] [pid 12972:tid 204] AH00455: Apache/2.4.10 (Win32) PHP/5.4.35 configured -- resuming normal operations
[Tue Jan 06 13:55:50.763656 2015] [mpm_winnt:notice] [pid 12972:tid 204] AH00456: Apache Lounge VC10 Server built: Jul 19 2014 11:02:31
[Tue Jan 06 13:55:50.763656 2015] [core:notice] [pid 12972:tid 204] AH00094: Command line: 'C:\\UniServerZ\\core\\apache2\\bin\\httpd_z.exe -d C:/UniServerZ/core/apache2 -f C:\\UniServerZ\\core\\apache2\\conf\\httpd.conf -d C:\\UniServerZ\\core\\apache2'
[Tue Jan 06 13:55:51.156678 2015] [mpm_winnt:notice] [pid 12972:tid 204] AH00418: Parent: Created child process 99076
[Tue Jan 06 13:55:54.492869 2015] [mpm_winnt:notice] [pid 99076:tid 632] AH00354: Child: Starting 150 worker threads.
[Tue Jan 06 13:56:03.851404 2015] [:error] [pid 99076:tid 1856] [client 127.0.0.1:65339] PHP Warning: chdir(): No such file or directory (errno 2) in C:\\UniServerZ\\www\\index.php on line 84
[Tue Jan 06 13:56:03.852404 2015] [:error] [pid 99076:tid 1856] [client 127.0.0.1:65339] PHP Warning: require(./DevAAC.php): failed to open stream: No such file or directory in C:\\UniServerZ\\www\\index.php on line 85
[Tue Jan 06 13:56:03.852404 2015] [:error] [pid 99076:tid 1856] [client 127.0.0.1:65339] PHP Fatal error: require(): Failed opening required './DevAAC.php' (include_path='.;C:/UniServerZ/home/us_pear/PEAR') in C:\\UniServerZ\\www\\index.php on line 85
[Tue Jan 06 13:56:04.964468 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:65338] PHP Warning: chdir(): No such file or directory (errno 2) in C:\\UniServerZ\\www\\index.php on line 84
[Tue Jan 06 13:56:04.965468 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:65338] PHP Warning: require(./DevAAC.php): failed to open stream: No such file or directory in C:\\UniServerZ\\www\\index.php on line 85
[Tue Jan 06 13:56:04.965468 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:65338] PHP Fatal error: require(): Failed opening required './DevAAC.php' (include_path='.;C:/UniServerZ/home/us_pear/PEAR') in C:\\UniServerZ\\www\\index.php on line 85
[Tue Jan 06 13:56:05.889521 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:65340] PHP Warning: chdir(): No such file or directory (errno 2) in C:\\UniServerZ\\www\\index.php on line 84
[Tue Jan 06 13:56:05.890521 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:65340] PHP Warning: require(./DevAAC.php): failed to open stream: No such file or directory in C:\\UniServerZ\\www\\index.php on line 85
[Tue Jan 06 13:56:05.890521 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:65340] PHP Fatal error: require(): Failed opening required './DevAAC.php' (include_path='.;C:/UniServerZ/home/us_pear/PEAR') in C:\\UniServerZ\\www\\index.php on line 85
[Tue Jan 06 14:04:33.544557 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:49324] PHP Warning: chdir(): No such file or directory (errno 2) in C:\\UniServerZ\\www\\index.php on line 84
[Tue Jan 06 14:04:33.550557 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:49324] PHP Warning: require(../vendor/autoload.php): failed to open stream: No such file or directory in C:\\UniServerZ\\www\\DevAAC.php on line 33
[Tue Jan 06 14:04:33.550557 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:49324] PHP Fatal error: require(): Failed opening required '../vendor/autoload.php' (include_path='.;C:/UniServerZ/home/us_pear/PEAR') in C:\\UniServerZ\\www\\DevAAC.php on line 33
[Tue Jan 06 14:04:33.996583 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:49331] PHP Warning: chdir(): No such file or directory (errno 2) in C:\\UniServerZ\\www\\index.php on line 84
[Tue Jan 06 14:04:33.997583 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:49331] PHP Warning: require(../vendor/autoload.php): failed to open stream: No such file or directory in C:\\UniServerZ\\www\\DevAAC.php on line 33
[Tue Jan 06 14:04:33.997583 2015] [:error] [pid 99076:tid 1872] [client 127.0.0.1:49331] PHP Fatal error: require(): Failed opening required '../vendor/autoload.php' (include_path='.;C:/UniServerZ/home/us_pear/PEAR') in C:\\UniServerZ\\www\\DevAAC.php on line 33
Are you trolling me?@whitevo You have moved index.php from public_html to upper directory. This obviously doesn't work.
[Wed Jan 07 00:01:52.833447 2015] [:error] [pid 172564:tid 1844] [client 127.0.0.1:56857] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'Whiserv'@'localhost' (using password: YES)' in C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php:47\nStack trace:\n#0 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php(47): PDO->__construct('mysql:host=loca...', 'Whiserv', 'Vwfs3bJC9JcMFCx...', Array)\n#1 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\MySqlConnector.php(20): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=loca...', Array, Array)\n#2 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\ConnectionFactory.php(59): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)\n#3 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\ConnectionFactory.php(47): Illuminate\\Database\\Connectors\\ConnectionFactory->createSingleConnection(Array)\n#4 C:\\UniServerZ\\www\\vendor\\illuminate\\database in C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php on line 47
[Wed Jan 07 00:59:29.368149 2015] [:error] [pid 172564:tid 1804] [client 127.0.0.1:59340] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'whiserv'@'localhost' (using password: YES)' in C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php:47\nStack trace:\n#0 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php(47): PDO->__construct('mysql:host=loca...', 'whiserv', 'test', Array)\n#1 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\MySqlConnector.php(20): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=loca...', Array, Array)\n#2 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\ConnectionFactory.php(59): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array)\n#3 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\ConnectionFactory.php(47): Illuminate\\Database\\Connectors\\ConnectionFactory->createSingleConnection(Array)\n#4 C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Da in C:\\UniServerZ\\www\\vendor\\illuminate\\database\\Illuminate\\Database\\Connectors\\Connector.php on line 47, referer: http://localhost/