• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

DevAAC (TFS 1.X)

You must create config.php from config.sample.php
I create!
Code:
<?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', '/root/otserv');
// ^^^^^^^ 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!
 
Unless you run your PHP as root (which is bad in itself), your PHP instance cannot access /root/otserv/config.lua.
 
I change it to '/home' stell the same problem...
You are probably running PHP as www-data and you just don't have permission to that file. Try using my guide to setting up a server (in my signature).
 
Yes, unfortunately the default parser function does not lines starting with "--" and I have not yet worked around that problem.
 
If you pointed your webserver to host public_html as the Root directory (like it is in our examples), then you should put it in public_html.
 
If you pointed your webserver to host public_html as the Root directory (like it is in our examples), then you should put it in public_html.

I don't know why, but when i access directly ( http://localhost/favicon.ico ), i can see the favicon, but my favicon didn't update on browser

c2f27f8e17.jpg


1eb8f438c2.png


9aa051b5a4.jpg
 
@grilo13 Restart your browser, favicons work weird and take a long while to refresh. Also, your href should be "/favicon.ico".
 
I had the error:
TFS_CONFIG is not defined properly.
via debug at http://myhost/api/v1/server/info

I removed the following from config.lua: (First text at the top for TFS 1.0)
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
And that fixed it weird enough.
 
Discussion and development: http://otland.net/threads/devaac-new-aac-and-best-website-for-tfs-1-0.216772/
  • Make sure you set up your config.lua because DevAAC uses it a lot.
  • DevAAC does not modify the database schema. This means that there is no "installation" required, no tables to add, no SQL queries to run, no samples to add to database. It is supposed to be super-easy to install... wait, not installation! Plug & Play!
  • Rename config.sample.php to config.php and follow instructions in it.

Report bugs and feature requests: https://github.com/DevelopersPL/DevAAC/issues?state=open
Download link: https://github.com/DevelopersPL/DevAAC/releases
Demo: http://devots.dondaniello.com

2014-07-19_19-02-37_fvr4.png
Does this still people developing and doing new things? would be awesome to have more features to this awesome AAC
 
How get another site version ? https://imgur.com/wG9ywXz
Nice.. i cant edit my posts.. thnkx admin..

So Now i see.. I need access html files...

I have a problem.

http://gamers-br.servegame.com/#/highscores


Ranking is not working..

I check api here.


http://gamers-br.servegame.com/api/v1/players

I can get character list

But

http://gamers-br.servegame.com/api/v1/players?limit=100 cant get only first 100 players.

( Any people can attack making alot of requests in that urls and flood my db ? )
 
Back
Top