Wx Minimap Indicator Removal do not work (r7941)

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
User avatar
ChrstphrR
Testers Team
Testers Team
Posts: 42
Joined: 09 May 2010, 17:30
Noob?: No
Location: Northern Alberta, Canada

Wx Minimap Indicator Removal do not work (r7941)

#1 Post by ChrstphrR »

Backgrounder:

Using Wx, and the Minimap display on.
My code is revision r7941, and it appears that the revisions newer than this don't deal with this issue.

Minimap indicators (the cute little coloured crosses that indicate an important location on the map), can be added on, and removed/cleared by a Guard NPC in just about every town. Clearing the minimap indicator crosses is NOT working in Wx.

Code: Select all

##
#  CR 2012/03/05
#
#  This pair of macros showcases a bug where the indicators put on the 
#  minimap are NOT cleared when macro UnLocProntera is called after 
#  macro LocProntera
#
#  This also makes a convenient test harness to partially test a fix.
#
##

### !WARNING!
###
### This first macro tends to spam the server, may cause disconnects
###

macro LocProntera {
	do ai manual
	#South Gate guard: "Guide#04prontera" at 160,29
	do move prontera @rand(146,165) @rand(27,43)
	#spam all locations
	#                    vv-- Tool shop
	#                       vv-- shops...                     vv- Prev
	do talknpc 160 29 r0 r0 r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r1 r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r3 n
}

macro UnLocProntera {
	do ai manual
	# South Gate guard: "Guide#04prontera" at 160,29
	do move prontera @rand(146,165) @rand(27,43)
	do talknpc 160 29 r2 r3 n
}

###
#
# Bugs:
#
# 1) minimap indicators are NOT removed when the minimap indicator 
#    packets are received by the client.  These indicators persist even
#    when a user tries to remove them by:
#    - using a Fly Wing (teleport to another part of the map)
#    - using a Butterfly Wing (teleport to your save point, and return
#      to the map where minimap indicators are shown.
#    - receiving a "remove minimap indicator" packet from the server
#    - closing the map using the "X" in the corner & reopening
#    - changing to an adjacent map
#    - using a Kafra warp to another town and returning to the map
#    - or using relog to sign back into the server
#
# 
# I did not try to exhaust any map caches (are there any?) by visiting
# dozens upon dozens of maps, and returning.  The only way I can see
# that removes the minimap indicators on the Wx map is to "quit" and
# re-start the client.
#
###

Locked