slawkens
89f537c8c2
getPremDays: returns -1 if freePremium
2025-03-15 23:00:01 +01:00
slawkens
7c3ebf70fa
Optimize $player->isOnline() function, thanks @gesior
2025-01-17 22:52:00 +01:00
slawkens
5a68d204bb
Fix for TFS 1.4.2 where conditions is NULL
2024-12-29 15:38:02 +01:00
slawkens
01660bd2b4
Fix for console displaying REQUEST_URI
2024-11-18 23:47:31 +01:00
slawkens
e0036a3e32
Syntactic sugar for db structure changes
2024-11-08 14:38:00 +01:00
slawkens
1458b7a412
Fix $db->update when there is null value
2024-07-24 17:30:33 +02:00
slawkens
3e00c52128
Optimize OTS_House::load function with appropriate FETCH_ASSOC
2024-07-24 17:30:03 +02:00
slawkens
81b6652738
Fix if <flags> is not present in monster.xml
2024-06-05 21:58:44 +02:00
slawkens
a338fd967c
Removed deprecated functions: utf8_encode & decode
2023-08-05 19:58:52 +02:00
slawkens
8796ff7e72
Remove whitespaces
2023-08-05 19:58:20 +02:00
slawkens
3732bf988d
More changes to deleted characters (Account, guilds)
...
Account: Cannot change name, comment, gender
+ Cannot be deleted if owns a guild
Guilds: Cannot create, cannot be invited, cannot accept invite, cannot be passed leadership to
2023-06-27 17:41:04 +02:00
SRNT-GG
8d10082179
WIP - Removing unneccessary closing tags to prevent potential issues. ( #223 )
...
* Part 1
Removing closing tags when no HTML or other output comes after the last PHP codeblock.
* Further removals
* nothing
---------
Co-authored-by: slawkens <slawkens@gmail.com>
2023-06-15 20:53:55 +02:00
slawkens
92569b7965
patch some changes
...
add contributors
2023-03-01 10:36:38 +01:00
slawkens
2ac8ed7411
more php 8.x compatibility
2023-02-18 21:23:21 +01:00
slawkens
a39600efe2
fix player save on tfs 1.5 with new ipv6
2023-02-18 20:57:55 +01:00
slawkens
fa9f7aab7c
accounts.blocked is not used by AAC
2023-02-03 17:26:50 +01:00
slawkens
4028a58adc
Update OTS_DB_PDOQuery_PHP71.php
2023-02-02 16:20:09 +01:00
slawkens
0a3a079b86
PHP 8.1 compatibility
2023-02-02 16:19:28 +01:00
slawkens
d691148c84
Revert "Fix compatibility with PHP 8.1"
...
This reverts commit 99338afacbb11fbe75449966ecb8f476ec27a89d.
2023-02-02 16:17:33 +01:00
slawkens
99338afacb
Fix compatibility with PHP 8.1
2023-02-02 11:15:17 +01:00
slawkens
e2575c3612
Don't count deleted players (patched from develop)
2022-05-31 11:54:56 +02:00
slawkens
ac37802b7a
Typo.
2021-12-04 14:38:17 +01:00
slawkens
723e81e90e
Fix: undefined variable notice on database_log enabled
2021-08-30 16:10:54 +02:00
slawkens
60d2cfea99
Fix #169
2021-08-11 22:47:59 +02:00
czbadaro
9d7854dda6
Gratis premium account ( #156 )
...
* skip premdays and lastdays calculation when premdays = 65535 (gratis premium in TFS)
* TFS consider 65535 as gratis premium account and PHP_INT_MAX does not assume this value
* adds condition of premdays=65535 and standardize the label "gratis premium account" with tibia client
* adjust the label "days" when there is only one day of premium account
* adjusted premium account status
* Some small adjustment
* Sorry, typo.
Co-authored-by: slawkens <slawkens@gmail.com>
2021-04-22 22:49:42 +02:00
slawkens
aa17ddbf24
Fix compatibility with PHP 7.0 and lower
2021-02-23 15:10:03 +01:00
Lee
0de8894e4d
#142 Guildnick fix
...
Fixes the Guildnick not showing in the guild pages.
2021-02-16 02:10:30 +01:00
slawkens
2684205b5a
More fixes for PHP 8.0
2021-02-16 01:39:58 +01:00
slawkens
dbc76abcdd
Fix compatibility with PHP 8.0 (latest XAMPP)
...
Solution by doctrine developers
2021-02-16 00:29:09 +01:00
slawkens
746a5dc816
Fix setPremDays for latest TFS
...
Fixes editing account in admin panel
2021-02-15 21:05:19 +01:00
slawkens
194d110079
Fixed account getPremDays() function for latest TFS
...
This fixes account management + signature
2021-02-15 20:57:54 +01:00
slawkens
e3ecf8ec96
Fix notice about premend
2020-12-30 00:28:05 +01:00
slawkens
1999b19a1c
Add support for accounts.premium_ends_at (Latest tfs 1.x)
2020-12-30 00:11:46 +01:00
slawkens
ca1436ea3f
Fix #123 Guild Invite not working on otservbr-global
2020-06-03 21:35:45 +02:00
slawkens
e7fa5eb38a
Log query time in database_log
2020-03-26 02:03:32 +01:00
slawkens
ab94d0e752
Fix OTS_House houseid parameter
2020-03-17 22:41:37 +01:00
slawkens
c991e085d4
Add $_SERVER['REQUEST_URI'] to database.log
2020-03-14 13:52:01 +01:00
slawkens
959788cee8
Cache database tables & columns for 1 hour
2020-02-27 23:10:15 +01:00
slawkens
7b75a61cdb
Support for Nostalrius
...
https://github.com/TwistedScorpio/Nostalrius
2020-02-27 22:18:39 +01:00
slawkens
e11d70de46
Log database queries into database.log when enabled
...
Instead of showing in page sources (it was impractical)
2020-02-15 23:18:10 +01:00
slawkens
51b848c43e
Add RuntimeException if xml, pdo or zip PHP extension is missing
...
For a better User Experience ;)
2020-02-15 17:17:28 +01:00
slawkens
2dbf189f43
Use $db->exec where appropriate
...
May bring some performance boost (little, but still)
2020-02-15 03:15:53 +01:00
slawkens
259cda150d
Fix some 7.4 notices about OTS_Account bans
...
Example: Notice: Trying to access array offset on value of type bool in C:\UniServerZ\www\system\libs\pot\OTS_Account.php on line 784
2020-02-10 23:51:15 +01:00
slawkens
c7f2cab56a
Remove useless .htaccess
2020-01-15 20:57:31 +01:00
tobi132
6b931de37d
Update OTS_Base_List.php
2019-12-03 03:10:53 +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
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
slawkens
1cbe452f9c
* remove unused and deprecated SQLquery and SQLquote functions
2019-05-24 23:46:45 +02:00