Window question

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Window question

Post by LordGiddion » Thu Nov 06, 2003 7:25 pm

Why is MQ interface limited to happening within eq - ie the new MQ window? Why don't we use the power of C and Directx to Write MQ windows OVER EQ the way Xylobot does? Since Xylobot uses it's own windows over the EQ interface, xylobot scripts can create custom interfaces within those windows. The one advantage xylobot scripts have over MQ ones is the ability to reconfig on the file with these custom interfaces. For an example look at the Xylobot trade script http://www.giddion.com/tradescript/

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Thu Nov 06, 2003 7:28 pm

Sounds like somebody likes Xylobot :)

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Thu Nov 06, 2003 7:59 pm

Curious, is there a problem with liking some features of another program? There are things I like about AO and DAoC that I don't like about EQ does that make me evil? However just like EQ now has con color in it's target window like DAoC has had from day 1 Programs can get new features if the programers like features other programs have. I think I have contributed to both comunities, I think I have made solid contributions into the most popular MQ script (genbot) and the most popular Xylobot script (tradescript). Xylobot is limited in certain ways because of it's desire to keep on friendly terms with Sony so it can't grow. MQ doesn't have this limitation and can grow - forgive me for making a suggestion that way.

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Thu Nov 06, 2003 8:04 pm

Basically, Xylobot is pretty laggy, so most people wouldn't want it involved.

Also too, why duplicate efforts? It's not that big of a deal to run both programs if someone wanted Xylobot features...I've done it before (when /click was broken).

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Thu Nov 06, 2003 8:21 pm

What are you saying? /loadskin is incompatiable with mq? What does OVER EQ mean?

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Fri Nov 07, 2003 9:30 am

MQ only uses EQ windows.
Xylobot accessesthe DirectX video layer and create it's own dialog windows and user forms. These windows apear in EQ, they minimize with EQ but they are seperate basically sitting over the top of eq looking like you had alt-tab a seperate application. They visually apear like standard windows-windows - Blue title bar min/max exit. If you download the xylobot demo and the script I pointed out you'd see what I mean. That script is a tradeskill macro simular to ts with ini support found here. However since Xylobot script can create full windows it has a series of setup windows through which the end user is able to double click options, select info off of drop downs, press button etc. With those windows the user sets up the ini content with out ever opening the ini file or ever having to understand the structure of the ini. As I've said I've writen a bunch of scripts for both systems and right now I'm using MQ exclusively all I am saying is the abilty for scripts to create an interactive user interface is the only feature of xylobot that I miss when coding in MQ.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Fri Nov 07, 2003 9:51 am

I'll attempt to answer this one LG:

Xylobot is a DirectX application. It doesn't interface directly with EQ, it overlays it's controls over the top of EQ. So yes, Xylo can do a few things MQ can't.

MQ was never designed to be a general utility program. It started out with only the SuperWho functions, and grew from there. MQ injects itself directly into EQ, becoming an extension of that program. That's it's greatest strength. By becoming a part of EQ it not only can take control of various functions directly, it is much less resouce intensive than Xylobot.

True, that does limit us on the "custom interface"... for now :) Lax's work with manipulating the UI directly has the potential to do all those things you are looking at. Given time we should be able to invoke a UI subset, injecting our own windows into the EQ client, formatted by our own XML files. Not just create a new "MQ Chat" window that is local to the client machine, but a fully formatted custom window with buttons, bars, whatever.

The idea DOES have merit. Could be very nice to have a GenBot window, with appropriate input areas, buttons, etc. to set up and control the bot. Or a generic macro window, with /listmacros down one side, so you can select a macro, enter parameters, and click "run".

First though, we need to finish ironing out the existing bugs in the current MQ chat window.
MQ2: Think of it as Evolution in action.

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Fri Nov 07, 2003 10:16 am

McKorr thanks for a well thought out reply rather then bashing me as xylobot lover. I will wait and see what Lax comes out with, or maybe even try to help if I get the time to get my C back up to speed.
I would think the adds I did for GenBot might qualify me as a respectable MQ contributor but I guess not.

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Fri Nov 07, 2003 10:30 am

LordGiddion, I am sorry to have offended you with my comment. I had no idea such a simple observation would have been taken as a hostile flame - it was not intended that way.

I did not say, nor did I imply, that there is a problem with liking some features of another program. I did not say, nor did I imply, that you are evil. I did not say, nor did I imply, that you have not contributed to both comunities. I did not say, nor did I imply, that your contributions were not solid.

I see no reason to forgive you for suggesting that MQ can grow - I think it was a good suggestion.

I did find it humorous though, as the way I read your post basically said "Xylobot is great - MQ should try being more like it" (which your later posts negated).

All in all, the fact that it "sounds like somebody likes Xylobot" was enough for me to click the non-MQ related link you offered to see if I would also like it. Personally, I like MQ way better - but that's a preference thing.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Fri Nov 07, 2003 10:48 am

Both programs have good and bad points. Xylobot is more generic, meaning you can make it work with other programs, but it is resource intensive and slow. MQ only works with EQ, but it has a small footprint and is very fast and robust.

There are people that prefer Xylobot over MQ, and vice versa. There are people that use both at the same time. Both are good projects and good systems.

I prefer MQ first, because it doesn't lag my machine all to hell, and second, because it's open source and I can look inside and make any changes I want instead of relying on what the designer thinks is best. And you don't have to be a dev to see your code implemented here.

Then again, the only online game I play is EQ :D
MQ2: Think of it as Evolution in action.

HanzO
orc pawn
orc pawn
Posts: 16
Joined: Tue Jul 01, 2003 7:58 pm

Post by HanzO » Fri Nov 07, 2003 11:59 am

A comment on the architecture of Xylobot:

Xylobot plays man-in-the-middle between EQ and DirectX. Think of instead of detouring "EQ functions", they simply detour "DirectX functions" if you want to think of it that way.

When EQ asks for a drawing space, it really is asking Xylo, who creates it's own and relays it to EQ. So essentially it retains hooks into every drawing, mouse or keyboard hook done. With these hooks in place it becomes trivial to inject (as we do) simulated keystrokes, mouse movement as well as Pixels.

A very good analogy of what is going on here with Xylo is, for some of you when your video card is accessed, a little "nvidia" logo pops up on the screen (unless you turn it off). When an app makes a DirectX video call, the video card driver detects it and if this setting isn't turned off, the little logo appears, then it proceeds with the DirectX call. Xylo in a similar way kind of "detours" EQ DirectX calls to "massage" them however it wants.

So, the saving grace here for Xylo is that it wrappers/detours DirectX whereas we wrapper/detour EQ. This is primarily what has left it alive because it can be "agnostic" regarding the program it supports to a large degree because it is hooking DirectX calls not a specific software app. This gives you some leverage legally when Sony comes suit happy on you and says you are not licensed and are selling something based on our product. He just diversified and stymed that (good for him).

I am/was a long-time Xylo user, prolly about #20 on his registered list. I think his program is good,

--

That said, I'll give Xylo his dues. Wrappering DirectX calls isn't a simple feat much less drawing on EQ requested surfaces unless you already know how to do it. All we have to do is figure out where EQ makes it's DirectX surface calls (hopefully it is in a global function) then detour it... viola... I just dont have time anymore to help other than just advice via the forums.

Let me know your thoughts. And btw Lax, awesome job dude.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Nov 07, 2003 3:05 pm

I'm still missing it. I tried the xylobot demo a long time ago. It kept clicking the wrong place.

What is in these reconfigurable windows that is so desirable?

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

Handy Facts For Picking Download Windows Software Free

Post by FrankJScott » Tue Mar 07, 2023 3:06 am

In reply to the man talking about microsoft bizspark, microsoft leap apprenticeship, bullzip printer download, iobit uninstaller download 64 bit, free must have software for windows 10, supercopier software, I highly suggest this homepage about download microsoft programs free blog or free office word program, microsoft isv program, free download programs for windows 7, supercopier software, outlook startup windows 10, best excel certification, and don't forget this read review on microsoft programs torrent blog and don't forget supercopier software, download sandboxie 64 bit windows 10, microsoft hup windows 10, adobe photoshop software free download for windows 7, csula microsoft office, microsoft hup office 2016, as well as this here on microsoft programs info which is as good as microsoft programs for mac, dosbox app download, learning visual basic (censor: i'm an idiot; please ignore me) for excel, winzip program free, ms money software, sharepoint developer program, . Also, have a look at this helpful resources on windows software pc info and don't forget microsoft at home program, microsoft hup program, programs like word, exe program download, important software for pc windows 7, microsoft powerpoint program, and don't forget this next page on microsoft programs torrent info as well as microsoft word certification, microsoft access specialist, free download revo uninstaller for windows 10, python word excel, recommended software for windows 10, software ms excel, alongside all next page on download windows software free forum which is also worth a look not to mention microsoft advanced excel certification, programs similar to microsoft office, asu student microsoft office, exe program download, wise program uninstaller free download, free unzip software for windows 10 64 bit, also. I also recommend this great site for download microsoft programs free advice and don't forget ms accounting software, microsoft csp program, winrar software free download, advanced excel class, microsoft leap apprenticeship program reddit, octave software free download for windows 10, and don't forget this total stranger on download windows programs free blog on top of windows 7 application software free download, windows application software download free, microsoft insider program, basic software for windows, deskpins windows 10 free download, iobit uninstaller download, not to mention super fast reply for windows software info alongside all registry repair freeware, microsoft student advantage program, unzip software for windows 10 free download, microsoft excel certification cost, microsoft ai academy, firewall app blocker free download, which is also great. Finally, have a look at this more tips here about download microsoft programs free details with comodo system utilities download, windows application software download free, iobit uninstaller free, mt sac microsoft office, aarp microsoft office discount, microsoft word source code, for good measure. Check more @ Great Tips For Selecting Green Energy 6b3ce3c

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

Handy Ideas On Choosing Regalos Trabajo

Post by FrankJScott » Tue Mar 21, 2023 7:59 pm

To the guy asking about articulo publicitario, boligrafos para regalar, regalos originales mujer, merchandising empresarial, merchandising de empresa, regalo personalizado mujer, I highly suggest this this site on regalos mujer originales details or regalos hombre originales, articulo publicitario, promocionales para empresas, merchandising empresarial, regalos publicitarios baratos, regalo original, on top of this published here about regalos de empresa site and don't forget regalo publicidad, regalos originales mujer, regalos boda invitados, llavero personalizado, calcetines personalizados, regalos originales personalizados, as well as this the original source for regalos personalizados baratos forum which is as good as merchandising empresarial, regalos originales personalizados, boligrafos empresa, regalos mujer originales, regalos originales mujer, ropa para empresas, . Also, have a look at this check this out for ropa de trabajo advice on top of regalo personalizado mujer, llaveros personalizados, productos publicitarios para empresas, boligrafos para regalos, boligrafos empresa, ropa de trabajo, alongside all this her response for articulos publicitarios url as well as promocionales para empresas, regalo personalizado mujer, regalos de empresa, regalos personalizados hombre, regalos hombre originales, regalos corporativos, and don't forget recommended reading about regalos mujer originales site which is also worth a look not to mention regalo personalizado hombre, regalos originales boda, regalos de boda, regalos publicitarios, regalos personalizados con foto, regalos originales, also. I also recommend this get more info on promocionales para empresas tips as well as regalos publicitarios, regalo personalizado mujer, regalos para jefes, productos publicitarios para empresas, regalo personalizado hombre, regalos personalizados mujer, alongside all this the advantage on regalos promocionales tips not to mention regalos originales mujer, regalos publicitarios originales, regalos hombre originales, regalo personalizado, llaveros personalizados, regalos boda originales, on top of more help about regalos personalizados con fotos details alongside all regalos personalizados con foto, regalos personalizados con fotos, regalos para empresas, regalos corporativos, merchandising de empresa, regalos personalizados hombre, which is also great. Finally, have a look at this this contact form for regalos boda invitados forum with llavero personalizado, llaveros personalizados, regalos para hombres originales, regalos de empresa, regalos personalizados, ropa laboral, for good measure. Check more @ Top Tips For Selecting Custom Sportswear 8dec9a8