gc8 968 Posted November 15, 2017 Hi I'm learning to do some network programming with remoteExecCall but I ran to weird issue. What I'm doing is that I have call like this to the server: remoteExecCall["updateEquipmentList", 2]; and in the updateEquipmentList function I call player sidechat "TEST" to see if the function gets called properly. the wierd thing is I get no sidechat message... I put there diag_log too which works but the sidechat doesnt. why? I would understand sidechat not working when dedicated server but I'm running in multiplayer mode from the editor. I also tried this to get back to the client and use sidechat but it's not working: _print remoteExecCall ["printDebug", 3]; printDebug = { diag_log format["_this %1 %2",player, _this]; player sidechat _this; }; again diag_log works but not sidechat. anyone know why? thanks! Share this post Link to post Share on other sites
pokertour 30 Posted November 15, 2017 hi, can you try with : player sidechat format ["%1", _this]; Share this post Link to post Share on other sites
gc8 968 Posted November 15, 2017 1 minute ago, pokertour said: hi, can you try with : player sidechat format ["%1", _this]; that works! strange.. but thanks. Share this post Link to post Share on other sites
pokertour 30 Posted November 15, 2017 for sidechat command, your variable (here : _this) should be a string. take a look at https://community.bistudio.com/wiki/sideChat Share this post Link to post Share on other sites
gc8 968 Posted November 15, 2017 actually that was not it.. the sidechat started working again like it was originally meant to work. I dont know what caused it to stop working. but it works now. Share this post Link to post Share on other sites
Tajin 348 Posted November 15, 2017 Are you maybe testing your mission in singleplayer? Chat commands do not work there. Share this post Link to post Share on other sites
gc8 968 Posted November 15, 2017 6 minutes ago, Tajin said: Are you maybe testing your mission in singleplayer? Chat commands do not work there. you mean in multiplayer? I just tested my mission in multiplayer (started from the editor) and sidechat worked. Share this post Link to post Share on other sites
Tajin 348 Posted November 15, 2017 Default option for testing in the editor is singleplayer. So it may easily be that you forgot to switch it to MP when you tested it. In that case the sidechat command would not work. Share this post Link to post Share on other sites
gc8 968 Posted November 15, 2017 sidechat works now in both SP and MP, I tested. no clue what went wrong earlier. 1 Share this post Link to post Share on other sites