Pudge 24 Posted December 8, 2020 Share Posted December 8, 2020 Hi all, please tell me if anyone knows what code I need to use to get the name of the account on which the bot is running? I need several bots on the same account to somehow understand that they are on the same account. I do not know something like a CML file with the account name, so that several characters use the settings for the account on which they (these characters) are. The problem is that I do not know how to get the account name from the relogger or using Lua... Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/ Share on other sites More sharing options...
TheSmokie 242 Posted December 8, 2020 Share Posted December 8, 2020 (edited) Hey @pudge, While i was looking to help you, I've looking into offsets that does what you asking, this works, I tested it on my account and it returned the name. enjoy. Note : i only ran in dev tools. var accountName = wManager.Wow.Memory.WowMemory.Memory.ReadStringUTF8(0x10D7914); if(!string.IsNullOrEmpty(accountName)) { Logging.Write(accountName.ToString()); } Edited December 8, 2020 by TheSmokie Pudge 1 Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/#findComment-60805 Share on other sites More sharing options...
Pudge 24 Posted December 8, 2020 Author Share Posted December 8, 2020 Thank you very much, you helped me a lot ? Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/#findComment-60806 Share on other sites More sharing options...
TheSmokie 242 Posted December 8, 2020 Share Posted December 8, 2020 Your Welcome, Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/#findComment-60807 Share on other sites More sharing options...
Pudge 24 Posted December 9, 2020 Author Share Posted December 9, 2020 23 hours ago, TheSmokie said: Hey @pudge, While i was looking to help you, I've looking into offsets that does what you asking, this works, I tested it on my account and it returned the name. enjoy. Note : i only ran in dev tools. var accountName = wManager.Wow.Memory.WowMemory.Memory.ReadStringUTF8(0x10D7914); if(!string.IsNullOrEmpty(accountName)) { Logging.Write(accountName.ToString()); } this code does'nt always return the account name =( need a 100% method, otherwise you get something like this... Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/#findComment-60816 Share on other sites More sharing options...
TheSmokie 242 Posted December 9, 2020 Share Posted December 9, 2020 What patch you using? These offset is for worlk Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/#findComment-60817 Share on other sites More sharing options...
Pudge 24 Posted December 9, 2020 Author Share Posted December 9, 2020 3 minutes ago, TheSmokie said: worlk 3.3.5а recently checked and the code worked, now returns nothing Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/#findComment-60818 Share on other sites More sharing options...
TheSmokie 242 Posted December 9, 2020 Share Posted December 9, 2020 Try this, var accountName = wManager.Wow.Memory.WowMemory.Memory.ReadStringUTF8(0x10D7914); Logging.Write(accountName.ToString()); Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/#findComment-60819 Share on other sites More sharing options...
TheSmokie 242 Posted December 9, 2020 Share Posted December 9, 2020 My bad, forgot to provide the right offsets, 0xB6AA40 79135 1 Link to comment https://wrobot.eu/forums/topic/12721-get-account-name/#findComment-60820 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now