Regarding the String Pool Error

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
stardestroyer001
Sergeant Major
Sergeant Major
Posts: 239
Joined: Fri Apr 16, 2010 7:02 pm
Projects :: Space Coruscant [before it corrupted]
Games I'm Playing :: World of Warships
xbox live or psn: StarDestroyer75
Location: Canada
Contact:

Regarding the String Pool Error

Post by stardestroyer001 »

I'm just wondering, is there a way to track which object(s) are causing a string pool error?

I'm quite sick of deleting things one at a time, to find out it was the LAST object I deleted that was causing the problem :faint:.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Regarding the String Pool Error

Post by Fiodis »

Not that I know of, but a string pool error is just a memory overload. Taking out one or two (or however many you need) big, memory-intensive objects will probably fix it.
stardestroyer001
Sergeant Major
Sergeant Major
Posts: 239
Joined: Fri Apr 16, 2010 7:02 pm
Projects :: Space Coruscant [before it corrupted]
Games I'm Playing :: World of Warships
xbox live or psn: StarDestroyer75
Location: Canada
Contact:

Re: Regarding the String Pool Error

Post by stardestroyer001 »

A memory overload? I thought it was a max number of objects! (That explains a lot)
Ok, got it. So I've got to have less different types of objects.
...still, is there a way to track which objects are giving the hardest time on the game?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Regarding the String Pool Error

Post by Fiodis »

stardestroyer001 wrote:Ok, got it. So I've got to have less different types of objects.
Nope. Too many of the same amount of object will overload the game. What I meant is that the game is trying to render too much at once and can't handle it all, runs out of memory, and CTDs. Portals and sectors could help with this.
stardestroyer001
Sergeant Major
Sergeant Major
Posts: 239
Joined: Fri Apr 16, 2010 7:02 pm
Projects :: Space Coruscant [before it corrupted]
Games I'm Playing :: World of Warships
xbox live or psn: StarDestroyer75
Location: Canada
Contact:

Re: Regarding the String Pool Error

Post by stardestroyer001 »

So I should delete any extra portals/sectors, and have not too many of the same object?

EDIT: "have not"? Whoops, I meant "not have"! :funny2:
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Regarding the String Pool Error

Post by Deviss »

surely this topic can help you :D
forums/viewtopic.php?f=27&t=24298
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Regarding the String Pool Error

Post by Fiodis »

stardestroyer001 wrote:So I should delete any extra portals/sectors, and have not too many of the same object?
This is harder to explain than I thought.

If you have too many objects, period, it will overload and crash your map. Usually, if an object is huge and high-poly than it will account for more of the overload than other, lesser objects. The "object limit" isn't exactly a set number; if you have too many high-poly objects your map might crash with less objects total than you expected.

Portals and sectors can help with your problem. I think they're used on stock Tantive IV. What they do is, they cause the engine to selectively render parts of your map: in other words, if you're standing in one location only the items you should be able to see are rendered. This stops the engine from wasting resources rendering objects you can't even see. This FAQ Thread link may help you with them a bit, although it doesn't explain how to set them up in the first place.
stardestroyer001
Sergeant Major
Sergeant Major
Posts: 239
Joined: Fri Apr 16, 2010 7:02 pm
Projects :: Space Coruscant [before it corrupted]
Games I'm Playing :: World of Warships
xbox live or psn: StarDestroyer75
Location: Canada
Contact:

Re: Regarding the String Pool Error

Post by stardestroyer001 »

Sorry if I'm giving you a hard time :oops:
So if I have too many objects, or lots of large, detailed (as in "high-poly", which I think means the object has lots of shapes, making it harder to load the whole thing) objects, then the game might crash, this is a limitation on the game engine. Got it.
Thanks guys! :)
Post Reply