Author | Message | Time |
---|---|---|
oldskooldrew | What is the consensus on what bot programmers prefer on how to do settings changes? What is it for users? Is a mix of both preffered? - Conducting a study to find the best way to continue on with my bots user settings/configuration changes. -Edit: By command line i mean by doing (i.e. "/setpass blah") instead of using a form and a text box etc.. | September 7, 2004, 2:52 AM |
Arta | A GUI is certainly easier, but a command-line is nice for quick changes. I'd say it's best to have both. | September 7, 2004, 8:19 AM |
LordNevar | I would have to agree, but I wouldn't recommend it for actual commands in the bot, could cause problems with access controls. GUI is definately a nice way to go for the bot newbie, and inbot cmds is handy for advanced bot users, and for people to learn in the future if they don't already know. | September 7, 2004, 12:30 PM |
iago | Commandline with detachable gui (the gui makes a tcp connection locally). | September 7, 2004, 12:33 PM |
K | no interface with various plugins providing console / gui / web interfaces. | September 7, 2004, 9:09 PM |
hismajesty | console (or no gui) for moderation bots. For chat bots I prefer a standard gui. | September 7, 2004, 9:39 PM |
kamakazie | Funny how this thread has gravitated from whether to use a gui or command line for configuration settings to and overall view of how a bot should be. I would recommend implementation of both. GUIs are nice if done correctly and command-line is useful when it comes to scripts and quick changes in the configuration. | September 7, 2004, 10:14 PM |
LW-Falcon | [quote author=(V)eh link=board=17;threadid=8580;start=0#msg79280 date=1094595421] Didnt Feanors Firebot go into Moderation mode by taking away chat screen etc and go to command driven? [/quote] The old one did. | September 8, 2004, 12:15 AM |
Skywing | I support both in BC, though there are still a few rarely used things that can only be set through the command line. | September 8, 2004, 3:21 AM |
oldskooldrew | What about all command line? or no GUI AT ALL, meaning using a console in vb? Would using a console bring resource usage down, and maybe better for moderation/stability? | September 9, 2004, 12:22 AM |
Kp | [quote author=oldskooldrew link=board=17;threadid=8580;start=0#msg79391 date=1094689378]What about all command line? or no GUI AT ALL, meaning using a console in vb? Would using a console bring resource usage down, and maybe better for moderation/stability?[/quote] If you're at all concerned about performance, you really shouldn't be using VB. It's intended for rapid creation, not rapid execution. Now that the obligatory VB bashing is out of the way: * Using a console in VB is just silly; if you don't want a graphical interface, why use a language that puts lots of effort into letting you easily have a graphical interface? * Using a console could require fewer resources than a GUI, depending on how the console is configured (amount of scrollback) vs. complexity of your GUI. I'd guess in most cases you'd use fewer resources. * Better for moderation/stability: that's just silly. Your GUI is the last thing you should be worrying about stability on. :P As for moderation, there's really no point having a fancy interface on a client that's meant to run unattended, so running it as a console (or, even better, as a console-free service) would be more logical in such a case. | September 9, 2004, 3:27 AM |
Grok | [quote author=Kp link=board=17;threadid=8580;start=0#msg79404 date=1094700424] [quote author=oldskooldrew link=board=17;threadid=8580;start=0#msg79391 date=1094689378]What about all command line? or no GUI AT ALL, meaning using a console in vb? Would using a console bring resource usage down, and maybe better for moderation/stability?[/quote] If you're at all concerned about performance, you really shouldn't be using VB. It's intended for rapid creation, not rapid execution. Now that the obligatory VB bashing is out of the way: * Using a console in VB is just silly; if you don't want a graphical interface, why use a language that puts lots of effort into letting you easily have a graphical interface? * Using a console could require fewer resources than a GUI, depending on how the console is configured (amount of scrollback) vs. complexity of your GUI. I'd guess in most cases you'd use fewer resources. * Better for moderation/stability: that's just silly. Your GUI is the last thing you should be worrying about stability on. :P As for moderation, there's really no point having a fancy interface on a client that's meant to run unattended, so running it as a console (or, even better, as a console-free service) would be more logical in such a case. [/quote] Rapid GUI is not the only thing VB gives you rapidly. Database development, well, nearly anything you would do with COM libraries, VB makes it easy to build rapidly. That said, doing everything rapidly then fighting your way through a console display is rather weird when it is so simple to do with a listbox or multiline textbox, or just a plain form using print. | September 9, 2004, 11:14 AM |
Kp | [quote author=Grok link=board=17;threadid=8580;start=0#msg79431 date=1094728489]Rapid GUI is not the only thing VB gives you rapidly. Database development, well, nearly anything you would do with COM libraries, VB makes it easy to build rapidly. That said, doing everything rapidly then fighting your way through a console display is rather weird when it is so simple to do with a listbox or multiline textbox, or just a plain form using print.[/quote] I did credit it with rapid creation in general! :) Remarking on rapid GUI development is just an instantiation of the more general remark about it being designed for rapid creation, not rapid execution. | September 9, 2004, 3:02 PM |
tA-Kane | [quote author=iago link=board=17;threadid=8580;start=0#msg79262 date=1094560388] Commandline with detachable gui (the gui makes a tcp connection locally). [/quote]A good firewall would likely block that. [quote author=Grok link=board=17;threadid=8580;start=0#msg79431 date=1094728489]doing everything rapidly then fighting your way through a console display is rather weird when it is so simple to do with a listbox or multiline textbox, or just a plain form using print.[/quote]For anything thinking it would be funky using a listbox, it is kind of. But it's fairly practical. My KaneBotAdmin tool uses a listbox to show various events. It's a matter of something so simple as ListBox.AddRow EventText (if empty) or ListBox.InsertRow 0, EventText (if not empty). That way, the event is always at the top of the listbox (since there's no way to do automatic scrolling in REALbasic..., which I wouldn't want anyways). When the events go massive, do a simple check for some amount (I set it to 100, since I hardly even look at the events anyways, lol), and then remove the oldest event from the listbox with ListBox.Remove ListBox.ListCount-1 | September 9, 2004, 3:20 PM |
Adron | [quote author=tA-Kane link=board=17;threadid=8580;start=0#msg79444 date=1094743251] [quote author=iago link=board=17;threadid=8580;start=0#msg79262 date=1094560388] Commandline with detachable gui (the gui makes a tcp connection locally). [/quote]A good firewall would likely block that. [/quote] Ah, but that wouldn't be a good firewall... A good firewall won't block the connections you want. | September 9, 2004, 3:28 PM |
iago | [quote author=Adron link=board=17;threadid=8580;start=0#msg79447 date=1094743726] [quote author=tA-Kane link=board=17;threadid=8580;start=0#msg79444 date=1094743251] [quote author=iago link=board=17;threadid=8580;start=0#msg79262 date=1094560388] Commandline with detachable gui (the gui makes a tcp connection locally). [/quote]A good firewall would likely block that. [/quote] Ah, but that wouldn't be a good firewall... A good firewall won't block the connections you want. [/quote] Right now, it only accepts connections from localhost. Do firewalls actually block loopback? I've never really used a software firewall, so :/ | September 9, 2004, 4:59 PM |
tA-Kane | [quote author=iago link=board=17;threadid=8580;start=15#msg79449 date=1094749143] [quote author=Adron link=board=17;threadid=8580;start=0#msg79447 date=1094743726] [quote author=tA-Kane link=board=17;threadid=8580;start=0#msg79444 date=1094743251] [quote author=iago link=board=17;threadid=8580;start=0#msg79262 date=1094560388] Commandline with detachable gui (the gui makes a tcp connection locally). [/quote]A good firewall would likely block that. [/quote] Ah, but that wouldn't be a good firewall... A good firewall won't block the connections you want. [/quote] Right now, it only accepts connections from localhost. Do firewalls actually block loopback? I've never really used a software firewall, so :/ [/quote]I was working with Red Hat linux about a year and a half ago, and indeed it did have a firewall that blocked loopback. Took me a long time to figure out that's what was going on, too, and even longer to figure out how to disable the firewall. I think the specifics was that it only blocked loopback on non-standard ports (eg, it would allow a connection to localhost on ftp, telnet, web, etc, but not the port I was using which was 2169). | September 9, 2004, 7:36 PM |
Kp | [quote author=tA-Kane link=board=17;threadid=8580;start=15#msg79455 date=1094758613][quote author=iago link=board=17;threadid=8580;start=15#msg79449 date=1094749143][quote author=Adron link=board=17;threadid=8580;start=0#msg79447 date=1094743726]Ah, but that wouldn't be a good firewall... A good firewall won't block the connections you want.[/quote]Right now, it only accepts connections from localhost. Do firewalls actually block loopback? I've never really used a software firewall, so :/[/quote]I was working with Red Hat linux about a year and a half ago, and indeed it did have a firewall that blocked loopback. Took me a long time to figure out that's what was going on, too, and even longer to figure out how to disable the firewall. I think the specifics was that it only blocked loopback on non-standard ports (eg, it would allow a connection to localhost on ftp, telnet, web, etc, but not the port I was using which was 2169).[/quote] You didn't have it configured right, then. :) Most Linux kernels have a hack that any traffic sent to any of the addresses that it owns from the local system is considered to come from lo, even if the IP address belonged on, say, eth0. Rather than disabling the firewall, you should've added a rule with target ACCEPT for interface lo. Be sure to set it to interface lo, else you'll be opening up the system to the network. | September 9, 2004, 8:44 PM |