/unload ...baaad

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

Moderator: MacroQuest Developers

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

/unload ...baaad

Post by Amadeus » Tue May 20, 2003 9:16 pm

/unload is all screwy today...did someone do something to it in last night's CVS update? First, having /unload take you straight to desktop is not good because then you'll be 1018 if you try to log back in immediately. Secondly, it's reaking havoc with my computer (my whole system froze up last time I did it).

Can't we just have it like it was before and write a /camp command that overwrites the EQ regular /camp command but just unloads the dll before camping?

Either way, I'd like to see what was changed pretty please...so I can change my build back :)

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 » Tue May 20, 2003 9:33 pm

Haha, attach windbg and tell me where it's crashing.

I think it is related to the click changes but a quick inspection of the code didn't produce any insights.

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

Post by Mckorr » Tue May 20, 2003 9:48 pm

This is caused by the addition of a new detour to support the mouse code. Changing from 7 detours to 8 causes /unload to crash you straight to desktop. We had a similar issue when memcheck3 was added I believe, should be a similar solution.

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

Post by Amadeus » Tue May 20, 2003 10:31 pm

ahhhh ...and here I thought someone had ninja-nerfed /unload ;)...hehehe

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

Post by Mckorr » Tue May 20, 2003 10:36 pm

Okay, you caught me, it's the code that transfers all your plat to my Horse Fund.

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

Post by Amadeus » Tue May 20, 2003 10:47 pm

damn dude..I can swing you 8k for a horse ...unless, of course, you're on that newbie server :twisted:

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 » Tue May 20, 2003 11:08 pm

Mckorr wrote:This is caused by the addition of a new detour to support the mouse code. Changing from 7 detours to 8 causes /unload to crash you straight to desktop. We had a similar issue when memcheck3 was added I believe, should be a similar solution.
Hmm, I don't think so. There were a couple problems (wrong detour and failing to read the ini values) for memcheck3 but none that crashed to the desktop.

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 » Wed May 21, 2003 5:46 am

Okay, I fixed a problem where our detour is interfering with eqw's detours. I doesn't unload all the way (I don't think) but it doesn't crash. The DetourRemove() calls are failing for both direct input functions. I just removed the zeroing out of the trampoline pointer. I checke the detour code and the trampoline never gets freed.

I think we need to delay more before we hook the mouse. If you really want to learn to debug assembler, this is a good problem to work on.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

DKAA

Post by EqMule » Wed May 21, 2003 9:35 am

BaseAddress="0x03000000"

could you check the Link Output settings in the VS6 proj files, I dont think the base address get set to 0x03000000 in them, which could possible add to the unload problem...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image 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.

Non M$ Coder
a lesser mummy
a lesser mummy
Posts: 43
Joined: Sun Apr 13, 2003 8:00 pm

Post by Non M$ Coder » Wed May 21, 2003 9:40 am

It's not a bug, it's a FEATURE, can you think of another way to quit entirely out of EQ that fast? (Turbo log out we used to call this on a massive object oriented propretary CAD tool I used to work on)

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

Post by Mckorr » Wed May 21, 2003 11:03 am

lol Hey, that's what I always used /unload for...

The latest CVS, unless I hosed it up this morning commiting a couple changes on ParseMouseLoc, fixes the unload problem.

And no, I'm on one of the older servers... I'm just dirt poor. My highest level (>50) has maybe 400pp left to his name, and my one lowbie alt a lot less than that. I do still need to rape and sell off an alt I never play, but can't generate more than maybe another 500 that way. Sigh.

Lane
a hill giant
a hill giant
Posts: 201
Joined: Fri Dec 06, 2002 11:57 am

Post by Lane » Wed May 21, 2003 11:18 am

Maybe you should spend some time farming and exping in EQ and not just writing code for all of us to farm, exp, and just generally cheat? :)

/shout We love you man!

-Lane

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

Post by Mckorr » Wed May 21, 2003 3:31 pm

I hate farming... and 50ish pallys can't solo and don't get groups unless they are in a guild... which I'm not at the moment.

So... spend hours trying to get a group... or work on MQ code... frankly the code is more fun.

Non M$ Coder
a lesser mummy
a lesser mummy
Posts: 43
Joined: Sun Apr 13, 2003 8:00 pm

Post by Non M$ Coder » Wed May 21, 2003 4:13 pm

There are plenty of ways to make plat. Take those hides you farm, get some spiderling silk and make leather padding. I saw that on sale for 30p per in the bazaar the other day. (just make a trader to sell in bazaar while you sleep). Occasionally, I'll run arround the newbie cities mining the merchants for silk and hides and such and put them on my seller twink. Of course there are always hill giants, you can solo those at 50 I'm sure, and they drop some nice plat.

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

Post by Mckorr » Wed May 21, 2003 4:43 pm

Leather padding goes for 25 on my server. Yeah, 30 sometimes, but the only way to really make it sell fast enough is at 25.

Older server, hill giants always camped with folks waiting. Same for geos in CC.

Machs nicht, I'm not a dedicated farmer or plat making machine. I'd rather explore and fight. I just want a horse :D Oh, and Night Terror Plate, 'cause I like the name.