HandleChatMsg reordering

HandleChatMsg reordering

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
zenzike
Posts: 77
Joined: 12 Apr 2008, 13:19

HandleChatMsg reordering

Post by zenzike »

I'm building an AI that listens to the chat prompt, and acts accordingly. The problem I noticed was that the GlobalAI received the message before any of the players. Consequently, confirmation messages sent by the AI about the typed message were appearing before the message itself: it looked a bit like the AI was an oracle!

I've submitted a small patch in mantis that just puts AI handling of messages after that of players.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: HandleChatMsg reordering

Post by Forboding Angel »

godlike chatbot is godlike :-)
Post Reply

Return to “Engine”