Page 1 of 1

Error in Teleports firstRun.ecl

Posted: Sun Mar 01, 2015 11:42 am
by blckfire
POL099-2013-09-03 Break Everything Even Rudder-20150301180429-0.dmp
Occurs when initializing the server.
(53.3 KiB) Downloaded 293 times
##########################################################
Current StackBackTrace
StackWalker::ShowCallstack - 0xb04d37
c:\pol99\lib\stackwalker\stackwalker.cpp : 1045
Pol::Clib::HiddenMiniDumper::print_backtrace - 0xaee489
c:\pol99\pol-core\clib\mdump.cpp : 267
Pol::Clib::HiddenMiniDumper::TopLevelFilter - 0xaee001
c:\pol99\pol-core\clib\mdump.cpp : 183
UnhandledExceptionFilter - 0x752ba313
(filename not available)
LdrAccessResource - 0x7793e772
(filename not available)
RtlImpersonateSelfEx - 0x778f6189
(filename not available)
##########################################################
[03/01 20:36:35] ##########################################################
Unhandled Exception! Writing Minidump file.
Post this file with explanation and last lines from log files on http://forums.polserver.com/tracker.php for the development team.
Saved dump file to 'POL099-2013-09-03 Break Everything Even Rudder-20150301203521-0.dmp'

Last Script: pkg/items/teleporters/initializer/firstRun.ecl PC: 307
##########################################################
I'm stuck can't past this. Apparently there is a problem in the script, that somehow makes it that the position in the vector gets to be higher than the size of the vector. This by looking at the code that follows in the .dmp file.

I think it must have to be with some of the foreach cycles inside the firstRun.src Script.

Re: Error in Teleports firstRun.ecl

Posted: Sun Mar 01, 2015 1:26 pm
by blckfire
I managed to round up the issue to a function in the "basic" module from the pol core called SplitWords().

Trying to solve the issue atm and rebuild the core afterwards.

Re: Error in Teleports firstRun.ecl

Posted: Sun Mar 01, 2015 7:20 pm
by Harley
Did you recompile it?

Re: Error in Teleports firstRun.ecl

Posted: Sun Mar 01, 2015 11:46 pm
by blckfire
I'm using the last available version in GitHub.

I think I found the problem, was building POL in Debug 32 mode. I am now rebuilding in release mode. Hope it will solve the issues.

Re: Error in Teleports firstRun.ecl

Posted: Mon Mar 02, 2015 3:13 am
by blckfire
Problem Solved you can close this thread.

I investigated a little bit about why I was having a problem with the season system and eventually got to a thread talking about packtes.

After checking the packets file I was able to find a function that is called in the season pkg. The thing is, that all the scripts in the distro that are related to the season miss the line

Code: Select all

include "include/packets"
which makes it impossible to run the season system.

After I added that line to the scripts I was able to start with no problems and errors. I'm going to post my distro files along with the latest compiled binaries in the POL99 forum so that other people having the same problems as I can have a start with 0 bugs.

Re: Error in Teleports firstRun.ecl

Posted: Mon Mar 02, 2015 10:17 am
by Nando
Did you recompile after updating the .em files? This is the most likely reason why it worked.

Re: Error in Teleports firstRun.ecl

Posted: Tue Mar 03, 2015 3:47 am
by blckfire
I recompiled and still got the same problem. But after I added the line that solved the problem.