Unified spawn searching...

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

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Unified spawn searching...

Post by Plazmic » Tue Sep 30, 2003 10:59 pm

[Current status: On way to CVS]

I took all of "/target"'s selecting parameters and the couple from "/who" had that "/target" didn't (LFG + guild), then I added trader just because ;)

I made a standard parser for them, and incorporated it into /target, /who, /face, /alert, and /where (does anyone use this command?) and added $searchspawn()

Benefits:
You don't have to put the spawn name as the last parameter anymore :)
No more remembering what differences there are between /who and /target
/face and /where are more functional.
Alerts have gone to a whole new level (linked alerts and much more)
$searchspawn() saves a bunch of time and code loops through $spawn()
- Plazmic

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Wed Oct 01, 2003 2:33 am

Man, no feedback since I originally posted this on the /if statement thread...

Was this just a waste of 2 days?
- Plazmic

User avatar
Kint
a hill giant
a hill giant
Posts: 208
Joined: Thu Mar 13, 2003 3:36 am

Post by Kint » Wed Oct 01, 2003 3:22 am

give it a little more time

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Wed Oct 01, 2003 3:52 am

Mon Sep 29, 2003 9:30 pm
So, would a $searchspawn(criteria) be a good thing?
criteria being similar to /target's collection?
http://macroquest2.com/phpBB2/viewtopic.php?p=21708

26.5 hours is long enough
- Plazmic

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 » Wed Oct 01, 2003 4:09 am

Sounds like you added a very nice feature, and improved a few that already exist.

I think once people see what they can do you will get alot more feedback.

I was skeptical of that ini feature someone added not long ago, but many have found it very useful.

I am fairly certain the same will happen with your addition/improvements.

Ohmz
Developer
Developer
Posts: 97
Joined: Tue Feb 04, 2003 12:54 pm

Excellent addition

Post by Ohmz » Wed Oct 01, 2003 6:35 am

Thanks!

MQSEQ
Hypocrite fag
Posts: 181
Joined: Fri Sep 19, 2003 5:18 pm

Post by MQSEQ » Wed Oct 01, 2003 7:41 am

I think it is a good idea and waiting to get the latest CVS version.

I guess most folks will start using it once it is documented.

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Post by grimjack » Wed Oct 01, 2003 7:48 am

Plazmic wrote:Man, no feedback since I originally posted this on the /if statement thread...

Was this just a waste of 2 days?
I didn't realise this thread was asking for feedback. I think these are going to be great ideas. I was just wondering earlier when the cvs would be in hehe.
Thanks
Grimjack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack

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

Post by MacroFiend » Wed Oct 01, 2003 10:24 am

I can't wait for the changes to hit the anon CVS (or IRCLatest.zip) so I can see how you reworked the stuff I did and made it better :) It's always fun learning.

The additions will make a lot of things easier and less MQ script intensive.

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

Post by Mckorr » Wed Oct 01, 2003 1:08 pm

Been busy with work and home life Plaz, haven't had a chance to do much more than take a quick look at /face look (the first version). Will get a fresh CVS this evening and diff it against my version, give ya feedback after that.

Sorry for the delay, been a hectic week.
MQ2: Think of it as Evolution in action.

DekeFentle
a lesser mummy
a lesser mummy
Posts: 48
Joined: Wed Oct 22, 2003 1:41 pm

Post by DekeFentle » Thu Nov 06, 2003 2:10 pm

Based on the information that SOE gets a server hit every time you target something I thought I would try to re-write a macro I found in the depot to use $spawnsearch as a way to test distance to MOB etc… without continually targeting it. Could you please advise me on correcting the syntax?

Code: Select all

/varset TargetedMobID $searchspawn("@MobArray(@MobArrayIndex)",npc,range:@ClosestMobDist,nopcnear:cAntiKSRadius,notid:@InvalidTargetID)

I would expect @TargetedMobID to be a simple integer however it seems to be returning more than that, IE

IIRC (at work right now)
SpawnID xxx Willowsip, Distance:xxxx

At least that’s what echo’s on the MQ window.
Revelation 6:8

DekeFentle
a lesser mummy
a lesser mummy
Posts: 48
Joined: Wed Oct 22, 2003 1:41 pm

Post by DekeFentle » Mon Nov 10, 2003 4:18 pm

Lax? No comments?
Revelation 6:8

Sharp of Fairlight
VIP=Very Impressive Pimpin'
Posts: 108
Joined: Wed Oct 29, 2003 3:54 pm
Location: Sweden

Post by Sharp of Fairlight » Tue Nov 11, 2003 8:07 am

Wrong forum, but:

Code: Select all

[color=orange]/varset TargetedMobID $searchspawn("@MobArray(@MobArrayIndex),npc,range:@ClosestMobDist,nopcnear:cAntiKSRadius,notid:@InvalidTargetID")[/color]

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Nov 11, 2003 11:57 am

I never read your post DarkFentle because it was on the unified spawn searching topic and as far as I'm concerned that topic was over a month ago... If you want me to look at something post on a fresh thread ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0