if("Menu Colors")
startloop
switch(src.MenuCheck(list("-Cancel-","Steel","Blood"),0,"Select an Option","Select an Option"))
if("Steel")
src.bgcolor1="#DCDCDC"
if("Blood")
src.bgcolor1="#DE0101"
if("-Cancel-")
return
if(src.ingame<>0||src.delay<>0)
return
else
goto startloop
Problem description:
This uses sd_Alert() by Shadowdarke.
http://www.byond.com/developer/Shadowdarke/sd_Alert
the sd_Alert is initialized like so:
sd_Alert(src, xdesc, xtitle, movelist, xdef,turntimer,0,"225x[min(255+10.37*movelist.len,410)]",,\ "","tagged-[src.menuid]",,SD_ALERT_LINKS)
After about 100 loops, dream seeker starts to freak out with colors disappearing, then after 50 more, dreamseeker.exe crashes.
Here is the crash report:
Faulting application name: dreamseeker.exe, version: 5.0.504.1234, time stamp: 0x5303ca66 Faulting module name: MFC42.DLL, version: 6.6.8064.0, time stamp: 0x4d79b238 Exception code: 0xc0000005 Fault offset: 0x00029cd3 Faulting process id: 0x2454 Faulting application start time: 0x01cf304147065640 Faulting application path: C:\Program Files\BYOND\bin\dreamseeker.exe Faulting module path: C:\Windows\system32\MFC42.DLL Report Id: b1c8c821-9c51-11e3-858f-ccf007029d6e Fault bucket 88120286, type 17 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: dreamseeker.exe P2: 5.0.504.1234 P3: 5303ca66 P4: MFC42.DLL P5: 6.6.8064.0 P6: 4d79b238 P7: c0000005 P8: 00029cd3 P9: P10: Attached files: C:\Users\Evan\AppData\Local\Temp\WER1227.tmp.WERInternalMeta data.xml These files may be available here: \Microsoft\Windows\WER\ReportArchive\AppCrash_dreamseeker.exe _fdf394cebac2e4e5133cb9411871b2b73f442dce_47154bcc Analysis symbol: Rechecking for solution: 0 Report Id: b1c8c821-9c51-11e3-858f-ccf007029d6e Report Status: 0
I'm wondering if this might be a memory leak or something?