mIRC Home    About    Download    Register    News    Help

Print Thread
/sockudp -k not working under 7.x #270079 27/03/22 01:18 AM
Joined: Oct 2017
Posts: 47
D
DooMaster Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Oct 2017
Posts: 47
Hello,

I've been trying to reproduce a /sockudp bug and finally after few hours i saw that is only working under 6.35 , probably here the /sockudp needs a -a flag (same as /bset)

Example:
Code
; execute this command including that event to reproduce the bug
//sockudp -k test 194.87.183.183 50008 $str($chr(255),4) $+ challenge rcon

ON *:UDPREAD:*: {
  var %test
  sockread -f %test

  echo -a IS: %test
}


laugh

Re: /sockudp -k not working under 7.x [Re: DooMaster] #270080 27/03/22 10:53 AM
Joined: Jan 2004
Posts: 1,805
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,805
We figured it out, need to use /bset -tac to put the string in without utf8 conversion, then can use

sockudp -k test ipv4address port &binvarname