mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
General fixes
+Fixed a bug that didn't delete artifacts when a player deleted his account +Added "(artifact)" if a village has an artifact in the village overview +Added the artifact section in the multihunter panel (return to natars doesn't work yet) NOTE: To play this version of the game, you have to run this query first (where "s1_" is the prefix of your server): ALTER TABLE `s1_artefacts` ADD `del` TINYINT(1) NULL DEFAULT '0' AFTER `lastupdate`; ALTER TABLE `testtravian`.`s1_artefacts` ADD INDEX `active-owner-conquered-del` (`active`, `owner`, `conquered`, `del`);
This commit is contained in:
+3
-1
@@ -200,11 +200,13 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts` (
|
||||
`bad_effect` tinyint(1) NULL DEFAULT '0',
|
||||
`effect2` tinyint(2) NULL DEFAULT '0',
|
||||
`lastupdate` int(11) NULL DEFAULT '0',
|
||||
`del` tinyint(1) NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `owner-active` (`owner`,`active`),
|
||||
KEY `vref-type-kind` (`vref`,`type`,`kind`) USING BTREE,
|
||||
KEY `active-type-lastupdate` (`active`,`type`,`lastupdate`),
|
||||
KEY `size-type` (`size`, `type`)
|
||||
KEY `size-type` (`size`, `type`),
|
||||
KEY `active-owner-conquered-del` (`active`, `owner`, `conquered`, `del`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user