• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Need Help figuring out a ctd

Jonesie85

Boarding Master
Storm Modder
Hello all, recently i have been modding away. I am now getting a CTD whilst on the world map sailing between islands. Is there a crash log that i could look at. I found a file called system.log. Im assuming that it is a path to a folder and specific line. not sure what the size part means.

Code:
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 3
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 1
Leak: '.\Sources\token.cpp' line 1165, size 2

Does anybody have any leads on what i have done wrong.

I have attached the readme to my mod so you can see if any of my changes may be more likely a cause.

(please note that it isnt going to be released to the public, so if you see any of your work listed do not be angry).

I have to admit, the way i wrote the read me is a matter of pride for the future me when i come back to this game.
 

Attachments

  • Readme.pdf
    56.2 KB · Views: 141
It appears that you have error logging enabled. There should also be a "compile.log" file and sometimes an "error.log".

What that system.log is saying is that you have a memory leak and where it is at. A memory leak is normal in the Storm engine when you shut the game down, but not when it is running. Could something be shutting down your game?
 
i dont have either the compile or error log. Im assuming at this point the log file i posted earlier isnt associated wit this issue. The game was pretty stable untill i added my custom player. I did some exploring. in game i pressed F10 to display the competitor screen. A list of heros you can encounter in game. As the ctd only happens whilst on the world map. i grasping at whatever things may happen during that screen. It may have something to do with time. on land time always moves slower. anyway. the f10 screen seems to have an issue.
pic1.jpg

At teh bottom there is a character/hero that isnt named but is somewhere. Maybe its a sign :confused:.
 
well, thats one bug caught, not sure if its my current one though.

Code:
heroName_33 {Danielle}
 
heroLastname_33 {Greene}
 
heroNameGen_33 {Danielle}
 
heroLastnameGen_32 {Greene} // <-------------------------------------------------------whoops
 
heroNameDat_33 {Danielle}
 
heroLastNameDat_33 {Greene}
 
heroFace_33 {302}
 
heroModel_33 {Danielle}
 
heroType_33 {Adventurer}
 
heroNation_33 {England}
 
sex_33 {woman}
 
animation_33 {Danielle}
 
hero_33 {Not one to shy away from adventure, Danielle intends to make her name known in the Caribbean. Although she can't help but wonder if she will ever run into her former lover....
}
 
i also noticed that this part of the herodescribe file was put down wrong.

Code:
hero_qty {39}
 
ps_hero_qty {40}

it should be..

Code:
hero_qty {39}
 
ps_hero_qty {38}

it seems ps_hero_qty should never be over 38

before i added 2 new playable characters it looked like this.

Code:
hero_qty {37}
 
ps_hero_qty {38}

I am asuming at this point that 38 should always be 38. If somebody knows otherwise.
 
It might help you to enable error logging. In engine.ini set "tracefilesoff" to "0" and ";tracefiles to "1".
 
Back
Top