| |
| |
 |
 |
 |
| |
 |
FlexBar v1.38各职业通用设置(专业进阶) |
 |
作者:howard228
来源:BBS.WOWAR.COM
日期:2005-06-23
16:25
字体:大字体 小字体 |
[FlexBar v1.38 下载]>> FlexBar 1.38 下的各职业通用设置
------------------------------------My Config----------------------------------- MainBar = {
"Group Button=37-48 Anchor=37", "HorizontalGroup Group=37 Padding=2", "Text Button=37-48 Text='%b'", "Show Button=37-48",
}
MainRemap = {
"Remap button=37-48 base=61 on='GainAura' target='潜行'", "Remap button=37-48 base=37 reset='true' on='LoseAura' target='潜行'", "Remap button=37-48 base=37 on='GainAura' target='战斗姿态'", "Remap button=37-48 base=61 on='GainAura' target='防御姿态'", "Remap button=37-48 base=72 on='GainAura' target='狂暴姿态'", "Remap button=1-12 base=61 on='GainAura' target='猎豹形态'", "Remap button=1-12 base=1 on='LoseAura' target='猎豹形态'", "Remap button=1-12 base=73 on='GainAura' target='熊形态'", "Remap button=1-12 base=1 on='LoseAura' target='熊形态'", "Remap Button=1-12 Base=1 On='unitdied' Target='player'",
}
SecondBar = {
"Group Button=85-96 Anchor=85", "HorizontalGroup Group=85 Padding=2", "Show Button=85-96",
}
SideBar = {
-- **1-36** -- Setup Main 12 Button Action Bar -- [19] [22] [25] [28] [31] [34] [7] [8] [9] [10] [11] [12] "Group button=[19 22 25 28 31 34] anchor=19", "VerticalGroup group=19 height=1 padding=2", "Show group=19", "Group button=7-12 anchor=7", "VerticalGroup group=7 height=1 padding=2", "Show group=7", "Moverel button=7 trgbtn=34 dx=0 dy=-36", "Ungroup group=19", "Ungroup group=7", "Group button=[19 22 25 28 31 34 7 8 9 10 11 12] anchor=19", -- Setup 2 2-Button Pop-up Bars (PuB) "Moverel button=15 trgbtn=14 dx=-36 dy=0", "Group button=14-15 anchor=14", "Moverel button=18 trgbtn=17 dx=-36 dy=0", "Group button=17-18 anchor=17", "Hide group=14", "Lock group=14", "Hide group=17", "Lock group=17", -- Setup 2x6 grid to fill in pop-up buttons -- FLEXBAR HIDE GROUP=20 when finished "Moverel button=21 trgbtn=20 dx=-36 dy=0", "Moverel button=23 trgbtn=20 dx=0 dy=-36", "Moverel button=24 trgbtn=23 dx=-36 dy=0", "Moverel button=26 trgbtn=23 dx=0 dy=-36", "Moverel button=27 trgbtn=26 dx=-36 dy=0", "Moverel button=29 trgbtn=26 dx=0 dy=-36", "Moverel button=30 trgbtn=29 dx=-36 dy=0", "Moverel button=32 trgbtn=29 dx=0 dy=-36", "Moverel button=33 trgbtn=32 dx=-36 dy=0", "Moverel button=35 trgbtn=32 dx=0 dy=-36", "Moverel button=36 trgbtn=35 dx=-36 dy=0", "Group button=[20 21 23 24 26 27 29 30 32 33 35 36] anchor=20", "Text button=20 text='20'", "Show group=20",
-- Toggle PuBs to display/hide on Left Click OR Mouse Over "Show group=14 toggle='true' on='LeftButtonClick' target=[1 2 3 13 14 15 19 22 25]", "Show group=14 on='MouseEnterButton' target=[19 22 25]", "Show group=17 toggle='true' on='LeftButtonClick' target=[4 5 6 16 17 18 28 31 34]", "Show group=17 on='MouseEnterButton' target=[28 31 34]", -- Move PuB 1 to align with proper button "Moverel button=14 trgbtn=19 dx=-36 dy=0 on='LeftButtonClick' target=[1 13]", "Moverel button=14 trgbtn=22 dx=-36 dy=0 on='LeftButtonClick' target=[2 14]", "Moverel button=14 trgbtn=25 dx=-36 dy=0 on='LeftButtonClick' target=[3 15]", "Moverel button=14 trgbtn=19 dx=-36 dy=0 on='MouseEnterButton' target=19", "Moverel button=14 trgbtn=22 dx=-36 dy=0 on='MouseEnterButton' target=22", "Moverel button=14 trgbtn=25 dx=-36 dy=0 on='MouseEnterButton' target=25", -- Move PuB 2 to align with proper button "Moverel button=17 trgbtn=28 dx=-36 dy=0 on='LeftButtonClick' target=[4 16]", "Moverel button=17 trgbtn=31 dx=-36 dy=0 on='LeftButtonClick' target=[5 17]", "Moverel button=17 trgbtn=34 dx=-36 dy=0 on='LeftButtonClick' target=[6 18]", "Moverel button=17 trgbtn=28 dx=-36 dy=0 on='MouseEnterButton' target=28", "Moverel button=17 trgbtn=31 dx=-36 dy=0 on='MouseEnterButton' target=31", "Moverel button=17 trgbtn=34 dx=-36 dy=0 on='MouseEnterButton' target=34", -- Remap Keys 1-3 "Remap button=13-15 base=19 toggle='true' on='LeftButtonClick' target=[1 13 19]", "Remap button=13-15 base=22 toggle='true' on='LeftButtonClick' target=[2 14 22]", "Remap button=13-15 base=25 toggle='true' on='LeftButtonClick' target=[3 15 25]", "Remap button=13-15 base=19 on='MouseEnterButton' target=19", "Remap button=13-15 base=22 on='MouseEnterButton' target=22", "Remap button=13-15 base=25 on='MouseEnterButton' target=25", -- Remap Keys 4-6 "Remap button=16-18 base=28 toggle='true' on='LeftButtonClick' target=[4 16 28]", "Remap button=16-18 base=31 toggle='true' on='LeftButtonClick' target=[5 17 31]", "Remap button=16-18 base=34 toggle='true' on='LeftButtonClick' target=[6 18 34]", "Remap button=16-18 base=28 on='MouseEnterButton' target=28", "Remap button=16-18 base=31 on='MouseEnterButton' target=31", "Remap button=16-18 base=34 on='MouseEnterButton' target=34", -- Text Display "Text button=19 text='1-1'", "Text button=22 text='2-1'", "Text button=25 text='3-1'", "Text button=28 text='4-4'", "Text button=31 text='5-4'", "Text button=34 text='6-4'", "Text button=7 text='7'", "Text button=8 text='8'", "Text button=9 text='9'", "Text button=10 text='0'", "Text button=11 text='-'", "Text button=12 text='='", "Text button=13-18 text='%b'", "Hide button=1-6", "Hide group=20", }
PopBar = { -- **1-36** -- Setup Main 12 Button Action Bar -- [19] [22] [25] [28] [31] [34] [7] [8] [9] [10] [11] [12] "Group button=[19 22 25 28 31 34] anchor=19", "Horizontalgroup group=19 height=1 padding=2", "Show group=19", "Group button=7-12 anchor=7", "Horizontalgroup group=7 height=1 padding=2", "Show group=7", "Moverel button=7 trgbtn=34 dx=36 dy=0", "Ungroup group=19", "Ungroup group=7", "Group button=[19 22 25 28 31 34 7 8 9 10 11 12] anchor=19", -- Setup 2 2-Button Pop-up Bars (PuB) "Moverel button=15 trgbtn=14 dx=0 dy=36", "Group button=14-15 anchor=14", "Moverel button=18 trgbtn=17 dx=0 dy=36", "Group button=17-18 anchor=17", "Hide group=14", "Lock group=14", "Hide group=17", "Lock group=17", -- Setup 2x6 grid to fill in pop-up buttons -- FLEXBAR HIDE GROUP=20 when finished "Moverel button=21 trgbtn=20 dx=0 dy=36", "Moverel button=23 trgbtn=20 dx=36 dy=0", "Moverel button=24 trgbtn=23 dx=0 dy=36", "Moverel button=26 trgbtn=23 dx=36 dy=0", "Moverel button=27 trgbtn=26 dx=0 dy=36", "Moverel button=29 trgbtn=26 dx=36 dy=0", "Moverel button=30 trgbtn=29 dx=0 dy=36", "Moverel button=32 trgbtn=29 dx=36 dy=0", "Moverel button=33 trgbtn=32 dx=0 dy=36", "Moverel button=35 trgbtn=32 dx=36 dy=0", "Moverel button=36 trgbtn=35 dx=0 dy=36", "Group button=[20 21 23 24 26 27 29 30 32 33 35 36] anchor=20", "Text button=20 text='20'", "Show group=20",
-- Toggle PuBs to display/hide on Left Click OR Mouse Over "Show group=14 toggle='true' on='LeftButtonClick' target=[1 2 3 13 14 15 19 22 25]", "Show group=14 on='MouseEnterButton' target=[19 22 25]", "Show group=17 toggle='true' on='LeftButtonClick' target=[4 5 6 16 17 18 28 31 34]", "Show group=17 on='MouseEnterButton' target=[28 31 34]", -- Move PuB 1 to align with proper button "Moverel button=14 trgbtn=19 dx=0 dy=36 on='LeftButtonClick' target=[1 13]", "Moverel button=14 trgbtn=22 dx=0 dy=36 on='LeftButtonClick' target=[2 14]", "Moverel button=14 trgbtn=25 dx=0 dy=36 on='LeftButtonClick' target=[3 15]", "Moverel button=14 trgbtn=19 dx=0 dy=36 on='MouseEnterButton' target=19", "Moverel button=14 trgbtn=22 dx=0 dy=36 on='MouseEnterButton' target=22", "Moverel button=14 trgbtn=25 dx=0 dy=36 on='MouseEnterButton' target=25", -- Move PuB 2 to align with proper button "Moverel button=17 trgbtn=28 dx=0 dy=36 on='LeftButtonClick' target=[4 16]", "Moverel button=17 trgbtn=31 dx=0 dy=36 on='LeftButtonClick' target=[5 17]", "Moverel button=17 trgbtn=34 dx=0 dy=36 on='LeftButtonClick' target=[6 18]", "Moverel button=17 trgbtn=28 dx=0 dy=36 on='MouseEnterButton' target=28", "Moverel button=17 trgbtn=31 dx=0 dy=36 on='MouseEnterButton' target=31", "Moverel button=17 trgbtn=34 dx=0 dy=36 on='MouseEnterButton' target=34", -- Remap Keys 1-3 "Remap button=13-15 base=19 toggle='true' on='LeftButtonClick' target=[1 13 19]", "Remap button=13-15 base=22 toggle='true' on='LeftButtonClick' target=[2 14 22]", "Remap button=13-15 base=25 toggle='true' on='LeftButtonClick' target=[3 15 25]", "Remap button=13-15 base=19 on='MouseEnterButton' target=19", "Remap button=13-15 base=22 on='MouseEnterButton' target=22", "Remap button=13-15 base=25 on='MouseEnterButton' target=25", -- Remap Keys 4-6 "Remap button=16-18 base=28 toggle='true' on='LeftButtonClick' target=[4 16 28]", "Remap button=16-18 base=31 toggle='true' on='LeftButtonClick' target=[5 17 31]", "Remap button=16-18 base=34 toggle='true' on='LeftButtonClick' target=[6 18 34]", "Remap button=16-18 base=28 on='MouseEnterButton' target=28", "Remap button=16-18 base=31 on='MouseEnterButton' target=31", "Remap button=16-18 base=34 on='MouseEnterButton' target=34", -- Text Display "Text button=19 text='1-1'", "Text button=22 text='2-1'", "Text button=25 text='3-1'", "Text button=28 text='4-4'", "Text button=31 text='5-4'", "Text button=34 text='6-4'", "Text button=7 text='7'", "Text button=8 text='8'", "Text button=9 text='9'", "Text button=10 text='0'", "Text button=11 text='-'", "Text button=12 text='='", "Text button=13-18 text='%b'", "Hide button=1-6", "Hide group=20", }
ExpanBar = {
--Expan_Bar_1 "group button=49-54 anchor=52", "VerticalGroup group=52 Width=2 padding=2", "show button=49-54", "ungroup group=52", "group button=49-54 anchor=52", "show button=52", "show group=52 on='MouseEnterButton' target=52", "hide button=[49 50 51 53 54] on='MouseLeaveGroup' target=52", "text button=52 text='EXB'",
--Expan_Bar_2 "group button=55-60 anchor=57", "VerticalGroup group=57 Width=2 padding=2", "show button=55-60", "ungroup group=57", "group button=55-60 anchor=57", "show button=57", "show group=57 on='MouseEnterButton' target=57", "hide button=[55 56 58 59 60] on='MouseLeaveGroup' target=57", "text button=57 text='EXB'",
}
------------------------------For Gerenl------------------- MiscOn = {
"Verbose State='on'", "Tooltip State='on'", "unLock Button=1-96", "ShowGrid Button=1-96", "LockIcon Button=1-96 Off='true'",
}
MiscOff = {
"Verbose State='off'", "Tooltip State='off'", "Lock Button=1-96", "HideGrid Button=1-96", "LockIcon Button=1-96",
}
MainBar 下面的主动作条 横向 12格 MainRemap 主动作条的姿态转换要用的remap SecondBar 主动作条以外的另一条动作条 横向 12格 SideBar 右侧用动作条 18+6格 纵向 1-6为弹出式 弹出2格 PopBar 下侧动作条 18+6格 横向 1-6为弹出式 弹出2格 ExpanBar 杂项动作条 6+6格 弹出式,每6格弹出5格1格为显示 左弹右弹各一个 MiscOn 反馈信息,按键,动作条,边框 打开 MiscOff 反馈信息,按键,动作条,边框 关闭
设置方面: MainBar 主动作条为flexbar button 37-48 SideBar 和 PopBar 为 flexbar button 7-18 为 7,8,9,0,-,=,1,2,3,4,5,6 弹出式按键 为11使用第一格的第一个按键,12为第一络的第二个按,13为第一格第3个按键
BS CC
[效果图]
(原帖讨论>>) |
run();
class application
{
var $db; //数据库操作类
var $tpl; //Smarty模板类
var $in; //主输入数组
var $out; //主输出数组
function application()
{
//加载IPB2 MySQL驱动
require( LIB_DIR . 'db_mysql.php' );
$this->db = new db_driver;
$this->db->obj['sql_database'] = SQL_DATABASE;
$this->db->obj['sql_user'] = SQL_USER;
$this->db->obj['sql_pass'] = SQL_PASS;
$this->db->obj['sql_host'] = SQL_HOST;
$this->db->connect(); //建立数据库连接
//加载Smarty模板引擎
require( SMARTY_DIR . 'Smarty.class.php' );
$this->tpl = new Smarty;
$this->tpl->template_dir = TEMPLATE_DIR;
$this->tpl->compile_dir = COMPILE_DIR;
//$this->tpl->left_delimiter = '{';
//$this->tpl->right_delimiter = '}';
//整合过滤输入
require( LIB_DIR . 'parse_incoming.php' );
$pi = new parse_incoming;
$this->in = $pi->run();
//引入全局基类
require( LIB_DIR . 'base.php' );
}
function run()
{
//-------------------------------------
//流程控制
//得到类名与方法名
$query_string = explode('&', $_SERVER['QUERY_STRING']);
$class_method = strtolower($query_string[0]);
//引入动作基类
require( LIB_DIR . 'action.php' );
$action = explode('.', $class_method);
require( CLASS_DIR . $action[0].'.php'); //引入动作类
$idx = new $action[0]($this); //实例化动作类
$idx->$action[1](); //执行方法
//------------------------------------
//------------------------------------
//页面输出
$idx->site = array(
'name' => SITE_NAME,
'url' => SITE_URL,
'dir' => SITE_DIR,
'email' => SITE_EMAIL,
'copyright' => COPYRIGHT,
'version' => VERSION,
);
if (isset($idx->page['tpl'])) {
$idx->tpl->assign('out', $idx->out);
$idx->tpl->assign('site', $idx->site);
$idx->tpl->assign('page', $idx->page);
$idx->tpl->assign('user', $idx->user);
$idx->tpl->assign('session', $_SESSION);
$idx->tpl->assign('cookie', $_COOKIE);
$idx->tpl->display($idx->page['tpl']);
}
//-------------------------------------
//关闭数据库
$this->db->close_db();
}
}
?>
用户须知:
- 尊重网上道德,遵守《全国人大常委会关于维护互联网安全的决定》和《互联网电子公告服务管理规定》及中华人民共和国其他各项有关法律法规。
- 严禁发表危害国家安全、损害国家利益、破坏民族团结、破坏国家宗教政策、破坏社会稳定、侮辱、诽谤、教唆、淫秽等内容的作品。
- 用户需对自己在使用“魔兽世界中国”服务过程中的行为承担法律责任(直接或间接导致的)。
- 本站编辑有权保留,编辑或删除网友评论中的任意内容。
- 本站内所有的文章版权归原文作者和“魔兽世界中国”共同所有,任何人需要转载本站内文章,必须征得原文作者或“魔兽世界中国”授权。
- 本评论提交者发言纯属个人意见,与本网站立场无关。
|
|
|
 |
 |
 |
|
|
|