Re: Host_Error: PF_precache_model_I: Bad string
Posted by mrfranswa on
Thu Jun 17th 2004 at 2:14am
20 posts
32 snarkmarks
Registered:
Feb 7th 2003
Ok, this is an odd, and deadly error. Basically, the map will compile fine. When you attempt to run the map, everything seems great, however before it loads, it crashes back to the main screen. When you press the console button, all it says is this:
Host_Error: PF_precache_model_I: Bad string"
Now, I am guessing it's an entity problem, (dur), but being more specific is starting to be a little more difficult. This is what good o'l Tommy says:
Host_Error: Bad String
This rare error only happens in game/server mode when sprites, models, sounds, or text strings (but not all strings!) are initialized and precached. If the string/name for the sprite, model, sound, or miscellaneous text string either starts with a non-printable ASCII character, or is 0 length (ie: starts with a non-printable null ASCII character), then the error will occur.
Solution: search thru entities like env_glow, env_sprite, ambient_generic, env_shooter, etc. - anything the engine has to precache a file for the bad name.
This is a svencoop map which uses a ton of custom sounds, and models. Now, the odd thing is that it says it's a naming problem. However, when I do entity check, and even ripent the bsp, I can't find any problems with any of the characters!
Somebody, please shed some light on my problem, or offer to lend me a hand! I already have two people trying to find the problem. The faster it is solved, the faster my map can be completed.
If I get any more information, or find a fix for it, I'll put it up.
Re: Host_Error: PF_precache_model_I: Bad string
Posted by 7dk2h4md720ih on
Thu Jun 17th 2004 at 2:20am
1976 posts
198 snarkmarks
Registered:
Oct 9th 2001
Take all your models and copy them into a blank box. Compile and see if
the error appears. Start deleting models until you find the dodgy
one/ones. Then you can go about sorting them out.
Re: Host_Error: PF_precache_model_I: Bad string
Posted by mrfranswa on
Thu Jun 17th 2004 at 3:26am
20 posts
32 snarkmarks
Registered:
Feb 7th 2003
It isn't that specific, so I dont know if I hit that limit or not. I'll let you know as soon as I get it. I will try that method right now. I shall not sleep untill I fix this!
RE2 IS COUNTING ON ME!
Re: Host_Error: PF_precache_model_I: Bad string
Posted by mrfranswa on
Thu Jun 17th 2004 at 3:27am
20 posts
32 snarkmarks
Registered:
Feb 7th 2003
I almost forgot, mine is a BAD STRING, so it can't be a limit.
Re: Host_Error: PF_precache_model_I: Bad string
Posted by mrfranswa on
Thu Jun 17th 2004 at 4:07am
20 posts
32 snarkmarks
Registered:
Feb 7th 2003
I FOUND IT!
What an odd error. It came from me spawning a monster_generic with a
squadmaker. I did the, "put everything in a big box, and delete"
method. At first I thought i'd take forever, since I had well over 600
entities in the map. However, after about 5 min, (only took about a
tenth of a second to compile wihtout a light), I found the source.
Thanx for your idea, it saved the day!
Re: Host_Error: PF_precache_model_I: Bad string
Posted by 7dk2h4md720ih on
Thu Jun 17th 2004 at 4:14am
1976 posts
198 snarkmarks
Registered:
Oct 9th 2001
Change your post to an answer and correct it so it goes into the
database bud. Glad you got it fixed, you can go to sleep now. :wink:
Re: Host_Error: PF_precache_model_I: Bad string
Posted by laqclcj on
Sat Aug 2nd 2008 at 6:24am
2 posts
0 snarkmarks
Registered:
Aug 2nd 2008
Occupation: CSmaper
Location: China
<DIV class=forumtext>Can the CS model not show regularly very much? </DIV>