Skip to content
⌘ NSIS Forum Archive

Bug?

7 posts

Afrow UK#

Bug?



I get this when I run my logging program.

It happens after the 'Medic Heals' count, which makes you assume that it is the 'Medic Heals' count function, or maybe the next count function that is causing this error.

BUT

If I blank out the Calls for all functions accept the first function (for getting the 'kills' count,) then instead I get this error appearing from that function instead!

Is this some bug being caused by the compiler?

opcode, I assumed the IntOp, but that looks fine:


IntOp $3 $3 + 1
Another problem I have:
I have a Custom Page MainPage in my script, and then I have a InstFiles page. However, the Next > button on the Custom Page doesn't go to the InstFiles page, but instead does nothing.

I have included the whole script below.
kichik#
Can you please pin point the exact command that causes this message?

The next button that does nothing was caused because you had only that custom page defined and no other page. When using Page you have to define all of the pages that your installer is using.
Afrow UK#
Originally posted by kichik
Can you please pin point the exact command that causes this message?

The next button that does nothing was caused because you had only that custom page defined and no other page. When using Page you have to define all of the pages that your installer is using.
I have narrowed it down to the SpecialKillsCount, because clearing the whole of that function fixes it.
I'm now going to remove parts of the function until it stops happening.

-Stuart
kichik#
You can also add DetailPrint before each command until you see one DetailPrint that isn't printed and then you'll know the command before it is the one.
Afrow UK#
Here is what I removed, and that fixed it. I can't see anything visually wrong though! Can you?


Push $1
Push "${NAME}'s handgrenade"
Call StrStr
Pop $2

# Add to count
StrCmp $2 "" +3
IntOp $7 $7 + 1
OMG wait...
I haven't changed the +3 to a +2!!!
ACK
It works now.

-Stuart