• 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!

MyAAC v0.8.13

I want to start out by saying thanks for this amazing work. Developers in this community don't get what they deserve.

I'm having an issue, what exactly is the "www-data" user? I've added the user and changed all the permissions but I'm still seeing the following issues.
1643054800711.png
Bash:
[ots@localhost www]$ sudo chown -R www-data.www-data /var/www/*
[ots@localhost www]$ sudo chmod -R 660 system/cache
[ots@localhost www]$ ls -la
total 172
drwxr-xr-x  9 root     root      4096 Jan 24 19:57 .
drwxr-xr-x 13 root     root      4096 Jan 24 20:00 ..
drwxr-xr-x  6 www-data www-data  4096 Jan 24 19:30 admin
-rw-r--r--  1 www-data www-data 35607 Jan 24 19:30 CHANGELOG.md
-rw-r--r--  1 www-data www-data  3780 Jan 24 19:30 common.php
-rw-r--r--  1 www-data www-data 14168 Jan 24 19:52 config.php
-rw-r--r--  1 www-data www-data    25 Jan 24 19:30 _config.yml
-rw-r--r--  1 www-data www-data    51 Jan 24 19:30 CREDITS
drwxr-xr-x 17 www-data www-data  4096 Jan 24 19:30 images
-rw-r--r--  1 www-data www-data 13644 Jan 24 19:30 index.php
drwxr-xr-x  6 www-data www-data  4096 Jan 24 19:30 install
-rw-r--r--  1 www-data www-data 35147 Jan 24 19:30 LICENSE
-rw-r--r--  1 www-data www-data   383 Jan 24 19:30 nginx-sample.conf
drwxr-xr-x  3 www-data www-data  4096 Jan 24 19:30 plugins
-rw-r--r--  1 www-data www-data  3035 Jan 24 19:30 README.md
-rw-r--r--  1 www-data www-data  1178 Jan 24 19:30 release.sh
-rw-r--r--  1 www-data www-data    24 Jan 24 19:30 robots.txt
drwxr-xr-x 12 www-data www-data  4096 Jan 24 19:30 system
drwxr-xr-x  4 www-data www-data  4096 Jan 24 19:30 templates
drwxr-xr-x  9 www-data www-data  4096 Jan 24 19:30 tools
-rw-r--r--  1 www-data www-data     6 Jan 24 19:30 VERSION
[ots@localhost www]$ httpd -v
Server version: Apache/2.4.52 (Unix)
Server built:   Dec 20 2021 21:33:02
[ots@localhost www]$ sudo systemctl restart httpd
[ots@localhost www]$ useradd www-data
useradd: user 'www-data' already exists
 
I want to start out by saying thanks for this amazing work. Developers in this community don't get what they deserve.

I'm having an issue, what exactly is the "www-data" user? I've added the user and changed all the permissions but I'm still seeing the following issues.
View attachment 65039
Bash:
[ots@localhost www]$ sudo chown -R www-data.www-data /var/www/*
[ots@localhost www]$ sudo chmod -R 660 system/cache
[ots@localhost www]$ ls -la
total 172
drwxr-xr-x  9 root     root      4096 Jan 24 19:57 .
drwxr-xr-x 13 root     root      4096 Jan 24 20:00 ..
drwxr-xr-x  6 www-data www-data  4096 Jan 24 19:30 admin
-rw-r--r--  1 www-data www-data 35607 Jan 24 19:30 CHANGELOG.md
-rw-r--r--  1 www-data www-data  3780 Jan 24 19:30 common.php
-rw-r--r--  1 www-data www-data 14168 Jan 24 19:52 config.php
-rw-r--r--  1 www-data www-data    25 Jan 24 19:30 _config.yml
-rw-r--r--  1 www-data www-data    51 Jan 24 19:30 CREDITS
drwxr-xr-x 17 www-data www-data  4096 Jan 24 19:30 images
-rw-r--r--  1 www-data www-data 13644 Jan 24 19:30 index.php
drwxr-xr-x  6 www-data www-data  4096 Jan 24 19:30 install
-rw-r--r--  1 www-data www-data 35147 Jan 24 19:30 LICENSE
-rw-r--r--  1 www-data www-data   383 Jan 24 19:30 nginx-sample.conf
drwxr-xr-x  3 www-data www-data  4096 Jan 24 19:30 plugins
-rw-r--r--  1 www-data www-data  3035 Jan 24 19:30 README.md
-rw-r--r--  1 www-data www-data  1178 Jan 24 19:30 release.sh
-rw-r--r--  1 www-data www-data    24 Jan 24 19:30 robots.txt
drwxr-xr-x 12 www-data www-data  4096 Jan 24 19:30 system
drwxr-xr-x  4 www-data www-data  4096 Jan 24 19:30 templates
drwxr-xr-x  9 www-data www-data  4096 Jan 24 19:30 tools
-rw-r--r--  1 www-data www-data     6 Jan 24 19:30 VERSION
[ots@localhost www]$ httpd -v
Server version: Apache/2.4.52 (Unix)
Server built:   Dec 20 2021 21:33:02
[ots@localhost www]$ sudo systemctl restart httpd
[ots@localhost www]$ useradd www-data
useradd: user 'www-data' already exists
It's the user that your webserver (apache, nginx etc) runs as, you shouldn't need to create it manually
 
It's the user that your webserver (apache, nginx etc) runs as, you shouldn't need to create it manually
Thanks for your reply. I'm using Arch which is a little different from Ubuntu, the default apache user is different. To get this to work on Arch...

Bash:
/etc/https/conf/httpd.conf

User http # Change this line to "www-data"
 
Hi, is my engine not fully compatible with myaac?
When i reload monsters on webpage i got errors like that:
Error while adding monster (Amazon): SQLSTATE[HY000]: General error: 1364 Field 'elements' doesn't have a default value

There must be something wrong with the code. Let me take a look tomorrow when I'm on PC again.
Is there a way to add for example 7 days of premium to every new account?
And how to edit the sample chars? Can't find an linked tutorial in here..

Yes it's actually possible:
Just modify this line in config.php:
Code:
         'account_premium_days' => 0, // default premium days on new account
 
@slaw - maybe You could tell me..
when I use in config.php
PHP:
'account_country' => false,

I cant change account info
like Real Name and Location, because I got a "country" error

where to look for it?

edit:
i removed a flag and tables for it, to work, but it should be implemented (i saw in files that is not yet done :) )
 

Attachments

  • Screenshot 2022-02-22 at 23-21-03 Account Management - BrosOTS - Test Server.png
    Screenshot 2022-02-22 at 23-21-03 Account Management - BrosOTS - Test Server.png
    32.2 KB · Views: 10 · VirusTotal
Last edited:
View attachment 65833
Hello, could someone explain to me how to solve it? I am a newbie please explain it to me in a way that I can understand. Thank you
check config.php and database
its about "sorcerer sample" character. it means it is not added in database or you rename it in database and didnt chage in config.php
 
thanks for answering. How can I add these to the database? i use workbench

Did you went properly thought the installer or you had any errors?

What I would suggest: delete config.local.php and follow installation again by navigating into localhost/install

Then check what happens in the last step (7) - if there are any errors on the screen or in your web server logs.
 
Did you went properly thought the installer or you had any errors?

What I would suggest: delete config.local.php and follow installation again by navigating into localhost/install

Then check what happens in the last step (7) - if there are any errors on the screen or in your web server logs.
Hi, I was able to fix it. The problem was that I didn't have a rook sample in the database.
Post automatically merged:

sorry for the silly question but how do I enter the administrative panel? @slaw

1645906675540.png
 
Last edited:
try to change in "data/monster/monsters.xml"
<?xml version="1.0" encoding="UTF - 8"?>
to
XML:
<?xml version="1.0"?>
I changed it to
XML:
<?xml version="1.0" encoding="UTF-8"?>
and it worked, the problem is that now I have to modify the xml of all the monsters. thx bro
 
I changed it to
XML:
<?xml version="1.0" encoding="UTF-8"?>
and it worked, the problem is that now I have to modify the xml of all the monsters. thx bro
Open it in notepad++ and there You got a function to change line on all files 😉
 
Back
Top