to get it working
in irconline.php
find
PHP Code:
$vbulletin->clean_gpc_array
and change to
PHP Code:
/*
$vbulletin->clean_gpc_array
*/
then upload the file again
then in the mirc file ircon_rm.txt find this
Code:
on *:sockopen:vbusers:{
sockwrite -n $sockname POST %vbfilepath HTTP/1.1
sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
sockwrite -n $sockname Host: %vbserver
sockwrite -n $sockname Connection: close
sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
sockwrite -n $sockname Content-Length: %socksize
sockwrite -n $sockname $crlf
sockwrite -t $sockname %sockstring
if (%ops) sockwrite -t $sockname %ops
if (%halfops) sockwrite -t $sockname %halfops
if (%voiced) sockwrite -t $sockname %voiced
if (%users) sockwrite -t $sockname %users
}
and change to this
Code:
on *:sockopen:vbusers:{
sockwrite -n $sockname POST %vbfilepath HTTP/1.1
sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
sockwrite -n $sockname Host: %vbserver
sockwrite -n $sockname Connection: close
sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
sockwrite -n $sockname Content-Length: %socksize
sockwrite -n $sockname $crlf
sockwrite -t $sockname %sockstring
if (%ops) sockwrite -t $sockname %ops
if (%halfops) sockwrite -t $sockname %halfops
if (%voiced) sockwrite -t $sockname %voiced
if (%users) sockwrite -t $sockname %users
sockclose $sockname
}
then find this
Code:
on *:sockopen:vbmisc:{
sockwrite -n $sockname POST %vbfilepath HTTP/1.1
sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
sockwrite -n $sockname Host: %vbserver
sockwrite -n $sockname Connection: close
sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
sockwrite -n $sockname Content-Length: $len(%sockstring)
sockwrite -n $sockname $crlf
sockwrite -t $sockname %sockstring
}
and change to this
Code:
on *:sockopen:vbmisc:{
sockwrite -n $sockname POST %vbfilepath HTTP/1.1
sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
sockwrite -n $sockname Host: %vbserver
sockwrite -n $sockname Connection: close
sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
sockwrite -n $sockname Content-Length: $len(%sockstring)
sockwrite -n $sockname $crlf
sockwrite -t $sockname %sockstring
sockclose $sockname
}
and save
and all should work fine again and stop the sock errors
I hope this helps everyone as it fixed it for me
you can view it working
HERE
what was happening is the sock was staying open for some reason so adding the sockclose after stops the error
because its after all the rest it does the sock open and sends the info then closes the sock straight away
If you need any more info on sockets give me a shout