Code: Select all
##########################################################
Unhandled Exception! Writing Minidump file.
This file with explanation and last lines from log files should be given to the development team.
Saved dump file to 'POL097-2008-09-01 Coregina-20081004213933-0.dmp'
Last Script: c:/pedro/txt-codes/pol/pol/pkg/combat/cmd/player/tiro.ecl PC: 236
##########################################################
POL Version Identification:
Code: Select all
POL097-2008-09-01 Coregina (VS.NET 2003)
compiled on Sep 1 2008 21:57:58
POL crashed where it was suposed to execute this line from the function monstrarBarra():
Code: Select all
start_script(":combat:buscarTargetTiro", pc);
I don't know if you need more files, because what POL CORE said is that the crash happened while executing tiro.ecl.
consts.inc file (which is being used there) just have a set of constants I use, like for colors, cprops name/values I use (every cprop is prefixed with "drv_", so I doubt it is conflicting with pol core ones).
If I can give you more information, just tell me.
Core dump is here: http://darvia.50webs.com/POL097-2008-09 ... 3933-0.dmp
POL also crash if it has to execute the line starting the script ":combat:selecionarTargetTiro" inside the function mostrarBarra().
before having those scripts as scripts, i had them as functions, so instead of having start_script() calls I had function calls, it was working without crashing.
VERY IMPORTANT
The loop inside mostrarBarra() is being done using a repeat...until(); construction, I've tried doing it with a do...dowhile(); construction, both crashed, but I've already tried to do using while...endwhile and it didn't crash.
I've done a
Code: Select all
while(1==1)
...
if(condition)
break;
endif
endwhile
It is working and my script isn't crashing anymore.
It **MAY** be a good tip to scripters, avoid repeat...until() and do...dowhile()
If I'm not wrong, this bug is VERY SERIOUS, so good luck staff and I still will provide another files if you want, just let me know.