Anti Spam Script Command - Blinking Calendar

90 Human Warrior
7690
Hi guys,

I need a little help with the API of the ingame calendar. I am not a crack with script commands, but i got an idea what it should do and what is possible.

At the moment goldspammers are opening calendar events and seem to use a date which can not be displayed with the normal UI (shows 1 year max). Meaning the minimap button will continously keep blinking, due to open invites.

It should be possible to read out that time and delete the event with API commands:

http://www.wowwiki.com/World_of_Warcraft_API <- Go to "Calendar"

I think what we need is:

CalendarContextGetEventIndex()

/script print(CalendarContextGetEventIndex())

But iam getting only "0 0 0" and once i got the pring 1 25 1 (had a test event for 25.3.2010).

This declines the current opened event

/script CalendarEventDecline()

Can't get it to work together though, need help.


Regards Grimgo
Edited by Grimgorath on 22/03/2011 13:13 GMT
Reply Quote
90 Blood Elf Hunter
11595
Yes since a few month there is a lot of golder spam in calendar
perhapps a patch can fix this
Reply Quote
90 Human Warrior
7690
a patch can't fix that ppl keep visiting phishing site and don't know jack about account security ^^
Reply Quote
90 Human Warrior
7690
Rilgana just msged me a workaround:

/run CalendarSetMonth(1)

Will set to next month beyond the normal display limit. So you could at least remove any future events manually.

Still working on autoamtic solution though
Reply Quote
90 Human Warrior
7690
Solution:

/run for i=0,99 do for y=1,31 do t,_,_,_,_,_,_,_,_,iB =CalendarGetDayEvent(i,y,1) if iB=="" or t=="TITEL" then CalendarContextInviteRemove(i,y,1) end end end

i=0,99 - looks forward for 99 months (i personnally had an event for 2018
y=1,31 every month has max 31 days

t= name of the event
iB= name of the event creator ("" means nothing, like in he left or char was deleted, not nil)

Change "Title" to the current common event name the spammers use for german realms the simply say "Hello"

This macro should delete any events that either have no leader (char deleted or removed from calendar) OR any invites with the given title.


Thanks goes to the ppl in this thread:

<a href="http://eu.battle.net/wow/de/forum/topic/1874670592?page=1#10">http://eu.battle.net/wow/de/forum/topic/1874670592?page=1#10</a>
Edited by Grimgorath on 23/03/2011 09:53 GMT
Reply Quote
90 Blood Elf Paladin
12735
22/03/2011 1:30 PMPosted by Grimgorath
a patch can't fix that ppl keep visiting phishing site and don't know jack about account security ^^


That is unrelated to calendar invites....
Reply Quote
In this case it would be more preferable with more optional filters being added to the game. For example in case of the calendar an option could be added in interface that a person (A) can't be invited by another person (B) unless the first (A) has the second (B) on friends list or is part of the same guild.

Optionally a less restrictive solution would be to extend the friends list limitation to "Friend of a friend" to allow for some new interaction.

Same could be added to whispers (Something some mages would appreciate as they can't enter a city without the portal vultures being all over you).
Reply Quote

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Forums Code of Conduct

Report Post # written by

Reason
Explain (256 characters max)
Submit Cancel

Reported!

[Close]