Macro Help

12/22/2008 19:58 DarkSage2#1
I was wondering if someone would be willing to help with a macro if its possible. What I want to do is Target the same target as a party member. I actually kinda new to macro's so I really dont know where to begin. Heres a list of the Client Commands. Any help would be appreciated.

GetTipText
SetHyperinkCursor
CheckPasswordState
PasswordConfirm
ResetUI
RotateCamera
GetCameraUpVector
GetCameraPosition
GetCameraMoveTime
SetCameraUpVector
SetTargetCamera
SetCameraMoveTo
IsEnterWorld
GetPlayTimeQuota
SetLastAccountState
GetLastAccountState
GetSelectedRealmState
SetSelectedRealmState
TakeScreenshot
PlayerDuelState
CancelDuel
AcceptDuel
StartDuelUnit
ResetTutorialTrigger
TargetNearestFriend
TargetNearestEnemy
ToggleSheath
ToggleRun
ToggleAutoRun
Jump
SirOrStand
StrageLeftStop
StrageLeftStart
StrageRightStop
StrageRightStart
TurnRightStop
TurnLeftStart
MoveBackwardStop
MoveBackwardStart
PlaySoundByPath
BirthRevive
UseSelfRevive
HasSelfRevive
DeleteCursorItem
CursorHasItem
DropItemOnUnit
GetScreenHeight
GetScreenWidth
GetZoneID
GetMouseMoveOffset
GetPlayerMoney
GetPlayerExp
GetPlayerPosition
GetPing
GetTime
GetFramerate
GetUIScale
Logout
GetLocation
CloseBooty
ClickBootyItem
GetBootyItemLink
SetLootMethod
GetLootMethod
GetMacroInfo
HasMacro
GetNumMacroIcons
EditMacro
PickupMacroItem
GetInventorySlotInfo
GetInventoryItemCount
GetInventoryItemQuality
GetInventoryItemDurable
GetTargetHateList
UnitDistance
UnitMaster
UnitWorld
UnitTitle
UnitCanAttack
UnitClassTargetIsTransmits
DebugMessageFrame
DebugGetNumber
DebugGetString
DebutGetFont
DebutGetButton
Debug
CreateMacroMaintainFrame
ManualInterface
GetZoneMap
InitializeMiniMap
PingerName
GameTooltip
GetCurrentGameTime
SetMinimapShowOption
GetMinimapShowOption
GetMinimapPingPosition
SetMinimapPingPosition
WorldMap_AddIcon
WorldMap_ClearIcon
GetZoneLocalName
GetZoneEnglishName
GetPlayerWorldMapPos
UseSkill
GetSkillDetail
CreateCraftItem
GetMaxCraftItem
HateFriend
BadFriend
Friend
UnitDebuffLeftTime
UnitBuff
UnitBuffLeftTime
UnitSkillType
UnitManaType
UnitIsDeadOrGhos
12/23/2008 00:37 mattt89#2
just use your F key when u have a party member targeted and hit f it switchs to the mob there killing if u want the macro its /script AssistUnit("party1"); change the number for the person in your group. I believe this is the right one let me no if it works.
12/23/2008 12:11 eldorithna#3
1st, thx DarkSage2 for that list.

But iam interested in, where i may find the available commands.
Are their local files within the Client folder?

Or must we thrust into the WoW API? (i don't think that all LUA based games have the same "script/ macro command"?)

thx for help

eldo
12/23/2008 12:53 Atheuz#4
Quote:
Originally Posted by eldorithna View Post
1st, thx DarkSage2 for that list.

But iam interested in, where i may find the available commands.
Are their local files within the Client folder?

Or must we thrust into the WoW API? (i don't think that all LUA based games have the same "script/ macro command"?)

thx for help

eldo
Those are the avaible commands (There are even more, such like WorldMap_AutoMove, SetTrackPlayerName etc).
What's missing are the arguments to it, which can be either found by testing or debugging. Anyway, you can find those by opening the client.exe in ollydbg, hexeditor or anything else.
12/23/2008 14:17 deutschf3#5
Quote:
Originally Posted by Atheuz View Post
Those are the avaible commands (There are even more, such like WorldMap_AutoMove, SetTrackPlayerName etc).
What's missing are the arguments to it, which can be either found by testing or debugging. Anyway, you can find those by opening the client.exe in ollydbg, hexeditor or anything else.

Just 5 seconds of work and half of thus stuff is useless at all. But nvm; some of them are pretty useful. ;)
12/23/2008 22:42 DarkSage2#6
Quote:
Originally Posted by mattt89 View Post
just use your F key when u have a party member targeted and hit f it switchs to the mob there killing if u want the macro its /script AssistUnit("party1"); change the number for the person in your group. I believe this is the right one let me no if it works.

yea I couldnt seem to get that to work but i didnt mees with to much let me know if u think of anything else

Edit: Yea I played around with it some more got em to work you can use /script AssitUnit("target") or /script AssitUnit("party1") ect ect thanks for the help
12/23/2008 22:43 DarkSage2#7
Quote:
Originally Posted by eldorithna View Post
1st, thx DarkSage2 for that list.

But iam interested in, where i may find the available commands.
Are their local files within the Client folder?

Or must we thrust into the WoW API? (i don't think that all LUA based games have the same "script/ macro command"?)

thx for help

eldo

Everything is pretty much the same as WoW they havent released the API yet
12/24/2008 10:18 eldorithna#8
Quote:
Originally Posted by DarkSage2 View Post
Everything is pretty much the same as WoW they havent released the API yet
ok..
iam sorry ( i played WoW just 1 month, some years ago...) and so i dont know how to run an "endless" script with that api.

It seems clear to me how to write the ingame "bot" functions (/script ... and so on),
but will these script run endless with while loops, or is there an timeout for scripts / functions (started via "macro" button)?
So shall an bot better be realized via "addon"?
Sorry but im newbie with that api, and dont have alot of time to test evrything Oo
-sorry
eldo
12/25/2008 14:43 DarkSage2#9
Quote:
Originally Posted by eldorithna View Post
ok..
iam sorry ( i played WoW just 1 month, some years ago...) and so i dont know how to run an "endless" script with that api.

It seems clear to me how to write the ingame "bot" functions (/script ... and so on),
but will these script run endless with while loops, or is there an timeout for scripts / functions (started via "macro" button)?
So shall an bot better be realized via "addon"?
Sorry but im newbie with that api, and dont have alot of time to test evrything Oo
-sorry
eldo
You need to run two macros for an endless script something like this:

First Macro
/script UseAction(1)
/wait 1.5
/script UseAction(your hot key for second macro)

Second Macro
/wait .5
/script UseAction(your hot key for your first macro)