[some crappy code] PyMode menu

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 45
  1. #16
    fusspawn's Avatar Member
    Reputation
    5
    Join Date
    May 2008
    Posts
    54
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks that was it.

    Okay running. altho the Graphics Handler really is broken. It breaks terrain rendering at least. Looks like a Z-Order Issue.

    Infact the Graphics libs are broken and need a fix (Circle Test = InstaCrash) Still got a few things to fix in that reguard.

    A few other assorted errors to fix as well.. But mostly working now,

    Screenshot for Proof and probally just to make Kryso happy that someones still working on this and its getting somewhere (That and i guess i better prove that i am actually working on this and not just trying to get sent "Teh Codez")


    [some crappy code] PyMode
  2. #17
    fusspawn's Avatar Member
    Reputation
    5
    Join Date
    May 2008
    Posts
    54
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, Fixed the Terrain Z Issue, And started Fixing the Rendering code, (Lines render fine, Circles have a tendency to crash, but do render just fine pre crash)

    Next up exposing more of wow's Internals to the script engine.


    More Screenies, This time i was playing with the D3D9 Render modes <3

    I always did like wireframe.
    Last edited by fusspawn; 08-10-2010 at 10:05 PM.

  3. #18
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any idea why the AI scripts aren't compiled? I think it's because they are a subclass of ScriptBase instead of Script, but when I changed it, it threw a shitload of errors at me when compiling them. I guess you've had them work Kryso, so any comments?

    Code:
    private void AnalyzeAssembly( Assembly assembly ) {
        Log.WriteLine( "Analyzing assembly '" + assembly.FullName + "'" );
    
        Type[] types = assembly.GetTypes();
        Log.WriteLine( "\tFound " + types.Length + " types" );
        Log.WriteLine();
    
        lock ( SyncRoot ) {
            foreach ( Type type in types ) {
                if ( !type.IsClass || !type.IsSubclassOf( typeof( Script ) ) ) {
                    Log.WriteLine( "\tIgnoring '" + type.FullName + "'" );
                    continue;
                }
    
                toRegister.Enqueue( type );
            }
        }
    
        while (toRegister.Count > 0)
            Thread.Sleep(0);
                
    
        Log.WriteLine();
        Log.WriteLine( "Finished" );
    }

  4. #19
    Kryso's Avatar Active Member
    Reputation
    40
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Compiled? or registered? AI classes aren't registered because they aren't scripts.. they are just some classes containing AI logic. To work with them you need to use them in some script.

    Example: Scripts/TestScript.cs at master from Kryso's PyMode - GitHub
    Tea and cake or death?!

  5. #20
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great! Thanks!

  6. #21
    RedArray's Avatar Corporal
    Reputation
    7
    Join Date
    Nov 2009
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I also got this to work without circles crashing =p


  7. #22
    fusspawn's Avatar Member
    Reputation
    5
    Join Date
    May 2008
    Posts
    54
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How! Seriously, Ive added and managed to get tons of other crap working, But Circles still have me thrown (Not that ive looked hard tbh) not asking for the code, Just a pointer to what you did?

  8. #23
    RedArray's Avatar Corporal
    Reputation
    7
    Join Date
    Nov 2009
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to look at
    Code:
    if (unit.IsAttackable)
    in the circle test.

    I can almost guarantee you didn't update the pointer.

    *EDIT* Also here's the line of sight test working... Click it.
    Last edited by RedArray; 08-16-2010 at 10:28 PM.

  9. #24
    Mc-fly's Avatar Sergeant
    Reputation
    14
    Join Date
    Dec 2009
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did I have any wrong pointers?
    [Spoiler] using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    namespace PyMode.Client {
    public static unsafe class Pointers {
    public static IntPtr Direct3DDevice9 {
    get {
    // 3.3.2: *( ( *( IntPtr** )0x00C776B8 ) + ( 0x397C / IntPtr.Size ) )
    // 3.3.3: *( ( *( IntPtr** )0x00BB672C ) + 0x397C / IntPtr.Size )
    return *((*(IntPtr**)0x00C5DF8 + 0x397C / IntPtr.Size); // 3.3.5
    }
    }

    public static int* ScreenWidth {
    get {
    return *( int** )0x00BB672C + 116;
    }
    }

    public static int* ScreenHeight {
    get {
    return *( int** )0x00BB672C + 117;
    }
    }

    public static IntPtr ActiveCamera {
    get {
    // 3.3.2: *( ( *( float*** )0x00B0D578 ) + 0x7e24 / IntPtr.Size )
    // 3.3.3: *( ( *( float*** )0x00BF2AC4 ) + 0x7e20 / IntPtr.Size )
    return *((*(IntPtr**)0x00B7436C) + 0x7E20 / IntPtr.Size); //3.3.5
    }
    }

    public static IntPtr PerformanceCounter {
    get {
    return new IntPtr(0x0086AE20); //3.3.5
    }
    }

    public static IntPtr TraceLine {
    get {
    return new IntPtr(0x007A3B70); //3.3.5
    }
    }

    public static IntPtr HandleTerrainClick {
    get {
    return new IntPtr(0x00527830); //3.3.5
    }
    }
    }

    public static unsafe class ObjectManagerPointers {
    public static IntPtr EnumVisibleObjects {
    get {
    // 3.3.2: 0x0047B940
    // 3.3.3: 0x0080E460
    return new IntPtr(0x004D4B30); // 3.3.5
    }
    }

    public static IntPtr GetObjectPointer {
    get {
    // 3.3.2: 0x0047BBC0
    // 3.3.3: 0x0080E6E0
    return new IntPtr(0x004D4DB0); //3.3.5
    }
    }

    public static IntPtr GetActivePlayer {
    get {
    // 3.3.2: 0x0047A5C0
    // 3.3.3: 0x0080D130
    return new IntPtr(0x004D3790); //3.3.5
    }
    }

    public static ulong* Party {
    get {
    return ( ulong* )0x00C4FCC8;
    }
    }

    public static int* RaidCount {
    get {
    // 3.3.2: 0x00b70030
    // 3.3.3: 0x00C543E0
    return ( int* )0x00C543E0;
    }
    }

    public static ulong** Raid {
    get {
    // 3.3.2: 0x00B6FF90
    // 3.3.3: 0x00C54340
    return ( ulong** )0x00C54340;
    }
    }

    public static ulong* MouseoverGuid {
    get {
    // 3.3.2: 0x00B695B8
    // 3.3.3: 0x00C4EB38
    return (ulong*)0x00BD07A0; //3.3.5
    }
    }

    public static ulong* FocusGuid {
    get {
    // 3.3.2: 0x00B695E8
    // 3.3.3: 0x00C4EB68
    return ( ulong* )0x00C4EB68;
    }
    }

    public static InstanceDifficulty* InstanceDifficulty {
    get {
    // 3.3.2: 0x00B696AC
    // 3.3.3: 0x00C4EC2C
    return ( InstanceDifficulty* )0x00C4EC2C;
    }
    }
    }

    public static unsafe class FrameScriptPointers {
    public static IntPtr Execute {
    get {
    // 3.3.2: 0x007F25C0
    // 3.3.3: 0x004B32B0
    return new IntPtr(0x00819210); //3.3.5
    }
    }
    }

    public static unsafe class DbcPointers {
    public static IntPtr GetLocalizedRow {
    get {
    return new IntPtr(0x004CFD20); //3.3.5
    }
    }

    public static IntPtr SpellDatabase {
    get {
    return new IntPtr( 0x00A73D98 ); //3.3.35
    }
    }
    }

    public static unsafe class SpellbookPointers {
    public static int* SpellCount {
    get {
    return (int*)0x00A751FC;
    }
    }

    public static int* Spells {
    get {
    return (int*)0x00A73D98;
    }
    }

    public static IntPtr CastSpell {
    get {
    return new IntPtr(0x0080DA40); //3.3.5
    }
    }

    public static IntPtr GetSpellCooldown {
    get {
    return new IntPtr(0x00807980); //3.3.5
    }
    }
    }

    public static unsafe class GameObjectPointers {
    public static int IsAnimating {
    get {
    return 0xbc;
    }
    }
    }

    public static unsafe class UnitPointers {
    public static int AuraCount {
    get {
    return 0xdd0;
    }
    }

    public static int AuraCountEx {
    get {
    return 0xc54;
    }
    }

    public static int AuraTable {
    get {
    return 0xc50;
    }
    }

    public static int AuraTableEx {
    get {
    return 0xc58;
    }
    }

    public static int AuraSize {
    get {
    return 24;
    }
    }

    public static int CurrentSpell {
    get {
    return 0xa6c;
    }
    }

    public static int CurrentChannelSpell {
    get {
    return 0xa80;
    }
    }

    public static IntPtr UnitCanAttack {
    get {
    return new IntPtr( 0x005D1EF0 );
    }
    }
    }

    public static unsafe class MovementPointers {
    public static IntPtr* ActiveInputControl {
    get {
    return (IntPtr*)0x00C24954;
    }
    }

    public static IntPtr Update {
    get {
    return (IntPtr)0x005FBBC0; //3.3.5
    }
    }

    public static IntPtr SetFacing {
    get {
    return new IntPtr(0x004F42A0); //
    }
    }
    }

    // Descriptors: 0x00AD9F58
    public enum ObjectFields {
    OBJECT_FIELD_GUID = 0x0,
    OBJECT_FIELD_TYPE = 0x2,
    OBJECT_FIELD_ENTRY = 0x3,
    OBJECT_FIELD_SCALE_X = 0x4,
    OBJECT_FIELD_PADDING = 0x5,
    //TOTAL_OBJECT_FIELDS = 0x5
    };

    // Descriptors: 0x00AD9FF8
    public enum ItemFields {
    ITEM_FIELD_OWNER = 0x6,
    ITEM_FIELD_CONTAINED = 0x8,
    ITEM_FIELD_CREATOR = 0xA,
    ITEM_FIELD_GIFTCREATOR = 0xC,
    ITEM_FIELD_STACK_COUNT = 0xE,
    ITEM_FIELD_DURATION = 0xF,
    ITEM_FIELD_SPELL_CHARGES = 0x10,
    ITEM_FIELD_FLAGS = 0x15,
    ITEM_FIELD_ENCHANTMENT_1_1 = 0x16,
    ITEM_FIELD_ENCHANTMENT_1_3 = 0x18,
    ITEM_FIELD_ENCHANTMENT_2_1 = 0x19,
    ITEM_FIELD_ENCHANTMENT_2_3 = 0x1B,
    ITEM_FIELD_ENCHANTMENT_3_1 = 0x1C,
    ITEM_FIELD_ENCHANTMENT_3_3 = 0x1E,
    ITEM_FIELD_ENCHANTMENT_4_1 = 0x1F,
    ITEM_FIELD_ENCHANTMENT_4_3 = 0x21,
    ITEM_FIELD_ENCHANTMENT_5_1 = 0x22,
    ITEM_FIELD_ENCHANTMENT_5_3 = 0x24,
    ITEM_FIELD_ENCHANTMENT_6_1 = 0x25,
    ITEM_FIELD_ENCHANTMENT_6_3 = 0x27,
    ITEM_FIELD_ENCHANTMENT_7_1 = 0x28,
    ITEM_FIELD_ENCHANTMENT_7_3 = 0x2A,
    ITEM_FIELD_ENCHANTMENT_8_1 = 0x2B,
    ITEM_FIELD_ENCHANTMENT_8_3 = 0x2D,
    ITEM_FIELD_ENCHANTMENT_9_1 = 0x2E,
    ITEM_FIELD_ENCHANTMENT_9_3 = 0x30,
    ITEM_FIELD_ENCHANTMENT_10_1 = 0x31,
    ITEM_FIELD_ENCHANTMENT_10_3 = 0x33,
    ITEM_FIELD_ENCHANTMENT_11_1 = 0x34,
    ITEM_FIELD_ENCHANTMENT_11_3 = 0x36,
    ITEM_FIELD_ENCHANTMENT_12_1 = 0x37,
    ITEM_FIELD_ENCHANTMENT_12_3 = 0x39,
    ITEM_FIELD_PROPERTY_SEED = 0x3A,
    ITEM_FIELD_RANDOM_PROPERTIES_ID = 0x3B,
    ITEM_FIELD_DURABILITY = 0x3C,
    ITEM_FIELD_MAXDURABILITY = 0x3D,
    ITEM_FIELD_CREATE_PLAYED_TIME = 0x3E,
    ITEM_FIELD_PAD = 0x3F,
    //TOTAL_ITEM_FIELDS = 0x26
    };

    // Descriptors: 0x00AD9FBC
    public enum ContainerFields {
    CONTAINER_FIELD_NUM_SLOTS = 0x6,
    CONTAINER_ALIGN_PAD = 0x7,
    CONTAINER_FIELD_SLOT_1 = 0x8,
    //TOTAL_CONTAINER_FIELDS = 0x3
    };

    // Descriptors: 0x00ADBAB8
    public enum GameObjectFields {
    OBJECT_FIELD_CREATED_BY = 0x6,
    GAMEOBJECT_DISPLAYID = 0x8,
    GAMEOBJECT_FLAGS = 0x9,
    GAMEOBJECT_PARENTROTATION = 0xA,
    GAMEOBJECT_DYNAMIC = 0xE,
    GAMEOBJECT_FACTION = 0xF,
    GAMEOBJECT_LEVEL = 0x10,
    GAMEOBJECT_BYTES_1 = 0x11,
    //TOTAL_GAMEOBJECT_FIELDS = 0x8
    };

    // Descriptors: 0x00ADBB58
    public enum DynamicObjectFields {
    DYNAMICOBJECT_CASTER = 0x6,
    DYNAMICOBJECT_BYTES = 0x8,
    DYNAMICOBJECT_SPELLID = 0x9,
    DYNAMICOBJECT_RADIUS = 0xA,
    DYNAMICOBJECT_CASTTIME = 0xB,
    //TOTAL_DYNAMICOBJECT_FIELDS = 0x5
    };

    // Descriptors: 0x00ADBBC0
    public enum CorpseFields {
    CORPSE_FIELD_OWNER = 0x6,
    CORPSE_FIELD_PARTY = 0x8,
    CORPSE_FIELD_DISPLAY_ID = 0xA,
    CORPSE_FIELD_ITEM = 0xB,
    CORPSE_FIELD_BYTES_1 = 0x1E,
    CORPSE_FIELD_BYTES_2 = 0x1F,
    CORPSE_FIELD_GUILD = 0x20,
    CORPSE_FIELD_FLAGS = 0x21,
    CORPSE_FIELD_DYNAMIC_FLAGS = 0x22,
    CORPSE_FIELD_PAD = 0x23,
    //TOTAL_CORPSE_FIELDS = 0xA
    };

    // Descriptors: 0x00ADA2F0
    public enum UnitFields {
    UNIT_FIELD_CHARM = 0x6,
    UNIT_FIELD_SUMMON = 0x8,
    UNIT_FIELD_CRITTER = 0xA,
    UNIT_FIELD_CHARMEDBY = 0xC,
    UNIT_FIELD_SUMMONEDBY = 0xE,
    UNIT_FIELD_CREATEDBY = 0x10,
    UNIT_FIELD_TARGET = 0x12,
    UNIT_FIELD_CHANNEL_OBJECT = 0x14,
    UNIT_CHANNEL_SPELL = 0x16,
    UNIT_FIELD_BYTES_0 = 0x17,
    UNIT_FIELD_HEALTH = 0x18,
    UNIT_FIELD_POWER1 = 0x19,
    UNIT_FIELD_POWER2 = 0x1A,
    UNIT_FIELD_POWER3 = 0x1B,
    UNIT_FIELD_POWER4 = 0x1C,
    UNIT_FIELD_POWER5 = 0x1D,
    UNIT_FIELD_POWER6 = 0x1E,
    UNIT_FIELD_POWER7 = 0x1F,
    UNIT_FIELD_MAXHEALTH = 0x20,
    UNIT_FIELD_MAXPOWER1 = 0x21,
    UNIT_FIELD_MAXPOWER2 = 0x22,
    UNIT_FIELD_MAXPOWER3 = 0x23,
    UNIT_FIELD_MAXPOWER4 = 0x24,
    UNIT_FIELD_MAXPOWER5 = 0x25,
    UNIT_FIELD_MAXPOWER6 = 0x26,
    UNIT_FIELD_MAXPOWER7 = 0x27,
    UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER = 0x28,
    UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER = 0x2F,
    UNIT_FIELD_LEVEL = 0x36,
    UNIT_FIELD_FACTIONTEMPLATE = 0x37,
    UNIT_VIRTUAL_ITEM_SLOT_ID = 0x38,
    UNIT_FIELD_FLAGS = 0x3B,
    UNIT_FIELD_FLAGS_2 = 0x3C,
    UNIT_FIELD_AURASTATE = 0x3D,
    UNIT_FIELD_BASEATTACKTIME = 0x3E,
    UNIT_FIELD_RANGEDATTACKTIME = 0x40,
    UNIT_FIELD_BOUNDINGRADIUS = 0x41,
    UNIT_FIELD_COMBATREACH = 0x42,
    UNIT_FIELD_DISPLAYID = 0x43,
    UNIT_FIELD_NATIVEDISPLAYID = 0x44,
    UNIT_FIELD_MOUNTDISPLAYID = 0x45,
    UNIT_FIELD_MINDAMAGE = 0x46,
    UNIT_FIELD_MAXDAMAGE = 0x47,
    UNIT_FIELD_MINOFFHANDDAMAGE = 0x48,
    UNIT_FIELD_MAXOFFHANDDAMAGE = 0x49,
    UNIT_FIELD_BYTES_1 = 0x4A,
    UNIT_FIELD_PETNUMBER = 0x4B,
    UNIT_FIELD_PET_NAME_TIMESTAMP = 0x4C,
    UNIT_FIELD_PETEXPERIENCE = 0x4D,
    UNIT_FIELD_PETNEXTLEVELEXP = 0x4E,
    UNIT_DYNAMIC_FLAGS = 0x4F,
    UNIT_MOD_CAST_SPEED = 0x50,
    UNIT_CREATED_BY_SPELL = 0x51,
    UNIT_NPC_FLAGS = 0x52,
    UNIT_NPC_EMOTESTATE = 0x53,
    UNIT_FIELD_STAT0 = 0x54,
    UNIT_FIELD_STAT1 = 0x55,
    UNIT_FIELD_STAT2 = 0x56,
    UNIT_FIELD_STAT3 = 0x57,
    UNIT_FIELD_STAT4 = 0x58,
    UNIT_FIELD_POSSTAT0 = 0x59,
    UNIT_FIELD_POSSTAT1 = 0x5A,
    UNIT_FIELD_POSSTAT2 = 0x5B,
    UNIT_FIELD_POSSTAT3 = 0x5C,
    UNIT_FIELD_POSSTAT4 = 0x5D,
    UNIT_FIELD_NEGSTAT0 = 0x5E,
    UNIT_FIELD_NEGSTAT1 = 0x5F,
    UNIT_FIELD_NEGSTAT2 = 0x60,
    UNIT_FIELD_NEGSTAT3 = 0x61,
    UNIT_FIELD_NEGSTAT4 = 0x62,
    UNIT_FIELD_RESISTANCES = 0x63,
    UNIT_FIELD_RESISTANCEBUFFMODSPOSITIVE = 0x6A,
    UNIT_FIELD_RESISTANCEBUFFMODSNEGATIVE = 0x71,
    UNIT_FIELD_BASE_MANA = 0x78,
    UNIT_FIELD_BASE_HEALTH = 0x79,
    UNIT_FIELD_BYTES_2 = 0x7A,
    UNIT_FIELD_ATTACK_POWER = 0x7B,
    UNIT_FIELD_ATTACK_POWER_MODS = 0x7C,
    UNIT_FIELD_ATTACK_POWER_MULTIPLIER = 0x7D,
    UNIT_FIELD_RANGED_ATTACK_POWER = 0x7E,
    UNIT_FIELD_RANGED_ATTACK_POWER_MODS = 0x7F,
    UNIT_FIELD_RANGED_ATTACK_POWER_MULTIPLIER = 0x80,
    UNIT_FIELD_MINRANGEDDAMAGE = 0x81,
    UNIT_FIELD_MAXRANGEDDAMAGE = 0x82,
    UNIT_FIELD_POWER_COST_MODIFIER = 0x83,
    UNIT_FIELD_POWER_COST_MULTIPLIER = 0x8A,
    UNIT_FIELD_MAXHEALTHMODIFIER = 0x91,
    UNIT_FIELD_HOVERHEIGHT = 0x92,
    UNIT_FIELD_PADDING = 0x93,
    //TOTAL_UNIT_FIELDS = 0x59
    };

    // Descriptors: 0x00ADA9E8
    public enum PlayerFields {
    PLAYER_DUEL_ARBITER = 0x94,
    PLAYER_FLAGS = 0x96,
    PLAYER_GUILDID = 0x97,
    PLAYER_GUILDRANK = 0x98,
    PLAYER_BYTES = 0x99,
    PLAYER_BYTES_2 = 0x9A,
    PLAYER_BYTES_3 = 0x9B,
    PLAYER_DUEL_TEAM = 0x9C,
    PLAYER_GUILD_TIMESTAMP = 0x9D,
    PLAYER_QUEST_LOG_1_1 = 0x9E,
    PLAYER_QUEST_LOG_1_2 = 0x9F,
    PLAYER_QUEST_LOG_1_3 = 0xA0,
    PLAYER_QUEST_LOG_1_4 = 0xA2,
    PLAYER_QUEST_LOG_2_1 = 0xA3,
    PLAYER_QUEST_LOG_2_2 = 0xA4,
    PLAYER_QUEST_LOG_2_3 = 0xA5,
    PLAYER_QUEST_LOG_2_5 = 0xA7,
    PLAYER_QUEST_LOG_3_1 = 0xA8,
    PLAYER_QUEST_LOG_3_2 = 0xA9,
    PLAYER_QUEST_LOG_3_3 = 0xAA,
    PLAYER_QUEST_LOG_3_5 = 0xAC,
    PLAYER_QUEST_LOG_4_1 = 0xAD,
    PLAYER_QUEST_LOG_4_2 = 0xAE,
    PLAYER_QUEST_LOG_4_3 = 0xAF,
    PLAYER_QUEST_LOG_4_5 = 0xB1,
    PLAYER_QUEST_LOG_5_1 = 0xB2,
    PLAYER_QUEST_LOG_5_2 = 0xB3,
    PLAYER_QUEST_LOG_5_3 = 0xB4,
    PLAYER_QUEST_LOG_5_5 = 0xB6,
    PLAYER_QUEST_LOG_6_1 = 0xB7,
    PLAYER_QUEST_LOG_6_2 = 0xB8,
    PLAYER_QUEST_LOG_6_3 = 0xB9,
    PLAYER_QUEST_LOG_6_5 = 0xBB,
    PLAYER_QUEST_LOG_7_1 = 0xBC,
    PLAYER_QUEST_LOG_7_2 = 0xBD,
    PLAYER_QUEST_LOG_7_3 = 0xBE,
    PLAYER_QUEST_LOG_7_5 = 0xC0,
    PLAYER_QUEST_LOG_8_1 = 0xC1,
    PLAYER_QUEST_LOG_8_2 = 0xC2,
    PLAYER_QUEST_LOG_8_3 = 0xC3,
    PLAYER_QUEST_LOG_8_5 = 0xC5,
    PLAYER_QUEST_LOG_9_1 = 0xC6,
    PLAYER_QUEST_LOG_9_2 = 0xC7,
    PLAYER_QUEST_LOG_9_3 = 0xC8,
    PLAYER_QUEST_LOG_9_5 = 0xCA,
    PLAYER_QUEST_LOG_10_1 = 0xCB,
    PLAYER_QUEST_LOG_10_2 = 0xCC,
    PLAYER_QUEST_LOG_10_3 = 0xCD,
    PLAYER_QUEST_LOG_10_5 = 0xCF,
    PLAYER_QUEST_LOG_11_1 = 0xD0,
    PLAYER_QUEST_LOG_11_2 = 0xD1,
    PLAYER_QUEST_LOG_11_3 = 0xD2,
    PLAYER_QUEST_LOG_11_5 = 0xD4,
    PLAYER_QUEST_LOG_12_1 = 0xD5,
    PLAYER_QUEST_LOG_12_2 = 0xD6,
    PLAYER_QUEST_LOG_12_3 = 0xD7,
    PLAYER_QUEST_LOG_12_5 = 0xD9,
    PLAYER_QUEST_LOG_13_1 = 0xDA,
    PLAYER_QUEST_LOG_13_2 = 0xDB,
    PLAYER_QUEST_LOG_13_3 = 0xDC,
    PLAYER_QUEST_LOG_13_5 = 0xDE,
    PLAYER_QUEST_LOG_14_1 = 0xDF,
    PLAYER_QUEST_LOG_14_2 = 0xE0,
    PLAYER_QUEST_LOG_14_3 = 0xE1,
    PLAYER_QUEST_LOG_14_5 = 0xE3,
    PLAYER_QUEST_LOG_15_1 = 0xE4,
    PLAYER_QUEST_LOG_15_2 = 0xE5,
    PLAYER_QUEST_LOG_15_3 = 0xE6,
    PLAYER_QUEST_LOG_15_5 = 0xE8,
    PLAYER_QUEST_LOG_16_1 = 0xE9,
    PLAYER_QUEST_LOG_16_2 = 0xEA,
    PLAYER_QUEST_LOG_16_3 = 0xEB,
    PLAYER_QUEST_LOG_16_5 = 0xED,
    PLAYER_QUEST_LOG_17_1 = 0xEE,
    PLAYER_QUEST_LOG_17_2 = 0xEF,
    PLAYER_QUEST_LOG_17_3 = 0xF0,
    PLAYER_QUEST_LOG_17_5 = 0xF2,
    PLAYER_QUEST_LOG_18_1 = 0xF3,
    PLAYER_QUEST_LOG_18_2 = 0xF4,
    PLAYER_QUEST_LOG_18_3 = 0xF5,
    PLAYER_QUEST_LOG_18_5 = 0xF7,
    PLAYER_QUEST_LOG_19_1 = 0xF8,
    PLAYER_QUEST_LOG_19_2 = 0xF9,
    PLAYER_QUEST_LOG_19_3 = 0xFA,
    PLAYER_QUEST_LOG_19_5 = 0xFC,
    PLAYER_QUEST_LOG_20_1 = 0xFD,
    PLAYER_QUEST_LOG_20_2 = 0xFE,
    PLAYER_QUEST_LOG_20_3 = 0xFF,
    PLAYER_QUEST_LOG_20_5 = 0x101,
    PLAYER_QUEST_LOG_21_1 = 0x102,
    PLAYER_QUEST_LOG_21_2 = 0x103,
    PLAYER_QUEST_LOG_21_3 = 0x104,
    PLAYER_QUEST_LOG_21_5 = 0x106,
    PLAYER_QUEST_LOG_22_1 = 0x107,
    PLAYER_QUEST_LOG_22_2 = 0x108,
    PLAYER_QUEST_LOG_22_3 = 0x109,
    PLAYER_QUEST_LOG_22_5 = 0x10B,
    PLAYER_QUEST_LOG_23_1 = 0x10C,
    PLAYER_QUEST_LOG_23_2 = 0x10D,
    PLAYER_QUEST_LOG_23_3 = 0x10E,
    PLAYER_QUEST_LOG_23_5 = 0x110,
    PLAYER_QUEST_LOG_24_1 = 0x111,
    PLAYER_QUEST_LOG_24_2 = 0x112,
    PLAYER_QUEST_LOG_24_3 = 0x113,
    PLAYER_QUEST_LOG_24_5 = 0x115,
    PLAYER_QUEST_LOG_25_1 = 0x116,
    PLAYER_QUEST_LOG_25_2 = 0x117,
    PLAYER_QUEST_LOG_25_3 = 0x118,
    PLAYER_QUEST_LOG_25_5 = 0x11A,
    PLAYER_VISIBLE_ITEM_1_ENTRYID = 0x11B,
    PLAYER_VISIBLE_ITEM_1_ENCHANTMENT = 0x11C,
    PLAYER_VISIBLE_ITEM_2_ENTRYID = 0x11D,
    PLAYER_VISIBLE_ITEM_2_ENCHANTMENT = 0x11E,
    PLAYER_VISIBLE_ITEM_3_ENTRYID = 0x11F,
    PLAYER_VISIBLE_ITEM_3_ENCHANTMENT = 0x120,
    PLAYER_VISIBLE_ITEM_4_ENTRYID = 0x121,
    PLAYER_VISIBLE_ITEM_4_ENCHANTMENT = 0x122,
    PLAYER_VISIBLE_ITEM_5_ENTRYID = 0x123,
    PLAYER_VISIBLE_ITEM_5_ENCHANTMENT = 0x124,
    PLAYER_VISIBLE_ITEM_6_ENTRYID = 0x125,
    PLAYER_VISIBLE_ITEM_6_ENCHANTMENT = 0x126,
    PLAYER_VISIBLE_ITEM_7_ENTRYID = 0x127,
    PLAYER_VISIBLE_ITEM_7_ENCHANTMENT = 0x128,
    PLAYER_VISIBLE_ITEM_8_ENTRYID = 0x129,
    PLAYER_VISIBLE_ITEM_8_ENCHANTMENT = 0x12A,
    PLAYER_VISIBLE_ITEM_9_ENTRYID = 0x12B,
    PLAYER_VISIBLE_ITEM_9_ENCHANTMENT = 0x12C,
    PLAYER_VISIBLE_ITEM_10_ENTRYID = 0x12D,
    PLAYER_VISIBLE_ITEM_10_ENCHANTMENT = 0x12E,
    PLAYER_VISIBLE_ITEM_11_ENTRYID = 0x12F,
    PLAYER_VISIBLE_ITEM_11_ENCHANTMENT = 0x130,
    PLAYER_VISIBLE_ITEM_12_ENTRYID = 0x131,
    PLAYER_VISIBLE_ITEM_12_ENCHANTMENT = 0x132,
    PLAYER_VISIBLE_ITEM_13_ENTRYID = 0x133,
    PLAYER_VISIBLE_ITEM_13_ENCHANTMENT = 0x134,
    PLAYER_VISIBLE_ITEM_14_ENTRYID = 0x135,
    PLAYER_VISIBLE_ITEM_14_ENCHANTMENT = 0x136,
    PLAYER_VISIBLE_ITEM_15_ENTRYID = 0x137,
    PLAYER_VISIBLE_ITEM_15_ENCHANTMENT = 0x138,
    PLAYER_VISIBLE_ITEM_16_ENTRYID = 0x139,
    PLAYER_VISIBLE_ITEM_16_ENCHANTMENT = 0x13A,
    PLAYER_VISIBLE_ITEM_17_ENTRYID = 0x13B,
    PLAYER_VISIBLE_ITEM_17_ENCHANTMENT = 0x13C,
    PLAYER_VISIBLE_ITEM_18_ENTRYID = 0x13D,
    PLAYER_VISIBLE_ITEM_18_ENCHANTMENT = 0x13E,
    PLAYER_VISIBLE_ITEM_19_ENTRYID = 0x13F,
    PLAYER_VISIBLE_ITEM_19_ENCHANTMENT = 0x140,
    PLAYER_CHOSEN_TITLE = 0x141,
    PLAYER_FAKE_INEBRIATION = 0x142,
    PLAYER_FIELD_PAD_0 = 0x143,
    PLAYER_FIELD_INV_SLOT_HEAD = 0x144,
    PLAYER_FIELD_PACK_SLOT_1 = 0x172,
    PLAYER_FIELD_BANK_SLOT_1 = 0x192,
    PLAYER_FIELD_BANKBAG_SLOT_1 = 0x1CA,
    PLAYER_FIELD_VENDORBUYBACK_SLOT_1 = 0x1D8,
    PLAYER_FIELD_KEYRING_SLOT_1 = 0x1F0,
    PLAYER_FIELD_CURRENCYTOKEN_SLOT_1 = 0x230,
    PLAYER_FARSIGHT = 0x270,
    PLAYER__FIELD_KNOWN_TITLES = 0x272,
    PLAYER__FIELD_KNOWN_TITLES1 = 0x274,
    PLAYER__FIELD_KNOWN_TITLES2 = 0x276,
    PLAYER_FIELD_KNOWN_CURRENCIES = 0x278,
    PLAYER_XP = 0x27A,
    PLAYER_NEXT_LEVEL_XP = 0x27B,
    PLAYER_SKILL_INFO_1_1 = 0x27C,
    PLAYER_CHARACTER_POINTS1 = 0x3FC,
    PLAYER_CHARACTER_POINTS2 = 0x3FD,
    PLAYER_TRACK_CREATURES = 0x3FE,
    PLAYER_TRACK_RESOURCES = 0x3FF,
    PLAYER_BLOCK_PERCENTAGE = 0x400,
    PLAYER_DODGE_PERCENTAGE = 0x401,
    PLAYER_PARRY_PERCENTAGE = 0x402,
    PLAYER_EXPERTISE = 0x403,
    PLAYER_OFFHAND_EXPERTISE = 0x404,
    PLAYER_CRIT_PERCENTAGE = 0x405,
    PLAYER_RANGED_CRIT_PERCENTAGE = 0x406,
    PLAYER_OFFHAND_CRIT_PERCENTAGE = 0x407,
    PLAYER_SPELL_CRIT_PERCENTAGE1 = 0x408,
    PLAYER_SHIELD_BLOCK = 0x40F,
    PLAYER_SHIELD_BLOCK_CRIT_PERCENTAGE = 0x410,
    PLAYER_EXPLORED_ZONES_1 = 0x411,
    PLAYER_REST_STATE_EXPERIENCE = 0x491,
    PLAYER_FIELD_COINAGE = 0x492,
    PLAYER_FIELD_MOD_DAMAGE_DONE_POS = 0x493,
    PLAYER_FIELD_MOD_DAMAGE_DONE_NEG = 0x49A,
    PLAYER_FIELD_MOD_DAMAGE_DONE_PCT = 0x4A1,
    PLAYER_FIELD_MOD_HEALING_DONE_POS = 0x4A8,
    PLAYER_FIELD_MOD_HEALING_PCT = 0x4A9,
    PLAYER_FIELD_MOD_HEALING_DONE_PCT = 0x4AA,
    PLAYER_FIELD_MOD_TARGET_RESISTANCE = 0x4AB,
    PLAYER_FIELD_MOD_TARGET_PHYSICAL_RESISTANCE = 0x4AC,
    PLAYER_FIELD_BYTES = 0x4AD,
    PLAYER_AMMO_ID = 0x4AE,
    PLAYER_SELF_RES_SPELL = 0x4AF,
    PLAYER_FIELD_PVP_MEDALS = 0x4B0,
    PLAYER_FIELD_BUYBACK_PRICE_1 = 0x4B1,
    PLAYER_FIELD_BUYBACK_TIMESTAMP_1 = 0x4BD,
    PLAYER_FIELD_KILLS = 0x4C9,
    PLAYER_FIELD_TODAY_CONTRIBUTION = 0x4CA,
    PLAYER_FIELD_YESTERDAY_CONTRIBUTION = 0x4CB,
    PLAYER_FIELD_LIFETIME_HONORBALE_KILLS = 0x4CC,
    PLAYER_FIELD_BYTES2 = 0x4CD,
    PLAYER_FIELD_WATCHED_FACTION_INDEX = 0x4CE,
    PLAYER_FIELD_COMBAT_RATING_1 = 0x4CF,
    PLAYER_FIELD_ARENA_TEAM_INFO_1_1 = 0x4E8,
    PLAYER_FIELD_HONOR_CURRENCY = 0x4FD,
    PLAYER_FIELD_ARENA_CURRENCY = 0x4FE,
    PLAYER_FIELD_MAX_LEVEL = 0x4FF,
    PLAYER_FIELD_DAILY_QUESTS_1 = 0x500,
    PLAYER_RUNE_REGEN_1 = 0x519,
    PLAYER_NO_REAGENT_COST_1 = 0x51D,
    PLAYER_FIELD_GLYPH_SLOTS_1 = 0x520,
    PLAYER_FIELD_GLYPHS_1 = 0x526,
    PLAYER_GLYPHS_ENABLED = 0x52C,
    PLAYER_PET_SPELL_POWER = 0x52D,
    //TOTAL_PLAYER_FIELDS = 0xD7
    };
    }
    [/Spoiler]

  10. #25
    fusspawn's Avatar Member
    Reputation
    5
    Join Date
    May 2008
    Posts
    54
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RedArray View Post
    You need to look at
    Code:
    if (unit.IsAttackable)
    in the circle test.

    I can almost guarantee you didn't update the pointer.

    *EDIT* Also here's the line of sight test working... Click it.
    Bleh, This is something i Actually fixed later on, But never thought to get Circles another go. /Fail

    +Rep for you.

  11. #26
    RedArray's Avatar Corporal
    Reputation
    7
    Join Date
    Nov 2009
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Haha =p

    The one thing I can't find the correct address for is the "SpellDatabase".
    I can dump my spell id's but when I try to do names I just crash.
    For instance level 1 undead mage..

    Code:
    [10:35:09] script starting..
    [10:35:09]  Spell Count: 9
    [10:35:09] 	Id: 6603
    [10:35:09] 	Id: 20577
    [10:35:09] 	Id: 81
    [10:35:09] 	Id: 20579
    [10:35:09] 	Id: 5019
    [10:35:09] 	Id: 5227
    [10:35:09] 	Id: 7744
    [10:35:09] 	Id: 133
    [10:35:09] 	Id: 168
    [10:35:09] script finished
    Well there is one address that doesn't crash me but still the spell names are blank! :frustrated:
    Last edited by RedArray; 08-17-2010 at 10:00 PM.

  12. #27
    Mc-fly's Avatar Sergeant
    Reputation
    14
    Join Date
    Dec 2009
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    when compiling the Script only got this


  13. #28
    qjlex's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried use this adresses, but they doesn't work.
    Code:
    public static unsafe class DbcPointers 
    {
    public static IntPtr GetLocalizedRow { get { return new IntPtr(0x004CFD20); } }
    public static IntPtr SpellDatabase { get { return new IntPtr( 0x00A73D98 ); } }
    }

  14. #29
    mcpickle's Avatar Private
    Reputation
    1
    Join Date
    Aug 2010
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Error #132 0x85100084

  15. #30
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Finally managed to implement an in-proccess version of Apoc's DBC reader:
    [some crappy code] PyMode-2010-09-22_0040-png

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Replies: 8
    Last Post: 01-06-2009, 06:08 PM
  2. Replies: 15
    Last Post: 07-22-2008, 07:38 AM
  3. Some Morph Codes
    By Festigio in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 12-25-2007, 07:49 PM
  4. [AU3] Need some coding help.
    By Tink in forum Community Chat
    Replies: 4
    Last Post: 12-25-2007, 12:10 AM
All times are GMT -5. The time now is 08:17 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