Jump to content
  • WRobot Spell Casting "英勇打击" Language Issue


    WRobot Spell Casting Language Issue

    Problem Description

    I'm experiencing an issue with the WRobot bot where it's detecting spell names in Chinese characters (simplified Chinese), even though my game client is set to English. This causes spells not to be cast properly during combat.

    Technical Details

    • When the bot tries to cast spells during combat, the log shows Chinese characters instead of English spell names.
    • Example from logs: [Spell] Cast 英勇打击 (Heroic Strike)
    • The bot seems to recognize the English name in parentheses but still tries to cast using the Chinese characters.
    • Because of this language mismatch, the spells fail to cast properly and combat functionality is broken.

    What I've Tried

    • I've attempted to implement a plugin that intercepts spell casting events and replaces them with direct /cast commands using the English spell names.
    • I've tried several versions of this plugin with different approaches (event hooks, log monitoring).
    • The plugins compile correctly but the issue persists - the bot continues to detect spells in Chinese.

    Log Sample

    14:32:52 - [Fight] Player Attack Small Crag Boar (lvl 3)
    [F] 14:33:00 - [Spell] Cast 英勇打击 (Heroic Strike)
    [F] 14:33:00 - [Spell] Cast 英勇打击 (Heroic Strike)
    [F] 14:33:01 - [Spell] Cast 英勇打击 (Heroic Strike)
    

    Request

    I need assistance to:

    1. Fix the language detection so the bot uses English spell names instead of Chinese
    2. OR provide a working plugin that can properly intercept the Chinese spell names and replace them with English commands
    3. OR guide me on how to modify game or bot configuration files to ensure consistent language detection

    Thank you for your assistance.



    User Feedback

    Recommended Comments

    Lilalm

    Posted

    Yes, I have tested both plugin scripts that you suggested, but I'm still experiencing the same problem with spells being displayed in Chinese. Here's an example of the logs I'm still getting:

    [F] 19:32:58 - [Spell] Cast 霜甲术 (Frost Armor)
    [F] 19:32:58 - [Spell] Cast 霜甲术 (Frost Armor)
    [F] 19:32:59 - [Spell] Cast 霜甲术 (Frost Armor)
    

    As you can see, despite using the plugins, the spell names continue to display in Chinese (霜甲术) even though the English name appears in parentheses.

    I've also tried modifying my fight classes (Warrior and Mage) to work around this issue by using direct Lua commands to cast spells, but this hasn't resolved the Chinese detection problem.

    I'm attaching the scripts I've tested below. If you have any other suggestions or solutions, I'd be grateful to hear them.

     

    Thank you for your assistance.

    CastSpellByName to Cast Macro (2).cs Main (1).cs

    robot1992

    Posted

    16 hours ago, Droidz said:

    Could you please share the full log file of the session where you encountered the issue (with plugin activated)?
    You can find instructions on how to post your log file here: https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/

     

    The problem is the multilingual in `Spell.dbc`.

    the wow client is en-US, but the spell.dbc has multilanguage.

    if I clear the Name_deDE, the problem is gone. 

    So the problem is that the skill names read by WR aren't being fetched according to the client's actual language.

    image.png.09e4bc1fa4dec4a529007cf8429284d6.png

     

    image.png.2526ff03d0d8a8cd8511fdb43234f7ae.png



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...