Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Etheran on April 07, 2003, 06:58 AM

Title: Here's an idea for multi-platform bots
Post by: Etheran on April 07, 2003, 06:58 AM
http://www.cs.unc.edu/~rademach/glui/
Title: Re:Here's an idea for multi-platform bots
Post by: Banana fanna fo fanna on April 07, 2003, 12:17 PM
www.wxwindows.org
Title: Re:Here's an idea for multi-platform bots
Post by: gorshing on April 07, 2003, 07:40 PM
http://java.sun.com
Title: Re:Here's an idea for multi-platform bots
Post by: Camel on April 07, 2003, 08:56 PM
http://maddox.xmission.com/
Title: Re:Here's an idea for multi-platform bots
Post by: Yoni on April 08, 2003, 09:38 AM
http://yoni.valhallalegends.com
Title: Re:Here's an idea for multi-platform bots
Post by: Banana fanna fo fanna on April 08, 2003, 07:15 PM
Quote from: gorshing on April 07, 2003, 07:40 PM
http://java.sun.com

I'd rather design my GUI in QBasic than using Swing. Perhaps www.eclipse.org is what you're looking for.
Title: Re:Here's an idea for multi-platform bots
Post by: Zakath on April 09, 2003, 10:34 AM
St0rm, what's wrong with swing (seriously - I don't know enough about it to make that sort of statement)? And what's a good alternative GUI library if swing isn't used?
Title: Re:Here's an idea for multi-platform bots
Post by: Banana fanna fo fanna on April 09, 2003, 05:22 PM
Swing is SOOOO damn slow, it's sad. I mean truly, it's unbelievable how slow it is.

I also don't like the API. If you want to make, say, a table, you have to create your own new TableModel. It's OOP on Viagra. There's just too many classes, and it slows Swing down. It also uses a wacko threading system and draws its own components in Java...so it's slow and doesn't change with the OS (i.e. winxp).

www.eclipse.org. Check out SWT. It's fast and native and easy.
Title: Re:Here's an idea for multi-platform bots
Post by: c0ol on April 10, 2003, 12:00 AM
LOL im with storm, swing is a joke. wx is a real GUI toolkit, and a GUI in GL would crawl =\.
Title: Re:Here's an idea for multi-platform bots
Post by: Camel on April 10, 2003, 12:30 AM
heh, hardware accelerated ui
Title: Re:Here's an idea for multi-platform bots
Post by: tA-Kane on April 10, 2003, 01:31 AM
Quote from: Camel on April 10, 2003, 12:30 AMheh, hardware accelerated ui
I beleive Mac OS X has that, for those nice interface effects... uses Quartz, which is hardware accelerated.

Also, using hardware acceleration, it would be one hell of an overdone user interface to have your file system done in a 3d environment, and perhaps tilt your windows, so it looks like you're looking at them from a side, instead of from their front.

Hardware accelerated guis... They're not just possible, they're already here... just not in full use.
Title: Re:Here's an idea for multi-platform bots
Post by: Banana fanna fo fanna on April 10, 2003, 02:32 PM
c0ol want to port wx to Java?
Title: Re:Here's an idea for multi-platform bots
Post by: c0ol on April 10, 2003, 04:22 PM
having a hardware accelerated graphical server makes sense (like Aqua on OSX, and fresco on unix) because each window is drawn as 1 texture, this is drawing each GUI object as a texture in an opengl window, which would crawl.
Title: Re:Here's an idea for multi-platform bots
Post by: smoke on April 10, 2003, 05:07 PM
Believe me on this, I have experience with GLUI.  It is a great API if you want to add some quick controls to work with 3D OpenGL applications... however, I wouldn't base any program off of it.  For instance, the keyboard focussing is horrendous.  You click on a widget, and it refocusses... then you click in your main gl window... and the widget keeps the focus thus making it impossible for you to easily redirect the keyboard input back to your glut app's keyboard handling routines.

That is just one of the many nasty little bugs (features?) that GLUI has.  Another issue is that of progress/development.  The project seems to have been pretty idle over the last year or so.  Not to mention, have fun compiling it in Visual Studio .NET and/or Project Builder on OS X.  In both cases, it's almost easier to start from scrach with a clean project in order to build anything useful.

-smoke
Title: Re:Here's an idea for multi-platform bots
Post by: Etheran on April 10, 2003, 06:14 PM
Although I've never used GLUI I have used another GL based User Interface called PUI.  I didn't make a program based on it; it was something of a test app so I could experience the api.  According to c0ol, using a GL based user interface would slow you down, but a bot is generally a small program and it wouldn't have that bad of an effect.  Besides, there could be some nice effects to come out of an OpenGL based user interface for a bot.

Just my thoughts,
Etheran