#3199: JS chat(): messages are always send as if the host sent them
------------------------------------+-------------------------------------
 Reporter:  NoQ                     |             Owner:  Per
     Type:  bug                     |            Status:  new
 Priority:  normal                  |         Milestone:  unspecified
Component:  Engine: Scripting / AI  |           Version:  git/master
 Keywords:                          |        Blocked By:
 Blocking:                          |  Operating System:  All/Non-Specific
------------------------------------+-------------------------------------
 When i try to use the JavaScript chat() function in a skirmish AI,
 everything it says is being said by the host instead of the player
 controlled by the AI.

 How do i know? First of all, it appears on my display as "NoQ: blah-blah-
 blah" instead of the expected "Orange: blah-blah-blah". Also,
 '''eventChat''' catches these messages with "from" equal to me (usually 0)
 instead of the player who actually called the function.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/3199>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to