Error & crash when script ran...
#1
Hello,

I don't believe that this is normal, so I will post error here:

java.util.ConcurrentModificationException
java.util.AbstractList$Itr.checkForComodification(Unknown Source)
java.util.AbstractList$Itr.next(Unknown Source)
net.buildism.b.a.a(Event.java:61)
net.buildism.c.b.a(DefaultInputProcessor.java:142)
net.buildism.f.p(Main.java:687)
net.buildism.MainApplet.run(MainApplet.java:214)
java.lang.Thread.run(Unknown Source)

Whenever I run my explosion on click script, my world seems to always crash with this error message. I've already had someone check my quick script, and it works fine.

Code:
--Parameters you can use: player (GameObject), button (integer)
function click(player)
    local e = create("Explosion")
    e.Name = "explosion"
    e.Position = script.Parent.Position
    e.Radius = 10.5
    e.Parent = game.World
end
link(script.Parent.Clicked, click)

Please do keep in mind that I'm a Java programmer; I have not touched Lua in a few years. Let me know what the issue is.

Thank you!
Reply


Messages In This Thread
Error & crash when script ran... - by CoderRyne - 08-03-2011, 04:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)