Custom map memory error

Making or wanting help making your own asset? Check in here
Post Reply
starklow
Posts: 23
Joined: 2021-04-18 15:21

Custom map memory error

Post by starklow »

I made a custom map to the project amazonia and i got this when i try to load it:

Image
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2208
Joined: 2016-10-12 13:25
Location: Poland

Re: Custom map memory error

Post by Suchar »

Moved to modding.

Something is wrong with your picture. I recommend upoading it to imgur.
Image
starklow
Posts: 23
Joined: 2021-04-18 15:21

Re: Custom map memory error

Post by starklow »

Suchar wrote:Moved to modding.

Something is wrong with your picture. I recommend upoading it to imgur.

The image show the error: memory.dll: sanity check: block size -31291296(4066,16MB) doesn't seem sane

I load my and show this error in the loading of colisions.
starklow
Posts: 23
Joined: 2021-04-18 15:21

Amazônia map 1km (broken)

Post by starklow »

I'm leaving the link to download the Amazon map, the map doesn't open in PR, some crash occurs when loading the collisions, something connected to RAM (I have 10gb ram) if anyone can find the error and fix it I'll be very grateful :)



(the map is still without minimap so don't be surprised when you open the map and don't see it; The map can be opened without problems in BF2editor)


Download: https://drive.google.com/file/d/1rVGLVN ... sp=sharing
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: Custom map memory error

Post by Outlawz7 »

Factions are set up wrong to run and you seem to be running something custom, xpak_civ1_spawner? I can't even get it to start loading on 1.6.6.1

edit: nvm I seem to have troubles not related to this map
Last edited by Outlawz7 on 2021-06-24 17:29, edited 1 time in total.
Image
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2208
Joined: 2016-10-12 13:25
Location: Poland

Re: Custom map memory error

Post by Suchar »

Delete

Code: Select all

renderer.isNightMap 1
from init.con
Image
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: Custom map memory error

Post by Outlawz7 »

Do not use renderer.isNightmap, that's what causes the crash.
Image
starklow
Posts: 23
Joined: 2021-04-18 15:21

Re: Custom map memory error

Post by starklow »

Outlawz7 wrote:Do not use renderer.isNightmap, that's what causes the crash.
Was your PR able to open the map? I'm still having problems with crashes, even with the debug, the dump directory is empty after the error and I can't know what caused the crash.
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: Custom map memory error

Post by Outlawz7 »

starklow wrote:Was your PR able to open the map? I'm still having problems with crashes, even with the debug, the dump directory is empty after the error and I can't know what caused the crash.
Yes I could run map fine after removing isNightmap line. What debug, rcon debug or _r.exe?
Image
starklow
Posts: 23
Joined: 2021-04-18 15:21

Re: Custom map memory error

Post by starklow »

r_exe. you can upload the map for me? so i can download it pls. i deleted the line isnight map but dont work
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: Custom map memory error

Post by Outlawz7 »

No, it's the same map I got from you but with isNightmap line removed.

Don't run on _r.exe, just run on regular.
Image
starklow
Posts: 23
Joined: 2021-04-18 15:21

Re: Custom map memory error

Post by starklow »

Outlawz7 wrote:No, it's the same map I got from you but with isNightmap line removed.

Don't run on _r.exe, just run on regular.
Its workinggggggggggggggggggggggggggggggggg!!! thanks you made me happy :razz:

but how i activate the nightvision in the init.con?
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: Custom map memory error

Post by Outlawz7 »

You don't
Image
starklow
Posts: 23
Joined: 2021-04-18 15:21

Re: Custom map memory error

Post by starklow »

I finally finished the map, this is its final version:

http://drive.google.com/file/d/1xYBuqBqIAnD6NjSyaM_8Mg2fNV7kPhrm/view?usp=sharing

I still have a problem with crashes sometimes the map loads and sometimes not, the load gets up to 46% and crashes, any idea what it can be?
starklow
Posts: 23
Joined: 2021-04-18 15:21

Re: Custom map memory error

Post by starklow »

solved, when i put the number of maximum players in 72 the map load
Post Reply

Return to “PR:BF2 Community Modding”