People joining my server Getting redirected unwillingly
6 replies, posted
I am currently hosting a Dark RP server and whenever a player joins my server they end up getting redirected to a different server that's not mine and it's annoying me. It's been happening for a couple of days now, and I've tried a lot of things to stop it like I uninstalled suspicious addons and such.
Here is my addon list for my server folder and my workshop will be posted
Server addon list:
https://files.facepunch.com/forum/upload/173417/b36f0a75-7ca3-4bc6-82fb-bda5f6f0a54d/Help.PNG
Workshop Link:
http://steamcommunity.com/sharedfiles/filedetails/?id=842507725
Please help I need to figure this out.
local RCC=RCC or RunConsoleCommand
if CLIENT then
function RunConsoleCommand(a,b,c,d,e,f,g,h,i)
if string.lower(a)=="connect" then
error[[blocked connect,
the third part of the stack should say where this function was called from.
you should now be able to tell what script or addon is redirecting players.]]
end
RCC(a,b,c,d,e,f,g,h,i)
end
end
local meta = FindMetaTable( "Player" )
function meta:ConCommand(cmd)
if string.StartWith(string.lower(cmd),"connect") then
if SERVER then
for k,v in ipairs(player.GetAll()) do
if v:IsAdmin() then
v:PrintMessage(HUD_PRINTTALK,"someone check the server console")
end
end
end
error[[blocked connect,
the third part of the stack should say where this function was called from.
you should now be able to tell what script or addon is redirecting players.]]
end
if SERVER then
self:SendLua("LocalPlayer():ConCommand("..cmd..")")
else
local tbl=string.Split(cmd," ")
RCC(tbl[1],tbl[2],tbl[3],tbl[4],tbl[5],tbl[6],tbl[7],tbl[8],tbl[9])
end
end
put that into a lua file in garrysmod/lua/autorun
when an addon tries to redirect a player, it will instead throw a lua error,
the third part of the stack should say what naughty addon it is.
Would I just create a new lua file? Because that's what I did.
yes make sure it's in a shared lua file
Thanks I found it. Turns out the trouble maker was Arivia! Not a shock!
if you bought it and it has this redirect, should probably do something about it. However, if thats not the case...
Did you use som leaked addons that still use scriptenforcer?
Sorry, you need to Log In to post a reply to this thread.