Raised This Month: $ Target: $400
 0% 

Out of keyvalue string space


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Forgetest
Member
Join Date: Aug 2020
Old 09-21-2023 , 16:03   Re: Out of keyvalue string space
Reply With Quote #2

Where the error's exactly from: https://github.com/UXR7b/csgo2018lea...ystem.cpp#L319 (and more lines at below)
So according to it you're probably running out of a fixed space to map key strings to key symbols (haven't looked into the system, pure guess).

However, there's an internal function KeyValues::SetUseGrowableStringTable(bool), easy to tell that it can turn to a growable vector for the mapping.
Should be handy for you to access it through SM in server lib, but the effects remain unknown.

But my question is how would you run into messing with such a number of files?

Edit: Looks like if you'd like to use the growable table under its limitations, you have to find a way to call the function before all I/O to KeyValueSystem (perhaps via valve plugins).

Last edited by Forgetest; 09-21-2023 at 16:16.
Forgetest is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode