rootuser 0 Posted January 6 Share Posted January 6 When using fight profiles or using the fishbot, the spells it's trying to cast are in what looks to be Chinese? How can I force it to English? It wont trigger the spell. Thank you. From the log: [Spell] Cast 钓鱼 (Fishing) Link to comment https://wrobot.eu/forums/topic/15588-wrong-wow-language/ Share on other sites More sharing options...
rootuser 0 Posted January 6 Author Share Posted January 6 Ah, okay, so I'm using the wow_tweaked.exe which wrobot detects the game as Chinese, using the original exe changes the game to english. Bummer. Can I force wrobot to see an english client? Thank you. Link to comment https://wrobot.eu/forums/topic/15588-wrong-wow-language/#findComment-69824 Share on other sites More sharing options...
ssuueemmaa 0 Posted January 6 Share Posted January 6 Having the same issue. Can't seem to crack down a solution. Need help Link to comment https://wrobot.eu/forums/topic/15588-wrong-wow-language/#findComment-69826 Share on other sites More sharing options...
Droidz 2748 Posted January 10 Share Posted January 10 Hello, try this plugin : using System.Linq; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.Events.OnCustomEvent += (eventName, args, cancelEvent) => { try { if (eventName =="SpellManager.CastSpellByNameOn" && args != null && args.Length == 2 && args[0] != null && args[0] is string && args[1] != null && args[1] is string) { var spellName = (string)args[0]; var luaUnitId = (string)args[1]; var spell = SpellManager.SpellBook().FirstOrDefault(s => s.NameInGame == spellName); if (spell != null) { var englishSpellName = spell.Name; if (!string.IsNullOrWhiteSpace(englishSpellName)) { Lua.LuaDoString(string.Format("CastSpellByName('{0}', '{1}');", englishSpellName.Replace("'", @"\'"), luaUnitId.Replace("'", @"\'"))); cancelEvent.Cancel = true; } } } } catch{} }; } public void Dispose() { } public void Settings() { } } Main.cs rootuser 1 Link to comment https://wrobot.eu/forums/topic/15588-wrong-wow-language/#findComment-69837 Share on other sites More sharing options...
rootuser 0 Posted January 11 Author Share Posted January 11 Works! Thank you! Link to comment https://wrobot.eu/forums/topic/15588-wrong-wow-language/#findComment-69843 Share on other sites More sharing options...
Skemez 10 Posted January 13 Share Posted January 13 On 1/10/2025 at 6:48 AM, Droidz said: Hello, try this plugin : using System.Linq; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.Events.OnCustomEvent += (eventName, args, cancelEvent) => { try { if (eventName =="SpellManager.CastSpellByNameOn" && args != null && args.Length == 2 && args[0] != null && args[0] is string && args[1] != null && args[1] is string) { var spellName = (string)args[0]; var luaUnitId = (string)args[1]; var spell = SpellManager.SpellBook().FirstOrDefault(s => s.NameInGame == spellName); if (spell != null) { var englishSpellName = spell.Name; if (!string.IsNullOrWhiteSpace(englishSpellName)) { Lua.LuaDoString(string.Format("CastSpellByName('{0}', '{1}');", englishSpellName.Replace("'", @"\'"), luaUnitId.Replace("'", @"\'"))); cancelEvent.Cancel = true; } } } } catch{} }; } public void Dispose() { } public void Settings() { } } Main.cs 1.42 kB · 2 downloads Where would you apply this? Link to comment https://wrobot.eu/forums/topic/15588-wrong-wow-language/#findComment-69848 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