What exactly am I supposed to do on this one?
It used to work normally, maybe I forgot about something?
Since the new players are being copied from the samples, if the sample got money it will be copied to the created character.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 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 problemSince 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 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
$player->setBalance(0);
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.
alright my bad thenThis 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.
: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 outI 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:
Download: Releases · slawkens/myaac · GitHub
- 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
[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
: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
thats why i quoted this post because before i ask i did search on google and found your post about this "fixed"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
worked thank youThanks 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 logThanks 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
[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
as i know it doesnt work for avesta but you can try this one [GESIOR FOR AVESTA] v1.0.0Work it on avesta 7.6 SQL?
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
Go to config.local.php and edit:
change true to false.Code:$config['friendly_urls'] = true;
Btw. what server are you using? apache?
And post the screen of error if you can.
I fixed it just go toGot same problem, cant see with my public ip, but works with localhost.
tryd this, but still nothing