• Welcome to Valhalla Legends Archive.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - coin3d

#1
You guys are absolutely right, I just tested it - if you send a message, then the message will be sent to each player. But what I still don't understand is:

How can a message be sent to someone, who has no related WC3 (e.g. 6112) port opened? And how does Warcraft get the IP adresses from each player?
#2
Hello everybody,

I'm trying to send a chat message via a socket into the chat of a custom game. Therefore I joined the private game of a friend and sniffed a chat package with wireshark, which contained the message "abc":

0xf7, 0x28, 0x0c, 0x00, 0x01, 0x01, 0x02, 0x10, 0x61, 0x62, 0x63, 0x00

Afterwards I created a new game for myself, created a socket in my python script and sent a join packet - and, finally the chat message packet, which worked perfectly. But when I tried to point the script to my friend's ip, the bot just joined and left the channel without saying "abc" - after I left the game, and started the script again, the bot joint the game and sent my friend "abc", but then ONLY to my friend.

To cut a long story short: Has anybody experience with chat messages in custom games, and could help me out? What am I doing wrong?

Thanks!