Help buffer max string length on advanced valut by Destro
Hi, i recently started working with advanced vault system made by Destro and version 1.5
the plugin i want to make is ranktop, something like that. i will try to explain, i have the following function: PHP Code:
i want these values to be displayed in motd just that... if i want that when... let's say a player write "/topmvp 300" in chat to display the entire top from 1 to 300 in motd format you already know what the problem would be, the maximum size of the buffer i can't display elements in motd larger than... i don't know exactly... 3072? sorry, i don't know exactly anymore both the html code and the values from the advanced vault are stored in that buffer and... you will realize that it will exceed the maximum size very quickly my question is, is there any possibility to display exorbitantly large elements in that motd ? and i mean by "exorbitant" in the pure sense. when i specified a top from 1 to 300 it was an example the initial value can easily exceed 2000 positions this method will not only help me with this "ranktop" but it will also help me with other projects that i haven't finished yet and have the same problem with max buffer size. if i'm not mistaken, someone else wanted something similar here, but the answers didn't give me a conclusive solution |
Re: Help buffer max string length on advanced valut by Destro
Simple set a task to show top10 results every interval length of time
|
Re: Help buffer max string length on advanced valut by Destro
Quote:
let me give another example for this function: PHP Code:
how could i make this buffer have a length greater than 3072 or the maximum length it supports. as i said above, i want the buffer to print at least from 1 to 300 a top in MOTD as i said above, this is just an example, the real top exceeds 2000 positions theoretically i want to print absolutely everything that exists in the top from 1 to the maximum value of the positions, it can be 100000+ but to display in motd Edit: e.g: for test_top_basic(id, 3000) will it still show me the mod ? and if not, how could i make to display the motd ? |
Re: Help buffer max string length on advanced valut by Destro
mate the motd is hard coded to 1536 chars so the solution is to show less or equal to 1536 chars per page.
|
Re: Help buffer max string length on advanced valut by Destro
Quote:
T/C please |
| All times are GMT -4. The time now is 20:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.