Max value of vault entry?
Hello,
I have doubts with nvault functions. I am trying to store some big data into an nvault, but, for some reason, I can store only half of this data. Does the value of an entry have limited size? And, sure, I search for this in the module's source code: https://github.com/alliedmodders/amx...modules/nvault |
Re: Max value of vault entry?
These are your limiting factors:
PHP Code:
|
Re: Max value of vault entry?
After some debugging and testing, I realized that the Array is holding only 256 items, after that, it seems to start over, Example of what's goin' on:
I have 300 items in the dyn array, I select 274th item. The Array is thinking my selected item is 274-256 = 18th item is being selected, instead 274th. |
Re: Max value of vault entry?
You're probably going to have to show some code because arrays and nvault don't go together (not directly).
|
Re: Max value of vault entry?
After I come home, I will show se code.
EDIT: EDIT2 : The problem seems to be not from what did I mention. Marked as solved. |
Re: Max value of vault entry?
The bug were from menu_item_getinfo, I did not properly used it :P
|
All times are GMT -4. The time now is 06:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.