Jump to content

TheSmokie

Banned
  • Posts

    1215
  • Joined

Posts posted by TheSmokie

  1. 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());
      }

     

  2. the code @Droidz work for some achs, not all. this works for all achs

    public static bool Achievement(int achievementID, int index)
        {
            bool haveAchievement = Lua.LuaDoString<bool>("local achievementID = " + achievementID + "; local indexCriteria = " + index +"; local achievementInfo = {GetAchievementInfo(achievementID)}; if achievementInfo[4] then return achievementInfo[4] end local achCriteriaInfo = {GetAchievementCriteriaInfo(achievementID, indexCriteria)}; return achCriteriaInfo[3];");
            return haveAchievement;
        }

     

×
×
  • Create New...