HerculesWS / Hercules

Hercules is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.
http://herc.ws
GNU General Public License v3.0
900 stars 758 forks source link

@recallall suggestion #203

Open Streusel opened 11 years ago

Streusel commented 11 years ago

Either, modify @recallall or create a new command such as @recallmost. The purpose of the new or modified command would be to disregard venders (buyer & seller) and chat room operators/users, possibly also users that are currently in a NPC chat as they might else get stuck when used during a quest, and teleport/warp everyone else to the person who used the command.

kisuka commented 11 years ago

Should it warp idle players or ignore them as well only warping active players?

Streusel commented 11 years ago

That's a good question, and I thought of that while I was writing the above, however "idle" would have to be defined by the owner, if added, my proposition would be to make the default 5 minutes. However then again my other concern is the load it takes to iterate through each player and check the conditions.

kisuka commented 11 years ago

Idle can be determined by using checkidle(), see this commit: https://github.com/HerculesWS/Hercules/commit/e08c05a0f73d6e6ea4fe64a9b91291bc0a002251

MrKeiKun commented 11 years ago

i already got this one over mine i think im going to create a PR of it