Page 28 of 29

Posted: Sun Sep 11, 2005 7:44 am
by fantum409
gordon you volunteering: hehe
The way I do it is to look at the chatparse sub and read the triggers. They are in [], and are followed by what each will do, like so:

Code: Select all

/if (${ChatText.Equal[bor]}) {
the trigger is "bor"
look after that and read about what it will do:

Code: Select all

      /call FindExactPC ${Sender}
      /if (${Macro.Return.NotEqual[TARGET_SUCCESS]}) /return
      /if (${edbuffItem.Name.NotEqual[NULL]}) /call EquipItem "${edbuffitem}"
      /if (${edbuffItem.Name.NotEqual[NULL]}) /varset olditem ${Macro.Return}
      /if (${FindItem[Breastplate of Vengeful Fury].ID}) /call Cast "Breastplate of Vengeful Fury" item
      /if (!${FindItem[Breastplate of Vengeful Fury].ID}) /call Cast "${spellhastebuff}" gem8 5s
      /if (${edbuffItem.Name.NotEqual[NULL]}) /call EquipItem ${olditem}
   }
tune in to the /call Cast "whatever" phrases. This one is a check to see if you have an item to cast a spell haste buff. If not, it will cast ${spellhastebuff} defined in the beginning of the macro.
If you get the hang of this, its easy enough to figure out the triggers, and add your own custom chat events.

Posted: Sun Sep 11, 2005 1:09 pm
by simkin
I don't use the IRC plugin so I changed chatparse.inc to send to my group channel.

Replace:

Code: Select all

/i say
with

Code: Select all

/chat #${mychannel}

Posted: Tue Sep 20, 2005 12:48 pm
by gmpeliminator
Macro loads etc but as soon as it starts to cast CH it freezes, is this a new problem with the latest version of MQ?

Posted: Tue Sep 20, 2005 12:56 pm
by DigitalMocking
gmpeliminator wrote:Macro loads etc but as soon as it starts to cast CH it freezes, is this a new problem with the latest version of MQ?
Other than the fact that 80% of the macros and plugins are broken now, why would you think that? :roll:

Once we get a solid working MQ2, I'll debug this macro, I'm not even going to play EQ until then.

Posted: Tue Sep 20, 2005 1:19 pm
by JimJohnson
just change it from using using spell_routines to normal default mq2 casting should fix the ch heal issue. Anything that calls from spell_routines atm causes a crash atleast for me.

re: Jim

Posted: Tue Sep 20, 2005 6:51 pm
by Singing_Fool_29
I started one and didn't cast by the macro just by hand and got an error about the flow running into another subroutine. Lines 114 and 244. Not that it should be relevant here, but just saying.

I don't know if something changed as far as what the functions were supposed to do, but in my time of doing C language it was good practice to always } after a /return.

Needless to say, spell_rountines doesn't do that, it just /returns. Most likely that is where the problem is comming from.

Re: re: Jim

Posted: Tue Sep 20, 2005 7:10 pm
by gimp
Singing_Fool_29 wrote:I don't know if something changed as far as what the functions were supposed to do, but in my time of doing C language it was good practice to always } after a /return.

Needless to say, spell_rountines doesn't do that, it just /returns. Most likely that is where the problem is comming from.
The MQ script language dont use { } for functions. They look like this:

Code: Select all

Sub FunctionName(params...)

/return
no opening {, and thus no closing }.

http://www.macroquest2.com/wiki/index.php/Subroutines

Posted: Sun Sep 25, 2005 7:32 pm
by dprovin
anyone else CTDing right after memspells subroutine ends?

Posted: Mon Sep 26, 2005 6:59 am
by Fixxer
Not me... Ever since I updated the Spell_Routines.inc, I haven't had a single problem.

Posted: Sat Oct 01, 2005 11:03 am
by ~twolate~
Which spell routines are you using? I am using the ones that A_Druid posted. I get a CTD after I mem spells. I am gonna try the ones in the regular section and hope it works.

Posted: Sat Oct 01, 2005 12:39 pm
by Fixxer
http://www.macroquest2.com/phpBB2/viewtopic.php?t=11656

A_Druid_00 said that he has a fix in his zip file, but has not updated the post.

So i would look for his zip file for an updated spell_routines.inc file.

Posted: Mon Feb 06, 2006 8:22 am
by Moocow
just getting back into game, I can't wait to give this one a go again...hopefully it still works.

Posted: Mon Feb 06, 2006 8:23 am
by A_Druid_00
If not, there's an updated and massively improved version in VIP.

Posted: Mon Feb 06, 2006 8:27 am
by Moocow
Yeah i gotta get around to donating, my clerics not good to go completely yet so by the time he is I will have money and then I will have the improved one. Thanks.

Awesome Amino Acids Info

Posted: Thu Apr 10, 2025 6:04 pm
by FrankJScott
For the lady inquiring about adiporon, sodium copper, endothelin receptor blockers, high throughput screening drug discovery, h1 receptor antagonists, pt2977, difference between desmopressin and vasopressin, signal transduction pathway g protein coupled receptors, sodium glucose inhibitor, ampk activity, I highly recommend this next page about amino acid advice or tocris rock inhibitor, mapk pathway inflammation, candesartan blood pressure, pi3k inhibitor drugs, glutamine is amino acid, dhea english, define selegiline, icrt3, sglt2 transporter, dbet6, not to mention this on the main page about amino acid url not forgetting sites such as methyl jasmonate price, dheas y dhea, nadh chemical formula, taxol treatment, erk inhibitor drugs, gluconic acid lactone, 1 tryptophan, d aspartic acid tablets, oligomycin mitochondria, dna damage repair review, not to mention this additional reading about amino acid site which is also great. Also, have a look at this best amino acid tips not forgetting sites such as d glucono delta lactone, ici182780, rapamycin review, l glutamine, formation of thyroid hormone, aviptadil acetate, sybr green detection, reasons of antibiotic resistance, antimicrobial resistance threat, benzamidine protease inhibitor, not forgetting sites such as this continue for amino acid info together with trh thyrotropin, gamma aminobutyric acid agonist, protease inhibitor roche, mechanism of thyroid hormone, molecular weight of pmsf, check this out on alongside all aminobutyric, calcein am, ly2874455, fbdd drug discovery, sglt1 inhibitors, for good measure. Check more @ Updated Natural Pet Supplements Info b86b3ce