102 Commits

Author SHA1 Message Date
Matheus Grilo
add2738e76 Show equipable items in server based in items.xml (#286)
* items.php

* Update items.php

* Another tabs update
2017-03-16 19:23:34 +01:00
Znote
0b442e9095 Remade serverinfo.php. Loads stages.xml, imports config.lua from textarea instead of requiring access to OT directory. Gives much more server information. 2017-02-16 04:38:02 +01:00
Znote
a682fef4ae TFS 0.3 flags highscores fix.
Also added missing function for spells parser.
2017-02-11 03:38:10 +01:00
Znote
6a17b7e2ca Spells page with vocation filters.
Login as an admin to parse engine/XML/spells.xml file and create a cached copy of it, which will be served to the visitors.
2017-02-05 05:52:40 +01:00
Znote
8cbcd26747 Fix merge conflict. 2017-01-30 23:01:18 +01:00
Znote
3d82fcecf1 Display outfit images in highscores, online list, character profile.
Fix #252
2017-01-30 22:54:33 +01:00
Znote
a5ba62a51e Display outfits on highscores, onlinelist, character profile.
Fix #252
2017-01-30 22:36:39 +01:00
Znote
2fad7a3efb Improved flags system & reduce query usage in online list
Using http://flag.znote.eu as an external image server for flags.
Online list is now stored in a 30 seconds quick cache.
Reduced query usage in online list to 1 instead of 1 + players online amounts of queries.
2017-01-26 22:09:53 +01:00
Znote
1713d87ec2 Google reCaptcha also requires the openSSL php extension. 2017-01-22 19:35:40 +01:00
Znote
c842e33857 Verify that curl is installed when using captcha 2017-01-22 05:11:51 +01:00
Znote
d5cabac14a Disable 2FA through Email Fix #249
And fixed an issue with email activation link when registering an account.
2017-01-21 23:08:46 +01:00
Felipe Siqueira Pinheiro
013e8f1174 Changed znote_accounts ip row to UNSIGNED (#269) 2017-01-18 21:33:14 +01:00
Znote
6c036b0a1b Log IP performance issue workaround.
1000 latest records should suffice for the system to function properly.
An OT server had issues when ip logger saved over 250 000 IPs (probably some sort of ddos attack), which got loaded into memory in each page render.
2017-01-07 03:37:23 +01:00
Znote
ce043006ed market.php Performance improvement. Smarter queries and array referencing. Fix #264 2017-01-06 00:02:24 +01:00
Znote
098efa6591 Greatly reducing the amounts of SQL queries used on guilds page. 2017-01-04 22:11:59 +01:00
Znote
43ae67f74e Gallery image system now works again. Fix #263
Changed the gallery image host from imgland.net to http://www.freeimagehosting.net/ (which uses imgur.com)
2017-01-01 04:14:35 +01:00
Znote
deddeb462c Fixed highscores being broken when cache system is enabled.
Highscore cache data now stores vocation group store data, and flag value if enabled in config.php
No extra queries are being made after the scores have been loaded from cache.
2016-12-31 04:05:15 +01:00
Stefan A. Brannfjell
0c20be5c7e Update users.php : Character skills bug fix TFS_03
Fix character skills bug on otx 2.x (and probably TFS 0.3 as well). 
https://otland.net/threads/you-do-not-have-enough-skill-on-cast-spell.248101/
2016-12-27 23:33:57 +01:00
Znote
366542d249 Better character creation. Configurable vocation skills and will calculate HP/MP/CAP for each vocation at their configured starting level. 2016-12-04 01:44:44 +01:00
Znote
a0413026dc Removing zeotss services. This was a project in development that never got functional. 2016-11-13 21:29:27 +01:00
Znote
c3c236e13e TFS 1.2+ Two-Factor Authentication system.
RFC6238 Implementation of the OTP algorythm, tested with the app "Authy" from the iOS iPhone app store.
2016-11-13 05:34:14 +01:00
Znote
3dcb92b678 Set all tables to use InnoDB SQL engine and added table znote_global_storage. 2016-10-24 02:22:37 +02:00
Znote
0dc15ea95b Using a config variable to define protocol and domain name instead of $_SERVER as it seems inconsistent. fix #182 and #225 2016-10-24 01:51:52 +02:00
Znote
21e0de50b4 Fix #245 2016-10-24 01:21:55 +02:00
Znote
01e4441b6b Fixed some PHP warnings 2016-10-24 01:06:44 +02:00
Stefan A. Brannfjell
8cf999396b connect.php, fixed mysql import error on setup. 2016-05-22 21:54:44 +02:00
Pwntus
eb90646ab6 Fixed tiny bug. 2016-05-21 09:02:09 +02:00
Pwntus
38221b34c8 Added option to sort by vocation to highscore page. 2016-05-21 08:34:27 +02:00
Stefan A. Brannfjell
5f03d514e7 Merge pull request #240 from gpedro/feat/config-lua-parser
feat: getConfigLua added into engine/general
2016-05-17 02:15:34 +02:00
Gabriel Pedro
1cc404faaa feat: getConfigLua added into engine/general 2016-05-14 14:47:40 -04:00
Gabriel Pedro
4e18cb3c66 resolves #214 2016-05-11 18:32:51 -04:00
Stefan A. Brannfjell
fb32e03ead Merge pull request #235 from gpedro/fix/issue-71
resolves #71
2016-05-04 23:59:04 +02:00
Gabriel Pedro
ae28021d86 resolves #71 2016-05-02 12:47:30 -04:00
Gabriel Pedro
151f8da5c3 resolves #228
updating nicedit for using imgur api v3 and refactoring youtubeButton
2016-05-02 03:02:18 -04:00
Stefan A. Brannfjell
857814b447 Merge pull request #220 from forgee/fix_#205
Fix #205 special/database2znoteaac.php
2015-10-24 16:17:59 +02:00
Martin Nylind
ab117b203b Add elapsedTime in connect.php
Ensure that connect.php always has function elapsedTime available.
2015-10-23 10:56:14 +02:00
Martin Nylind
01b8b50110 Partial fix for #216
Users can change their flag in the account settings.
2015-10-22 20:03:21 +02:00
Tandloze
f749d5f0f9 Flags for Znote 1.5 reworked
Reworked flags for Znote 1.5 by not altering the tfs tables
2015-08-13 17:13:35 +02:00
Kristoffer Eklund
75833e7fbe Recode validate_name() function 2015-06-20 18:35:12 +02:00
Znote
3036d61926 Added correct page render time in the default layout.
Added a function elapsedTime() that can be called anywhere to see how long the page has taken to render thus far.
query debugging shows current render time to help detect performance issues.
2015-05-21 19:22:58 +02:00
Znote
2a38590b96 Saving some microtime vars in init for more accurate page render calculations. 2015-05-19 18:25:18 +02:00
Daniel Björkholm
e34e9598a0 Fix typo (function get_guild_level_data) 2014-11-28 17:54:34 +01:00
Znote
d6efb54577 Removing some dodgy sample scripts which are uneccesary.
Fixed an issue where the config function was wrong. http://otland.net/threads/znote-aac-1-4-tfs-0-2-13-tfs-0-3-6-0-4.166722/page-45#post-2157676
Added a small tip on how to to use the youtube embed when posting news.
2014-11-16 16:00:54 +01:00
Znote
da8feec5d8 http://3.ii.gl/nhabjNNZb.png Guild list now also shows logo, motd, average level and guild level 2014-11-15 20:35:58 +01:00
Mark Samman
496f71a4be Fix SQL injection in user_character_data 2014-10-29 19:48:09 +01:00
Stefan A. Brannfjell
92ef4691f9 Merge pull request #159 from peonso/master
Add guildnick
2014-09-21 13:12:35 +02:00
peonso
656a5ca04b Update users.php 2014-09-17 17:16:19 -03:00
peonso
86819b9bfa Update users.php 2014-09-17 17:15:00 -03:00
peonso
ce71cdd16d Update users.php 2014-09-17 17:14:33 -03:00
EPuncker
09b618b67b Converted tfs 1.0 scripts to meta, removed some spaces from config and fixed a typo 2014-09-12 23:17:06 -03:00