Melee help slam always reports -2

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

Moderator: MacroQuest Developers

di28889
a hill giant
a hill giant
Posts: 296
Joined: Sat Jul 12, 2003 11:36 pm

Melee help slam always reports -2

Post by di28889 » Sat Aug 09, 2003 11:08 pm

I would like to know if anyone know why slam always reports -2
i did

Code: Select all

/echo $char(ability,SLAM)
it reports -2 if the ability is in use or not, the only way i can think to get it to work is the use KICK because it is in use if slam is in use

Code: Select all

| - melee.mac -
| does auto taunt, disarm, and slam when attack is on!
|
#turbo

Sub Main
:melee
/delay 5
|i put in delay becuase it seems to use less prosesor use
/if $combat==false /goto :Melee
/if $char(ability,TAUNT)>0  /doability TAUNT
/if $char(ability,DISARM)>0  /doability DISARM
/if $char(ability,KICK)>0  /doability SLAM
/goto :Melee
/return

fryfrog
a hill giant
a hill giant
Posts: 271
Joined: Fri Jun 20, 2003 5:37 am

Post by fryfrog » Sun Aug 10, 2003 2:13 pm

I noticed something like this, but did not actually look into it. My war pet script uses a /doability slam THEN does a /doability kick, so in theory most of the time slam should go off, but in reality it only kicks.

Shin Noir
a ghoul
a ghoul
Posts: 90
Joined: Tue Aug 05, 2003 8:18 pm

Post by Shin Noir » Mon Aug 11, 2003 10:23 am

Hrm try this, press ALT+M (unless you got your abilities window already open) and go to your combat tab. (where you first get your "Attack" and "Ranged" combat buttons). Right click one of the tabs then put SLAM on it.

Now go to the regular abilities tab and remove any instance of SLAM. /echo $char(ability,SLAM) and see if it returns -2.

I doubt this is the fix to making it not go -2, but I'm still curious if it'll stay -2 (May just go make a lvl 1 troll war to check this)

Vaft
a lesser mummy
a lesser mummy
Posts: 69
Joined: Fri Mar 07, 2003 6:39 am

Post by Vaft » Wed Aug 13, 2003 7:14 pm

I believe this is a problem with EQ itself, not a bug in macroquest. If you go to your inventory, and click on "Skills", you will not see "Slam" in you list of skill levels... And if YOU can't find it, I doubt MQ could either. But for anyone who wants to experiment with it, the proper changes would be in skills.h in the eqlib directory...

skills.h

Code: Select all

	"Slam",					   // 111
I believe 111 to be the proper slot for it, though.

di28889
a hill giant
a hill giant
Posts: 296
Joined: Sat Jul 12, 2003 11:36 pm

Post by di28889 » Thu Aug 14, 2003 8:06 pm

i am just brain dead, hehe slam is a bash command with out the shield :oops: