Forum

> > CS2D > Scripts > [Advanced Questiоn] UDP send-receive doesn't work
Forums overviewCS2D overview Scripts overviewLog in to reply

English [Advanced Questiоn] UDP send-receive doesn't work

4 replies
To the start Previous 1 Next To the start

old [Advanced Questiоn] UDP send-receive doesn't work

EngiN33R
Moderator Off Offline

Quote
Right, so I'm really new at this and this is probably gibberish network-wise and code-wise.

Still, I try to send via UDP datagrams the text of a message said by a player and then make all servers to which it is sent receive the datagram and print it out. As of now, the script doesn't work and sends CS2D into a repetition crash (induced by some kind of recursion, I think).

Code >

old Re: [Advanced Questiоn] UDP send-receive doesn't work

DC
Admin Off Offline

Quote
I don't know how this elib/gchat stuff works so I can't help. the only thing I can tell you is that you have to use another port for your UDP messages. don't use the server port. it will fail because CS2D itself (and not the Lua script) will then try to read the UDP messages and of course it will simply discard them because they have to have a certain structure to work.

old Re: [Advanced Questiоn] UDP send-receive doesn't work

VADemon
User Off Offline

Quote
@user DC:
Remote RCON Console command like in CSS (rcon_remote command ip:port)? But this would be a vulnerability so there should be also a remote rcon IP-whitelist

If there were this command anyone could connect many servers with eachother to a combined network.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview