You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-20 15:36:17 +00:00
@@ -702,16 +702,12 @@ DROP TEMPORARY TABLE IF EXISTS `tmp_permission_comments`;
|
|||||||
DROP PROCEDURE IF EXISTS `refresh_permission_definition_values`;
|
DROP PROCEDURE IF EXISTS `refresh_permission_definition_values`;
|
||||||
|
|
||||||
DELIMITER $$
|
DELIMITER $$
|
||||||
|
|
||||||
CREATE PROCEDURE `refresh_permission_definition_values`()
|
CREATE PROCEDURE `refresh_permission_definition_values`()
|
||||||
BEGIN
|
BEGIN
|
||||||
DECLARE done INT DEFAULT 0;
|
DECLARE done INT DEFAULT 0;
|
||||||
DECLARE current_rank_id INT;
|
DECLARE current_rank_id INT;
|
||||||
DECLARE current_column_name VARCHAR(32);
|
DECLARE current_column_name VARCHAR(32);
|
||||||
|
DECLARE rank_cursor CURSOR FOR SELECT `id` FROM `permission_ranks` ORDER BY `id` ASC;
|
||||||
DECLARE rank_cursor CURSOR FOR
|
|
||||||
SELECT `id` FROM `permission_ranks` ORDER BY `id` ASC;
|
|
||||||
|
|
||||||
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = 1;
|
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = 1;
|
||||||
|
|
||||||
OPEN rank_cursor;
|
OPEN rank_cursor;
|
||||||
@@ -729,11 +725,9 @@ BEGIN
|
|||||||
CONCAT(
|
CONCAT(
|
||||||
'SELECT ''',
|
'SELECT ''',
|
||||||
REPLACE(`column_name`, '''', ''''''),
|
REPLACE(`column_name`, '''', ''''''),
|
||||||
''' AS permission_key, ',
|
''' AS permission_key, CAST(COALESCE(`',
|
||||||
'CAST(COALESCE(FLOOR(`',
|
|
||||||
REPLACE(`column_name`, '`', '``'),
|
REPLACE(`column_name`, '`', '``'),
|
||||||
'`), 0) AS UNSIGNED) AS permission_value ',
|
'`, ''0'') AS UNSIGNED) AS permission_value FROM `permissions` WHERE `id` = ',
|
||||||
'FROM `permissions` WHERE `id` = ',
|
|
||||||
current_rank_id
|
current_rank_id
|
||||||
)
|
)
|
||||||
ORDER BY `ordinal_position`
|
ORDER BY `ordinal_position`
|
||||||
@@ -771,19 +765,18 @@ BEGIN
|
|||||||
'` = src.permission_value'
|
'` = src.permission_value'
|
||||||
);
|
);
|
||||||
|
|
||||||
PREPARE stmt FROM @permission_rank_update_sql;
|
PREPARE permission_rank_update_stmt FROM @permission_rank_update_sql;
|
||||||
EXECUTE stmt;
|
EXECUTE permission_rank_update_stmt;
|
||||||
DEALLOCATE PREPARE stmt;
|
DEALLOCATE PREPARE permission_rank_update_stmt;
|
||||||
|
|
||||||
END LOOP;
|
END LOOP;
|
||||||
|
|
||||||
CLOSE rank_cursor;
|
CLOSE rank_cursor;
|
||||||
END$$
|
END$$
|
||||||
|
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
||||||
CALL `refresh_permission_definition_values`();
|
CALL `refresh_permission_definition_values`();
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `room_wired_settings` (
|
CREATE TABLE IF NOT EXISTS `room_wired_settings` (
|
||||||
`room_id` int(11) NOT NULL,
|
`room_id` int(11) NOT NULL,
|
||||||
`inspect_mask` int(11) NOT NULL DEFAULT 0 COMMENT 'Bitmask for who can open and inspect Wired in the room. 1=everyone, 2=users with rights, 4=group members, 8=group admins.',
|
`inspect_mask` int(11) NOT NULL DEFAULT 0 COMMENT 'Bitmask for who can open and inspect Wired in the room. 1=everyone, 2=users with rights, 4=group members, 8=group admins.',
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
UPDATE items_base SET customparams = 'is_invisible' WHERE public_name like 'tile_stackmagic%';
|
||||||
|
UPDATE items_base SET customparams = 'is_invisible' WHERE public_name like 'tile_walkmagic%';
|
||||||
|
UPDATE items_base SET customparams = 'is_invisible' WHERE public_name like 'room_invisible_block%';
|
||||||
|
UPDATE items_base SET customparams = 'is_invisible' WHERE public_name = 'room_invisible_sit_tile';
|
||||||
|
UPDATE items_base SET customparams = 'is_invisible' WHERE public_name = 'room_invisible_click_tile';
|
||||||
|
|
||||||
|
UPDATE `items_base` SET `interaction_type` = 'wf_conf_invis_control' WHERE `public_name` = 'conf_invis_control';
|
||||||
|
UPDATE `items_base` SET `interaction_type` = 'wf_conf_handitem_block' WHERE `public_name` = 'conf_handitem_block';
|
||||||
|
UPDATE `items_base` SET `interaction_type` = 'wf_conf_wired_disable' WHERE `public_name` = 'conf_wired_disable';
|
||||||
|
UPDATE `items_base` SET `interaction_type` = 'wf_conf_queue_speed' WHERE `public_name` = 'conf_queue_speed';
|
||||||
|
UPDATE `items_base` SET `interaction_type` = 'wf_conf_area_hide' WHERE `public_name` = 'conf_area_hide';
|
||||||
@@ -15,7 +15,7 @@ public class AboutCommand extends Command {
|
|||||||
}
|
}
|
||||||
public static String credits = "Arcturus Morningstar is an opensource project based on Arcturus By TheGeneral \n" +
|
public static String credits = "Arcturus Morningstar is an opensource project based on Arcturus By TheGeneral \n" +
|
||||||
"The Following people have all contributed to this emulator:\n" +
|
"The Following people have all contributed to this emulator:\n" +
|
||||||
"TheGeneral\n Beny\n Alejandro\n Capheus\n Skeletor\n Harmonic\n Mike\n Remco\n zGrav \n Quadral \n Harmony\n Swirny\n ArpyAge\n Mikkel\n Rodolfo\n Rasmus\n Kitt Mustang\n Snaiker\n nttzx\n necmi\n Dome\n Jose Flores\n Cam\n Oliver\n Narzo\n Tenshie\n MartenM\n Ridge\n SenpaiDipper\n Snaiker\n Thijmen\n DuckieTM\n simoleo89\n Medievalshell\n Lorenzune";
|
"TheGeneral\n Beny\n Alejandro\n Capheus\n Skeletor\n Harmonic\n Mike\n Remco\n zGrav \n Quadral \n Harmony\n Swirny\n ArpyAge\n Mikkel\n Rodolfo\n Rasmus\n Kitt Mustang\n Snaiker\n nttzx\n necmi\n Dome\n Jose Flores\n Cam\n Oliver\n Narzo\n Tenshie\n MartenM\n Ridge\n SenpaiDipper\n Snaiker\n Thijmen\n DuckieTM\n simoleo89\n Medievalshell\n Lorenzo (the wired master)";
|
||||||
@Override
|
@Override
|
||||||
public boolean handle(GameClient gameClient, String[] params) {
|
public boolean handle(GameClient gameClient, String[] params) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user