I have following botnet
[||||]-[2]
|-+FriendsTrivia
`-+[||||]
The hub only ([||||]-[2]) has all the time problems with Invalid idx:
[13:05] Tcl error [nb_svconnect]: invalid idx
[13:04] Tcl error [nb_gotcmd]: invalid idx
I noticed it happens when [||||]-[2] tries to send any response to other bots. Whenever I do .netinfo on the other bots this error occurs and [||||]-[2] is not showing in the other bots as a result.
Here is config:
Tcl version: 8.3.4 (header version 8.3.4)
Linux 2.4.18-5
[||||]-[2] v4.09 extras, mass, netbots
(btw while I .netinfo on [||||]-[2] I get the info only from it and following msg: [13:25] Tcl error [nb_dccnetinfo]: no value given for parameter "idx" to "list")
Something odd is happening with idxs on that particular bot. Disabling a few things on [||||]-[2] might help to find the problem. First, set nb_cmdcast to 0 if it's not already, and see if the problems still occur. If they do, go a step further and set nb_broadcast to "". Let me know what happens. If the errors still occur, keep the settings disabled and we can work from there.
We'll start by looking at .netinfo. You'll need to edit a section in netbots.tcl. In the proc "nb_dccnetinfo", find the code below, which is near the bottom of the proc: