ianobermiller / tibiatekbot

Automatically exported from code.google.com/p/tibiatekbot
3 stars 0 forks source link

Limited Multi-Floor Checking for the Battlelist Alarm #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reason: players might be runemaking/manasitting at high places, they want
to know if anyone climbs up their way, but not if anyone passes by the
first floor or other floors.

Example: if the player is on the 4th or higher floor and wants the alarm to
fire ONLY IF another player is on the: 2nd floor, 3rd floor (below) AND OR
5th floor or 6th floor (above). He would want to limit the multi-floor
checking value to only 2 floors below AND OR above.

Refer to the following scheme:
The battlelist alarm with multi-floor checking value of 2 floors will fire
ONLY if there's an entity on the asterisk marked floors.
{{{
7 floor >= Ignored
6 floor *
5 floor *
4th floor = Player *
3 floor *
2 floor *
First Floor <= Ignored
}}}

Original issue reported on code.google.com by genoso...@gmail.com on 23 Nov 2007 at 5:57

GoogleCodeExporter commented 9 years ago
Referring to Multi-Floor checking, an algorithm can check if a message is 
received
from a another player that is not on the screen and filter messages that are 
sent by
those players.

Reason: this resolves the problem of the player character being at a secure 
location
while also being close to depots or other crowded places, at which places people
yell, usually selling stuff, but users should be able to ignore those yells 
because
they do not pose a threat to the player character. This will make the Alarm 
even more
precise when it comes to ringing.

Original comment by genoso...@gmail.com on 25 Nov 2007 at 3:03