I get this error, Q_strncpyz: destsize < 1, when I am trying to test out my map in RTCW. It used to load just fine before I started adding a lot of target_positions. I thought that this problem was related to the number of target_positions that I had, so I removed some, but this still did not fix the problem. Is there some maximum number of the target_positions that a map can have? Is this problem even related to the target_positions?
Any help would be greatly appreciated so that I would not have to delete all of these entities and start over again. :banghead:
Q_strncpyz: destsize < 1
LtColSteiner
(LtColSteiner)
#1
rcrowder
(rcrowder)
#2
Could be a tricky one to find from that error. The message is coming from the Q_strncpyz function, but unfortunately its used over hundreds of times in the code. It is used to copy strings, and only gives that error if it has been asked to copy a blank string.
So, could be either one of the target_position entities without a name, or some other entity without a name. Fraid you might have to search through all the added entities to see if a string has accidentally been deleted.
Mind you you could just load the map file into wordpad and look for an empty string, ie “”
R.