ArmyofDragons 28 Share Posted August 11, 2018 I find the "connecting to server" messages in the debug console / CMD very annoying in a consistent way. I normally debug my scripts using the "log" function provided in the API, but it is undermined by the fact that these "connecting to server messages / tabs messages" are spammed every second or so and it makes it hard to keep track of what the script is actually doing short-term or long-term. You could say, use onPaint to show everything! - yeah, no. That would take up too much space tbh, and get really convoluted. I am suggesting that there be an option in the debug menu tab of DreamBot to disable these messages from being logged/printed into the Debug Console. It's quite annoying and could be of good use by scripters. For example, if I have a script I ran for 2-3 hours or so, I want to look at the debug console as a scripter and know what has been printed to the Debug Console by the script, not by DreamBot connection messages. Link to comment Share on other sites More sharing options...
Hashtag 8699 Share Posted August 11, 2018 Spammed every second? Never has that happened to me. Link to comment Share on other sites More sharing options...
ArmyofDragons 28 Author Share Posted August 11, 2018 4 minutes ago, Hashtag said: Spammed every second? Never has that happened to me. I wasn't being literal...? That's besides the point: https://gyazo.com/6f4f6814320c4fd60ddbeaebd61b4920 Link to comment Share on other sites More sharing options...
Xephy 237 Share Posted August 11, 2018 8 minutes ago, ArmyofDragons said: I wasn't being literal...? That's besides the point: https://gyazo.com/6f4f6814320c4fd60ddbeaebd61b4920 If you're losing connection, or loading new tabs, what do you expect? If it doesn't for some reason connect, wouldn't you like to know that it's stopped on "Connecting to server"? Link to comment Share on other sites More sharing options...
ArmyofDragons 28 Author Share Posted August 11, 2018 14 minutes ago, Xephy said: If you're losing connection, or loading new tabs, what do you expect? If it doesn't for some reason connect, wouldn't you like to know that it's stopped on "Connecting to server"? That's why I suggested for there to be an option to not show. If I cared for connection statuses I could simply just select the option to show the issues with connections. Or a tab could be made specifically for DreamBot client logs, and one for script logs. If I was running a script for hours and wanted to see what happened as a "log" during that time, I prefer seeing that over "connecting to server" taking up all the space. I am suggesting for either a separate tab for it, or an option in the Settings to not show them based on preference of other people. Link to comment Share on other sites More sharing options...
Milasoft 202 Share Posted August 12, 2018 Try using the Logger class: Logger.setCommandLogging(false); Seems to disable all Dreambot client messages after you run it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.