304 Commits

Author SHA1 Message Date
slawkens
dbf09ef361 tableExist is deprecated 2020-01-13 20:20:08 +01:00
slawkens
e08557e5ae Remove myaac_hooks table, load info directly from .json files and cache them 2020-01-13 20:19:34 +01:00
tobi132
ba1d52d6dd Add hint @var OTS_MonstersList 2019-12-03 05:10:47 +01:00
tobi132
6b931de37d Update OTS_Base_List.php 2019-12-03 03:10:53 +01:00
tobi132
1e2267bd31 Create character directly on create account page 2019-12-02 23:10:32 +01:00
tobi132
72d7dae7fa Remove whitespaces 2019-12-02 21:11:14 +01:00
tobi132
5624022064 Some non important change.. 2019-12-02 21:11:00 +01:00
tobi132
645e7ee95f Compatibility with old z_ gesior table. This fixes #46 2019-10-17 23:42:02 +02:00
tobi132
f8c2f0f01b Cache items for longer period (5 years actually) 2019-10-17 12:11:18 +02:00
tobi132
fb9ead2690 Fix typo 2019-07-22 12:14:54 +02:00
Gabriel Pedro
e7c381d651 * added travisci to prevent mistype (#89)
* feat: travis

* feat: travis

* feat: travis

* feat: travis

* feat: travis

* fix: typo
2019-07-22 12:12:01 +02:00
Evil Puncker
af1a6cf5ff Updated copyright year and SSL link
Updated year to 2019 and made all my-aac.org links go to SSL by default
2019-07-17 20:22:07 -03:00
tobi132
49fe7a4b38 fixed #87 2019-07-17 19:01:44 +02:00
tobi132
3945c2ad52 New, beautiful exception handler 2019-07-16 20:07:32 +02:00
tobi132
bc8f24afad Move items from database to Cache_PHP 2019-07-16 19:06:51 +02:00
tobi132
6a89b12258 Use config() instead of global $config, use exec instead of query 2019-07-16 08:22:26 +02:00
slawkens
78454657ca * fixed IDE warning "Modifiers are misordered" 2019-05-30 14:33:46 +02:00
slawkens
7b770e09f7 * add @method annotations to Cache class
* code beautify
2019-05-25 00:20:20 +02:00
slawkens
933b25194c * cache hooks and template menus 2019-05-25 00:18:30 +02:00
slawkens
1cbe452f9c * remove unused and deprecated SQLquery and SQLquote functions 2019-05-24 23:46:45 +02:00
slawkens
920e9b915f * use $db->exec instead of query optimisation 2019-05-23 23:37:07 +02:00
slawkens
705277ceb5 * this comparison is useless 2019-05-10 20:17:57 +02:00
whiteblXK
945442a842 Fixed problem with guildnick 2019-05-06 22:41:52 +02:00
slawkens
d3e3efd05e * new cache engine: plain php 2019-04-24 12:08:42 +02:00
slawkens
5f22ab0361 * sizeof is alias of count 2019-04-19 22:47:42 +02:00
Tornadia
9f31f90146 Fixing some errors at the install endscreen (#75)
* Fixed some bugs at last install screen (unset country and HTTPS protocol definition)

* Correction: allow_url_fopen is not to make any distinction between HTTP/HTTPS

* Black skull bug when joining serverInfo

* * latin is good but utf8 is better

* also changed ENGINE to InnoDB

* * use curl as alternative option for reporting install

* * you forgot this

* * fix typo

* Revert "* fix typo"

This reverts commit 6f24509dd659032c65c3ccbdf5b5bb3b25cffd72.

* * fix typo

* * this is the correct way to hide that notice
2019-04-19 22:28:38 +02:00
slawkens
559d13dfd9 * fix OTS_Account->setPremDays for OTHire 2019-04-13 04:48:06 +02:00
slawkens
6ccaf316ab * fix saving of account country in player editor 2019-04-13 04:45:48 +02:00
Lee
1859867039 Bug Fixes
-fix for getSkillTries as reported by whiteblXK
-fix for login and account type as reported by vG-
2018-12-30 01:00:26 +00:00
Lee
2667d2b41c Updates + Fixes (#66)
* Updates

+added account editor country list
+added account editor website access flag editor.
+added player blessing1-8 editor
+added fav icon
+added $account->setLastLogin
+added $player->checkBlessings (for blessings 1-8)
+bug fixes

* Blessing Fix

Should now detect the amount of blessings if blessings1 onwards exists.
2018-12-26 11:32:58 +01:00
Lee
1b539f82ac Updates (#65)
* Updates

+Added missing images
+Added report viewer as requested by icekis
-Code cleanup

if strict db, need to set spell to null run

ALTER TABLE `myaac_spells` CHANGE `spell` `spell` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
2018-12-12 20:44:29 +01:00
Lee
6dab50cbd8 Admin Panel (#61)
Thank you Lee for this awesome, Bootstrap Admin Panel!
2018-11-22 07:12:14 +01:00
slawkens
5d0a0d352b Fix database_name in Usage_Statistics
(cherry picked from commit 3c6f44d)
2018-10-31 07:49:12 +01:00
slawkens
63bc0a9620 Fix bug where server_config table does not exist (OTHire as an example)
Happened in Usage_Statistics class
Thanks for reporting the OtLand user - Olddies

(cherry picked from commit dacc5b9)
2018-10-31 07:48:56 +01:00
slawkens
915e9409dc * fixed #55 (Cache class not found) 2018-06-06 20:28:36 +02:00
slawkens
fb1b9fea09 * stop using global $cache variable, use Singleton pattern instead 2018-06-03 17:09:21 +02:00
slawkens
6365105515 * replace Cache class name with self() 2018-06-01 19:53:57 +02:00
slawkens
550b664a61 * Environment is now configurable ('prod' for production, 'dev' for development)
Significantly better load times with 'prod' !!!
2018-06-01 19:12:48 +02:00
slawkens
510459b046 * support for database persistent and socket connections (performance boost) 2018-06-01 18:56:57 +02:00
slawkens
ae24a4ea4c * fixed that database_log was always on 2018-06-01 18:27:46 +02:00
slawkens
82d6467cee * new configurable: status_timeout 2018-06-01 16:04:23 +02:00
slawkens
887c792a76 * (internal) replace deprecated PDO_ attributes with PDO:: 2018-06-01 16:00:56 +02:00
slawkens
b3625dffbc * Fixed missing prefix for cache get() and delete() functions
Cause those functions to not work correctly..
2018-06-01 15:03:13 +02:00
slawkens
05e15ce9ad * replace deprecated HTML <font> tag with <span> 2018-06-01 13:35:27 +02:00
slawkens
68d74a490b * performance and optimisations fixes part 2, according to awesome PHPStorm Php Inspections plugin! 2018-05-29 21:16:48 +02:00
slawkens
bf361238cb * remove whitespaces 2018-05-29 21:06:15 +02:00
slawkens
42d23e9b37 * remove unnecessary parentheses in include/require 2018-05-29 21:00:56 +02:00
slawkens
e1ddf58119 * IDE: fixed $db variable type notation to point to the correct class 2018-05-29 20:44:05 +02:00
slawkens
eab416c0b4 * some optimizations & fixes according to awesome PHPStorm Php Inspections plugin! 2018-03-21 13:52:41 +01:00
slawkens1
fc30e28e84 * plugins require like composer: "ext-curl": >"5.0"
Allow require php extension with composer syntax: ext-name: version
2018-02-05 21:52:54 +01:00