Moderator: MacroQuest Developers


Fearless said it way back when...Naeeldar wrote:Actually read all of that but the one macro post that I needed. I'm registered for the online Visual Stuidio test which is how I was compiling that.
I had gone through the manual 10 times or so and the only coment on macros was the actualy scripting.
The compile plugins post was very detailed and actually what I was using to compile macro.
Stupid mistake but if they put a simple addendum in the manual about macros being scripted with notepad and saved in macro would save a lot of issues.
Like I said I read through a lot of it obviously enough if I'm compiling plugins without the knowledge needed to install a script properly. Simply put just got the wrong idea when reading the manual and the plugins post.

Consider yourself corrected. You're doing it wrong.Naeeldar wrote:Can't tell if your being picky or serious. Corrent me if I'm wrong but you run the prompt creating a folder in mq then you open the file and edit it with the script (copy and paste) then save the file. You open up MacroQuest2.sln and build the files with the program.
Now if I'm doing this wrong then correct me but if your talking about compiling I say were being a bit picky.
There WERE no errors in the original if you created the MACRO correctly. Anything you supposedly "corrected" probably only served to break the thing even more.Naeeldar wrote:apparently not even though I manged to eliminate every eroror but this and one error in the original.
Code: Select all
:checkCursor People tend to ignore smart ass comments. Honestly doesn't matter for me at this point this morning I startedl ooking into it and fortunatly somebody pointed out to me my mistake. But adding the addendium I suggested into the manual will help keep other people from askign somethign I've noticed is common.Clueless_Coder wrote:Fearless said it way back when...Naeeldar wrote:Actually read all of that but the one macro post that I needed. I'm registered for the online Visual Stuidio test which is how I was compiling that.
I had gone through the manual 10 times or so and the only coment on macros was the actualy scripting.
The compile plugins post was very detailed and actually what I was using to compile macro.
Stupid mistake but if they put a simple addendum in the manual about macros being scripted with notepad and saved in macro would save a lot of issues.
Like I said I read through a lot of it obviously enough if I'm compiling plugins without the knowledge needed to install a script properly. Simply put just got the wrong idea when reading the manual and the plugins post.
You compile macros?
Sorry but that's been repeated over and over again throughout this thread
A Macro is not a Plugin. Stop trying to start your car with a sandwich and go find the key.

And users here tend to ignore persistantly insistant dumbass questions.Naeeldar wrote:People tend to ignore smart ass comments.

Naeeldar wrote: People tend to ignore smart ass comments. Honestly doesn't matter for me at this point this morning I startedl ooking into it and fortunatly somebody pointed out to me my mistake. But adding the addendium I suggested into the manual will help keep other people from askign somethign I've noticed is common.
Code: Select all
#define MaxArcaneSkill 235
#chat tell
#event lang "tells you"
#include SpellCast.inc
Sub Main
/declare currentSpell
/declare maxSkill
/declare skillName
/declare spellName
/varset currentSpell 1
/varset maxSkill ${Math.Calc[${Me.Level}*5+5]}
/echo maxSkill=${maxSkill}
/if ( ${maxSkill} > 235 ) /varset maxSkill 235
/target myself
:nextSpell
/echo currentspell=${currentSpell}
/echo casting=${Me.Gem[${currentSpell}]}
/if ( ${Bool[${Me.Gem[${currentSpell}]}]} ) {
/varset skillName ${Me.Gem[${currentSpell}].Skill}
:castSpell
/doevents
/if ( ${Me.PctMana}<20) {
/sit on
/call MedBreak
}
/echo ${skillName}=${Me.Skill[${skillName}]}
/if ( ${Me.Skill[${skillName}]} >= ${maxSkill} ) {
/varset currentSpell ${Math.Calc[${currentSpell}+1]}
/goto :nextSpell
}
/call CheckGM
/call cast "${Me.Gem[${currentSpell}]}"
:checkCursor
/if (${Cursor.ID}) {
|MQ2 is not logic, a No Rent item returns FALSE for Cursor.NoRent currently
/if (!${Cursor.NoRent}) {
/destroy
} else {
/autoinv
}
/goto :checkCursor
}
/if (${Me.Standing} && !${Me.Casting.ID}) {
/sit
}
/goto :castSpell
}
/sit
/call MedBreak
/camp
/return
Sub CheckGM
:GMCheck
/if (${Bool[${Spawn[gm].ID}]}) {
/echo 'Cast Macro' A GM or Guide has been detected in the zone, the macro will resume when the zone is clear of GM/Guides
/delay 600s
/goto :GMCheck
}
/return
Sub Event_Chat
/echo Got a tell, pausing for 10 minutes
/delay 600s
/return
Sub Event_Lang
/echo Got a tell, pausing for 10 minutes
/delay 600s
/return
Sub MedBreak
/stand
/sit
:MedMore
/delay 2s
/if (${Me.CurrentMana}<${Me.MaxMana}) /goto :MedMore
/return 