Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Runtime error?

Author
Message
2D Analyst
AGK Developer
22
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 28th Oct 2012 18:52
I am using Tier 1 and received a run time error? Anyone know what would cause this to happen? Attached is the screen shot.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 28th Oct 2012 19:59
Sounds like a bad call to a function. Perhaps you have a subroutine you are calling like a function? Or the opposite?


this.mess = abs(sin(times#))
2D Analyst
AGK Developer
22
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 28th Oct 2012 20:20
I noticed this started happening when I use playmusic() and stopMusic() functions.

If there are no music playing, stopMusic function should still work fine right?
JimHawkins
16
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 29th Oct 2012 14:27
Quote: "If there are no music playing, stopMusic function should still work fine right?"


Maybe. Good practice would be to check the play state. Looks like when a playback ends some internal resources are released.

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL

Login to post a reply

Server time is: 2026-07-05 14:12:07
Your offset time is: 2026-07-05 14:12:07