It'll turn into an arms race. They make something new, we block it. They change it, we block it. They change it again, we block it.
500p
1-99
Gone!
Block Those Stars! |
||
Block those stars!
It'll turn into an arms race. They make something new, we block it. They change it, we block it. They change it again, we block it.
500p 1-99 Gone! Offline
Posts: 704
Great work @Masunasu!
Just a heads up something like this is already in the works. I got pissed last Tuesday at all the RMT shouts so I started working on one that'll be added to the launcher. I guess none of you guys are in the Windower discord or missed it.
For now though glad someone got something out. This could become a true blacklist (and True Blacklist isn't a bad name for an official addon) because you can add people's names. I friggin' hate when you zone (and I zone a lot because I'm always on the move and not standing around in town) and the blacklist doesn't load fast enough. Then, someone you have blacklisted gets a yell through. Then, my instincts kick in and I try to blacklist names that I already have blacklisted. The zoning crap just loads too slowly and RMT spam too often.
Asura.Aeonova said: » This could become a true blacklist (and True Blacklist isn't a bad name for an official addon) because you can add people's names. I friggin' hate when you zone (and I zone a lot because I'm always on the move and not standing around in town) and the blacklist doesn't load fast enough. Then, someone you have blacklisted gets a yell through. Then, my instincts kick in and I try to blacklist names that I already have blacklisted. The zoning crap just loads too slowly and RMT spam too often. Probably doesn't have anything to do with the "Spam Filter: Failed to update - BAD DATA" message I see for a moment every time I start the game. I was originally thinking all the RMT stuff I was seeing had something to do with that. Anyhoo, that's kind of headed off topic. Glad this simple fix works for what I was hoping for. I'm a little nervous when whatever you're working on goes official and RMT and JP selling bots will adjust. Oh well. Such is the nature of the beast.
"1-99" Blocks everything that says just 99 btw, not totally sure why
It also doesn't block "1" or "-" I bought 399 prize powders and it was blocked from chat lol, so if you bought like a stack of 99 arrows, you wouldn't see it... and possibly any and all combinations of 99k 99xx and x99 damage from melee/magic/ws If you manually try to buy x99 prize powder, you freeze the game, definitely a no-no Asura.Eiryl said: » "1-99" Blocks everything that says just 99 btw, not totally sure why Code 1%-99 - has a meaning in patterns (magical character) and you need to escape it. unlike most everything else that uses \ to escape in lua, magical characters use % Offline
Posts: 173
legit, please dont blist half the server for using the wrong word tho.
If I could block literally every single yell that isn't ambuscade/htb/omen/AMAN I would.
All the *** the idiots shout about is going bye-bye Don't care about your "new linkshell!" "I'm new I need a linkshell!" "ballista" "I need vagary" "I just server jumped from" "Buy dynamis clear?" It's this sort of stuff we're trying to solve on our end. If you don't opt in to adding this manually, it doesn't affect you. When it gets added to vanilla windower as an add-on, I'm sure you will be able to adjust what you want filtered.
It's... bad. This is a screenshot of a random 3 minutes and 20 seconds of Asura yelling (and this is even when I have people, that I know are also yelling, blacklisted like Uuux and Winsmom who both yell selling JP). Asura.Eiryl said: » "ballista" Offline
Posts: 704
Updated my post with the code on bottom of page 1.
Its a bit simpler, and added a bunch of rmt and spam words. Offline
Posts: 92
My 2 seconds of checking says that omode 2 should block shouts and 3 should block yells, could be wrong though.
So you can add (omode == 2 or omode == 3) as an additional logic layer to get your beloved King of Hearts back (but in all serious probably a good idea in general so you don't run into unintended issues like Eiryl's prize powder) Masunasu said: » My 2 seconds of checking says that omode 2 should block shouts and 3 should block yells, could be wrong though. So you can add (omode == 2 or omode == 3) as an additional logic layer to get your beloved King of Hearts back (but in all serious probably a good idea in general so you don't run into unintended issues like Eiryl's prize powder) Yep. Ended up finding a star issue in a place I had forgotten about. The removal of stars was going fine and dandy until I went to check my Monster Rearing in Mog Garden today. Of course, King of Hearts blathering can be ignored, but sadly, the monsters growth level is shown by both empty and full stars. When feeding and petting my animal, things were okay. When I went to check the growth rate, the game ended up hanging on me; locking me into being unable to be released from the interact. Womp womp. The obvious work-around is to not check the growth rate with this active. Only a few monsters need their growth checked when they start requiring expensive foods to evolve though. Otherwise, as long as you're taking care of them, they're always growing and they will evolve when they feel like it when conditions are met, the right food is applied, and the RNG decides they evolved. Edit: I guess I'll go back to allowing stars. I'll simply block terms RMT use like "code" and "HOT2019". I'll see what gets through then and adjust accordingly. Leviathan.Comeatmebro
Offline
If you do a byte comparison on the text portion of the incoming chat packet, instead of looking at incoming text, you can guarantee that you only block chat and don't interfere with anything else.
Here's a quick and dirty addon that's more like Masunasu's but actually only checks the incoming chat packet, has some modes added, and is easier to add other strings.
Code _addon.name = '***' _addon.version = '0.10' _addon.author = 'Chiaia (Asura)' _addon.commands = {'***','fo'} --Won't do anything atm. packets = require('packets') local blackListedUsers = T{'TotallyABotOne','TotallyABotTwo','TotallyABotThree',} -- Want to block all messages from X user then added there name(s) here. -- I could do a general digit check on JP instead of set 500/2100 values but atm I feel it's not needed. Will see if they change thier tactics. -- If you want to learn more about "Magical Characters" or Patterns in Lua: https://riptutorial.com/lua/example/20315/lua-pattern-matching local blackListedWords = T{string.char(0x81,0x99),string.char(0x81,0x9A),'1%-99','Job Point.*2100','Job Point.*500','JP.*2100','JP.*500','Capacity Point.*2100','Capacity Point.*500','CP.*2100','CP.*500',} -- First two are '☆' and '★' symbols. windower.register_event('incoming chunk', function(id,data) if id == 0x017 then -- 0x017 Is incoming chat. local chat = packets.parse('incoming', data) local cleaned = windower.convert_auto_trans(chat['Message']):lower() if blackListedUsers:contains(chat['Sender Name']) then -- Blocks any message from X user in any chat mode. return true elseif (chat['Mode'] == 3 or chat['Mode'] == 1 or chat['Mode'] == 26) then -- RMT checks in tell, shouts, and yells. Years ago they use to use tells to be more stealthy about gil selling. for k,v in ipairs(blackListedWords) do if cleaned:match(v:lower()) then return true end end end end end) Offline
Posts: 92
Thanks for refining, I hate releasing stuff I write to the general public since I usually just do it quick and dirty enough to cover my specific needs vs. apply to general cases (especially in this case since I'm not on Asura/not particularly bothered by yells).
Offline
Posts: 704
a yell with stars went through.
★address.c0m★ because there were no spaces before and after the stars? Quote: '★', '★,', Quote: local blackListedWords = T{string.char(0x81,0x99),string.char(0x81,0x9A), '1%-99', 'Job Point.*2100', 'Job Point.*500', 'JP.*2100', 'JP.*500', 'Capacity Point.*2100', 'Capacity Point.*500', 'CP.*2100', 'CP.*500', 'alexandrite', 'igxe', 'ballista', 'in pool', 'PL', '★', '★,', } using this for my blackListedWords, seems fine for past hour. not sure if this too much a hassle to add in but, to make this only active in /yell areas, could possibly add something like this. Quote: if world.area:contains("Adoulin", "Norg") then send_command('lua l luaname') Quote: if world.area:contains("Ronfaure", "Altepa") then send_command('lua u luaname') To avoid it interfering with trust/monster rearing/etc.. Theres a simpler way to list the areas between town and field, but idk that one. edit: it worked past 4hr. Offline
Posts: 218
i want your Babies ^^ *******
thx a lot Seriously... the people actively trying to block your spam because they don't want to see it really shouldn't be who you are adjusting your marketing /yells to show your scams to. You're just going to poke the bear and you don't want to poke the bear.
You just go about your basic yell spam and we won't work any harder to destroy you than we need to to remove you from our screens. Let the unwashed masses be subjected to your botting and thievery. Offline
Asura.Aeonova said: » You're just going to poke the bear and you don't want to poke the bear. YouTube Video Placeholder now if we could just filter then non ffxi related yells on asura
Just start blocking stupid keywords with the addon. It'll take a bit.
Double, just because... that didn't take long, new shout removed the stars. lul.
Add 'IGXE' and 'HOT2019' to line 12 Asura.Eiryl said: » Double, just because... that didn't take long, new shout removed the stars. lul. I added in other keywords such as "INSTANT", "f f x i s h o p" and other random ***that they have just to avoid that cos these RMT shouts will pick up on this forum without a doubt. Not had a single yell about Job points, buying gil for a while now and it's the greatest thing ever. Mostly just block their website name. How can they promote if it's blocked lol Asura.Shiraj said: » Asura.Eiryl said: » Double, just because... that didn't take long, new shout removed the stars. lul. I added in other keywords such as "INSTANT", "f f x i s h o p" and other random ***that they have just to avoid that cos these RMT shouts will pick up on this forum without a doubt. Not had a single yell about Job points, buying gil for a while now and it's the greatest thing ever. Mostly just block their website name. How can they promote if it's blocked lol It IS the greatest add-on ever. But there is a long battle ahead. look at f f x i s h o p You block that... but then ff x i s h o p f fx i s h o p f f xi s h o p f f x is h o p There are MANY combos that you will end up having to block... double spacing. double lettering. triple lettering. adding periods... underscores hyphens slashes carrots x's... it's far from over. I didn't title this thread 'Shattering Stars' and I feel kind of like past version of me let current version of me down.
Asura.Eiryl said: » Asura.Shiraj said: » Asura.Eiryl said: » Double, just because... that didn't take long, new shout removed the stars. lul. I added in other keywords such as "INSTANT", "f f x i s h o p" and other random ***that they have just to avoid that cos these RMT shouts will pick up on this forum without a doubt. Not had a single yell about Job points, buying gil for a while now and it's the greatest thing ever. Mostly just block their website name. How can they promote if it's blocked lol It IS the greatest add-on ever. But there is a long battle ahead. look at f f x i s h o p You block that... but then ff x i s h o p f fx i s h o p f f xi s h o p f f x is h o p There are MANY combos that you will end up having to block... double spacing. double lettering. triple lettering. adding periods... underscores hyphens slashes carrots x's... it's far from over. I already thought of stuff like that so i spent roughly like 30 minutes blocking every single one lmao, i maybe forgot a different combo, but it'll last a while i guess. |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|