PL Mac

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

VirusX
orc pawn
orc pawn
Posts: 14
Joined: Sun May 16, 2004 7:52 pm

PL Mac

Post by VirusX » Fri May 28, 2004 12:44 pm

I was wondereing if there in an alternative to the genbot mac for a PL'er. I have a druid so end up pling a lot and wondered if there was a mac to autoheal and buff when their buffs run out so I can do a couple things while their killing and I dont die. hehe, thx for your time.

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Fri May 28, 2004 1:43 pm

Ya know what I think we need? A section where we can have all the posts from people who have obviously not done enough trolling around the forums . . . like Casey's over at SEQ's or Soulmonger's over at <BLEEP>. It could be lax's personal playground!

I mean . . . just by scanning the Depot there's 5 on the first page that could be used to do this.

VirusX
orc pawn
orc pawn
Posts: 14
Joined: Sun May 16, 2004 7:52 pm

Gratz

Post by VirusX » Fri May 28, 2004 3:18 pm

Wow 5 really? Ya group auto heals etc... I asked if there was an alternative for genbot to do what I explained. If that would be a yes then great. I have combed threw the depot many times. I see macs for all kinds of things. Mainly in group healing etc. God forbid you post asking for a mac on the REQUEST forum. Maybe I dont want 800 lines of code to do an auto cast heal. I asked if there might be an alternative, which yes there are some that might function like that but may not be designed speciffically for that. Sifting threw large portions of code I do not know yet doesnt really help me much.

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Fri May 28, 2004 4:21 pm

there are some that might function like that but may not be designed speciffically for that
uhh . . . I don't know of a single mac that does not require at least the tiniest bit of cusomization or adaptation to have it work the way you want it to work. I am by no means an expert, but that does not mean that I don't take the time to at least read through the depot to see if there is something even remotely like what I am looking for.

AFK Cleric
Advbot.mac - Advanced Caster Bot - Heal/Debuff/Buff
Druidbot, Chanterbot, Clericbot KISS (keep it simple ...)

Well . . . there's three that have healing functions, i'm sure if I kept digging I could find more.

javelinl
a lesser mummy
a lesser mummy
Posts: 70
Joined: Thu Mar 11, 2004 12:40 pm

Simple PL script

Post by javelinl » Fri May 28, 2004 4:31 pm

Maybe I'm missing them as well, but I don't see that many, non-group based PL scripts. Even genbot will ignore all others not in your group by default.

Here's a simple script I used to PL my enchanter with my lvl 56 clr.

It follows using the MQMoveUtils plug in but certainly not required.

Code: Select all

#chat chat

#include SpellCast.inc
#event FOLLOWME "#*#FOLLOWME#*#"
#event AssistMe "#*#AssistMe#*#"
#event RELOADNOW "#*#RELOADNOW#*#"
#event QUITNOW "#*#QUITNOW#*#"
#event STOPHERE "#*#STOPHERE#*#"
#event TEMPGONE "#*#TEMPGONE#*#"

sub main
/leaveall
/join MYCHANNEL


/declare PLTARGET global 

/declare MyVar global 
/declare MyX int outer
/declare MyY int outer
/declare MAINPET int outer
/declare MYSTATUS global
/declare ISNUKED GLOBAL
/declare CRITTER int outer
/declare GMember int outer
/VARSET ISNUKED "NOTYET"
/VARSET MYSTATUS "WAIT"

|Put in the name of the person to watch
/VARSET PLTARGET "DABRUISER"


/VARSET CRITTER 0
/VARSET ISNUKED "NOTYET"
/VARSET MYSTATUS "WAIT"

/echo Starting Loop
:Loop


/doevents


/call CheckMyBuffs


/delay 1s
|/echo here

/if (${String[${MYSTATUS}].Equal[ASSIST]}) /call ASSISTLOOP

/if (!${Me.Mount.ID} && ${Me.State.NotEqual[SIT]}) /if (!${Me.State.Equal[SIT]}) /sit 

/call CheckPartyHP



/goto :Loop




/return




sub CheckPartyHP
|/echo in HPloop


/delay 0
/doevents

/if (${Me.CurrentHPs}<40) {
/keypress esc
/keypress f1
/echo Healing Me!
/call cast "Divine Light"

}

/if (${Me.CurrentHPs}<20) {
/echo Divine Aura on!
/call cast "Divine Barrier"

}


/if (${Spawn[${PLTARGET}].Pet.ID}) {
/Varset MAINPET ${Spawn[${PLTARGET}].Pet.ID}
/if (${Spawn[${MAINPET}].CurrentHPs}<30) {
/sit off
/target ID ${MAINPET}
/echo Healing ${Spawn[${MAINPET}].Name}
/call cast "Divine Light"

}
}


/for GMember 1 to ${Group} 
|/echo  ${Group[${GMember}].Name} ${Group[${GMember}].CurrentHPs}
/if (${Group[${GMember}].CurrentHPs}<60) {
/sit off
/target pc  ${Group[${GMember}].Name}
/echo Healing ${Group[${GMember}].Name}
/call cast "Divine Light"

}

/next GMember



/return



sub CheckMyBuffs
/call CheckMyBuff "Armor of the Faithful"
/call CheckMyBuff "Shield of Words"
/call CheckMyBuff "Blessing of Faith"
/call CheckMyBuff1 "Heroism"
/call CheckMyHoss

/return


sub CheckMyBuff(SpellName)

/if (!${Me.Buff[${SpellName}].ID}) {
/keypress f1
/if (${Me.State.Equal[SIT]}) /sit 
 /call cast "${SpellName}"
/if (!${Me.State.Equal[SIT]}) /sit 
/keypress esc
}

/return



sub CheckMyBuff1(SpellName)


/if (!${Me.Buff[${SpellName}].ID}) {
	/keypress f1
	/if (${Me.State.Equal[SIT]}) /sit 
	/call cast "${SpellName}"
	/if (!${Me.State.Equal[SIT]}) /sit 
	/keypress esc


	/if (${Spawn[${PLTARGET}].Pet.ID}) {
		/Varset MAINPET ${Spawn[${PLTARGET}].Pet.ID}
		/target ID ${MAINPET}
		/if (${Me.State.Equal[SIT]}) /sit 
		 /call cast "${SpellName}"
		/if (!${Me.State.Equal[SIT]}) /sit 

		}

}




/return


sub ASSISTLOOP
/sit off
:ALOOP



/call CheckPartyHP

/call CheckMyBuffs


/if (!${Spawn[${CRITTER}].State.Equal[DEAD]}) /goto :ALOOP

/Varset MYSTATUS "WAIT"

/return





Sub Event_RELOADNOW


/1 Reloading
/macro BasicC1

/Return

Sub Event_FOLLOWME

/target ${PLTARGET}
/stick

/Return

Sub Event_STOPHERE

/stick off

/Return

Sub Event_TEMPGONE

/stick off
/target pc ${PLTARGET}
/call Cast "Temperance"

/Return

sub CheckMyHoss


/if (!${Me.Buff["Summon Drogmor"].ID}) {

/sit off
/itemnotify ${FindItem[drum].InvSlot} rightmouseup
 
}



/return


Sub Event_QUITNOW


/1 QUITING
/sit off
/sit
/camp desktop

/Return


Sub Event_AssistMe



/Varset MYSTATUS "ASSIST"
/Target ${PLTARGET}
/delay 1s
/assist 
/delay 1s
|/pet attack
/varset CRITTER ${Target.ID}


/Return




s16z
a ghoul
a ghoul
Posts: 97
Joined: Thu Apr 01, 2004 12:03 pm

Post by s16z » Fri May 28, 2004 5:14 pm

Maybe you should re-read what this forum is for, back there, when you selected it, it said:

Macro Requests
Have a macro idea but not sure where to start? Ask here.

Not "Everyone here is just waiting for you to come up with an idea so they can slave over making it on the off chance that you might give them the slightest praise".

devestator
a ghoul
a ghoul
Posts: 121
Joined: Thu Feb 27, 2003 4:25 pm

Post by devestator » Fri May 28, 2004 11:28 pm

Advbot will autoheal out of group if you add the player to the watch list but I dont believe it will autorebuff. I dont think it would be a hard change to make it autorebuff out of group though since it does it for in group already.

VirusX
orc pawn
orc pawn
Posts: 14
Joined: Sun May 16, 2004 7:52 pm

Re: Simple PL script

Post by VirusX » Sat May 29, 2004 1:55 am

Javelinl , thanks for the help.

I didnt ask for someone to "slave" over a hot CPU to make a mac so I can PL. I simply asked if there was a mac specifically for PLing not group or raid auto heals which is basically all i have seen in the depot. Now If that is warrant for flaming me because you have nothing better to do then so be it. Thank you for those who posted helpful information.

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Re: PL Mac

Post by Fuergrissa » Mon May 31, 2004 4:38 am

VirusX wrote:I was wondereing if there in an alternative to the genbot mac for a PL'er. I have a druid so end up pling a lot and wondered if there was a mac to autoheal and buff when their buffs run out so I can do a couple things while their killing and I dont die. hehe, thx for your time.
I know Genbot is a bit daunting to look at for the first time but i assure you it is ONE of the best for pling any class with a healer class, once you get used to it you will use it all the time, download all the files and you only have to make a few changes to the ini that is created for you.
change this to get it working for you

Code: Select all

[CORE]

ListenGroup=0

SitAfterCast=1

ReportLom=1
LomMsg=Warning LOW on MANA

SelfBuffList=Skin Like Nature|Chloroplast|spirit of wolf

[Healer]
IsHealer=1

ReportAutoHeal=1
HealPets=1
PatchHealer=0
TankSpell=Greater healing
CasterSpell=Greater healing
DefaultHealSpell=Greater healing
PetSpell=Greater healing

CasterPctHeal=70
TankPctHeal=51
PetPctHeal=51

Then when you start , issue /t bot buff "Spell" on me and it will auto rebuff you and if your not in same group issue this /t BOT watchtarget me to keep an eye on your health.
[quote]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."[/quote]

VirusX
orc pawn
orc pawn
Posts: 14
Joined: Sun May 16, 2004 7:52 pm

Thank you

Post by VirusX » Mon May 31, 2004 5:15 pm

Thank you very much Fuergrissa for your help..