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
#2
Looks like a bug, I'll fix it when I get back on Friday.
Reply
#3
Did you make this wwith the events menu? You only need the code, not the link line.
Reply
#4
(08-03-2011, 05:13 PM)Jacob_ Wrote: Looks like a bug, I'll fix it when I get back on Friday.

Thank you for letting me know, Jacob. If you have the time, please check my message, but please don't rush if you don't.
(08-03-2011, 05:16 PM)Jacob_ Wrote: Did you make this wwith the events menu? You only need the code, not the link line.

Oh, yes, I did script that with the event menu. Let me see what I can do...
Reply
#5
(08-03-2011, 05:16 PM)Jacob_ Wrote: Did you make this wwith the events menu? You only need the code, not the link line.

I can't believ this!!! OOOoooOOO Typing fail!!!! Nah... just a Joke. ^_^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)