*mes
sometimes you want to display a long long array list of objects,
for example print out all values from a table
this will throw infinite loop ERROR
the reason is because the script engine has some protection against infinite loop check
conf\map\script.conf
even if you put a *freeloop there, it might still lag the server
in this case, its better to just display page by page
if the *query_sql still cause lag, have to use OFFSET
and this is with page input for your amusement :)
*select
same as above
this will throw infinity loop ERROR
even if you put a LIMIT syntax
this will throw menu length too long / too many options ERROR
this is because the maximum limit of menu length in string (eg: *getstrlen) is 2047
and the maximum limit of menu options is 254
src\map\script.h
and I don't recommend changing this, as you also have to change the packet structure etc ...
so the only way to remedy this ... is again ... page by page
if the query_sql still cause lag, have to use OFFSET
and the page select display for your amusement :)
External Links:
Help - Array in menu
Monday, November 2, 2020
Page by page
Subscribe to:
Post Comments (Atom)
Linux compiler error that never shown on Visual Studio
let's just admit Visual Studio sux ... ok ? right now, if you want to host a Private Ragnarok Online server, its just better to choose...
-
Ever since Hercules forked from rAthena since Jan 2013, Hercules has driven further away from its rAthena parent, many systems and feature...
-
conf\grf-files.txt //----------------------------------------- // GRF Files // Add as many as needed. //------------------------------------...
-
Useful Scripting Guides Shuffle Algorithm Sorting Algorithm What is the difference between .@i++ and ++.@i ? A simple walking npc scri...
Nice!, Thank you Annie :D
ReplyDeleteu saved my hairs from falling off
ReplyDeletenice knowlage about errors/warning and there effect
ReplyDelete