• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Problem - Old macro not working

Joined
Sep 25, 2017
RedCents
3,230¢
I have an old macro from [a non RedGuides source] that is supposed to chain cast one spell over and over in a loop, but it won't work on VVC. I can't figure out why since the macro doesn't use plugins. Can someone take a look?
 

Attachments

Last edited by a moderator:
Well, first, to be honest there isn't much love for the other services here. It's also frowned upon to mention them in the first place.

Second, most of the people that work on code here tend to have quite a list of things on their plate to handle already. I apologize that you haven't had luck much getting support for macros, but none of the people that code are in any way obligated to update or work on any specific macro that someone drops in a thread and says doesn't work.

There area already utilities that level up casting, allow you to chain cast a specific spell, or other means of gaining skill using spell casting.

One such method is to simply
Code:
/plugin mq2twist
and then
Code:
/twist #
where # is the spell gem you want to chain cast. There's many ways to skin a cat that don't include someone taking the time to look at someone's old abandoned and broken code.

Third, when "something doesn't work" is the only information you give someone but want them to look at it. We are then forced to generate a list of questions to ask you as the user that might point to user error. Such as this requires spell_routines.inc, do you have that. What error occurred when you attempted to use it? How are you invoking the macro in the first place? When was the last time this worked successfully? What version of spell_routines.inc are you using? Have you tried contacting HooseNutz, the original author about the issue? etc etc.

Without information related to the issue, we're stuck just running it and seeing what causes the issue. But the issue we have might not be the same issue that you have. Perhaps our spell_routines.inc is available and it works fine for us. Perhaps you have a different version than is needed for this to work correctly. Perhaps you're using the other guys build and it doesn't work the same way as the redguides build. Just too many variables.

Best way to get help is to provide as much information as possible.

IE: I tried to use this macro using /mac SkillCast 1
But when I did I got the error, could not find subroutine cast at line 28, screenshot the error message

Then someone might be inclined to say that you don't have the spell_routines.inc, But if instead you say I type /mac skillcast Major Shielding
Then someone may tell you that you can't use multiple words to identify a gem and that it's not the intended use of the macro in that passing words as the param is going to cause it to return a number and the call to spell_routines.inc cast subroutine is going to expect a word, but you're going to have it passed a number, which will cause it to fail
 
Last edited:
Nice! Chat, i didnt realize you could use mq2twist with spells.. I assumed only songs!

@Ordell, this is a perfect chance for you to write your own macro.. just open up a similar one, and do a small loop, step 1 check if spellgem is ready, step 2, cast spell.. the more you play with this stuff, it really helps and you learn a ton for future more complex things you will want to do with it.. I've already done similar things, with combat abilities, alctol, etc.. I look at what there is already here for macros, and if they dont do EXACTLY what i want, i then learn to modify it in such a way to allow it to do.. At that point if you get stuck, post your snippet of code, and the guys are always willing to help provide assistance..

Cheers,
Lordeth
 
Well ok Chat, I didn't realize talking about macros from non-RG sites is frowned upon. That explains 2 of the 3.

Lor, I can't code for shit. If I couldn't fix that skillcast macro there is no hope.
 
there is also the cskillup macro that is on the boards that will do the similar thing
i may have a downshit that can do it also but I would only use in a grand guild hall or shadowhaven
 
Well ok Chat, I didn't realize talking about macros from non-RG sites is frowned upon. That explains 2 of the 3.

Lor, I can't code for shit. If I couldn't fix that skillcast macro there is no hope.

@Ordell Ok here download this, and drop in your release/macros folder. I made a super simple spell casting macro that just checks your spellgem 8, and if it is ready to cast, will cast.. just a constant loop that will check/cast/check/cast.. You mem the spell you want to repeat cast, and just run the mac.. /mac spellspam..

If you want to add additional checks, like a mana check and med if below ..say 10%, and a skill check, like evocation has reached xxx, we can add those too.. but for now this is brute force simple as can be..
 

Attachments

All right I will give it a try.

It's odd that this macro would break. There were no plugin calls. It looked as vanilla as it gets, just a casting loop. What did you change?
 
@Ordell Ok here download this, and drop in your release/macros folder. I made a super simple spell casting macro that just checks your spellgem 8, and if it is ready to cast, will cast.. just a constant loop that will check/cast/check/cast.. You mem the spell you want to repeat cast, and just run the mac.. /mac spellspam..

If you want to add additional checks, like a mana check and med if below ..say 10%, and a skill check, like evocation has reached xxx, we can add those too.. but for now this is brute force simple as can be..

How would you add a simple 30 second delay to this?

Code:
#turbo

Sub Main
/bc This uses Spell Gem 8 as your test gem for this macro.

:loop
/if (!${Me.SpellReady[${Me.Gem[8]}]}) /goto :loop

/cast 8
/goto :loop
/return
 
How would you add a simple 30 second delay to this?

Code:
#turbo

Sub Main
/bc This uses Spell Gem 8 as your test gem for this macro.

:loop
/if (!${Me.SpellReady[${Me.Gem[8]}]}) /goto :loop

/cast 8
/delay 300 
/goto :loop
/return

that /delay 300 i put in before the end will give you a 30s delay before casting again.. is that what you want to do?
 
Jeez I hate to sound whiny but what is with this place? This is the third macro I can't get any help on.
Join Discord. Help comes there much faster. Most of us check here every few days if we have no alerts or messages, but a bunch of us are in Discord all day and night every day.
 
How would you add a simple 30 second delay to this?

Code:
#turbo

Sub Main
/bc This uses Spell Gem 8 as your test gem for this macro.

:loop
/if (!${Me.SpellReady[${Me.Gem[8]}]}) /goto :loop

/cast 8
/goto :loop
/return


Changing the /call cast to /casting fixes it (which means it is getting rid of using spell_routines.inc

Not sure why the spell_routines thing doesn't work (cause I'm a noob)
But if you like the functionaility of this - medding, clearing your cursor etc, this should work again

Code:
|SkillCast.mac
|Created by HooseNutz - 27 FEB 05
|-Required plugins NONE
|USE: /macro skillcast 8
|Why I made this, instead of using MQ2Twist |to twist a spell-gem and chance getting |caught using MQ2. And to skill-up your |choice of spell types.

#include spell_routines.inc
#turbo 10
   /Echo =============================
   /Echo HooseNutz's Spell Caster
   /Echo =============================

Sub Main
   /declare SpellName
   /varset SpellName ${Me.Gem[${Param0}]}
   /if (${Me.State.Equal[Sit]}) /stand

   :CheckMana
   /if (${Me.PctMana}<20) /goto :SitDown

   :CheckCursor
   /if (${Cursor.ID}) {
      /autoinv
      /goto :CheckCursor
   }

   :CastSpell
   /casting "${SpellName}"
   /doevents
   /goto :CheckMana

   :SitDown
   /if (${Me.State.Equal[STAND]}) /sit on

   :HowMuchMana
   /if (${Me.PctMana}<98) /goto :HowMuchMana
   /goto :CheckMana
/endmacro
 
Join Discord. Help comes there much faster. Most of us check here every few days if we have no alerts or messages, but a bunch of us are in Discord all day and night every day.

Wasn't super important, so I din't want to waste anyone's time, if they didn't want to help.
 
what ive done for yrs to skill up
/plugin mq2twist
/twist 1 2 3 4
make sure you have your lowest lvl spell types loaded
go somewhere, where you can nuke self (not lobby or hall)
maybe get on a mount prob wont need to
watch skills fly as one maxes out make tiwst smaller
 
can also use cskillup macro, it will mem a spell for each subclass casting skill and skill them up to max with cursor control for summoned items.
 
cskillup is the way to go. It's a ready to go out of the box macro as long as you have all of your level 1 spells. Just pick an out of the way old school zone, start the macro and profit.
 
best zone to use cskillup in is shadow haven its a combat zone so you can cast detrimental spells and no one ever goes there.
 
Problem - Old macro not working

Users who are viewing this thread

Back
Top
Cart