Get own ID?
Get own ID?
Hey guys and experts
rock, lisa how can I get the players id?
NPC's and objects can be readed in runsdatabase, but I dont know how to get the players id (own or target player)
Is it possible, when yes: how?
thx in advance
rock, lisa how can I get the players id?
NPC's and objects can be readed in runsdatabase, but I dont know how to get the players id (own or target player)
Is it possible, when yes: how?
thx in advance
Re: Get own ID?
players ID is 1001
I think you might be after the address?
I think you might be after the address?
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Get own ID?
I think there are 4 player id depending on race and sex. I think it's 1001 to 1004.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Get own ID?
Maybe he's looking for the GUID (Global Unique Identifier) instead?
Re: Get own ID?
Of course, Admin - thats what I'm looking for.
It could be realized with API's UPDATE_MOUSEOVER_UNIT (arg1,arg2) or UNIT_TARGET_CHANGED but I dont know how exactly?
In WoW it was easier using UnitGUID("target"), but here in rom I'm out of basics to create something like that.
May U know, admin, rock, lisa?
PS: I've tried this one /run DEFAULT_CHAT_FRAME:AddMessage(UnitGUID("player"))
but I get a variable number depending on the zone and the number was something between 50 - 3000.
I know the GUID must be something above 130.000 - so back to beginning
It could be realized with API's UPDATE_MOUSEOVER_UNIT (arg1,arg2) or UNIT_TARGET_CHANGED but I dont know how exactly?
In WoW it was easier using UnitGUID("target"), but here in rom I'm out of basics to create something like that.
May U know, admin, rock, lisa?
PS: I've tried this one /run DEFAULT_CHAT_FRAME:AddMessage(UnitGUID("player"))
but I get a variable number depending on the zone and the number was something between 50 - 3000.
I know the GUID must be something above 130.000 - so back to beginning
Re: Get own ID?
you mean you want
?
Code: Select all
player.GUID
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Get own ID?
Yes lisa, thats what i mean
player GUID and target GUID, well formated such like the npc format XXXXXX i.e. 104146 for Mendoza Ayekin
player GUID and target GUID, well formated such like the npc format XXXXXX i.e. 104146 for Mendoza Ayekin
Re: Get own ID?
I think you are getting confused.
mobs and NPC have an Id, in your example the Id of Mendoza Ayekin is 104146.
You can get the target's Id by using
and then point your mouse at any object/npc/mob and the ID will be on micromacro window.
If you were trying to use the Id in code then you use it like this.
after you have targeted something then
then the id is
If I knew what you were trying to do it would be a lot easier to help you.
mobs and NPC have an Id, in your example the Id of Mendoza Ayekin is 104146.
You can get the target's Id by using
Code: Select all
rom/getid.lua
If you were trying to use the Id in code then you use it like this.
after you have targeted something then
Code: Select all
target = player:getTarget();
Code: Select all
target.Id
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Google [Bot] and 4 guests