• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN [BUG?] getIP() not consistent

Status
Not open for further replies.

Ofir Gal

Member
Hey, for some reason getIP() after awhile returns empty IP, after I restart the bot everything is normal.

Im using the last version of the sinusbot at Debian 7.

The bot have those permissions:
b_client_ignore_antiflood
b_client_info_view
b_client_remoteaddress_view
b_virtualserver_client_list

Any ideas?

Bug Example:
Code:
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] Clients Length:13
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] sabres -
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] ASAM KASAM - 31.xxx.185.xxx
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] Filsdepute - 79.xxx.75.xxx
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] B00steed (music) -
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] Sugar - 31.xxx.185.xxx
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] eden -
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] Ofir (Music) -
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] sasoN1 -
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] yoniz1 -
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] Ofir - 5.xxx.227.xxx
2016/11/08 12:42:09 1bd48a85 2d8b98b8 PLUGIN [ofircommands] B00steed -

After Bot Restart:
Code:
2016/11/08 12:48:59 1bd48a85 2d8b98b8 PLUGIN [ofircommands] Clients Length:13
2016/11/08 12:48:59 1bd48a85 2d8b98b8 PLUGIN [ofircommands] eden - 109.xxx.67.xxx
2016/11/08 12:48:59 1bd48a85 2d8b98b8 PLUGIN [ofircommands] yoniz1 - 84.xxx.186.xxx
2016/11/08 12:48:59 1bd48a85 2d8b98b8 PLUGIN [ofircommands] Ofir - 5.xxx.227.xxx

As you can see the bot could retunr the IPs' of eden and yoniz but before it couldn't, the bot stops the loop when it finds the target ip this is why in the second example you can't see all the clients. (I would change that if needed.)
 
Status
Not open for further replies.
Top