Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #001023

  • 1 - Low

  • Confirmed

Issue Confirmations

  • Yes (0)No (0)
Photo

Script Command Getusersname Paging

Posted by Hercules Bot on 21 February 2008 - 02:57 PM

Originally posted by Ai4rei
http://www.eathena.w...er&showbug=1023

CODE
/*==========================================
* Works like @WHO - displays all online users names in window
*------------------------------------------*/
BUILDIN_FUNC(getusersname)
{
[...]
        if((disp_num++)%10==0)
            clif_scriptnext(sd,st->oid);
        clif_scriptmes(sd,st->oid,pl_sd->status.name);
[...]
}


Currently using this function generates a Next-button for every 10 players, but it does not regular paging (10 players, next, 10 players, next....) but displays all players at once and up-to 5 or more Next-buttons in the mes-window. I don't know if it's intended, but I doubt it.

Originally posted by mkbu95
Temporary fix (disabling the script_next thing) in [rev=16948].