570 Commits

Author SHA1 Message Date
Stefan A. Brannfjell
cba8097d7d
Small fix to achievements.php
Fix #390 
Default image medal for achievements without configured image. 
Secret key set to default if it hasn't been configured already.
2020-05-18 09:51:06 +02:00
Evil Puncker
4068f42ac4
Enabled SSL where applicable (#396)
Enabled SSL where aplicable
2020-05-18 09:17:47 +02:00
Evil Puncker
6eb50966fb
Updated clients download link (#397) 2020-05-13 17:06:14 +02:00
Evil Puncker
5316852875
Fixed some typos in Readme (#392) 2020-05-13 17:03:03 +02:00
Evil Puncker
b0947041ce
Small fixes imgland to imgur, achievement images and link (#391)
Removed dead imgland links and changed them to imgur
Changed the example achievements image links with proper ones
Changed Achievements link to tfs repo
2020-05-13 17:01:29 +02:00
Znote
d5749700fc Fix #386 - Warnings in support list. 2020-03-22 20:29:55 +01:00
Znote
35e2ff7f43 update to znote_schema.sql
Turns out inline comments is a big no-no.
2020-03-22 00:31:12 +01:00
Znote
0eb2972e30 LUA - More stable shopsystem
When working with custom types.
2020-03-19 22:38:51 +01:00
Znote
0c64adb55e Fix #375 You cannot invite own guild to guildwar. 2020-02-29 15:56:08 +01:00
Znote
d4538f0f1f Support list works on TFS 0.3.6 again. 2020-02-29 14:56:24 +01:00
Znote
d186d513e0 Remove foreign key from znote_guild_wars table.
Because it will break the schema import on databases based on TFS 0.3 that doesnt have the source guild_wars table.
2020-02-29 13:52:05 +01:00
Znote
36bd6f6ad1 Fix OTHIRE bug introduced in last commit. 2020-02-26 20:02:59 +01:00
Znote
94223f5ac0 Outfit display support on low protocol < 7.8 2020-02-23 21:54:12 +01:00
Znote
2d14b3252e Extracting SQL schema out from connect.php file 2020-02-23 21:05:23 +01:00
Stefan A. Brannfjell
d7996c7d1d
Update ipn.php 2020-02-19 13:57:54 +01:00
slawkens
cd971788cf
Add .idea (PhpStorm) to .gitignore (#381) 2020-02-11 08:46:59 +01:00
Stefan A. Brannfjell
febeb5e4e1
Update ipn.php 2020-01-10 18:51:47 +01:00
Erikas Kontenis
6584811ed6 fix division by zero issue when manamax is 0 (#376) 2020-01-06 18:29:53 +01:00
Rodrigo Paixão
98f90eb442 Update znoteshop.lua (#373)
Now you'll recieve 1 item per time, because there's no global event compatible with TFS 0.2
2019-12-03 15:14:51 +01:00
Znote
8e0df92f98 Fix #289 Google safebrowser false positive 2019-11-15 00:22:33 +01:00
Znote
6e9cfef9ff Fix #70 TFS 1.0 Set position 2019-11-14 23:17:57 +01:00
Stefan A. Brannfjell
1c557585a0
Added CodeFactor badge
And enabled continuous code quality service.
2019-11-14 16:58:52 +01:00
Stefan A. Brannfjell
fef807bf28
Create .editorconfig 2019-11-11 22:23:59 +01:00
Znote
44ac05e5ee Merge branch 'master' of https://github.com/Znote/ZnoteAAC 2019-11-11 22:00:02 +01:00
Znote
82e2e6336a Fixed a bool offset in login.php 2019-11-11 21:59:32 +01:00
Znote
7de537a1d3 Fix #354 - Highscores warning if it tries to display a vocation group without any players in it. 2019-11-11 21:50:39 +01:00
Stefan A. Brannfjell
f65f73782f
MIT Licence (#370) 2019-11-11 17:48:27 +01:00
Stefan A. Brannfjell
a8f9efab92
Delete Znote AAC license.txt 2019-11-11 17:48:11 +01:00
Znote
acaccc5960 Update Readme 2019-11-11 06:57:13 +01:00
Znote
14bec26444 Bump required PHP version to 5.6 2019-11-11 06:56:59 +01:00
Znote
da58e68d83 Fix typo in Znote AAC schema 2019-11-11 06:49:04 +01:00
Znote
e96cf7f2b7 Fix #363 Guild leaders can no longer leave their guild
Unless they decide to properly disband it first.
2019-11-11 06:16:44 +01:00
Znote
de9eb60638 Fix #280 Importing Znote AAC schema fixes
It will now import old accounts and players to be compatible with Znote AAC
It will also remove duplicates if it finds any
2019-11-11 06:04:55 +01:00
Znote
45c0ec109d Fix #305 SQL Error while creating/updating new forum boards. 2019-11-11 04:25:43 +01:00
Znote
6fd5aa5409 Implemented EQ + skills + full outfit display in character profile 2019-11-10 09:43:00 +01:00
Znote
b65c860b66 Fix #369 - Outfit offer type (5) supports 2 outfit ids. 2019-11-09 22:04:16 +01:00
Znote
be8b882166 Possibility to reward users with shop points if they verify their email
Also generates a new activation key after they have verified their email in-case they change their email and guess the activation link for their fake email.
Also removes the given points until they verify their email again if they change their email.
2019-10-23 21:06:24 +02:00
Znote
d8f22f9c33 Initialize active_email in init.php.
Forgot to include it in the previous update.
2019-10-22 03:13:32 +02:00
Znote
00a97d43e4 Allow users to verify their email in myaccount.php
Even if they arent forced to verify email during registration.
If they change their email in the settings later, the verification is lost.
Todo: Add a reward for first-time verification.
2019-10-22 02:05:14 +02:00
Znote
44dd48b17e Fix "Cannot redeclare PHPMailerAutoload()"
When sending multiple emails in bulk.
2019-10-19 03:24:57 +02:00
Znote
734f5c7969 Dont allow _ symbol when creating character name. 2019-10-16 22:45:48 +02:00
Stefan A. Brannfjell
27d7ce44eb
house.php: Rebase house declaration with #359
Somehow managed to overwrite it with an old copy.
2019-09-28 09:32:01 +02:00
Znote
56050fcb29 TFS 1.0: Direct house purchase with shop points
Allow players to directly purchase houses using shop points.
https://otland.net/threads/znote-aac-shop-house-offers.266507/
2019-09-28 09:25:47 +02:00
Znote
8a8baba9fc Suppressed uneccesary error in change character name. myaccount.php
When you dont have ticket to do change your name, a sync error appeared, even though its not a sync error.
2019-09-22 23:44:26 +02:00
Znote
7f1a4af7d2 Globalevent shop: Confirm player has enough available slots 2019-09-15 22:05:32 +02:00
Znote
e69021e01c Lua TFS 1.x: Globalevent shop system. 2019-09-14 21:06:33 +02:00
Znote
c0f891b2d7 Process all orders at once in shop talkaction script 2019-09-09 02:16:37 +02:00
divinity76
c5323dbc78 admin.php protection against XSS and CSRF (#367)
admin.php protection against XSS and CSRF
see https://github.com/Znote/ZnoteAAC/issues/361 for more info
2019-08-27 00:25:51 +02:00
divinity76
4c3c2fab1f better $postdata encoding (#366)
idk what stripslashes() was doing in there, but it was definitely a bug (there's no way the slashes in there, if any, had no purpose and could just be discarded.. right?)

in addition, post data with keys containing special characters (if any) was incorrectly encoded. a correct encoding loop goes like:

foreach ($_POST as $key => $value) {
	$req.="&".urlencode($key)."=".urlencode($value);
}
but the original code was only encoding the value, not the key... but even better than a custom encoding loop is to just use http_build_query(), which does the entire encoding loop for us :) so that's what i changed it to.
2019-08-26 02:12:53 +02:00
divinity76
3c15ead4cf "no content OK" is HTTP 204, not HTTP 200. (#365)
read section 6.3.5 of https://tools.ietf.org/html/rfc7231#section-6.3.5 for proof.
2019-08-26 02:11:18 +02:00