Category: Chat Mods
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Shadowfaux's Portal Bug Reports Feature Requests
Author:
Version:
1.3.1
Date:
06-22-2009 12:33 AM
Size:
2.70 Kb
Downloads:
585
Favorites:
12
MD5:
Pictures
Because it needs one...
DILLIGAF V1.3
***I'm back and V2 is in the works since there were quite a few changes while i was gone. I aim to make it much better and more efficient than before and therefore i want people to tell me what they want me to do with it (remember to check the TODO list below first, and submit feature requests through the nice little button under the download button)***

DILLIGAF is an addon that scans system messages and npc yells for "is under attack" and "reinforcements are" and blocks it from showing them for a default of 3 minutes.

The addon now features a full array of slash commands:
/dilligaf addphrase x - adds phrase x to the list of messages not to show.
/dilligaf removephrase x - removes x from the list of blocked phrases.
/dilligaf timer x - sets the timer to reset after x (this won't accept anything else other than numbers in seconds)
/dilligaf show - sets whether or not you see the first occurrence or not.

These settings are saved over the whole account.


Known Bugs:
  • If something is added just before the timer resets and it's the only thing on the list, you will get 2 of them through, this only affect you if you set dDisplay to true.

ToDo:
  • Block spam on all channels.
  • Add feature to block NPC's through slash commands.
  • Fix my slash commands >< (and add new ones for these features)
  • Fix the SavedVariables issue this had before i left it.
  • Fix the known bug above.
  • Get feedback on anything else this addon needs... hint hint.
  Change Log - DILLIGAF V1.3
V1.3.1
- Fixed a typo in the main function.

V1.3
- Added slash commands and tidied the code up to minimise the memory usage.

V1.1
-Fixed an error that meant the code tried to remove a nil index in the table.

V1.2.5
-Fixed the error caused by forgetting quotation marks.

V1.2.7
-Tidied the code up and got it running smoothly again

V1.2.8
-Fixed the error of not blocking and now blocks wintergrasp yells.

V1.2.9
-Fixes error of not blocking properly.
  Optional Files - DILLIGAF V1.3
Sorry, there are currently no optional files available.
  Archived Versions - DILLIGAF V1.3
File Name
Version
Size
Author
Date
1.3
1kB
Shadowfaux
05-23-2009 10:26 AM
1.2.9
1kB
Shadowfaux
05-20-2009 04:10 AM
1.2.8
1kB
Shadowfaux
05-16-2009 09:30 PM
1.2.6
959B
Shadowfaux
05-07-2009 07:34 PM
1.2.7
1kB
Shadowfaux
04-30-2009 09:44 PM
1.2.5.1
1kB
Shadowfaux
04-30-2009 12:45 PM
1.2.5
3kB
Shadowfaux
04-30-2009 10:09 AM
1.2
2kB
Shadowfaux
04-26-2009 04:24 PM
1.1
2kB
Shadowfaux
02-25-2009 06:56 PM
1.0
2kB
Shadowfaux
02-24-2009 08:10 AM
  Comments - DILLIGAF V1.3
Post A Reply Comment Options
Old 07-29-2009, 02:17 PM  
Shadowfaux
A Defias Bandit
 
Shadowfaux's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 18
Uploads: 3
Borked majorly

Heads on on 2.0 progress:

-Working out all bugs one by one.
-Fixing slash commands to be more user friendly.
-Making it more polite to everyone ^^
__________________
When the going gets tough, the tough hide under the duvet.

Last edited by Shadowfaux : 11-02-2009 at 05:05 PM.
Shadowfaux is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-23-2009, 06:25 PM  
Shadowfaux
A Defias Bandit
 
Shadowfaux's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 18
Uploads: 3
Re: Re: 1.3.1

Yep, i just added headphones (badly). Just so you all know, i appear to have messed up 1.3.1 so 1.3.2 will be released later today, assuming Aggramar can get itself stable again ¬¬
__________________
When the going gets tough, the tough hide under the duvet.
Shadowfaux is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-22-2009, 12:37 PM  
jadakren
A Warpwood Thunder Caller
 
jadakren's Avatar
Interface Author - Click to view interfaces

Forum posts: 99
File comments: 112
Uploads: 2
Re: 1.3.1

Just in case anyone is wondering the icon shown here (the blue wolf, white background encased in a blue line border) is from the linux media player : Amarok

jadakren is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-22-2009, 12:38 AM  
Shadowfaux
A Defias Bandit
 
Shadowfaux's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 18
Uploads: 3
1.3.1

V1.3.1 is up, and fixes the really stupid mistake i'd made in 1.3.

Also fixes the problems with the show slash command.
__________________
When the going gets tough, the tough hide under the duvet.
Shadowfaux is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-20-2009, 04:12 AM  
Shadowfaux
A Defias Bandit
 
Shadowfaux's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 18
Uploads: 3
The XML hasn't been in for a while Alfuin, I had just messed up my booleans while coding so 1.2.9 fixes this. Expect 1.3 later today, once the servers are back up and I can test it out.
__________________
When the going gets tough, the tough hide under the duvet.
Shadowfaux is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-17-2009, 08:39 AM  
Alfuin
A Murloc Raider
 
Alfuin's Avatar
Interface Author - Click to view interfaces

Forum posts: 7
File comments: 41
Uploads: 4
FYI, you've forgotten to add the xml file in the zip. It's ok for those just updating your addon, but for those who are downloading it first time, it would not work.
Alfuin is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-17-2009, 01:05 AM  
tinyu
wowui.incgamers staff
Interface Author - Click to view interfaces

Forum posts: 344
File comments: 157
Uploads: 10
if you guys dont know what dilligaf means then follow this link http://www.youtube.com/watch?v=WxmUKVrT0iI sung by a great Aussie Comedian Kevin "Bloody" Wilson.
__________________

Lothaer
Admin @ wowui.incgamers.com
Titan Dev Team Member.
tinyu is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-15-2009, 03:31 PM  
Shadowfaux
A Defias Bandit
 
Shadowfaux's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 18
Uploads: 3
whoops

whoops! that's sorted now thought, dilligaf now blocks the wintergrasp yells as well, am still working on slash commands and the rest.
__________________
When the going gets tough, the tough hide under the duvet.
Shadowfaux is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-08-2009, 06:31 AM  
Banur
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 7
File comments: 104
Uploads: 2
Please put the addon files in an own folder before zipping.
a lazy adorer
Banur is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-03-2009, 08:16 PM  
Shadowfaux
A Defias Bandit
 
Shadowfaux's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 18
Uploads: 3
Thanks for bringing this to my attention alfuin, i'll get that sorted and redo the whole code so gimme a bit to do that.
__________________
When the going gets tough, the tough hide under the duvet.
Shadowfaux is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-01-2009, 05:00 AM  
Alfuin
A Murloc Raider
 
Alfuin's Avatar
Interface Author - Click to view interfaces

Forum posts: 7
File comments: 41
Uploads: 4
Error in Main Chunk?

Date: 2009-05-01 10:58:28
ID: 1
Error occured in: Global
Count: 1
Message: ..\FrameXML\ChatFrame.lua line 2517:
assertion failed!
Debug:
[C]: ?
[C]: assert()
..\FrameXML\ChatFrame.lua:2517: ChatFrame_AddMessageEventFilter()
Dilligaf\Dilligaf.lua:49: in main chunk
AddOns:
(Same as before)
Alfuin is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-30-2009, 05:20 PM  
Shadowfaux
A Defias Bandit
 
Shadowfaux's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 18
Uploads: 3
Been working on what you said Alf, and i'm almost ready to release v.1.3 complete with all slash commands so far requested.

Expect it before the end of the week.

**EDIT: And I give everyone their credit as well**
__________________
When the going gets tough, the tough hide under the duvet.

Last edited by Shadowfaux : 04-30-2009 at 05:20 PM.
Shadowfaux is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-30-2009, 10:51 AM  
Alfuin
A Murloc Raider
 
Alfuin's Avatar
Interface Author - Click to view interfaces

Forum posts: 7
File comments: 41
Uploads: 4
Aelobin and me did some work on your code, as it kept giving error in sysSpamFilter, and we got this code in the end. It will block any channel messages containing " is under atack!", not even showing the first one. That you have to work in using your other functions.

Code:
function sysSpamFilter(self,event,msg,...)
	for k,v in pairs(blockedPhraseTable) do
		if string.find(msg, v) then
			return true
		end
	end
	return false,msg,...
end
Works for me so far, but I hope to see it working as intended soonish. A possible TODO: Let user set if first message is shown, or blocked completely?

Alf
Alfuin is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-30-2009, 10:03 AM  
Shadowfaux
A Defias Bandit
 
Shadowfaux's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 18
Uploads: 3
Currently working on this error at the moment (don't think i've updated it here) i'll get that sorted and up as a minor update, working on the slash commands as you will have seen if you've looked at the lua.

**EDIT: Fixed that error now, expect slash command in 1.3**
__________________
When the going gets tough, the tough hide under the duvet.

Last edited by Shadowfaux : 04-30-2009 at 10:10 AM.
Shadowfaux is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-29-2009, 03:50 AM  
Alfuin
A Murloc Raider
 
Alfuin's Avatar
Interface Author - Click to view interfaces

Forum posts: 7
File comments: 41
Uploads: 4
Missing quote marks?

In version 1.2, is it not an error in line 17?

Code:
blockedPhraseTable = { is under attack!,}
I have not tested it because realms are down over here in the EU, but should is under attack! not be quoted?

Edit: Ok, servers up, I tested the code, and it did error on line 17. I edited the code, adding quotes around it, but then it spat out the following error:

Code:
Date: 2009-04-29 11:20:40
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Dilligaf\Dilligaf.lua line 34:
   bad argument #1 to 'find' (string expected, got table)
Debug:
   [C]: ?
   [C]: find()
   Dilligaf\Dilligaf.lua:34: filterFunc()
   WIM\WIM.lua:293: honorChatFrameEventFilter()
   WIM\Modules\ChatEngine.lua:920: CHAT_MSG_CHANNEL()
   WIM\Modules\ChatEngine.lua:875: handler()
   ...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:252:
      ...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:238
   ...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:291:
      ...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:279
AddOns:
  Swatter, v5.4.4157 (WallabyII)
  ACP, v3.1.0.17 
  AddFriend, v1.0a
  AdvancedTradeSkillWindow, v
  AFKFix, v2.0
  AFKWarning, v0.0.2
  BadBoy, v3.3.0.1
  BloodyScreen, v
  Cartographer, v2.0
  CartographerBattlegrounds, v2.0
  CartographerGroupColors, v2.0
  CartographerGuildPositions, v2.0
  CartographerInstanceLoot, v2.0
  CartographerInstanceMaps, v2.0
  CartographerInstanceNotes, v2.0
  CartographerLookNFeel, v2.0
  CartographerNotes, v2.0
  CartographerPOI, v2.0
  CartographerWaypoints, v2.0
  CartographerZoneInfo, v2.0
  ChatAliasLite, v3.00.00.01
  ChatMOD, v127
  CloseUp, v3.0.001
  CombatCursor, v1.0
  Combuctor, v2.1.0
  CombuctorScrap, v1.1
  CombuctorSets, v
  Dilligaf, v1.2
  EasyMail, v
  evlSpamFilter, v
  HatTrick, v3.0.1.1
  Kaching, v1.9
  LightHeaded, v274
  Livestock, v1.1.6
  Lore, v7.7.1
  MissingFriends, v09.04.13
  Moonshine, v1.0
  MyRolePlay, v3.0.50
  oGlow, v1.9
  Omen, v3.0.7
  QuestGuru, v1.0.2
  QuestGuruHistory, v1.0.1
  QuestGuruTracker, v1.0
  Redeemer, v
  Scrap, vBeta 4
  sct, v6.2
  SellSound, v2.4
  SkullAlertIcon, v2.0
  Stubby, v5.4.4157 (WallabyII)
  SwindlerPreventer, v3.0.9a
  tekticles, v3.0.9.9
  Titan, v4.2.1.30100 - Revision 234
  TitanAFKTimer, v1.1.0
  TitanBag, v4.2.1.30100
  TitanClock, v4.2.1.30100
  TitanCoords, v4.2.1.30100
  TitanGoldTracker, v4.2.1.30100
  TitanLootType, v4.2.1.30100
  TitanPerformance, v4.2.1.30100
  TitanRegen, v4.2.1.30100
  TitanRepair, v4.2.1.30100
  TitanSpeed, v3.0.003
  TitanVolume, v4.2.1.30100
  TitanXP, v4.2.1.30100
  TradeSecetaryWindowTeller, v30400-0.0.01
  WIM, v3.1.1
  (ck=630)
Any fix-up?

Last edited by Alfuin : 04-29-2009 at 05:24 AM.
Alfuin is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.