mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Fixed a lot of bugs/security issues in the alliance
+You can no longer kick people of other alliances +You can no longer change the forum link with no permissions +You can no longer make more than 3 total confederation and 3 total NAP +You can no longer send a diplomacy pact to an alliance with already one pact or one pending pact +You can no longer handle diplomacy without permissions +Fixed security bugs related to invites (sending, deleting etc.) +You can no longer access to any alliance submenus without permissions (kick menu, diplomacy menu, etc.) +Errors are now shown correctly and better handling of them +New forum link and alliance description are shown correctly after editing them +You can no longer access to other alliances informations without being in it (attack reports, news, etc) +Corrected some alliance news +Added some language constants to en.php +Fixed and changed some database.php functions alliance related
This commit is contained in:
+17
-1
@@ -72,7 +72,23 @@ define("ANAME_EMPTY","Name empty");
|
||||
define("ATAG_EXIST","Tag taken");
|
||||
define("ANAME_EXIST","Name taken");
|
||||
define("ALREADY_ALLY_MEMBER","You're already in an alliance");
|
||||
define("ALLY_TOO_LOW", "You must have a level 3 or greater alliance");
|
||||
define("ALLY_TOO_LOW", "You must have a level 3 or greater embassy");
|
||||
define("USER_NOT_IN_YOUR_ALLY","This user is not in your alliance!");
|
||||
define("CANT_EDIT_YOUR_PERMISSIONS","You can't edit your own permissions!");
|
||||
define("NO_PERMISSION", "You don't have enough permissions!");
|
||||
define("NAME_OR_DIPL_EMPTY", "Name or diplomacy empty");
|
||||
define("ALLY_DOESNT_EXISTS","Alliance does not exist");
|
||||
define("CANNOT_INVITE_SAME_ALLY","You cannot invite your own alliance");
|
||||
define("WRONG_DIPLOMACY","Wrong choice made");
|
||||
define("INVITE_ALREADY_SENT","Either you have already sent a pact to this alliance, they sent it to yours or you already have a pact with them");
|
||||
define("INVITE_SENT","Invite sent");
|
||||
define("DECLARED_WAR_ON","declared war to");
|
||||
define("OFFERED_NON_AGGRESION_PACT_TO","offered non-aggression pact to");
|
||||
define("OFFERED_CONFED_TO","offered a confederation to");
|
||||
define("ALLY_TOO_MUCH_PACTS","Either You cannot offer more pacts of this kind or this alliance has reached the limit for this kind of patcs");
|
||||
define("ALLY_PERMISSIONS_UPDATED","Permissions updated");
|
||||
define("ALLY_FORUM_LINK_UPDATED", "Forum link updated");
|
||||
define("ALLY_USER_KICKED"," has been kicked from the alliance");
|
||||
define("NOT_OPENED_YET","Server not started yet.");
|
||||
define("REGISTER_CLOSED","The register is closed. You can't register to this server.");
|
||||
define("NAME_EMPTY","Please insert name");
|
||||
|
||||
Reference in New Issue
Block a user