Compiled, this script changes...
And if I change the script so It doesn't change, it freezes...
Remember you should always put an
end.
Also,
avoid using
flag 0x200 over and over again.
Safer flags are those ranging from
0x1000 to 0xFFFF. A lot more than you'll ever need.
When using an if for checking flags,
there's no need to put two ifs. In fact, if the first if is not executed, the rest of the script
would be executed instead.
Checking flags, however, doesn't make sense if you don't
set them.
After each applymovement command you should put a
waitmovement 0x0 too.
And don't forget to put callstd/boxset in the
right place. That is, right
after the message/msgbox command.
This is the fixed script. It should work fine even if I haven't tested it.
I need some help with this script i compile it and it goes like this
but when opened it just goes like this:
'-----------------------
#org 0x2DE517
Please help
When compiling a dynamic script, the offset you specify in the #dynamic part
isn't going to be the
exact same offset where the script will be actually compiled. This happen in most case since that offset (in your case 0x2DE517) is what XSE uses to
search free space from.
Once compiled, the compiler log will show you the
actual offset where the script got compiled.
As I said earlier, remember to use setflag after checking it.
Can someone help me with this? If I
Sorry bout it being compiled.
Help much appreciated.
I guess you recompiled the script after compiling it. Well, you should know that if you don't pay attention, scripts may
get ovewritten themselves, and that explains why you're getting a nop instead of end.
Don't forget to put callstd/boxset right after the message/msgbox command, anyway.
Try using this: