Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Is there a way to send LuaUI commands interactively?

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
9/8/2022 7:29:22 PMILrankrollmops before revert after revert
9/8/2022 7:26:01 PMILrankrollmops before revert after revert
Before After
1 Thanks, @Sprung, this works! Where did I need to look to find this calllin? It isn't in https://springrts. com/wiki/Lua:Callins. 1 Thanks, @Sprung, this works! Where did I need to look to find widget:TextCommand calllin? It isn't in https://springrts. com/wiki/Lua:Callins.
2 \n 2 \n
3 \n 3 \n
4 @Anarchid, regarding [q]Typically it's pipe-separated values after a prefix. It very definitely is not binary and doesn't even look like that.[/q] 4 @Anarchid, regarding [q]Typically it's pipe-separated values after a prefix. It very definitely is not binary and doesn't even look like that.[/q]
5 \n 5 \n
6 Okay, binary is probably wrong term, but when I run {{{function widget:RecvLuaMsg(msg, playerID) 6 Okay, binary is probably wrong term, but when I run {{{function widget:RecvLuaMsg(msg, playerID)
7 Echo( "msg: " .. msg .. ", player: " .. playerID) 7 Echo( "msg: " .. msg .. ", player: " .. playerID)
8 end}}} 8 end}}}
9 in the debug console and in the infolog I get things like {{{msg: %0� 9 in the debug console and in the infolog I get things like {{{msg: %0�
10 �� 10 ��
11 �,player:0}}} 11 �,player:0}}}
12 Tried chardet -> iconv with no success. 12 Tried chardet -> iconv with no success.
13 \n 13 \n