helperText = ""
tempText1 = "/n \234\179\181\236\167\128\235\130\180\236\154\169 (\236\132\156\235\178\132\234\181\176 \234\179\181\236\167\128)\n"
tempText2 = "/l \"\235\139\137\235\132\164\236\158\132\" \235\160\136\235\178\168 \234\178\189\237\151\152\236\185\152\n"
tempText3 = "/cm \235\170\172\236\138\164\237\132\176\236\157\180\2 35\166\132( \236\152\136: BEE ) \234\176\149\237\153\1481 \234\176\149\237\153\1482 \236\134\141\236\132\1771 \236\134\141\236\132\1772\n"
tempText4 = "/mhp \236\133\139\237\140\133\237\149\160\236\158\144\2 34\184\176\236\151\144\235\132\136\236\167\128\n"
tempText5 = "/b \234\181\172\235\167\164\237\149\160\236\149\132\2 36\157\180\237\133\156\236\149\132\236\157\180\235 \148\148, \234\181\172\235\167\164\236\136\152\235\159\137, \236\149\132\236\157\180\237\133\156 \234\184\176\234\176\132(\234\184\176\234\176\132\ 236\160\156 \236\149\132\236\157\180\237\133\156\236\157\188 \234\178\189\236\154\176)\n"
tempText6 = "/ak -- \235\170\168\235\147\160 NPC Kill\n"
tempText7 = "/ai bAIEnable\n"
tempText8 = "/fc bEnable -- \237\148\132\235\166\172 \236\185\180\235\169\148\235\157\188 \235\170\168\235\147\156\n"
tempText9 = "/a ID level -- \234\182\140\237\149\156 \236\132\164\236\160\149\n"
tempText10 = "/al level -- \234\182\140\237\149\156\236\157\132 \234\176\128\236\167\132 \236\130\172\235\158\140\235\179\180\234\184\176\n "
tempText11 = "/e \"\235\139\137\235\132\164\236\158\132\" \236\155\144\237\149\152\235\138\148\235\143\136\n "
tempText12 = "/stage \236\138\164\237\133\140\236\157\180\236\167\128\2 35\178\136\237\152\184\n"
tempText13 = "/q questID, [0~5]\n"
tempText14 = "/isk -- \236\138\164\237\130\172 \236\180\136\234\184\176\237\153\148\n"
tempText15 = "/sp \236\155\144\237\149\152\235\138\148SP\n"
tempText16 = "/stloc --Local Statitics\n"
tempText17 = "/stdb -- DB Statitics\n"
tempText18 = "/bel \235\160\136\235\178\168 -- \236\157\180 \236\186\144\235\166\173\237\132\176\236\157\152 \235\160\136\235\178\168 \236\158\165\235\185\132 \235\139\164 \234\176\128\236\160\184\236\152\164\234\184\176\n "
tempText19 = "/ad \236\136\152\236\185\152 -- add damage\n"
tempText20 = "/lp -- load picture characters \n"
tempText21 = "/sld -- saveFile loaded device \n"
tempText22 = "/uuu -- unload all ui unit \n"
tempText23 = "/crash -- \234\178\140\236\158\132 \235\187\151\236\150\180\236\154\148!! \n"
tempText24 = "/nmp -- \235\170\172\236\138\164\237\132\176 MP full!! \n"
tempText25 = "/sf -- SlowFrame( 1.5, 2.0 )!! \n"
tempText26 = "/k \"\235\139\137\235\132\164\236\158\132\" --\237\149\180\235\139\185 \236\156\160\236\160\128 \234\176\149\236\160\156 \236\162\133\235\163\140 \236\139\156\237\130\164\234\184\176 \n"
tempText27 = "/kid \"\235\132\165\236\138\168ID\" --\237\149\180\235\139\185 \236\156\160\236\160\128 \234\176\149\236\160\156 \236\162\133\235\163\140 \236\139\156\237\130\164\234\184\176 \n"
tempText28 = "/cs \234\183\188\236\132\177\235\143\132 --\234\183\188\236\132\177\235\143\132 \236\136\152\236\185\152 \235\179\128\234\178\189 \n"
tempText29 = "/spc true Or false --\237\148\188\236\139\156\235\176\169 On And Off \n"
tempText30 = "/vp \237\152\132\236\158\172VP \236\181\156\235\140\128VP --\235\140\128\236\160\132 \237\143\172\236\157\184\237\138\184 \236\136\152\236\185\152 \235\179\128\234\178\189 \n"
tempText31 = "/sdm true Or false --\235\139\164\236\157\180\236\150\188\235\161\156\2 34\183\184 \235\167\164\235\139\136\236\160\184 \235\160\140\235\141\148\235\167\129 On And Off \n"
tempText32 = "/suv true Or false --\236\156\160\235\139\155 \235\183\176\236\150\180 \236\156\160\236\149\132\236\157\180 \235\160\140\235\141\148\235\167\129 On And Off \n"
tempText33 = "/linemap \235\157\188\236\157\184\235\167\181 toggle \n"
tempText34 = "/uc \236\156\160\235\139\155\237\129\180\235\158\152\2 36\138\164 --\236\157\180 \236\186\144\235\166\173\237\132\176\236\157\152 \236\156\160\235\139\155 \237\129\180\235\158\152\236\138\164 \235\179\128\234\178\189 \n"
tempText35 = "/cmp \235\170\172\236\138\164\237\132\176\236\157\180\2 35\166\132( \236\152\136: BEE ) posX posY posZ \n"
tempText36 = "/t \236\185\173\237\152\184ID \234\184\176\234\176\132 --\236\185\173\237\152\184\236\150\187\234\184\176(\ 234\184\176\234\176\132 \236\149\136\235\132\163\236\156\188\235\169\180 \235\172\180\236\160\156\237\149\156)\n"
tempText37 = "/dev true/false \234\176\156\235\176\156\236\158\144 \234\184\176\235\138\165 on/off \n"
tempText38 = "/pf \237\154\159\236\136\152 --PARTY FEVER\236\185\152\237\138\184 \n"
tempText39 = "/is --\236\149\132\236\157\180\237\133\156 \236\132\184\237\138\184 \n"
tempText40 = "/guest true Or false --\236\178\180\237\151\152ID \234\184\176\235\138\165 on/off \n"
tempText41 = "/gsp -- \234\184\184\235\147\156\236\138\164\237\130\172\2 37\143\172\236\157\184\237\138\184\n"
tempText42 = "/gsp -- \234\184\184\235\147\156\236\138\164\237\130\172\2 37\143\172\236\157\184\237\138\184\n"
tempText43 = "/na \234\179\181\236\167\128\235\130\180\236\154\169 (\236\132\156\235\178\132\236\160\132\236\178\180\ 234\179\181\236\167\128)\n"
tempText44 = "/msc -- \235\170\172\236\138\164\237\132\176 \236\138\164\237\133\140\236\157\180\237\138\184 \235\179\128\234\178\189\n"
tempText45 = "/pet \237\131\128\236\158\133 \236\136\152\236\185\152 -- \237\142\171 \236\185\152\237\138\184 (0:\236\167\132\237\153\148\235\139\168\234\179\13 2, 1:\237\143\172\235\167\140\235\143\132, 2:\236\185\156\235\176\128\235\143\132, 3:\236\153\184\237\150\165\236\132\177, 4:\234\176\144\236\136\152\236\132\177)\n"
tempText46 = "/pa MotionName\n"
tempText47 = "/usered \235\139\137\235\132\164\236\158\132\n"
tempText48 = "/qn \236\155\144\237\149\152\235\138\148 Quiz Number\n"
helperText = string.format("%s%s%s%s%s %s%s%s%s%s %s%s%s%s%s %s%s%s%s%s %s%s%s%s%s %s%s%s%s%s %s%s%s%s%s %s%s%s%s%s %s%s%s%s%s %s%s%s", tempText1, tempText2, tempText3, tempText4, tempText5, tempText6, tempText7, tempText8, tempText9, tempText10, tempText11, tempText12, tempText13, tempText14, tempText15, tempText16, tempText17, tempText18, tempText19, tempText20, tempText21, tempText22, tempText23, tempText24, tempText25, tempText26, tempText27, tempText28, tempText29, tempText30, tempText31, tempText32, tempText33, tempText34, tempText35, tempText36, tempText37, tempText38, tempText39, tempText40, tempText41, tempText42, tempText43, tempText44, tempText45, tempText46, tempText47, tempText48)
g_pGameEdit:SetCommandListHelperText(helperText, 3)
tempText1 = "/n \234\179\181\236\167\128\235\130\180\236\154\169 bIsAllServers(True/False)\n"
tempText2 = "/l \"\235\139\137\235\132\164\236\158\132\" \235\160\136\235\178\168 \234\178\189\237\151\152\236\185\152\n"
tempText3 = "/b \234\181\172\235\167\164\237\149\160\236\149\132\2 36\157\180\237\133\156\236\149\132\236\157\180\235 \148\148, \234\181\172\235\167\164\236\136\152\235\159\137, \236\149\132\236\157\180\237\133\156 \234\184\176\234\176\132(\234\184\176\234\176\132\ 236\160\156 \236\149\132\236\157\180\237\133\156\236\157\188 \234\178\189\236\154\176)\n"
tempText4 = "/sp \236\155\144\237\149\152\235\138\148SP\n"
tempText5 = "/bel \235\160\136\235\178\168 -- \236\157\180 \236\186\144\235\166\173\237\132\176\236\157\152 \235\160\136\235\178\168 \236\158\165\235\185\132 \235\139\164 \234\176\128\236\160\184\236\152\164\234\184\176\n "
tempText6 = "/ak -- \235\170\168\235\147\160 NPC Kill\n"
tempText7 = "/stage \236\138\164\237\133\140\236\157\180\236\167\128\2 35\178\136\237\152\184\n"
tempText8 = "/lp -- load picture characters \n"
tempText9 = "/ad \236\136\152\236\185\152 -- add damage\n"
tempText10 = "/k \"\235\139\137\235\132\164\236\158\132\" --\237\149\180\235\139\185 \236\156\160\236\160\128 \234\176\149\236\160\156 \236\162\133\235\163\140 \236\139\156\237\130\164\234\184\176 \n"
tempText11 = "/cs \234\183\188\236\132\177\235\143\132 --\234\183\188\236\132\177\235\143\132 \236\136\152\236\185\152 \235\179\128\234\178\189 \n"
tempText12 = "/spc true Or false --\237\148\188\236\139\156\235\176\169 On And Off \n"
tempText13 = "/vp \237\152\132\236\158\172VP \236\181\156\235\140\128VP --\235\140\128\236\160\132 \237\143\172\236\157\184\237\138\184 \236\136\152\236\185\152 \235\179\128\234\178\189 \n"
tempText14 = "/t \236\185\173\237\152\184ID \234\184\176\234\176\132 --\236\185\173\237\152\184\236\150\187\234\184\176(\ 234\184\176\234\176\132 \236\149\136\235\132\163\236\156\188\235\169\180 \235\172\180\236\160\156\237\149\156)\n"
tempText15 = "/dev true/false \234\176\156\235\176\156\236\158\144 \234\184\176\235\138\165 on/off \n"
tempText16 = "/na \234\179\181\236\167\128\235\130\180\236\154\169 (\236\132\156\235\178\132\236\160\132\236\178\180\ 234\179\181\236\167\128)\n"
tempText17 = "/usered \235\139\137\235\132\164\236\158\132\n"
helperText = string.format("%s%s%s%s%s %s%s%s%s%s %s%s%s%s%s %s%s", tempText1, tempText2, tempText3, tempText4, tempText5, tempText6, tempText7, tempText8, tempText9, tempText10, tempText11, tempText12, tempText13, tempText14, tempText15, tempText16, tempText17)
g_pGameEdit:SetCommandListHelperText(helperText, 2)
g_pGameEdit:AddCommandChange("\227\133\156", "n")
g_pGameEdit:AddCommandChange("\227\133\156\227\133 \129", "na")
g_pGameEdit:AddCommandChange("\236\184\160", "cm")
g_pGameEdit:AddCommandChange("\227\133\161\227\133 \151\227\133\148", "mhp")
g_pGameEdit:AddCommandChange("\227\133\151", "h")
g_pGameEdit:AddCommandChange("\227\133\160", "b")
g_pGameEdit:AddCommandChange("\235\167\136", "ak")
g_pGameEdit:AddCommandChange("\235\168\128", "ai")
g_pGameEdit:AddCommandChange("\227\132\185\227\133 \138", "fc")
g_pGameEdit:AddCommandChange("\227\132\183", "e")
g_pGameEdit:AddCommandChange("\227\133\160\235\148 \148", "bel")
g_pGameEdit:AddCommandChange("\227\133\163", "l")
g_pGameEdit:AddCommandChange("\227\132\180\227\133 \133\227\133\129\227\133\142\227\132\183", "stage")
g_pGameEdit:AddCommandChange("\227\133\129\227\133 \135", "ad")
g_pGameEdit:AddCommandChange("\227\133\163\227\133 \148", "lp")
g_pGameEdit:AddCommandChange("\235\139\157", "sld")
g_pGameEdit:AddCommandChange("\227\133\149\227\133 \149\227\133\149", "uuu")
g_pGameEdit:AddCommandChange("\227\133\138\227\132 \177\227\133\129\235\133\184", "crash")
g_pGameEdit:AddCommandChange("\227\132\180\227\132 \185", "sf")
g_pGameEdit:AddCommandChange("\227\133\143", "k")
g_pGameEdit:AddCommandChange("\227\133\138\227\132 \180", "cs")
g_pGameEdit:AddCommandChange("\235\132\187", "spc")
g_pGameEdit:AddCommandChange("\237\142\152", "vp")
g_pGameEdit:AddCommandChange("\227\133\149\227\133 \138", "uc")
g_pGameEdit:AddCommandChange("\236\184\160\227\133 \148", "cmp")
g_pGameEdit:AddCommandChange("\227\133\133", "t")
g_pGameEdit:AddCommandChange("\227\133\142\235\132 \164", "gsp")
g_pGameEdit:AddCommandChange("\227\133\129\227\132 \180\227\133\138", "msc")
g_pGameEdit:AddCommandChange("\227\133\148\227\132 \183\227\133\133", "pet")
g_pGameEdit:AddCommandChange("\227\133\148\227\133 \129", "pa")
g_pGameEdit:AddCommandChange("\227\133\149\227\132 \180\227\132\183\227\132\177\227\132\183\227\133\1 35", "usered")
g_pGameEdit:AddCommandChange("\235\182\128", "qn")
g_pGameEdit:AddCommandChange("\236\177\136", "cos")
function OKMsgBox(posX, posY, msg)
g_pMain:KTDGUIOKMsgBox(D3DXVECTOR2(posX, posY), msg, g_pStage)
end
function Slash_n(msg)
iCount = 1
g_pState:Handler_EGS_NOTIFY_MSG_REQ(iCount, msg, false)
end
function Slash_na(msg)
iCount = 1
g_pState:Handler_EGS_NOTIFY_MSG_REQ(iCount, msg, true)
end
function Slash_l(nickName, changeLevel, changeExp)
g_pState:Handler_EGS_ADMIN_MODIFY_UNIT_LEVEL_REQ(n ickName, changeLevel, changeExp)
end
function Slash_cm(npcName, iAttrib1, iAttrib2, iSA1, iSA2)
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
npcName = string.upper(npcName)
npcEnumID = string.format("NUI_%s", npcName)
if NPC_UNIT_ID[npcEnumID] == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\236\158\152\235\170\187\235\144\156 \235\170\172\236\138\164\237\132\176 \236\157\180\235\166\132\236\158\133\235\139\136\2 35\139\164.")
return nil
end
if iElite == nil then
iElite = 0
end
myUnit = g_pX2Game:GetMyUnit()
if myUnit == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\235\130\152\236\157\152 \236\156\160\235\139\155\236\157\132 \236\176\190\236\157\132 \236\136\152 \236\151\134\236\138\181\235\139\136\235\139\164." )
return nil
end
pos = myUnit:GetPos()
g_pX2Game:Send_EGS_ADMIN_NPC_UNIT_CREATE_REQ_LUA(N PC_UNIT_ID[npcEnumID], 1, pos, bRight, iAttrib1, iAttrib2, iSA1, iSA2)
g_pGameEdit:AddString(CHAT_TYPE.CT_NORMAL, npcEnumID)
g_pGameEdit:SetLastCreatedMonster(NPC_UNIT_ID[npcEnumID])
end
function Slash_cmp(npcName, posX, posY, posZ)
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
npcName = string.upper(npcName)
npcEnumID = string.format("NUI_%s", npcName)
if NPC_UNIT_ID[npcEnumID] == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\236\158\152\235\170\187\235\144\156 \235\170\172\236\138\164\237\132\176 \236\157\180\235\166\132\236\158\133\235\139\136\2 35\139\164.")
return nil
end
myUnit = g_pX2Game:GetMyUnit()
if myUnit == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\235\130\152\236\157\152 \236\156\160\235\139\155\236\157\132 \236\176\190\236\157\132 \236\136\152 \236\151\134\236\138\181\235\139\136\235\139\164." )
return nil
end
pos = g_pKTDXApp:GetVec3(posX, posY, posZ)
g_pX2Game:CreateNPCReq_LUA(NPC_UNIT_ID[npcEnumID], 1, true, pos, bRight, 0, false)
g_pGameEdit:AddString(CHAT_TYPE.CT_NORMAL, npcEnumID)
end
function Slash_mhp(myHP)
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
myUnit = g_pX2Game:GetMyUnit()
if myUnit == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\235\130\152\236\157\152 \236\156\160\235\139\155\236\157\132 \236\176\190\236\157\132 \236\136\152 \236\151\134\236\138\181\235\139\136\235\139\164." )
return nil
end
myUnit:SetNowHP(myHP)
end
function Slash_h()
g_pGameEdit:ToggleCommandList()
end
function Slash_b(itemID, quantity, period)
g_pMain:BuyItemSuper_LUA(itemID, quantity, period)
end
function Slash_ak()
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
g_pX2Game:KillAllNPC_LUA(false)
end
function Slash_ai(bEnable)
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
g_pX2Game:EnableAllNPCAI(bEnable)
end
function Slash_fc(bEnable)
g_pMain:SetFreeCamera(bEnable)
if bEnable == false then
g_pMain:EndWorldCamera()
end
end
function Slash_kfc(bEnable)
g_pMain:SetFreeCamera(bEnable)
g_pMain:SetWorldCameraEdit(bEnable)
end
function Slash_mc(bEnable)
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
g_pX2Game:EnableManualCameraPosition(bEnable)
end
function Slash_a(userID, authLevel)
g_pMain:SetAuthLevel_LUA(userID, authLevel)
end
function Slash_al(authLevel)
g_pMain:GetAuthUserList_LUA(authLevel)
end
function Slash_e(nickName, changeED)
g_pState:Handler_EGS_ADMIN_CHANGE_ED_REQ(nickName, changeED)
end
function Slash_stage(iStageIndex)
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
iSubStageIndex = 0
if g_pX2Game:GoStage(iStageIndex, iSubStageIndex) then
g_pGameEdit:AddString(CHAT_TYPE.CT_NORMAL, "stage \236\157\180\235\143\153\236\151\144 \236\132\177\234\179\181 \237\150\136\236\138\181\235\139\136\235\139\164")
else
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "stage \236\157\180\235\143\153\236\151\144 \236\139\164\237\140\168 \237\150\136\236\138\181\235\139\136\235\139\164")
end
end
function Slash_q(iQuestID, iWhichString)
end
function Slash_isk()
g_pMain:InitMyUnitSkillTree()
end
function Slash_sp(iSP)
g_pMain:SetMyUnitSP(iSP)
end
function Slash_stloc()
g_pMain:SendStatisticsLocLog()
end
function Slash_stdb()
g_pMain:SendStatisticsDBLog()
end
function Slash_bel(level)
g_pMain:BuySuperEqipLevel_LUA(level)
end
function Slash_ad(fAddDamage)
pMyUnit = g_pX2Game:GetMyUnit()
if pMyUnit ~= nil then
pMyUnit:SetDevAddDamage(fAddDamage)
end
end
function Slash_lp()
g_pData:LoadPicCharAll_LUA()
end
function Slash_sld()
g_pGameEdit:SaveFileLoadedDevices()
end
function Slash_uuu()
pUIUnitManager = g_pData:GetUIUnitManager()
if pUIUnitManager ~= nil then
pUIUnitManager:ClearAllUIUnit()
end
end
function Slash_crash()
g_pMain:IntentionalCrash()
end
function Slash_nmp()
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
g_pX2Game:SetAllNPCMPFull()
end
function Slash_sf(fSlowFactor, fSlowTime)
g_pKTDXApp:SlowFrame_LUA(fSlowFactor, fSlowTime)
end
function Slash_k(userNickName)
g_pState:Handler_EGS_ADMIN_KICK_USER_REQ(userNickN ame, false)
end
function Slash_kid(userID)
g_pState:Handler_EGS_ADMIN_KICK_USER_REQ(userID, true)
end
function Slash_cs(changeSpirit)
g_pMain:ChangeSpirit(changeSpirit)
end
function Slash_spc(bEnable)
g_pState:Handler_EGS_ADMIN_SET_PC_BANG_REQ(bEnable )
end
function Slash_vp(changeRating, changeRPoint, changeAPoint)
g_pMain:ChangeVSPoint(changeRating, changeRPoint, changeAPoint)
end
function Slash_sdm(bEnable)
dialogManager = g_pKTDXApp:GetDialogManager()
dialogManager:SetShow(bEnable)
end
function Slash_suv(bEnable)
g_pMain:SetShowUnitViewerUI(bEnable)
end
function Slash_linemap()
if g_pX2Game ~= nil and g_pX2Game:GetWorld() ~= nil then
if g_pX2Game:GetWorld():GetRenderLineMap() == true then
g_pX2Game:GetWorld():SetRenderLineMap(false)
else
g_pX2Game:GetWorld():SetRenderLineMap(true)
end
else
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
end
function Slash_uc(cUnitClass)
g_pMain:ChangeUnitClass(cUnitClass)
end
function Slash_t(iTitleID, iPeriod)
g_pMain:GetTitleCheat(iTitleID, iPeriod)
end
function Slash_dev(bDevModeOn)
g_pMain:SetEnabledDeveloperCheatCode(bDevModeOn)
end
function Slash_pf(iCount)
g_pMain:IncreasePartyFeverPoint(iCount)
end
function Slash_is()
g_pMain:GetItemSetForTest()
end
function Slash_guest(bVal)
g_pMain:SetGuestUserMode(bVal)
end
function Slash_gsp(count)
g_pGameEdit:AdminGetGuildSPoint(count)
end
function Slash_UnitScale(fScale, fTime)
if g_pX2Game ~= nil and g_pX2Game:GetMyUnit() ~= nil then
g_pX2Game:GetMyUnit():TransformScale_LUA(fScale, fTime)
else
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "ERROR")
end
end
function Slash_tf(npcName)
if g_pX2Game == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\234\178\140\236\158\132\236\164\145\236\151\144\ 235\167\140 \236\139\164\237\150\137 \234\176\128\235\138\165\237\149\169\235\139\136\2 35\139\164")
return nil
end
myUnit = g_pX2Game:GetMyUnit()
if myUnit == nil then
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\235\130\152\236\157\152 \236\156\160\235\139\155\236\157\132 \236\176\190\236\157\132 \236\136\152 \236\151\134\236\138\181\235\139\136\235\139\164." )
return nil
end
npcName = string.upper(npcName)
npcEnumID = string.format("NUI_%s", npcName)
if NPC_UNIT_ID[npcEnumID] == nil then
g_pX2Game:GetMyUnit():TransformIntoUser()
else
g_pX2Game:GetMyUnit():TransformIntoMonster(NPC_UNI T_ID[npcEnumID])
end
end
function Slash_msc(stateName)
g_pGameEdit:MonsterStateChange(stateName)
end
function Slash_warp(iPosition)
if iPosition < 13 then
g_pMain:WarpByCommand(iPosition)
else
g_pGameEdit:AddString(CHAT_TYPE.CT_KILL, "\237\151\136\236\154\169\235\144\152\236\167\ 128 \236\149\138\236\157\128 \235\178\148\236\156\132\236\158\133\235\139\136\2 35\139\164")
end
end
function Slash_pet(iType, iValue)
g_pGameEdit:PetCheat(iType, iValue)
end
function Slash_pa(motionName)
g_pGameEdit:PetActionCheat(motionName)
end
function Slash_usered(nickName)
g_pGameEdit:UserEdCheat(nickName)
end
function Slash_dhn(iRankingType, nickName)
g_pState:Handler_EGS_ADMIN_DELETE_HENIR_RANKING_CH EAT_REQ(iRankingType, nickName)
end
function Slash_dhr(iRankingType, iRank)
g_pState:Handler_EGS_ADMIN_DELETE_HENIR_RANKING_CH EAT_NOT(iRankingType, iRank)
end
function Slash_qn(iQuizNum)
g_pMain:SetMyUnitQuizNum(iQuizNum)
end
function Slash_wsp(wsp)
g_pGameEdit:ElswordWSPCheat(wsp)
end
function Slash_cos(iConsumeSpirit)
g_pGameEdit:ConsumeSpirit(iConsumeSpirit)
end
function Slash_der(iUnitUID)
g_pState:Handler_EGS_ADMIN_DELETE_EVENT_RANKING_NO T(iUnitUID)
end