Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
"While the world is running" event not workin in 2.4.1
Old
michaelleih
Junior Member
 
Status: Offline
Posts: 1
Join Date: Jan 2014
Location: Nashville, TN
Unhappy "While the world is running" event not workin in 2.4.1 - 01-03-2014, 02:52 PM

I just installed 2.4.1 and was running several of my old programs and noticed that when the "When the world starts, do" event is converted to the "While the world is running" event, the "While the world is running" never executes the methods indicated in "Begin", "During", or "End" parameters. I have tried this on Windows 7 and Windows 8. Any thoughts?
   
Reply With Quote
I've never actually used it.
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default I've never actually used it. - 01-08-2014, 08:38 PM

You are correct. It may be yet another bug introduced with the 2.4.1 release, many of which are now breaking numerous "while" events in older programs. However, in my older Worlds 2.4.1 still shows the "when worlds starts" event, as well as do new Worlds.

The "while world is Running" option would appear to be a good way to get background tasks like wave action. However, the only real way to stop a world is to click the "Stop" button, and doing so prevents the "end" event from executing anyway.

In the past I just created a global Boolean variable, and let it control anything that needed to run in an infinite loop until the game is over.

Last edited by MrMoke; 05-12-2014 at 09:22 AM. Reason: Jan., Feb., Mar., Apr., May ?
   
Reply With Quote
Update from January Posting
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default Update from January Posting - 05-12-2014, 09:24 AM

I've attached a quickie to demo.

Try it on 2.3.5 and then 2.4.1 to see major differences.
Attached Files
File Type: a2w test.a2w (1.02 MB, 3 views)

Last edited by MrMoke; 05-12-2014 at 06:19 PM.
   
Reply With Quote
Here, too
Old
jrrTolkien
Senior Member
 
jrrTolkien's Avatar
 
Status: Offline
Posts: 166
Join Date: Feb 2014
Location: Middle-Earth (Merrimack, NH)
Default Here, too - 05-12-2014, 11:07 AM

Same with mine I just use when the worl starts, an it works just as well most of the time.

-Jrr
   
Reply With Quote
2.4.2 is out for review
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default 2.4.2 is out for review - 05-15-2014, 05:55 PM

Tried the Beta release of 2.4.2 and it's looking good so far. I recommend moving up, and reporting anything you may find.
   
Reply With Quote
Reply

Tags
event, running, world

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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