• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Replay format and chat-based triggers

Status
Not open for further replies.
Level 3
Joined
Oct 13, 2012
Messages
28
Let's say player posts "-random" chat message with "team only" visibility to get a random hero in yet another Dota-like custom map.

AFAIK, replay file doesn't contain chat messages by enemy team members unless they posted message to all players or it is replay by bot.

I wonder how the game would reproduce fact that player randomed hero in replay saved by enemy team member?
 
http://w3g.deepnode.de/files/w3g_actions.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0x60 - Map trigger chat command (?) [ n bytes ] [APM-]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 dword - unknownA
1 dword - unknownB
n bytes - null terminated string (chat command or trigger name)

Note:
o unknownA == unknownB so far
It looks like the answer, but trigger may depend on user's chat message and now I'm not sure that replay doesn't contain foe's messages. Need to investigate it later.
 
The game only records chat messages that can execute a trigger. If you have triggers that look for chat messages that start with "hello", then the replay file will contain anything that starts with "hello". If you have a trigger that match on all strings, then your replay will contain effectively all chat by all players.

It's not possible to hide enemy messages while also making sure that chat triggers work for everyone.
 
Status
Not open for further replies.
Back
Top