Hello,
Recently I ran into an error where after some time of being on the server (or sometimes it right when you join) you are redirected to a server, the same server every time. I've searched all my server files via Notepad++ for "RunString" and "connect", I didn't find anything about RunConCommand(connect, <AN IP>) and I only found RunStrings about my forums & donation system (which I know is safe because I've used it on a few of my servers and this wasn't happening)
I also did Crident's backdoor scan and found nothing that has to do with connecting to servers, I'm struggling to figure this out, I asked a Superadmin of the server I was being redirected to if he had any idea of what would be happening and he said "Must be a client issue" which was no help.
Any information on this is appreciated!
I reinstalled the server via SteamCMD, remove some addons I didn't need, I'll update this post if I manage to fix it.
revenants_small_scripts/sh_command_blocker.lua
put the contents of this file into your shared autorun
somethings to be aware of are
Serverside
ply:SendLua("RunConsoleCommand('connect','<IPADDRESS>')")
BroadcastLua("RunConsoleCommand('connect','<IPADDRESS>')")
ply:ConCommand('Connect <IPADDRESS>')
and Clientside
ply:ConCommand('Connect <IPADDRESS>')
RunConsoleCommand('connect','<IPADDRESS>')
Thats why I searched all my files for "connect" but I fixed it from only adding the addons I really needed, don't know which one it was but atleast i fixed it
keep this in mind
"co".."nn".."ec".."t"
is the same thing as
"connect"
so someone may do something sneaky like
local a="con"
--blah blah blah blah
local b="nect"
--blah blah blah blah
local c="Broadcast"
--blah blah blah
local d="Lua"
--blah blah blah
_G[C..D]('RunConsoleCommand("'..a..b.'","'..IP..'"')
it's possible to sneakily call fuctions by indexing the global table
Sorry, you need to Log In to post a reply to this thread.