Page 1 of 1

RedMemory error

Posted: Mon Dec 20, 2010 5:42 pm
by genaral_mitch
I have just munged a completely fresh, new, clean map and BFII crashes at the first loadscreen. Before that all I did was (listed in order): Delete modtools (VM was having issues), DL modtools, install modtools, and make a new map.

Error log
Hidden/Spoiler:
Opened logfile BFront2.log 2010-12-20 1340
shell_interface: Entered

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open v1.3patch_strings.lvl
shell_interface: gPlatformStr, gOnlineServiceStr, gLangStr, gLangEnum: PC GameSpy english 0
ifs_era_handler - Entered
ifs_era_handler - Exited
shell_interface: No custom_gc_0.lvl
shell_interface: No custom_gc_1.lvl
shell_interface: No custom_gc_2.lvl
shell_interface: No custom_gc_3.lvl
shell_interface: No custom_gc_4.lvl
shell_interface: No custom_gc_5.lvl
shell_interface: No custom_gc_6.lvl
shell_interface: No custom_gc_7.lvl
shell_interface: No custom_gc_8.lvl
shell_interface: No custom_gc_9.lvl
shell_interface: No custom_gc_10.lvl
custom_EraButtonList(): Finished building era button table Known eras buttons: 28
custom_GetGMapEras(): Finished building era table Known eras: 28
custom_GetGMapModes(): Finished building game mode table Known Modes: 39
custom_GetMPGameModeList(): Finished building game mode list table List Length: 40
custom_SetMovieLocation()
custom_GetGCButtonList()
custom_SetMovieLocation()
custom_GetFreeformBattleModeList(): Finished building freeform battle mode list Known Modes: 39
ingame stream movies\crawl.mvs
shell_interface: Opening movie: movies\shell.mvs
shell_interface: Leaving
Mission Checker: Entered addme
Mission Checker: addme: Now listening in on AddDownloadableContent() calls
Mission Checker: Exited addme
addme.lua too old: read version 4.0; expected at least 5.0
Found ..\..\addon\BFX\data\_LVL_PC\mission.lvl. Adding BFX's missions
Found ..\..\addon\BFX\data\_LVL_PC\mission.lvl. Adding BFX's missions
Found ..\..\addon\BDT\data\_LVL_PC\SIDE\dark.lvl. Adding DT's missions

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(634)
Allocating 410776 bytes attempt failed - no free blocks left in Heap 5 (Runtime)

Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(538)
Allocating 410776 bytes failed - no free blocks left in Heap 5 (Runtime)

Re: RedMemory error

Posted: Mon Dec 20, 2010 7:07 pm
by Dakota
i was wondering if you got the right error log, it only writes a new error log when you use the debugger version "BF2_modtools.exe" (or at least it only does that for me...)

a bit offtopic: i don't really know too much about the error log but i try to make good guesses and work from my own experiences

second thing is try removing the mod folder from addon and see if it still crashes to desktop if it crashes then it is something with the new mod you munged. or your computer just hates you... :cpu:

EDIT: the red memory errors come from a hardpoint in the game i think i got a link on it somewhere...
http://www.gametoast.com/forums/viewtop ... 27&t=13034
oooh found it :D

Re: RedMemory error

Posted: Mon Dec 20, 2010 7:29 pm
by Firefang
genaral_mitch wrote:Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open v1.3patch_strings.lvl
It looks like the 1.3 Patch can't find everything

Re: RedMemory error

Posted: Mon Dec 20, 2010 11:51 pm
by genaral_mitch
Dakota wrote:i was wondering if you got the right error log, it only writes a new error log when you use the debugger version "BF2_modtools.exe" (or at least it only does that for me...)

a bit offtopic: i don't really know too much about the error log but i try to make good guesses and work from my own experiences

second thing is try removing the mod folder from addon and see if it still crashes to desktop if it crashes then it is something with the new mod you munged. or your computer just hates you... :cpu:

EDIT: the red memory errors come from a hardpoint in the game i think i got a link on it somewhere...
http://www.gametoast.com/forums/viewtop ... 27&t=13034
oooh found it :D
I made sure I am using the right error log, and I DID remove the map from addon and it works, fine, and I am quite sure I didn't hit a limit cuz it's a new map.
Firefang wrote:
genaral_mitch wrote:Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open v1.3patch_strings.lvl
It looks like the 1.3 Patch can't find everything
This wouldn't cause the problem I am having.

Re: RedMemory error

Posted: Tue Dec 21, 2010 12:25 am
by Dakota
my only idea (working from experience here...) is: is the addon script right
if u mess up an addon script it will crash to desktop (i found that out the hard way trying to make an era...) but i am not really sure... :?

Re: RedMemory error

Posted: Tue Dec 21, 2010 1:25 am
by genaral_mitch
I wouldn't get a redmemory error from that.

Re: RedMemory error

Posted: Tue Dec 21, 2010 11:30 am
by Bob
this looks suspicious to me:
Hidden/Spoiler:
addme.lua too old: read version 4.0; expected at least 5.0