PDA

View Full Version : Script That Creates a Channel or HUD for Raids



dekodertronic
02-05-2016, 04:56 AM
Howdy, I recently started using the script for recently received private messages, from the examples section. I love it. I thought why doesn't there exist a script for Raid alerts.

Can we perhaps have a script that shows you the local time stamp, and raid message along with it, for the last 4 raid messages?

If this already exists, can I please be redirected to it. Thanks fellas! Much love.

germanzel
02-05-2016, 06:49 AM
Good idea, buumb


PS.
U can give me script for recently received private messages?

dekodertronic
02-05-2016, 07:11 AM
if you go to your scripter, and click examples, it will be in that folder

dekodertronic
02-05-2016, 11:13 PM
bump.

kamilqq
02-06-2016, 01:40 AM
bump.

Not sure if we can get message from proxy like that, if we can its possible and not that hard.

dekodertronic
02-06-2016, 07:30 AM
Not sure if we can get message from proxy like that, if we can its possible and not that hard.

It seems that my request has fallen on deaf ears, or some people refuse to spread a script like that, which would perhaps infringe on their earnings. :P

Jontor
02-06-2016, 09:16 AM
Generic Text Message proxy should be able to get these, but you need to sort them, so you don't get spammed with shit
Feel free to share a full list of raid messages

kamilqq
02-06-2016, 02:13 PM
Generic Text Message proxy should be able to get these, but you need to sort them, so you don't get spammed with shit
Feel free to share a full list of raid messages

Ye, when you get raid meesages you need post it here, and some1 will make it :)

dekodertronic
02-06-2016, 05:19 PM
00:00: Unknown ships are sighted south of Liberty Bay.
00:04: The ships that approach Liberty Bay from the south have raised the pirate flag! Hide or grab your weapons to fight.
00:08: Pirates are launching an attack on Liberty Bay! Hide or fight.
00:00: Pirates are launching a surprise attack on Liberty Bay! Take care, they seem to be everywhere.
00:10: Pirates have invaded the fortress.
00:00: Sails sighted northwest of Liberty Bay.
00:05: Pirates are attacking the plantations of Liberty Bay.

dekodertronic
02-06-2016, 06:34 PM
Generic Text Message proxy should be able to get these, but you need to sort them, so you don't get spammed with shit
Feel free to share a full list of raid messages

posted

dekodertronic
02-08-2016, 08:28 PM
bump.

Hetcolt
02-09-2016, 01:56 AM
/////GHAZBARAN/////
-------------------------
00:00: An ancient evil is awakening in the mines beneath Hrodmir.
00:10: Demonic entities are entering the mortal realm in the Hrodmir mines.
00:20: The demonic master has revealed itself in the mines of Hrodmir.

/////MORGAROTH/////
-------------------------
00:00: The ancient volcano on Goroma slowly becomes active once again.
00:06: There is an evil presence at the volcano of Goroma.
00:12: Evil Cultists have called an ancient evil into the volcano on Goroma. Beware of its power mortals.

/////FERUMBRAS/////
-------------------------
00:00: The seals on Ferumbras old cidatel are glowing. Prepare for HIS return mortals.
00:10: Ferumbras return is at hand. The Edron Academy calls for Heroes to fight that evil.
00:20: Ferumbras has returned to his citadel once more. Stop him before its too late.


/////ORSHABAAL/////
-------------------------
00:00: Orshabaal's minions are working on his return to the World. LEAVE Edron at once, mortals.
00:03: Orshabaal is about to make his way into the mortal realm. Run for your lives!
00:06: Orshabaal has been summoned from hell to plague the lands of mortals again.

Luls
02-09-2016, 05:06 AM
http://tibia.wikia.com/wiki/Raids

Pretty sure that has every raid message.

Proteus
02-10-2016, 01:59 AM
bump.

I threw this together quick, give it a shot I think it can do what you'd like:



blockedMessages = {"New mail has arrived.",

}

local channel = Channel.New("Raid Messages", onSpeak, onClose)
GenericTextMessageProxy.OnReceive("GenProxy", function (proxy, message)
x = string.match(message, "(%d+)")
if tonumber(x) == nil and not table.contains(blockedMessages, message) then
channel:SendOrangeMessage("Raid Catcher", message)
end
end)

function onClose(channel)
print(channel .. " was closed.")
end




It reads your messages and separates what has a number in it and what doesn't (from what I've seen, most raid messages don't have a number in it so it's a decent filter)

If you see some random messages getting through, add it to the blocked list and they wont enter the channel anymore :)

Let me know if it works well for yah ^^

dekodertronic
02-10-2016, 06:05 AM
Thanks playboy you are a champ!



I threw this together quick, give it a shot I think it can do what you'd like:



blockedMessages = {"New mail has arrived.",

}

local channel = Channel.New("Raid Messages", onSpeak, onClose)
GenericTextMessageProxy.OnReceive("GenProxy", function (proxy, message)
x = string.match(message, "(%d+)")
if tonumber(x) == nil and not table.contains(blockedMessages, message) then
channel:SendOrangeMessage("Raid Catcher", message)
end
end)

function onClose(channel)
print(channel .. " was closed.")
end




It reads your messages and separates what has a number in it and what doesn't (from what I've seen, most raid messages don't have a number in it so it's a decent filter)

If you see some random messages getting through, add it to the blocked list and they wont enter the channel anymore :)

Let me know if it works well for yah ^^

Proteus
02-10-2016, 04:03 PM
Thanks playboy you are a champ!

Haha anytime glad to help!