Jump to content
  • ObjectManager.Me.PlayerRace returns 35

    • Product: WRobot General Type: Bug Status: Unconfirmed

    Hey Droidz for some reason ObjectManager.Me.PlayerRace returns 35 no matter what race you are in TBC. Not sure what is going on lol

    User Feedback

    Recommended Comments

    ObjectManager.Me.PlayerRaceString returns "Unknown"

    I obviously did a fresh wrobot install before coming here. 🙂

    Edit: This is very odd, on another server it returns the race.
    But on my own CMangos Server it returns those numbers. 😮
    Edit: If I do Logging.Write(Lua.LuaDoString<string>("return UnitRace('player')"));
    It writes: Tauren#||#Tauren
    in the log.
    If I write Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage(UnitRace('player'))");
    it does write Tauren in the chat.
    If I do:
    if (Lua.LuaDoString<string>("return UnitRace('player')") == "Tauren#||#Tauren")
    It does write Yes in the chat. lol this is too weird.
    Edit: I did try using the same wow folder that is connecting to another private tbc server where this is not the case.

    Edited by Ordush
    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...