![]() If !halves then file.Delete( "acebot_settings.dat" )ĪB.ChatText( "Invalid data file and/or data file is using an outdated format! type ace_save_settings into console to fix this", Color(255,205,205) ) Local halves = string.Explode( "-NUMBERVARS-\n", TheFile ) Local TheFile = file.Read( "acebot_settings.dat", "DATA" ) If !file.Exists("acebot_settings.dat", "DATA") then AB.SaveSettings() return end StringToWrite = StringToWrite."-NUMBERVARS-\n"įile.Write( "acebot_settings.dat", StringToWrite )Ĭoncommand.Add("ace_save_settings", AB.SaveSettings) for k, v in pairs( args ) do if k != 1 then n = n." ".v else n = n.v end endĬoncommand.Add( "odium_setname", AB.ManualNameSet ) If AB.Vars.Notifications then AB.ChatText( "Shut namestealer script down", Color(255,255,255) ) endįunction AB.ManualNameSet( ply, cmd, args, argstr ) Timer.Simple( 0.5, function() AB.SetPlayerName(steamworks.GetPlayerName(LocalPlayer():SteamID64())) end) Steamworks.RequestPlayerInfo( LocalPlayer():SteamID64() ) ![]() Timer.Create("ab_namesteal", 1, 0, AB.NameStealer) If AB.NameStealName = unfuckedname then nstries = 0 end LocalPlayer():ConCommand( "odium_setname ".fixd ) Local fixd = string.Replace(theirname, strname, strname.ninjacharacter ) Local theirname = AB.NameStealPlayer:Nick() If AB.NameStealPlayer != LocalPlayer() and unfuckedname != AB.NameStealPlayer:Nick() then Local unfuckedname = string.Replace( AB.NameStealName, ninjacharacter, "" ) - gotta clear the ninjas out so we can check if the namesteal worked properly If AB.NameStealName = LocalPlayer():Nick() then nstries = 0 end LocalPlayer():ConCommand( "odium_setname ".AB.NameStealName ) If AB.NameStealName != LocalPlayer():Nick() and AB.NameStealPlayer = LocalPlayer() then set your name to a given string, unfucks bytefalls random malfunctions If !AB.NameStealPlayer:IsValid() then AB.NameStealPlayer = LocalPlayer() end If !AB.Vars.NameStealer or !LocalPlayer():IsValid() then return end If !odium or !ayer or ! thenĪB.ChatText( "Odium main module not present or malfunctioning! Name changing will not work!", Color(255,100,0) ) If col.g >= (col.r col.b) then typ = 3 end If col.r = 255 and col.g = 205 and col.b = 205 then typ = 2 end MsgC( Color( 0, 150, 250 ), "=>- Acebot Initialized (Version ".AB.Version.") - 150 then typ = 4 end - probably an error message "Changed notification system over to aegis.Notify", "Rewrote xray core to be 100% screengrab safe", Just stick with unlocking the 'name' ConVar, should be fairly easy.RAW Paste Data Copied - Dumped and Released by Grampa This requires a fair bit of understanding and reverse engineering so is probably not for you. You'll need to bypass that or just plain use the NET_SetConVar and send the packets yourself using the INetChannel interface. NAMECHANGER CSGO UNKNOWNCHEATS CODEAs you reverse engineer you see that Valve wrote explicit code to reject changing name with setinfo. ![]() You can bypass this by manually sending a new name to the server using 'setinfo name '. There is still a (client-side) delay when your name is updated. You defeat this by putting your own onchange callback in its place (store the name you want somewhere else and enforce it). The server doesn't force your steam name, it all still uses the old system. Valve games still have a 'name' ConVar, which is synced with steam by the ConVar's onchange callback which immediately sets your name to your steam name upon change as well as steam occasionally sets the name directly (SetValue on the IConVar). ![]() Steam rate limits name changes these days and it's annoying as fuck to have a friend spam namechanges. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |