Znote / ZnoteAAC

Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server.
MIT License
145 stars 127 forks source link

Fix for wrong mana, correct is 90 and not 40 #406

Closed dudantas closed 4 years ago

dudantas commented 4 years ago

Fix https://github.com/Znote/ZnoteAAC/issues/405 In update 10.50 ~~ more or less, the base mana increased by 55 points. (the correct would be 35)

As a suggestion, I would say it would be interesting to put the server name directly from config.lua. Or, in the install, create a "config.local.php" such as myaac and download for internal use of the website. At OTServBR-Global, we come across many people having difficulties with these settings that need to be the same. https://github.com/Znote/ZnoteAAC/blob/bb60bfbf8355e931d0436ef2382a83380fe8efe1/config.php#L646

Znote commented 4 years ago

About config: I want to eventually find a good "config manager" solution, I don't like the idea of a parser going through an unrelated file and write AAC config files to disk. I'm looking a bit into a mysql + apcu cache solution. But I have to be very mindful of complexity as well, a config file works fast and is relatively easy for people who know they should check it out and edit it properly to their configurations.

I'm also considering an "installation health" page that you can visit that will try to identify and inform about typical misconfigurations. Like database schema doesn't seem to fit configured TFS engine, cache files arent working properly or are to quick to refresh. This page could potentially look up the server name of config.lua and config.php and inform that it has detected an protocol login issue due to mismatch.