Status of MQ (WORKING) [Updated: Wed Nov 03]

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

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

Status of MQ (WORKING) [Updated: Wed Nov 03]

Post by EqMule » Thu Oct 09, 2003 3:01 pm

Always check this post now and then for info on new commands, bugfixes, whats in the pipe, and the status of MQ.

TODO LIST:
  • + Merchant markup calcultions

    + the $merchant suite... possibly consolidate all the parms into one, and make it all work as intended... (who can take this?)

    + Slam/Bash, and any other 'bogus' skills... (who can take this?)

    + /selectitem item self needs a lookover (Mule I have uh... probably fixed this issue, so lets see what the masses have to say about it, ill leave it hangin here for a week more...)
|#### NEW STUFF and LATEST FIXES ###|: (see changes.txt for details on theese commands)

#### CHANGE FOR 2003-11-03 ####
from Lax:
Moved MQ's chat window filtering to the Chat() functions to solve heap corruption problem
Added FunctionEntry/FunctionExit defines for DBG_CRASHES
Placed FunctionEntry/FunctionExit calls in various functions
Fixed StripMQChat again
Fixed MQToSTML
Completed LoadChatFromINI and SaveChatToINI


#### CHANGE FOR 2003-11-02 ####
from Plaz:
Cleaned up /itemtarget to use GetFriendlyNameForGroundItem
Made "/click left item" do direct call, will work for stupid items stuck in trees ;)
Fixed parsing of "} {" lines to error out gracefully
Made MQChat's window listen to filters
Changed the FPS limiter to be a bit faster, and move the macro handling block back to where it should be (Lax, why did you move the macro handler to before the ZONING/etc checks?)
Removed some old outdated stuff...
Updated notes window struct to not CTD again...
Removed EQWINDOW for the 100th time...
Fixed StripMQChat
Added proc level, haste percent, container type to item display


#### CHANGE FOR 2003-11-01 ####
from Lax:
Added /maxfps command to set foreground/background max fps, and ini setting

from EqMule:
new parmDec for converting from dec to hex or was it the other way around?
hmm anyway it does what $hex does but "opposite"...
fixed a warning where a cast needed to be done to an int...

#### CHANGE FOR 2003-10-31 ####
from Lax:
Added code to Pulse to limit EQ's CPU wasting, made possible by Plaz's 10-28 update -- this ROCKS, especially if you run multiple chars from same computer.. I wish the EQ devs would have given up CPU time instead of making us do it -- with no adverse effects so far (let us know). You will be able to set maximum framerates for EQ's processing of game events for foreground and background windows (works with and without EQW) in a coming update. Currently 50 max foreground 20 max background.
Began colorizing certain chat displays.
Updated SuperWho functions to use color codes rather than filter numbers (all goes to the who filter now).
Added code to insert item links where item names are normally used.
Updated chat functions to all use MQ chat codes and output cleaned up chat to telnet.
Fixed problem with MQ chat window not getting removed on /unload.
Added code so that you do not have to zone after loading MQ while already playing, just have to see some chat in game.
Added "holding" super who display option, to be updated with weapon graphic names later


#### CHANGE/ADDITION FOR 2003-10-29 ####
Changed _CHARINFO and added code for $char(grouped) (Amadeus)
Changes to WriteChatColor, enhanced chat color functionality, see http://macroquest2.com/phpBB2/viewtopic.php?t=3654 (Lax)


#### CHANGE FOR 2003-10-28 ####
from Plaz:
Relocation of Pulse to EQ's ProcessGameEvents.
/delay doesn't stop map spawns from updating.
Fixes for Lax's chat window.
target|who|alert|face|where|searchspawn all have a light parameter now
Fixed target|who|alert|face|where to not skip the parameter after a name
Fixed searchspawn to work with quotes
Fixed $if([n,]a==b,"string with a ) in it","another string")
Fixed $if() to work non-numberic.. it was skipping the first 2 characters of the condition.
(ie. "/who cent range 10 14" works now)

from Mckorr:
/lclicktarget and /rclicktarget have been removed. The code from those functions which calls a direct click on a target has been integrated into /click. Use /click left|right target instead.

from Wassup:
Layout and table of contents added to the readme.html
Zip updated as well...
from Amadeus:
new $char and $target macrocommands

#### BIG CHANGE 2003-10-27 ####
from Lax:
Added EQLib_UI. MQ will now create it's own chat window, and all macro output will go there. This window is "invisible" to the GM's, so will not show on /report, etc.!

#### FIXES FOR 2003-10-25 #2 ####
from Plazmic:
Fixed $strlen() and other string related vars
Fixed ActorInfo ModelInfo location
Added /editmacro <notes|load filename|save [filename]> (uses Notes Window)
Fixed systray icon ghosting
Other stuff
Readme.html updated by Wassup

#### FIXES FOR 2003-10-25 ####
from Eqmule:
All hail Lax for submitting this code!
Massive overhaul of MQ.h structs.
See http://macroquest2.com/phpBB2/viewtopic.php?t=3569 for
standards on structures to make things easier on everyone!
-- ONLY applies to EQ structs, not MQ structs like alerts, etc.

#### FIXES FOR 2003-10-24 ####
from Mckorr :
Changed _CXWND to _CXSTR to bring structs inline with Lax's IDA decompile.

#### FIXES FOR 20031022 ####
Lax's EQUIPMENT structs went in. Thanks to Mckorr for cvsing it. (but you should update this section or at least the changes.txt as well man! ;)

#### FIXES FOR 20031017 ####
updated zipfile with DKAA's fixed eqlib.vcproj file

#### FIXES FOR 20031016 ####
Added FindMount and FindSpeed functions, thanks Amadeus and MacroFiend

Fixed a bunch of nasty crashes in string handling:
/varset l3 $left($instr("=","oven"),"oven")
will no longer CTD.

#### FIXES FOR 20031015 ####
Fixed $corpse(has,xxx) it needed its own struct...
struct _EQLOOTWINDOW is now in cvs and zip updated as well

|####### RECENT FIXES ########|
changed the way $merchant works...
it will now accept a name of a merchant as a parameter
if that name matches the merchant you opened it will return TRUE
if you have another merchant open it will return FALSE
just doing $merchant() will always return TRUE if ANY merchant is open
(I kept backwards compatabillity I hope...)
example1: /if $merchant()==TRUE /call mybuyroutine
example2: /if $merchant("Bodbin Gimple")==TRUE /call mybuyroutine


Fixed _COMMON struct so $count and /identify as well as casttime and mycasttime and all other commands that depend on a alligned COMMON struct works again...

Fixed $selecteditem to not CTD when an empty slot was selected
Added $merchant(open) to return TRUE if the merchantwindow is open and FALSE if it is closed

/lclicktarget
/rclicktarget
$selecteditem - returns name of currectly selected item when "shopping"
$envopen - returns name of enviro if open
$giveopen - returns TRUE if "give to npc" window is open
Fix memleaks in /return and EndMacro() (Plaz)
Fix $freespace() (Plaz)
Fix $lasttell (Plaz)


STUFF THAT IS IN:
/who sorting normal again
/varcat
UNDEFINED-ARRAY-ELEMENT working
/mqpause chat [on|off]
Fix to $spawn(#,guild)
Fix for telnet server on 9x
Filled out _EQWINDOWINFO entirely and renamed to _CXWND
Converted Inventory[] and Bank[] to PCONTENTS
Fixed _CONTAINER + _CONTENTS (this fixes /finditem)
Fixed Cleanup() to be smart about the containers on the screen
Updated uservarstest.mac that proves most people are nuts ;)
+ $spawn needs a lookover as well as it seems like it only works when you have the mob targeted.. [Plazmic: This is a rumor, works fine in every test I've done]

Edited by Mckorr Wed Oct 29, 2003 4:22 pm CST
Edited by EqMule Wed Oct 29, 2003 1:49 am
Edited by Mckorr Tue 2003-10-28 at 1904 CST
Edited by EqMule Tue Oct 28, 2003 12:32 pm
Edited by Mckorr Mon 2003-10-27 9:56am
Edited by EqMule Sun Oct 26, 2003 1:44 am
Edited by DKAA 2003-10-16
Edited by EqMule Wed Oct 15, 2003 11:56 pm
Edited by DKAA 2003-10-10
Edited by Plazmic: 2003-10-09
Last edited by EqMule on Wed Nov 05, 2003 9:37 am, edited 26 times in total.
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.

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Thu Oct 09, 2003 10:39 pm

I believe Plazmic fixed $freespace. Unless it got broken with this updated eqgame.

spudgun
orc pawn
orc pawn
Posts: 17
Joined: Wed Mar 12, 2003 12:13 am

Post by spudgun » Thu Oct 09, 2003 10:54 pm

Not able to /selectitem item self - replies item not found.
Working -> /selectitem item merchant

Everything else seems to be working... so far ;]

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

Post by EqMule » Thu Oct 09, 2003 11:02 pm

Wassup wrote:I believe Plazmic fixed $freespace. Unless it got broken with this updated eqgame.
eh... not taking credit for it, I just copied the relevant info from the thread we used (the devs) last patch... Now it is a new patch, and then we use this thread... just makes it easier for the users to see whats in the works. And makes it easier for the devs to coordinate work, as well as not do doublework...

so anyway, I can specify who has done what, but since we all have edit rights on the post, we usually just type "Edit bla bla date by soandso"
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.

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 Oct 09, 2003 11:20 pm

Zip file is updated for all you CVS slackers.

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

Post by EqMule » Thu Oct 09, 2003 11:21 pm

thanks DKAA
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.

banananose
orc pawn
orc pawn
Posts: 27
Joined: Sun Sep 01, 2002 8:13 am

Post by banananose » Thu Oct 09, 2003 11:45 pm

/finditem doesn't seem to work for me. Is anyone else having this problem? /finditem returns that it can't find any item I've tried at all. Using the "latest Zip" - tried the one at EQMule's site as well as the one on this site.

-BN

spudgun
orc pawn
orc pawn
Posts: 17
Joined: Wed Mar 12, 2003 12:13 am

Re: Status of MQ Oct 10 2003 (FIXED!)

Post by spudgun » Thu Oct 09, 2003 11:51 pm

EqMule00 wrote: TODO LIST:
$spawn needs a lookover as well as it seems like it only works when you have the mob targeted.. (whoever wants this)

/selectitem item self (Mule)

Spectre
orc pawn
orc pawn
Posts: 21
Joined: Tue Sep 02, 2003 10:31 am

Post by Spectre » Fri Oct 10, 2003 12:45 am

banananose wrote:/finditem doesn't seem to work for me. Is anyone else having this problem? /finditem returns that it can't find any item I've tried at all. Using the "latest Zip" - tried the one at EQMule's site as well as the one on this site.

-BN
Yes, the same thing is happening to me. Also, /cleanup isn't closing all the open containers, the way it used to.

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Fri Oct 10, 2003 12:49 am

/cleanup not functioning the way we want is due to the change in the way ESC is handled by EQ now. Before, it would close an entire class of windows (bags/bazaar search/loot/etc). Now, it closes each window individually in reverse order from the way you open them. So the old "send a few escapes and press i" isn't going to work right.

Diggler
> Oid
Posts: 120
Joined: Thu Oct 09, 2003 3:28 pm
Location: Lexington, KY

Post by Diggler » Fri Oct 10, 2003 12:55 am

/finditem can find items in general slots, just not items inside bags, so it is partially working. Just thought I'd toss that in there.

I.E. /finditem "large sewing kit" picks up my sewing kit.
/finditem "spider silk" when silk is inside open sewing kit says couldn't find.
/finditem "spider silk" when silk is in general slot, picks it up.


Also, /cleanup is messed up because they reworked the escape key which is what cleanup does (esc x4). Now it will close 4 bags maximum. Just need to rework it to press esc 9 times or something, or make a new command.

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Fri Oct 10, 2003 1:04 am

Hmm, I downloaded the latest version and compiled it, and it just crashes EQ after character select, just as it finishes loading into the world.

* * EDIT * *

/bonk, nm, got it working thanks to those in IRC.
Opinions are like assholes, everyone has one, but most of them stink.

spudgun
orc pawn
orc pawn
Posts: 17
Joined: Wed Mar 12, 2003 12:13 am

Post by spudgun » Fri Oct 10, 2003 3:30 am

Patch again tonight T.T

in_training
Craptastic
Posts: 115
Joined: Fri Oct 10, 2003 8:25 am

Post by in_training » Fri Oct 10, 2003 9:50 am

Logged in, Said Macroquest is active, but no commands work.

Clean compile, VS.NET.

khozik
orc pawn
orc pawn
Posts: 28
Joined: Fri Oct 10, 2003 1:42 pm

sucks =]

Post by khozik » Fri Oct 10, 2003 1:50 pm

I'm using ms vs 7.0, worked on the last version perfectly. Now I get a clean compile, it says macroquest is active but none of the commands work, and /help does not show macroquest items.. (same as previous post but using 7.0).