18-12-20, 05:26 | #1 |
Member
Joined: Dec 2020
Posts: 5
|
My Game/Level keeps crashing upon trying to load into the level.
Here is my error message:
Code:
Version=1.3.0.7 Date: 6 April 2017 (21:34:20) Size=2580480 bytes CRS=Disabled Last diagnostic mexage:WorldFarView = -1 sectors Last directX error: MEMORY CODE MAPPING: BASE START END ID PluginName (PluginVersion - TrngVersion) -------------------------------------------------------------------------------------- 10000000 10001000 1014A000 0 Tomb_NextGeneration (1.3.0.7 - 1.3.0.7) -------------------------------------------------------------------------------------- ............... QUICK DIAGNOSTIC LOG ............... WARNING: missing Header NG in "TITLE.TR4" level file At moment of crash the program was managing: .................................................... CRASH REASON: EXCEPTION_ACCESS_VIOLATION The thread tried to read from or write to a virtual address for which it does not have the appropriate access. EXTRA_INFO: VIOLATION ON READ AT OFFSET 0x39AF000 RECOVERABLE : YES CRASH OFFSET: 0x45138F (Inside code range of tomb4.exe) REGISTERS: EAX=39AEFF9 EBX=0 ECX=1 EDX=0 ESI=0 EDI=49E61D EBP=C39FF70 EIP=45138F ESP=C39FF28 Stack=0xC39FF28 pContesto=0xC39F488 pInfoEccezione=0xC39F438 PRIMARY_STACK: ESP=0xC39FF28 STACK_TRACE: 0x475155 0x49E67C <CRASH DURING STACK TRACE> END_STACK_TRACE SECONDARY_STACK: ESP=0x19B0DC STACK_TRACE: 0x48D323 0x48D323 0x48CC6B 0x48CACE 0x49F26B END_STACK_TRACE OTHER_STACK: ESP=0xFE2B150 STACK_TRACE: <CRASH DURING STACK TRACE> END_STACK_TRACE Side Note: The Tomb Editor app version is 1.3.8 Last edited by Voidliest; 18-12-20 at 05:32. Reason: making it more detailed because i suck |
18-12-20, 09:39 | #2 |
Member
Joined: Jul 2016
Posts: 1,905
|
Looks like your script isn't compiled properly or it misses something, can you share a screen of the [Level] section?
|
19-12-20, 02:58 | #3 |
Member
Joined: Dec 2020
Posts: 5
|
Here's your image/images you wanted I presume.
Last edited by Voidliest; 19-12-20 at 02:58. Reason: note |
19-12-20, 05:11 | #4 |
Member
Joined: Feb 2010
Posts: 3,462
|
Last handled was WorldFarView= -1, remove this script line, recompile and please tell the result.
In future if you wish you disable a script line, adding a semi-colon before the script entry will comment it out of compilation. Like such: Code:
;Horizon= ENABLED Last edited by Niveus; 19-12-20 at 05:18. |
19-12-20, 12:32 | #5 |
Member
Joined: Jul 2016
Posts: 1,905
|
Scroll down to the [Level] section on script, that's what I have to see
|
20-12-20, 18:45 | #6 | |
Member
Joined: Dec 2020
Posts: 5
|
Quote:
Last edited by Voidliest; 20-12-20 at 18:46. Reason: looks better |
|
20-12-20, 18:51 | #7 |
Unverified
Joined: Jan 2008
Posts: 5,140
|
We want to see the [Level]...
|
20-12-20, 18:54 | #8 |
Member
Joined: Dec 2020
Posts: 5
|
|
20-12-20, 19:00 | #9 |
Member
Joined: Dec 2020
Posts: 5
|
|
20-12-20, 19:27 | #10 |
Member
Joined: Feb 2010
Posts: 3,462
|
Copy and paste your whole script, and use the code tags like you did your crash report. The pictures are not of the right section.
If this is the entirety of your script, you need to write a level section. [Level] Name= Great Wall Level= DATA\wall,102 LoadCamera= 0,0,0,0,0,0,255 At the very least you should have these script commands. First is the name of your level. You should overwrite one of the strings in the English.txt with the exact name you type here. The Level script line tells where to find your .tr4 file. Engine will automatically start looking in the folder it exists in. In this example, it looks in its own folder for a folder called data, and in there it expects to find wall.tr4. Load camera is the coordinates of what will show when you're exiting your level to the main menu or the next level. It's important to keep it in the script even if you aren't ready to choose yet because otherwise crash can occur when exiting level. In your project in Tomb Editor, you should make sure that the target .tr4 file that Tomb Editor will compile matches the name of the Level= script command, in this case wall.tr4. Go to Tools > Level Settings > Game. I'm not sure why your crash report says handling WorldFarView at moment of crash, considering it doesn't exist in your script. You should check that a) you're not using a script.dat from some other game or level, and b) that your paths are set correctly in TombIDE and Tomb Editor. Last edited by Niveus; 20-12-20 at 19:36. |
Thread Tools | |
|
|