Skill up macro (non-tradeskill) not working

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

mackster
a ghoul
a ghoul
Posts: 95
Joined: Mon Sep 09, 2002 3:02 pm

Skill up macro (non-tradeskill) not working

Post by mackster » Wed Sep 17, 2003 1:21 pm

I've been digging around for some code to use so I can skill up things like sense heading but the few bits of code I found do not seem to work.

Currently, I'm trying to use this macro:

Code: Select all

|Skills.mac 
| 
|macros to run while playing 
|or to include in your macro 
|by malachi 
|Instructions: Read the list of /calls and place a | in front of anything you DON'T want it to do. 
|If your race/class can't do one, no worries, it checks for that and just won't try if you can't do it. 
| 
|Yes, timings are off. It will loop perpetually though,|so you'll get max attempts, I promise. 
| 
|I would suggest making one of these for idle practices and one for battle. 
| 
|That is, one with battle disciplines and one for sitting down, save as skills1 and skills2 or 
|whatever and call with hotbuttons. Just don't forget an /endmacro hotbutton as well. 
| 
|This has no delays, so you should be able to add it to other macros by including and calling the sub 
|if you so desire. 
|+++++++++++++++++++++++++++++++++++++++ 

sub Main 
:Loop 
/call SenseH 
/call Mend 
/call Feign 
/call Forage 
|/call Beg 
/call Sneak 
/call Hide 
|/call Taunt 
/call Tracking 
/call SenseTraps 
|/call Intimidation 
|/call Slam 
|/call Disarm 
/call DisarmTraps 
|/call PickPockets 
/call PickLock 
|/call Kick 
|/call TigerClaw 
|/call DragonPunch 
|/call Bash 
|/call Backstab 
|/call EagleStrike 
|/call FlyingKick 
/goto :Loop 

sub SenseH 
/if $char(ability,"Sense Heading")>0 /doability "Sense Heading" 
/return 

sub Mend 
/if $char(ability,"Mend")>0 /doability "Mend" 
/return 

sub Feign 
/if $char(ability,"Feign Death")>0 /doability "Feign Death" 
/stand
/return 

sub Forage 
|WARNING: If successful this puts an item on your cursor. Be aware. 
/if $char(ability,"Forage")>0 /doability "Forage" 
/return 

sub Beg 
|this starts commented because it will get you aggroed. 
/if $char(ability,"Begging")>0 /doability "Begging" 
/return 

sub Sneak 
/if $char(ability,"Sneak")>0 /doability "Sneak"
/if $char(ability,"Sneak")<0 /doability "Sneak"  
/return 

sub Taunt 
|This starts commented because it will get you aggroed. 
/if $char(ability,"Taunt")>0 /doability "Taunt" 
/return 

sub Tracking 
|This one is weird b/c we have no click 
/if $char(ability,"Tracking")>0 /doability "Tracking" 
/press Enter |so that it will close the tracking window and track...something. 
/return 

sub SenseTraps 
/if $char(ability,"Sense Traps")>0 /doability "Sense Traps" 
/return 

sub Intimidation 
|starts commented b/c of aggro 
/if $char(ability,"Intimidation")>0 /doability "Intimidation" 
/return 

sub Slam 
|starts commented b/c of aggro 
/if $char(ability,"Slam")>0 /doability "Slam" 
/return 

sub Disarm 
|starts commented b/c of aggro 
/if $char(ability,"Disarm")>0 /doability "Disarm" 
/return 

sub DisarmTraps 
/if $char(ability,"Disarm Traps")>0 /doability "Disarm Traps" 
/return 

sub PickPockets 
|starts commented b/c of aggro 
/if $char(ability,"Pick Pockets")>0 /doability "Pick Pockets" 
/return 

sub PickLock 
/if $char(ability,"Pick Lock")>0 /doability "Pick Lock" 
/return 

sub Kick 
|starts commented 
/if $char(ability,"Kick")>0 /doability "Kick" 
/return 

sub TigerClaw 
|Starts commented 
/if $char(ability,"Tiger Claw")>0 /doability "Tiger Claw" 
/return 

sub DragonPunch 
|starts commented 
/if $char(ability,"Dragon Punch")>0 /doability "Dragon Punch" 
/return 

sub Bash 
|starts commented 
/if $char(ability,"Bash")>0 /doability "Bash" 
/return 

sub Backstab 
|starts commented 
/if $char(ability,"Backstab")>0 /doability "Backstab" 
/return 

sub EagleStrike 
|Starts commented 
/if $char(ability,"Eagle Strike")>0 /doability "Eagle Strike" 
/return 

sub FlyingKick 
|starts commented 
/if $char(ability,"Flying Kick")>0 /doability "Flying Kick" 
/return 

sub Hide 
/if $char(ability,"Hide")>0 /doability "Hide" 
/return 
But all that happens is it opens up the cursor on the chat bar, as if I had just pressed enter but not typed anything.

Just out of curiosity i typed in game "/doability sense heading" and it crashed EQ, so this could be related.

Could anyone help me out?

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

Post by Mckorr » Wed Sep 17, 2003 2:10 pm

First

Code: Select all

/doability "sense heading"
at the chat line.

Second:

Code: Select all

/if n $char(ability,"Sense Heading")>0 /doability "Sense Heading"
Third, check to make sure you have the latest source. Bugs being worked out on almost a daily basis.
MQ2: Think of it as Evolution in action.

mackster
a ghoul
a ghoul
Posts: 95
Joined: Mon Sep 09, 2002 3:02 pm

Post by mackster » Wed Sep 17, 2003 3:22 pm

I did fresh compile from the latest IRC .zip today (sept 17) to make sure.

The /doability "sense heading" command crashes me only when I am running MQ it seems. If I am not running MQ it works just fine. Not sure what the problem could be :?

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

Post by MacroFiend » Wed Sep 17, 2003 4:04 pm

did you update your eqgame.ini file in the release folder? The ability list offset had been wrong after the initial release of offsets and was causing the exact issue you described. There is a thread around here someplace with the correct offset.

mackster
a ghoul
a ghoul
Posts: 95
Joined: Mon Sep 09, 2002 3:02 pm

Post by mackster » Wed Sep 17, 2003 4:48 pm

That did trick, and that'll learn me to read the dev forums more often. :D

Thanks for the help.