Posts
577
Respect
163Add +1
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Hey guys I've been getting the error in the title that has to do with sounds.
I read the UGX wiki page that covers this, and it explained how it works, but nothing useful towards how to fix it. I also checked 'configstrings' in console and apparently I can only play 191 unique sounds by script, and then it crashes. I get this error usually around 30-35 with two players, and I could just imagine how devastating this would be 4 players, with two times all the VO. Is there anyway to help this?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
When I got this the only way I could fix it was to reduce the number of hud elements in the map (so like shaders and such), map ran fine in solo but would refuse to load in co-op giving this error until I removed some shaders.
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
I read the UGX wiki page that covers this, and it explained how it works, but nothing useful towards how to fix it.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
lol seriously? Nothing useful towards fixing it? It tells you exactly how to see what strings are throwing you over the limit. It's up to you to figure out wtf you did to cause it.
Specifically regarding sounds it tells you to stop using playsoundatposition(). There's literally a list of things for you to do at the bottom of the page under "Additional".
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
I told you, I know what strings push me over the limit. It's sounds. And I looked at all the sounds that use playsoundatposition(), and they were all together with all the other sounds, so what would that help? ( I'm not saying your wrong, I'm seriously asking, what would that help? ). And "Additional" had to do with removing unnecessary precache's, but again what would that help with sounds?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
The limit is to do with overall string counts, not specific types. When you exceed the limits within a certain type category it just starts overwriting old entries. Read the page very carefully you need to understand how the error works before you can fix it.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Ok well after getting the error a couple more times, I realized they were all PlaySoundAtPosition sounds giving the error, which I now understand is because other forms of playing sounds will start overwriting old entries like u said trem, but PlaySoundAtPosition is just fuckshitup-stupid and decides to crash when the space is full. Anyways I replaced it with _PlaySoundAtPosition and made this in my utility file: