Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

  • ObjectManager.Me.PlayerRace returns 35


    Ordush
    • 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")
        Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage('Yes')");
    else
        Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage('No')");
    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

    Share this comment


    Link to comment
    Share on other sites

    Hey, I do not find the message but it seems to me that I had already reported this problem, but it seemed to be only on "home" servers (on large servers no bug).

    Share this comment


    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.

    Guest
    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...