This commit is contained in:
libccy 2016-04-18 18:19:29 +08:00
parent b10d08dee6
commit 6e5a12316c
60 changed files with 186 additions and 10 deletions

View File

@ -3156,6 +3156,7 @@ character.shenhua={
tianxiang:'天香',
hongyan:'红颜',
buqu:'不屈',
buqu_bg:'创',
leiji:'雷击',
spleiji:'新雷击',
guidao:'鬼道',

View File

@ -1,12 +1,11 @@
window.noname_asset_list=[
'1.8.3',
'1.8.4',
'image/background/huangtian_bg.jpg',
'image/background/shengshi_bg.jpg',
'image/background/xueji_bg.jpg',
'image/background/yinxiang_bg.jpg',
'image/background/zhulian_bg.jpg',
'image/background/zhulin_bg.jpg',
'image/skin/caocao/1.jpg',
'image/card/spell_jingshenkongzhi.jpg',
'image/card/bagua.png',
'image/card/baiyin.png',
@ -2200,4 +2199,148 @@ window.noname_asset_list=[
'theme/style/hp/image/hp2.png',
'theme/style/hp/image/hp3.png',
'theme/style/hp/image/hp4.png',
]
];
window.noname_skin_list={
bulianshu:4,
caifuren:2,
caiwenji:2,
caoang:2,
caocao:1,
caochong:1,
caohong:3,
caopi:4,
caoren:1,
caozhang:2,
caozhi:3,
chengong:1,
chengpu:1,
chenlin:3,
chenqun:2,
dengai:4,
dianwei:1,
diaochan:4,
dingfeng:3,
dongzhuo:3,
fazheng:1,
fuhuanghou:3,
fuwan:1,
ganfuren:1,
guanping:2,
guanyinping:2,
guanyu:1,
guanzhang:2,
guohuai:2,
guojia:1,
guyong:2,
handang:2,
hetaihou:2,
huangyueying:2,
huatuo:2,
jiangqin:1,
jiangwei:4,
jianyong:2,
jiaxu:4,
jsp_zhaoyun:1,
kongrong:1,
liaohua:2,
lingju:1,
lingtong:2,
liru:2,
liubei:1,
liubiao:2,
liufeng:3,
liushan:2,
liuxie:3,
lusu:2,
luxun:1,
lvbu:1,
machao:1,
madai:3,
maliang:1,
manchong:3,
mifuren:1,
pangde:2,
pangtong:2,
panzhangmazhong:2,
re_caocao:2,
re_daqiao:2,
re_ganning:2,
re_gongsunzan:1,
re_guanyu:1,
re_guojia:3,
re_huanggai:1,
re_lidian:2,
re_luxun:3,
re_lvbu:1,
re_lvmeng:2,
re_machao:1,
re_simayi:3,
re_xiahoudun:1,
re_xushu:3,
re_xuzhu:2,
re_zhangfei:1,
re_zhangliao:1,
re_zhaoyun:3,
re_zhouyu:3,
shen_caocao:1,
shen_lvbu:1,
shen_lvmeng:1,
sp_caiwenji:3,
sp_caoren:1,
sp_diaochan:2,
sp_jiangwei:1,
sp_machao:2,
sp_sunshangxiang:3,
sp_zhangjiao:1,
sp_zhaoyun:3,
sp_zhugeliang:1,
sunce:4,
sunjian:3,
sunluban:1,
sunquan:3,
sunshangxiang:3,
swd_yuxiaoxue:1,
taishici:1,
tianfeng:1,
wangyi:4,
weiyan:2,
wenpin:1,
wuguotai:3,
wuyi:2,
xiahouba:1,
xiahoudun:1,
xiahouyuan:1,
xiaoqiao:3,
xin_fazheng:2,
xin_xushu:1,
xuhuang:1,
xunyou:4,
xunyu:2,
xusheng:1,
xushu:1,
xuzhu:1,
yangxiu:2,
yj_jushou:2,
yuanshu:3,
yuanshu:4,
yuejin:3,
yufan:1,
yujin:1,
zhangbao:1,
zhangchunhua:4,
zhanghe:1,
zhangliao:2,
zhangsong:1,
zhangxingcai:2,
zhangzhang:2,
zhenji:3,
zhonghui:1,
zhoutai:1,
zhugedan:1,
zhugejin:3,
zhugeke:1,
zhugeliang:4,
zhuran:1,
zhurong:3,
zuoci:3
};

View File

@ -52,9 +52,9 @@
var lib={
configprefix:'noname_0.9_',
versionOL:6,
updateURL:localStorage.getItem('noname_download_source')||'http://123.206.77.253/',
updateURL:localStorage.getItem('noname_update_url')||'http://123.206.55.178/',
assetURL:'',
hallURL:'123.206.77.253',
hallURL:'123.206.55.178',
changeLog:[],
updates:[],
canvasUpdates:[],
@ -20671,10 +20671,11 @@
li3.innerHTML='更新源<br><p style="margin-top:8px"><input type="text" style="width:120px" value="'+lib.updateURL+'"><button style="margin-left:5px">确定</button></p>';
li3.querySelector('button').onclick=function(){
lib.updateURL=this.previousSibling.value;
localStorage.setItem('noname_download_source',lib.updateURL);
localStorage.setItem('noname_update_url',lib.updateURL);
}
var button1,button2;
var span1,includeskin;
game.checkForUpdate=function(forcecheck){
if(button1.disabled){
@ -20807,13 +20808,22 @@
script.remove();
var updates=window.noname_asset_list;
delete window.noname_asset_list;
var skins=window.noname_skin_list;
delete window.noname_skin_list;
var asset_version=updates.shift();
if(asset_version==lib.config.asset_version){
if(asset_version==lib.config.asset_version&&lib.config.exclude_skin){
alert('素材已是最新');
button2.disabled=false;
button2.innerHTML='检查素材更新';
return;
}
if(!lib.config.exclude_skin){
for(var i in skins){
for(var j=0;j<skins[i];j++){
updates.push('image/skin/'+i+'/'+j+'.jpg');
}
}
}
var n=updates.length;
if(!ui.arena.classList.contains('menupaused')){
ui.click.configMenu();
@ -20834,6 +20844,8 @@
var n1=0;
var n2=updates.length;
span.innerHTML='正在下载素材('+n1+'/'+n2+'';
span1.remove();
includeskin.remove();
p.appendChild(span);
var finish=function(){
if(n1==n2){
@ -20911,6 +20923,23 @@
button2.onclick=game.checkForAssetUpdate;
li2.lastChild.appendChild(button2);
var span1=document.createElement('span');
span1.innerHTML='包含皮肤';
span1.style.fontSize='small';
span1.style.marginLeft='10px';
li2.lastChild.appendChild(span1);
var includeskin=document.createElement('input');
includeskin.type='checkbox';
includeskin.name='包含皮肤';
if(!lib.config.exclude_skin){
includeskin.checked=true;
}
includeskin.onchange=function(){
game.saveConfig('exclude_skin',!this.checked);
}
li2.lastChild.appendChild(includeskin);
ul.appendChild(li1);
ul.appendChild(li2);
ul.appendChild(li3);

View File

@ -1,6 +1,8 @@
window.noname_update={
version:'1.8.8',
changeLog:[
'联机大厅改进'
'联机大厅改进',
'默认更新地址修改',
'可下载皮肤素材'
]
}

BIN
image/skin/bulianshi/4.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
image/skin/caiwenji/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
image/skin/caohong/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
image/skin/caohong/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
image/skin/caopi/4.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

BIN
image/skin/caozhi/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
image/skin/chenlin/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 KiB

BIN
image/skin/guanping/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
image/skin/huatuo/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

BIN
image/skin/jiangqing/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

BIN
image/skin/jianyong/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 45 KiB

BIN
image/skin/lingju/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
image/skin/liubei/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
image/skin/liufeng/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
image/skin/liuxie/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
image/skin/lusu/2.jpg Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 56 KiB

BIN
image/skin/mifuren/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
image/skin/pangtong/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

BIN
image/skin/re_guojia/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
image/skin/re_lidian/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
image/skin/re_luxun/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
image/skin/re_simayi/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
image/skin/re_xushu/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
image/skin/re_zhaoyun/3.jpg Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 84 KiB

BIN
image/skin/re_zhouyu/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
image/skin/sp_caiwenji/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 35 KiB

BIN
image/skin/tianfeng/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
image/skin/weiyan/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
image/skin/wenpin/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
image/skin/wuyi/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
image/skin/xiahouyuan/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
image/skin/xin_fazheng/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
image/skin/xuhuang/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 50 KiB

BIN
image/skin/xunyou/4.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
image/skin/yangxiu/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
image/skin/yuanshao/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
image/skin/yuejin/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
image/skin/zhangbao/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
image/skin/zhangchunhua/4.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

BIN
image/skin/zhangliao/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

BIN
image/skin/zhangxingcai/2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
image/skin/zhenji/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
image/skin/zuoci/3.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -1,9 +1,10 @@
'use strict';
mode.connect={
start:function(){
if(!lib.config.hall_ip_186){
if(!lib.config.hall_ip_188){
game.saveConfig('hall_ip',null,true);
game.saveConfig('hall_ip_186',true);
game.saveConfig('hall_ip_186');
game.saveConfig('hall_ip_188',true);
}
var directstartmode=lib.config.directstartmode;
ui.create.menu(true);