Greasy Fork is available in English.

HeroWarsHelper

Automation of actions for the game Hero Wars

< Feedback on HeroWarsHelper

Review: قالتىس - قوليازما ئىشلەيدۇ

§
يوللانغان ۋاقتى: 2026-02-07

It looks like the mail filter extension HWHLettersFilterExt is no longer working after the latest update v2.432. I had edited the script to exclude Brawls coins and it worked great so far, but yesterday when I went to Actions > Mail > Run, then refreshed the game, it had picked up the Brawls coins reward mails. Could you look into this? Thanks.

ZingerYئاپتور
§
يوللانغان ۋاقتى: 2026-02-09

The coins' ID has changed; it's now 1899000033.
It's possible it's now dynamic and will change with each new event.
I also heard that the trick of getting a chest for every letter no longer works, but I haven't verified this since I've never used it and don't see the point.

§
يوللانغان ۋاقتى: 2026-02-11

Thanks for the reply. I used the new ID in the script for heroes and titans (1899000037), and it worked! Let's hope it's not dynamic as you predict. Also, after the even ended, I tried the trick of getting the chest for every letter, and am glad to report that it still works. As someone who enjoys this "trick" immensely (we all have our weird reasons for why we play this game :-P ), I thank you for making it work again.

§
يوللانغان ۋاقتى: 2026-03-06

As expected, you were right about the coin ID becoming dynamic. Is there any way for me to determine the ID for every event without having to bother you in the comments? :-)

In other words, is there some console command I can use to grab the current Brawls coin ID? Thanks.

ZingerYئاپتور
§
يوللانغان ۋاقتى: 2026-03-08

You can do it like this:
currentBrawlCoinId = Object.keys(Object.values(lib.data.brawl.list).find(e => {
const current = new Date;
const start = new Date(e.startCondition.ymdDate?.value);
const end = new Date(e.endCondition.ymdDate?.value);
return current > start && current < end;
}).rewards.winReward.coin)[0]

§
يوللانغان ۋاقتى: 2026-03-08

Works great, thanks a lot! For anyone who's interested, the current brawls coin id is 1959000033. I'll update this thread with the new id for every subsequent brawls event.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.