Jump to content

1 Screenshot

About This File

This script shows a list of all GMs with their corresponding status (i.e. online or offline).

You can configure the script to show or hide the last login time of each GM.

As a special feature, the result is cached for a certain amount of time if you wish (see inline configuration, by default caching for 30 seconds is enabled). This prevents players from spamming the database with SELECT queries.

Version 2.0 comes with a source modification to show the group name the GM is in and the option to show the list directly in the user's chat (dispbottom) rather than the NPC dialogue.

Special thanks to Akinari for helping me with the script command and Armor for requesting this feature.

Instructions

To get version 2.0 working, you need to patch your src/map/script.c file with the "groupid.diff" and recompile.

To apply the patch use

patch -p0 < /location/to/the/groupid.diff

from your rAthena directory root.

If you use Windows and TortoiseSVN, you have to right click into your rAthena directory root, select "TortoiseSVN -> Apply Patch" and select the patch file. Click "patch all items" and you're done.

If you do not want to change your source for this, you can remove all occurences of "groupIdToName" inside the script to deactivate the automatic group name display.


What's New in Version 2.1   See changelog

Released

  • 1.0: Initial release
  • 2.0: added group name and dispbottom option
  • 2.1: fixed bug with last online time

×
×
  • Create New...