User Tools

Site Tools



sense

This is an old revision of the document!


About

Sense is a raid-warnings and general triggers handler.

Sense handles several forms of detection including, chat, actions (id or name), and custom lua functions.
Sense can alert by sound with custom .mp3/.wav or text-to-speech output.
Sense can alert visually with a customizable HUD.
Sense can additionally react with custom lua, which allows access to any code the bot can execute, the possibilities are endless.

Addon Layout

The Sense addon contains the following folders:

  • bin
    • Holds executable files that MUST BE DOWNLOADED AND INSTALLED BY THE USER.
    • imagecreator.exe - this app turns text into images for use in the addon.
    • soundengine.exe - this app handles the playing of mp3/wav/text-to-speech.
  • images
    • Holds automatic and user-created images for use in the addon.
  • sounds
    • Holds custom user-created sound files.
  • profiles
    • Holds per-instance/limited-set timelines/triggers.
  • triggers
    • Holds universal/general triggers.

Timeline API

Sample: [code]

local profile = {

name = "A5S",
reset = "Advanced Clevering is no longer sealed",
start = "Advanced Clevering will be sealed off in 15",
started = 0,
timeline = {
	{ post = 5, sound = "Goes Big", main_image = "GOES BIG", helper_image = "", setvar = { name = "SENSE_TEST", value = 44, duration = 20, reset = 0} },
	{ post = 8, sound = "Gob jab", main_image = "GOBJAB", helper_image = "1ST HEADACHE STACK", runcode = "SendTextCommand('/echo GOBJAB')" },
	{ post = 12, sound = "Gob jab", main_image = "GOBJAB", helper_image = "2ND HEADACHE STACK" },
	{ post = 16, sound = "Gob jab", main_image = "GOBJAB", helper_image = "3RD HEADACHE STACK" },
	{ post = 20, sound = "Gob jab", main_image = "GOBJAB", helper_image = "4TH HEADACHE STACK, SWITCH TANKS" },
	{ post = 25, sound = "Buster", main_image = "TANK BUSTER", helper_image = "GOBCUT (STACK) OR GOBSTRAIGHT (TANK)" },
	{ post = 34, sound = "Prey", main_image = "PREY", helper_image = "ONE PLAYER WILL GET MARKED BY PREY" },
	{ post = 41, sound = "Charge", main_image = "CHARGE", helper_image = "" },
	
	{ post = 50, sound = "Goes Small", sync = "loses the effect of Bigbulge Biggerbrain", windowopen = 0, windowclose = 50, main_image = "GOES SMALL", helper_image = "" },
	{ post = 50, sound = "Glupgloop Mark 1", main_image = "GLUPGLOOP MARK", helper_image = "AOE LANDING IN 7 SECONDS" },
	{ post = 60, sound = "Glupgloop Mark 2", main_image = "GLUPGLOOP MARK", helper_image = "AOE LANDING IN 7 SECONDS" },
	
	{ post = 68, sound = "2 Snakes", main_image = "ADDS => 2 SNAKES", helper_image = "" },
	{ post = 77, sound = "Steel Scales", main_image = "STEEL SCALES", helper_image = "" },
	{ post = 84, sound = "Shock Therapy", main_image = "SHOCK THERAPY", helper_image = "RAID-WIDE AOE" },
	{ post = 93, sound = "Cleanse Poison", main_image = "CLEANSE POISON", helper_image = "GET 1 GORILLA" },
	{ post = 98, sound = "Get Away From Spikey", main_image = "GET AWAY FROM SPIKEY", helper_image = "1 SPIKEY, 2 SMARTBOMB" },
	
	{ post = 119, sound = "Goes Big", sync = "uses Guzzle", windowopen = 50, windowclose = 0, main_image = "GOES BIG", helper_image = "USED GUZZLE, BIG MODE" },
	{ post = 125, sound = "Bird Time", main_image = "BIRD TIME", helper_image = "" },
	
	{ post = 126, sound = "Diagonal Bombs", main_image = "DIAGONAL BOMBS", helper_image = "" },
	{ post = 141, sound = "Prey", main_image = "PREY", helper_image = "ONE PLAYER WILL GET MARKED BY PREY" },
	{ post = 148, sound = "Charge", main_image = "CHARGE", helper_image = "" },
	{ post = 154, sound = "Gobhook", main_image = "GOBHOOK", helper_image = "NEAREST HEALER TARGETED, GET BEHIND BOSS" },
}, 
      triggers = {
      
      },

} return profile [code]

Trigger API

sense.1476199049.txt.gz · Last modified: 2016/10/11 15:17 by ace