mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 08:57:17 +00:00
Update Readme
Update Readme
This commit is contained in:
@@ -732,7 +732,7 @@ class Alliance {
|
|||||||
}
|
}
|
||||||
// === NOU: nu poți da kick fondatorului ===
|
// === NOU: nu poți da kick fondatorului ===
|
||||||
if ($database->isAllianceOwner($targetUID) == $allyId) {
|
if ($database->isAllianceOwner($targetUID) == $allyId) {
|
||||||
$form->addError("perm", "You cannot expel the alliance founder.");
|
$form->addError("perm", CANT_REMOVE_LEADER);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -823,7 +823,7 @@ class Alliance {
|
|||||||
// ==================== CAZ SPECIAL: LIDERUL PLEACĂ ====================
|
// ==================== CAZ SPECIAL: LIDERUL PLEACĂ ====================
|
||||||
if ($isFounder && $memberCount > 1) {
|
if ($isFounder && $memberCount > 1) {
|
||||||
if (empty($post['new_founder'])) {
|
if (empty($post['new_founder'])) {
|
||||||
$form->addError("founder", 'Founder was not selected.');
|
$form->addError("founder", FOUNDER_LEAVE_NEW);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$newFounderID = (int)$post['new_founder'];
|
$newFounderID = (int)$post['new_founder'];
|
||||||
@@ -839,7 +839,7 @@ class Alliance {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$valid) {
|
if (!$valid) {
|
||||||
$form->addError("founder", 'Invalid founder.');
|
$form->addError("founder", FOUNDER_LEAVE_INVALID);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,10 @@
|
|||||||
## Filename buidata.php ##
|
## Filename buidata.php ##
|
||||||
## Developed by: Akakori ##
|
## Developed by: Akakori ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2011. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## ##
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
## Filename cel.php ##
|
## Filename cel.php ##
|
||||||
## Developed by: G3n3s!s & JimJam & LoppyLukas ##
|
## Developed by: G3n3s!s & JimJam & LoppyLukas ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## ##
|
## ##
|
||||||
## URLs: https://travianz.org ##
|
## URLs: https://travianz.org ##
|
||||||
## https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,10 @@
|
|||||||
## Filename cp.php ##
|
## Filename cp.php ##
|
||||||
## Developed by: G3n3s!s & JimJam & LoppyLukas ##
|
## Developed by: G3n3s!s & JimJam & LoppyLukas ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
#################################################################################
|
||||||
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
|
## --------------------------------------------------------------------------- ##
|
||||||
|
## Filename hero_full.php ##
|
||||||
|
## Developed by: yi12345 ##
|
||||||
|
## License: TravianZ Project ##
|
||||||
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
|
## ##
|
||||||
|
#################################################################################
|
||||||
|
|
||||||
$hero_levels = array(0 => 0, 100, 300, 600, 1000, 1500, 2100, 2800, 3600, 4500, 5500, 6600, 7800, 9100, 10500, 12000, 13600, 15300, 17100, 19000, 21000, 23100, 25300, 27600, 30000, 32500, 35100, 37800, 40600, 43500, 46500, 49600, 52800, 56100, 59500, 63000, 66600, 70300, 74100, 78000, 82000, 86100, 90300, 94600, 99000, 103500, 108100, 112800, 117600, 122500, 127500, 132600, 137800, 143100, 148500, 154000, 159600, 165300, 171100, 177000, 183000, 189100, 195300, 201600, 208000, 214500, 221100, 227800,
|
$hero_levels = array(0 => 0, 100, 300, 600, 1000, 1500, 2100, 2800, 3600, 4500, 5500, 6600, 7800, 9100, 10500, 12000, 13600, 15300, 17100, 19000, 21000, 23100, 25300, 27600, 30000, 32500, 35100, 37800, 40600, 43500, 46500, 49600, 52800, 56100, 59500, 63000, 66600, 70300, 74100, 78000, 82000, 86100, 90300, 94600, 99000, 103500, 108100, 112800, 117600, 122500, 127500, 132600, 137800, 143100, 148500, 154000, 159600, 165300, 171100, 177000, 183000, 189100, 195300, 201600, 208000, 214500, 221100, 227800,
|
||||||
234600, 241500, 248500, 255600, 262800, 270100, 277500, 285000, 292600, 300300, 308100, 316000, 324000, 332100, 340300, 348600, 357000, 365500, 374100, 382800, 391600, 400500, 409500, 418600, 427800, 437100, 446500, 456000, 465600, 475300, 485100, 495000);
|
234600, 241500, 248500, 255600, 262800, 270100, 277500, 285000, 292600, 300300, 308100, 316000, 324000, 332100, 340300, 348600, 357000, 365500, 374100, 382800, 391600, 400500, 409500, 418600, 427800, 437100, 446500, 456000, 465600, 475300, 485100, 495000);
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,11 @@
|
|||||||
## Filename index.php ##
|
## Filename index.php ##
|
||||||
## Developed by: aggenkeech ##
|
## Developed by: aggenkeech ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
// prevent direct misuse in weird contexts (optional but safe)
|
// prevent direct misuse in weird contexts (optional but safe)
|
||||||
|
|||||||
@@ -5,7 +5,10 @@
|
|||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Filename resdata.php ##
|
## Filename resdata.php ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,10 @@
|
|||||||
## Filename unitdata.php ##
|
## Filename unitdata.php ##
|
||||||
## Developed by: Akakori ##
|
## Developed by: Akakori ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
## Refactor: Incremental cleanup (compatibility preserved) ##
|
## Refactor: Incremental cleanup (compatibility preserved) ##
|
||||||
## Notes: PHP 7+ / legacy safe ##
|
## Notes: PHP 7+ / legacy safe ##
|
||||||
## ##
|
## ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|||||||
@@ -5,7 +5,10 @@
|
|||||||
## Filename WorldWonderName.php ##
|
## Filename WorldWonderName.php ##
|
||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,11 @@
|
|||||||
## Filename index.php ##
|
## Filename index.php ##
|
||||||
## Developed by: aggenkeech ##
|
## Developed by: aggenkeech ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
// prevent direct misuse in weird contexts (optional but safe)
|
// prevent direct misuse in weird contexts (optional but safe)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
## Version: 18.05.2026 ##
|
## Version: 18.05.2026 ##
|
||||||
## Filename: Generator.php ##
|
## Filename: Generator.php ##
|
||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## Refactored by: Shadow (cata7007@gmail.com) ##
|
## Refactored by: Shadow (cata7007@gmail.com) ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## ##
|
## ##
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
// DO NOT REMOVE COPYRIGHT NOTICE! //
|
// DO NOT REMOVE COPYRIGHT NOTICE! //
|
||||||
// Adding tasks, constructions and artefact by: Armando //
|
// Adding tasks, constructions and artefact by: Armando //
|
||||||
// Modified , added , fixed , implementd by: Shadow and ronix //
|
// Modified , added , fixed , implementd by: Shadow and ronix //
|
||||||
|
// //
|
||||||
|
// URLs: https://travianz.org //
|
||||||
|
// https://github.com/Shadowss/TravianZ //
|
||||||
|
// //
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// //
|
// //
|
||||||
// ENGLISH //
|
// ENGLISH //
|
||||||
@@ -79,6 +83,9 @@ 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('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('CANT_EDIT_YOUR_PERMISSIONS', 'You can`t edit your own permissions!');
|
||||||
define('CANT_EDIT_LEADER_PERMISSIONS', 'Alliance leader`s permissions can`t be edited!');
|
define('CANT_EDIT_LEADER_PERMISSIONS', 'Alliance leader`s permissions can`t be edited!');
|
||||||
|
define('CANT_REMOVE_LEADER', 'You cannot expel the alliance founder!');
|
||||||
|
define('FOUNDER_LEAVE_NEW', 'Founder was not selected!');
|
||||||
|
define('FOUNDER_LEAVE_INVALID', 'Invalid founder!');
|
||||||
define('NO_PERMISSION', 'You don`t have enough permissions!');
|
define('NO_PERMISSION', 'You don`t have enough permissions!');
|
||||||
define('NAME_OR_DIPL_EMPTY', 'Name or diplomacy empty');
|
define('NAME_OR_DIPL_EMPTY', 'Name or diplomacy empty');
|
||||||
define('ALLY_DOESNT_EXISTS', 'Alliance does not exist');
|
define('ALLY_DOESNT_EXISTS', 'Alliance does not exist');
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
## Developed by: Dixie ##
|
## Developed by: Dixie ##
|
||||||
## Refactored: Shadow (PHP 7+ compatibility, cleanup, safety pass) ##
|
## Refactored: Shadow (PHP 7+ compatibility, cleanup, safety pass) ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## ##
|
## ##
|
||||||
## URLs: https://travianz.org ##
|
## URLs: https://travianz.org ##
|
||||||
## https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
|
|||||||
@@ -6,7 +6,10 @@
|
|||||||
## Developed by: SlimShady ##
|
## Developed by: SlimShady ##
|
||||||
## Edited by: Dzoki & Dixie ##
|
## Edited by: Dzoki & Dixie ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,10 @@
|
|||||||
## Filename Technology.php ##
|
## Filename Technology.php ##
|
||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -3,15 +3,15 @@
|
|||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Project: TravianZ ##
|
||||||
## Version: 22.06.2015 ##
|
## Version: 22.06.2015 ##
|
||||||
## Filename Units.php ##
|
## Filename Units.php ##
|
||||||
## Developed by: Mr.php , Advocaite , brainiacX , yi12345 , Shadow , ronix ##
|
## Developed by: Mr.php , Advocaite , brainiacX , yi12345 , Shadow , ronix ##
|
||||||
## Fixed by: Shadow - STARVATION , HERO FIXED COMPL. ##
|
## Fixed by: Shadow - STARVATION , HERO FIXED COMPL. ##
|
||||||
## Fixed by: InCube - double troops ##
|
## ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2015. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,10 @@
|
|||||||
## Filename index.php ##
|
## Filename index.php ##
|
||||||
## Developed by: aggenkeech ##
|
## Developed by: aggenkeech ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
// prevent direct misuse in weird contexts (optional but safe)
|
// prevent direct misuse in weird contexts (optional but safe)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# TravianZ
|
# TravianZ
|
||||||
|
|
||||||
[](https://github.com/Shadowss/TravianZ)
|
[](https://github.com/Shadowss/TravianZ)
|
||||||
[](https://github.com/Shadowss/TravianZ)
|
[](https://github.com/Shadowss/TravianZ)
|
||||||
[](https://github.com/Shadowss/TravianZ)
|
[](https://github.com/Shadowss/TravianZ)
|
||||||
[](https://github.com/Shadowss/TravianZ)
|
[](https://github.com/Shadowss/TravianZ)
|
||||||
@@ -11,9 +11,9 @@ This repository currently targets modern local/server setups with PHP 8.x and Ma
|
|||||||
|
|
||||||
## Project Status
|
## Project Status
|
||||||
|
|
||||||
- Version line: `v8.3.5` (legacy naming)
|
- Version line: `v9` (Incremental Refactor)
|
||||||
- Stability: playable and actively maintained
|
- Stability: playable and actively maintained
|
||||||
- Migration note: this is not a drop-in upgrade over older `8.3.2` deployments
|
- Migration note: this is not a drop-in upgrade over older `8.3.4` deployments
|
||||||
|
|
||||||
If you are upgrading from an older installation, do a fresh install and migrate data carefully.
|
If you are upgrading from an older installation, do a fresh install and migrate data carefully.
|
||||||
|
|
||||||
@@ -83,8 +83,8 @@ Admin entrypoint:
|
|||||||
|
|
||||||
Recent improvements include:
|
Recent improvements include:
|
||||||
|
|
||||||
- Users list under the `Users` menu
|
- Full incremental refactored GameEngine and Templates folder
|
||||||
- Better null/undefined handling in admin templates
|
- Added cache on Database.php and Automation.php and other important files
|
||||||
- Dynamic table prefix support in map tile queries
|
- Dynamic table prefix support in map tile queries
|
||||||
|
|
||||||
## Performance Notes
|
## Performance Notes
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
## Copyright: TravianZ (c) 2013-2026. All rights reserved. ##
|
## Copyright: TravianZ (c) 2013-2026. All rights reserved. ##
|
||||||
## Modified by: Shadow and ronix ##
|
## Modified by: Shadow and ronix ##
|
||||||
## ##
|
## ##
|
||||||
|
## URLs: https://travianz.org ##
|
||||||
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Project: TravianZ ##
|
||||||
## Filename accounts.php ##
|
## Filename accounts.php ##
|
||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -7,11 +7,11 @@
|
|||||||
## Version: 01.09.2013 ##
|
## Version: 01.09.2013 ##
|
||||||
## Filename process.php ##
|
## Filename process.php ##
|
||||||
## Developed by: Shadow ##
|
## Developed by: Shadow ##
|
||||||
## Fixed by: Shadow / Skype : cata7007 and Armando ##
|
## Fixed by: Shadow cata7007@gmail.com ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## Source code: http://github.com/Shadowss/TravianZ/ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Project: TravianZ ##
|
||||||
## Filename accounts.php ##
|
## Filename accounts.php ##
|
||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Project: TravianZ ##
|
||||||
## Filename config.php ##
|
## Filename config.php ##
|
||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
## Developed by: Dzoki ##
|
## Developed by: Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: https://travianz.org ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## https://github.com/Shadowss/TravianZ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|||||||
+14
-7
@@ -3,9 +3,9 @@
|
|||||||
-- http://www.phpmyadmin.net
|
-- http://www.phpmyadmin.net
|
||||||
--
|
--
|
||||||
-- Host: localhost
|
-- Host: localhost
|
||||||
-- Generation Time: Jul 21, 2011 at 02:49 AM
|
-- Generation Time: May 15, 2026 at 02:49 AM
|
||||||
-- Server version: 5.5.8
|
-- Server version: 9.0 INCREMENTAL REFACTOR
|
||||||
-- PHP Version: 5.3.5
|
-- PHP Version: 8.4
|
||||||
|
|
||||||
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
|
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
|
||||||
|
|
||||||
@@ -372,7 +372,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%attacks` (
|
|||||||
`b6` tinyint(1) NULL,
|
`b6` tinyint(1) NULL,
|
||||||
`b7` tinyint(1) NULL,
|
`b7` tinyint(1) NULL,
|
||||||
`b8` tinyint(1) NULL,
|
`b8` tinyint(1) NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `vref` (`vref`),
|
||||||
|
KEY `attack_type` (`attack_type`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
--
|
--
|
||||||
@@ -423,7 +425,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%bdata` (
|
|||||||
KEY `master` (`master`),
|
KEY `master` (`master`),
|
||||||
KEY `timestamp` (`timestamp`),
|
KEY `timestamp` (`timestamp`),
|
||||||
KEY `master-timestamp` (`master`,`timestamp`) USING BTREE,
|
KEY `master-timestamp` (`master`,`timestamp`) USING BTREE,
|
||||||
KEY `wid` (`wid`)
|
KEY `wid` (`wid`),
|
||||||
|
KEY `wid_timestamp` (`wid`,`timestamp`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
--
|
--
|
||||||
@@ -1110,7 +1113,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%movement` (
|
|||||||
PRIMARY KEY (`moveid`),
|
PRIMARY KEY (`moveid`),
|
||||||
KEY `ref` (`ref`),
|
KEY `ref` (`ref`),
|
||||||
KEY `from-proc-sort_type` (`from`,`proc`,`sort_type`),
|
KEY `from-proc-sort_type` (`from`,`proc`,`sort_type`),
|
||||||
KEY `proc-sort_type-endtime` (`proc`,`sort_type`,`endtime`)
|
KEY `proc-sort_type-endtime` (`proc`,`sort_type`,`endtime`),
|
||||||
|
KEY `to_endtime` (`to`,`endtime`),
|
||||||
|
KEY `from_endtime` (`from`,`endtime`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
--
|
--
|
||||||
@@ -1280,7 +1285,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%research` (
|
|||||||
`timestamp` int(11) NULL,
|
`timestamp` int(11) NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `vref` (`vref`),
|
KEY `vref` (`vref`),
|
||||||
KEY `timestamp` (`timestamp`)
|
KEY `timestamp` (`timestamp`),
|
||||||
|
UNIQUE KEY `vref_tech` (`vref`,`tech`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
--
|
--
|
||||||
@@ -1673,6 +1679,7 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%vdata` (
|
|||||||
`evasion` tinyint(1) NULL DEFAULT '0',
|
`evasion` tinyint(1) NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`wref`),
|
PRIMARY KEY (`wref`),
|
||||||
KEY `owner-capital-pop` (`owner`,`capital`,`pop`),
|
KEY `owner-capital-pop` (`owner`,`capital`,`pop`),
|
||||||
|
KEY `owner_pop` (`owner`,`pop`),
|
||||||
KEY `maxstore` (`maxstore`),
|
KEY `maxstore` (`maxstore`),
|
||||||
KEY `maxcrop` (`maxcrop`),
|
KEY `maxcrop` (`maxcrop`),
|
||||||
KEY `celebration` (`celebration`),
|
KEY `celebration` (`celebration`),
|
||||||
|
|||||||
Reference in New Issue
Block a user