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.png
Results 1 to 19 of 19
- 20 May. 2010 02:35pm #1
Iv gotten an idea for new multi bot!
- 20 May. 2010 04:56pm #2
Why do you want to use different languages? Can't you just do the programs in C++?
- 20 May. 2010 05:53pm #3
- 20 May. 2010 07:17pm #4
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.
- 20 May. 2010 07:57pm #5Shh, I'm watching My little pony.
- 20 May. 2010 09:26pm #6
ok, i see where your going with this. I suppose i can do it in python. This would give me the capabilities to not release the source also. Even though there are ways to decrypt python. I will have to go into learning python again though.. Been a couple years since i touched any python.
- 21 May. 2010 05:17am #7
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.
- 21 May. 2010 10:03pm #8
- 22 May. 2010 12:06am #9
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.
- 22 May. 2010 12:13am #10
- 22 May. 2010 12:46am #11
Im using 3.1
Will there be compatability issues?Shh, I'm watching My little pony.
- 22 May. 2010 01:11am #12
- 22 May. 2010 03:35am #13
Use 3.1. Why? No reason in particular, I just like it. XD
- 22 May. 2010 03:36am #14
BTW 2.6 is not compatible with 3.1
- 22 May. 2010 11:05am #15
Awww fuck
Sk8er, Port it!
Shouldnt take that long, plus 3.1 is alot better.Shh, I'm watching My little pony.
- 22 May. 2010 12:50pm #16
yea i realized that its not once i updated. Eh, ima just make a couple simpler bots now to get use to it then once its done(when im good with what i do.), i will work on GUIs in 3.1. Google will be my best friend
- 24 May. 2010 05:10am #17
Google is more than a friend, he's your Saviour. lol
- 24 May. 2010 12:51pm #18
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.
- 24 May. 2010 03:57pm #19
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.