Vulnerite
|
  |
| Joined: 05 Nov 2007 |
| Total Posts: 11492 |
|
|
| 28 Sep 2014 12:11 AM |
so i have this Athens city right
i didn't make it though i'm making new stuff for it
i have a problem
due to the original creator having a bad habit of a few free models (not most stuff but some)
and the idiot scripters of "infections"
while testing my IRL time thing, i discovered an error with a fire spread script in a model in workspace
there are tons and tons and tons of models, so i wrote a recursive function to go through workspace and destroy them and entered it into the command line
when i did i got a stack overflow error after it froze for a bit, is this cuz of how many models there are? |
|
|
| Report Abuse |
|
|
cole7778
|
  |
| Joined: 19 Nov 2009 |
| Total Posts: 7827 |
|
|
| 28 Sep 2014 12:18 AM |
#1 Don't use free models
#2 Don't steal peoples places
d00d |
|
|
| Report Abuse |
|
|
Vulnerite
|
  |
| Joined: 05 Nov 2007 |
| Total Posts: 11492 |
|
|
| 28 Sep 2014 12:19 AM |
yes because i obviously stole this place and it totally wasnt made for my group
your logic is amazing |
|
|
| Report Abuse |
|
|
cole7778
|
  |
| Joined: 19 Nov 2009 |
| Total Posts: 7827 |
|
|
| 28 Sep 2014 12:20 AM |
#3 Build your own stuff
d00d |
|
|
| Report Abuse |
|
|
|
| 28 Sep 2014 03:10 AM |
I use http://www.roblox.com/Ro-Defender-Plugin-v8-2-item?id=142273772 and http://www.roblox.com/Virus-Scanner-Anti-Virus-item?id=167126759 They work very well. I'm pretty crap at scripting, so I'll use models everyone in a while, and of course everyone I choose has a virus. Using these two got rid of them fairly quickly, and I haven't had a problem since. |
|
|
| Report Abuse |
|
|
Obscurely
|
  |
| Joined: 30 May 2013 |
| Total Posts: 1216 |
|
|
| 28 Sep 2014 03:13 AM |
Those two plugins will lag your game, but they will help. Just delete them when the viruses are gone. |
|
|
| Report Abuse |
|
|
ohno1112
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 833 |
|
|
| 28 Sep 2014 05:23 AM |
In browser, open view->start page, then paste this link in the URL bar
http://www.roblox.com/Anti-Virus-tool-item?id=174128742
once installed, restart studio and you will have the anti-virus in your plugin browser. it's made to detect lag scrips like InFeCTion |
|
|
| Report Abuse |
|
|
ohno1112
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 833 |
|
| |
|
ohno1112
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 833 |
|
|
| 28 Sep 2014 05:25 AM |
| @obscurely, plugins only exist in studio, they aren't rendered in-game. |
|
|
| Report Abuse |
|
|
natth4545
|
  |
| Joined: 29 May 2012 |
| Total Posts: 365 |
|
| |
|
Obscurely
|
  |
| Joined: 30 May 2013 |
| Total Posts: 1216 |
|
|
| 01 Oct 2014 01:34 AM |
Actually, certain plugins do come into your game via scripts or items which destroy the virus or whatever, which you would have to delete after the virus has been removed. If you didn't, the script would lag your game by repeatedly trying to find a virus in every block. |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2014 01:50 AM |
I think I once made a looping searcher, but I forgot where it was. I'll make another here.
local function search(unprocessed, class) local results = {} while #unprocessed > 0 do local current = unprocessed[#unprocessed] unprocessed[#unprocessed] = nil if current:IsA(class) then results[#results + 1] = current end for i, child in next, current:GetChildren() do unprocessed[#unprocessed + 1] = child end end return results end
local scripts = search({Workspace, game:GetService("ServerScriptService"), game:GetService("StarterGui"), game:GetService("StarterPack"), game:GetService("ReplicatedStorage"), game:GetService("ReplicatedFirst")}, "Script")
for i, s in next, scripts do s.Disabled = true s.Parent = game.Lighting end |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 01 Oct 2014 01:54 AM |
while game:FindFirstChild(InfectionName,true) do game:FindFirstChild(InfectionName,true):Destroy() end
change InfectionName to the InfectionName |
|
|
| Report Abuse |
|
|