• 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

Macro - cskillup (1 Viewer)

Maskoi

old and salty
Joined
Sep 28, 2005
RedCents
82,796¢
Cskillup.mac v1.8 12/14/2018 Released
~Added alynel's pet additions


Cskillup.mac v1.7 09/28/2017 Released
~Converted to MQ2Cast
~Fixed for #warning


Spell Casting Skillup Trainer v1.6 09/27/2012
~ NEW! Specialization Check added. CSkillUp will now cast your classes main spell until you break the 50 point Specialization cap in that skill. Auto detect if a Specialization is already above 50

  • Alteration - Cleric, Druid, Shaman & Necromancer
  • Evocation - Wizard
  • Conjuration - Enchanter & Magician
~Shadow Knight Spells changed. Spike of Disease changed to Disease Cloud & Shadow Step changed to Siphon Strength.
~Fixed an error causing toon to dismount while medding.

Cskillup.mac v1.4 11/02/2012 Released
~ Wizzie spell fade change to root to prevent shadow steping all over the zone
~ Wizzie familiar get lost added because damage spells don't work on familiars.

Cskillup.mac v1.3 05/17/2012 Released ~ MAJOR UPDATE
~ Will now only delete the summoned items from practice spell. Fixes deleting any item on your cursor!!

cskillup v1.2 2/28/2011
~ Improved error control including zone check, pet, and summoned items.
~ Fixed bad loop on skill max check.
~ Changed chanter conjuration spell from pet to mesmerize to save material components.
~ Tweaked spell casting loop. It was skipping spells not refreshing fast enough

I wrote a new macro Based on Arneweise's CastingSkillup.mac because people were having issues with it.

Will mem basic low level spells for each class in gems 1-5 and cast them until your skills maxed.

Check spell lists for your class spells

Rich (BB code):
| Cskillup.mac by Maskoi v1.8 12/14/2018
| Based on Arneweise's CastingSkillup.mac
| Pet additions by alynel
|
| Description: This macro will automatically work on your five casting skills.
|
| Find a safe place in zone other than Pok, Guild Lobby, Guild Hall or Bazaar,
|
| Requires MQ2Cast
|
| Syntax: /mac cskillup
#warning
#turbo 80

#Event SkillUp "You have become better at #1#! (#2#)"
#Event MedUp "Insufficient Mana to cast this spell!#*#"

Sub Main

    | Send a gmail message on completion, NOTE: You must configure mq2gmail before enabling or it will not work.  Once configured, change from 0 to 1 to get an email when training complete.
    /declare sendgmail                int                outer    0
    /declare SkillName[5]           string          outer
    /declare PracticeSpell[16,8]    string          outer   
    /declare CurrentZone            int             outer   ${Zone.ID}
    /declare SpecSpam               int             outer   1
    /declare SpecIgnore             int             outer   0

    /varset SkillName[1]            Abjuration
    /varset SkillName[2]            Alteration
    /varset SkillName[3]            Conjuration
    /varset SkillName[4]            Divination
    /varset SkillName[5]            Evocation

|    CLERIC = 2
    /varset PracticeSpell[2,1]      Endure Poison
    /varset PracticeSpell[2,2]      Minor Healing
    /varset PracticeSpell[2,3]      Halo of Light
    /varset PracticeSpell[2,4]      True North
    /varset PracticeSpell[2,5]      Strike
    /varset PracticeSpell[2,6]      Summoned: Halo of Light
    /varset PracticeSpell[2,7]      Alteration

|    PALADIN = 3
    /varset PracticeSpell[3,1]      Courage
    /varset PracticeSpell[3,2]      Salve
    /varset PracticeSpell[3,3]      Hammer of Wrath
    /varset PracticeSpell[3,4]      True North
    /varset PracticeSpell[3,5]      Cease
    /varset PracticeSpell[3,6]      Summoned: Hammer of Wrath

|    RANGER = 4
    /varset PracticeSpell[4,1]      Endure Fire
    /varset PracticeSpell[4,2]      Salve
    /varset PracticeSpell[4,3]      Dance of the Fireflies
    /varset PracticeSpell[4,4]      Glimpse
    /varset PracticeSpell[4,5]      Burst of fire
    /varset PracticeSpell[4,6]      Summoned: Firefly Globe
  
|    SHADOW KNIGHT = 5
    /varset PracticeSpell[5,1]      Endure Cold
    /varset PracticeSpell[5,2]      Siphon Strength
    /varset PracticeSpell[5,3]      Disease Cloud 
    /varset PracticeSpell[5,4]      Sense the Dead
    /varset PracticeSpell[5,5]      Ward Undead
    /varset PracticeSpell[5,8]      Leering Corpse
  
|    DRUID = 6
    /varset PracticeSpell[6,1]      Skin like Wood
    /varset PracticeSpell[6,2]      Minor Healing
    /varset PracticeSpell[6,3]      Summon Food
    /varset PracticeSpell[6,4]      Sense Animals
    /varset PracticeSpell[6,5]      Burst of Fire
    /varset PracticeSpell[6,6]      Summoned: Black Bread
    /varset PracticeSpell[6,7]      Alteration
  
|    SHAMAN = 10
    /varset PracticeSpell[10,1]     Endure Cold
    /varset PracticeSpell[10,2]     Minor Healing
    /varset PracticeSpell[10,3]     Summon Drink
    /varset PracticeSpell[10,4]     True North
    /varset PracticeSpell[10,5]     Burst of Flame
    /varset PracticeSpell[10,6]     Summoned: Globe of Water
    /varset PracticeSpell[10,7]     Alteration
  
|    NECROMANCER = 11
    /varset PracticeSpell[11,1]     Minor Shielding
    /varset PracticeSpell[11,2]     Lifetap
    /varset PracticeSpell[11,3]     Coldlight
    /varset PracticeSpell[11,4]     True North
    /varset PracticeSpell[11,5]     Ward Undead
    /varset PracticeSpell[11,6]     Summoned: Coldlight
    /varset PracticeSpell[11,7]     Alteration
    /varset PracticeSpell[11,8]     Cavorting Bones
  
|    WIZARD = 12
    /varset PracticeSpell[12,1]     Minor Shielding
    /varset PracticeSpell[12,2]     Root
    /varset PracticeSpell[12,3]     Halo of Light
    /varset PracticeSpell[12,4]     True North
    /varset PracticeSpell[12,5]     Blast of Cold
    /varset PracticeSpell[12,6]     Summoned: Halo of Light
    /varset PracticeSpell[12,7]     Evocation
  
|    MAGICIAN = 13
    /varset PracticeSpell[13,1]     Minor Shielding
    /varset PracticeSpell[13,2]     Renew Elements
    /varset PracticeSpell[13,3]     Summon Brass Choker
    /varset PracticeSpell[13,4]     True North
    /varset PracticeSpell[13,5]     Burst of Flame
    /varset PracticeSpell[13,6]     Jedah's Brass Choker
    /varset PracticeSpell[13,7]     Conjuration
    /varset PracticeSpell[13,8]     Elementalkin: Water
  
|    ENCHANTER = 14
    /varset PracticeSpell[14,1]     Minor Shielding
    /varset PracticeSpell[14,2]     Strengthen
    /varset PracticeSpell[14,3]     Mesmerize
    /varset PracticeSpell[14,4]     True North
    /varset PracticeSpell[14,5]     Chaotic Feedback
    /varset PracticeSpell[14,6]     Summoned: Globe of Water
    /varset PracticeSpell[14,7]     Conjuration
    /varset PracticeSpell[14,8]     Pendril's Animation
  
|    BEASTLORD = 15
    /varset PracticeSpell[15,1]     Endure Cold
    /varset PracticeSpell[15,2]     Salve
    /varset PracticeSpell[15,3]     Summon Drink
    /varset PracticeSpell[15,4]     Sense Animals
    /varset PracticeSpell[15,5]     Blast of Frost
    /varset PracticeSpell[15,6]     Summoned: Globe of Water
    /varset PracticeSpell[15,8]     Spirit of Sharik
  
  
| - Check Class
     /if (${Select[${Me.Class.Name},Warrior,Berserker,Monk,Rogue,Bard]}>=1) {
        /echo You need to go buy a clue and a spell book.
        /end
    }
  
    /call Init
    /call MemSpells
    /call SpecializationCheck
  
    :MainLoop
        /call DoCast
         /if (${Me.PctMana}<=1 || ${Me.PctHPs}<50) /call Event_MedUp
        /call AreWeDone
        /doevents
    /goto :MainLoop
  
/return

Sub Init
    /echo Skill Level/Skill Cap
    /declare i int local
    /for i 1 to 5
        /echo ${SkillName[${i}]}: ${Me.Skill[${SkillName[${i}]}]}/${Me.SkillCap[${SkillName[${i}]}]} - Casting: * ${PracticeSpell[${Me.Class.ID},${i}]} *
    /next i
    /if (${sendgmail}) {
        /if (!${Plugin[MQ2Gmail].Name.Length}) {
            /plugin mq2gmail noauto
        }
        /echo "Gmail notification is configured, it will send you an email when complete"
    } else /echo "Gmail notification is not configured"
/return

| - Sub MemSpells
Sub MemSpells
    /declare i int local
    /for i 1 to 5
        /if (!${Me.Gem[${PracticeSpell[${Me.Class.ID},${i}]}]}) {
            /echo Memorizing Spell >> ${PracticeSpell[${Me.Class.ID},${i}]} <<
            /memspell ${i} "${PracticeSpell[${Me.Class.ID},${i}]}"
            /delay 30s ${Me.Gem[${PracticeSpell[${Me.Class.ID},${i}]}]}
        }
    /next i
/return

Sub DoCast
    /declare i int local
    | - Zone check to turn end macro if zoning
    /if (${Zone.ID}!=${CurrentZone}) {
        /echo You have zoned ending macro.
        /end
    }
    | IF wizzie ditch familiar can't cast on them
    /if (${Me.Pet.CleanName.Equal[${Me.Name}`s familiar]} && ${Me.Class.ShortName.Equal[Wiz]}) /pet get lost
    | - Check for pet class and target pets for spell casting.
    /if (${Me.Pet.ID}) {
        /target ${Me.Pet}
        /delay 10
    } else /if (${Select[${Me.Class.ShortName},BST,ENC,MAG,NEC,SHD]}>=1 && !${Me.Pet.ID}) {
        /casting "${PracticeSpell[${Me.Class.ID},8]}" gem6
        /delay 15s !${Me.Casting.ID}
        /if (!${Me.Pet.ID}) {
            /echo Failed to summon a pet, ending macro
        /end
        }
        /target ${Me.Pet}
        /delay 10
    } else /if (!${Me.Pet.ID}) {
        /target id ${Me.ID}
    }

    /delay 10
    /for i 1 to 5
        :SpecializeCap
        /doevents
        /if (${Me.Skill[${SkillName[${i}]}]} == ${Me.SkillCap[${SkillName[${i}]}]}) /goto :NextSpell
      
        /if (${Spell[${Me.Gem[${i}]}].Name.Equal[Dance of the Fireflies]} && !${GameTime.Night}) /goto :NextSpell
        /delay 3s !${Me.SpellInCooldown}
        /if (!${Me.SpellReady[${Me.Gem[${i}]}]}) /goto :NextSpell
      
        /if (${Select[${Me.Class.ShortName},BST,ENC,MAG,NEC,SHD]} && ${Me.Pet.ID} && ${i}==5 && ${Target.ID}!=${Me.Pet.ID}) {
            /target pet ${Me.Pet}
            /delay 1s
        } else /if (!${Me.Pet.ID} && ${Target.ID}!=${Me.ID} && ${i}==5) {
            /target id ${Me.ID}
            /delay 1s
        }

        /if (${Me.Skill[${SkillName[${i}]}]} < ${Me.SkillCap[${SkillName[${i}]}]}) {
            /casting "${PracticeSpell[${Me.Class.ID},${i}]}" gem${i}
            | /echo Casting ${PracticeSpell[${Me.Class.ID},${i}]} ${i}
            /delay 5s !${Me.Casting.ID}
        }
        | - Check cursor for summoned items and destroy them.
        /if (${Cursor.Name.Equal[${PracticeSpell[${Me.Class.ID},6]}]}) {
            /destroy
            /delay 5s !${Cursor.ID}
        }
        /if (${Me.Skill[Specialize ${PracticeSpell[${Me.Class.ID},7]}]}<=100 && ${SkillName[${i}].Equal[${PracticeSpell[${Me.Class.ID},7]}]} && ${Select[${Me.Class.ShortName},CLR,DRU,ENC,MAG,NEC,SHM,WIZ]} && !${SpecIgnore}) {
            /if (${SpecSpam}) {
                /echo Casting ${PracticeSpell[${Me.Class.ID},${i}]} until we BREAK 100 in Specialize ${SkillName[${i}]}
                /varset SpecSpam 0
                /timed 300 /varset SpecSpam 1
            }
            /goto :SpecializeCap
        }
        :NextSpell
    /next i
/return

Sub Event_SkillUp(S0,S1,S2)
    /echo >> Your ${S1} skill is now ${S2}. <<
/return

Sub Event_MedUp
    /echo Out of mana medding up.
    /if (!${Me.Mount.ID} && !${Me.Sitting}) /sit
    :med
        /delay 10
    /if (${Me.PctMana}<100 || ${Me.PctHPs}<100) /goto :med
    /if (!${Me.Mount.ID} && ${Me.Sitting}) /stand
/return

Sub AreWeDone
    /declare i int local
    /declare j int local 0
    /for i 1 to 5
        /if (${Me.Skill[${SkillName[${i}]}]} == ${Me.SkillCap[${SkillName[${i}]}]}) /varcalc j ${j}+1
        /if (${j}==5) {
            /echo All skills are currently maxed. Ending macro.
            /if (${sendgmail}) {
                /gmail "${Me.Name} has finished skilling up!"
            }
            /end
        }
    /next i
/return

Sub SpecializationCheck
    /declare i int local
    /for i 1 to 5
        /if (${Me.Skill[Specialize ${SkillName[${i}]}]}>100) {
            /echo Detected Specialize ${SkillName[${i}]} is over 100 TURNING OFF Break Specialiazion Cap
            /varset SpecIgnore 1
            /return
        }
    /next i
/return
 
Last edited:
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Try changing line 196
Rich (BB code):
        } else /if (${Target.ID}!=${Me.ID} && ${i}==5) {
to
Rich (BB code):
        } else /if (!${Me.Pet.ID} && ${Target.ID}!=${Me.ID} && ${i}==5) {
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Try changing line 196
Rich (BB code):
        } else /if (${Target.ID}!=${Me.ID} && ${i}==5) {
to
Rich (BB code):
        } else /if (!${Me.Pet.ID} && ${Target.ID}!=${Me.ID} && ${i}==5) {

This change fixes the problem for the SK. Thanks.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Rich (BB code):
|    CLERIC = 2
    /varset PracticeSpell[2,1]      Endure Poison
    /varset PracticeSpell[2,2]      Minor Healing
    /varset PracticeSpell[2,3]      Halo of Light
    /varset PracticeSpell[2,4]      True North
    /varset PracticeSpell[2,5]      Strike
    /varset PracticeSpell[2,6]      Summoned: Halo of Light
    /varset PracticeSpell[2,7]      Alteration
changed to
Rich (BB code):
|    CLERIC = 2
    /varset PracticeSpell[2,1]      Endure Poison
    /varset PracticeSpell[2,2]      Minor Healing
    /varset PracticeSpell[2,3]      Halo of Light
    /varset PracticeSpell[2,4]      True North
    /varset PracticeSpell[2,5]      Strike
    /varset PracticeSpell[2,6]      Summoned: Halo of Light

and idk why every class does the 6th practice spell but meh not my code...
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

I don't understand your post. What are you posting about?

Removing /varset PracticeSpell[2,7] Alteration will break the specialization feature

the 6th one is not a practice spell. Its the summoned item to be deleted by the macro.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

oh... ok so the changes i did were useless... gotcha... lol disregard my post...
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Noticed a problem with the macro. I've successfully used this macro for many classes, but when i recently used it for my shaman it seems to not med when it reaches 0 mana, so that it simply recasts the least expensive mana spell repeatedly as sufficient mana is accumulated for it first, resulting in a maxed evocation but no other skills go up after going oom. This happened with version 1.4, but i just upgraded to 1.5 and seems to have the same problem.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Try this line find 139 ish.

Rich (BB code):
    :MainLoop
        /call DoCast
        /call AreWeDone
        /doevents
    /goto :MainLoop
Add the Line in Red bold
Rich (BB code):
    :MainLoop
        /call DoCast
         /if (${Me.PctMana}<=1) /call Event_MedUp
        /call AreWeDone
        /doevents
    /goto :MainLoop
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

How would i Edit this to cast higher level spells? at 80 the level 1 spells are not getting me much gain and i can't seem to find the place to change the code, just the 'paint image' in my folder.
Thanks for any help you can give
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

just open the macro, cskillup.mac, in notepad an replace the spells under your toons class .
Rich (BB code):
|    NECROMANCER = 11
    /varset PracticeSpell[11,1]     Minor Shielding
    /varset PracticeSpell[11,2]     Lifetap
    /varset PracticeSpell[11,3]     Coldlight
    /varset PracticeSpell[11,4]     True North
    /varset PracticeSpell[11,5]     Ward Undead
    /varset PracticeSpell[11,6]     Summoned: Coldlight
    /varset PracticeSpell[11,7]     Alteration

|    WIZARD = 12
    /varset PracticeSpell[12,1]     Minor Shielding
    /varset PracticeSpell[12,2]     Root
    /varset PracticeSpell[12,3]     Halo of Light
    /varset PracticeSpell[12,4]     True North
    /varset PracticeSpell[12,5]     Blast of Cold
    /varset PracticeSpell[12,6]     Summoned: Halo of Light
    /varset PracticeSpell[12,7]     Evocation

etc
# 6 is the item from the summon spell #3 so the macro knows what to delete and # 7 is the usually the main skill of the class to specialize in
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Ah, thank you very much, issue cleared right up i just had to root through my computer a bit as it was auto opening with some paint bs instead of notepad like it should have lol but spells updated and resumed as normal thanks again for the info
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

For casting on your pet, you must be in a normal zone - not in POK, Guild Lobby or POT
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Regular guild hall doesn't work not sure about the big ones. You can't nuke there either.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Big ones do. That's where I practice mine.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Ahh good to know.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Some things you could tweak with cskillup...

If all the specializations skill caps are the same then you arent locked yet. It'd probably be something as simple as ${Me.SkillCap[Specialize Abjure]}!=${Me.SkillCap[Specialize Alteration]} for the check if your specializations are unlocked. This would only work for Primary specialization and not good for Secondary Forte AA.

Also recently I've been working on a druid and instead of using 'Dance of the Fireflies' for conjuration default you might want to use Summon Drink instead as the former can only be cast at night.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

yar summon drink is better will change that.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Also see invis might be a better choice than sense animal since it changes your target and was giving me problems since it was targeting an animal across the zone and not retargeting my pet before casting the nuke spell (I fixed these manually but it's good to have good defaults that dont mess things up)
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

i'm having the same issue as the last poster with my sk and while i looked at the code its been so many years since i did anything it just made my head hurt
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

that seems to have fixed it
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Spell Selection Tweak/Update

Beastlords should use the Level 26 'Spirit Strike' spell for skilling up evoke vs the Level 12 'Blast of Frost' spell. The reason? The latter has a 30 second recast timer on it. The former is standard 1.5 second recast timer.

I did this change on mine because I was working on a BST and noticed the really long recast timer.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

I took this for a run today as I noticed my druid's Divination wasn't maxed. When I went to run it wanted Sense Animal and for some reason I didn't have it. I just edited and replaced it with See Invisible and ran like a champ. Just in case anyone else has a bonehead thing like that. <G>
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Thanks for the tip and go buy you spells lol.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

The wizard section has an error in the specialization part of the code:

Rich (BB code):
    /varset PracticeSpell[14,7]     Evocation

should be changed to

Rich (BB code):
    /varset PracticeSpell[12,7]     Evocation
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Made changes to make it faster. Don't cast dance of fireflies if it's not dark, and skip the spell if it's not ready. This avoids some of the long recast DD spells from slowing everything down.
I also changed the delay 1s after targeting pet to that if statement, to avoid an extra 1s pause every time.

Rich (BB code):
/for i 1 to 5
        :SpecializeCap
        /doevents
        /if (${Me.Skill[${SkillName[${i}]}]} == ${Me.SkillCap[${SkillName[${i}]}]}) /goto :NextSpell
        
+	/if (${Spell[${Me.Gem[${i}]}].Name.Equal[Dance of the Fireflies]} && !${GameTime.Night}) /goto :NextSpell
+	/if (!${Me.SpellReady[${Me.Gem[${i}]}]}) /goto :NextSpell
				
        /if (${Select[${Me.Class.ShortName},BST,ENC,MAG,NEC,SHD]} && ${Me.Pet.ID} && ${i}==5 && ${Target.ID}!=${Me.Pet.ID}) {
            /target pet ${Me.Pet}
+           /delay 1s
        } else /if (!${Me.Pet.ID} && ${Target.ID}!=${Me.ID} && ${i}==5) {
            /target id ${Me.ID}
+           /delay 1s
        }

-       /delay 1s

Also, enable gmail support below. To enable, it requires mq2gmail to be configured, and change the gmail variable from 0 to 1.
Rich (BB code):
Sub Main

+|    Gmail on completion
+      /declare Gmail					int				outer	0
	/declare SkillName[5]           string          outer
...
Sub Init
    /echo Skill Level/Skill Cap
    /declare i int local
    /for i 1 to 5
        /echo ${SkillName[${i}]}: ${Me.Skill[${SkillName[${i}]}]}/${Me.SkillCap[${SkillName[${i}]}]} - Casting: * ${PracticeSpell[${Me.Class.ID},${i}]} *
    /next i
+	/if (${Gmail}) {
+	    /if (!${Plugin[MQ2Gmail].Name.Length}) {
+	        /plugin mq2gmail noauto
+	    }
+	    /echo "Gmail notification is configured, it will send you an email when complete"
+	} else /echo "Gmail notification is not configured"
...
Sub AreWeDone
    /declare i int local
    /declare j int local 0
    /for i 1 to 5
        /if (${Me.Skill[${SkillName[${i}]}]} == ${Me.SkillCap[${SkillName[${i}]}]}) /varcalc j ${j}+1
        /if (${j}==5) {
            /echo All skills are currently maxed. Ending macro.
+			/if (${Gmail}) {
+			    /gmail "${Me.Name} has finished skilling up!"
+		    }
            /end
        }
    /next i
/return
 
Last edited:
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Couldn't open include file:
C:\Users\User\Desktop\MQ2\Release\Macros\spell_routines.inc
The current macro has ended.
Unable to add macro line.

I am updated to the latest version of your release.
 
Last edited:
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

open the mac in notepad
make this line has no spaces in routines
Rich (BB code):
#include spell_routines.inc
If it look like the line above then check your MQ2 > Release folder for spell_routines.inc file
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Here is my updated cskillup.

Updates:
  • Will not cast Dance of the Fireflies (Druids and Rangers rejoice) during daylight. (Some zones might be a little out of whack if their day/night times are not default)
  • Will skip long recast spells, so you don't get hung on waiting for them
  • Moved some pauses around, so it casts faster overall
  • Added support for MQ2Gmail. If you want to get an email when skilling up is complete, configure mq2gmail, and then change the sendgmail flag from 0 to 1 in the macro, and it will send an email using your default settings
 

Attachments

Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Why would it be crashing game its done it both times I tried starting it ??
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Getting error Subroutine 26 wasn't found.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Need more info. Please do the following

Rich (BB code):
/plugin mq2log
/mlog on
/mac cskillup
Post the error from your Release > Log > toon_server.log file
/mlog off
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Actually I found the problem.
I converted Casting to MQ2Cast from spell routines file. I also made some timing adjustments to smooth stuff out.
Try the version below.
Download it and toss it into your Release > Macros folder
 

Attachments

Re: Spell Casting Skillup Trainer v1.5 11/04/0212

[2017/09/27 23:09:11] Plugin 'mq2log' loaded.
[2017/09/27 23:09:27] MQ2Log :: Logging is ON
[2017/09/27 23:10:27] [MQ2] Skill Level/Skill Cap
[2017/09/27 23:10:27] [MQ2] Abjuration: 21/180 - Casting: * Endure Cold *
[2017/09/27 23:10:27] [MQ2] Alteration: 133/180 - Casting: * Siphon Strength *
[2017/09/27 23:10:27] [MQ2] Conjuration: 143/180 - Casting: * Disease Cloud *
[2017/09/27 23:10:27] [MQ2] Divination: 19/180 - Casting: * Sense the Dead *
[2017/09/27 23:10:27] [MQ2] Evocation: 13/180 - Casting: * Ward Undead *
[2017/09/27 23:10:27] [MQ2] "Gmail notification is not configured"
[2017/09/27 23:10:30] Subroutine 225 wasn't found
[2017/09/27 23:10:30] spell_routines.inc@479 (WaitCast(mySub,int spellID)): /if (${Bool[${mySub}]}) /call ${mySub} ${spellID}
[2017/09/27 23:10:30] spell_routines.inc@255 (SpellCast(spellType,spellName,mySub,int spellID,giveUpValue)): /call WaitCast ${mySub} ${spellID}
[2017/09/27 23:10:30] spell_routines.inc@204 (Cast(spellName,spellType,giveUpValue,mySub,int ResistTotal)): /if (${spellType.NotEqual[item]} && ${spellType.NotEqual[alt]}) /call SpellCast "${spellType}" "${spellName}" "${mySub}" "${spellID}" "${giveUpValue}"
[2017/09/27 23:10:30] cskillup.mac@229 (DoCast): /Call cast "${PracticeSpell[${Me.Class.ID},${i}]}" gem${i}
[2017/09/27 23:10:30] cskillup.mac@145 (Main): /call DoCast
[2017/09/27 23:10:30] The current macro has ended.
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

That's not my version. You need to find your macro folder and copy over the old one or rename it.
spell_routines is no where in my version i replaced it with mq2cast functions
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Got it working. I downloaded your copy, but for some off reason it did not overwrite the old one. Thanks
 
Re: Spell Casting Skillup Trainer v1.5 11/04/0212

Cskillup.mac v1.7 09/27/0212 Released

New version uploaded to first post
 
Re: Spell Casting Skillup Trainer v1.7 09/27/0212

Just for information ( I realize Maskoi's macro here doesn't use the include) after some of the recent changes to MQ2, it seems spell_routines.inc needs all parameters to have a value when using the Cast subroutine. For what ever reason if you leave it at (/call cast "spell" "spellgem" ) it will try to use the spell ID as a subroutine call. /boggle

Again, just tossing this out incase others are trying to figure out problems with spell_routine.inc and happen across this post with the above error =)
 
Re: Spell Casting Skillup Trainer v1.7 09/27/0212

Actually that is very helpful thanks.
I am so busy updating our macros in the compile I don't have time right now to mess around with spell_routines.
It was quicker and easier to convert cskillup to MQ2cast.
I am hoping someone at MQ2dotcom picksup the project to update it.
 
Re: Spell Casting Skillup Trainer v1.7 09/27/0212

Just a suggestion for raising the abjuration skill specifically: The AA "Summon Tome of the Hero's Journey" counts as an Abjuration skill cast (for skill increases). It's zero mana, instant cast, and I think a one-second cooldown. Might be a good option to weave in with spells from the other magic categories. I think everyone has access to it from level 1 as well.
 
Macro - cskillup

Users who are viewing this thread

  • A
Back
Top
Cart