Iv gotten an idea for new multi bot!
Well, the past couple of days iv been messing with the allegro library in C++. And among the examples there are multiple 'windows' examples. Its hard to explain, ill post up a screenshot of one. Anyways, i thought if we can figure out how to use the php librarys for web servers (like in wamp) to compile and run php scripts in it. We can make a new multi bot.
Once we figure that out, we could add other languages like Python and possibly some C++ and C#. but.. it will take a lot of work and i cant do it all on my own. I can probably do just the php on my own with some research but adding other languages will be difficult so.
Screenshots:
http://i45.tinypic.com/98r3n7.pngWhy do you want to use different languages? Can't you just do the programs in C++?
It makes it easier for all users to add programs. C++ happens to be a more advanced language.
Well... It sounds like something overcomplicated in my opinion. You should go simple. Remember Terry's Fisher? People could create their own scripts and just add them to his collection and the program would load them. Python is excellent for the kind of thing you want to make, and very easy to learn. Gaia programs don't even need the GUI... you can just do console applications and they should work just fine. If you need to load a CAPTCHA image you can use on of the graphic libraries to have an external window pop up with the image, or you can even save it to the HD and have the user look at it from his own computer.
I you REALLY just want to use C++ because for some reason you find the need to over-complicate things (unless you know how to use pointers REALLY well in order to make a difference in program speed, which I don't think is necessary at all for the kind of programs that are going to be ran there... and the visual part slows whatever speed you gain by intelligently using pointers), then I recommend that you come up with a simple Scripting Language which your program can parse and interpret.
Sadly, with C++ you can't really compile those scripted modules into your program, but you can simulate an interpreter and make a class that will follow instructions from those scripts added by other users.
If you use Python (which is ran by an interpreter), the modules are compiled into the program and you save a lot of time creating libraries for your own makeshift interpreter. So my advice is: Go with something simple.
To be honest, I like the multi language idea. Other programmers can make it in there own favorite language instead of having to learn some new language or having to remember an old language. Also, i've made a remote administrator tool like this with multi windows with a MDIparent form. It was interesting. I suppose we could make a new multi bot with it as well.
Mk well iv start work on the python multi bot and its coming along nicely.
Anyone got Python examples. I can't use anything between 2.5 to I think 2.9 Because of it being incompatible with windows 7 so I might not be able to contribute.
I unno. I was thinking of upgrading so ill find out >,<
Use 3.1. Why? No reason in particular, I just like it. XD
BTW 2.6 is not compatible with 3.1
Google is more than a friend, he's your Saviour. lol
I don't understand. Not being a Python guru, why wouldn't you use the latest version?
To be honest, a single language would almost always be more advantageous. I experimented with a similar idea in Java a while back in hope of creating a botting framework (after seeing the power of RSBot). While I had the base code all there, it was too much of a hassle and, I reasoned most LG programmers wouldn't feel comfortable programming in Java. Then again, I really do hate working with Java, at least in Net Beans, so maybe that was the real reason :p
Python is actually a language I'm really interested in learning. It's gaining momentum in industry (curse those elusive, high paying web developer positions that specify python as a requisite), and it actually seems quite easy and lightweight to code in (one of the reasons I stuck with PHP so long - don't spend all of your time messing around with a damn designer). I might buy a couple of books and spend a 3-4 hours each day on weekends going through it.
Alex, Python is developing two versions at the same time: The 2.6 and 3.1. So they're basically both the latest versions. They just very in syntax and other technical aspects.