移除省流模式
This commit is contained in:
1
main.lua
1
main.lua
@@ -256,6 +256,7 @@ do
|
|||||||
SETTING.frameMul=100
|
SETTING.frameMul=100
|
||||||
end
|
end
|
||||||
SETTING.appLock=nil
|
SETTING.appLock=nil
|
||||||
|
SETTING.dataSaving=nil
|
||||||
for _,v in next,VK_org do v.color=nil end
|
for _,v in next,VK_org do v.color=nil end
|
||||||
if RANKS.GM then RANKS.GM=0 end
|
if RANKS.GM then RANKS.GM=0 end
|
||||||
if RANKS.infinite then RANKS.infinite=6 end
|
if RANKS.infinite then RANKS.infinite=6 end
|
||||||
|
|||||||
@@ -304,7 +304,6 @@ SETTING={--Settings
|
|||||||
10,13,2,8
|
10,13,2,8
|
||||||
},
|
},
|
||||||
face={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
|
face={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
|
||||||
dataSaving=false,
|
|
||||||
|
|
||||||
--Graphic
|
--Graphic
|
||||||
block=true,ghost=.3,center=1,
|
block=true,ghost=.3,center=1,
|
||||||
|
|||||||
@@ -312,7 +312,6 @@ return{
|
|||||||
autoPause="Pause while unfocused",
|
autoPause="Pause while unfocused",
|
||||||
swap="Key Combination (Change Atk. Mode)",
|
swap="Key Combination (Change Atk. Mode)",
|
||||||
fine="Finesse Error SFX",
|
fine="Finesse Error SFX",
|
||||||
dataSaving="Data saving",
|
|
||||||
simpMode="Simplistic Style",
|
simpMode="Simplistic Style",
|
||||||
},
|
},
|
||||||
setting_video={
|
setting_video={
|
||||||
|
|||||||
@@ -284,7 +284,6 @@ return{
|
|||||||
autoPause="Mettre en pause en cas de perte de focus",
|
autoPause="Mettre en pause en cas de perte de focus",
|
||||||
swap="Combinaison de touches (changer le mode d'attaque)",
|
swap="Combinaison de touches (changer le mode d'attaque)",
|
||||||
fine="Son d'erreur de Finesse",
|
fine="Son d'erreur de Finesse",
|
||||||
-- dataSaving="Data saving",
|
|
||||||
-- simpMode="Simple mode",
|
-- simpMode="Simple mode",
|
||||||
},
|
},
|
||||||
setting_video={
|
setting_video={
|
||||||
|
|||||||
@@ -311,7 +311,6 @@ return{
|
|||||||
autoPause="Pausar quando foco for perco",
|
autoPause="Pausar quando foco for perco",
|
||||||
swap="Combinação de tecla(Mudar modo de atk)",
|
swap="Combinação de tecla(Mudar modo de atk)",
|
||||||
fine="Som Falha de destreza",
|
fine="Som Falha de destreza",
|
||||||
-- dataSaving="Data saving",
|
|
||||||
-- simpMode="Simple mode",
|
-- simpMode="Simple mode",
|
||||||
},
|
},
|
||||||
setting_video={
|
setting_video={
|
||||||
|
|||||||
@@ -287,7 +287,6 @@ return{
|
|||||||
autoPause="Pausar cuando la ventana no está enfocada",
|
autoPause="Pausar cuando la ventana no está enfocada",
|
||||||
swap="Combinación de Teclas (Cambiar Modo de Ataque)",
|
swap="Combinación de Teclas (Cambiar Modo de Ataque)",
|
||||||
fine="Sonido de Error de Finesse",
|
fine="Sonido de Error de Finesse",
|
||||||
-- dataSaving="Data saving",
|
|
||||||
simpMode="Modo Sencillo",
|
simpMode="Modo Sencillo",
|
||||||
},
|
},
|
||||||
setting_video={
|
setting_video={
|
||||||
|
|||||||
@@ -136,7 +136,6 @@ return{
|
|||||||
autoPause="A||",
|
autoPause="A||",
|
||||||
swap="=+=+=",
|
swap="=+=+=",
|
||||||
fine="12 X 21",
|
fine="12 X 21",
|
||||||
dataSaving="XX.",
|
|
||||||
simpMode=".",
|
simpMode=".",
|
||||||
},
|
},
|
||||||
setting_video={
|
setting_video={
|
||||||
|
|||||||
@@ -312,7 +312,6 @@ return{
|
|||||||
autoPause="失去焦点自动暂停",
|
autoPause="失去焦点自动暂停",
|
||||||
swap="组合键切换攻击模式",
|
swap="组合键切换攻击模式",
|
||||||
fine="极简操作提示音",
|
fine="极简操作提示音",
|
||||||
dataSaving="省流模式",
|
|
||||||
simpMode="简洁模式",
|
simpMode="简洁模式",
|
||||||
},
|
},
|
||||||
setting_video={
|
setting_video={
|
||||||
|
|||||||
@@ -224,12 +224,11 @@ function NET.getAccessToken()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
function NET.getUserInfo(uid)
|
function NET.getUserInfo(uid)
|
||||||
local hash=(not SETTING.dataSaving or nil)and USERS.getHash(uid)
|
|
||||||
WS.send('user',JSON.encode{
|
WS.send('user',JSON.encode{
|
||||||
action=1,
|
action=1,
|
||||||
data={
|
data={
|
||||||
uid=uid,
|
uid=uid,
|
||||||
hash=hash,
|
hash=USERS.getHash(uid),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -31,10 +31,9 @@ scene.widgetList={
|
|||||||
WIDGET.newSelector{name="RS", x=300, y=420, w=300,color='S',list={'TRS','SRS','C2','C2sym','Classic','None'},disp=SETval("RS"),code=SETsto("RS")},
|
WIDGET.newSelector{name="RS", x=300, y=420, w=300,color='S',list={'TRS','SRS','C2','C2sym','Classic','None'},disp=SETval("RS"),code=SETsto("RS")},
|
||||||
WIDGET.newButton{name="layout", x=250, y=540, w=200,h=70,font=35, code=goScene'setting_skin'},
|
WIDGET.newButton{name="layout", x=250, y=540, w=200,h=70,font=35, code=goScene'setting_skin'},
|
||||||
WIDGET.newSwitch{name="autoPause", x=1060, y=310, disp=SETval("autoPause"), code=SETrev("autoPause")},
|
WIDGET.newSwitch{name="autoPause", x=1060, y=310, disp=SETval("autoPause"), code=SETrev("autoPause")},
|
||||||
WIDGET.newSwitch{name="swap", x=1060, y=370, disp=SETval("swap"), code=SETrev("swap")},
|
WIDGET.newSwitch{name="swap", x=1060, y=380, disp=SETval("swap"), code=SETrev("swap")},
|
||||||
WIDGET.newSwitch{name="fine", x=1060, y=430, disp=SETval("fine"), code=function()SETTING.fine=not SETTING.fine if SETTING.fine then SFX.play('finesseError',.6)end end},
|
WIDGET.newSwitch{name="fine", x=1060, y=450, disp=SETval("fine"), code=function()SETTING.fine=not SETTING.fine if SETTING.fine then SFX.play('finesseError',.6)end end},
|
||||||
WIDGET.newSwitch{name="dataSaving", x=1060, y=490, disp=SETval("dataSaving"), code=function()SETTING.dataSaving=not SETTING.dataSaving if not SETTING.dataSaving then USERS.forceFreshAvatar()end end},
|
WIDGET.newSwitch{name="simpMode", x=1060, y=520, disp=SETval("simpMode"),
|
||||||
WIDGET.newSwitch{name="simpMode", x=1060, y=550, disp=SETval("simpMode"),
|
|
||||||
code=function()
|
code=function()
|
||||||
SETTING.simpMode=not SETTING.simpMode
|
SETTING.simpMode=not SETTING.simpMode
|
||||||
for i=1,#SCN.stack,2 do
|
for i=1,#SCN.stack,2 do
|
||||||
|
|||||||
Reference in New Issue
Block a user