Page 1 of 1

how 2 Get your OWN char name/serial/account name?

Posted: 2004-09-10 23:19:39
by Satistaction
i can´t figure it out =/ i tryed the m_world->get_player()->get_serial for serial and didn´t work...

what i want is, a function that Returns my own Name/Serial/Account...

thank ya in advanced

Posted: 2004-09-11 04:08:40
by Necr0Potenc3
well, do you want your character's name? your character's serial? or your account?

or all of them?

just look at the packet handlers and command handlers and you'll find all the code you need

Posted: 2004-09-11 12:20:09
by Satistaction
All of them

i looked for all handlers before post here
i found how to get OTHER player names... but not mine =/

btw.. i got the ID, now i need just name, account and shard =P

Posted: 2004-09-11 19:58:16
by Yoko
shard/account are not saved in variables
your name you may get for example as
uo.click("self")
wait(2000)
x=uo.getname("self")