Alice Community

Alice Community (
-   Bugs and Troubleshooting (
-   -   "The current method is not called by any events..." (

DensetsuNoKaboom 04-23-2015 05:16 PM

"The current method is not called by any events..."
In the current version of Alice 2.4 (as well as prior versions IIRC), when checking to see whether the current method is called by any events, it only checks world events, not events associated with specific objects. Thus, even if a method is called multiple times by an object's events, the world will still display the "The current method is not called by any events..." message. Not a terrible bug, but rather annoying...

x2495iiii 04-24-2015 05:32 AM


fourbros 04-24-2015 09:06 AM

Welcome back DNK :)

MrMoke 04-24-2015 11:39 AM

You may want to post examples to justify your comment, as just because a method has been pre-built into an object doesn't mean that it has to be used.

DensetsuNoKaboom 04-24-2015 05:05 PM

1 Attachment(s)
Here's a super-quick example world I made. As you can see, the " first method" runs fine when the world starts as it's supposed to, but on playing the world Alice displays the message since the method is under "ground" in the Events window.

I guess Alice just hasn't heard of that method since it's so under ground.

MrMoke 04-24-2015 06:17 PM

Don't see the problem.
Looks more like a programmer error rather than a Program Bug. " first method" is the default main for a world, and it's simply telling you that a required reference was removed.
Clicking "Restart" over and over won't generate the error again because the play window is still open.

Funnybone 04-24-2015 06:31 PM

Give a screen shot of it's layout, I might know how to counter it.

MrMoke 04-24-2015 07:35 PM

Waste of Time

DensetsuNoKaboom 04-24-2015 07:45 PM

I'm gonna try explaining this again, since I don't think I was clear enough at first.

When you play an Alice world, if the method you're currently editing isn't called by any other methods or events, Alice gives a warning telling you that this method isn't going to be used at all in the world.

However, in the example world, Alice gives this warning when " first method" is the currently opened method, even though there [I]is[/I] an event which calls the method. That's not supposed to happen.

Again, it's not a very important bug at all. You can work around it just by making sure to close the methods before playing the world. However, having to close the method or click through the warning every time you play the world gets a little annoying.

Funnybone 04-25-2015 12:23 AM

That "method" might have to be deleted before the method you just made can be considered primary. No other methods should be opened. (if that's the case)

If that isn't the case, try using the primary method (world.myfirstmethod). Copy all of your event nodes to the primary method (said here above)

And if that's also not the case, I can't help you. :(

All times are GMT -5. The time now is 01:05 AM.

Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.