diff --git a/src/mod/mvm/extended_upgrades.cpp b/src/mod/mvm/extended_upgrades.cpp index b0b8485a..d67a7fc4 100644 --- a/src/mod/mvm/extended_upgrades.cpp +++ b/src/mod/mvm/extended_upgrades.cpp @@ -1182,12 +1182,12 @@ namespace Mod::MvM::Extended_Upgrades if (enabled) { - char text[128]; + char text[1024]; if (upgrade->increment != 0 && max_step < 100000 ) { - snprintf(text, 128, "%s (%d/%d) $%d", upgrade->name.c_str(), cur_step, max_step, upgrade->cost); + snprintf(text, 1024, "%s (%d/%d) $%d", upgrade->name.c_str(), cur_step, max_step, upgrade->cost); } else { // If increment == 0 or max steps less than 100000, pretend unlimited upgrades - snprintf(text, 128, "%s $%d", upgrade->name.c_str(), upgrade->cost); + snprintf(text, 1024, "%s $%d", upgrade->name.c_str(), upgrade->cost); } ItemDrawInfo info1(text, @@ -1209,12 +1209,12 @@ namespace Mod::MvM::Extended_Upgrades } else if (upgrade->show_requirements && disabled_reason != "") { - char text[128]; + char text[1024]; if (upgrade->increment != 0 && max_step < 100000) { - snprintf(text, 128, "%s: %s (%d/%d) $%d", upgrade->name.c_str(), disabled_reason.c_str(), cur_step, max_step, upgrade->cost); + snprintf(text, 1024, "%s: %s (%d/%d) $%d", upgrade->name.c_str(), disabled_reason.c_str(), cur_step, max_step, upgrade->cost); } else { // If increment == 0 or max steps less than 100000, pretend unlimited upgrades - snprintf(text, 128, "%s: %s $%d", upgrade->name.c_str(), disabled_reason.c_str(), upgrade->cost); + snprintf(text, 1024, "%s: %s $%d", upgrade->name.c_str(), disabled_reason.c_str(), upgrade->cost); } ItemDrawInfo info1(text, ITEMDRAW_DISABLED); diff --git a/src/mod/pop/popmgr_extensions.cpp b/src/mod/pop/popmgr_extensions.cpp index 4b128852..8699e36b 100644 --- a/src/mod/pop/popmgr_extensions.cpp +++ b/src/mod/pop/popmgr_extensions.cpp @@ -2332,7 +2332,7 @@ namespace Mod::Pop::PopMgr_Extensions DevMsg("Pass send\n"); if (state.m_ExtraLoadoutItemsNotify) - PrintToChat("\x07""7fd4ff当前任务可以装备自定义物品,输入!missionitems查看你当前兵种可用的物品\n",player); + PrintToChat("\x07""7fd4ff>当前任务可以装备自定义物品,输入!missionitems查看你当前兵种可用的物品\n",player); //auto explanation = Mod::Pop::Wave_Extensions::GetWaveExplanation(0); @@ -2362,7 +2362,7 @@ namespace Mod::Pop::PopMgr_Extensions state.m_SandmanStuns.Get() || state.m_bNoReanimators )) { - PrintToChat("\x07""7fd4ff输入!missioninfo查看自定义任务信息\n",player); + PrintToChat("\x07""7fd4ff>输入!missioninfo查看自定义任务信息\n",player); } } @@ -4180,7 +4180,7 @@ namespace Mod::Pop::PopMgr_Extensions } char buf[256]; - snprintf(buf, sizeof(buf), "%s: %s %s %s", loadoutStrings[item.loadout_slot], item.name.c_str(), cost, selected ? "(selected)" : ""); + snprintf(buf, sizeof(buf), "%s: %s %s %s", loadoutStrings[item.loadout_slot], item.name.c_str(), cost, selected ? "(已选中)" : ""); ItemDrawInfo info1(buf, ITEMDRAW_DEFAULT); std::string num = std::to_string(i); menu->AppendItem(num.c_str(), info1);