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
|