[C#][Copy/Pasta] Skills Rank Informations menu

User Tag List

Results 1 to 6 of 6
  1. #1
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C#][Copy/Pasta] Skills Rank Informations

    Hey,

    I mainly does that because Tanaris4 wanted it, and I love him in secret, and because Nesox posted some dump about skill line.

    Code:
                private short CGPlayer_C__GetSkillValue(int Index)
                {
         
                    UInt32 This = ObjectManager.ObjectManager.Me.BaseAddress;
                    uint v4 = This;
         
                    uint v8 = Memory.ReadUInt(v4 + 0x1008);
         
                    short result = Memory.ReadShort(v8 + 4 * (3 * (uint)Index + 0x1E9));
         
                    return result;
         
                }
         
                private short CGPlayer_C__GetSkillMaxRank(int Index)
                {
         
                    UInt32 This = ObjectManager.ObjectManager.Me.BaseAddress;
                    uint v4 = This;
    				
                    uint v8 = Memory.ReadUInt(v4 + 0x1008) + 12 * (uint)Index;
         
                    short result = Memory.ReadShort(v8 + 0x7A6);
         
                    return result;
         
                }
         
                private int CGPlayer_C__GetSkillIndexById(int Id)
                {
         
                    UInt32 This = ObjectManager.ObjectManager.Me.BaseAddress;
                    uint v9 = This;
                    uint v2 = 0;
                    uint v10 = 0;
                    int result = -1;
         
                    do
                    {
         
                        int v7 = Memory.ReadShort(Memory.ReadUInt(v9 + 0x1008) + v2 + 0x7a0);
         
                        if (v7 == Id)
                        {
                            result = (int)v10;
                            break;
                        }
         
                        ++v10;
                        v2 += 12;
         
                    }
                    while (v2 < 0x600);
         
                    return result;
         
                }
    And the enums from Nesox :

    Code:
            public enum SkillLine
            {
                Frost = 6,
                Fire = 8,
                Arms = 26,
                Combat = 38,
                Subtlety = 39,
                Swords = 43,
                Axes = 44,
                Bows = 45,
                Guns = 46,
                BeastMastery = 50,
                HunterSurvival = 51,
                Maces = 54,
                TwoHandedSwords = 55,
                Holy = 56,
                ShadowMagic = 78,
                Defense = 95,
                LanguageCommon = 98,
                DwarvenRacial = 101,
                LanguageOrcish = 109,
                LanguageDwarven = 111,
                LanguageDarnassian = 113,
                LanguageTaurahe = 115,
                DualWield = 118,
                TaurenRacial = 124,
                OrcRacial = 125,
                NightElfRacial = 126,
                FirstAid = 129,
                FeralCombat = 134,
                Staves = 136,
                LanguageThalassian = 137,
                LanguageDraconic = 138,
                LanguageDemonTongue = 139,
                LanguageTitan = 140,
                LanguageOldTongue = 141,
                Survival = 142,
                HorseRiding = 148,
                WolfRiding = 149,
                TigerRiding = 150,
                RamRiding = 152,
                Swimming = 155,
                TwoHandedMaces = 160,
                Unarmed = 162,
                Marksmanship = 163,
                Blacksmithing = 164,
                Leatherworking = 165,
                Alchemy = 171,
                TwoHandedAxes = 172,
                Daggers = 173,
                Thrown = 176,
                Herbalism = 182,
                Retribution = 184,
                Cooking = 185,
                Mining = 186,
                PetImp = 188,
                PetFelhunter = 189,
                Tailoring = 197,
                Engineering = 202,
                PetSpider = 203,
                PetVoidwalker = 204,
                PetSuccubus = 205,
                PetInfernal = 206,
                PetDoomguard = 207,
                PetWolf = 208,
                PetCat = 209,
                PetBear = 210,
                PetBoar = 211,
                PetCrocolisk = 212,
                PetCarrionBird = 213,
                PetCrab = 214,
                PetGorilla = 215,
                PetRaptor = 217,
                PetTallstrider = 218,
                RacialUndead = 220,
                Crossbows = 226,
                Wands = 228,
                Polearms = 229,
                PetScorpid = 236,
                Arcane = 237,
                PetTurtle = 251,
                Assassination = 253,
                Fury = 256,
                Protection = 257,
                Protection2 = 267,
                PetGenericHunter = 270,
                PlateMail = 293,
                LanguageGnomish = 313,
                LanguageTroll = 315,
                Enchanting = 333,
                Demonology = 354,
                Affliction = 355,
                Fishing = 356,
                Enhancement = 373,
                ShamanRestoration = 374,
                ElementalCombat = 375,
                Skinning = 393,
                Mail = 413,
                Leather = 414,
                Cloth = 415,
                Shield = 433,
                FistWeapons = 473,
                RaptorRiding = 533,
                MechanostriderPiloting = 553,
                UndeadHorsemanship = 554,
                Restoration = 573,
                Balance = 574,
                Destruction = 593,
                DruidHoly = 594,
                Discipline = 613,
                Lockpicking = 633,
                PetBat = 653,
                PetHyena = 654,
                PetBirdofPrey = 655,
                PetWindSerpent = 656,
                LanguageGutterspeak = 673,
                KodoRiding = 713,
                RacialTroll = 733,
                RacialGnome = 753,
                RacialHuman = 754,
                Jewelcrafting = 755,
                BloodElfRacial = 756,
                PetEventRemoteControl = 758,
                LanguageDraenei = 759,
                DraeneiRacial = 760,
                PetFelguard = 761,
                Riding = 762,
                PetDragonhawk = 763,
                PetNetherRay = 764,
                PetSporebat = 765,
                PetWarpStalker = 766,
                PetRavager = 767,
                PetSerpent = 768,
                Internal = 769,
                DkBlood = 770,
                DkFrost = 771,
                DkUnholy = 772,
                Inscription = 773,
                PetMoth = 775,
                Runeforging = 776,
                Mounts = 777,
                Companions = 778,
                PetExoticChimaera = 780,
                PetExoticDevlisaur = 781,
                PetGhoul = 782,
                PetExoticSilithid = 783,
                PetExoticWorm = 784,
                PetWasp = 785,
                PetExoticRhino = 786,
                PetExoticCoreHound = 787,
            }

    [C#][Copy/Pasta] Skills Rank Informations
  2. #2
    mnbvc's Avatar Banned
    Reputation
    120
    Join Date
    Jul 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    simply returning the struct is easier :P

  3. #3
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mnbvc View Post
    simply returning the struct is easier :P
    You are right, I don't messed more with, just opened IDA and convert the shit to C#

  4. #4
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice! Just FYI, +0x1008 is actually player descriptors.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  5. #5
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just to point it out; this is the struct used in the descriptors for the player skills;

    Code:
    struct PlayerSkillInfo
    {
        WORD Id;
        WORD SkillStep;
        WORD Value;
        WORD MaxValue;
        int16 Modifier;
        WORD Bonus;
    }
    That should make life much easier

  6. #6
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks that make definitely less code now

Similar Threads

  1. [C#][Copy/Pasta] Macros
    By JuJuBoSc in forum WoW Memory Editing
    Replies: 0
    Last Post: 08-18-2010, 05:52 PM
  2. [C#][Copy/Pasta] Keybindings
    By JuJuBoSc in forum WoW Memory Editing
    Replies: 2
    Last Post: 08-18-2010, 04:06 PM
  3. [C#][Copy/Pasta] Out of process DBC reading
    By Apoc in forum WoW Memory Editing
    Replies: 51
    Last Post: 08-16-2010, 02:19 PM
  4. Replies: 47
    Last Post: 03-09-2010, 11:25 AM
All times are GMT -5. The time now is 06:42 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search