Error in Teleports firstRun.ecl

Bug reports and feature requests. New features can only be added to the current development version. Bug-fixes may be back-ported.

Current release: 099 / Current development: 100
Post Reply
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Error in Teleports firstRun.ecl

Post by blckfire »

POL099-2013-09-03 Break Everything Even Rudder-20150301180429-0.dmp
Occurs when initializing the server.
(53.3 KiB) Downloaded 222 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.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Error in Teleports firstRun.ecl

Post 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.
Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: Error in Teleports firstRun.ecl

Post by Harley »

Did you recompile it?
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Error in Teleports firstRun.ecl

Post 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.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Error in Teleports firstRun.ecl

Post 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.
Nando
POL Developer
Posts: 282
Joined: Wed Sep 17, 2008 6:53 pm
Contact:

Re: Error in Teleports firstRun.ecl

Post by Nando »

Did you recompile after updating the .em files? This is the most likely reason why it worked.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Error in Teleports firstRun.ecl

Post by blckfire »

I recompiled and still got the same problem. But after I added the line that solved the problem.
Post Reply