• 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.7.12

Status
Not open for further replies.
Looks to me like you didn't install any the database correctly, did you run the install?. "Table 'ots.myaac_config' doesn't exist'".
I don't mean to sound like a dick but the error message is pretty obvious.
 
What exactly am I supposed to do on this one?

It used to work normally, maybe I forgot about something?

@igorgebien you have not setup the connection to database correctly. if your mysql is configured correctly, it looks like the database name wrong.
 
i dont know if you have tested @slawkens there is a bug with sending money from bank account to the characters samples, i did test it now and it works with the main samples, it dont work on rook sample but u should take a look on that since there are too many otservs they use the main samples :)
 
i dont know if you have tested @slawkens there is a bug with sending money from bank account to the characters samples, i did test it now and it works with the main samples, it dont work on rook sample but u should take a look on that since there are too many otservs they use the main samples :)
Since the new players are being copied from the samples, if the sample got money it will be copied to the created character.

If you are transfering money in-game then you should limit the bank NPC to check if the recieving character is a sample, then reject them from transfering money.
 
Since the new players are being copied from the samples, if the sample got money it will be copied to the created character.

If you are transfering money in-game then you should limit the bank NPC to check if the recieving character is a sample, then reject them from transfering money.
i know i just was thinking about this [ANNOUNCE] GESIOR 2012 'HACK' [clone money] when i tryed it on this aac because it is based on gesior i notice that, but like i said i just want to report it to the creator since i'm not using the main samples so i dont have that problem
 
i dont know if you have tested @slawkens there is a bug with sending money from bank account to the characters samples, i did test it now and it works with the main samples, it dont work on rook sample but u should take a look on that since there are too many otservs they use the main samples :)

This won't work in MyAAC. It is fixed here since the version 0.0.1 (the first official release).

Thanks to this line in create character page:
Code:
$player->setBalance(0);

Every new character/player has a balance of 0 no matter what the sample has.

Since the new players are being copied from the samples, if the sample got money it will be copied to the created character.

If you are transfering money in-game then you should limit the bank NPC to check if the recieving character is a sample, then reject them from transfering money.

Nope, it hasn't been the case in myaac since the first release.
 
This won't work in MyAAC. It is fixed here since the version 0.0.1 (the first official release).

Thanks to this line in create character page:
Code:
$player->setBalance(0);

Every new character/player has a balance of 0 no matter what the sample has.



Nope, it hasn't been the case in myaac since the first release.
alright my bad then :)
 
I have tested this AAC on UniServer Zero XI and it doesn't show this error. Can you post a screenshot?


This has been fixed in latest version.

UPDATE!!
Version 0.0.3 has been released.

It contains following fixed/updated:
  • Full support for OTHire 0.0.3
  • added support for otservers that doesn't use account.name field, instead just account number will be used
  • fixed encryption detection on TFS 0.3
  • fixed bug when server_config table doesn't exist
  • (install) moved admin account creation to new step
  • fixed news comment link
  • by default, the installer creates now the Admin player, for admin account
Download: Releases · slawkens/myaac · GitHub
:O i was using the aac and it was working fine xd but today i dont know what happend now i can't see my page it throw me error 500 i did check the error log and this is what i find out
Code:
[Wed Oct 31 04:46:09.914303 2018] [php7:error] [pid 33306] [client 186.6.148.38:58813] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'othire.server_config' doesn't exist in /var/www/html/system/libs/pot/OTS_Base_DB.php:101\nStack trace:\n#0 /var/www/html/system/libs/pot/OTS_Base_DB.php(101): PDO->query('SELECT `value` ...')\n#1 /var/www/html/system/libs/usage_statistics.php(43): OTS_Base_DB->query('SELECT `value` ...')\n#2 /var/www/html/system/libs/usage_statistics.php(16): Usage_Statistics::getStats()\n#3 /var/www/html/index.php(224): Usage_Statistics::report()\n#4 {main}\n  thrown in /var/www/html/system/libs/pot/OTS_Base_DB.php on line 101
thats why i quoted this post because before i ask i did search on google and found your post about this "fixed"
 
:O i was using the aac and it was working fine xd but today i dont know what happend now i can't see my page it throw me error 500 i did check the error log and this is what i find out
Code:
[Wed Oct 31 04:46:09.914303 2018] [php7:error] [pid 33306] [client 186.6.148.38:58813] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'othire.server_config' doesn't exist in /var/www/html/system/libs/pot/OTS_Base_DB.php:101\nStack trace:\n#0 /var/www/html/system/libs/pot/OTS_Base_DB.php(101): PDO->query('SELECT `value` ...')\n#1 /var/www/html/system/libs/usage_statistics.php(43): OTS_Base_DB->query('SELECT `value` ...')\n#2 /var/www/html/system/libs/usage_statistics.php(16): Usage_Statistics::getStats()\n#3 /var/www/html/index.php(224): Usage_Statistics::report()\n#4 {main}\n  thrown in /var/www/html/system/libs/pot/OTS_Base_DB.php on line 101
thats why i quoted this post because before i ask i did search on google and found your post about this "fixed"

Thanks for your report. It seems to be another bug that I introduced when implementing Usage_Statistics. I am going to post the fix on gitbub now.

The fix is here: Fix bug where server_config table does not exist (OTHire as an example) · slawkens/myaac@dacc5b9

Its enough if you replace the content of system/libs/usage_statistics.php with this:
https://raw.githubusercontent.com/s...bf97635c3df5/system/libs/usage_statistics.php
 
Thanks for your report. It seems to be another bug that I introduced when implementing Usage_Statistics. I am going to post the fix on gitbub now.

The fix is here: Fix bug where server_config table does not exist (OTHire as an example) · slawkens/myaac@dacc5b9

Its enough if you replace the content of system/libs/usage_statistics.php with this:
https://raw.githubusercontent.com/s...bf97635c3df5/system/libs/usage_statistics.php
another problem i can't create guilds this is the error log
Code:
[Wed Oct 31 19:50:55.507999 2018] [core:error] [pid 41411] (13)Permission denied: [client 186.6.190.230:60177] AH00035: access to /images/guilds/default.gif denied (filesystem path '/var/www/html/images/guilds/default.gif') because search permissions are missing on a component of the path, referer: http://tibianas.com/?guilds

[Wed Oct 31 19:51:03.108948 2018] [php7:error] [pid 41430] [client 186.6.190.230:60181] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'motd' doesn't have a default value in /var/www/html/system/libs/pot/OTS_Base_DB.php:101\nStack trace:\n#0 /var/www/html/system/libs/pot/OTS_Base_DB.php(101): PDO->query('INSERT INTO `gu...')\n#1 /var/www/html/system/libs/pot/OTS_Guild.php(199): OTS_Base_DB->query('INSERT INTO `gu...')\n#2 /var/www/html/system/pages/guilds/create.php(108): OTS_Guild->save()\n#3 /var/www/html/system/pages/guilds.php(30): require('/var/www/html/s...')\n#4 /var/www/html/index.php(386): require('/var/www/html/s...')\n#5 {main}\n  thrown in /var/www/html/system/libs/pot/OTS_Base_DB.php on line 101, referer: http://tibianas.com/?subtopic=guilds&action=create
 
another problem i can't create guilds this is the error log
Code:
[Wed Oct 31 19:50:55.507999 2018] [core:error] [pid 41411] (13)Permission denied: [client 186.6.190.230:60177] AH00035: access to /images/guilds/default.gif denied (filesystem path '/var/www/html/images/guilds/default.gif') because search permissions are missing on a component of the path, referer: http://tibianas.com/?guilds

[Wed Oct 31 19:51:03.108948 2018] [php7:error] [pid 41430] [client 186.6.190.230:60181] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'motd' doesn't have a default value in /var/www/html/system/libs/pot/OTS_Base_DB.php:101\nStack trace:\n#0 /var/www/html/system/libs/pot/OTS_Base_DB.php(101): PDO->query('INSERT INTO `gu...')\n#1 /var/www/html/system/libs/pot/OTS_Guild.php(199): OTS_Base_DB->query('INSERT INTO `gu...')\n#2 /var/www/html/system/pages/guilds/create.php(108): OTS_Guild->save()\n#3 /var/www/html/system/pages/guilds.php(30): require('/var/www/html/s...')\n#4 /var/www/html/index.php(386): require('/var/www/html/s...')\n#5 {main}\n  thrown in /var/www/html/system/libs/pot/OTS_Base_DB.php on line 101, referer: http://tibianas.com/?subtopic=guilds&action=create

Hello can you please report that bug you have in the GitHub repo as issue? Thanks.
 
Hi @slawkens .


I'd like to suggest an update to MyAAC.

Normally i get many reports on my server, but i constantly forget check the .txt files that are saved.

If it were possible to add a function to read the files in the admin panel would be great


7d488421-9d9e-41e4-bc27-38ee752540ab
 
Hi @slawkens .


I'd like to suggest an update to MyAAC.

Normally i get many reports on my server, but i constantly forget check the .txt files that are saved.

If it were possible to add a function to read the files in the admin panel would be great


7d488421-9d9e-41e4-bc27-38ee752540ab

Like this?

Sgs2LZT.png
 
I know this is kind of retarded but where do I change it from Localhost to my public ip?
 
Got same problem, cant see with my public ip, but works with localhost.

Go to config.local.php and edit:
Code:
$config['friendly_urls'] = true;
change true to false.

Btw. what server are you using? apache?

And post the screen of error if you can.

tryd this, but still nothing
 
Got same problem, cant see with my public ip, but works with localhost.



tryd this, but still nothing
I fixed it just go to
// status, took automatically from config file if empty
'status_ip' => 'put your public ip' ( get your public ip by just typing public ip in google or whatever :)
'status_port' => '',
'status_timeout' => 2, // how long to wait for the initial response from the server (default: 2 seconds)
 
Status
Not open for further replies.
Back
Top