提交 e08e1949 编写于 作者: Z ZouJin

服务器错误提示

上级 2c8dbfb8
......@@ -67,7 +67,7 @@ namespace VPet_Simulator.Windows
default:
case "Error":
if (ret.Info == "Connect")
m.SayRnd(ret.Text);
m.SayRnd("服务器超载,请稍后重试".Translate());
else
m.SayRnd(ret.Info.Translate());
break;
......@@ -130,7 +130,7 @@ namespace VPet_Simulator.Windows
default:
case "Error":
if (ret.Info == "Connect")
m.SayRnd(ret.Text);
m.SayRnd("服务器超载,请稍后重试".Translate());
else
m.SayRnd(ret.Info.Translate());
return false;
......
......@@ -237,11 +237,7 @@ namespace VPet_Simulator.Windows
}
}
if (!_puswitch.IsChecked.Value)
{
rMoney.Text = mw.Core.Save.Money.ToString("f2");
TryClose();
}
var name = mw.Core.Graph.FindName(item.Type == Food.FoodType.Drink ? GraphType.Drink : GraphType.Eat);
var ig = mw.Core.Graph.FindGraph(name, AnimatType.Single, mw.Core.Save.Mode);
if (ig != null)
......@@ -252,7 +248,15 @@ namespace VPet_Simulator.Windows
mw.Main.DisplayToNomal();
mw.Main.EventTimer_Elapsed();
});
}
}
if (!_puswitch.IsChecked.Value)
{
TryClose();
}
else
{
rMoney.Text = mw.Core.Save.Money.ToString("f2");
}
}
private void BtnSearch_Click(object sender, RoutedEventArgs e)
......
......@@ -34,3 +34,4 @@ MOD加载错误,是MOD({0})导致的\n如有可能请发送 错误信息截图
游戏或者MOD#Game or Mod:|
导致的\n如有可能请发送 错误信息截图和引发错误之前的操作 给开发者:service@exlb.net\n感谢您对游戏开发的支持\n#If possible, Please send a screenshot of the error message and the action you took before triggering the error to developer: service@exlb.net\nThanks for your support of the game development\n:|
清理指令已下达,下次启动桌宠时生效#The cleanup command has been issued and will take effect the next time the table pet is started:|
服务器超载,请稍后重试#Server overload, please try again later:|
\ No newline at end of file
......@@ -33,4 +33,5 @@ MOD加载错误,是MOD({0})导致的\n如有可能请发送 错误信息截图
游戏致命性错误#游戏致命性错误:|
游戏或者MOD#游戏或者MOD:|
导致的\n如有可能请发送 错误信息截图和引发错误之前的操作 给开发者:service@exlb.net\n感谢您对游戏开发的支持\n#导致的\n如有可能请发送 错误信息截图和引发错误之前的操作 给开发者:service@exlb.net\n感谢您对游戏开发的支持\n:|
清理指令已下达,下次启动桌宠时生效#清理指令已下达,下次启动桌宠时生效:|
\ No newline at end of file
清理指令已下达,下次启动桌宠时生效#清理指令已下达,下次启动桌宠时生效:|
服务器超载,请稍后重试#服务器超载,请稍后重试:|
\ No newline at end of file
......@@ -33,4 +33,5 @@ MOD加载错误,是MOD({0})导致的\n如有可能请发送 错误信息截图
游戏致命性错误#遊戲致命性錯誤:|
游戏或者MOD#遊戲或者MOD:|
导致的\n如有可能请发送 错误信息截图和引发错误之前的操作 给开发者:service@exlb.net\n感谢您对游戏开发的支持\n#導致的\n如有可能請發送 錯誤資訊截圖和引發錯誤之前的操作 給開發者:service@exlb.net\n感謝您對遊戲開發的支持\n:|
清理指令已下达,下次启动桌宠时生效#清理指令已下達,下次啟動桌寵時生效:|
\ No newline at end of file
清理指令已下达,下次启动桌宠时生效#清理指令已下達,下次啟動桌寵時生效:|
服务器超载,请稍后重试#伺服器超載,請稍後重試:|
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册