Harvest Golem 17 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... Quote Link to post Share on other sites
TheSmokie 232 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 Harvest Golem 1 Quote Link to post Share on other sites
Harvest Golem 17 Posted December 8, 2020 Author Share Posted December 8, 2020 Thank you very much, you helped me a lot 😄 Quote Link to post Share on other sites
TheSmokie 232 Posted December 8, 2020 Share Posted December 8, 2020 Your Welcome, Quote Link to post Share on other sites
Harvest Golem 17 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... Quote Link to post Share on other sites
TheSmokie 232 Posted December 9, 2020 Share Posted December 9, 2020 What patch you using? These offset is for worlk Quote Link to post Share on other sites
Harvest Golem 17 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 Quote Link to post Share on other sites
TheSmokie 232 Posted December 9, 2020 Share Posted December 9, 2020 Try this, var accountName = wManager.Wow.Memory.WowMemory.Memory.ReadStringUTF8(0x10D7914); Logging.Write(accountName.ToString()); Quote Link to post Share on other sites
TheSmokie 232 Posted December 9, 2020 Share Posted December 9, 2020 My bad, forgot to provide the right offsets, 0xB6AA40 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.