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 / DeleteTween - Access Violation BUG!

Author
Message
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 4th May 2016 14:31
Trying to DeleteTween(tweennum) - Access Violation BUG!
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 4th May 2016 17:40
I've not seen this before, can you provide a small example that replicates the bug and I'll get it tracked down.
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 5th May 2016 12:32 Edited at: 5th May 2016 12:32
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 5th May 2016 13:40
Tested in the template_windows project using VS2008 and it works in debug mode here. As you are using C++ there is the possibility of memory corruption somewhere else in the code going unnoticed until something triggers a heap check, so the error may not be in DeleteTween.
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 5th May 2016 16:19 Edited at: 5th May 2016 16:22
Hi Paul!

I finally found this bug!!! This is 100000% engine bug!!!

I use Visual Studio 2015

Try this:

Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 5th May 2016 16:35
The same bug in the tier1
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 5th May 2016 16:57
Thanks, fixed for the next version. This was caused by empty tween chains, and chains that have not yet been played, so you could work around it by adding a tween to the chain and playing it before deleting any tweens.

Login to post a reply

Server time is: 2024-11-25 08:23:14
Your offset time is: 2024-11-25 08:23:14