A forum for feature requests/discussions and user submitted patches that improve MQ2
Moderator: MacroQuest Developers
-
EqMule
- Developer

- Posts: 2697
- Joined: Fri Jan 03, 2003 9:57 pm
-
Contact:
Post
by EqMule » Thu May 15, 2003 5:06 am
yeah... someone wanted the merchant thing to work again, and honestly I havent tried it, but I was messing around in memory after the patch and came across the inventory of the merchant you have opened... it looks like its on a hardcoded offset, but I will confirm that when I get home from work, anyway, I was wondering about the clsMain and the other cls offsets, do we have anyone still here, that could send me a PM or just post somekind of more in depth explaination of what thoose where used for when they worked, as well as maybe tell me how to recognise them in memory, is there a structure to look for? Im pretty sure I can get thoose things to work again if someone tells me what and how they want things to work...

o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received

donations for this month's patches.
Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.
-
sprite
- a lesser mummy

- Posts: 51
- Joined: Tue Apr 15, 2003 8:42 am
Post
by sprite » Thu May 15, 2003 6:26 am
I was wondering about this too.
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Thu May 15, 2003 8:12 am
sprite wrote:I was wondering about this too.
Why do you care sprite? Looking at another way to make money on EQmule's work, like you are doing with MQgold?
Gimme a break.
-
Jaerin
- Developer

- Posts: 133
- Joined: Mon Mar 10, 2003 7:37 pm
-
Contact:
Post
by Jaerin » Thu May 15, 2003 8:33 am
eqjoe don't even start that. I am sure we can all agree that we would rather not spiral into the flamefest that was ever present on the SEQ boards. So lets not even start.
If you don't like that sprite is selling it than ignore him. Pubically berating him for something like this is not going to suddenly fix the issue. It's only going to fan the flames. So if your not involved then stay that way. If you don't want to help him fine then ignore him.
DKAA seems to be kind of the lead active developer so it's up to him on what, if anything, we should do about it. If you want to flame away about this there is a Macro Gold thread. Keep it there.
Jaerin
-
TheColonel
- of what?

- Posts: 164
- Joined: Thu Oct 10, 2002 6:34 pm
- Location: Golden, CO
-
Contact:
Post
by TheColonel » Thu May 15, 2003 11:20 am
To add more that is unneeded, let it go, or use the growing thread.
Hell hath no fury like a woman's scorn for EQ.
-==(UDIC)==-
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Thu May 15, 2003 1:16 pm
Jaerin wrote:eqjoe don't even start that. I am sure we can all agree that we would rather not spiral into the flamefest that was ever present on the SEQ boards. So lets not even start.
If you don't like that sprite is selling it than ignore him. Pubically berating him for something like this is not going to suddenly fix the issue. It's only going to fan the flames. So if your not involved then stay that way. If you don't want to help him fine then ignore him.
DKAA seems to be kind of the lead active developer so it's up to him on what, if anything, we should do about it. If you want to flame away about this there is a Macro Gold thread. Keep it there.
Jaerin
Jaerin.. what pisses me off is how hard my friend Mckorr is working on /click.... It seems to me that he could be working on something else if /click was already working. Sprite, if he was half a man, would at least help if not share his work with Mckorr as everyone else involved with this project has.
Sprite is here sucking up everyone elses work...... how about it Sprite??
Give something back.
-
EqMule
- Developer

- Posts: 2697
- Joined: Fri Jan 03, 2003 9:57 pm
-
Contact:
Post
by EqMule » Thu May 15, 2003 1:49 pm
I dont mind that Sprite, is profiting on this product, since he can indeed charge for the "compilation service" he is running (I will not go into the GPL about not sharing the source), and he has written some code himdself as well, but Sprite, there would be more honor in sharing your work since we are sharing ours with you...

o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received

donations for this month's patches.
Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.
-
Jaerin
- Developer

- Posts: 133
- Joined: Mon Mar 10, 2003 7:37 pm
-
Contact:
Post
by Jaerin » Thu May 15, 2003 3:24 pm
EqMule /click is working. /mouseto is working.
The only thing left to do is the parsemouse function so you don't need to find the coords for the various elements on the screen. We could release /click and /mouseto, but choose not too because we believe that it would add a lot of confusion to an already confused populace.
Once parsemouse is working the code will be released. I haven't seen MQGold, but he hasn't said that he has anymore functionality other than the ability to move the mouse somewhere and have it click.
I won't defend his actions because yes he is violating the GPL, but all I'm asking is that there is no need for a wide spread flame war on the subject.
Jaerin
Last edited by
Jaerin on Thu May 15, 2003 4:37 pm, edited 1 time in total.
-
Mckorr
- Developer

- Posts: 2326
- Joined: Fri Oct 18, 2002 1:16 pm
- Location: Texas
Post
by Mckorr » Thu May 15, 2003 3:41 pm
Well, did take me a couple weeks to figure out why another dev's code for /click wasn't working for me...
Please note: I am NOT taking credit for /click or /mouseto. I didn't write them, I just debugged them to make them work on MY computer.
I have tried to give credit where credit is due to those helping me on ParseMouseLoc, about half of which is my work and half Clawed's.
I won't post the name of the individual who wrote the initial /click and /mouseto code so that he won't be run over with PMs asking for it. I do appreciate all the hard work he's done, and if he wants to step forward I'll quickly back him up on claiming his work.
Anyway, don't give me too much credit for anything but persistence and knowing my limitations. 8)
-
EqMule
- Developer

- Posts: 2697
- Joined: Fri Jan 03, 2003 9:57 pm
-
Contact:
Post
by EqMule » Thu May 15, 2003 3:45 pm
clsMain=00760100
regarding the cls things... i have found this using my old exefiles, need it verified though...
gonna get the rest of the cls offsets as well...
hmm this topic got turned into a sprite vs MQ / click /mouse thing, when all I want is to know more about cls lol :)
anyway if we get cls to work maybe we can read mouselocs and so on from memory as well as memming spells and stuff...

o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received

donations for this month's patches.
Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.
-
fwiggles
- a hill giant

- Posts: 161
- Joined: Mon Jun 17, 2002 8:29 pm
Post
by fwiggles » Thu May 15, 2003 6:08 pm
eqjoe wrote:sprite wrote:I was wondering about this too.
Why do you care sprite? Looking at another way to make money on EQmule's work, like you are doing with MQgold?
Gimme a break.
It seems to me that if sprite was able to do what he has, he is talented with working on macroquest, why not try to work with him instead of being against him? I admit that i disagree with sprite selling Macroquest, but hell...it won't effect me in any way unless SoE decides to do something else because of it. However i do not think they will go to any more drastic measures BECAUSE of Macroquest Gold. Just my 2 cents
[color=red]Latest survey shows that 3 out of 4 people make up 75% of the world's population.[/color]
-
sprite
- a lesser mummy

- Posts: 51
- Joined: Tue Apr 15, 2003 8:42 am
Post
by sprite » Thu May 15, 2003 8:54 pm
I thought all the cls stuff had to do with merchants? I think I will work on finditem as no one seems to be working that. Is there any specific reason that it can't be fixed?
Just because I sell MQ Gold does not mean I won't contribute to regular MQ as well.
-
Mckorr
- Developer

- Posts: 2326
- Joined: Fri Oct 18, 2002 1:16 pm
- Location: Texas
Post
by Mckorr » Thu May 15, 2003 8:58 pm
Share your Parser!

-
AMadMonk
- a lesser mummy

- Posts: 77
- Joined: Tue Sep 24, 2002 9:16 pm
Post
by AMadMonk » Fri May 16, 2003 10:29 pm
clsXXXX == "class XXXX" == base of class object in memory.
On a thiscall, you need to pass the class pointer in ecx (with a little inline asm magic). clsXXXX's were various class object offsets.
Some of that mutated and morphed over time.
BTW, I did an old /click and /mouseto myself. Really hacky tho, just poked directly into the DInput buffers.
An elegant solution is to directly trigger the OnLeftClick/OnRightClick handlers for all of the UI elements. I had that partially working, but the class tree (corresponding to the XML UI layout) was horrendous and I burnt out.
I'm sure all my code is ancient now, or I'd share it.
I'll gladly help with /click if'n ya want. I may need a dummy account since I sold off all my toons, but I miss the good old days. Now that DKAA has hacked around the memchecks (good work on that, I left just as that was heating up), MQ might be fun again.
Someone email me sometime and let me know what you're up to...
-
EqMule
- Developer

- Posts: 2697
- Joined: Fri Jan 03, 2003 9:57 pm
-
Contact:
Post
by EqMule » Sat May 17, 2003 11:38 am
AMadMonk wrote:clsXXXX == "class XXXX" == base of class object in memory.
On a call, you need to pass the class pointer in ecx (with a little inline asm magic). clsXXXX's were various class object offsets.
Some of that mutated and morphed over time.
YES! ok thanks now I understand what cls stands for, and that will make it easier to "revive" any help you can give will be mucho appreaciated...
I wouldnt mind a copy of your code for reference, PM it or post or email me
eqmule@hotmail.com
ok I respect you, because you have been around since the plazmic days so I can arrange a testaccount for you as well...

o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received

donations for this month's patches.
Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.